Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -1,17 +1,17 @@
|
||||
# Standard subscription plans
|
||||
|
||||
The default entitlement seed publishes three public standard plans from `@toolctrl/entitlements`: Starter, Pro, and Business. These stubs are safe to commit because they intentionally do not contain Stripe product IDs, Stripe price IDs, customer IDs, tenant IDs, subscription IDs, API keys, or database credentials.
|
||||
The default entitlement seed publishes three public standard plans from `@hivegrid/entitlements`: Starter, Pro, and Business. These stubs are safe to commit because they intentionally do not contain Legacy-Provider product IDs, Legacy-Provider price IDs, customer IDs, tenant IDs, subscription IDs, API keys, or database credentials.
|
||||
|
||||
## Seed behavior
|
||||
|
||||
`seedStandardEntitlements` in `@toolctrl/db/entitlements-seed.server` maps each standard plan to the existing Prisma subscription tables:
|
||||
`seedStandardEntitlements` in `@hivegrid/db/entitlements-seed.server` maps each standard plan to the existing Prisma subscription tables:
|
||||
|
||||
- `SubscriptionProduct.stripeId` is deterministic and local-only: `toolctrl_entitlement_plan_<plan-id>`.
|
||||
- Existing products are matched by deterministic `stripeId` or plan title, then updated; missing products are created.
|
||||
- `SubscriptionProduct.legacyProviderId` is deterministic and local-only: `hivegrid_entitlement_plan_<plan-id>`.
|
||||
- Existing products are matched by deterministic `legacyProviderId` or plan title, then updated; missing products are created.
|
||||
- Features for each seeded product are replaced on every run, making the helper idempotent for the current plan stub contents.
|
||||
- Diagnostics expose only seed phase, plan counts, feature counts, created/updated product counts, deleted/created feature counts, optional plan IDs, and redacted error name/message.
|
||||
|
||||
The seed does not require live Stripe configuration. Operators can later attach real Stripe products/prices outside these static stubs if their deployment needs Stripe-backed checkout.
|
||||
The seed does not require live Legacy-Provider configuration. Operators can later attach real Legacy-Provider products/prices outside these static stubs if their deployment needs Legacy-Provider-backed checkout.
|
||||
|
||||
## Limit type values
|
||||
|
||||
|
||||
Reference in new issue
Block a user