UNPKG

@ngxs/store

Version:
45 lines (44 loc) 1.19 kB
{ "$schema": "http://json-schema.org/schema", "$id": "SchematicsNgxsStore", "title": "Ngxs Store Options Schema", "type": "object", "properties": { "name": { "description": "The name of the store.", "type": "string", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use for the store?", "x-priority": "important" }, "path": { "type": "string", "format": "path", "description": "The path to create the store. Relative to the specified (or default) project." }, "spec": { "type": "boolean", "description": "Specifies if a spec file is generated.", "default": true }, "flat": { "type": "boolean", "default": false, "description": "Flag to indicate if a dir is created." }, "project": { "type": "string", "description": "The name of the project.", "aliases": ["p"], "x-dropdown": "projects" }, "standalone": { "type": "boolean", "description": "Explicitly set whether should generate standalone APIs for the generated store." } }, "required": ["name"] }