| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- {
- "$schema": "http://json-schema.org/schema",
- "id": "SchematicsAngularWebWorker",
- "title": "Angular Web Worker Options Schema",
- "type": "object",
- "description": "Creates a new generic web worker definition in the given or default project.",
- "properties": {
- "path": {
- "type": "string",
- "format": "path",
- "description": "The path at which to create the worker file, relative to the current workspace.",
- "visible": false
- },
- "project": {
- "type": "string",
- "description": "The name of the project.",
- "$default": {
- "$source": "projectName"
- }
- },
- "target": {
- "type": "string",
- "description": "The target to apply web worker to.",
- "default": "build"
- },
- "name": {
- "type": "string",
- "description": "The name of the worker.",
- "$default": {
- "$source": "argv",
- "index": 0
- },
- "x-prompt": "What name would you like to use for the worker?"
- },
- "snippet": {
- "type": "boolean",
- "default": true,
- "description": "Add a worker creation snippet in a sibling file of the same name."
- }
- },
- "required": [
- "name",
- "project"
- ]
- }
|