@contractspec/example.wealth-snapshot 1.57.0 → 1.59.0
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/browser/docs/index.js +93 -0
- package/dist/browser/docs/wealth-snapshot.docblock.js +93 -0
- package/dist/browser/entities/index.js +191 -0
- package/dist/browser/events.js +111 -0
- package/dist/browser/example.js +42 -0
- package/dist/browser/handlers/index.js +5 -0
- package/dist/browser/index.js +885 -0
- package/dist/browser/operations/index.js +238 -0
- package/dist/browser/presentations/index.js +11 -0
- package/dist/browser/presentations.js +124 -0
- package/dist/browser/wealth-snapshot.capability.js +40 -0
- package/dist/browser/wealth-snapshot.feature.js +72 -0
- package/dist/docs/index.d.ts +2 -1
- package/dist/docs/index.d.ts.map +1 -0
- package/dist/docs/index.js +94 -1
- package/dist/docs/wealth-snapshot.docblock.d.ts +2 -1
- package/dist/docs/wealth-snapshot.docblock.d.ts.map +1 -0
- package/dist/docs/wealth-snapshot.docblock.js +45 -55
- package/dist/entities/index.d.ts +120 -125
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +181 -219
- package/dist/events.d.ts +167 -173
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +103 -172
- package/dist/example.d.ts +2 -6
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +41 -54
- package/dist/handlers/index.d.ts +1 -4
- package/dist/handlers/index.d.ts.map +1 -1
- package/dist/handlers/index.js +5 -8
- package/dist/index.d.ts +12 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +882 -23
- package/dist/node/docs/index.js +93 -0
- package/dist/node/docs/wealth-snapshot.docblock.js +93 -0
- package/dist/node/entities/index.js +191 -0
- package/dist/node/events.js +111 -0
- package/dist/node/example.js +42 -0
- package/dist/node/handlers/index.js +5 -0
- package/dist/node/index.js +885 -0
- package/dist/node/operations/index.js +238 -0
- package/dist/node/presentations/index.js +11 -0
- package/dist/node/presentations.js +124 -0
- package/dist/node/wealth-snapshot.capability.js +40 -0
- package/dist/node/wealth-snapshot.feature.js +72 -0
- package/dist/operations/index.d.ts +392 -398
- package/dist/operations/index.d.ts.map +1 -1
- package/dist/operations/index.js +237 -425
- package/dist/presentations/index.d.ts +1 -4
- package/dist/presentations/index.d.ts.map +1 -1
- package/dist/presentations/index.js +11 -11
- package/dist/presentations.d.ts +5 -10
- package/dist/presentations.d.ts.map +1 -1
- package/dist/presentations.js +120 -127
- package/dist/wealth-snapshot.capability.d.ts +3 -8
- package/dist/wealth-snapshot.capability.d.ts.map +1 -1
- package/dist/wealth-snapshot.capability.js +41 -46
- package/dist/wealth-snapshot.feature.d.ts +1 -6
- package/dist/wealth-snapshot.feature.d.ts.map +1 -1
- package/dist/wealth-snapshot.feature.js +71 -139
- package/package.json +144 -37
- package/dist/docs/wealth-snapshot.docblock.js.map +0 -1
- package/dist/entities/index.js.map +0 -1
- package/dist/events.js.map +0 -1
- package/dist/example.js.map +0 -1
- package/dist/handlers/index.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/operations/index.js.map +0 -1
- package/dist/presentations/index.js.map +0 -1
- package/dist/presentations.js.map +0 -1
- package/dist/wealth-snapshot.capability.js.map +0 -1
- package/dist/wealth-snapshot.feature.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/presentations/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,UAMvC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
// @bun
|
|
2
|
+
// src/presentations/index.ts
|
|
3
|
+
var WealthSnapshotPresentations = [
|
|
4
|
+
"wealth-snapshot.dashboard",
|
|
5
|
+
"wealth-snapshot.accounts.list",
|
|
6
|
+
"wealth-snapshot.assets.list",
|
|
7
|
+
"wealth-snapshot.liabilities.list",
|
|
8
|
+
"wealth-snapshot.goals.list"
|
|
8
9
|
];
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
10
|
+
export {
|
|
11
|
+
WealthSnapshotPresentations
|
|
12
|
+
};
|
package/dist/presentations.d.ts
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare const
|
|
5
|
-
declare const
|
|
6
|
-
declare const AssetsListPresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
7
|
-
declare const LiabilitiesListPresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
8
|
-
declare const GoalsListPresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { AccountsListPresentation, AssetsListPresentation, GoalsListPresentation, LiabilitiesListPresentation, WealthDashboardPresentation };
|
|
1
|
+
export declare const WealthDashboardPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
2
|
+
export declare const AccountsListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
3
|
+
export declare const AssetsListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
4
|
+
export declare const LiabilitiesListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
5
|
+
export declare const GoalsListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
11
6
|
//# sourceMappingURL=presentations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presentations.d.ts","
|
|
1
|
+
{"version":3,"file":"presentations.d.ts","sourceRoot":"","sources":["../src/presentations.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,wDAsBtC,CAAC;AAEH,eAAO,MAAM,wBAAwB,wDAsBnC,CAAC;AAEH,eAAO,MAAM,sBAAsB,wDAsBjC,CAAC;AAEH,eAAO,MAAM,2BAA2B,wDAsBtC,CAAC;AAEH,eAAO,MAAM,qBAAqB,wDAsBhC,CAAC"}
|
package/dist/presentations.js
CHANGED
|
@@ -1,132 +1,125 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
targets: ["react", "markdown"],
|
|
27
|
-
policy: { flags: ["wealth.dashboard.enabled"] }
|
|
1
|
+
// @bun
|
|
2
|
+
// src/presentations.ts
|
|
3
|
+
import { definePresentation, StabilityEnum } from "@contractspec/lib.contracts";
|
|
4
|
+
var WealthDashboardPresentation = definePresentation({
|
|
5
|
+
meta: {
|
|
6
|
+
key: "wealth-snapshot.dashboard",
|
|
7
|
+
version: "1.0.0",
|
|
8
|
+
title: "Wealth Dashboard",
|
|
9
|
+
description: "Wealth snapshot dashboard with net worth overview",
|
|
10
|
+
domain: "finance",
|
|
11
|
+
owners: ["@wealth-snapshot"],
|
|
12
|
+
tags: ["finance", "wealth", "dashboard"],
|
|
13
|
+
stability: StabilityEnum.Experimental,
|
|
14
|
+
goal: "Overview of wealth",
|
|
15
|
+
context: "Dashboard"
|
|
16
|
+
},
|
|
17
|
+
source: {
|
|
18
|
+
type: "component",
|
|
19
|
+
framework: "react",
|
|
20
|
+
componentKey: "WealthDashboard"
|
|
21
|
+
},
|
|
22
|
+
targets: ["react", "markdown"],
|
|
23
|
+
policy: {
|
|
24
|
+
flags: ["wealth.dashboard.enabled"]
|
|
25
|
+
}
|
|
28
26
|
});
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
targets: ["react", "markdown"],
|
|
52
|
-
policy: { flags: ["wealth.accounts.enabled"] }
|
|
27
|
+
var AccountsListPresentation = definePresentation({
|
|
28
|
+
meta: {
|
|
29
|
+
key: "wealth-snapshot.accounts.list",
|
|
30
|
+
version: "1.0.0",
|
|
31
|
+
title: "Accounts List",
|
|
32
|
+
description: "List of financial accounts",
|
|
33
|
+
domain: "finance",
|
|
34
|
+
owners: ["@wealth-snapshot"],
|
|
35
|
+
tags: ["finance", "accounts", "list"],
|
|
36
|
+
stability: StabilityEnum.Experimental,
|
|
37
|
+
goal: "List accounts",
|
|
38
|
+
context: "Overview"
|
|
39
|
+
},
|
|
40
|
+
source: {
|
|
41
|
+
type: "component",
|
|
42
|
+
framework: "react",
|
|
43
|
+
componentKey: "AccountsList"
|
|
44
|
+
},
|
|
45
|
+
targets: ["react", "markdown"],
|
|
46
|
+
policy: {
|
|
47
|
+
flags: ["wealth.accounts.enabled"]
|
|
48
|
+
}
|
|
53
49
|
});
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
targets: ["react", "markdown"],
|
|
77
|
-
policy: { flags: ["wealth.assets.enabled"] }
|
|
50
|
+
var AssetsListPresentation = definePresentation({
|
|
51
|
+
meta: {
|
|
52
|
+
key: "wealth-snapshot.assets.list",
|
|
53
|
+
version: "1.0.0",
|
|
54
|
+
title: "Assets List",
|
|
55
|
+
description: "List of assets with valuations",
|
|
56
|
+
domain: "finance",
|
|
57
|
+
owners: ["@wealth-snapshot"],
|
|
58
|
+
tags: ["finance", "assets", "list"],
|
|
59
|
+
stability: StabilityEnum.Experimental,
|
|
60
|
+
goal: "List assets",
|
|
61
|
+
context: "Overview"
|
|
62
|
+
},
|
|
63
|
+
source: {
|
|
64
|
+
type: "component",
|
|
65
|
+
framework: "react",
|
|
66
|
+
componentKey: "AssetsList"
|
|
67
|
+
},
|
|
68
|
+
targets: ["react", "markdown"],
|
|
69
|
+
policy: {
|
|
70
|
+
flags: ["wealth.assets.enabled"]
|
|
71
|
+
}
|
|
78
72
|
});
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
targets: ["react", "markdown"],
|
|
102
|
-
policy: { flags: ["wealth.liabilities.enabled"] }
|
|
73
|
+
var LiabilitiesListPresentation = definePresentation({
|
|
74
|
+
meta: {
|
|
75
|
+
key: "wealth-snapshot.liabilities.list",
|
|
76
|
+
version: "1.0.0",
|
|
77
|
+
title: "Liabilities List",
|
|
78
|
+
description: "List of liabilities and debts",
|
|
79
|
+
domain: "finance",
|
|
80
|
+
owners: ["@wealth-snapshot"],
|
|
81
|
+
tags: ["finance", "liabilities", "list"],
|
|
82
|
+
stability: StabilityEnum.Experimental,
|
|
83
|
+
goal: "List liabilities",
|
|
84
|
+
context: "Overview"
|
|
85
|
+
},
|
|
86
|
+
source: {
|
|
87
|
+
type: "component",
|
|
88
|
+
framework: "react",
|
|
89
|
+
componentKey: "LiabilitiesList"
|
|
90
|
+
},
|
|
91
|
+
targets: ["react", "markdown"],
|
|
92
|
+
policy: {
|
|
93
|
+
flags: ["wealth.liabilities.enabled"]
|
|
94
|
+
}
|
|
103
95
|
});
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
targets: ["react", "markdown"],
|
|
127
|
-
policy: { flags: ["wealth.goals.enabled"] }
|
|
96
|
+
var GoalsListPresentation = definePresentation({
|
|
97
|
+
meta: {
|
|
98
|
+
key: "wealth-snapshot.goals.list",
|
|
99
|
+
version: "1.0.0",
|
|
100
|
+
title: "Goals List",
|
|
101
|
+
description: "List of financial goals with progress",
|
|
102
|
+
domain: "finance",
|
|
103
|
+
owners: ["@wealth-snapshot"],
|
|
104
|
+
tags: ["finance", "goals", "list"],
|
|
105
|
+
stability: StabilityEnum.Experimental,
|
|
106
|
+
goal: "List goals",
|
|
107
|
+
context: "Overview"
|
|
108
|
+
},
|
|
109
|
+
source: {
|
|
110
|
+
type: "component",
|
|
111
|
+
framework: "react",
|
|
112
|
+
componentKey: "GoalsList"
|
|
113
|
+
},
|
|
114
|
+
targets: ["react", "markdown"],
|
|
115
|
+
policy: {
|
|
116
|
+
flags: ["wealth.goals.enabled"]
|
|
117
|
+
}
|
|
128
118
|
});
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
119
|
+
export {
|
|
120
|
+
WealthDashboardPresentation,
|
|
121
|
+
LiabilitiesListPresentation,
|
|
122
|
+
GoalsListPresentation,
|
|
123
|
+
AssetsListPresentation,
|
|
124
|
+
AccountsListPresentation
|
|
125
|
+
};
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare const AccountsCapability: _contractspec_lib_contracts0.CapabilitySpec;
|
|
5
|
-
declare const NetWorthCapability: _contractspec_lib_contracts0.CapabilitySpec;
|
|
6
|
-
declare const GoalsCapability: _contractspec_lib_contracts0.CapabilitySpec;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { AccountsCapability, GoalsCapability, NetWorthCapability };
|
|
1
|
+
export declare const AccountsCapability: import("@contractspec/lib.contracts").CapabilitySpec;
|
|
2
|
+
export declare const NetWorthCapability: import("@contractspec/lib.contracts").CapabilitySpec;
|
|
3
|
+
export declare const GoalsCapability: import("@contractspec/lib.contracts").CapabilitySpec;
|
|
9
4
|
//# sourceMappingURL=wealth-snapshot.capability.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wealth-snapshot.capability.d.ts","
|
|
1
|
+
{"version":3,"file":"wealth-snapshot.capability.d.ts","sourceRoot":"","sources":["../src/wealth-snapshot.capability.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,sDAU7B,CAAC;AAEH,eAAO,MAAM,kBAAkB,sDAU7B,CAAC;AAEH,eAAO,MAAM,eAAe,sDAU1B,CAAC"}
|
|
@@ -1,46 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} });
|
|
43
|
-
|
|
44
|
-
//#endregion
|
|
45
|
-
export { AccountsCapability, GoalsCapability, NetWorthCapability };
|
|
46
|
-
//# sourceMappingURL=wealth-snapshot.capability.js.map
|
|
1
|
+
// @bun
|
|
2
|
+
// src/wealth-snapshot.capability.ts
|
|
3
|
+
import { defineCapability, StabilityEnum } from "@contractspec/lib.contracts";
|
|
4
|
+
var AccountsCapability = defineCapability({
|
|
5
|
+
meta: {
|
|
6
|
+
key: "accounts",
|
|
7
|
+
version: "1.0.0",
|
|
8
|
+
kind: "data",
|
|
9
|
+
stability: StabilityEnum.Experimental,
|
|
10
|
+
description: "Financial accounts tracking and aggregation",
|
|
11
|
+
owners: ["platform.finance"],
|
|
12
|
+
tags: ["accounts", "finance", "wealth"]
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
var NetWorthCapability = defineCapability({
|
|
16
|
+
meta: {
|
|
17
|
+
key: "net-worth",
|
|
18
|
+
version: "1.0.0",
|
|
19
|
+
kind: "ui",
|
|
20
|
+
stability: StabilityEnum.Experimental,
|
|
21
|
+
description: "Net worth visualization and tracking",
|
|
22
|
+
owners: ["platform.finance"],
|
|
23
|
+
tags: ["net-worth", "wealth", "dashboard"]
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
var GoalsCapability = defineCapability({
|
|
27
|
+
meta: {
|
|
28
|
+
key: "goals",
|
|
29
|
+
version: "1.0.0",
|
|
30
|
+
kind: "ui",
|
|
31
|
+
stability: StabilityEnum.Experimental,
|
|
32
|
+
description: "Financial goal setting and progress tracking",
|
|
33
|
+
owners: ["platform.finance"],
|
|
34
|
+
tags: ["goals", "planning", "wealth"]
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
export {
|
|
38
|
+
NetWorthCapability,
|
|
39
|
+
GoalsCapability,
|
|
40
|
+
AccountsCapability
|
|
41
|
+
};
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
//#region src/wealth-snapshot.feature.d.ts
|
|
4
|
-
declare const WealthSnapshotFeature: _contractspec_lib_contracts0.FeatureModuleSpec;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { WealthSnapshotFeature };
|
|
1
|
+
export declare const WealthSnapshotFeature: import("@contractspec/lib.contracts").FeatureModuleSpec;
|
|
7
2
|
//# sourceMappingURL=wealth-snapshot.feature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wealth-snapshot.feature.d.ts","
|
|
1
|
+
{"version":3,"file":"wealth-snapshot.feature.d.ts","sourceRoot":"","sources":["../src/wealth-snapshot.feature.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,yDAmEhC,CAAC"}
|