Skip to content

Commit

Permalink
update env.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Codehagen committed Jul 23, 2024
1 parent 7e0d3d3 commit 2a78f5d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions apps/www/src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ export const env = createEnv({
GOOGLE_CLIENT_SECRET: z.string().min(1),
DATABASE_URL: z.string().min(1),
RESEND_API_KEY: z.string().min(1),
STRIPE_API_KEY: z.string().min(1),
STRIPE_WEBHOOK_SECRET: z.string().min(1),
// STRIPE_API_KEY: z.string().min(1),
// STRIPE_WEBHOOK_SECRET: z.string().min(1),
NODE_ENV: z.enum(["development", "test", "production"]),
},
client: {
NEXT_PUBLIC_APP_URL: z.string().min(1),
NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PLAN_ID: z.string().min(1),
NEXT_PUBLIC_STRIPE_PRO_YEARLY_PLAN_ID: z.string().min(1),
NEXT_PUBLIC_STRIPE_BUSINESS_MONTHLY_PLAN_ID: z.string().min(1),
NEXT_PUBLIC_STRIPE_BUSINESS_YEARLY_PLAN_ID: z.string().min(1),
// NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PLAN_ID: z.string().min(1),
// NEXT_PUBLIC_STRIPE_PRO_YEARLY_PLAN_ID: z.string().min(1),
// NEXT_PUBLIC_STRIPE_BUSINESS_MONTHLY_PLAN_ID: z.string().min(1),
// NEXT_PUBLIC_STRIPE_BUSINESS_YEARLY_PLAN_ID: z.string().min(1),
},
runtimeEnv: {
// GITHUB_OAUTH_TOKEN: process.env.GITHUB_OAUTH_TOKEN,
Expand All @@ -33,16 +33,16 @@ export const env = createEnv({
RESEND_API_KEY: process.env.RESEND_API_KEY,
NEXT_PUBLIC_APP_URL: process.env.NEXT_PUBLIC_APP_URL,
// Stripe
STRIPE_API_KEY: process.env.STRIPE_API_KEY,
STRIPE_WEBHOOK_SECRET: process.env.STRIPE_WEBHOOK_SECRET,
NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PLAN_ID:
process.env.NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PLAN_ID,
NEXT_PUBLIC_STRIPE_PRO_YEARLY_PLAN_ID:
process.env.NEXT_PUBLIC_STRIPE_PRO_YEARLY_PLAN_ID,
NEXT_PUBLIC_STRIPE_BUSINESS_MONTHLY_PLAN_ID:
process.env.NEXT_PUBLIC_STRIPE_BUSINESS_MONTHLY_PLAN_ID,
NEXT_PUBLIC_STRIPE_BUSINESS_YEARLY_PLAN_ID:
process.env.NEXT_PUBLIC_STRIPE_BUSINESS_YEARLY_PLAN_ID,
// STRIPE_API_KEY: process.env.STRIPE_API_KEY,
// STRIPE_WEBHOOK_SECRET: process.env.STRIPE_WEBHOOK_SECRET,
// NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PLAN_ID:
// process.env.NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PLAN_ID,
// NEXT_PUBLIC_STRIPE_PRO_YEARLY_PLAN_ID:
// process.env.NEXT_PUBLIC_STRIPE_PRO_YEARLY_PLAN_ID,
// NEXT_PUBLIC_STRIPE_BUSINESS_MONTHLY_PLAN_ID:
// process.env.NEXT_PUBLIC_STRIPE_BUSINESS_MONTHLY_PLAN_ID,
// NEXT_PUBLIC_STRIPE_BUSINESS_YEARLY_PLAN_ID:
// process.env.NEXT_PUBLIC_STRIPE_BUSINESS_YEARLY_PLAN_ID,
NODE_ENV: process.env.NODE_ENV,
},
});

0 comments on commit 2a78f5d

Please sign in to comment.