@baseplate-dev/react-generators
Version:
React Generators for Baseplate
30 lines • 2.03 kB
TypeScript
import type { RenderTsTemplateFileActionInput } from '@baseplate-dev/core-generators';
import type { BuilderAction } from '@baseplate-dev/sync';
import { APOLLO_REACT_APOLLO_TEMPLATES } from './typed-templates.js';
export interface ApolloReactApolloRenderers {
appApolloProvider: {
render: (options: Omit<RenderTsTemplateFileActionInput<typeof APOLLO_REACT_APOLLO_TEMPLATES.appApolloProvider>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
};
cache: {
render: (options: Omit<RenderTsTemplateFileActionInput<typeof APOLLO_REACT_APOLLO_TEMPLATES.cache>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
};
codegenConfig: {
render: (options: Omit<RenderTsTemplateFileActionInput<typeof APOLLO_REACT_APOLLO_TEMPLATES.codegenConfig>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
};
graphql: {
render: (options: Omit<RenderTsTemplateFileActionInput<typeof APOLLO_REACT_APOLLO_TEMPLATES.graphql>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
};
service: {
render: (options: Omit<RenderTsTemplateFileActionInput<typeof APOLLO_REACT_APOLLO_TEMPLATES.service>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
};
}
export declare const APOLLO_REACT_APOLLO_RENDERERS: {
provider: import("@baseplate-dev/sync").ProviderType<ApolloReactApolloRenderers>;
task: import("@baseplate-dev/sync").GeneratorTask<{
apolloReactApolloRenderers: import("@baseplate-dev/sync").ProviderExport<ApolloReactApolloRenderers>;
}, {
paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").ApolloReactApolloPaths>;
typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>;
}, undefined>;
};
//# sourceMappingURL=template-renderers.d.ts.map