@saasicat/nest 0.3.0 → 0.5.0
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/dist/admin/index.d.cts +2 -2
- package/dist/admin/index.d.ts +2 -2
- package/dist/{admin-manifest.config-DyrQNT7M.d.cts → admin-manifest.config-DxTfZ8-L.d.cts} +1 -1
- package/dist/{admin-manifest.config-DyrQNT7M.d.ts → admin-manifest.config-DxTfZ8-L.d.ts} +1 -1
- package/dist/{aggregation-CJ3qQf92.d.cts → aggregation-Bt1i_whS.d.cts} +1 -8
- package/dist/{aggregation-Dvz9e8X2.d.ts → aggregation-DGCyoN5d.d.ts} +1 -8
- package/dist/billing/index.cjs +13 -2
- package/dist/billing/index.d.cts +5 -5
- package/dist/billing/index.d.ts +5 -5
- package/dist/billing/index.js +2 -2
- package/dist/catalog/index.d.cts +1 -1
- package/dist/catalog/index.d.ts +1 -1
- package/dist/{chunk-YXGHPILG.js → chunk-NFOSITWB.js} +7 -0
- package/dist/{chunk-47JT54VW.js → chunk-NWLOILP6.js} +4 -3
- package/dist/{chunk-RIGLQ4BV.js → chunk-S2OZ5RIM.js} +9 -4
- package/dist/discovery/index.d.cts +2 -2
- package/dist/discovery/index.d.ts +2 -2
- package/dist/{discovery.scanner-CUYLKlYT.d.cts → discovery.scanner-DLgEvuoy.d.cts} +1 -1
- package/dist/{discovery.scanner-CUYLKlYT.d.ts → discovery.scanner-DLgEvuoy.d.ts} +1 -1
- package/dist/{saas-platform.module-k1DQg4De.d.ts → enforce-quota.interceptor-3HmbeHTM.d.ts} +59 -4
- package/dist/{saas-platform.module-C7-H9eYB.d.cts → enforce-quota.interceptor-HmdZFg41.d.cts} +59 -4
- package/dist/entitlement/index.cjs +8 -0
- package/dist/entitlement/index.d.cts +18 -2
- package/dist/entitlement/index.d.ts +18 -2
- package/dist/entitlement/index.js +3 -1
- package/dist/index.cjs +29 -16
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -2
- package/dist/platform/index.cjs +5 -1
- package/dist/platform/index.d.cts +9 -62
- package/dist/platform/index.d.ts +9 -62
- package/dist/platform/index.js +2 -2
- package/dist/testing/index.cjs +15 -1
- package/dist/testing/index.d.cts +5 -3
- package/dist/testing/index.d.ts +5 -3
- package/dist/testing/index.js +13 -3
- package/package.json +5 -3
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { BundleRepository, BundleRow, BundleVersionRow, BundleListFilter, CreateBundleData, UpdateBundleData, CreateBundleVersionDraftData, UpdateBundleVersionDraftData, VersionChange, BusinessTypeRepository, BusinessTypeRow, BusinessTypeVersionRow, BusinessTypeListFilter, CreateBusinessTypeData, UpdateBusinessTypeData, CreateBusinessTypeVersionDraftData, UpdateBusinessTypeVersionDraftData, MarketingProjectionRepository, MarketingProjectionRow, MarketingProjectionFilter, CreateMarketingProjectionData, UpdateMarketingProjectionData, PlanRepository, PlanRow, PlanVersionRow, PlanListFilter, CreatePlanData, UpdatePlanData, CreatePlanVersionDraftData, UpdatePlanVersionDraftData, PlanVersionRepository, PlanVersionRecord, TransactionContext, SubscriptionBundleRepository, SubscriptionBundleRecord, CreateSubscriptionBundleData, CancelSubscriptionBundleData, SubscriptionContractRepository, SubscriptionContractFilter, SubscriptionContractRecord, CreateSubscriptionContractData, TerminateSubscriptionContractData, SubscriptionRepository, SubscriptionRecord, TransactionRunner, PlanCatalog, QuotaProvider } from '@saasicat/types';
|
|
2
2
|
import { Type, DynamicModule } from '@nestjs/common';
|
|
3
|
-
import {
|
|
3
|
+
import { c as SaasPlatformAdapters } from '../enforce-quota.interceptor-3HmbeHTM.js';
|
|
4
|
+
export { E as EnforceQuotaInterceptor, P as PLAN_RESOLVER_PORT_TOKEN, S as StaticEntitlementService, g as StaticFeatureGuard, i as StaticPlanResolver } from '../enforce-quota.interceptor-3HmbeHTM.js';
|
|
4
5
|
import '../di-CcNeq9v-.js';
|
|
5
|
-
import '../admin-manifest.config-
|
|
6
|
-
import '../discovery.scanner-
|
|
6
|
+
import '../admin-manifest.config-DxTfZ8-L.js';
|
|
7
|
+
import '../discovery.scanner-DLgEvuoy.js';
|
|
7
8
|
import '@nestjs/core';
|
|
8
9
|
import '../plan-resolution-CFCoUkrE.js';
|
|
10
|
+
import 'rxjs';
|
|
9
11
|
|
|
10
12
|
/**
|
|
11
13
|
* In-memory FakeSubscriptionRepository — stores subscriptions by
|
package/dist/testing/index.js
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
EnforceQuotaInterceptor,
|
|
3
|
+
PLAN_RESOLVER_PORT_TOKEN,
|
|
4
|
+
SaasPlatformModule,
|
|
5
|
+
StaticEntitlementService,
|
|
6
|
+
StaticFeatureGuard,
|
|
7
|
+
StaticPlanResolver
|
|
8
|
+
} from "../chunk-NWLOILP6.js";
|
|
4
9
|
import "../chunk-P6MYZMXQ.js";
|
|
5
10
|
import "../chunk-Q53N43LQ.js";
|
|
6
11
|
import "../chunk-E56W4U2P.js";
|
|
7
12
|
import "../chunk-AJ3EPELS.js";
|
|
8
13
|
import "../chunk-M6CZQYPY.js";
|
|
9
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-NFOSITWB.js";
|
|
10
15
|
import "../chunk-MV6LW5UB.js";
|
|
11
16
|
import "../chunk-NYLON2VC.js";
|
|
12
17
|
import "../chunk-7MLGHWKO.js";
|
|
@@ -1179,6 +1184,7 @@ function createSaasPlatformTestModule(options) {
|
|
|
1179
1184
|
}
|
|
1180
1185
|
__name(createSaasPlatformTestModule, "createSaasPlatformTestModule");
|
|
1181
1186
|
export {
|
|
1187
|
+
EnforceQuotaInterceptor,
|
|
1182
1188
|
FakeBundleRepository,
|
|
1183
1189
|
FakeBusinessTypeRepository,
|
|
1184
1190
|
FakeMarketingProjectionRepository,
|
|
@@ -1188,6 +1194,10 @@ export {
|
|
|
1188
1194
|
FakeSubscriptionContractRepository,
|
|
1189
1195
|
FakeSubscriptionRepository,
|
|
1190
1196
|
FakeTransactionRunner,
|
|
1197
|
+
PLAN_RESOLVER_PORT_TOKEN,
|
|
1198
|
+
StaticEntitlementService,
|
|
1199
|
+
StaticFeatureGuard,
|
|
1200
|
+
StaticPlanResolver,
|
|
1191
1201
|
StubAuditPort,
|
|
1192
1202
|
StubMfaPort,
|
|
1193
1203
|
StubRlsBypassPort,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasicat/nest",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "NestJS implementation of the SaaS platform: billing, promo codes, admin backend, audit, MFA, adapter ports.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -137,8 +137,8 @@
|
|
|
137
137
|
"js-yaml": "^4.1.0",
|
|
138
138
|
"otplib": "^13.4.1",
|
|
139
139
|
"qrcode": "^1.5.4",
|
|
140
|
-
"@saasicat/spec": "^0.
|
|
141
|
-
"@saasicat/types": "^0.
|
|
140
|
+
"@saasicat/spec": "^0.5.0",
|
|
141
|
+
"@saasicat/types": "^0.5.0"
|
|
142
142
|
},
|
|
143
143
|
"peerDependencies": {
|
|
144
144
|
"@nestjs/common": "^11.0.0",
|
|
@@ -152,12 +152,14 @@
|
|
|
152
152
|
"@nestjs/common": "^11.0.0",
|
|
153
153
|
"@nestjs/core": "^11.0.0",
|
|
154
154
|
"@nestjs/schedule": "^6.0.0",
|
|
155
|
+
"@nestjs/testing": "^11.1.28",
|
|
155
156
|
"@swc/core": "^1.15.33",
|
|
156
157
|
"@types/js-yaml": "^4.0.9",
|
|
157
158
|
"@types/node": "^25.6.0",
|
|
158
159
|
"@types/qrcode": "^1.5.5",
|
|
159
160
|
"class-transformer": "^0.5.1",
|
|
160
161
|
"class-validator": "^0.14.0",
|
|
162
|
+
"reflect-metadata": "^0.2.2",
|
|
161
163
|
"rxjs": "^7.0.0",
|
|
162
164
|
"tsup": "^8.0.0",
|
|
163
165
|
"typescript": "^6.0.0",
|