import { packageInfoProvider } from '@baseplate-dev/core-generators';
import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
const localAuthCoreReactSessionPaths = createProviderType('local-auth-core-react-session-paths');
const localAuthCoreReactSessionPathsTask = createGeneratorTask({
    dependencies: { packageInfo: packageInfoProvider },
    exports: {
        localAuthCoreReactSessionPaths: localAuthCoreReactSessionPaths.export(),
    },
    run({ packageInfo }) {
        const srcRoot = packageInfo.getPackageSrcPath();
        return {
            providers: {
                localAuthCoreReactSessionPaths: {
                    userSessionClient: `${srcRoot}/services/user-session-client.ts`,
                    userSessionProvider: `${srcRoot}/app/user-session-provider.tsx`,
                },
            },
        };
    },
});
export const LOCAL_AUTH_CORE_REACT_SESSION_PATHS = {
    provider: localAuthCoreReactSessionPaths,
    task: localAuthCoreReactSessionPathsTask,
};
//# sourceMappingURL=template-paths.js.map