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