@saasicat/adapter-prisma 1.0.0-rc.6 → 1.0.0-rc.7

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/README.md CHANGED
@@ -54,9 +54,9 @@ Options:
54
54
 
55
55
  The bundle also ships `planCatalogReadSink` for DB hydration. To use it,
56
56
  omit `planCatalog` and pass the identity the database cannot provide:
57
- `SaaSiCatModule.forRoot({ persistence, dbCatalog: { projectKey,
58
- currency, vatRate } })` — without `dbCatalog` the module refuses to boot
59
- (the sink would otherwise load an empty catalog for project key `''`).
57
+ `SaaSiCatModule.forRoot({ persistence, dbCatalog: { app, currency, vatRate } })`
58
+ — without `dbCatalog` the module refuses to boot, because branding, currency
59
+ and VAT cannot come from the database.
60
60
 
61
61
  Slices the mega module does not wire (promo) spread into the domain module:
62
62
 
@@ -143,10 +143,7 @@ outputs still use the semantic key:
143
143
 
144
144
  ```ts
145
145
  const schema = {
146
- planBinding: {
147
- mode: 'normalized-plan-id',
148
- projectKey: 'my-app',
149
- },
146
+ planBinding: { mode: 'normalized-plan-id' },
150
147
  planVersionFields: {
151
148
  validityWindows: true,
152
149
  endsAt: true,
@@ -277,4 +274,5 @@ recreates its `public` schema.**
277
274
 
278
275
  - [Quickstart](../../docs/quickstart.md) — from an existing backend to an enforced feature
279
276
  - [Data model](../../docs/explanation/data-model.md) — the canonical tables, and who owns which
280
- - [Ports and adapters](../../docs/explanation/adr/0007-ports-and-adapters.md) — why an adapter never decides
277
+ - [Ports and adapters](../../docs/explanation/adr/0007-ports-and-adapters.md) — why an adapter never
278
+ decides
package/dist/.build-stamp CHANGED
@@ -1 +1 @@
1
- 529e89589dea5797242ccc83833f15705b7fbf7c056430280539f88b62f3d037
1
+ b0873d8c2197f48fb86ad9453daa032a30e6d69efd8d8feb3319d5165d59989a