UNPKG

@rxdi/schematics

Version:

48 lines (47 loc) 1.23 kB
{ "$schema": "http://json-schema.org/schema", "id": "SchematicsNestController", "title": "@rxdi/core Component Options Schema", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the controller.", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use for the controller?" }, "path": { "type": "string", "format": "path", "description": "The path to create the controller." }, "language": { "type": "string", "description": "Nest controller language (ts/js)." }, "sourceRoot": { "type": "string", "description": "Nest controller source root directory." }, "skipImport": { "description": "Flag to skip the module import.", "default": false }, "module": { "type": "string", "description": "Allows specification of the declaring module." }, "flat": { "default": false, "description": "Flag to indicate if a directory is created." }, "spec": { "default": true, "description": "Specifies if a spec file is generated." } }, "required": ["name"] }