@lssm/example.saas-boilerplate 0.0.0-canary-20251206160926 → 0.0.0-canary-20251207012602

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/events.d.ts CHANGED
@@ -1,291 +1,291 @@
1
- import * as _lssm_lib_schema0 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema47 from "@lssm/lib.schema";
2
2
  import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
3
3
 
4
4
  //#region src/events.d.ts
5
- declare const ProjectCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
5
+ declare const ProjectCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema47.SchemaModel<{
6
6
  projectId: {
7
- type: _lssm_lib_schema0.FieldType<string, string>;
7
+ type: _lssm_lib_schema47.FieldType<string, string>;
8
8
  isOptional: false;
9
9
  };
10
10
  name: {
11
- type: _lssm_lib_schema0.FieldType<string, string>;
11
+ type: _lssm_lib_schema47.FieldType<string, string>;
12
12
  isOptional: false;
13
13
  };
14
14
  organizationId: {
15
- type: _lssm_lib_schema0.FieldType<string, string>;
15
+ type: _lssm_lib_schema47.FieldType<string, string>;
16
16
  isOptional: false;
17
17
  };
18
18
  createdBy: {
19
- type: _lssm_lib_schema0.FieldType<string, string>;
19
+ type: _lssm_lib_schema47.FieldType<string, string>;
20
20
  isOptional: false;
21
21
  };
22
22
  createdAt: {
23
- type: _lssm_lib_schema0.FieldType<Date, string>;
23
+ type: _lssm_lib_schema47.FieldType<Date, string>;
24
24
  isOptional: false;
25
25
  };
26
26
  }>>;
27
- declare const ProjectUpdatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
27
+ declare const ProjectUpdatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema47.SchemaModel<{
28
28
  projectId: {
29
- type: _lssm_lib_schema0.FieldType<string, string>;
29
+ type: _lssm_lib_schema47.FieldType<string, string>;
30
30
  isOptional: false;
31
31
  };
32
32
  updatedFields: {
33
- type: _lssm_lib_schema0.FieldType<string, string>;
33
+ type: _lssm_lib_schema47.FieldType<string, string>;
34
34
  isArray: true;
35
35
  isOptional: false;
36
36
  };
37
37
  updatedBy: {
38
- type: _lssm_lib_schema0.FieldType<string, string>;
38
+ type: _lssm_lib_schema47.FieldType<string, string>;
39
39
  isOptional: false;
40
40
  };
41
41
  updatedAt: {
42
- type: _lssm_lib_schema0.FieldType<Date, string>;
42
+ type: _lssm_lib_schema47.FieldType<Date, string>;
43
43
  isOptional: false;
44
44
  };
45
45
  }>>;
46
- declare const ProjectDeletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
46
+ declare const ProjectDeletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema47.SchemaModel<{
47
47
  projectId: {
48
- type: _lssm_lib_schema0.FieldType<string, string>;
48
+ type: _lssm_lib_schema47.FieldType<string, string>;
49
49
  isOptional: false;
50
50
  };
51
51
  organizationId: {
52
- type: _lssm_lib_schema0.FieldType<string, string>;
52
+ type: _lssm_lib_schema47.FieldType<string, string>;
53
53
  isOptional: false;
54
54
  };
55
55
  deletedBy: {
56
- type: _lssm_lib_schema0.FieldType<string, string>;
56
+ type: _lssm_lib_schema47.FieldType<string, string>;
57
57
  isOptional: false;
58
58
  };
59
59
  deletedAt: {
60
- type: _lssm_lib_schema0.FieldType<Date, string>;
60
+ type: _lssm_lib_schema47.FieldType<Date, string>;
61
61
  isOptional: false;
62
62
  };
63
63
  }>>;
64
- declare const ProjectArchivedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
64
+ declare const ProjectArchivedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema47.SchemaModel<{
65
65
  projectId: {
66
- type: _lssm_lib_schema0.FieldType<string, string>;
66
+ type: _lssm_lib_schema47.FieldType<string, string>;
67
67
  isOptional: false;
68
68
  };
69
69
  archivedBy: {
70
- type: _lssm_lib_schema0.FieldType<string, string>;
70
+ type: _lssm_lib_schema47.FieldType<string, string>;
71
71
  isOptional: false;
72
72
  };
73
73
  archivedAt: {
74
- type: _lssm_lib_schema0.FieldType<Date, string>;
74
+ type: _lssm_lib_schema47.FieldType<Date, string>;
75
75
  isOptional: false;
76
76
  };
77
77
  }>>;
78
- declare const UsageRecordedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
78
+ declare const UsageRecordedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema47.SchemaModel<{
79
79
  organizationId: {
80
- type: _lssm_lib_schema0.FieldType<string, string>;
80
+ type: _lssm_lib_schema47.FieldType<string, string>;
81
81
  isOptional: false;
82
82
  };
83
83
  feature: {
84
- type: _lssm_lib_schema0.FieldType<string, string>;
84
+ type: _lssm_lib_schema47.FieldType<string, string>;
85
85
  isOptional: false;
86
86
  };
87
87
  quantity: {
88
- type: _lssm_lib_schema0.FieldType<number, number>;
88
+ type: _lssm_lib_schema47.FieldType<number, number>;
89
89
  isOptional: false;
90
90
  };
91
91
  billingPeriod: {
92
- type: _lssm_lib_schema0.FieldType<string, string>;
92
+ type: _lssm_lib_schema47.FieldType<string, string>;
93
93
  isOptional: false;
94
94
  };
95
95
  recordedAt: {
96
- type: _lssm_lib_schema0.FieldType<Date, string>;
96
+ type: _lssm_lib_schema47.FieldType<Date, string>;
97
97
  isOptional: false;
98
98
  };
99
99
  }>>;
100
- declare const UsageLimitReachedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
100
+ declare const UsageLimitReachedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema47.SchemaModel<{
101
101
  organizationId: {
102
- type: _lssm_lib_schema0.FieldType<string, string>;
102
+ type: _lssm_lib_schema47.FieldType<string, string>;
103
103
  isOptional: false;
104
104
  };
105
105
  feature: {
106
- type: _lssm_lib_schema0.FieldType<string, string>;
106
+ type: _lssm_lib_schema47.FieldType<string, string>;
107
107
  isOptional: false;
108
108
  };
109
109
  limit: {
110
- type: _lssm_lib_schema0.FieldType<number, number>;
110
+ type: _lssm_lib_schema47.FieldType<number, number>;
111
111
  isOptional: false;
112
112
  };
113
113
  currentUsage: {
114
- type: _lssm_lib_schema0.FieldType<number, number>;
114
+ type: _lssm_lib_schema47.FieldType<number, number>;
115
115
  isOptional: false;
116
116
  };
117
117
  reachedAt: {
118
- type: _lssm_lib_schema0.FieldType<Date, string>;
118
+ type: _lssm_lib_schema47.FieldType<Date, string>;
119
119
  isOptional: false;
120
120
  };
121
121
  }>>;
122
- declare const SubscriptionChangedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
122
+ declare const SubscriptionChangedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema47.SchemaModel<{
123
123
  organizationId: {
124
- type: _lssm_lib_schema0.FieldType<string, string>;
124
+ type: _lssm_lib_schema47.FieldType<string, string>;
125
125
  isOptional: false;
126
126
  };
127
127
  previousPlan: {
128
- type: _lssm_lib_schema0.FieldType<string, string>;
128
+ type: _lssm_lib_schema47.FieldType<string, string>;
129
129
  isOptional: true;
130
130
  };
131
131
  newPlan: {
132
- type: _lssm_lib_schema0.FieldType<string, string>;
132
+ type: _lssm_lib_schema47.FieldType<string, string>;
133
133
  isOptional: false;
134
134
  };
135
135
  previousStatus: {
136
- type: _lssm_lib_schema0.FieldType<string, string>;
136
+ type: _lssm_lib_schema47.FieldType<string, string>;
137
137
  isOptional: true;
138
138
  };
139
139
  newStatus: {
140
- type: _lssm_lib_schema0.FieldType<string, string>;
140
+ type: _lssm_lib_schema47.FieldType<string, string>;
141
141
  isOptional: false;
142
142
  };
143
143
  changedAt: {
144
- type: _lssm_lib_schema0.FieldType<Date, string>;
144
+ type: _lssm_lib_schema47.FieldType<Date, string>;
145
145
  isOptional: false;
146
146
  };
147
147
  }>>;
148
148
  declare const SaasBoilerplateEvents: {
149
- ProjectCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
149
+ ProjectCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema47.SchemaModel<{
150
150
  projectId: {
151
- type: _lssm_lib_schema0.FieldType<string, string>;
151
+ type: _lssm_lib_schema47.FieldType<string, string>;
152
152
  isOptional: false;
153
153
  };
154
154
  name: {
155
- type: _lssm_lib_schema0.FieldType<string, string>;
155
+ type: _lssm_lib_schema47.FieldType<string, string>;
156
156
  isOptional: false;
157
157
  };
158
158
  organizationId: {
159
- type: _lssm_lib_schema0.FieldType<string, string>;
159
+ type: _lssm_lib_schema47.FieldType<string, string>;
160
160
  isOptional: false;
161
161
  };
162
162
  createdBy: {
163
- type: _lssm_lib_schema0.FieldType<string, string>;
163
+ type: _lssm_lib_schema47.FieldType<string, string>;
164
164
  isOptional: false;
165
165
  };
166
166
  createdAt: {
167
- type: _lssm_lib_schema0.FieldType<Date, string>;
167
+ type: _lssm_lib_schema47.FieldType<Date, string>;
168
168
  isOptional: false;
169
169
  };
170
170
  }>>;
171
- ProjectUpdatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
171
+ ProjectUpdatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema47.SchemaModel<{
172
172
  projectId: {
173
- type: _lssm_lib_schema0.FieldType<string, string>;
173
+ type: _lssm_lib_schema47.FieldType<string, string>;
174
174
  isOptional: false;
175
175
  };
176
176
  updatedFields: {
177
- type: _lssm_lib_schema0.FieldType<string, string>;
177
+ type: _lssm_lib_schema47.FieldType<string, string>;
178
178
  isArray: true;
179
179
  isOptional: false;
180
180
  };
181
181
  updatedBy: {
182
- type: _lssm_lib_schema0.FieldType<string, string>;
182
+ type: _lssm_lib_schema47.FieldType<string, string>;
183
183
  isOptional: false;
184
184
  };
185
185
  updatedAt: {
186
- type: _lssm_lib_schema0.FieldType<Date, string>;
186
+ type: _lssm_lib_schema47.FieldType<Date, string>;
187
187
  isOptional: false;
188
188
  };
189
189
  }>>;
190
- ProjectDeletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
190
+ ProjectDeletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema47.SchemaModel<{
191
191
  projectId: {
192
- type: _lssm_lib_schema0.FieldType<string, string>;
192
+ type: _lssm_lib_schema47.FieldType<string, string>;
193
193
  isOptional: false;
194
194
  };
195
195
  organizationId: {
196
- type: _lssm_lib_schema0.FieldType<string, string>;
196
+ type: _lssm_lib_schema47.FieldType<string, string>;
197
197
  isOptional: false;
198
198
  };
199
199
  deletedBy: {
200
- type: _lssm_lib_schema0.FieldType<string, string>;
200
+ type: _lssm_lib_schema47.FieldType<string, string>;
201
201
  isOptional: false;
202
202
  };
203
203
  deletedAt: {
204
- type: _lssm_lib_schema0.FieldType<Date, string>;
204
+ type: _lssm_lib_schema47.FieldType<Date, string>;
205
205
  isOptional: false;
206
206
  };
207
207
  }>>;
208
- ProjectArchivedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
208
+ ProjectArchivedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema47.SchemaModel<{
209
209
  projectId: {
210
- type: _lssm_lib_schema0.FieldType<string, string>;
210
+ type: _lssm_lib_schema47.FieldType<string, string>;
211
211
  isOptional: false;
212
212
  };
213
213
  archivedBy: {
214
- type: _lssm_lib_schema0.FieldType<string, string>;
214
+ type: _lssm_lib_schema47.FieldType<string, string>;
215
215
  isOptional: false;
216
216
  };
217
217
  archivedAt: {
218
- type: _lssm_lib_schema0.FieldType<Date, string>;
218
+ type: _lssm_lib_schema47.FieldType<Date, string>;
219
219
  isOptional: false;
220
220
  };
221
221
  }>>;
222
- UsageRecordedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
222
+ UsageRecordedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema47.SchemaModel<{
223
223
  organizationId: {
224
- type: _lssm_lib_schema0.FieldType<string, string>;
224
+ type: _lssm_lib_schema47.FieldType<string, string>;
225
225
  isOptional: false;
226
226
  };
227
227
  feature: {
228
- type: _lssm_lib_schema0.FieldType<string, string>;
228
+ type: _lssm_lib_schema47.FieldType<string, string>;
229
229
  isOptional: false;
230
230
  };
231
231
  quantity: {
232
- type: _lssm_lib_schema0.FieldType<number, number>;
232
+ type: _lssm_lib_schema47.FieldType<number, number>;
233
233
  isOptional: false;
234
234
  };
235
235
  billingPeriod: {
236
- type: _lssm_lib_schema0.FieldType<string, string>;
236
+ type: _lssm_lib_schema47.FieldType<string, string>;
237
237
  isOptional: false;
238
238
  };
239
239
  recordedAt: {
240
- type: _lssm_lib_schema0.FieldType<Date, string>;
240
+ type: _lssm_lib_schema47.FieldType<Date, string>;
241
241
  isOptional: false;
242
242
  };
243
243
  }>>;
244
- UsageLimitReachedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
244
+ UsageLimitReachedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema47.SchemaModel<{
245
245
  organizationId: {
246
- type: _lssm_lib_schema0.FieldType<string, string>;
246
+ type: _lssm_lib_schema47.FieldType<string, string>;
247
247
  isOptional: false;
248
248
  };
249
249
  feature: {
250
- type: _lssm_lib_schema0.FieldType<string, string>;
250
+ type: _lssm_lib_schema47.FieldType<string, string>;
251
251
  isOptional: false;
252
252
  };
253
253
  limit: {
254
- type: _lssm_lib_schema0.FieldType<number, number>;
254
+ type: _lssm_lib_schema47.FieldType<number, number>;
255
255
  isOptional: false;
256
256
  };
257
257
  currentUsage: {
258
- type: _lssm_lib_schema0.FieldType<number, number>;
258
+ type: _lssm_lib_schema47.FieldType<number, number>;
259
259
  isOptional: false;
260
260
  };
261
261
  reachedAt: {
262
- type: _lssm_lib_schema0.FieldType<Date, string>;
262
+ type: _lssm_lib_schema47.FieldType<Date, string>;
263
263
  isOptional: false;
264
264
  };
265
265
  }>>;
266
- SubscriptionChangedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
266
+ SubscriptionChangedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema47.SchemaModel<{
267
267
  organizationId: {
268
- type: _lssm_lib_schema0.FieldType<string, string>;
268
+ type: _lssm_lib_schema47.FieldType<string, string>;
269
269
  isOptional: false;
270
270
  };
271
271
  previousPlan: {
272
- type: _lssm_lib_schema0.FieldType<string, string>;
272
+ type: _lssm_lib_schema47.FieldType<string, string>;
273
273
  isOptional: true;
274
274
  };
275
275
  newPlan: {
276
- type: _lssm_lib_schema0.FieldType<string, string>;
276
+ type: _lssm_lib_schema47.FieldType<string, string>;
277
277
  isOptional: false;
278
278
  };
279
279
  previousStatus: {
280
- type: _lssm_lib_schema0.FieldType<string, string>;
280
+ type: _lssm_lib_schema47.FieldType<string, string>;
281
281
  isOptional: true;
282
282
  };
283
283
  newStatus: {
284
- type: _lssm_lib_schema0.FieldType<string, string>;
284
+ type: _lssm_lib_schema47.FieldType<string, string>;
285
285
  isOptional: false;
286
286
  };
287
287
  changedAt: {
288
- type: _lssm_lib_schema0.FieldType<Date, string>;
288
+ type: _lssm_lib_schema47.FieldType<Date, string>;
289
289
  isOptional: false;
290
290
  };
291
291
  }>>;
package/dist/index.d.ts CHANGED
@@ -13,7 +13,7 @@ import { ProjectDetailPresentation, ProjectListPresentation } from "./presentati
13
13
  import { SubscriptionPresentation, UsageDashboardPresentation } from "./presentations/billing.js";
14
14
  import { SaasDashboardPresentation, SettingsPanelPresentation } from "./presentations/dashboard.js";
15
15
  import { SaasBoilerplatePresentations } from "./presentations/index.js";
16
- import * as _lssm_lib_schema77 from "@lssm/lib.schema";
16
+ import * as _lssm_lib_schema0 from "@lssm/lib.schema";
17
17
 
18
18
  //#region src/index.d.ts
19
19
  /**
@@ -21,7 +21,7 @@ import * as _lssm_lib_schema77 from "@lssm/lib.schema";
21
21
  * Use with `database schema:compose` to generate Prisma schema.
22
22
  */
23
23
  declare const schemaComposition: {
24
- modules: _lssm_lib_schema77.ModuleSchemaContribution[];
24
+ modules: _lssm_lib_schema0.ModuleSchemaContribution[];
25
25
  provider: "postgresql";
26
26
  outputPath: string;
27
27
  };
@@ -1,9 +1,9 @@
1
1
  import { ProjectDetailPresentation, ProjectListPresentation } from "./project-list.js";
2
2
  import { SubscriptionPresentation, UsageDashboardPresentation } from "./billing.js";
3
3
  import { SaasDashboardPresentation, SettingsPanelPresentation } from "./dashboard.js";
4
- import * as _lssm_lib_contracts22 from "@lssm/lib.contracts";
4
+ import * as _lssm_lib_contracts13 from "@lssm/lib.contracts";
5
5
 
6
6
  //#region src/presentations/index.d.ts
7
- declare const SaasBoilerplatePresentations: _lssm_lib_contracts22.PresentationDescriptorV2[];
7
+ declare const SaasBoilerplatePresentations: _lssm_lib_contracts13.PresentationDescriptorV2[];
8
8
  //#endregion
9
9
  export { ProjectDetailPresentation, ProjectListPresentation, SaasBoilerplatePresentations, SaasDashboardPresentation, SettingsPanelPresentation, SubscriptionPresentation, UsageDashboardPresentation };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/example.saas-boilerplate",
3
- "version": "0.0.0-canary-20251206160926",
3
+ "version": "0.0.0-canary-20251207012602",
4
4
  "description": "SaaS Boilerplate - Users, Orgs, Projects, Billing, Settings",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",