import { packageInfoProvider } from '@baseplate-dev/core-generators';
import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
const stripeFastifyStripePaths = createProviderType('stripe-fastify-stripe-paths');
const stripeFastifyStripePathsTask = createGeneratorTask({
    dependencies: { packageInfo: packageInfoProvider },
    exports: { stripeFastifyStripePaths: stripeFastifyStripePaths.export() },
    run({ packageInfo }) {
        const srcRoot = packageInfo.getPackageSrcPath();
        return {
            providers: {
                stripeFastifyStripePaths: {
                    pluginsWebhook: `${srcRoot}/plugins/stripe-webhook.ts`,
                    service: `${srcRoot}/services/stripe.ts`,
                    serviceEventHandlers: `${srcRoot}/services/stripe-event-handlers.ts`,
                },
            },
        };
    },
});
export const STRIPE_FASTIFY_STRIPE_PATHS = {
    provider: stripeFastifyStripePaths,
    task: stripeFastifyStripePathsTask,
};
//# sourceMappingURL=template-paths.js.map