@datorama/akita
Version:
State Management Tailored-Made for JS Applications
49 lines • 1.15 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"id": "SchematicsAkitaService",
"title": "Akita Service Options Schema",
"type": "object",
"properties": {
"name": {
"description": "The name of the service.",
"type": "string",
"alias": "s",
"$default": {
"$source": "argv",
"index": 0
}
},
"path": {
"type": "string",
"format": "path",
"description": "The path to create the service.",
"visible": false
},
"spec": {
"type": "boolean",
"description": "Specifies if a spec file is generated.",
"default": false
},
"flat": {
"type": "boolean",
"default": false,
"description": "Flag to indicate if a dir is created."
},
"dirName": {
"type": "string",
"default": "state",
"description": "Specifies the name of the generated folder"
},
"plain": {
"type": "boolean",
"default": false,
"alias": "p",
"description": "Specifies if a plain store is generated."
},
"feature": {
"type": "boolean",
"default": false
}
},
"required": []
}