import { createTsTemplateFile } from '@baseplate-dev/core-generators';
import { apolloErrorImportsProvider, graphqlImportsProvider, reactComponentsImportsProvider, reactErrorImportsProvider, } from '@baseplate-dev/react-generators';
import path from 'node:path';
import { reactSessionImportsProvider } from '#src/local-auth/core/generators/react-session/generated/ts-import-providers.js';
const login = createTsTemplateFile({
    fileOptions: { kind: 'singleton' },
    group: 'main',
    importMapProviders: {
        apolloErrorImports: apolloErrorImportsProvider,
        graphqlImports: graphqlImportsProvider,
        reactComponentsImports: reactComponentsImportsProvider,
        reactErrorImports: reactErrorImportsProvider,
        reactSessionImports: reactSessionImportsProvider,
    },
    name: 'login',
    source: {
        path: path.join(import.meta.dirname, '../templates/routes/auth_/login.tsx'),
    },
    variables: {},
});
const register = createTsTemplateFile({
    fileOptions: { kind: 'singleton' },
    group: 'main',
    importMapProviders: {
        apolloErrorImports: apolloErrorImportsProvider,
        graphqlImports: graphqlImportsProvider,
        reactComponentsImports: reactComponentsImportsProvider,
        reactErrorImports: reactErrorImportsProvider,
        reactSessionImports: reactSessionImportsProvider,
    },
    name: 'register',
    source: {
        path: path.join(import.meta.dirname, '../templates/routes/auth_/register.tsx'),
    },
    variables: {},
});
const route = createTsTemplateFile({
    fileOptions: { kind: 'singleton' },
    group: 'main',
    importMapProviders: {},
    name: 'route',
    source: {
        path: path.join(import.meta.dirname, '../templates/routes/auth_/route.tsx'),
    },
    variables: {},
});
export const mainGroup = { login, register, route };
export const AUTH_CORE_AUTH_ROUTES_TEMPLATES = { mainGroup };
//# sourceMappingURL=typed-templates.js.map