UNPKG

@angular-extensions/model

Version:

Angular Model - Simple state management with minimalistic API, one way data flow, multiple model support and immutable data exposed as RxJS Observable.

57 lines (56 loc) 1.4 kB
{ "$schema": "http://json-schema.org/schema", "id": "@angular-extensions/model/model", "title": "Generates model service", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the service.", "$default": { "$source": "argv", "index": 0 } }, "path": { "type": "string", "format": "path", "description": "The path to create the service.", "visible": false }, "project": { "type": "string", "description": "The name of the project.", "$default": { "$source": "projectName" } }, "module": { "type": "string", "description": "Allows specification of the declaring module.", "alias": "m" }, "flat": { "type": "boolean", "default": false, "description": "Flag to indicate if a dir is created." }, "spec": { "type": "boolean", "default": true, "description": "Specifies if a spec file is generated." }, "lintFix": { "type": "boolean", "default": false, "description": "Specifies whether to apply lint fixes after generating the pipe." }, "items": { "type": "boolean", "default": false, "description": "Flag to indicate if model is a collection of items.", "alias": "i" } }, "additionalProperties": false }