@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.
@@ -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/types'
1464
+ description: 'DiscoverySnapshot (app/features/quotas/capabilities) from @saasicat/core'
1465
1465
 
1466
1466
  CatalogMarketingSettingsUpdate:
1467
1467
  type: object
@@ -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/types`, `src/ports/core-ports.types.ts`)
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasicat/spec",
3
- "version": "1.0.0-rc.0",
3
+ "version": "1.0.0-rc.2",
4
4
  "description": "Language-neutral spec of the SaaS platform: JSON Schemas, OpenAPI contract, Prisma fragments, acceptance scenarios.",
5
5
  "type": "module",
6
6
  "main": "./index.cjs",
@@ -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/types — rows
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/types
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/types.
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/types (src/registration.types.ts) (PendingRegistration,
18
+ // Contract: @saasicat/core (src/registration.types.ts) (PendingRegistration,
19
19
  // PendingRegistrationRepository, PaymentEventLog).
20
20
  // Service logic: @saasicat/nest/registration (PendingRegistrationService).
21
21