UNPKG

@baseplate-dev/react-generators

Version:

React Generators for Baseplate

27 lines 1.67 kB
import type { RenderRawTemplateFileActionInput, RenderTextTemplateGroupActionInput, RenderTsTemplateFileActionInput } from '@baseplate-dev/core-generators'; import type { BuilderAction } from '@baseplate-dev/sync'; import { CORE_REACT_TEMPLATES } from './typed-templates.js'; export interface CoreReactRenderers { favicon: { render: (options: Omit<RenderRawTemplateFileActionInput<typeof CORE_REACT_TEMPLATES.favicon>, 'destination' | 'template'>) => BuilderAction; }; main: { render: (options: Omit<RenderTsTemplateFileActionInput<typeof CORE_REACT_TEMPLATES.main>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction; }; staticGroup: { render: (options: Omit<RenderTextTemplateGroupActionInput<typeof CORE_REACT_TEMPLATES.staticGroup>, 'group' | 'paths'>) => BuilderAction; }; viteConfig: { render: (options: Omit<RenderTsTemplateFileActionInput<typeof CORE_REACT_TEMPLATES.viteConfig>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction; }; } export declare const CORE_REACT_RENDERERS: { provider: import("@baseplate-dev/sync").ProviderType<CoreReactRenderers>; task: import("@baseplate-dev/sync").GeneratorTask<{ coreReactRenderers: import("@baseplate-dev/sync").ProviderExport<CoreReactRenderers>; }, { paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").CoreReactPaths>; typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>; }, undefined>; }; //# sourceMappingURL=template-renderers.d.ts.map