@saasicat/adapter-prisma 1.0.0-rc.24 → 1.0.0-rc.25

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
@@ -83,38 +83,40 @@ PromoCodesModule.forRoot({
83
83
 
84
84
  ## Shipped adapters
85
85
 
86
- | Class | Implements port | Tables |
87
- | ---------------------------------------- | ---------------------------------- | ------------------------------------------------------------------- |
88
- | `PrismaTransactionRunner` | `TransactionRunner` | — (`$transaction`) |
89
- | `PrismaMfaAdapter` | `MfaPort` | `super_admin_mfa` |
90
- | `PrismaAuditAdapter` | `AuditPort` | `audit_logs` |
91
- | `PrismaAuditQueryAdapter` | `AuditQueryPort` | `audit_logs` |
92
- | `PrismaAuditStatsAdapter` | `AuditStatsPort` | `audit_logs` |
93
- | `AsyncLocalRlsBypassAdapter` | `RlsBypassPort` | (no DB access) |
94
- | `PrismaSubscriptionRepository` | `SubscriptionRepository` | `subscriptions`, `plan_versions`, optionally `subscription_bundles` |
95
- | `PrismaSubscriptionBundleRepository` | `SubscriptionBundleRepository` | `subscription_bundles` |
96
- | `PrismaTenantSubscriptionWriteAdapter` | `TenantSubscriptionWritePort` | `subscriptions`, `plans`, `plan_versions` |
97
- | `PrismaPlanVersionRepository` | `PlanVersionRepository` | `plan_versions` |
98
- | `PrismaPromoCodeRepository` | `PromoCodeRepository` | `promo_codes` |
99
- | `PrismaPromoCodeRedemptionRepository` | `PromoCodeRedemptionRepository` | `promo_code_redemptions` |
100
- | `PrismaPromoCodeHoldRepository` | `PromoCodeHoldRepository` | `promo_code_holds`, `promo_codes` |
101
- | `PrismaPromoCodeValidationLogRepository` | `PromoCodeValidationLogRepository` | `promo_code_validation_logs` |
102
- | `PrismaPromoSubscriptionLookup` | `PromoSubscriptionLookup` | `subscriptions` |
103
- | `ZeroPromoRevenueDeductionAggregator` | `PromoRevenueDeductionAggregator` | — (constant `'0.00'`) |
104
- | `PrismaSuperAdminBootstrapAdapter` | `SuperAdminProvisioningPort` | `super_admin_users` |
105
- | `PrismaPlanCatalogReadSink` | `PlanCatalogReadSink` | `plans`, `plan_versions`, `feature_catalog_entries` |
106
- | `PrismaPlanCatalogImportSink` | `PlanCatalogImportSink` | same |
107
- | `PrismaPlanRepository` | `PlanRepository` | `plans`, `plan_versions` |
108
- | `PrismaBundleRepository` | `BundleRepository` | `bundles`, `bundle_versions` |
109
- | `PrismaCatalogEntryRepository` | `CatalogEntryRepository` | capability, feature and quota catalog tables |
110
- | `PrismaMarketingProjectionRepository` | `MarketingProjectionRepository` | `marketing_projections` |
111
- | `PrismaMarketingSettingsRepository` | `MarketingSettingsRepository` | `marketing_settings` |
112
- | `PrismaPromotionRepository` | `PromotionRepository` | `promotions` |
113
- | `PrismaSubscriptionContractRepository` | `SubscriptionContractRepository` | `subscription_contracts`, `contract_line_items` |
114
- | `PrismaSubscriberLedgerRepository` | `SubscriberLedgerRepository` | `subscriber_ledger_entries` |
115
- | `PrismaAppliedSettingsRepository` | `AppliedSettingsPort` | `applied_settings`, `settings_changes` |
116
- | `PrismaMaintenanceWindowRepository` | `MaintenanceWindowPort` | `maintenance_windows` |
117
- | `PrismaSubscriptionNoticeRepository` | `SubscriptionNoticeRepository` | `subscription_notices` |
86
+ | Class | Implements port | Tables |
87
+ | ----------------------------------------- | ----------------------------------- | ------------------------------------------------------------------- |
88
+ | `PrismaTransactionRunner` | `TransactionRunner` | — (`$transaction`) |
89
+ | `PrismaMfaAdapter` | `MfaPort` | `super_admin_mfa` |
90
+ | `PrismaAuditAdapter` | `AuditPort` | `audit_logs` |
91
+ | `PrismaAuditQueryAdapter` | `AuditQueryPort` | `audit_logs` |
92
+ | `PrismaAuditStatsAdapter` | `AuditStatsPort` | `audit_logs` |
93
+ | `AsyncLocalRlsBypassAdapter` | `RlsBypassPort` | (no DB access) |
94
+ | `PrismaSubscriptionRepository` | `SubscriptionRepository` | `subscriptions`, `plan_versions`, optionally `subscription_bundles` |
95
+ | `PrismaSubscriptionBundleRepository` | `SubscriptionBundleRepository` | `subscription_bundles` |
96
+ | `PrismaTenantSubscriptionWriteAdapter` | `TenantSubscriptionWritePort` | `subscriptions`, `plans`, `plan_versions` |
97
+ | `PrismaPlanVersionRepository` | `PlanVersionRepository` | `plan_versions` |
98
+ | `PrismaPromoCodeRepository` | `PromoCodeRepository` | `promo_codes` |
99
+ | `PrismaPromoCodeRedemptionRepository` | `PromoCodeRedemptionRepository` | `promo_code_redemptions` |
100
+ | `PrismaPromoCodeHoldRepository` | `PromoCodeHoldRepository` | `promo_code_holds`, `promo_codes` |
101
+ | `PrismaPromoCodeValidationLogRepository` | `PromoCodeValidationLogRepository` | `promo_code_validation_logs` |
102
+ | `PrismaPromoSubscriptionLookup` | `PromoSubscriptionLookup` | `subscriptions` |
103
+ | `ZeroPromoRevenueDeductionAggregator` | `PromoRevenueDeductionAggregator` | — (constant `'0.00'`) |
104
+ | `PrismaSuperAdminBootstrapAdapter` | `SuperAdminProvisioningPort` | `super_admin_users` |
105
+ | `PrismaPlanCatalogReadSink` | `PlanCatalogReadSink` | `plans`, `plan_versions`, `feature_catalog_entries` |
106
+ | `PrismaPlanCatalogImportSink` | `PlanCatalogImportSink` | same |
107
+ | `PrismaPlanRepository` | `PlanRepository` | `plans`, `plan_versions` |
108
+ | `PrismaBundleRepository` | `BundleRepository` | `bundles`, `bundle_versions` |
109
+ | `PrismaCatalogEntryRepository` | `CatalogEntryRepository` | capability, feature and quota catalog tables |
110
+ | `PrismaMarketingProjectionRepository` | `MarketingProjectionRepository` | `marketing_projections` |
111
+ | `PrismaMarketingSettingsRepository` | `MarketingSettingsRepository` | `marketing_settings` |
112
+ | `PrismaPromotionRepository` | `PromotionRepository` | `promotions` |
113
+ | `PrismaSubscriptionContractRepository` | `SubscriptionContractRepository` | `subscription_contracts`, `contract_line_items` |
114
+ | `PrismaSubscriberLedgerRepository` | `SubscriberLedgerRepository` | `subscriber_ledger_entries` |
115
+ | `PrismaAppliedSettingsRepository` | `AppliedSettingsPort` | `applied_settings`, `settings_changes` |
116
+ | `PrismaMaintenanceWindowRepository` | `MaintenanceWindowPort` | `maintenance_windows` |
117
+ | `PrismaSubscriptionNoticeRepository` | `SubscriptionNoticeRepository` | `subscription_notices` |
118
+ | `PrismaVersionRetirementRepository` | `VersionRetirementRepository` | `version_retirements` |
119
+ | `PrismaBundleVersionRetirementRepository` | `BundleVersionRetirementRepository` | `bundle_version_retirements` |
118
120
 
119
121
  `PrismaMfaAdapter` stores the secret it is handed. The platform seals it first with the
120
122
  `SecretSealer` bound in `adapters`, which this bundle does not supply: the key belongs to the
package/dist/.build-stamp CHANGED
@@ -1 +1 @@
1
- ea73c0e7bf28f59cc874609ad77c869e7129802a8297ffd6bd0f9ec21d3cabe9
1
+ 14b4708a748d842d0a925ffcb3e181b338b3cdd02caf4163f69ac455485a4758