@o3r/core
Version:
Core of the Otter Framework
55 lines (54 loc) • 1.39 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "ngGenerateServiceSchematicsSchema",
"title": "Generate Otter Service",
"description": "ng generate Otter Service",
"properties": {
"projectName": {
"type": "string",
"description": "Project name",
"$default": {
"$source": "projectName"
},
"alias": "project"
},
"name": {
"type": "string",
"description": "Service name",
"x-prompt": "Service name?",
"minLength": 1,
"$default": {
"$source": "argv",
"index": 0
}
},
"featureName": {
"type": "string",
"description": "Name of the service feature",
"default": "base",
"x-prompt": "Service feature name?"
},
"path": {
"type": "string",
"description": "Directory containing the services"
},
"skipLinter": {
"type": "boolean",
"description": "Skip the linter process which includes EsLint and EditorConfig rules applying",
"default": false
},
"type": {
"type": "string",
"description": "Custom type to append to the service's file name"
},
"addTypeToClassName": {
"type": "boolean",
"description": "Append the 'type' option to the generated class name",
"default": true
}
},
"additionalProperties": true,
"required": [
"name"
]
}