@lssm/example.wealth-snapshot 0.0.0-canary-20251217080011 → 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/entities/index.d.ts +119 -119
- package/dist/events.d.ts +59 -59
- package/package.json +9 -9
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
|
|
1
|
+
import * as _lssm_lib_schema228 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts5 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/events.d.ts
|
|
5
|
-
declare const AssetAddedEvent: _lssm_lib_contracts5.EventSpec<
|
|
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: _lssm_lib_contracts5.EventSpec<
|
|
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: _lssm_lib_contracts5.EventSpec<
|
|
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: _lssm_lib_contracts5.EventSpec<
|
|
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: _lssm_lib_contracts5.EventSpec<
|
|
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: _lssm_lib_contracts5.EventSpec<
|
|
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: _lssm_lib_contracts5.EventSpec<
|
|
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: _lssm_lib_contracts5.EventSpec<
|
|
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/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": {
|