@lssm/example.wealth-snapshot 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060433
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/contracts/index.d.ts +409 -0
- package/dist/docs/index.d.ts +1 -0
- package/dist/docs/wealth-snapshot.docblock.d.ts +1 -0
- package/dist/entities/index.d.ts +131 -0
- package/dist/events.d.ts +224 -0
- package/dist/example.d.ts +39 -0
- package/dist/handlers/index.d.ts +7 -0
- package/dist/index.d.ts +17 -0
- package/dist/presentations/index.d.ts +4 -0
- package/dist/presentations.d.ts +10 -0
- package/dist/wealth-snapshot.feature.d.ts +6 -0
- package/package.json +19 -19
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
import * as _lssm_lib_schema176 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts7 from "@lssm/lib.contracts";
|
|
3
|
+
|
|
4
|
+
//#region src/contracts/index.d.ts
|
|
5
|
+
declare const AccountModel: _lssm_lib_schema176.SchemaModel<{
|
|
6
|
+
id: {
|
|
7
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
8
|
+
isOptional: false;
|
|
9
|
+
};
|
|
10
|
+
name: {
|
|
11
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
12
|
+
isOptional: false;
|
|
13
|
+
};
|
|
14
|
+
type: {
|
|
15
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
16
|
+
isOptional: false;
|
|
17
|
+
};
|
|
18
|
+
currency: {
|
|
19
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
20
|
+
isOptional: false;
|
|
21
|
+
};
|
|
22
|
+
balance: {
|
|
23
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
24
|
+
isOptional: false;
|
|
25
|
+
};
|
|
26
|
+
}>;
|
|
27
|
+
declare const AssetModel: _lssm_lib_schema176.SchemaModel<{
|
|
28
|
+
id: {
|
|
29
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
30
|
+
isOptional: false;
|
|
31
|
+
};
|
|
32
|
+
name: {
|
|
33
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
34
|
+
isOptional: false;
|
|
35
|
+
};
|
|
36
|
+
category: {
|
|
37
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
38
|
+
isOptional: false;
|
|
39
|
+
};
|
|
40
|
+
value: {
|
|
41
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
42
|
+
isOptional: false;
|
|
43
|
+
};
|
|
44
|
+
currency: {
|
|
45
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
46
|
+
isOptional: false;
|
|
47
|
+
};
|
|
48
|
+
}>;
|
|
49
|
+
declare const LiabilityModel: _lssm_lib_schema176.SchemaModel<{
|
|
50
|
+
id: {
|
|
51
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
52
|
+
isOptional: false;
|
|
53
|
+
};
|
|
54
|
+
name: {
|
|
55
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
56
|
+
isOptional: false;
|
|
57
|
+
};
|
|
58
|
+
category: {
|
|
59
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
60
|
+
isOptional: false;
|
|
61
|
+
};
|
|
62
|
+
balance: {
|
|
63
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
64
|
+
isOptional: false;
|
|
65
|
+
};
|
|
66
|
+
currency: {
|
|
67
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
68
|
+
isOptional: false;
|
|
69
|
+
};
|
|
70
|
+
}>;
|
|
71
|
+
declare const GoalModel: _lssm_lib_schema176.SchemaModel<{
|
|
72
|
+
id: {
|
|
73
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
74
|
+
isOptional: false;
|
|
75
|
+
};
|
|
76
|
+
name: {
|
|
77
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
78
|
+
isOptional: false;
|
|
79
|
+
};
|
|
80
|
+
targetAmount: {
|
|
81
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
82
|
+
isOptional: false;
|
|
83
|
+
};
|
|
84
|
+
currentAmount: {
|
|
85
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
86
|
+
isOptional: false;
|
|
87
|
+
};
|
|
88
|
+
currency: {
|
|
89
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
90
|
+
isOptional: false;
|
|
91
|
+
};
|
|
92
|
+
status: {
|
|
93
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
94
|
+
isOptional: false;
|
|
95
|
+
};
|
|
96
|
+
}>;
|
|
97
|
+
declare const NetWorthSnapshotModel: _lssm_lib_schema176.SchemaModel<{
|
|
98
|
+
asOf: {
|
|
99
|
+
type: _lssm_lib_schema176.FieldType<Date, string>;
|
|
100
|
+
isOptional: false;
|
|
101
|
+
};
|
|
102
|
+
totalAssets: {
|
|
103
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
104
|
+
isOptional: false;
|
|
105
|
+
};
|
|
106
|
+
totalLiabilities: {
|
|
107
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
108
|
+
isOptional: false;
|
|
109
|
+
};
|
|
110
|
+
netWorth: {
|
|
111
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
112
|
+
isOptional: false;
|
|
113
|
+
};
|
|
114
|
+
currency: {
|
|
115
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
116
|
+
isOptional: false;
|
|
117
|
+
};
|
|
118
|
+
}>;
|
|
119
|
+
declare const CreateAccountContract: _lssm_lib_contracts7.ContractSpec<_lssm_lib_schema176.SchemaModel<{
|
|
120
|
+
name: {
|
|
121
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
122
|
+
isOptional: false;
|
|
123
|
+
};
|
|
124
|
+
type: {
|
|
125
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
126
|
+
isOptional: false;
|
|
127
|
+
};
|
|
128
|
+
currency: {
|
|
129
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
130
|
+
isOptional: true;
|
|
131
|
+
};
|
|
132
|
+
balance: {
|
|
133
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
134
|
+
isOptional: true;
|
|
135
|
+
};
|
|
136
|
+
orgId: {
|
|
137
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
138
|
+
isOptional: false;
|
|
139
|
+
};
|
|
140
|
+
}>, _lssm_lib_schema176.SchemaModel<{
|
|
141
|
+
id: {
|
|
142
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
143
|
+
isOptional: false;
|
|
144
|
+
};
|
|
145
|
+
name: {
|
|
146
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
147
|
+
isOptional: false;
|
|
148
|
+
};
|
|
149
|
+
type: {
|
|
150
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
151
|
+
isOptional: false;
|
|
152
|
+
};
|
|
153
|
+
currency: {
|
|
154
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
155
|
+
isOptional: false;
|
|
156
|
+
};
|
|
157
|
+
balance: {
|
|
158
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
159
|
+
isOptional: false;
|
|
160
|
+
};
|
|
161
|
+
}>, undefined>;
|
|
162
|
+
declare const AddAssetContract: _lssm_lib_contracts7.ContractSpec<_lssm_lib_schema176.SchemaModel<{
|
|
163
|
+
accountId: {
|
|
164
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
165
|
+
isOptional: true;
|
|
166
|
+
};
|
|
167
|
+
name: {
|
|
168
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
169
|
+
isOptional: false;
|
|
170
|
+
};
|
|
171
|
+
category: {
|
|
172
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
173
|
+
isOptional: false;
|
|
174
|
+
};
|
|
175
|
+
value: {
|
|
176
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
177
|
+
isOptional: false;
|
|
178
|
+
};
|
|
179
|
+
currency: {
|
|
180
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
181
|
+
isOptional: true;
|
|
182
|
+
};
|
|
183
|
+
orgId: {
|
|
184
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
185
|
+
isOptional: false;
|
|
186
|
+
};
|
|
187
|
+
}>, _lssm_lib_schema176.SchemaModel<{
|
|
188
|
+
id: {
|
|
189
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
190
|
+
isOptional: false;
|
|
191
|
+
};
|
|
192
|
+
name: {
|
|
193
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
194
|
+
isOptional: false;
|
|
195
|
+
};
|
|
196
|
+
category: {
|
|
197
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
198
|
+
isOptional: false;
|
|
199
|
+
};
|
|
200
|
+
value: {
|
|
201
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
202
|
+
isOptional: false;
|
|
203
|
+
};
|
|
204
|
+
currency: {
|
|
205
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
206
|
+
isOptional: false;
|
|
207
|
+
};
|
|
208
|
+
}>, undefined>;
|
|
209
|
+
declare const AddLiabilityContract: _lssm_lib_contracts7.ContractSpec<_lssm_lib_schema176.SchemaModel<{
|
|
210
|
+
accountId: {
|
|
211
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
212
|
+
isOptional: true;
|
|
213
|
+
};
|
|
214
|
+
name: {
|
|
215
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
216
|
+
isOptional: false;
|
|
217
|
+
};
|
|
218
|
+
category: {
|
|
219
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
220
|
+
isOptional: false;
|
|
221
|
+
};
|
|
222
|
+
balance: {
|
|
223
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
224
|
+
isOptional: false;
|
|
225
|
+
};
|
|
226
|
+
currency: {
|
|
227
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
228
|
+
isOptional: true;
|
|
229
|
+
};
|
|
230
|
+
orgId: {
|
|
231
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
232
|
+
isOptional: false;
|
|
233
|
+
};
|
|
234
|
+
}>, _lssm_lib_schema176.SchemaModel<{
|
|
235
|
+
id: {
|
|
236
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
237
|
+
isOptional: false;
|
|
238
|
+
};
|
|
239
|
+
name: {
|
|
240
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
241
|
+
isOptional: false;
|
|
242
|
+
};
|
|
243
|
+
category: {
|
|
244
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
245
|
+
isOptional: false;
|
|
246
|
+
};
|
|
247
|
+
balance: {
|
|
248
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
249
|
+
isOptional: false;
|
|
250
|
+
};
|
|
251
|
+
currency: {
|
|
252
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
253
|
+
isOptional: false;
|
|
254
|
+
};
|
|
255
|
+
}>, undefined>;
|
|
256
|
+
declare const CreateGoalContract: _lssm_lib_contracts7.ContractSpec<_lssm_lib_schema176.SchemaModel<{
|
|
257
|
+
name: {
|
|
258
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
259
|
+
isOptional: false;
|
|
260
|
+
};
|
|
261
|
+
targetAmount: {
|
|
262
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
263
|
+
isOptional: false;
|
|
264
|
+
};
|
|
265
|
+
currency: {
|
|
266
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
267
|
+
isOptional: true;
|
|
268
|
+
};
|
|
269
|
+
targetDate: {
|
|
270
|
+
type: _lssm_lib_schema176.FieldType<Date, string>;
|
|
271
|
+
isOptional: true;
|
|
272
|
+
};
|
|
273
|
+
orgId: {
|
|
274
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
275
|
+
isOptional: false;
|
|
276
|
+
};
|
|
277
|
+
}>, _lssm_lib_schema176.SchemaModel<{
|
|
278
|
+
id: {
|
|
279
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
280
|
+
isOptional: false;
|
|
281
|
+
};
|
|
282
|
+
name: {
|
|
283
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
284
|
+
isOptional: false;
|
|
285
|
+
};
|
|
286
|
+
targetAmount: {
|
|
287
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
288
|
+
isOptional: false;
|
|
289
|
+
};
|
|
290
|
+
currentAmount: {
|
|
291
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
292
|
+
isOptional: false;
|
|
293
|
+
};
|
|
294
|
+
currency: {
|
|
295
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
296
|
+
isOptional: false;
|
|
297
|
+
};
|
|
298
|
+
status: {
|
|
299
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
300
|
+
isOptional: false;
|
|
301
|
+
};
|
|
302
|
+
}>, undefined>;
|
|
303
|
+
declare const UpdateGoalContract: _lssm_lib_contracts7.ContractSpec<_lssm_lib_schema176.SchemaModel<{
|
|
304
|
+
goalId: {
|
|
305
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
306
|
+
isOptional: false;
|
|
307
|
+
};
|
|
308
|
+
currentAmount: {
|
|
309
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
310
|
+
isOptional: false;
|
|
311
|
+
};
|
|
312
|
+
status: {
|
|
313
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
314
|
+
isOptional: true;
|
|
315
|
+
};
|
|
316
|
+
}>, _lssm_lib_schema176.SchemaModel<{
|
|
317
|
+
id: {
|
|
318
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
319
|
+
isOptional: false;
|
|
320
|
+
};
|
|
321
|
+
name: {
|
|
322
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
323
|
+
isOptional: false;
|
|
324
|
+
};
|
|
325
|
+
targetAmount: {
|
|
326
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
327
|
+
isOptional: false;
|
|
328
|
+
};
|
|
329
|
+
currentAmount: {
|
|
330
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
331
|
+
isOptional: false;
|
|
332
|
+
};
|
|
333
|
+
currency: {
|
|
334
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
335
|
+
isOptional: false;
|
|
336
|
+
};
|
|
337
|
+
status: {
|
|
338
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
339
|
+
isOptional: false;
|
|
340
|
+
};
|
|
341
|
+
}>, undefined>;
|
|
342
|
+
declare const GetNetWorthContract: _lssm_lib_contracts7.ContractSpec<_lssm_lib_schema176.SchemaModel<{
|
|
343
|
+
orgId: {
|
|
344
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
345
|
+
isOptional: false;
|
|
346
|
+
};
|
|
347
|
+
from: {
|
|
348
|
+
type: _lssm_lib_schema176.FieldType<Date, string>;
|
|
349
|
+
isOptional: true;
|
|
350
|
+
};
|
|
351
|
+
to: {
|
|
352
|
+
type: _lssm_lib_schema176.FieldType<Date, string>;
|
|
353
|
+
isOptional: true;
|
|
354
|
+
};
|
|
355
|
+
}>, _lssm_lib_schema176.SchemaModel<{
|
|
356
|
+
snapshots: {
|
|
357
|
+
type: _lssm_lib_schema176.SchemaModel<{
|
|
358
|
+
asOf: {
|
|
359
|
+
type: _lssm_lib_schema176.FieldType<Date, string>;
|
|
360
|
+
isOptional: false;
|
|
361
|
+
};
|
|
362
|
+
totalAssets: {
|
|
363
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
364
|
+
isOptional: false;
|
|
365
|
+
};
|
|
366
|
+
totalLiabilities: {
|
|
367
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
368
|
+
isOptional: false;
|
|
369
|
+
};
|
|
370
|
+
netWorth: {
|
|
371
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
372
|
+
isOptional: false;
|
|
373
|
+
};
|
|
374
|
+
currency: {
|
|
375
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
376
|
+
isOptional: false;
|
|
377
|
+
};
|
|
378
|
+
}>;
|
|
379
|
+
isArray: true;
|
|
380
|
+
isOptional: false;
|
|
381
|
+
};
|
|
382
|
+
latest: {
|
|
383
|
+
type: _lssm_lib_schema176.SchemaModel<{
|
|
384
|
+
asOf: {
|
|
385
|
+
type: _lssm_lib_schema176.FieldType<Date, string>;
|
|
386
|
+
isOptional: false;
|
|
387
|
+
};
|
|
388
|
+
totalAssets: {
|
|
389
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
390
|
+
isOptional: false;
|
|
391
|
+
};
|
|
392
|
+
totalLiabilities: {
|
|
393
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
394
|
+
isOptional: false;
|
|
395
|
+
};
|
|
396
|
+
netWorth: {
|
|
397
|
+
type: _lssm_lib_schema176.FieldType<number, number>;
|
|
398
|
+
isOptional: false;
|
|
399
|
+
};
|
|
400
|
+
currency: {
|
|
401
|
+
type: _lssm_lib_schema176.FieldType<string, string>;
|
|
402
|
+
isOptional: false;
|
|
403
|
+
};
|
|
404
|
+
}>;
|
|
405
|
+
isOptional: true;
|
|
406
|
+
};
|
|
407
|
+
}>, undefined>;
|
|
408
|
+
//#endregion
|
|
409
|
+
export { AccountModel, AddAssetContract, AddLiabilityContract, AssetModel, CreateAccountContract, CreateGoalContract, GetNetWorthContract, GoalModel, LiabilityModel, NetWorthSnapshotModel, UpdateGoalContract };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import * as _lssm_lib_schema57 from "@lssm/lib.schema";
|
|
2
|
+
import { ModuleSchemaContribution } from "@lssm/lib.schema";
|
|
3
|
+
|
|
4
|
+
//#region src/entities/index.d.ts
|
|
5
|
+
declare const AccountTypeEnum: _lssm_lib_schema57.EntityEnumDef;
|
|
6
|
+
declare const AssetCategoryEnum: _lssm_lib_schema57.EntityEnumDef;
|
|
7
|
+
declare const LiabilityCategoryEnum: _lssm_lib_schema57.EntityEnumDef;
|
|
8
|
+
declare const GoalStatusEnum: _lssm_lib_schema57.EntityEnumDef;
|
|
9
|
+
declare const AccountEntity: _lssm_lib_schema57.EntitySpec<{
|
|
10
|
+
id: _lssm_lib_schema57.EntityScalarField;
|
|
11
|
+
name: _lssm_lib_schema57.EntityScalarField;
|
|
12
|
+
type: _lssm_lib_schema57.EntityEnumField;
|
|
13
|
+
currency: _lssm_lib_schema57.EntityScalarField;
|
|
14
|
+
balance: _lssm_lib_schema57.EntityScalarField;
|
|
15
|
+
institution: _lssm_lib_schema57.EntityScalarField;
|
|
16
|
+
orgId: _lssm_lib_schema57.EntityScalarField;
|
|
17
|
+
ownerId: _lssm_lib_schema57.EntityScalarField;
|
|
18
|
+
createdAt: _lssm_lib_schema57.EntityScalarField;
|
|
19
|
+
updatedAt: _lssm_lib_schema57.EntityScalarField;
|
|
20
|
+
}>;
|
|
21
|
+
declare const AssetEntity: _lssm_lib_schema57.EntitySpec<{
|
|
22
|
+
id: _lssm_lib_schema57.EntityScalarField;
|
|
23
|
+
accountId: _lssm_lib_schema57.EntityScalarField;
|
|
24
|
+
name: _lssm_lib_schema57.EntityScalarField;
|
|
25
|
+
category: _lssm_lib_schema57.EntityEnumField;
|
|
26
|
+
value: _lssm_lib_schema57.EntityScalarField;
|
|
27
|
+
currency: _lssm_lib_schema57.EntityScalarField;
|
|
28
|
+
orgId: _lssm_lib_schema57.EntityScalarField;
|
|
29
|
+
metadata: _lssm_lib_schema57.EntityScalarField;
|
|
30
|
+
updatedAt: _lssm_lib_schema57.EntityScalarField;
|
|
31
|
+
createdAt: _lssm_lib_schema57.EntityScalarField;
|
|
32
|
+
account: _lssm_lib_schema57.EntityRelationField;
|
|
33
|
+
}>;
|
|
34
|
+
declare const LiabilityEntity: _lssm_lib_schema57.EntitySpec<{
|
|
35
|
+
id: _lssm_lib_schema57.EntityScalarField;
|
|
36
|
+
accountId: _lssm_lib_schema57.EntityScalarField;
|
|
37
|
+
name: _lssm_lib_schema57.EntityScalarField;
|
|
38
|
+
category: _lssm_lib_schema57.EntityEnumField;
|
|
39
|
+
balance: _lssm_lib_schema57.EntityScalarField;
|
|
40
|
+
currency: _lssm_lib_schema57.EntityScalarField;
|
|
41
|
+
interestRate: _lssm_lib_schema57.EntityScalarField;
|
|
42
|
+
orgId: _lssm_lib_schema57.EntityScalarField;
|
|
43
|
+
metadata: _lssm_lib_schema57.EntityScalarField;
|
|
44
|
+
updatedAt: _lssm_lib_schema57.EntityScalarField;
|
|
45
|
+
createdAt: _lssm_lib_schema57.EntityScalarField;
|
|
46
|
+
account: _lssm_lib_schema57.EntityRelationField;
|
|
47
|
+
}>;
|
|
48
|
+
declare const GoalEntity: _lssm_lib_schema57.EntitySpec<{
|
|
49
|
+
id: _lssm_lib_schema57.EntityScalarField;
|
|
50
|
+
name: _lssm_lib_schema57.EntityScalarField;
|
|
51
|
+
targetAmount: _lssm_lib_schema57.EntityScalarField;
|
|
52
|
+
currentAmount: _lssm_lib_schema57.EntityScalarField;
|
|
53
|
+
currency: _lssm_lib_schema57.EntityScalarField;
|
|
54
|
+
targetDate: _lssm_lib_schema57.EntityScalarField;
|
|
55
|
+
status: _lssm_lib_schema57.EntityEnumField;
|
|
56
|
+
orgId: _lssm_lib_schema57.EntityScalarField;
|
|
57
|
+
ownerId: _lssm_lib_schema57.EntityScalarField;
|
|
58
|
+
createdAt: _lssm_lib_schema57.EntityScalarField;
|
|
59
|
+
updatedAt: _lssm_lib_schema57.EntityScalarField;
|
|
60
|
+
}>;
|
|
61
|
+
declare const NetWorthSnapshotEntity: _lssm_lib_schema57.EntitySpec<{
|
|
62
|
+
id: _lssm_lib_schema57.EntityScalarField;
|
|
63
|
+
asOf: _lssm_lib_schema57.EntityScalarField;
|
|
64
|
+
totalAssets: _lssm_lib_schema57.EntityScalarField;
|
|
65
|
+
totalLiabilities: _lssm_lib_schema57.EntityScalarField;
|
|
66
|
+
netWorth: _lssm_lib_schema57.EntityScalarField;
|
|
67
|
+
currency: _lssm_lib_schema57.EntityScalarField;
|
|
68
|
+
orgId: _lssm_lib_schema57.EntityScalarField;
|
|
69
|
+
createdAt: _lssm_lib_schema57.EntityScalarField;
|
|
70
|
+
}>;
|
|
71
|
+
declare const wealthSnapshotEntities: (_lssm_lib_schema57.EntitySpec<{
|
|
72
|
+
id: _lssm_lib_schema57.EntityScalarField;
|
|
73
|
+
name: _lssm_lib_schema57.EntityScalarField;
|
|
74
|
+
type: _lssm_lib_schema57.EntityEnumField;
|
|
75
|
+
currency: _lssm_lib_schema57.EntityScalarField;
|
|
76
|
+
balance: _lssm_lib_schema57.EntityScalarField;
|
|
77
|
+
institution: _lssm_lib_schema57.EntityScalarField;
|
|
78
|
+
orgId: _lssm_lib_schema57.EntityScalarField;
|
|
79
|
+
ownerId: _lssm_lib_schema57.EntityScalarField;
|
|
80
|
+
createdAt: _lssm_lib_schema57.EntityScalarField;
|
|
81
|
+
updatedAt: _lssm_lib_schema57.EntityScalarField;
|
|
82
|
+
}> | _lssm_lib_schema57.EntitySpec<{
|
|
83
|
+
id: _lssm_lib_schema57.EntityScalarField;
|
|
84
|
+
accountId: _lssm_lib_schema57.EntityScalarField;
|
|
85
|
+
name: _lssm_lib_schema57.EntityScalarField;
|
|
86
|
+
category: _lssm_lib_schema57.EntityEnumField;
|
|
87
|
+
value: _lssm_lib_schema57.EntityScalarField;
|
|
88
|
+
currency: _lssm_lib_schema57.EntityScalarField;
|
|
89
|
+
orgId: _lssm_lib_schema57.EntityScalarField;
|
|
90
|
+
metadata: _lssm_lib_schema57.EntityScalarField;
|
|
91
|
+
updatedAt: _lssm_lib_schema57.EntityScalarField;
|
|
92
|
+
createdAt: _lssm_lib_schema57.EntityScalarField;
|
|
93
|
+
account: _lssm_lib_schema57.EntityRelationField;
|
|
94
|
+
}> | _lssm_lib_schema57.EntitySpec<{
|
|
95
|
+
id: _lssm_lib_schema57.EntityScalarField;
|
|
96
|
+
accountId: _lssm_lib_schema57.EntityScalarField;
|
|
97
|
+
name: _lssm_lib_schema57.EntityScalarField;
|
|
98
|
+
category: _lssm_lib_schema57.EntityEnumField;
|
|
99
|
+
balance: _lssm_lib_schema57.EntityScalarField;
|
|
100
|
+
currency: _lssm_lib_schema57.EntityScalarField;
|
|
101
|
+
interestRate: _lssm_lib_schema57.EntityScalarField;
|
|
102
|
+
orgId: _lssm_lib_schema57.EntityScalarField;
|
|
103
|
+
metadata: _lssm_lib_schema57.EntityScalarField;
|
|
104
|
+
updatedAt: _lssm_lib_schema57.EntityScalarField;
|
|
105
|
+
createdAt: _lssm_lib_schema57.EntityScalarField;
|
|
106
|
+
account: _lssm_lib_schema57.EntityRelationField;
|
|
107
|
+
}> | _lssm_lib_schema57.EntitySpec<{
|
|
108
|
+
id: _lssm_lib_schema57.EntityScalarField;
|
|
109
|
+
name: _lssm_lib_schema57.EntityScalarField;
|
|
110
|
+
targetAmount: _lssm_lib_schema57.EntityScalarField;
|
|
111
|
+
currentAmount: _lssm_lib_schema57.EntityScalarField;
|
|
112
|
+
currency: _lssm_lib_schema57.EntityScalarField;
|
|
113
|
+
targetDate: _lssm_lib_schema57.EntityScalarField;
|
|
114
|
+
status: _lssm_lib_schema57.EntityEnumField;
|
|
115
|
+
orgId: _lssm_lib_schema57.EntityScalarField;
|
|
116
|
+
ownerId: _lssm_lib_schema57.EntityScalarField;
|
|
117
|
+
createdAt: _lssm_lib_schema57.EntityScalarField;
|
|
118
|
+
updatedAt: _lssm_lib_schema57.EntityScalarField;
|
|
119
|
+
}> | _lssm_lib_schema57.EntitySpec<{
|
|
120
|
+
id: _lssm_lib_schema57.EntityScalarField;
|
|
121
|
+
asOf: _lssm_lib_schema57.EntityScalarField;
|
|
122
|
+
totalAssets: _lssm_lib_schema57.EntityScalarField;
|
|
123
|
+
totalLiabilities: _lssm_lib_schema57.EntityScalarField;
|
|
124
|
+
netWorth: _lssm_lib_schema57.EntityScalarField;
|
|
125
|
+
currency: _lssm_lib_schema57.EntityScalarField;
|
|
126
|
+
orgId: _lssm_lib_schema57.EntityScalarField;
|
|
127
|
+
createdAt: _lssm_lib_schema57.EntityScalarField;
|
|
128
|
+
}>)[];
|
|
129
|
+
declare const wealthSnapshotSchemaContribution: ModuleSchemaContribution;
|
|
130
|
+
//#endregion
|
|
131
|
+
export { AccountEntity, AccountTypeEnum, AssetCategoryEnum, AssetEntity, GoalEntity, GoalStatusEnum, LiabilityCategoryEnum, LiabilityEntity, NetWorthSnapshotEntity, wealthSnapshotEntities, wealthSnapshotSchemaContribution };
|
package/dist/events.d.ts
ADDED
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import * as _lssm_lib_schema0 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
|
|
3
|
+
|
|
4
|
+
//#region src/events.d.ts
|
|
5
|
+
declare const AssetAddedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
6
|
+
assetId: {
|
|
7
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
8
|
+
isOptional: false;
|
|
9
|
+
};
|
|
10
|
+
category: {
|
|
11
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
12
|
+
isOptional: false;
|
|
13
|
+
};
|
|
14
|
+
value: {
|
|
15
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
16
|
+
isOptional: false;
|
|
17
|
+
};
|
|
18
|
+
currency: {
|
|
19
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
20
|
+
isOptional: false;
|
|
21
|
+
};
|
|
22
|
+
orgId: {
|
|
23
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
24
|
+
isOptional: false;
|
|
25
|
+
};
|
|
26
|
+
timestamp: {
|
|
27
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
28
|
+
isOptional: false;
|
|
29
|
+
};
|
|
30
|
+
}>>;
|
|
31
|
+
declare const LiabilityAddedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
32
|
+
liabilityId: {
|
|
33
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
34
|
+
isOptional: false;
|
|
35
|
+
};
|
|
36
|
+
category: {
|
|
37
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
38
|
+
isOptional: false;
|
|
39
|
+
};
|
|
40
|
+
balance: {
|
|
41
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
42
|
+
isOptional: false;
|
|
43
|
+
};
|
|
44
|
+
currency: {
|
|
45
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
46
|
+
isOptional: false;
|
|
47
|
+
};
|
|
48
|
+
orgId: {
|
|
49
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
50
|
+
isOptional: false;
|
|
51
|
+
};
|
|
52
|
+
timestamp: {
|
|
53
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
54
|
+
isOptional: false;
|
|
55
|
+
};
|
|
56
|
+
}>>;
|
|
57
|
+
declare const GoalUpdatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
58
|
+
goalId: {
|
|
59
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
60
|
+
isOptional: false;
|
|
61
|
+
};
|
|
62
|
+
status: {
|
|
63
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
64
|
+
isOptional: false;
|
|
65
|
+
};
|
|
66
|
+
currentAmount: {
|
|
67
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
68
|
+
isOptional: false;
|
|
69
|
+
};
|
|
70
|
+
targetAmount: {
|
|
71
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
72
|
+
isOptional: false;
|
|
73
|
+
};
|
|
74
|
+
currency: {
|
|
75
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
76
|
+
isOptional: false;
|
|
77
|
+
};
|
|
78
|
+
orgId: {
|
|
79
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
80
|
+
isOptional: false;
|
|
81
|
+
};
|
|
82
|
+
timestamp: {
|
|
83
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
84
|
+
isOptional: false;
|
|
85
|
+
};
|
|
86
|
+
}>>;
|
|
87
|
+
declare const NetWorthSnapshotCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
88
|
+
netWorth: {
|
|
89
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
90
|
+
isOptional: false;
|
|
91
|
+
};
|
|
92
|
+
totalAssets: {
|
|
93
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
94
|
+
isOptional: false;
|
|
95
|
+
};
|
|
96
|
+
totalLiabilities: {
|
|
97
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
98
|
+
isOptional: false;
|
|
99
|
+
};
|
|
100
|
+
currency: {
|
|
101
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
102
|
+
isOptional: false;
|
|
103
|
+
};
|
|
104
|
+
orgId: {
|
|
105
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
106
|
+
isOptional: false;
|
|
107
|
+
};
|
|
108
|
+
asOf: {
|
|
109
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
110
|
+
isOptional: false;
|
|
111
|
+
};
|
|
112
|
+
}>>;
|
|
113
|
+
declare const WealthSnapshotEvents: {
|
|
114
|
+
AssetAddedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
115
|
+
assetId: {
|
|
116
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
117
|
+
isOptional: false;
|
|
118
|
+
};
|
|
119
|
+
category: {
|
|
120
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
121
|
+
isOptional: false;
|
|
122
|
+
};
|
|
123
|
+
value: {
|
|
124
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
125
|
+
isOptional: false;
|
|
126
|
+
};
|
|
127
|
+
currency: {
|
|
128
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
129
|
+
isOptional: false;
|
|
130
|
+
};
|
|
131
|
+
orgId: {
|
|
132
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
133
|
+
isOptional: false;
|
|
134
|
+
};
|
|
135
|
+
timestamp: {
|
|
136
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
137
|
+
isOptional: false;
|
|
138
|
+
};
|
|
139
|
+
}>>;
|
|
140
|
+
LiabilityAddedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
141
|
+
liabilityId: {
|
|
142
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
143
|
+
isOptional: false;
|
|
144
|
+
};
|
|
145
|
+
category: {
|
|
146
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
147
|
+
isOptional: false;
|
|
148
|
+
};
|
|
149
|
+
balance: {
|
|
150
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
151
|
+
isOptional: false;
|
|
152
|
+
};
|
|
153
|
+
currency: {
|
|
154
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
155
|
+
isOptional: false;
|
|
156
|
+
};
|
|
157
|
+
orgId: {
|
|
158
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
159
|
+
isOptional: false;
|
|
160
|
+
};
|
|
161
|
+
timestamp: {
|
|
162
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
163
|
+
isOptional: false;
|
|
164
|
+
};
|
|
165
|
+
}>>;
|
|
166
|
+
GoalUpdatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
167
|
+
goalId: {
|
|
168
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
169
|
+
isOptional: false;
|
|
170
|
+
};
|
|
171
|
+
status: {
|
|
172
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
173
|
+
isOptional: false;
|
|
174
|
+
};
|
|
175
|
+
currentAmount: {
|
|
176
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
177
|
+
isOptional: false;
|
|
178
|
+
};
|
|
179
|
+
targetAmount: {
|
|
180
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
181
|
+
isOptional: false;
|
|
182
|
+
};
|
|
183
|
+
currency: {
|
|
184
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
185
|
+
isOptional: false;
|
|
186
|
+
};
|
|
187
|
+
orgId: {
|
|
188
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
189
|
+
isOptional: false;
|
|
190
|
+
};
|
|
191
|
+
timestamp: {
|
|
192
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
193
|
+
isOptional: false;
|
|
194
|
+
};
|
|
195
|
+
}>>;
|
|
196
|
+
NetWorthSnapshotCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
197
|
+
netWorth: {
|
|
198
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
199
|
+
isOptional: false;
|
|
200
|
+
};
|
|
201
|
+
totalAssets: {
|
|
202
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
203
|
+
isOptional: false;
|
|
204
|
+
};
|
|
205
|
+
totalLiabilities: {
|
|
206
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
207
|
+
isOptional: false;
|
|
208
|
+
};
|
|
209
|
+
currency: {
|
|
210
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
211
|
+
isOptional: false;
|
|
212
|
+
};
|
|
213
|
+
orgId: {
|
|
214
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
215
|
+
isOptional: false;
|
|
216
|
+
};
|
|
217
|
+
asOf: {
|
|
218
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
219
|
+
isOptional: false;
|
|
220
|
+
};
|
|
221
|
+
}>>;
|
|
222
|
+
};
|
|
223
|
+
//#endregion
|
|
224
|
+
export { AssetAddedEvent, GoalUpdatedEvent, LiabilityAddedEvent, NetWorthSnapshotCreatedEvent, WealthSnapshotEvents };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
//#region src/example.d.ts
|
|
2
|
+
declare const example: {
|
|
3
|
+
readonly id: "wealth-snapshot";
|
|
4
|
+
readonly title: "Wealth Snapshot";
|
|
5
|
+
readonly summary: "Simple wealth overview with accounts, assets, liabilities, goals, and net-worth snapshots.";
|
|
6
|
+
readonly tags: readonly ["finance", "net-worth", "goals"];
|
|
7
|
+
readonly kind: "template";
|
|
8
|
+
readonly visibility: "public";
|
|
9
|
+
readonly docs: {
|
|
10
|
+
readonly rootDocId: "docs.examples.wealth-snapshot";
|
|
11
|
+
readonly goalDocId: "docs.examples.wealth-snapshot.goal";
|
|
12
|
+
readonly usageDocId: "docs.examples.wealth-snapshot.usage";
|
|
13
|
+
readonly constraintsDocId: "docs.examples.wealth-snapshot.constraints";
|
|
14
|
+
};
|
|
15
|
+
readonly entrypoints: {
|
|
16
|
+
readonly packageName: "@lssm/example.wealth-snapshot";
|
|
17
|
+
readonly feature: "./feature";
|
|
18
|
+
readonly contracts: "./contracts";
|
|
19
|
+
readonly presentations: "./presentations";
|
|
20
|
+
readonly handlers: "./handlers";
|
|
21
|
+
readonly docs: "./docs";
|
|
22
|
+
};
|
|
23
|
+
readonly surfaces: {
|
|
24
|
+
readonly templates: true;
|
|
25
|
+
readonly sandbox: {
|
|
26
|
+
readonly enabled: true;
|
|
27
|
+
readonly modes: readonly ["playground", "specs", "builder", "markdown", "evolution"];
|
|
28
|
+
};
|
|
29
|
+
readonly studio: {
|
|
30
|
+
readonly enabled: true;
|
|
31
|
+
readonly installable: true;
|
|
32
|
+
};
|
|
33
|
+
readonly mcp: {
|
|
34
|
+
readonly enabled: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
//#endregion
|
|
39
|
+
export { example as default };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AccountModel, AddAssetContract, AddLiabilityContract, AssetModel, CreateAccountContract, CreateGoalContract, GetNetWorthContract, GoalModel, LiabilityModel, NetWorthSnapshotModel, UpdateGoalContract } from "./contracts/index.js";
|
|
2
|
+
import { AccountEntity, AccountTypeEnum, AssetCategoryEnum, AssetEntity, GoalEntity, GoalStatusEnum, LiabilityCategoryEnum, LiabilityEntity, NetWorthSnapshotEntity, wealthSnapshotEntities, wealthSnapshotSchemaContribution } from "./entities/index.js";
|
|
3
|
+
import { AssetAddedEvent, GoalUpdatedEvent, LiabilityAddedEvent, NetWorthSnapshotCreatedEvent, WealthSnapshotEvents } from "./events.js";
|
|
4
|
+
import example from "./example.js";
|
|
5
|
+
import { registerWealthSnapshotHandlers } from "./handlers/index.js";
|
|
6
|
+
import { AccountsListPresentation, AssetsListPresentation, GoalsListPresentation, LiabilitiesListPresentation, WealthDashboardPresentation } from "./presentations.js";
|
|
7
|
+
import { WealthSnapshotFeature } from "./wealth-snapshot.feature.js";
|
|
8
|
+
import * as _lssm_lib_schema175 from "@lssm/lib.schema";
|
|
9
|
+
|
|
10
|
+
//#region src/index.d.ts
|
|
11
|
+
declare const schemaComposition: {
|
|
12
|
+
modules: _lssm_lib_schema175.ModuleSchemaContribution[];
|
|
13
|
+
provider: "postgresql";
|
|
14
|
+
outputPath: string;
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { AccountEntity, AccountModel, AccountTypeEnum, AccountsListPresentation, AddAssetContract, AddLiabilityContract, AssetAddedEvent, AssetCategoryEnum, AssetEntity, AssetModel, AssetsListPresentation, CreateAccountContract, CreateGoalContract, GetNetWorthContract, GoalEntity, GoalModel, GoalStatusEnum, GoalUpdatedEvent, GoalsListPresentation, LiabilitiesListPresentation, LiabilityAddedEvent, LiabilityCategoryEnum, LiabilityEntity, LiabilityModel, NetWorthSnapshotCreatedEvent, NetWorthSnapshotEntity, NetWorthSnapshotModel, UpdateGoalContract, WealthDashboardPresentation, WealthSnapshotEvents, WealthSnapshotFeature, example, registerWealthSnapshotHandlers, schemaComposition, wealthSnapshotEntities, wealthSnapshotSchemaContribution };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PresentationDescriptorV2 } from "@lssm/lib.contracts";
|
|
2
|
+
|
|
3
|
+
//#region src/presentations.d.ts
|
|
4
|
+
declare const WealthDashboardPresentation: PresentationDescriptorV2;
|
|
5
|
+
declare const AccountsListPresentation: PresentationDescriptorV2;
|
|
6
|
+
declare const AssetsListPresentation: PresentationDescriptorV2;
|
|
7
|
+
declare const LiabilitiesListPresentation: PresentationDescriptorV2;
|
|
8
|
+
declare const GoalsListPresentation: PresentationDescriptorV2;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { AccountsListPresentation, AssetsListPresentation, GoalsListPresentation, LiabilitiesListPresentation, WealthDashboardPresentation };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.wealth-snapshot",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251217060433",
|
|
4
4
|
"description": "Wealth Snapshot mini-app for accounts, assets, liabilities, and goals",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,30 +18,30 @@
|
|
|
18
18
|
"lint:check": "eslint src"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
22
|
-
"@lssm/lib.contracts": "0.0.0-canary-
|
|
23
|
-
"@lssm/lib.bus": "0.0.0-canary-
|
|
24
|
-
"@lssm/lib.identity-rbac": "0.0.0-canary-
|
|
25
|
-
"@lssm/module.audit-trail": "0.0.0-canary-
|
|
26
|
-
"@lssm/module.notifications": "0.0.0-canary-
|
|
21
|
+
"@lssm/lib.schema": "0.0.0-canary-20251217060433",
|
|
22
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251217060433",
|
|
23
|
+
"@lssm/lib.bus": "0.0.0-canary-20251217060433",
|
|
24
|
+
"@lssm/lib.identity-rbac": "0.0.0-canary-20251217060433",
|
|
25
|
+
"@lssm/module.audit-trail": "0.0.0-canary-20251217060433",
|
|
26
|
+
"@lssm/module.notifications": "0.0.0-canary-20251217060433",
|
|
27
27
|
"zod": "^4.1.13"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
31
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
30
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251217060433",
|
|
31
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251217060433",
|
|
32
32
|
"typescript": "^5.9.3"
|
|
33
33
|
},
|
|
34
34
|
"exports": {
|
|
35
|
-
".": "./
|
|
36
|
-
"./contracts": "./
|
|
37
|
-
"./docs": "./
|
|
38
|
-
"./docs/wealth-snapshot.docblock": "./
|
|
39
|
-
"./entities": "./
|
|
40
|
-
"./events": "./
|
|
41
|
-
"./example": "./
|
|
42
|
-
"./handlers": "./
|
|
43
|
-
"./presentations": "./
|
|
44
|
-
"./wealth-snapshot.feature": "./
|
|
35
|
+
".": "./dist/index.js",
|
|
36
|
+
"./contracts": "./dist/contracts/index.js",
|
|
37
|
+
"./docs": "./dist/docs/index.js",
|
|
38
|
+
"./docs/wealth-snapshot.docblock": "./dist/docs/wealth-snapshot.docblock.js",
|
|
39
|
+
"./entities": "./dist/entities/index.js",
|
|
40
|
+
"./events": "./dist/events.js",
|
|
41
|
+
"./example": "./dist/example.js",
|
|
42
|
+
"./handlers": "./dist/handlers/index.js",
|
|
43
|
+
"./presentations": "./dist/presentations/index.js",
|
|
44
|
+
"./wealth-snapshot.feature": "./dist/wealth-snapshot.feature.js",
|
|
45
45
|
"./*": "./*"
|
|
46
46
|
},
|
|
47
47
|
"module": "./dist/index.js",
|