@contractspec/example.saas-boilerplate 0.0.0-canary-20260119222405 → 0.0.0-canary-20260119224109
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 +3 -3
- package/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +8 -8
- package/dist/billing/billing.event.d.ts +4 -4
- package/dist/billing/billing.operations.d.ts +5 -5
- package/dist/billing/billing.presentation.d.ts +3 -3
- package/dist/billing/billing.presentation.d.ts.map +1 -1
- package/dist/billing/billing.schema.d.ts +47 -47
- package/dist/dashboard/dashboard.presentation.d.ts +3 -3
- package/dist/dashboard/dashboard.presentation.d.ts.map +1 -1
- package/dist/example.d.ts +2 -2
- package/dist/project/project.enum.d.ts +3 -3
- package/dist/project/project.event.d.ts +5 -5
- package/dist/project/project.operations.d.ts +102 -102
- package/dist/project/project.schema.d.ts +54 -54
- package/dist/saas-boilerplate.feature.d.ts +2 -2
- package/dist/settings/settings.entity.d.ts +24 -24
- package/dist/settings/settings.enum.d.ts +2 -2
- package/dist/ui/modals/CreateProjectModal.d.ts +2 -2
- package/dist/ui/modals/ProjectActionsModal.d.ts +2 -2
- package/package.json +8 -8
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
$ tsdown
|
|
2
2
|
[34mℹ[39m tsdown [2mv0.19.0[22m powered by rolldown [2mv1.0.0-beta.59[22m
|
|
3
3
|
[34mℹ[39m config file: [4m/home/runner/work/contractspec/contractspec/packages/examples/saas-boilerplate/tsdown.config.js[24m
|
|
4
|
-
[34mℹ[39m entry: [34msrc/example.ts, src/index.ts, src/saas-boilerplate.feature.ts, src/billing/billing.entity.ts, src/billing/billing.enum.ts, src/billing/billing.event.ts, src/billing/billing.handler.ts, src/billing/billing.operations.ts, src/billing/billing.presentation.ts, src/billing/billing.schema.ts, src/billing/index.ts, src/dashboard/dashboard.presentation.ts, src/dashboard/index.ts, src/docs/index.ts, src/docs/saas-boilerplate.docblock.ts, src/handlers/index.ts, src/handlers/saas.handlers.ts, src/presentations/index.ts, src/project/index.ts, src/project/project.entity.ts, src/project/project.enum.ts, src/project/project.event.ts, src/project/project.handler.ts, src/project/project.operations.ts, src/project/project.presentation.ts, src/project/project.schema.ts, src/
|
|
4
|
+
[34mℹ[39m entry: [34msrc/example.ts, src/index.ts, src/saas-boilerplate.feature.ts, src/billing/billing.entity.ts, src/billing/billing.enum.ts, src/billing/billing.event.ts, src/billing/billing.handler.ts, src/billing/billing.operations.ts, src/billing/billing.presentation.ts, src/billing/billing.schema.ts, src/billing/index.ts, src/dashboard/dashboard.presentation.ts, src/dashboard/index.ts, src/docs/index.ts, src/docs/saas-boilerplate.docblock.ts, src/handlers/index.ts, src/handlers/saas.handlers.ts, src/presentations/index.ts, src/seeders/index.ts, src/project/index.ts, src/project/project.entity.ts, src/project/project.enum.ts, src/project/project.event.ts, src/project/project.handler.ts, src/project/project.operations.ts, src/project/project.presentation.ts, src/project/project.schema.ts, src/settings/index.ts, src/settings/settings.entity.ts, src/settings/settings.enum.ts, src/shared/mock-data.ts, src/shared/overlay-types.ts, src/tests/operations.test-spec.ts, src/ui/SaasDashboard.tsx, src/ui/SaasProjectList.tsx, src/ui/SaasSettingsPanel.tsx, src/ui/index.ts, src/ui/hooks/index.ts, src/ui/hooks/useProjectList.ts, src/ui/hooks/useProjectMutations.ts, src/ui/overlays/demo-overlays.ts, src/ui/overlays/index.ts, src/ui/modals/CreateProjectModal.tsx, src/ui/modals/ProjectActionsModal.tsx, src/ui/modals/index.ts, src/ui/renderers/index.ts, src/ui/renderers/project-list.markdown.ts, src/ui/renderers/project-list.renderer.tsx[39m
|
|
5
5
|
[34mℹ[39m target: [34mesnext[39m
|
|
6
6
|
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
7
7
|
[34mℹ[39m Build start
|
|
@@ -156,7 +156,7 @@ $ tsdown
|
|
|
156
156
|
[34mℹ[39m [2mdist/[22m[32m[1mtests/operations.test-spec.d.ts[22m[39m [2m 0.59 kB[22m [2m│ gzip: 0.23 kB[22m
|
|
157
157
|
[34mℹ[39m [2mdist/[22m[32m[1mdashboard/dashboard.presentation.d.ts[22m[39m [2m 0.54 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
158
158
|
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.presentation.d.ts[22m[39m [2m 0.54 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
159
|
-
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.presentation.d.ts[22m[39m [2m 0.53 kB[22m [2m│ gzip: 0.
|
|
159
|
+
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.presentation.d.ts[22m[39m [2m 0.53 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
160
160
|
[34mℹ[39m [2mdist/[22m[32m[1mui/overlays/demo-overlays.d.ts[22m[39m [2m 0.52 kB[22m [2m│ gzip: 0.27 kB[22m
|
|
161
161
|
[34mℹ[39m [2mdist/[22m[32m[1msaas-boilerplate.feature.d.ts[22m[39m [2m 0.45 kB[22m [2m│ gzip: 0.26 kB[22m
|
|
162
162
|
[34mℹ[39m [2mdist/[22m[32m[1mui/SaasProjectList.d.ts[22m[39m [2m 0.43 kB[22m [2m│ gzip: 0.25 kB[22m
|
|
@@ -185,4 +185,4 @@ src/ui/renderers/project-list.markdown.ts (10:7) [33m[UNRESOLVED_IMPORT] Warnin
|
|
|
185
185
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
186
186
|
[38;5;246m────╯[0m
|
|
187
187
|
|
|
188
|
-
[32m✔[39m Build complete in [
|
|
188
|
+
[32m✔[39m Build complete in [32m33145ms[39m
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -104,7 +104,7 @@ $ tsdown
|
|
|
104
104
|
[34mℹ[39m [2mdist/[22msettings/settings.enum.js.map [2m 0.54 kB[22m [2m│ gzip: 0.35 kB[22m
|
|
105
105
|
[34mℹ[39m [2mdist/[22mui/modals/CreateProjectModal.d.ts.map [2m 0.51 kB[22m [2m│ gzip: 0.28 kB[22m
|
|
106
106
|
[34mℹ[39m [2mdist/[22mshared/overlay-types.d.ts.map [2m 0.48 kB[22m [2m│ gzip: 0.27 kB[22m
|
|
107
|
-
[34mℹ[39m [2mdist/[22mbilling/billing.entity.d.ts.map [2m 0.44 kB[22m [2m│ gzip: 0.
|
|
107
|
+
[34mℹ[39m [2mdist/[22mbilling/billing.entity.d.ts.map [2m 0.44 kB[22m [2m│ gzip: 0.25 kB[22m
|
|
108
108
|
[34mℹ[39m [2mdist/[22mui/hooks/useProjectList.d.ts.map [2m 0.34 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
109
109
|
[34mℹ[39m [2mdist/[22mproject/project.entity.d.ts.map [2m 0.34 kB[22m [2m│ gzip: 0.23 kB[22m
|
|
110
110
|
[34mℹ[39m [2mdist/[22msettings/settings.entity.d.ts.map [2m 0.29 kB[22m [2m│ gzip: 0.20 kB[22m
|
|
@@ -127,20 +127,20 @@ $ tsdown
|
|
|
127
127
|
[34mℹ[39m [2mdist/[22mseeders/index.d.ts.map [2m 0.16 kB[22m [2m│ gzip: 0.14 kB[22m
|
|
128
128
|
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m 0.14 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
129
129
|
[34mℹ[39m [2mdist/[22mpresentations/index.d.ts.map [2m 0.14 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
130
|
-
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.operations.d.ts[22m[39m [2m11.
|
|
130
|
+
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.operations.d.ts[22m[39m [2m11.81 kB[22m [2m│ gzip: 0.87 kB[22m
|
|
131
131
|
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.schema.d.ts[22m[39m [2m 6.56 kB[22m [2m│ gzip: 0.76 kB[22m
|
|
132
132
|
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m 6.36 kB[22m [2m│ gzip: 1.30 kB[22m
|
|
133
133
|
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.schema.d.ts[22m[39m [2m 5.72 kB[22m [2m│ gzip: 0.79 kB[22m
|
|
134
|
-
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.operations.d.ts[22m[39m [2m 4.
|
|
135
|
-
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.entity.d.ts[22m[39m [2m 2.
|
|
136
|
-
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.event.d.ts[22m[39m [2m 2.
|
|
137
|
-
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.event.d.ts[22m[39m [2m 2.
|
|
134
|
+
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.operations.d.ts[22m[39m [2m 4.93 kB[22m [2m│ gzip: 0.77 kB[22m
|
|
135
|
+
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.entity.d.ts[22m[39m [2m 2.91 kB[22m [2m│ gzip: 0.52 kB[22m
|
|
136
|
+
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.event.d.ts[22m[39m [2m 2.77 kB[22m [2m│ gzip: 0.43 kB[22m
|
|
137
|
+
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.event.d.ts[22m[39m [2m 2.58 kB[22m [2m│ gzip: 0.48 kB[22m
|
|
138
138
|
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.handler.d.ts[22m[39m [2m 2.12 kB[22m [2m│ gzip: 0.71 kB[22m
|
|
139
139
|
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/saas.handlers.d.ts[22m[39m [2m 1.95 kB[22m [2m│ gzip: 0.68 kB[22m
|
|
140
140
|
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.handler.d.ts[22m[39m [2m 1.93 kB[22m [2m│ gzip: 0.53 kB[22m
|
|
141
141
|
[34mℹ[39m [2mdist/[22m[32m[1mbilling/index.d.ts[22m[39m [2m 1.90 kB[22m [2m│ gzip: 0.42 kB[22m
|
|
142
142
|
[34mℹ[39m [2mdist/[22m[32m[1mproject/index.d.ts[22m[39m [2m 1.87 kB[22m [2m│ gzip: 0.40 kB[22m
|
|
143
|
-
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.entity.d.ts[22m[39m [2m 1.79 kB[22m [2m│ gzip: 0.
|
|
143
|
+
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.entity.d.ts[22m[39m [2m 1.79 kB[22m [2m│ gzip: 0.41 kB[22m
|
|
144
144
|
[34mℹ[39m [2mdist/[22m[32m[1msettings/settings.entity.d.ts[22m[39m [2m 1.71 kB[22m [2m│ gzip: 0.37 kB[22m
|
|
145
145
|
[34mℹ[39m [2mdist/[22m[32m[1mshared/mock-data.d.ts[22m[39m [2m 1.68 kB[22m [2m│ gzip: 0.50 kB[22m
|
|
146
146
|
[34mℹ[39m [2mdist/[22m[32m[1mui/index.d.ts[22m[39m [2m 1.25 kB[22m [2m│ gzip: 0.33 kB[22m
|
|
@@ -152,12 +152,12 @@ $ tsdown
|
|
|
152
152
|
[34mℹ[39m [2mdist/[22m[32m[1mpresentations/index.d.ts[22m[39m [2m 0.90 kB[22m [2m│ gzip: 0.28 kB[22m
|
|
153
153
|
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/index.d.ts[22m[39m [2m 0.89 kB[22m [2m│ gzip: 0.25 kB[22m
|
|
154
154
|
[34mℹ[39m [2mdist/[22m[32m[1mui/modals/CreateProjectModal.d.ts[22m[39m [2m 0.64 kB[22m [2m│ gzip: 0.35 kB[22m
|
|
155
|
+
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.enum.d.ts[22m[39m [2m 0.63 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
155
156
|
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.enum.d.ts[22m[39m [2m 0.63 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
156
|
-
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.enum.d.ts[22m[39m [2m 0.63 kB[22m [2m│ gzip: 0.29 kB[22m
|
|
157
157
|
[34mℹ[39m [2mdist/[22m[32m[1mtests/operations.test-spec.d.ts[22m[39m [2m 0.59 kB[22m [2m│ gzip: 0.23 kB[22m
|
|
158
158
|
[34mℹ[39m [2mdist/[22m[32m[1mdashboard/dashboard.presentation.d.ts[22m[39m [2m 0.54 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
159
159
|
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.presentation.d.ts[22m[39m [2m 0.54 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
160
|
-
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.presentation.d.ts[22m[39m [2m 0.53 kB[22m [2m│ gzip: 0.
|
|
160
|
+
[34mℹ[39m [2mdist/[22m[32m[1mbilling/billing.presentation.d.ts[22m[39m [2m 0.53 kB[22m [2m│ gzip: 0.23 kB[22m
|
|
161
161
|
[34mℹ[39m [2mdist/[22m[32m[1mui/overlays/demo-overlays.d.ts[22m[39m [2m 0.52 kB[22m [2m│ gzip: 0.27 kB[22m
|
|
162
162
|
[34mℹ[39m [2mdist/[22m[32m[1msaas-boilerplate.feature.d.ts[22m[39m [2m 0.45 kB[22m [2m│ gzip: 0.26 kB[22m
|
|
163
163
|
[34mℹ[39m [2mdist/[22m[32m[1mui/SaasProjectList.d.ts[22m[39m [2m 0.43 kB[22m [2m│ gzip: 0.25 kB[22m
|
|
@@ -186,4 +186,4 @@ src/ui/renderers/project-list.markdown.ts (10:7) [33m[UNRESOLVED_IMPORT] Warnin
|
|
|
186
186
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
187
187
|
[38;5;246m────╯[0m
|
|
188
188
|
|
|
189
|
-
[32m✔[39m Build complete in [
|
|
189
|
+
[32m✔[39m Build complete in [32m33645ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# @contractspec/example.saas-boilerplate
|
|
2
2
|
|
|
3
|
-
## 0.0.0-canary-
|
|
3
|
+
## 0.0.0-canary-20260119224109
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Updated dependencies [c560ee7]
|
|
8
8
|
- Updated dependencies [1536bf3]
|
|
9
|
-
- @contractspec/lib.design-system@0.0.0-canary-
|
|
10
|
-
- @contractspec/lib.contracts@0.0.0-canary-
|
|
11
|
-
- @contractspec/lib.example-shared-ui@0.0.0-canary-
|
|
12
|
-
- @contractspec/lib.identity-rbac@0.0.0-canary-
|
|
13
|
-
- @contractspec/lib.jobs@0.0.0-canary-
|
|
14
|
-
- @contractspec/module.audit-trail@0.0.0-canary-
|
|
15
|
-
- @contractspec/module.notifications@0.0.0-canary-
|
|
9
|
+
- @contractspec/lib.design-system@0.0.0-canary-20260119224109
|
|
10
|
+
- @contractspec/lib.contracts@0.0.0-canary-20260119224109
|
|
11
|
+
- @contractspec/lib.example-shared-ui@0.0.0-canary-20260119224109
|
|
12
|
+
- @contractspec/lib.identity-rbac@0.0.0-canary-20260119224109
|
|
13
|
+
- @contractspec/lib.jobs@0.0.0-canary-20260119224109
|
|
14
|
+
- @contractspec/module.audit-trail@0.0.0-canary-20260119224109
|
|
15
|
+
- @contractspec/module.notifications@0.0.0-canary-20260119224109
|
|
16
16
|
|
|
17
17
|
## 1.48.0
|
|
18
18
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts3 from "@contractspec/lib.contracts";
|
|
2
2
|
import * as _contractspec_lib_schema41 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/billing/billing.event.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Event: Feature usage has been recorded.
|
|
7
7
|
*/
|
|
8
|
-
declare const UsageRecordedEvent:
|
|
8
|
+
declare const UsageRecordedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema41.SchemaModel<{
|
|
9
9
|
organizationId: {
|
|
10
10
|
type: _contractspec_lib_schema41.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
@@ -30,7 +30,7 @@ declare const UsageRecordedEvent: _contractspec_lib_contracts1.EventSpec<_contra
|
|
|
30
30
|
/**
|
|
31
31
|
* Event: Usage limit has been reached for a feature.
|
|
32
32
|
*/
|
|
33
|
-
declare const UsageLimitReachedEvent:
|
|
33
|
+
declare const UsageLimitReachedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema41.SchemaModel<{
|
|
34
34
|
organizationId: {
|
|
35
35
|
type: _contractspec_lib_schema41.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
@@ -55,7 +55,7 @@ declare const UsageLimitReachedEvent: _contractspec_lib_contracts1.EventSpec<_co
|
|
|
55
55
|
/**
|
|
56
56
|
* Event: Subscription status has changed.
|
|
57
57
|
*/
|
|
58
|
-
declare const SubscriptionChangedEvent:
|
|
58
|
+
declare const SubscriptionChangedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema41.SchemaModel<{
|
|
59
59
|
organizationId: {
|
|
60
60
|
type: _contractspec_lib_schema41.FieldType<string, string>;
|
|
61
61
|
isOptional: false;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts6 from "@contractspec/lib.contracts";
|
|
2
2
|
import * as _contractspec_lib_schema60 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/billing/billing.operations.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Get subscription status.
|
|
7
7
|
*/
|
|
8
|
-
declare const GetSubscriptionContract:
|
|
8
|
+
declare const GetSubscriptionContract: _contractspec_lib_contracts6.OperationSpec<_contractspec_lib_schema60.AnySchemaModel, _contractspec_lib_schema60.SchemaModel<{
|
|
9
9
|
id: {
|
|
10
10
|
type: _contractspec_lib_schema60.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
@@ -46,7 +46,7 @@ declare const GetSubscriptionContract: _contractspec_lib_contracts4.OperationSpe
|
|
|
46
46
|
/**
|
|
47
47
|
* Record feature usage.
|
|
48
48
|
*/
|
|
49
|
-
declare const RecordUsageContract:
|
|
49
|
+
declare const RecordUsageContract: _contractspec_lib_contracts6.OperationSpec<_contractspec_lib_schema60.SchemaModel<{
|
|
50
50
|
feature: {
|
|
51
51
|
type: _contractspec_lib_schema60.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
@@ -102,7 +102,7 @@ declare const RecordUsageContract: _contractspec_lib_contracts4.OperationSpec<_c
|
|
|
102
102
|
/**
|
|
103
103
|
* Get usage summary.
|
|
104
104
|
*/
|
|
105
|
-
declare const GetUsageSummaryContract:
|
|
105
|
+
declare const GetUsageSummaryContract: _contractspec_lib_contracts6.OperationSpec<_contractspec_lib_schema60.SchemaModel<{
|
|
106
106
|
billingPeriod: {
|
|
107
107
|
type: _contractspec_lib_schema60.FieldType<string, string>;
|
|
108
108
|
isOptional: true;
|
|
@@ -142,7 +142,7 @@ declare const GetUsageSummaryContract: _contractspec_lib_contracts4.OperationSpe
|
|
|
142
142
|
/**
|
|
143
143
|
* Check feature access.
|
|
144
144
|
*/
|
|
145
|
-
declare const CheckFeatureAccessContract:
|
|
145
|
+
declare const CheckFeatureAccessContract: _contractspec_lib_contracts6.OperationSpec<_contractspec_lib_schema60.SchemaModel<{
|
|
146
146
|
feature: {
|
|
147
147
|
type: _contractspec_lib_schema60.FieldType<string, string>;
|
|
148
148
|
isOptional: false;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts10 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/billing/billing.presentation.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Presentation for subscription overview.
|
|
6
6
|
*/
|
|
7
|
-
declare const SubscriptionPresentation:
|
|
7
|
+
declare const SubscriptionPresentation: _contractspec_lib_contracts10.PresentationSpec;
|
|
8
8
|
/**
|
|
9
9
|
* Presentation for usage dashboard.
|
|
10
10
|
*/
|
|
11
|
-
declare const UsageDashboardPresentation:
|
|
11
|
+
declare const UsageDashboardPresentation: _contractspec_lib_contracts10.PresentationSpec;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { SubscriptionPresentation, UsageDashboardPresentation };
|
|
14
14
|
//# sourceMappingURL=billing.presentation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing.presentation.d.ts","names":[],"sources":["../../src/billing/billing.presentation.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,wBAuBX,EAAA,
|
|
1
|
+
{"version":3,"file":"billing.presentation.d.ts","names":[],"sources":["../../src/billing/billing.presentation.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,wBAuBX,EAAA,6BAAA,CAvBmC,gBAuBnC;AAKF;;;cAAa,4BAsBX,6BAAA,CAtBqC"}
|
|
@@ -1,168 +1,168 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema124 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/billing/billing.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Organization subscription details schema.
|
|
6
6
|
*/
|
|
7
|
-
declare const SubscriptionModel:
|
|
7
|
+
declare const SubscriptionModel: _contractspec_lib_schema124.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
organizationId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
planId: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
planName: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
status: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema124.EnumType<[string, string, string, string, string]>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
currentPeriodStart: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema124.FieldType<Date, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
currentPeriodEnd: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema124.FieldType<Date, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
trialEndsAt: {
|
|
37
|
-
type:
|
|
37
|
+
type: _contractspec_lib_schema124.FieldType<Date, string>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
};
|
|
40
40
|
cancelAtPeriodEnd: {
|
|
41
|
-
type:
|
|
41
|
+
type: _contractspec_lib_schema124.FieldType<boolean, boolean>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
}>;
|
|
45
45
|
/**
|
|
46
46
|
* Usage summary for a feature schema.
|
|
47
47
|
*/
|
|
48
|
-
declare const UsageSummaryModel:
|
|
48
|
+
declare const UsageSummaryModel: _contractspec_lib_schema124.SchemaModel<{
|
|
49
49
|
feature: {
|
|
50
|
-
type:
|
|
50
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
used: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema124.FieldType<number, number>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
limit: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema124.FieldType<number, number>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
unit: {
|
|
62
|
-
type:
|
|
62
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
63
63
|
isOptional: true;
|
|
64
64
|
};
|
|
65
65
|
percentage: {
|
|
66
|
-
type:
|
|
66
|
+
type: _contractspec_lib_schema124.FieldType<number, number>;
|
|
67
67
|
isOptional: true;
|
|
68
68
|
};
|
|
69
69
|
}>;
|
|
70
70
|
/**
|
|
71
71
|
* Input for recording feature usage.
|
|
72
72
|
*/
|
|
73
|
-
declare const RecordUsageInputModel:
|
|
73
|
+
declare const RecordUsageInputModel: _contractspec_lib_schema124.SchemaModel<{
|
|
74
74
|
feature: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
quantity: {
|
|
79
|
-
type:
|
|
79
|
+
type: _contractspec_lib_schema124.FieldType<number, number>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
sourceId: {
|
|
83
|
-
type:
|
|
83
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
84
84
|
isOptional: true;
|
|
85
85
|
};
|
|
86
86
|
sourceType: {
|
|
87
|
-
type:
|
|
87
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
88
88
|
isOptional: true;
|
|
89
89
|
};
|
|
90
90
|
metadata: {
|
|
91
|
-
type:
|
|
91
|
+
type: _contractspec_lib_schema124.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
92
92
|
isOptional: true;
|
|
93
93
|
};
|
|
94
94
|
}>;
|
|
95
95
|
/**
|
|
96
96
|
* Output for recording feature usage.
|
|
97
97
|
*/
|
|
98
|
-
declare const RecordUsageOutputModel:
|
|
98
|
+
declare const RecordUsageOutputModel: _contractspec_lib_schema124.SchemaModel<{
|
|
99
99
|
recorded: {
|
|
100
|
-
type:
|
|
100
|
+
type: _contractspec_lib_schema124.FieldType<boolean, boolean>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
currentUsage: {
|
|
104
|
-
type:
|
|
104
|
+
type: _contractspec_lib_schema124.FieldType<number, number>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
limit: {
|
|
108
|
-
type:
|
|
108
|
+
type: _contractspec_lib_schema124.FieldType<number, number>;
|
|
109
109
|
isOptional: true;
|
|
110
110
|
};
|
|
111
111
|
limitReached: {
|
|
112
|
-
type:
|
|
112
|
+
type: _contractspec_lib_schema124.FieldType<boolean, boolean>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
}>;
|
|
116
116
|
/**
|
|
117
117
|
* Payload for usage.recorded event.
|
|
118
118
|
*/
|
|
119
|
-
declare const UsageRecordedPayloadModel:
|
|
119
|
+
declare const UsageRecordedPayloadModel: _contractspec_lib_schema124.SchemaModel<{
|
|
120
120
|
feature: {
|
|
121
|
-
type:
|
|
121
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
quantity: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema124.FieldType<number, number>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
}>;
|
|
129
129
|
/**
|
|
130
130
|
* Input for getting usage summary.
|
|
131
131
|
*/
|
|
132
|
-
declare const GetUsageSummaryInputModel:
|
|
132
|
+
declare const GetUsageSummaryInputModel: _contractspec_lib_schema124.SchemaModel<{
|
|
133
133
|
billingPeriod: {
|
|
134
|
-
type:
|
|
134
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
135
135
|
isOptional: true;
|
|
136
136
|
};
|
|
137
137
|
}>;
|
|
138
138
|
/**
|
|
139
139
|
* Output for usage summary.
|
|
140
140
|
*/
|
|
141
|
-
declare const GetUsageSummaryOutputModel:
|
|
141
|
+
declare const GetUsageSummaryOutputModel: _contractspec_lib_schema124.SchemaModel<{
|
|
142
142
|
billingPeriod: {
|
|
143
|
-
type:
|
|
143
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
usage: {
|
|
147
|
-
type:
|
|
147
|
+
type: _contractspec_lib_schema124.SchemaModel<{
|
|
148
148
|
feature: {
|
|
149
|
-
type:
|
|
149
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
150
150
|
isOptional: false;
|
|
151
151
|
};
|
|
152
152
|
used: {
|
|
153
|
-
type:
|
|
153
|
+
type: _contractspec_lib_schema124.FieldType<number, number>;
|
|
154
154
|
isOptional: false;
|
|
155
155
|
};
|
|
156
156
|
limit: {
|
|
157
|
-
type:
|
|
157
|
+
type: _contractspec_lib_schema124.FieldType<number, number>;
|
|
158
158
|
isOptional: true;
|
|
159
159
|
};
|
|
160
160
|
unit: {
|
|
161
|
-
type:
|
|
161
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
162
162
|
isOptional: true;
|
|
163
163
|
};
|
|
164
164
|
percentage: {
|
|
165
|
-
type:
|
|
165
|
+
type: _contractspec_lib_schema124.FieldType<number, number>;
|
|
166
166
|
isOptional: true;
|
|
167
167
|
};
|
|
168
168
|
}>;
|
|
@@ -173,26 +173,26 @@ declare const GetUsageSummaryOutputModel: _contractspec_lib_schema126.SchemaMode
|
|
|
173
173
|
/**
|
|
174
174
|
* Input for checking feature access.
|
|
175
175
|
*/
|
|
176
|
-
declare const CheckFeatureAccessInputModel:
|
|
176
|
+
declare const CheckFeatureAccessInputModel: _contractspec_lib_schema124.SchemaModel<{
|
|
177
177
|
feature: {
|
|
178
|
-
type:
|
|
178
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
179
179
|
isOptional: false;
|
|
180
180
|
};
|
|
181
181
|
}>;
|
|
182
182
|
/**
|
|
183
183
|
* Output for feature access check.
|
|
184
184
|
*/
|
|
185
|
-
declare const CheckFeatureAccessOutputModel:
|
|
185
|
+
declare const CheckFeatureAccessOutputModel: _contractspec_lib_schema124.SchemaModel<{
|
|
186
186
|
hasAccess: {
|
|
187
|
-
type:
|
|
187
|
+
type: _contractspec_lib_schema124.FieldType<boolean, boolean>;
|
|
188
188
|
isOptional: false;
|
|
189
189
|
};
|
|
190
190
|
reason: {
|
|
191
|
-
type:
|
|
191
|
+
type: _contractspec_lib_schema124.EnumType<[string, string, string, string]>;
|
|
192
192
|
isOptional: true;
|
|
193
193
|
};
|
|
194
194
|
upgradeUrl: {
|
|
195
|
-
type:
|
|
195
|
+
type: _contractspec_lib_schema124.FieldType<string, string>;
|
|
196
196
|
isOptional: true;
|
|
197
197
|
};
|
|
198
198
|
}>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/dashboard/dashboard.presentation.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Main dashboard presentation for the SaaS application.
|
|
6
6
|
*/
|
|
7
|
-
declare const SaasDashboardPresentation:
|
|
7
|
+
declare const SaasDashboardPresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
8
8
|
/**
|
|
9
9
|
* Settings panel presentation.
|
|
10
10
|
*/
|
|
11
|
-
declare const SettingsPanelPresentation:
|
|
11
|
+
declare const SettingsPanelPresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { SaasDashboardPresentation, SettingsPanelPresentation };
|
|
14
14
|
//# sourceMappingURL=dashboard.presentation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.presentation.d.ts","names":[],"sources":["../../src/dashboard/dashboard.presentation.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,yBAuBX,EAAA,
|
|
1
|
+
{"version":3,"file":"dashboard.presentation.d.ts","names":[],"sources":["../../src/dashboard/dashboard.presentation.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,yBAuBX,EAAA,4BAAA,CAvBoC,gBAuBpC;AAKF;;;cAAa,2BAsBX,4BAAA,CAtBoC"}
|
package/dist/example.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts1 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/example.d.ts
|
|
4
|
-
declare const example:
|
|
4
|
+
declare const example: _contractspec_lib_contracts1.ExampleSpec;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { example as default };
|
|
7
7
|
//# sourceMappingURL=example.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema170 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/project/project.enum.d.ts
|
|
4
4
|
|
|
@@ -6,11 +6,11 @@ import * as _contractspec_lib_schema124 from "@contractspec/lib.schema";
|
|
|
6
6
|
* Project status enum for contract schemas.
|
|
7
7
|
* Note: Entity enum is defined separately in project.entity.ts
|
|
8
8
|
*/
|
|
9
|
-
declare const ProjectStatusSchemaEnum:
|
|
9
|
+
declare const ProjectStatusSchemaEnum: _contractspec_lib_schema170.EnumType<[string, string, string, string]>;
|
|
10
10
|
/**
|
|
11
11
|
* Project status filter enum (includes 'all' option).
|
|
12
12
|
*/
|
|
13
|
-
declare const ProjectStatusFilterEnum:
|
|
13
|
+
declare const ProjectStatusFilterEnum: _contractspec_lib_schema170.EnumType<[string, string, string, string]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { ProjectStatusFilterEnum, ProjectStatusSchemaEnum };
|
|
16
16
|
//# sourceMappingURL=project.enum.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts12 from "@contractspec/lib.contracts";
|
|
2
2
|
import * as _contractspec_lib_schema172 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/project/project.event.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Event: A new project has been created.
|
|
7
7
|
*/
|
|
8
|
-
declare const ProjectCreatedEvent:
|
|
8
|
+
declare const ProjectCreatedEvent: _contractspec_lib_contracts12.EventSpec<_contractspec_lib_schema172.SchemaModel<{
|
|
9
9
|
projectId: {
|
|
10
10
|
type: _contractspec_lib_schema172.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
@@ -30,7 +30,7 @@ declare const ProjectCreatedEvent: _contractspec_lib_contracts10.EventSpec<_cont
|
|
|
30
30
|
/**
|
|
31
31
|
* Event: A project has been updated.
|
|
32
32
|
*/
|
|
33
|
-
declare const ProjectUpdatedEvent:
|
|
33
|
+
declare const ProjectUpdatedEvent: _contractspec_lib_contracts12.EventSpec<_contractspec_lib_schema172.SchemaModel<{
|
|
34
34
|
projectId: {
|
|
35
35
|
type: _contractspec_lib_schema172.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
@@ -52,7 +52,7 @@ declare const ProjectUpdatedEvent: _contractspec_lib_contracts10.EventSpec<_cont
|
|
|
52
52
|
/**
|
|
53
53
|
* Event: A project has been deleted.
|
|
54
54
|
*/
|
|
55
|
-
declare const ProjectDeletedEvent:
|
|
55
|
+
declare const ProjectDeletedEvent: _contractspec_lib_contracts12.EventSpec<_contractspec_lib_schema172.SchemaModel<{
|
|
56
56
|
projectId: {
|
|
57
57
|
type: _contractspec_lib_schema172.FieldType<string, string>;
|
|
58
58
|
isOptional: false;
|
|
@@ -73,7 +73,7 @@ declare const ProjectDeletedEvent: _contractspec_lib_contracts10.EventSpec<_cont
|
|
|
73
73
|
/**
|
|
74
74
|
* Event: A project has been archived.
|
|
75
75
|
*/
|
|
76
|
-
declare const ProjectArchivedEvent:
|
|
76
|
+
declare const ProjectArchivedEvent: _contractspec_lib_contracts12.EventSpec<_contractspec_lib_schema172.SchemaModel<{
|
|
77
77
|
projectId: {
|
|
78
78
|
type: _contractspec_lib_schema172.FieldType<string, string>;
|
|
79
79
|
isOptional: false;
|