@contractspec/example.saas-boilerplate 1.48.0 → 1.49.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/.turbo/turbo-build$colon$bundle.log +8 -8
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +33 -0
- package/dist/billing/billing.schema.d.ts +47 -47
- package/dist/dashboard/dashboard.presentation.d.ts +3 -3
- package/dist/project/project.entity.d.ts +24 -24
- package/dist/project/project.operations.d.ts +6 -6
- package/dist/project/project.presentation.d.ts +3 -3
- package/dist/tests/operations.test-spec.d.ts +5 -5
- package/package.json +12 -12
- 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/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/seeders/index.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/
|
|
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/seeders/index.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/modals/CreateProjectModal.tsx, src/ui/modals/ProjectActionsModal.tsx, src/ui/modals/index.ts, src/ui/overlays/demo-overlays.ts, src/ui/overlays/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
|
|
@@ -139,7 +139,7 @@ $ tsdown
|
|
|
139
139
|
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.handler.d.ts[22m[39m [2m 1.93 kB[22m [2m│ gzip: 0.53 kB[22m
|
|
140
140
|
[34mℹ[39m [2mdist/[22m[32m[1mbilling/index.d.ts[22m[39m [2m 1.90 kB[22m [2m│ gzip: 0.42 kB[22m
|
|
141
141
|
[34mℹ[39m [2mdist/[22m[32m[1mproject/index.d.ts[22m[39m [2m 1.87 kB[22m [2m│ gzip: 0.40 kB[22m
|
|
142
|
-
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.entity.d.ts[22m[39m [2m 1.79 kB[22m [2m│ gzip: 0.
|
|
142
|
+
[34mℹ[39m [2mdist/[22m[32m[1mproject/project.entity.d.ts[22m[39m [2m 1.79 kB[22m [2m│ gzip: 0.41 kB[22m
|
|
143
143
|
[34mℹ[39m [2mdist/[22m[32m[1msettings/settings.entity.d.ts[22m[39m [2m 1.71 kB[22m [2m│ gzip: 0.37 kB[22m
|
|
144
144
|
[34mℹ[39m [2mdist/[22m[32m[1mshared/mock-data.d.ts[22m[39m [2m 1.68 kB[22m [2m│ gzip: 0.50 kB[22m
|
|
145
145
|
[34mℹ[39m [2mdist/[22m[32m[1mui/index.d.ts[22m[39m [2m 1.25 kB[22m [2m│ gzip: 0.33 kB[22m
|
|
@@ -170,19 +170,19 @@ $ tsdown
|
|
|
170
170
|
[34mℹ[39m [2mdist/[22m[32m[1mui/SaasDashboard.d.ts[22m[39m [2m 0.24 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
171
171
|
[34mℹ[39m [2mdist/[22m[32m[1msettings/index.d.ts[22m[39m [2m 0.19 kB[22m [2m│ gzip: 0.11 kB[22m
|
|
172
172
|
[34mℹ[39m [2mdist/[22m[32m[1mui/modals/index.d.ts[22m[39m [2m 0.18 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
173
|
-
[34mℹ[39m [2mdist/[22m[32m[1mdashboard/index.d.ts[22m[39m [2m 0.16 kB[22m [2m│ gzip: 0.10 kB[22m
|
|
174
|
-
[34mℹ[39m [2mdist/[22m[32m[1mui/overlays/index.d.ts[22m[39m [2m 0.15 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
175
|
-
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
176
|
-
[34mℹ[39m [2mdist/[22m[32m[1mdocs/saas-boilerplate.docblock.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
177
|
-
[34mℹ[39m 168 files, total: 388.44 kB
|
|
178
173
|
src/ui/renderers/project-list.markdown.ts (10:7) [33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve '@contractspec/example.saas-boilerplate/handlers' in src/ui/renderers/project-list.markdown.ts
|
|
179
174
|
[38;5;246mâ•[0m[38;5;246m─[0m[38;5;246m[[0m src/ui/renderers/project-list.markdown.ts:10:8 [38;5;246m][0m
|
|
180
175
|
[38;5;246m│[0m
|
|
176
|
+
[34mℹ[39m [2mdist/[22m[32m[1mdashboard/index.d.ts[22m[39m [2m 0.16 kB[22m [2m│ gzip: 0.10 kB[22m
|
|
177
|
+
[34mℹ[39m [2mdist/[22m[32m[1mui/overlays/index.d.ts[22m[39m [2m 0.15 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
181
178
|
[38;5;246m10 │[0m [38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m'@contractspec/example.saas-boilerplate/handlers'[38;5;249m;[0m
|
|
182
179
|
[38;5;240m │[0m ────────────────────────┬────────────────────────
|
|
180
|
+
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
183
181
|
[38;5;240m │[0m ╰────────────────────────── Module not found, treating it as an external dependency
|
|
182
|
+
[34mℹ[39m [2mdist/[22m[32m[1mdocs/saas-boilerplate.docblock.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
184
183
|
[38;5;240m │[0m
|
|
184
|
+
[34mℹ[39m 168 files, total: 388.44 kB
|
|
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 [32m36203ms[39m
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -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 [32m27167ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# @contractspec/example.saas-boilerplate
|
|
2
2
|
|
|
3
|
+
## 1.49.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- cafd041: fix: impact report comments within github action
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [cafd041]
|
|
12
|
+
- @contractspec/lib.example-shared-ui@1.3.0
|
|
13
|
+
- @contractspec/module.notifications@1.49.0
|
|
14
|
+
- @contractspec/lib.runtime-sandbox@0.4.0
|
|
15
|
+
- @contractspec/module.audit-trail@1.49.0
|
|
16
|
+
- @contractspec/lib.design-system@1.49.0
|
|
17
|
+
- @contractspec/lib.identity-rbac@1.49.0
|
|
18
|
+
- @contractspec/lib.contracts@1.49.0
|
|
19
|
+
- @contractspec/lib.schema@1.49.0
|
|
20
|
+
- @contractspec/lib.jobs@1.49.0
|
|
21
|
+
|
|
22
|
+
## 1.48.1
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies [c560ee7]
|
|
27
|
+
- Updated dependencies [1536bf3]
|
|
28
|
+
- @contractspec/lib.design-system@1.48.1
|
|
29
|
+
- @contractspec/lib.contracts@1.48.1
|
|
30
|
+
- @contractspec/lib.example-shared-ui@1.2.1
|
|
31
|
+
- @contractspec/lib.identity-rbac@1.48.1
|
|
32
|
+
- @contractspec/lib.jobs@1.48.1
|
|
33
|
+
- @contractspec/module.audit-trail@1.48.1
|
|
34
|
+
- @contractspec/module.notifications@1.48.1
|
|
35
|
+
|
|
3
36
|
## 1.48.0
|
|
4
37
|
|
|
5
38
|
### Minor Changes
|
|
@@ -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_schema101.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_contracts14 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_contracts14.PresentationSpec;
|
|
8
8
|
/**
|
|
9
9
|
* Settings panel presentation.
|
|
10
10
|
*/
|
|
11
|
-
declare const SettingsPanelPresentation:
|
|
11
|
+
declare const SettingsPanelPresentation: _contractspec_lib_contracts14.PresentationSpec;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { SaasDashboardPresentation, SettingsPanelPresentation };
|
|
14
14
|
//# sourceMappingURL=dashboard.presentation.d.ts.map
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema101 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/project/project.entity.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Project status enum for entities.
|
|
6
6
|
*/
|
|
7
|
-
declare const ProjectStatusEnum:
|
|
7
|
+
declare const ProjectStatusEnum: _contractspec_lib_schema101.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Project entity - team-scoped work container.
|
|
10
10
|
*/
|
|
11
|
-
declare const ProjectEntity:
|
|
12
|
-
id:
|
|
13
|
-
name:
|
|
14
|
-
description:
|
|
15
|
-
slug:
|
|
16
|
-
organizationId:
|
|
17
|
-
createdBy:
|
|
18
|
-
status:
|
|
19
|
-
isPublic:
|
|
20
|
-
settings:
|
|
21
|
-
tags:
|
|
22
|
-
metadata:
|
|
23
|
-
createdAt:
|
|
24
|
-
updatedAt:
|
|
25
|
-
archivedAt:
|
|
11
|
+
declare const ProjectEntity: _contractspec_lib_schema101.EntitySpec<{
|
|
12
|
+
id: _contractspec_lib_schema101.EntityScalarField;
|
|
13
|
+
name: _contractspec_lib_schema101.EntityScalarField;
|
|
14
|
+
description: _contractspec_lib_schema101.EntityScalarField;
|
|
15
|
+
slug: _contractspec_lib_schema101.EntityScalarField;
|
|
16
|
+
organizationId: _contractspec_lib_schema101.EntityScalarField;
|
|
17
|
+
createdBy: _contractspec_lib_schema101.EntityScalarField;
|
|
18
|
+
status: _contractspec_lib_schema101.EntityEnumField;
|
|
19
|
+
isPublic: _contractspec_lib_schema101.EntityScalarField;
|
|
20
|
+
settings: _contractspec_lib_schema101.EntityScalarField;
|
|
21
|
+
tags: _contractspec_lib_schema101.EntityScalarField;
|
|
22
|
+
metadata: _contractspec_lib_schema101.EntityScalarField;
|
|
23
|
+
createdAt: _contractspec_lib_schema101.EntityScalarField;
|
|
24
|
+
updatedAt: _contractspec_lib_schema101.EntityScalarField;
|
|
25
|
+
archivedAt: _contractspec_lib_schema101.EntityScalarField;
|
|
26
26
|
}>;
|
|
27
27
|
/**
|
|
28
28
|
* ProjectMember entity - project-level access.
|
|
29
29
|
*/
|
|
30
|
-
declare const ProjectMemberEntity:
|
|
31
|
-
id:
|
|
32
|
-
projectId:
|
|
33
|
-
userId:
|
|
34
|
-
role:
|
|
35
|
-
addedBy:
|
|
36
|
-
createdAt:
|
|
30
|
+
declare const ProjectMemberEntity: _contractspec_lib_schema101.EntitySpec<{
|
|
31
|
+
id: _contractspec_lib_schema101.EntityScalarField;
|
|
32
|
+
projectId: _contractspec_lib_schema101.EntityScalarField;
|
|
33
|
+
userId: _contractspec_lib_schema101.EntityScalarField;
|
|
34
|
+
role: _contractspec_lib_schema101.EntityScalarField;
|
|
35
|
+
addedBy: _contractspec_lib_schema101.EntityScalarField;
|
|
36
|
+
createdAt: _contractspec_lib_schema101.EntityScalarField;
|
|
37
37
|
}>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { ProjectEntity, ProjectMemberEntity, ProjectStatusEnum };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts16 from "@contractspec/lib.contracts";
|
|
2
2
|
import * as _contractspec_lib_schema192 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/project/project.operations.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new project.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateProjectContract:
|
|
8
|
+
declare const CreateProjectContract: _contractspec_lib_contracts16.OperationSpec<_contractspec_lib_schema192.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
10
|
type: _contractspec_lib_schema192.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
@@ -128,7 +128,7 @@ declare const CreateProjectContract: _contractspec_lib_contracts14.OperationSpec
|
|
|
128
128
|
/**
|
|
129
129
|
* Get project by ID.
|
|
130
130
|
*/
|
|
131
|
-
declare const GetProjectContract:
|
|
131
|
+
declare const GetProjectContract: _contractspec_lib_contracts16.OperationSpec<_contractspec_lib_schema192.SchemaModel<{
|
|
132
132
|
projectId: {
|
|
133
133
|
type: _contractspec_lib_schema192.FieldType<string, string>;
|
|
134
134
|
isOptional: false;
|
|
@@ -183,7 +183,7 @@ declare const GetProjectContract: _contractspec_lib_contracts14.OperationSpec<_c
|
|
|
183
183
|
/**
|
|
184
184
|
* Update a project.
|
|
185
185
|
*/
|
|
186
|
-
declare const UpdateProjectContract:
|
|
186
|
+
declare const UpdateProjectContract: _contractspec_lib_contracts16.OperationSpec<_contractspec_lib_schema192.SchemaModel<{
|
|
187
187
|
projectId: {
|
|
188
188
|
type: _contractspec_lib_schema192.FieldType<string, string>;
|
|
189
189
|
isOptional: false;
|
|
@@ -314,7 +314,7 @@ declare const UpdateProjectContract: _contractspec_lib_contracts14.OperationSpec
|
|
|
314
314
|
/**
|
|
315
315
|
* Delete a project.
|
|
316
316
|
*/
|
|
317
|
-
declare const DeleteProjectContract:
|
|
317
|
+
declare const DeleteProjectContract: _contractspec_lib_contracts16.OperationSpec<_contractspec_lib_schema192.SchemaModel<{
|
|
318
318
|
projectId: {
|
|
319
319
|
type: _contractspec_lib_schema192.FieldType<string, string>;
|
|
320
320
|
isOptional: false;
|
|
@@ -338,7 +338,7 @@ declare const DeleteProjectContract: _contractspec_lib_contracts14.OperationSpec
|
|
|
338
338
|
/**
|
|
339
339
|
* List organization projects.
|
|
340
340
|
*/
|
|
341
|
-
declare const ListProjectsContract:
|
|
341
|
+
declare const ListProjectsContract: _contractspec_lib_contracts16.OperationSpec<_contractspec_lib_schema192.SchemaModel<{
|
|
342
342
|
status: {
|
|
343
343
|
type: _contractspec_lib_schema192.EnumType<[string, string, string, string]>;
|
|
344
344
|
isOptional: true;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts21 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/project/project.presentation.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Presentation for displaying a list of projects.
|
|
6
6
|
*/
|
|
7
|
-
declare const ProjectListPresentation:
|
|
7
|
+
declare const ProjectListPresentation: _contractspec_lib_contracts21.PresentationSpec;
|
|
8
8
|
/**
|
|
9
9
|
* Presentation for project detail view.
|
|
10
10
|
*/
|
|
11
|
-
declare const ProjectDetailPresentation:
|
|
11
|
+
declare const ProjectDetailPresentation: _contractspec_lib_contracts21.PresentationSpec;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ProjectDetailPresentation, ProjectListPresentation };
|
|
14
14
|
//# sourceMappingURL=project.presentation.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts23 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/tests/operations.test-spec.d.ts
|
|
4
|
-
declare const ProjectListTest:
|
|
5
|
-
declare const ProjectGetTest:
|
|
6
|
-
declare const BillingSubscriptionGetTest:
|
|
7
|
-
declare const BillingUsageSummaryTest:
|
|
4
|
+
declare const ProjectListTest: _contractspec_lib_contracts23.TestSpec;
|
|
5
|
+
declare const ProjectGetTest: _contractspec_lib_contracts23.TestSpec;
|
|
6
|
+
declare const BillingSubscriptionGetTest: _contractspec_lib_contracts23.TestSpec;
|
|
7
|
+
declare const BillingUsageSummaryTest: _contractspec_lib_contracts23.TestSpec;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { BillingSubscriptionGetTest, BillingUsageSummaryTest, ProjectGetTest, ProjectListTest };
|
|
10
10
|
//# sourceMappingURL=operations.test-spec.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.saas-boilerplate",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.49.0",
|
|
4
4
|
"description": "SaaS Boilerplate - Users, Orgs, Projects, Billing, Settings",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -69,21 +69,21 @@
|
|
|
69
69
|
"test": "bun test"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@contractspec/lib.identity-rbac": "1.
|
|
73
|
-
"@contractspec/lib.jobs": "1.
|
|
74
|
-
"@contractspec/module.audit-trail": "1.
|
|
75
|
-
"@contractspec/module.notifications": "1.
|
|
76
|
-
"@contractspec/lib.contracts": "1.
|
|
77
|
-
"@contractspec/lib.schema": "1.
|
|
78
|
-
"@contractspec/lib.example-shared-ui": "1.
|
|
79
|
-
"@contractspec/lib.design-system": "1.
|
|
80
|
-
"@contractspec/lib.runtime-sandbox": "0.
|
|
72
|
+
"@contractspec/lib.identity-rbac": "1.49.0",
|
|
73
|
+
"@contractspec/lib.jobs": "1.49.0",
|
|
74
|
+
"@contractspec/module.audit-trail": "1.49.0",
|
|
75
|
+
"@contractspec/module.notifications": "1.49.0",
|
|
76
|
+
"@contractspec/lib.contracts": "1.49.0",
|
|
77
|
+
"@contractspec/lib.schema": "1.49.0",
|
|
78
|
+
"@contractspec/lib.example-shared-ui": "1.3.0",
|
|
79
|
+
"@contractspec/lib.design-system": "1.49.0",
|
|
80
|
+
"@contractspec/lib.runtime-sandbox": "0.4.0",
|
|
81
81
|
"react": "19.2.3",
|
|
82
82
|
"react-dom": "19.2.3"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@contractspec/tool.tsdown": "1.
|
|
86
|
-
"@contractspec/tool.typescript": "1.
|
|
85
|
+
"@contractspec/tool.tsdown": "1.49.0",
|
|
86
|
+
"@contractspec/tool.typescript": "1.49.0",
|
|
87
87
|
"tsdown": "^0.19.0",
|
|
88
88
|
"typescript": "^5.9.3",
|
|
89
89
|
"@types/react": "^19.2.8",
|