pull/715/head
Travis Fischer 2025-06-01 20:02:02 +07:00
rodzic dd795be893
commit d809560257
5 zmienionych plików z 8 dodań i 5 usunięć

Wyświetl plik

@ -11,9 +11,9 @@ jobs:
fail-fast: true
matrix:
node-version:
- 18
- 22
- 23
- 24
steps:
- uses: actions/checkout@v4

Wyświetl plik

@ -29,7 +29,8 @@ import { stripe } from '@/lib/external/stripe'
* The `project` will be updated in the DB with any changes.
*
* The `deployment` is readonly and will not be updated, since all Stripe
* resources persist on its Project in case they're the same across deployments.
* resources persist on its Project so they can be reused if possible across
* deployments.
*
* @note This function assumes that the deployment's pricing config has already
* been validated.

Wyświetl plik

@ -9,7 +9,7 @@
},
"packageManager": "pnpm@10.11.0",
"engines": {
"node": ">=18"
"node": ">=22"
},
"type": "module",
"scripts": {

Wyświetl plik

@ -476,14 +476,16 @@ export const pricingPlanSchema = z
name: z
.string()
.nonempty()
.describe('Human-readable name for the pricing plan')
.describe(
'Human-readable name for the pricing plan (eg, "Free", "Starter Monthly", "Pro Annual", etc)'
)
.openapi('name', { example: 'Starter Monthly' }),
slug: z
.string()
.nonempty()
.describe(
'PricingPlan slug ("free", "starter-monthly", "pro-annual", etc). Should be lower-cased and kebab-cased. Should be stable across deployments.'
'PricingPlan slug (eg, "free", "starter-monthly", "pro-annual", etc). Should be lower-cased and kebab-cased. Should be stable across deployments.'
)
.openapi('slug', { example: 'starter-monthly' }),