@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.
Files changed (72) hide show
  1. package/dist/browser/docs/index.js +93 -0
  2. package/dist/browser/docs/wealth-snapshot.docblock.js +93 -0
  3. package/dist/browser/entities/index.js +191 -0
  4. package/dist/browser/events.js +111 -0
  5. package/dist/browser/example.js +42 -0
  6. package/dist/browser/handlers/index.js +5 -0
  7. package/dist/browser/index.js +885 -0
  8. package/dist/browser/operations/index.js +238 -0
  9. package/dist/browser/presentations/index.js +11 -0
  10. package/dist/browser/presentations.js +124 -0
  11. package/dist/browser/wealth-snapshot.capability.js +40 -0
  12. package/dist/browser/wealth-snapshot.feature.js +72 -0
  13. package/dist/docs/index.d.ts +2 -1
  14. package/dist/docs/index.d.ts.map +1 -0
  15. package/dist/docs/index.js +94 -1
  16. package/dist/docs/wealth-snapshot.docblock.d.ts +2 -1
  17. package/dist/docs/wealth-snapshot.docblock.d.ts.map +1 -0
  18. package/dist/docs/wealth-snapshot.docblock.js +45 -55
  19. package/dist/entities/index.d.ts +120 -125
  20. package/dist/entities/index.d.ts.map +1 -1
  21. package/dist/entities/index.js +181 -219
  22. package/dist/events.d.ts +167 -173
  23. package/dist/events.d.ts.map +1 -1
  24. package/dist/events.js +103 -172
  25. package/dist/example.d.ts +2 -6
  26. package/dist/example.d.ts.map +1 -1
  27. package/dist/example.js +41 -54
  28. package/dist/handlers/index.d.ts +1 -4
  29. package/dist/handlers/index.d.ts.map +1 -1
  30. package/dist/handlers/index.js +5 -8
  31. package/dist/index.d.ts +12 -16
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.js +882 -23
  34. package/dist/node/docs/index.js +93 -0
  35. package/dist/node/docs/wealth-snapshot.docblock.js +93 -0
  36. package/dist/node/entities/index.js +191 -0
  37. package/dist/node/events.js +111 -0
  38. package/dist/node/example.js +42 -0
  39. package/dist/node/handlers/index.js +5 -0
  40. package/dist/node/index.js +885 -0
  41. package/dist/node/operations/index.js +238 -0
  42. package/dist/node/presentations/index.js +11 -0
  43. package/dist/node/presentations.js +124 -0
  44. package/dist/node/wealth-snapshot.capability.js +40 -0
  45. package/dist/node/wealth-snapshot.feature.js +72 -0
  46. package/dist/operations/index.d.ts +392 -398
  47. package/dist/operations/index.d.ts.map +1 -1
  48. package/dist/operations/index.js +237 -425
  49. package/dist/presentations/index.d.ts +1 -4
  50. package/dist/presentations/index.d.ts.map +1 -1
  51. package/dist/presentations/index.js +11 -11
  52. package/dist/presentations.d.ts +5 -10
  53. package/dist/presentations.d.ts.map +1 -1
  54. package/dist/presentations.js +120 -127
  55. package/dist/wealth-snapshot.capability.d.ts +3 -8
  56. package/dist/wealth-snapshot.capability.d.ts.map +1 -1
  57. package/dist/wealth-snapshot.capability.js +41 -46
  58. package/dist/wealth-snapshot.feature.d.ts +1 -6
  59. package/dist/wealth-snapshot.feature.d.ts.map +1 -1
  60. package/dist/wealth-snapshot.feature.js +71 -139
  61. package/package.json +144 -37
  62. package/dist/docs/wealth-snapshot.docblock.js.map +0 -1
  63. package/dist/entities/index.js.map +0 -1
  64. package/dist/events.js.map +0 -1
  65. package/dist/example.js.map +0 -1
  66. package/dist/handlers/index.js.map +0 -1
  67. package/dist/index.js.map +0 -1
  68. package/dist/operations/index.js.map +0 -1
  69. package/dist/presentations/index.js.map +0 -1
  70. package/dist/presentations.js.map +0 -1
  71. package/dist/wealth-snapshot.capability.js.map +0 -1
  72. package/dist/wealth-snapshot.feature.js.map +0 -1
@@ -1,5 +1,2 @@
1
- //#region src/presentations/index.d.ts
2
- declare const WealthSnapshotPresentations: string[];
3
- //#endregion
4
- export { WealthSnapshotPresentations };
1
+ export declare const WealthSnapshotPresentations: string[];
5
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/presentations/index.ts"],"mappings":";cAAa,2BAAA"}
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
- //#region src/presentations/index.ts
2
- const WealthSnapshotPresentations = [
3
- "wealth-snapshot.dashboard",
4
- "wealth-snapshot.accounts.list",
5
- "wealth-snapshot.assets.list",
6
- "wealth-snapshot.liabilities.list",
7
- "wealth-snapshot.goals.list"
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
- //#endregion
11
- export { WealthSnapshotPresentations };
12
- //# sourceMappingURL=index.js.map
10
+ export {
11
+ WealthSnapshotPresentations
12
+ };
@@ -1,11 +1,6 @@
1
- import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
-
3
- //#region src/presentations.d.ts
4
- declare const WealthDashboardPresentation: _contractspec_lib_contracts0.PresentationSpec;
5
- declare const AccountsListPresentation: _contractspec_lib_contracts0.PresentationSpec;
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","names":[],"sources":["../src/presentations.ts"],"mappings":";;;cAEa,2BAAA,EAsBX,4BAAA,CAtBsC,gBAAA;AAAA,cAwB3B,wBAAA,EAsBX,4BAAA,CAtBmC,gBAAA;AAAA,cAwBxB,sBAAA,EAsBX,4BAAA,CAtBiC,gBAAA;AAAA,cAwBtB,2BAAA,EAsBX,4BAAA,CAtBsC,gBAAA;AAAA,cAwB3B,qBAAA,EAsBX,4BAAA,CAtBgC,gBAAA"}
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"}
@@ -1,132 +1,125 @@
1
- import { StabilityEnum, definePresentation } from "@contractspec/lib.contracts";
2
-
3
- //#region src/presentations.ts
4
- const 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: [
13
- "finance",
14
- "wealth",
15
- "dashboard"
16
- ],
17
- stability: StabilityEnum.Experimental,
18
- goal: "Overview of wealth",
19
- context: "Dashboard"
20
- },
21
- source: {
22
- type: "component",
23
- framework: "react",
24
- componentKey: "WealthDashboard"
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
- const AccountsListPresentation = definePresentation({
30
- meta: {
31
- key: "wealth-snapshot.accounts.list",
32
- version: "1.0.0",
33
- title: "Accounts List",
34
- description: "List of financial accounts",
35
- domain: "finance",
36
- owners: ["@wealth-snapshot"],
37
- tags: [
38
- "finance",
39
- "accounts",
40
- "list"
41
- ],
42
- stability: StabilityEnum.Experimental,
43
- goal: "List accounts",
44
- context: "Overview"
45
- },
46
- source: {
47
- type: "component",
48
- framework: "react",
49
- componentKey: "AccountsList"
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
- const AssetsListPresentation = definePresentation({
55
- meta: {
56
- key: "wealth-snapshot.assets.list",
57
- version: "1.0.0",
58
- title: "Assets List",
59
- description: "List of assets with valuations",
60
- domain: "finance",
61
- owners: ["@wealth-snapshot"],
62
- tags: [
63
- "finance",
64
- "assets",
65
- "list"
66
- ],
67
- stability: StabilityEnum.Experimental,
68
- goal: "List assets",
69
- context: "Overview"
70
- },
71
- source: {
72
- type: "component",
73
- framework: "react",
74
- componentKey: "AssetsList"
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
- const LiabilitiesListPresentation = definePresentation({
80
- meta: {
81
- key: "wealth-snapshot.liabilities.list",
82
- version: "1.0.0",
83
- title: "Liabilities List",
84
- description: "List of liabilities and debts",
85
- domain: "finance",
86
- owners: ["@wealth-snapshot"],
87
- tags: [
88
- "finance",
89
- "liabilities",
90
- "list"
91
- ],
92
- stability: StabilityEnum.Experimental,
93
- goal: "List liabilities",
94
- context: "Overview"
95
- },
96
- source: {
97
- type: "component",
98
- framework: "react",
99
- componentKey: "LiabilitiesList"
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
- const GoalsListPresentation = definePresentation({
105
- meta: {
106
- key: "wealth-snapshot.goals.list",
107
- version: "1.0.0",
108
- title: "Goals List",
109
- description: "List of financial goals with progress",
110
- domain: "finance",
111
- owners: ["@wealth-snapshot"],
112
- tags: [
113
- "finance",
114
- "goals",
115
- "list"
116
- ],
117
- stability: StabilityEnum.Experimental,
118
- goal: "List goals",
119
- context: "Overview"
120
- },
121
- source: {
122
- type: "component",
123
- framework: "react",
124
- componentKey: "GoalsList"
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
- //#endregion
131
- export { AccountsListPresentation, AssetsListPresentation, GoalsListPresentation, LiabilitiesListPresentation, WealthDashboardPresentation };
132
- //# sourceMappingURL=presentations.js.map
119
+ export {
120
+ WealthDashboardPresentation,
121
+ LiabilitiesListPresentation,
122
+ GoalsListPresentation,
123
+ AssetsListPresentation,
124
+ AccountsListPresentation
125
+ };
@@ -1,9 +1,4 @@
1
- import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
-
3
- //#region src/wealth-snapshot.capability.d.ts
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","names":[],"sources":["../src/wealth-snapshot.capability.ts"],"mappings":";;;cAEa,kBAAA,EAUX,4BAAA,CAV6B,cAAA;AAAA,cAYlB,kBAAA,EAUX,4BAAA,CAV6B,cAAA;AAAA,cAYlB,eAAA,EAUX,4BAAA,CAV0B,cAAA"}
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
- import { StabilityEnum, defineCapability } from "@contractspec/lib.contracts";
2
-
3
- //#region src/wealth-snapshot.capability.ts
4
- const AccountsCapability = defineCapability({ meta: {
5
- key: "accounts",
6
- version: "1.0.0",
7
- kind: "data",
8
- stability: StabilityEnum.Experimental,
9
- description: "Financial accounts tracking and aggregation",
10
- owners: ["platform.finance"],
11
- tags: [
12
- "accounts",
13
- "finance",
14
- "wealth"
15
- ]
16
- } });
17
- const NetWorthCapability = defineCapability({ meta: {
18
- key: "net-worth",
19
- version: "1.0.0",
20
- kind: "ui",
21
- stability: StabilityEnum.Experimental,
22
- description: "Net worth visualization and tracking",
23
- owners: ["platform.finance"],
24
- tags: [
25
- "net-worth",
26
- "wealth",
27
- "dashboard"
28
- ]
29
- } });
30
- const GoalsCapability = defineCapability({ meta: {
31
- key: "goals",
32
- version: "1.0.0",
33
- kind: "ui",
34
- stability: StabilityEnum.Experimental,
35
- description: "Financial goal setting and progress tracking",
36
- owners: ["platform.finance"],
37
- tags: [
38
- "goals",
39
- "planning",
40
- "wealth"
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
- import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
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","names":[],"sources":["../src/wealth-snapshot.feature.ts"],"mappings":";;;cAEa,qBAAA,EAmEX,4BAAA,CAnEgC,iBAAA"}
1
+ {"version":3,"file":"wealth-snapshot.feature.d.ts","sourceRoot":"","sources":["../src/wealth-snapshot.feature.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,yDAmEhC,CAAC"}