UNPKG

@o3r/core

Version:
59 lines (58 loc) 1.61 kB
{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "ngGenerateEntitySyncStoreSchematicsSchema", "title": "Generate Entity Sync Otter Store", "description": "ng generate Entity Sync Otter Store", "properties": { "projectName": { "type": "string", "description": "Name of the project", "$default": { "$source": "projectName" } }, "storeName": { "type": "string", "description": "Name of the Store", "x-prompt": "Store name? ", "minLength": 1, "$default": { "$source": "argv", "index": 0 } }, "sdkPackage": { "type": "string", "description": "Sdk package", "x-prompt": "From which SDK your models come from? (ex: @api/sdk)" }, "modelName": { "type": "string", "description": "The SDK Model to use as store item (e.g. Example):", "x-prompt": "The SDK Model to use as store item (e.g. Example):", "minLength": 1 }, "modelIdPropName": { "type": "string", "description": "The property name that identifies the model:", "x-prompt": "The property name that identifies the model:", "minLength": 1, "default": "id" }, "path": { "type": "string", "description": "Directory containing the stores" }, "skipLinter": { "type": "boolean", "description": "Skip the linter process which includes EsLint and EditorConfig rules applying", "default": false } }, "additionalProperties": true, "required": [ "storeName", "modelName", "modelIdPropName" ] }