Skip to content

Commit

Permalink
(feat) O3-1426: Modals should not be registered as extensions (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandones committed Apr 5, 2024
1 parent 1fd6e89 commit 511b6b8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions routes.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,25 @@
}
}
},
"modals": {
"type": "array",
"description": "An array of all modals supported by this frontend module. Modals are launched by name using the `showModal` function.",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "The name of this extension. This is used to refer to the extension in configuration."
},
"component": {
"type": "string",
"description": "The name of the component exported by this frontend module."
},
"required": ["component", "name"]
}
}
},
"additionalProperties": false,
"additionalItems": false
}

0 comments on commit 511b6b8

Please sign in to comment.