@lssm/example.saas-boilerplate 0.0.0-canary-20251220021406 → 0.0.0-canary-20251220030446
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/.turbo/turbo-build$colon$bundle.log +122 -122
- package/.turbo/turbo-build.log +144 -144
- package/CHANGELOG.md +8 -8
- package/dist/billing/billing.entity.d.ts +41 -41
- package/dist/billing/billing.enum.d.ts +3 -3
- package/dist/settings/settings.entity.d.ts +24 -24
- package/dist/settings/settings.enum.d.ts +2 -2
- package/package.json +10 -10
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lssm/example.saas-boilerplate
|
|
2
2
|
|
|
3
|
-
## 0.0.0-canary-
|
|
3
|
+
## 0.0.0-canary-20251220030446
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
### Patch Changes
|
|
10
10
|
|
|
11
11
|
- Updated dependencies [66a5dfd]
|
|
12
|
-
- @lssm/lib.bus@0.0.0-canary-
|
|
13
|
-
- @lssm/lib.contracts@0.0.0-canary-
|
|
14
|
-
- @lssm/lib.identity-rbac@0.0.0-canary-
|
|
15
|
-
- @lssm/lib.jobs@0.0.0-canary-
|
|
16
|
-
- @lssm/lib.schema@0.0.0-canary-
|
|
17
|
-
- @lssm/module.audit-trail@0.0.0-canary-
|
|
18
|
-
- @lssm/module.notifications@0.0.0-canary-
|
|
12
|
+
- @lssm/lib.bus@0.0.0-canary-20251220030446
|
|
13
|
+
- @lssm/lib.contracts@0.0.0-canary-20251220030446
|
|
14
|
+
- @lssm/lib.identity-rbac@0.0.0-canary-20251220030446
|
|
15
|
+
- @lssm/lib.jobs@0.0.0-canary-20251220030446
|
|
16
|
+
- @lssm/lib.schema@0.0.0-canary-20251220030446
|
|
17
|
+
- @lssm/module.audit-trail@0.0.0-canary-20251220030446
|
|
18
|
+
- @lssm/module.notifications@0.0.0-canary-20251220030446
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema42 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/billing/billing.entity.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Subscription status enum for entities.
|
|
6
6
|
*/
|
|
7
|
-
declare const SubscriptionStatusEnum:
|
|
7
|
+
declare const SubscriptionStatusEnum: _lssm_lib_schema42.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Subscription entity - organization subscription info.
|
|
10
10
|
*/
|
|
11
|
-
declare const SubscriptionEntity:
|
|
12
|
-
id:
|
|
13
|
-
organizationId:
|
|
14
|
-
planId:
|
|
15
|
-
planName:
|
|
16
|
-
status:
|
|
17
|
-
currentPeriodStart:
|
|
18
|
-
currentPeriodEnd:
|
|
19
|
-
trialEndsAt:
|
|
20
|
-
cancelAtPeriodEnd:
|
|
21
|
-
canceledAt:
|
|
22
|
-
stripeSubscriptionId:
|
|
23
|
-
stripeCustomerId:
|
|
24
|
-
metadata:
|
|
25
|
-
createdAt:
|
|
26
|
-
updatedAt:
|
|
11
|
+
declare const SubscriptionEntity: _lssm_lib_schema42.EntitySpec<{
|
|
12
|
+
id: _lssm_lib_schema42.EntityScalarField;
|
|
13
|
+
organizationId: _lssm_lib_schema42.EntityScalarField;
|
|
14
|
+
planId: _lssm_lib_schema42.EntityScalarField;
|
|
15
|
+
planName: _lssm_lib_schema42.EntityScalarField;
|
|
16
|
+
status: _lssm_lib_schema42.EntityEnumField;
|
|
17
|
+
currentPeriodStart: _lssm_lib_schema42.EntityScalarField;
|
|
18
|
+
currentPeriodEnd: _lssm_lib_schema42.EntityScalarField;
|
|
19
|
+
trialEndsAt: _lssm_lib_schema42.EntityScalarField;
|
|
20
|
+
cancelAtPeriodEnd: _lssm_lib_schema42.EntityScalarField;
|
|
21
|
+
canceledAt: _lssm_lib_schema42.EntityScalarField;
|
|
22
|
+
stripeSubscriptionId: _lssm_lib_schema42.EntityScalarField;
|
|
23
|
+
stripeCustomerId: _lssm_lib_schema42.EntityScalarField;
|
|
24
|
+
metadata: _lssm_lib_schema42.EntityScalarField;
|
|
25
|
+
createdAt: _lssm_lib_schema42.EntityScalarField;
|
|
26
|
+
updatedAt: _lssm_lib_schema42.EntityScalarField;
|
|
27
27
|
}>;
|
|
28
28
|
/**
|
|
29
29
|
* BillingUsage entity - track feature usage.
|
|
30
30
|
*/
|
|
31
|
-
declare const BillingUsageEntity:
|
|
32
|
-
id:
|
|
33
|
-
organizationId:
|
|
34
|
-
feature:
|
|
35
|
-
quantity:
|
|
36
|
-
unit:
|
|
37
|
-
billingPeriod:
|
|
38
|
-
recordedAt:
|
|
39
|
-
sourceId:
|
|
40
|
-
sourceType:
|
|
41
|
-
metadata:
|
|
31
|
+
declare const BillingUsageEntity: _lssm_lib_schema42.EntitySpec<{
|
|
32
|
+
id: _lssm_lib_schema42.EntityScalarField;
|
|
33
|
+
organizationId: _lssm_lib_schema42.EntityScalarField;
|
|
34
|
+
feature: _lssm_lib_schema42.EntityScalarField;
|
|
35
|
+
quantity: _lssm_lib_schema42.EntityScalarField;
|
|
36
|
+
unit: _lssm_lib_schema42.EntityScalarField;
|
|
37
|
+
billingPeriod: _lssm_lib_schema42.EntityScalarField;
|
|
38
|
+
recordedAt: _lssm_lib_schema42.EntityScalarField;
|
|
39
|
+
sourceId: _lssm_lib_schema42.EntityScalarField;
|
|
40
|
+
sourceType: _lssm_lib_schema42.EntityScalarField;
|
|
41
|
+
metadata: _lssm_lib_schema42.EntityScalarField;
|
|
42
42
|
}>;
|
|
43
43
|
/**
|
|
44
44
|
* UsageLimit entity - feature usage limits per plan.
|
|
45
45
|
*/
|
|
46
|
-
declare const UsageLimitEntity:
|
|
47
|
-
id:
|
|
48
|
-
planId:
|
|
49
|
-
organizationId:
|
|
50
|
-
feature:
|
|
51
|
-
limit:
|
|
52
|
-
resetPeriod:
|
|
53
|
-
isSoftLimit:
|
|
54
|
-
overage:
|
|
55
|
-
overageRate:
|
|
56
|
-
createdAt:
|
|
57
|
-
updatedAt:
|
|
46
|
+
declare const UsageLimitEntity: _lssm_lib_schema42.EntitySpec<{
|
|
47
|
+
id: _lssm_lib_schema42.EntityScalarField;
|
|
48
|
+
planId: _lssm_lib_schema42.EntityScalarField;
|
|
49
|
+
organizationId: _lssm_lib_schema42.EntityScalarField;
|
|
50
|
+
feature: _lssm_lib_schema42.EntityScalarField;
|
|
51
|
+
limit: _lssm_lib_schema42.EntityScalarField;
|
|
52
|
+
resetPeriod: _lssm_lib_schema42.EntityScalarField;
|
|
53
|
+
isSoftLimit: _lssm_lib_schema42.EntityScalarField;
|
|
54
|
+
overage: _lssm_lib_schema42.EntityScalarField;
|
|
55
|
+
overageRate: _lssm_lib_schema42.EntityScalarField;
|
|
56
|
+
createdAt: _lssm_lib_schema42.EntityScalarField;
|
|
57
|
+
updatedAt: _lssm_lib_schema42.EntityScalarField;
|
|
58
58
|
}>;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { BillingUsageEntity, SubscriptionEntity, SubscriptionStatusEnum, UsageLimitEntity };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema40 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/billing/billing.enum.d.ts
|
|
4
4
|
|
|
@@ -6,11 +6,11 @@ import * as _lssm_lib_schema80 from "@lssm/lib.schema";
|
|
|
6
6
|
* Subscription status enum for contract schemas.
|
|
7
7
|
* Note: Entity enum is defined separately in billing.entity.ts
|
|
8
8
|
*/
|
|
9
|
-
declare const SubscriptionStatusSchemaEnum:
|
|
9
|
+
declare const SubscriptionStatusSchemaEnum: _lssm_lib_schema40.EnumType<[string, string, string, string, string]>;
|
|
10
10
|
/**
|
|
11
11
|
* Feature access reason enum.
|
|
12
12
|
*/
|
|
13
|
-
declare const FeatureAccessReasonEnum:
|
|
13
|
+
declare const FeatureAccessReasonEnum: _lssm_lib_schema40.EnumType<[string, string, string, string]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { FeatureAccessReasonEnum, SubscriptionStatusSchemaEnum };
|
|
16
16
|
//# sourceMappingURL=billing.enum.d.ts.map
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema347 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/settings/settings.entity.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Settings entity - key-value configuration store.
|
|
6
6
|
*/
|
|
7
|
-
declare const SettingsEntity:
|
|
8
|
-
id:
|
|
9
|
-
key:
|
|
10
|
-
scope:
|
|
11
|
-
scopeId:
|
|
12
|
-
value:
|
|
13
|
-
valueType:
|
|
14
|
-
schema:
|
|
15
|
-
description:
|
|
16
|
-
isSecret:
|
|
17
|
-
createdAt:
|
|
18
|
-
updatedAt:
|
|
7
|
+
declare const SettingsEntity: _lssm_lib_schema347.EntitySpec<{
|
|
8
|
+
id: _lssm_lib_schema347.EntityScalarField;
|
|
9
|
+
key: _lssm_lib_schema347.EntityScalarField;
|
|
10
|
+
scope: _lssm_lib_schema347.EntityEnumField;
|
|
11
|
+
scopeId: _lssm_lib_schema347.EntityScalarField;
|
|
12
|
+
value: _lssm_lib_schema347.EntityScalarField;
|
|
13
|
+
valueType: _lssm_lib_schema347.EntityScalarField;
|
|
14
|
+
schema: _lssm_lib_schema347.EntityScalarField;
|
|
15
|
+
description: _lssm_lib_schema347.EntityScalarField;
|
|
16
|
+
isSecret: _lssm_lib_schema347.EntityScalarField;
|
|
17
|
+
createdAt: _lssm_lib_schema347.EntityScalarField;
|
|
18
|
+
updatedAt: _lssm_lib_schema347.EntityScalarField;
|
|
19
19
|
}>;
|
|
20
20
|
/**
|
|
21
21
|
* FeatureFlag entity - feature toggles.
|
|
22
22
|
*/
|
|
23
|
-
declare const FeatureFlagEntity:
|
|
24
|
-
id:
|
|
25
|
-
key:
|
|
26
|
-
name:
|
|
27
|
-
description:
|
|
28
|
-
enabled:
|
|
29
|
-
defaultValue:
|
|
30
|
-
rules:
|
|
31
|
-
rolloutPercentage:
|
|
32
|
-
createdAt:
|
|
33
|
-
updatedAt:
|
|
23
|
+
declare const FeatureFlagEntity: _lssm_lib_schema347.EntitySpec<{
|
|
24
|
+
id: _lssm_lib_schema347.EntityScalarField;
|
|
25
|
+
key: _lssm_lib_schema347.EntityScalarField;
|
|
26
|
+
name: _lssm_lib_schema347.EntityScalarField;
|
|
27
|
+
description: _lssm_lib_schema347.EntityScalarField;
|
|
28
|
+
enabled: _lssm_lib_schema347.EntityScalarField;
|
|
29
|
+
defaultValue: _lssm_lib_schema347.EntityScalarField;
|
|
30
|
+
rules: _lssm_lib_schema347.EntityScalarField;
|
|
31
|
+
rolloutPercentage: _lssm_lib_schema347.EntityScalarField;
|
|
32
|
+
createdAt: _lssm_lib_schema347.EntityScalarField;
|
|
33
|
+
updatedAt: _lssm_lib_schema347.EntityScalarField;
|
|
34
34
|
}>;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { FeatureFlagEntity, SettingsEntity };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema346 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/settings/settings.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Settings scope enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const SettingsScopeEnum:
|
|
7
|
+
declare const SettingsScopeEnum: _lssm_lib_schema346.EntityEnumDef;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { SettingsScopeEnum };
|
|
10
10
|
//# sourceMappingURL=settings.enum.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.saas-boilerplate",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251220030446",
|
|
4
4
|
"description": "SaaS Boilerplate - Users, Orgs, Projects, Billing, Settings",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -51,18 +51,18 @@
|
|
|
51
51
|
"test": "bun run"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
55
|
-
"@lssm/lib.contracts": "0.0.0-canary-
|
|
56
|
-
"@lssm/lib.bus": "0.0.0-canary-
|
|
57
|
-
"@lssm/lib.identity-rbac": "0.0.0-canary-
|
|
58
|
-
"@lssm/lib.jobs": "0.0.0-canary-
|
|
59
|
-
"@lssm/module.audit-trail": "0.0.0-canary-
|
|
60
|
-
"@lssm/module.notifications": "0.0.0-canary-
|
|
54
|
+
"@lssm/lib.schema": "0.0.0-canary-20251220030446",
|
|
55
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251220030446",
|
|
56
|
+
"@lssm/lib.bus": "0.0.0-canary-20251220030446",
|
|
57
|
+
"@lssm/lib.identity-rbac": "0.0.0-canary-20251220030446",
|
|
58
|
+
"@lssm/lib.jobs": "0.0.0-canary-20251220030446",
|
|
59
|
+
"@lssm/module.audit-trail": "0.0.0-canary-20251220030446",
|
|
60
|
+
"@lssm/module.notifications": "0.0.0-canary-20251220030446",
|
|
61
61
|
"zod": "^4.1.13"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
65
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
64
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251220030446",
|
|
65
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251220030446",
|
|
66
66
|
"tsdown": "^0.18.1",
|
|
67
67
|
"typescript": "^5.9.3"
|
|
68
68
|
},
|