import { appModuleProvider } from '@baseplate-dev/fastify-generators';
import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
const localAuthCoreAuthEmailPasswordPaths = createProviderType('local-auth-core-auth-email-password-paths');
const localAuthCoreAuthEmailPasswordPathsTask = createGeneratorTask({
    dependencies: { appModule: appModuleProvider },
    exports: {
        localAuthCoreAuthEmailPasswordPaths: localAuthCoreAuthEmailPasswordPaths.export(),
    },
    run({ appModule }) {
        const moduleRoot = appModule.getModuleFolder();
        return {
            providers: {
                localAuthCoreAuthEmailPasswordPaths: {
                    constantsPassword: `${moduleRoot}/constants/password.constants.ts`,
                    schemaEmailVerificationMutations: `${moduleRoot}/schema/email-verification.mutations.ts`,
                    schemaPasswordResetMutations: `${moduleRoot}/schema/password-reset.mutations.ts`,
                    schemaUserPasswordMutations: `${moduleRoot}/schema/user-password.mutations.ts`,
                    servicesEmailVerification: `${moduleRoot}/services/email-verification.service.ts`,
                    servicesPasswordReset: `${moduleRoot}/services/password-reset.service.ts`,
                    servicesUserPassword: `${moduleRoot}/services/user-password.service.ts`,
                },
            },
        };
    },
});
export const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_PATHS = {
    provider: localAuthCoreAuthEmailPasswordPaths,
    task: localAuthCoreAuthEmailPasswordPathsTask,
};
//# sourceMappingURL=template-paths.js.map