UNPKG

@o3r/schematics

Version:

Schematics module of the Otter framework

21 lines 1.09 kB
import type { Tree } from '@angular-devkit/schematics'; /** Type of generated item */ export type GeneratedItemType = '@o3r/core:component' | '@o3r/core:page' | '@o3r/core:service' | '@o3r/core:store' | '@o3r/core:schematics-update' | '@o3r/testing:playwright-scenario' | '@o3r/testing:playwright-sanity'; /** List of Otter items types */ export declare const OTTER_ITEM_TYPES: ["@o3r/core:component", "@o3r/core:page", "@o3r/core:service", "@o3r/core:store", "@o3r/core:schematics-update", "@o3r/testing:playwright-scenario", "@o3r/testing:playwright-sanity"]; /** List of the default destination paths for each generated entity */ export declare const TYPES_DEFAULT_FOLDER: { [key in GeneratedItemType]: { app?: string; lib?: string; }; }; /** * Get destination path for a generated item * @param typeOfItem * @param directory * @param tree * @param project */ export declare function getDestinationPath(typeOfItem: GeneratedItemType, directory: string | null | undefined, tree: Tree, project?: string | null): string; //# sourceMappingURL=generation.d.ts.map