kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/715/head
rodzic
dd795be893
commit
d809560257
|
@ -11,9 +11,9 @@ jobs:
|
|||
fail-fast: true
|
||||
matrix:
|
||||
node-version:
|
||||
- 18
|
||||
- 22
|
||||
- 23
|
||||
- 24
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
},
|
||||
"packageManager": "pnpm@10.11.0",
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
"node": ">=22"
|
||||
},
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
|
|
@ -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' }),
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue