Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat) O3-3191: Add a "type" property for pages #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions routes.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@
"format": "regex",
"description": "A regular expression used to match against the current route to determine whether this page should be rendered. Note that ${window.spaBase} will be removed before attempting to match, so setting this to \"^name.+\" will match any route that starts with ${window.spaBase}/name."
},
"type": {
"type": "string",
"enum": [
"main",
"utility"
],
"description": "The \"type\" of this page, i.e., whether it represents a main page (the default) or a utility page. A main page is one that, when active, provides the main display context and usually controls a single URL. A utility page is something like the devtools extension that provides ancillary content and may be available at multiple URLs."
},
"privilege": {
"oneOf": [
{
Expand Down