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