@netgrif/components
Version:
Netgrif Application Engine frontend Angular components
85 lines (84 loc) • 2.67 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"$id": "SchematicsCreateViewPrompt",
"title": "Create new View with prompt for settings",
"type": "object",
"properties": {
"path": {
"description": "web address path from site root that corresponds to this view",
"type": "string",
"x-prompt": "Enter the view path. No leading backslash."
},
"viewType": {
"description": "type of the created view",
"type": "string",
"enum": [
"emptyView",
"login",
"tabView",
"caseView",
"taskView",
"publicTaskView",
"publicSingleTaskView",
"publicWorkflowView",
"publicResolverView",
"sidenavView",
"toolbarView",
"sidenavAndToolbarView",
"dashboard",
"groupView",
"customView",
"treeCaseView",
"workflowView",
"roleAssignmentView",
"ldapRoleAssignmentView",
"doubleDrawerView"
],
"x-prompt": {
"type": "list",
"message": "Select a view type",
"items": [
"emptyView",
"login",
"caseView",
"taskView",
"publicTaskView",
"publicSingleTaskView",
"publicWorkflowView",
"publicResolverView",
"sidenavView",
"toolbarView",
"sidenavAndToolbarView",
"dashboard",
"groupView",
"customView",
"treeCaseView",
"workflowView",
"roleAssignmentView",
"ldapRoleAssignmentView",
"doubleDrawerView"
]
}
},
"componentName": {
"type": "string",
"message": "Enter class name of the view component (without the Component suffix)"
},
"access": {
"description": "access type",
"type": ["object", "string"],
"x-prompt": {
"type": "list",
"message": "select a access type",
"items": [
"public",
"private"
]
}
}
},
"required": [
"path",
"viewType"
]
}