UNPKG

@nx/nest

Version:

The Nx Plugin for Nest contains executors and generators for allowing your workspace to create powerful Nest best in class APIs.

38 lines (37 loc) 1.15 kB
{ "$schema": "https://json-schema.org/schema", "$id": "NxNestInterfaceGenerator", "title": "Nest Interface Options Schema", "description": "Nest Interface Options Schema.", "cli": "nx", "type": "object", "examples": [ { "description": "Generate the interface `Foo` at `myapp/src/app/foo.interface.ts`", "command": "nx g @nx/nest:interface myapp/src/app/foo.interface.ts" }, { "description": "Generate the interface without providing the file extension. It results in the interface `Foo` at `myapp/src/app/foo.interface.ts`", "command": "nx g @nx/nest:interface myapp/src/app/foo" } ], "properties": { "path": { "description": "The file path to the interface. Relative to the current working directory.", "type": "string", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What is the interface file path?" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", "default": false, "x-priority": "internal" } }, "additionalProperties": false, "required": ["path"] }