@contractspec/example.saas-boilerplate 1.47.0 → 1.48.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.
@@ -1,7 +1,7 @@
1
1
  $ tsdown
2
2
  ℹ tsdown v0.19.0 powered by rolldown v1.0.0-beta.59
3
3
  ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/saas-boilerplate/tsdown.config.js
4
- ℹ entry: src/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
4
+ ℹ entry: src/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/dashboard/dashboard.presentation.ts, src/dashboard/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
5
5
  ℹ target: esnext
6
6
  ℹ tsconfig: tsconfig.json
7
7
  ℹ Build start
@@ -185,4 +185,4 @@ src/ui/renderers/project-list.markdown.ts (10:7) [UNRESOLVED_IMPORT] Warnin
185
185
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
186
186
  ────╯
187
187
 
188
- ✔ Build complete in 34112ms
188
+ ✔ Build complete in 31470ms
@@ -104,7 +104,7 @@ $ tsdown
104
104
  ℹ dist/settings/settings.enum.js.map  0.54 kB │ gzip: 0.35 kB
105
105
  ℹ dist/ui/modals/CreateProjectModal.d.ts.map  0.51 kB │ gzip: 0.28 kB
106
106
  ℹ dist/shared/overlay-types.d.ts.map  0.48 kB │ gzip: 0.27 kB
107
- ℹ dist/billing/billing.entity.d.ts.map  0.44 kB │ gzip: 0.26 kB
107
+ ℹ dist/billing/billing.entity.d.ts.map  0.44 kB │ gzip: 0.25 kB
108
108
  ℹ dist/ui/hooks/useProjectList.d.ts.map  0.34 kB │ gzip: 0.24 kB
109
109
  ℹ dist/project/project.entity.d.ts.map  0.34 kB │ gzip: 0.23 kB
110
110
  ℹ dist/settings/settings.entity.d.ts.map  0.29 kB │ gzip: 0.20 kB
@@ -132,22 +132,15 @@ $ tsdown
132
132
  ℹ dist/index.d.ts  6.36 kB │ gzip: 1.30 kB
133
133
  ℹ dist/billing/billing.schema.d.ts  5.72 kB │ gzip: 0.79 kB
134
134
  ℹ dist/billing/billing.operations.d.ts  4.93 kB │ gzip: 0.77 kB
135
- ℹ dist/billing/billing.entity.d.ts  2.95 kB │ gzip: 0.52 kB
135
+ ℹ dist/billing/billing.entity.d.ts  2.91 kB │ gzip: 0.52 kB
136
136
  ℹ dist/project/project.event.d.ts  2.77 kB │ gzip: 0.43 kB
137
- ℹ dist/billing/billing.event.d.ts  2.56 kB │ gzip: 0.48 kB
138
- src/ui/renderers/project-list.markdown.ts (10:7) [UNRESOLVED_IMPORT] Warning: Could not resolve '@contractspec/example.saas-boilerplate/handlers' in src/ui/renderers/project-list.markdown.ts
137
+ ℹ dist/billing/billing.event.d.ts  2.58 kB │ gzip: 0.48 kB
139
138
  ℹ dist/billing/billing.handler.d.ts  2.12 kB │ gzip: 0.71 kB
140
- ╭─[ src/ui/renderers/project-list.markdown.ts:10:8 ]
141
139
  ℹ dist/handlers/saas.handlers.d.ts  1.95 kB │ gzip: 0.68 kB
142
140
  ℹ dist/project/project.handler.d.ts  1.93 kB │ gzip: 0.53 kB
143
- │
144
- 10 │ } from '@contractspec/example.saas-boilerplate/handlers';
145
-  │ ────────────────────────┬────────────────────────
146
141
  ℹ dist/billing/index.d.ts  1.90 kB │ gzip: 0.42 kB
147
-  │ ╰────────────────────────── Module not found, treating it as an external dependency
148
142
  ℹ dist/project/index.d.ts  1.87 kB │ gzip: 0.40 kB
149
- ℹ dist/project/project.entity.d.ts  1.79 kB │ gzip: 0.42 kB
150
-  │
143
+ ℹ dist/project/project.entity.d.ts  1.79 kB │ gzip: 0.41 kB
151
144
  ℹ dist/settings/settings.entity.d.ts  1.71 kB │ gzip: 0.37 kB
152
145
  ℹ dist/shared/mock-data.d.ts  1.68 kB │ gzip: 0.50 kB
153
146
  ℹ dist/ui/index.d.ts  1.25 kB │ gzip: 0.33 kB
@@ -155,19 +148,16 @@ src/ui/renderers/project-list.markdown.ts (10:7) [UNRESOLVED_IMPORT] Warnin
155
148
  ℹ dist/ui/modals/ProjectActionsModal.d.ts  1.02 kB │ gzip: 0.45 kB
156
149
  ℹ dist/shared/overlay-types.d.ts  1.00 kB │ gzip: 0.40 kB
157
150
  ℹ dist/ui/hooks/useProjectList.d.ts  0.99 kB │ gzip: 0.47 kB
158
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
159
- ────╯
160
151
  ℹ dist/ui/renderers/project-list.markdown.d.ts  0.96 kB │ gzip: 0.33 kB
161
152
  ℹ dist/presentations/index.d.ts  0.90 kB │ gzip: 0.28 kB
162
153
  ℹ dist/handlers/index.d.ts  0.89 kB │ gzip: 0.25 kB
163
-
164
154
  ℹ dist/ui/modals/CreateProjectModal.d.ts  0.64 kB │ gzip: 0.35 kB
165
155
  ℹ dist/project/project.enum.d.ts  0.63 kB │ gzip: 0.30 kB
166
- ℹ dist/billing/billing.enum.d.ts  0.63 kB │ gzip: 0.29 kB
156
+ ℹ dist/billing/billing.enum.d.ts  0.63 kB │ gzip: 0.30 kB
167
157
  ℹ dist/tests/operations.test-spec.d.ts  0.59 kB │ gzip: 0.23 kB
168
158
  ℹ dist/dashboard/dashboard.presentation.d.ts  0.54 kB │ gzip: 0.24 kB
169
159
  ℹ dist/project/project.presentation.d.ts  0.54 kB │ gzip: 0.24 kB
170
- ℹ dist/billing/billing.presentation.d.ts  0.53 kB │ gzip: 0.23 kB
160
+ ℹ dist/billing/billing.presentation.d.ts  0.53 kB │ gzip: 0.24 kB
171
161
  ℹ dist/ui/overlays/demo-overlays.d.ts  0.52 kB │ gzip: 0.27 kB
172
162
  ℹ dist/saas-boilerplate.feature.d.ts  0.45 kB │ gzip: 0.26 kB
173
163
  ℹ dist/ui/SaasProjectList.d.ts  0.43 kB │ gzip: 0.25 kB
@@ -185,5 +175,15 @@ src/ui/renderers/project-list.markdown.ts (10:7) [UNRESOLVED_IMPORT] Warnin
185
175
  ℹ dist/ui/overlays/index.d.ts  0.15 kB │ gzip: 0.09 kB
186
176
  ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
187
177
  ℹ dist/docs/saas-boilerplate.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
188
- ℹ 168 files, total: 388.46 kB
189
- ✔ Build complete in 37364ms
178
+ ℹ 168 files, total: 388.44 kB
179
+ src/ui/renderers/project-list.markdown.ts (10:7) [UNRESOLVED_IMPORT] Warning: Could not resolve '@contractspec/example.saas-boilerplate/handlers' in src/ui/renderers/project-list.markdown.ts
180
+ ╭─[ src/ui/renderers/project-list.markdown.ts:10:8 ]
181
+ │
182
+ 10 │ } from '@contractspec/example.saas-boilerplate/handlers';
183
+  │ ────────────────────────┬────────────────────────
184
+  │ ╰────────────────────────── Module not found, treating it as an external dependency
185
+  │
186
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
187
+ ────╯
188
+
189
+ ✔ Build complete in 34683ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @contractspec/example.saas-boilerplate
2
2
 
3
+ ## 1.48.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b0444a4: feat: reduce adoption's friction by allowing generation of contracts from an analyse of the codebase
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [b0444a4]
12
+ - @contractspec/lib.example-shared-ui@1.2.0
13
+ - @contractspec/module.notifications@1.48.0
14
+ - @contractspec/lib.runtime-sandbox@0.3.0
15
+ - @contractspec/module.audit-trail@1.48.0
16
+ - @contractspec/lib.design-system@1.48.0
17
+ - @contractspec/lib.identity-rbac@1.48.0
18
+ - @contractspec/lib.contracts@1.48.0
19
+ - @contractspec/lib.schema@1.48.0
20
+ - @contractspec/lib.jobs@1.48.0
21
+
3
22
  ## 1.47.0
4
23
 
5
24
  ### Minor Changes
@@ -1,14 +1,14 @@
1
- import * as _contractspec_lib_contracts10 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts25 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: _contractspec_lib_contracts10.PresentationSpec;
7
+ declare const SaasDashboardPresentation: _contractspec_lib_contracts25.PresentationSpec;
8
8
  /**
9
9
  * Settings panel presentation.
10
10
  */
11
- declare const SettingsPanelPresentation: _contractspec_lib_contracts10.PresentationSpec;
11
+ declare const SettingsPanelPresentation: _contractspec_lib_contracts25.PresentationSpec;
12
12
  //#endregion
13
13
  export { SaasDashboardPresentation, SettingsPanelPresentation };
14
14
  //# sourceMappingURL=dashboard.presentation.d.ts.map
@@ -1,11 +1,11 @@
1
- import * as _contractspec_lib_contracts12 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts10 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: _contractspec_lib_contracts12.EventSpec<_contractspec_lib_schema172.SchemaModel<{
8
+ declare const ProjectCreatedEvent: _contractspec_lib_contracts10.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_contracts12.EventSpec<_cont
30
30
  /**
31
31
  * Event: A project has been updated.
32
32
  */
33
- declare const ProjectUpdatedEvent: _contractspec_lib_contracts12.EventSpec<_contractspec_lib_schema172.SchemaModel<{
33
+ declare const ProjectUpdatedEvent: _contractspec_lib_contracts10.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_contracts12.EventSpec<_cont
52
52
  /**
53
53
  * Event: A project has been deleted.
54
54
  */
55
- declare const ProjectDeletedEvent: _contractspec_lib_contracts12.EventSpec<_contractspec_lib_schema172.SchemaModel<{
55
+ declare const ProjectDeletedEvent: _contractspec_lib_contracts10.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_contracts12.EventSpec<_cont
73
73
  /**
74
74
  * Event: A project has been archived.
75
75
  */
76
- declare const ProjectArchivedEvent: _contractspec_lib_contracts12.EventSpec<_contractspec_lib_schema172.SchemaModel<{
76
+ declare const ProjectArchivedEvent: _contractspec_lib_contracts10.EventSpec<_contractspec_lib_schema172.SchemaModel<{
77
77
  projectId: {
78
78
  type: _contractspec_lib_schema172.FieldType<string, string>;
79
79
  isOptional: false;
@@ -1,11 +1,11 @@
1
- import * as _contractspec_lib_contracts16 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts14 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: _contractspec_lib_contracts16.OperationSpec<_contractspec_lib_schema192.SchemaModel<{
8
+ declare const CreateProjectContract: _contractspec_lib_contracts14.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_contracts16.OperationSpec
128
128
  /**
129
129
  * Get project by ID.
130
130
  */
131
- declare const GetProjectContract: _contractspec_lib_contracts16.OperationSpec<_contractspec_lib_schema192.SchemaModel<{
131
+ declare const GetProjectContract: _contractspec_lib_contracts14.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_contracts16.OperationSpec<_c
183
183
  /**
184
184
  * Update a project.
185
185
  */
186
- declare const UpdateProjectContract: _contractspec_lib_contracts16.OperationSpec<_contractspec_lib_schema192.SchemaModel<{
186
+ declare const UpdateProjectContract: _contractspec_lib_contracts14.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_contracts16.OperationSpec
314
314
  /**
315
315
  * Delete a project.
316
316
  */
317
- declare const DeleteProjectContract: _contractspec_lib_contracts16.OperationSpec<_contractspec_lib_schema192.SchemaModel<{
317
+ declare const DeleteProjectContract: _contractspec_lib_contracts14.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_contracts16.OperationSpec
338
338
  /**
339
339
  * List organization projects.
340
340
  */
341
- declare const ListProjectsContract: _contractspec_lib_contracts16.OperationSpec<_contractspec_lib_schema192.SchemaModel<{
341
+ declare const ListProjectsContract: _contractspec_lib_contracts14.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 _contractspec_lib_contracts21 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts19 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: _contractspec_lib_contracts21.PresentationSpec;
7
+ declare const ProjectListPresentation: _contractspec_lib_contracts19.PresentationSpec;
8
8
  /**
9
9
  * Presentation for project detail view.
10
10
  */
11
- declare const ProjectDetailPresentation: _contractspec_lib_contracts21.PresentationSpec;
11
+ declare const ProjectDetailPresentation: _contractspec_lib_contracts19.PresentationSpec;
12
12
  //#endregion
13
13
  export { ProjectDetailPresentation, ProjectListPresentation };
14
14
  //# sourceMappingURL=project.presentation.d.ts.map
@@ -1,10 +1,10 @@
1
- import * as _contractspec_lib_contracts23 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts21 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/tests/operations.test-spec.d.ts
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;
4
+ declare const ProjectListTest: _contractspec_lib_contracts21.TestSpec;
5
+ declare const ProjectGetTest: _contractspec_lib_contracts21.TestSpec;
6
+ declare const BillingSubscriptionGetTest: _contractspec_lib_contracts21.TestSpec;
7
+ declare const BillingUsageSummaryTest: _contractspec_lib_contracts21.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.47.0",
3
+ "version": "1.48.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.47.0",
73
- "@contractspec/lib.jobs": "1.47.0",
74
- "@contractspec/module.audit-trail": "1.47.0",
75
- "@contractspec/module.notifications": "1.47.0",
76
- "@contractspec/lib.contracts": "1.47.0",
77
- "@contractspec/lib.schema": "1.47.0",
78
- "@contractspec/lib.example-shared-ui": "1.1.0",
79
- "@contractspec/lib.design-system": "1.47.0",
80
- "@contractspec/lib.runtime-sandbox": "0.2.0",
72
+ "@contractspec/lib.identity-rbac": "1.48.0",
73
+ "@contractspec/lib.jobs": "1.48.0",
74
+ "@contractspec/module.audit-trail": "1.48.0",
75
+ "@contractspec/module.notifications": "1.48.0",
76
+ "@contractspec/lib.contracts": "1.48.0",
77
+ "@contractspec/lib.schema": "1.48.0",
78
+ "@contractspec/lib.example-shared-ui": "1.2.0",
79
+ "@contractspec/lib.design-system": "1.48.0",
80
+ "@contractspec/lib.runtime-sandbox": "0.3.0",
81
81
  "react": "19.2.3",
82
82
  "react-dom": "19.2.3"
83
83
  },
84
84
  "devDependencies": {
85
- "@contractspec/tool.tsdown": "1.47.0",
86
- "@contractspec/tool.typescript": "1.47.0",
85
+ "@contractspec/tool.tsdown": "1.48.0",
86
+ "@contractspec/tool.typescript": "1.48.0",
87
87
  "tsdown": "^0.19.0",
88
88
  "typescript": "^5.9.3",
89
89
  "@types/react": "^19.2.8",