@saasicat/spec 1.0.0-rc.0 → 1.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin-api.openapi.yaml +1 -1
- package/cli-conventions.md +1 -1
- package/package.json +1 -1
- package/prisma-fragments/02-promo-code.prisma +1 -1
- package/prisma-fragments/03-plan-versions.prisma +1 -1
- package/prisma-fragments/06-catalog-entries.prisma +1 -1
- package/prisma-fragments/09-pending-registration.prisma +1 -1
package/admin-api.openapi.yaml
CHANGED
|
@@ -1461,7 +1461,7 @@ components:
|
|
|
1461
1461
|
snapshot:
|
|
1462
1462
|
type: object
|
|
1463
1463
|
additionalProperties: true
|
|
1464
|
-
description: 'DiscoverySnapshot (app/features/quotas/capabilities) from @saasicat/
|
|
1464
|
+
description: 'DiscoverySnapshot (app/features/quotas/capabilities) from @saasicat/core'
|
|
1465
1465
|
|
|
1466
1466
|
CatalogMarketingSettingsUpdate:
|
|
1467
1467
|
type: object
|
package/cli-conventions.md
CHANGED
|
@@ -47,7 +47,7 @@ Setup via `… admin mfa-setup` (generates a secret, shows a QR code, persists
|
|
|
47
47
|
setup. Wrong code → exit code `3`.
|
|
48
48
|
|
|
49
49
|
`isMfaSetupRequired` and `verifyMfaCode` are passed through via the platform
|
|
50
|
-
`MfaPort` interface (see `@saasicat/
|
|
50
|
+
`MfaPort` interface (see `@saasicat/core`, `src/ports/core-ports.types.ts`)
|
|
51
51
|
— consumers implement the persistence.
|
|
52
52
|
|
|
53
53
|
## 3. Production Confirm
|
package/package.json
CHANGED
|
@@ -76,7 +76,7 @@ model PromoCode {
|
|
|
76
76
|
revenueDeductionAccount String?
|
|
77
77
|
|
|
78
78
|
// SUPER_ADMIN user ID (consumer FK, see header). Nullable to match
|
|
79
|
-
// `PromoCodeRecord.createdById: string | null` in @saasicat/
|
|
79
|
+
// `PromoCodeRecord.createdById: string | null` in @saasicat/core — rows
|
|
80
80
|
// whose creator is gone, or that predate the column, stay readable.
|
|
81
81
|
// Creation still requires it: `CreatePromoCodeData.createdById` is `string`.
|
|
82
82
|
createdById String?
|
|
@@ -72,7 +72,7 @@ model PlanVersion {
|
|
|
72
72
|
|
|
73
73
|
publishedAt DateTime?
|
|
74
74
|
supersededAt DateTime?
|
|
75
|
-
publishedChanges Json? // VersionChange[] — see @saasicat/
|
|
75
|
+
publishedChanges Json? // VersionChange[] — see @saasicat/core
|
|
76
76
|
changeNote String
|
|
77
77
|
nonRegressive Boolean @default(true)
|
|
78
78
|
|
|
@@ -119,7 +119,7 @@ model FeatureCatalogEntry {
|
|
|
119
119
|
core Boolean @default(false)
|
|
120
120
|
|
|
121
121
|
// Code-discovered feature dependencies (#35) and succession (#39) —
|
|
122
|
-
// see FeatureCatalogEntryRow in @saasicat/
|
|
122
|
+
// see FeatureCatalogEntryRow in @saasicat/core.
|
|
123
123
|
requires String[]
|
|
124
124
|
replaces String[]
|
|
125
125
|
successorKey String?
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
// the reference implementation, whose tables already live under the Prisma
|
|
16
16
|
// default names — a subsequent `@@map` would only force a table rename.
|
|
17
17
|
//
|
|
18
|
-
// Contract: @saasicat/
|
|
18
|
+
// Contract: @saasicat/core (src/registration.types.ts) (PendingRegistration,
|
|
19
19
|
// PendingRegistrationRepository, PaymentEventLog).
|
|
20
20
|
// Service logic: @saasicat/nest/registration (PendingRegistrationService).
|
|
21
21
|
|