UNPKG

1.97 kBSource Map (JSON)View Raw
1{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../modules/schematics/src/container/schema.ts"],"names":[],"mappings":"","sourcesContent":["export interface Schema {\n /**\n * The path to create the component.\n */\n path?: string;\n /**\n * The name of the project.\n */\n project?: string;\n /**\n * The name of the component.\n */\n name: string;\n /**\n * Specifies if the style will be in the ts file.\n */\n inlineStyle?: boolean;\n /**\n * Specifies if the template will be in the ts file.\n */\n inlineTemplate?: boolean;\n /**\n * Specifies the view encapsulation strategy.\n */\n viewEncapsulation?: 'Emulated' | 'Native' | 'None';\n /**\n * Specifies the change detection strategy.\n */\n changeDetection?: 'Default' | 'OnPush';\n /**\n * The prefix to apply to generated selectors.\n */\n prefix?: string;\n /**\n * The file extension or preprocessor to use for style files.\n */\n style?: string;\n /**\n * When true, does not create test files.\n */\n skipTests?: boolean;\n /**\n * Flag to indicate if a dir is created.\n */\n flat?: boolean;\n /**\n * Flag to skip the module import.\n */\n skipImport?: boolean;\n /**\n * The selector to use for the component.\n */\n selector?: string;\n /**\n * Allows specification of the declaring module.\n */\n module?: string;\n /**\n * Specifies if declaring module exports the component.\n */\n export?: boolean;\n /**\n * Specifies the path to the state exports\n */\n state?: string;\n\n /**\n * Specifies the interface for the state\n */\n stateInterface?: string;\n\n /**\n * Specifies whether to create a unit test or an integration test.\n */\n testDepth?: string;\n\n /**\n * Whether the generated component is standalone\n */\n standalone?: boolean;\n\n /**\n * Specifies if the style will contain :host { display: block; }.\n */\n displayBlock?: boolean;\n}\n"]}
\No newline at end of file