@baseplate-dev/core-generators
Version:
Core generators for Baseplate
29 lines • 1.48 kB
TypeScript
/**
* Gets the constant name for a generated template file for a particular generator
* e.g. `core/react-routes` + `templates` -> `CORE_REACT_ROUTES_TEMPLATES`
*
* @param generatorName - The name of the generator.
* @param suffix - The suffix of the export name.
* @returns The export name for the generated template file.
*/
export declare function getGeneratedTemplateConstantName(generatorName: string, suffix: string): string;
/**
* Gets the export name for a generated template file for a particular generator
* e.g. `core/react-routes` + `templates` -> `coreReactRoutesTemplates`
*
* @param generatorName - The name of the generator.
* @param suffix - The suffix of the export name.
* @returns The export name for the generated template file.
*/
export declare function getGeneratedTemplateExportName(generatorName: string, suffix: string): string;
/**
* Gets the interface name for a generated template file for a particular generator
* e.g. `core/react-routes` + `templates` -> `CoreReactRoutesTemplates`
*
* @param generatorName - The name of the generator.
* @param suffix - The suffix of the interface name.
* @returns The interface name for the generated template file.
*/
export declare function getGeneratedTemplateInterfaceName(generatorName: string, suffix: string): string;
export declare function getGeneratedTemplateProviderName(generatorName: string, suffix: string): string;
//# sourceMappingURL=generated-template-file-names.d.ts.map