UNPKG

@baseplate-dev/core-generators

Version:

Core generators for Baseplate

27 lines 1.78 kB
import type { BuilderAction } from '@baseplate-dev/sync'; import type { RenderTsTemplateFileActionInput } from '#src/renderers/typescript/actions/render-ts-template-file-action.js'; import { NODE_TS_UTILS_TEMPLATES } from './typed-templates.js'; export interface NodeTsUtilsRenderers { arrays: { render: (options: Omit<RenderTsTemplateFileActionInput<typeof NODE_TS_UTILS_TEMPLATES.arrays>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction; }; normalizeTypes: { render: (options: Omit<RenderTsTemplateFileActionInput<typeof NODE_TS_UTILS_TEMPLATES.normalizeTypes>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction; }; nulls: { render: (options: Omit<RenderTsTemplateFileActionInput<typeof NODE_TS_UTILS_TEMPLATES.nulls>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction; }; string: { render: (options: Omit<RenderTsTemplateFileActionInput<typeof NODE_TS_UTILS_TEMPLATES.string>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction; }; } export declare const NODE_TS_UTILS_RENDERERS: { provider: import("@baseplate-dev/sync").ProviderType<NodeTsUtilsRenderers>; task: import("@baseplate-dev/sync").GeneratorTask<{ nodeTsUtilsRenderers: import("@baseplate-dev/sync").ProviderExport<NodeTsUtilsRenderers>; }, { paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").NodeTsUtilsPaths>; typescriptFile: import("@baseplate-dev/sync").ProviderType<import("#src/generators/node/typescript/typescript.generator.js").TypescriptFileProvider>; }, undefined>; }; //# sourceMappingURL=template-renderers.d.ts.map