UNPKG

@ngrx/effects

Version:

Side effect model for @ngrx/store

62 lines (61 loc) 1.6 kB
{ "$schema": "http://json-schema.org/schema", "$id": "SchematicsNgRxRootEffect", "title": "NgRx Root Effect Options Schema", "type": "object", "properties": { "name": { "description": "The name of the effect.", "type": "string", "default": "App" }, "skipPackageJson": { "type": "boolean", "default": false, "description": "Do not add @ngrx/effects as dependency to package.json (e.g., --skipPackageJson)." }, "path": { "type": "string", "format": "path", "description": "The path to create the effect.", "visible": false, "$default": { "$source": "workingDirectory" } }, "flat": { "type": "boolean", "default": true, "description": "Flag to indicate if a dir is created." }, "skipTests": { "type": "boolean", "default": false, "description": "When true, does not create test files." }, "project": { "type": "string", "description": "The name of the project.", "aliases": ["p"] }, "module": { "type": "string", "default": "app", "description": "Allows specification of the declaring module.", "alias": "m", "subtype": "filepath" }, "group": { "type": "boolean", "default": false, "description": "Group effects file within 'effects' folder", "aliases": ["g"] }, "minimal": { "type": "boolean", "default": true, "description": "Setup root effects module without registering initial effects." } }, "required": [] }