UNPKG

@datorama/akita

Version:

State Management Tailored-Made for JS Applications

43 lines (42 loc) 1.04 kB
{ "$schema": "http://json-schema.org/schema", "id": "SchematicsAkitaStore", "title": "Akita Store Options Schema", "type": "object", "properties": { "name": { "description": "The name of the store.", "type": "string", "$default": { "$source": "argv", "index": 0 } }, "path": { "type": "string", "format": "path", "description": "The path to create the store.", "visible": false }, "spec": { "type": "boolean", "description": "Specifies if a spec file is generated.", "default": false }, "dirName": { "type": "string", "default": "state", "description": "Specifies the name of the generated folder" }, "withActive": { "type": "boolean", "default": false, "description": "Specifies if the entity state is ActiveState" }, "idType": { "type": "string", "description": "Specifies the type of the entity ID. Can be string or number." } }, "required": [] }