@lssm/example.wealth-snapshot 0.0.0-canary-20251221114240 → 0.0.0-canary-20251221144710
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 +111 -111
- package/dist/contracts/index.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/libs/contracts/dist/_virtual/rolldown_runtime.js +6 -0
- package/dist/libs/contracts/dist/_virtual/rolldown_runtime.js.map +1 -0
- package/dist/libs/contracts/dist/capabilities/index.js +1 -0
- package/dist/libs/contracts/dist/client/react/feature-render.js +2 -1
- package/dist/libs/contracts/dist/client/react/form-render.js +1 -0
- package/dist/libs/contracts/dist/data-views/data-views.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -2
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/features.js +1 -0
- package/dist/libs/contracts/dist/forms/forms.js +1 -0
- package/dist/libs/contracts/dist/index.js +23 -9
- package/dist/libs/contracts/dist/index.js.map +1 -0
- package/dist/libs/contracts/dist/install.js +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +2 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +2 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +2 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/{contracts.js → operations.js} +4 -3
- package/dist/libs/contracts/dist/integrations/operations.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/{contracts.js → operations.js} +4 -3
- package/dist/libs/contracts/dist/knowledge/operations.js.map +1 -0
- package/dist/libs/contracts/dist/llm/exporters.js +1 -0
- package/dist/libs/contracts/dist/llm/exporters.js.map +1 -1
- package/dist/libs/contracts/dist/onboarding-base.js +2 -1
- package/dist/libs/contracts/dist/onboarding-base.js.map +1 -1
- package/dist/libs/contracts/dist/operations/index.js +2 -0
- package/dist/libs/contracts/dist/{operation.js → operations/operation.js} +1 -1
- package/dist/libs/contracts/dist/operations/operation.js.map +1 -0
- package/dist/libs/contracts/dist/operations/registry.js +2 -0
- package/dist/libs/contracts/dist/presentations/index.js +2 -0
- package/dist/libs/contracts/dist/presentations/presentations.js +2 -0
- package/dist/libs/contracts/dist/{presentations.v2.js → presentations/transform-engine.js} +2 -2
- package/dist/libs/contracts/dist/presentations/transform-engine.js.map +1 -0
- package/dist/libs/contracts/dist/registry-utils.js +24 -0
- package/dist/libs/contracts/dist/registry-utils.js.map +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +3 -2
- package/dist/libs/contracts/dist/workflow/index.js +1 -0
- package/dist/libs/contracts/dist/workflow/spec.js +1 -0
- package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js +25 -1
- package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/_virtual/rolldown_runtime.js +6 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/_virtual/rolldown_runtime.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/capabilities/index.js +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/client/react/feature-render.js +2 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/client/react/form-render.js +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/data-views/data-views.js +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -2
- package/dist/libs/identity-rbac/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/features.js +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/forms/forms.js +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/index.js +21 -7
- package/dist/libs/identity-rbac/dist/contracts/dist/index.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/install.js +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/openbanking/contracts/accounts.js +2 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/openbanking/contracts/balances.js +2 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/openbanking/contracts/transactions.js +2 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/{contracts.js → operations.js} +4 -3
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/operations.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/knowledge/{contracts.js → operations.js} +4 -3
- package/dist/libs/identity-rbac/dist/contracts/dist/knowledge/operations.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/llm/exporters.js +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/onboarding-base.js +2 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/onboarding-base.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/operations/index.js +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/{operation.js → operations/operation.js} +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/operations/operation.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/operations/registry.js +2 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/presentations/index.js +2 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/presentations/presentations.js +2 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/{presentations.v2.js → presentations/transform-engine.js} +2 -2
- package/dist/libs/identity-rbac/dist/contracts/dist/presentations/transform-engine.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/registry-utils.js +24 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/registry-utils.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/server/mcp/registerPresentations.js +3 -2
- package/dist/libs/identity-rbac/dist/contracts/dist/workflow/index.js +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/workflow/spec.js +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/workspace-config/contractsrc-schema.js +25 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/workspace-config/contractsrc-schema.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/organization.js +1 -1
- package/dist/libs/identity-rbac/dist/contracts/organization.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/rbac.js +1 -1
- package/dist/libs/identity-rbac/dist/contracts/rbac.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/user.js +1 -1
- package/dist/libs/identity-rbac/dist/contracts/user.js.map +1 -1
- package/dist/modules/audit-trail/dist/contracts/index.js +1 -1
- package/dist/modules/audit-trail/dist/contracts/index.js.map +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/_virtual/rolldown_runtime.js +6 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/_virtual/rolldown_runtime.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/capabilities/index.js +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/client/react/feature-render.js +2 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/client/react/form-render.js +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/data-views/data-views.js +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -2
- package/dist/modules/audit-trail/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/features.js +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/forms/forms.js +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/index.js +21 -7
- package/dist/modules/audit-trail/dist/libs/contracts/dist/index.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/install.js +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +2 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +2 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +2 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/{contracts.js → operations.js} +4 -3
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/operations.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/knowledge/{contracts.js → operations.js} +4 -3
- package/dist/modules/audit-trail/dist/libs/contracts/dist/knowledge/operations.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/llm/exporters.js +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/onboarding-base.js +2 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/onboarding-base.js.map +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/operations/index.js +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/{operation.js → operations/operation.js} +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/operations/operation.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/operations/registry.js +2 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/presentations/index.js +2 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/presentations/presentations.js +2 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/{presentations.v2.js → presentations/transform-engine.js} +2 -2
- package/dist/modules/audit-trail/dist/libs/contracts/dist/presentations/transform-engine.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/registry-utils.js +24 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/registry-utils.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/server/mcp/registerPresentations.js +3 -2
- package/dist/modules/audit-trail/dist/libs/contracts/dist/workflow/index.js +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/workflow/spec.js +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js +25 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js.map +1 -1
- package/dist/modules/notifications/dist/contracts/index.js +1 -1
- package/dist/modules/notifications/dist/contracts/index.js.map +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/_virtual/rolldown_runtime.js +6 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/_virtual/rolldown_runtime.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/capabilities/index.js +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/client/react/feature-render.js +2 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/client/react/form-render.js +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/data-views/data-views.js +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -2
- package/dist/modules/notifications/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/features.js +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/forms/forms.js +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/index.js +21 -7
- package/dist/modules/notifications/dist/libs/contracts/dist/index.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/install.js +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +2 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +2 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +2 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/{contracts.js → operations.js} +4 -3
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/operations.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/knowledge/{contracts.js → operations.js} +4 -3
- package/dist/modules/notifications/dist/libs/contracts/dist/knowledge/operations.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/llm/exporters.js +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/onboarding-base.js +2 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/onboarding-base.js.map +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/operations/index.js +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/{operation.js → operations/operation.js} +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/operations/operation.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/operations/registry.js +2 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/presentations/index.js +2 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/presentations/presentations.js +2 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/{presentations.v2.js → presentations/transform-engine.js} +2 -2
- package/dist/modules/notifications/dist/libs/contracts/dist/presentations/transform-engine.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/registry-utils.js +24 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/registry-utils.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/server/mcp/registerPresentations.js +3 -2
- package/dist/modules/notifications/dist/libs/contracts/dist/workflow/index.js +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/workflow/spec.js +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js +25 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js.map +1 -1
- package/package.json +9 -9
- package/dist/libs/contracts/dist/integrations/contracts.js.map +0 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js.map +0 -1
- package/dist/libs/contracts/dist/operation.js.map +0 -1
- package/dist/libs/contracts/dist/presentations.js +0 -1
- package/dist/libs/contracts/dist/presentations.v2.js.map +0 -1
- package/dist/libs/contracts/dist/registry.js +0 -2
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/contracts.js.map +0 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/knowledge/contracts.js.map +0 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/operation.js.map +0 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/presentations.js +0 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/presentations.v2.js.map +0 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/registry.js +0 -2
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/contracts.js.map +0 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/knowledge/contracts.js.map +0 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/operation.js.map +0 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/presentations.js +0 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/presentations.v2.js.map +0 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/registry.js +0 -2
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/contracts.js.map +0 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/knowledge/contracts.js.map +0 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/operation.js.map +0 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/presentations.js +0 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/presentations.v2.js.map +0 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/registry.js +0 -2
|
@@ -1,378 +1,378 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema58 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts7 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/contracts/index.d.ts
|
|
5
|
-
declare const AccountModel:
|
|
5
|
+
declare const AccountModel: _lssm_lib_schema58.SchemaModel<{
|
|
6
6
|
id: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
name: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
type: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
currency: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
balance: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
}>;
|
|
27
|
-
declare const AssetModel:
|
|
27
|
+
declare const AssetModel: _lssm_lib_schema58.SchemaModel<{
|
|
28
28
|
id: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
name: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
category: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
value: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
currency: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
}>;
|
|
49
|
-
declare const LiabilityModel:
|
|
49
|
+
declare const LiabilityModel: _lssm_lib_schema58.SchemaModel<{
|
|
50
50
|
id: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
name: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
category: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
balance: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
currency: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
}>;
|
|
71
|
-
declare const GoalModel:
|
|
71
|
+
declare const GoalModel: _lssm_lib_schema58.SchemaModel<{
|
|
72
72
|
id: {
|
|
73
|
-
type:
|
|
73
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
74
74
|
isOptional: false;
|
|
75
75
|
};
|
|
76
76
|
name: {
|
|
77
|
-
type:
|
|
77
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
78
78
|
isOptional: false;
|
|
79
79
|
};
|
|
80
80
|
targetAmount: {
|
|
81
|
-
type:
|
|
81
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
82
82
|
isOptional: false;
|
|
83
83
|
};
|
|
84
84
|
currentAmount: {
|
|
85
|
-
type:
|
|
85
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
currency: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
status: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
}>;
|
|
97
|
-
declare const NetWorthSnapshotModel:
|
|
97
|
+
declare const NetWorthSnapshotModel: _lssm_lib_schema58.SchemaModel<{
|
|
98
98
|
asOf: {
|
|
99
|
-
type:
|
|
99
|
+
type: _lssm_lib_schema58.FieldType<Date, string>;
|
|
100
100
|
isOptional: false;
|
|
101
101
|
};
|
|
102
102
|
totalAssets: {
|
|
103
|
-
type:
|
|
103
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
104
104
|
isOptional: false;
|
|
105
105
|
};
|
|
106
106
|
totalLiabilities: {
|
|
107
|
-
type:
|
|
107
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
108
108
|
isOptional: false;
|
|
109
109
|
};
|
|
110
110
|
netWorth: {
|
|
111
|
-
type:
|
|
111
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
112
112
|
isOptional: false;
|
|
113
113
|
};
|
|
114
114
|
currency: {
|
|
115
|
-
type:
|
|
115
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
116
116
|
isOptional: false;
|
|
117
117
|
};
|
|
118
118
|
}>;
|
|
119
|
-
declare const CreateAccountContract: _lssm_lib_contracts7.OperationSpec<
|
|
119
|
+
declare const CreateAccountContract: _lssm_lib_contracts7.OperationSpec<_lssm_lib_schema58.SchemaModel<{
|
|
120
120
|
name: {
|
|
121
|
-
type:
|
|
121
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
type: {
|
|
125
|
-
type:
|
|
125
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
currency: {
|
|
129
|
-
type:
|
|
129
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
130
130
|
isOptional: true;
|
|
131
131
|
};
|
|
132
132
|
balance: {
|
|
133
|
-
type:
|
|
133
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
134
134
|
isOptional: true;
|
|
135
135
|
};
|
|
136
136
|
orgId: {
|
|
137
|
-
type:
|
|
137
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
138
138
|
isOptional: false;
|
|
139
139
|
};
|
|
140
|
-
}>,
|
|
140
|
+
}>, _lssm_lib_schema58.SchemaModel<{
|
|
141
141
|
id: {
|
|
142
|
-
type:
|
|
142
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
143
143
|
isOptional: false;
|
|
144
144
|
};
|
|
145
145
|
name: {
|
|
146
|
-
type:
|
|
146
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
147
147
|
isOptional: false;
|
|
148
148
|
};
|
|
149
149
|
type: {
|
|
150
|
-
type:
|
|
150
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
151
151
|
isOptional: false;
|
|
152
152
|
};
|
|
153
153
|
currency: {
|
|
154
|
-
type:
|
|
154
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
155
155
|
isOptional: false;
|
|
156
156
|
};
|
|
157
157
|
balance: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
159
159
|
isOptional: false;
|
|
160
160
|
};
|
|
161
161
|
}>, undefined>;
|
|
162
|
-
declare const AddAssetContract: _lssm_lib_contracts7.OperationSpec<
|
|
162
|
+
declare const AddAssetContract: _lssm_lib_contracts7.OperationSpec<_lssm_lib_schema58.SchemaModel<{
|
|
163
163
|
accountId: {
|
|
164
|
-
type:
|
|
164
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
165
165
|
isOptional: true;
|
|
166
166
|
};
|
|
167
167
|
name: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
169
169
|
isOptional: false;
|
|
170
170
|
};
|
|
171
171
|
category: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
value: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
177
177
|
isOptional: false;
|
|
178
178
|
};
|
|
179
179
|
currency: {
|
|
180
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
181
181
|
isOptional: true;
|
|
182
182
|
};
|
|
183
183
|
orgId: {
|
|
184
|
-
type:
|
|
184
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
185
185
|
isOptional: false;
|
|
186
186
|
};
|
|
187
|
-
}>,
|
|
187
|
+
}>, _lssm_lib_schema58.SchemaModel<{
|
|
188
188
|
id: {
|
|
189
|
-
type:
|
|
189
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
190
190
|
isOptional: false;
|
|
191
191
|
};
|
|
192
192
|
name: {
|
|
193
|
-
type:
|
|
193
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
194
194
|
isOptional: false;
|
|
195
195
|
};
|
|
196
196
|
category: {
|
|
197
|
-
type:
|
|
197
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
198
198
|
isOptional: false;
|
|
199
199
|
};
|
|
200
200
|
value: {
|
|
201
|
-
type:
|
|
201
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
202
202
|
isOptional: false;
|
|
203
203
|
};
|
|
204
204
|
currency: {
|
|
205
|
-
type:
|
|
205
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
206
206
|
isOptional: false;
|
|
207
207
|
};
|
|
208
208
|
}>, undefined>;
|
|
209
|
-
declare const AddLiabilityContract: _lssm_lib_contracts7.OperationSpec<
|
|
209
|
+
declare const AddLiabilityContract: _lssm_lib_contracts7.OperationSpec<_lssm_lib_schema58.SchemaModel<{
|
|
210
210
|
accountId: {
|
|
211
|
-
type:
|
|
211
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
212
212
|
isOptional: true;
|
|
213
213
|
};
|
|
214
214
|
name: {
|
|
215
|
-
type:
|
|
215
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
216
216
|
isOptional: false;
|
|
217
217
|
};
|
|
218
218
|
category: {
|
|
219
|
-
type:
|
|
219
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
220
220
|
isOptional: false;
|
|
221
221
|
};
|
|
222
222
|
balance: {
|
|
223
|
-
type:
|
|
223
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
224
224
|
isOptional: false;
|
|
225
225
|
};
|
|
226
226
|
currency: {
|
|
227
|
-
type:
|
|
227
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
228
228
|
isOptional: true;
|
|
229
229
|
};
|
|
230
230
|
orgId: {
|
|
231
|
-
type:
|
|
231
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
232
232
|
isOptional: false;
|
|
233
233
|
};
|
|
234
|
-
}>,
|
|
234
|
+
}>, _lssm_lib_schema58.SchemaModel<{
|
|
235
235
|
id: {
|
|
236
|
-
type:
|
|
236
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
237
237
|
isOptional: false;
|
|
238
238
|
};
|
|
239
239
|
name: {
|
|
240
|
-
type:
|
|
240
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
241
241
|
isOptional: false;
|
|
242
242
|
};
|
|
243
243
|
category: {
|
|
244
|
-
type:
|
|
244
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
245
245
|
isOptional: false;
|
|
246
246
|
};
|
|
247
247
|
balance: {
|
|
248
|
-
type:
|
|
248
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
249
249
|
isOptional: false;
|
|
250
250
|
};
|
|
251
251
|
currency: {
|
|
252
|
-
type:
|
|
252
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
253
253
|
isOptional: false;
|
|
254
254
|
};
|
|
255
255
|
}>, undefined>;
|
|
256
|
-
declare const CreateGoalContract: _lssm_lib_contracts7.OperationSpec<
|
|
256
|
+
declare const CreateGoalContract: _lssm_lib_contracts7.OperationSpec<_lssm_lib_schema58.SchemaModel<{
|
|
257
257
|
name: {
|
|
258
|
-
type:
|
|
258
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
259
259
|
isOptional: false;
|
|
260
260
|
};
|
|
261
261
|
targetAmount: {
|
|
262
|
-
type:
|
|
262
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
263
263
|
isOptional: false;
|
|
264
264
|
};
|
|
265
265
|
currency: {
|
|
266
|
-
type:
|
|
266
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
267
267
|
isOptional: true;
|
|
268
268
|
};
|
|
269
269
|
targetDate: {
|
|
270
|
-
type:
|
|
270
|
+
type: _lssm_lib_schema58.FieldType<Date, string>;
|
|
271
271
|
isOptional: true;
|
|
272
272
|
};
|
|
273
273
|
orgId: {
|
|
274
|
-
type:
|
|
274
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
275
275
|
isOptional: false;
|
|
276
276
|
};
|
|
277
|
-
}>,
|
|
277
|
+
}>, _lssm_lib_schema58.SchemaModel<{
|
|
278
278
|
id: {
|
|
279
|
-
type:
|
|
279
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
280
280
|
isOptional: false;
|
|
281
281
|
};
|
|
282
282
|
name: {
|
|
283
|
-
type:
|
|
283
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
284
284
|
isOptional: false;
|
|
285
285
|
};
|
|
286
286
|
targetAmount: {
|
|
287
|
-
type:
|
|
287
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
288
288
|
isOptional: false;
|
|
289
289
|
};
|
|
290
290
|
currentAmount: {
|
|
291
|
-
type:
|
|
291
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
292
292
|
isOptional: false;
|
|
293
293
|
};
|
|
294
294
|
currency: {
|
|
295
|
-
type:
|
|
295
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
296
296
|
isOptional: false;
|
|
297
297
|
};
|
|
298
298
|
status: {
|
|
299
|
-
type:
|
|
299
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
300
300
|
isOptional: false;
|
|
301
301
|
};
|
|
302
302
|
}>, undefined>;
|
|
303
|
-
declare const UpdateGoalContract: _lssm_lib_contracts7.OperationSpec<
|
|
303
|
+
declare const UpdateGoalContract: _lssm_lib_contracts7.OperationSpec<_lssm_lib_schema58.SchemaModel<{
|
|
304
304
|
goalId: {
|
|
305
|
-
type:
|
|
305
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
306
306
|
isOptional: false;
|
|
307
307
|
};
|
|
308
308
|
currentAmount: {
|
|
309
|
-
type:
|
|
309
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
310
310
|
isOptional: false;
|
|
311
311
|
};
|
|
312
312
|
status: {
|
|
313
|
-
type:
|
|
313
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
314
314
|
isOptional: true;
|
|
315
315
|
};
|
|
316
|
-
}>,
|
|
316
|
+
}>, _lssm_lib_schema58.SchemaModel<{
|
|
317
317
|
id: {
|
|
318
|
-
type:
|
|
318
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
319
319
|
isOptional: false;
|
|
320
320
|
};
|
|
321
321
|
name: {
|
|
322
|
-
type:
|
|
322
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
323
323
|
isOptional: false;
|
|
324
324
|
};
|
|
325
325
|
targetAmount: {
|
|
326
|
-
type:
|
|
326
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
327
327
|
isOptional: false;
|
|
328
328
|
};
|
|
329
329
|
currentAmount: {
|
|
330
|
-
type:
|
|
330
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
331
331
|
isOptional: false;
|
|
332
332
|
};
|
|
333
333
|
currency: {
|
|
334
|
-
type:
|
|
334
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
335
335
|
isOptional: false;
|
|
336
336
|
};
|
|
337
337
|
status: {
|
|
338
|
-
type:
|
|
338
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
339
339
|
isOptional: false;
|
|
340
340
|
};
|
|
341
341
|
}>, undefined>;
|
|
342
|
-
declare const GetNetWorthContract: _lssm_lib_contracts7.OperationSpec<
|
|
342
|
+
declare const GetNetWorthContract: _lssm_lib_contracts7.OperationSpec<_lssm_lib_schema58.SchemaModel<{
|
|
343
343
|
orgId: {
|
|
344
|
-
type:
|
|
344
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
345
345
|
isOptional: false;
|
|
346
346
|
};
|
|
347
347
|
from: {
|
|
348
|
-
type:
|
|
348
|
+
type: _lssm_lib_schema58.FieldType<Date, string>;
|
|
349
349
|
isOptional: true;
|
|
350
350
|
};
|
|
351
351
|
to: {
|
|
352
|
-
type:
|
|
352
|
+
type: _lssm_lib_schema58.FieldType<Date, string>;
|
|
353
353
|
isOptional: true;
|
|
354
354
|
};
|
|
355
|
-
}>,
|
|
355
|
+
}>, _lssm_lib_schema58.SchemaModel<{
|
|
356
356
|
snapshots: {
|
|
357
|
-
type:
|
|
357
|
+
type: _lssm_lib_schema58.SchemaModel<{
|
|
358
358
|
asOf: {
|
|
359
|
-
type:
|
|
359
|
+
type: _lssm_lib_schema58.FieldType<Date, string>;
|
|
360
360
|
isOptional: false;
|
|
361
361
|
};
|
|
362
362
|
totalAssets: {
|
|
363
|
-
type:
|
|
363
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
364
364
|
isOptional: false;
|
|
365
365
|
};
|
|
366
366
|
totalLiabilities: {
|
|
367
|
-
type:
|
|
367
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
368
368
|
isOptional: false;
|
|
369
369
|
};
|
|
370
370
|
netWorth: {
|
|
371
|
-
type:
|
|
371
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
372
372
|
isOptional: false;
|
|
373
373
|
};
|
|
374
374
|
currency: {
|
|
375
|
-
type:
|
|
375
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
376
376
|
isOptional: false;
|
|
377
377
|
};
|
|
378
378
|
}>;
|
|
@@ -380,25 +380,25 @@ declare const GetNetWorthContract: _lssm_lib_contracts7.OperationSpec<_lssm_lib_
|
|
|
380
380
|
isOptional: false;
|
|
381
381
|
};
|
|
382
382
|
latest: {
|
|
383
|
-
type:
|
|
383
|
+
type: _lssm_lib_schema58.SchemaModel<{
|
|
384
384
|
asOf: {
|
|
385
|
-
type:
|
|
385
|
+
type: _lssm_lib_schema58.FieldType<Date, string>;
|
|
386
386
|
isOptional: false;
|
|
387
387
|
};
|
|
388
388
|
totalAssets: {
|
|
389
|
-
type:
|
|
389
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
390
390
|
isOptional: false;
|
|
391
391
|
};
|
|
392
392
|
totalLiabilities: {
|
|
393
|
-
type:
|
|
393
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
394
394
|
isOptional: false;
|
|
395
395
|
};
|
|
396
396
|
netWorth: {
|
|
397
|
-
type:
|
|
397
|
+
type: _lssm_lib_schema58.FieldType<number, number>;
|
|
398
398
|
isOptional: false;
|
|
399
399
|
};
|
|
400
400
|
currency: {
|
|
401
|
-
type:
|
|
401
|
+
type: _lssm_lib_schema58.FieldType<string, string>;
|
|
402
402
|
isOptional: false;
|
|
403
403
|
};
|
|
404
404
|
}>;
|
package/dist/contracts/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E5, K5 } from "../libs/schema/dist/index.js";
|
|
2
|
-
import { defineCommand, defineQuery } from "../libs/contracts/dist/operation.js";
|
|
2
|
+
import { defineCommand, defineQuery } from "../libs/contracts/dist/operations/operation.js";
|
|
3
3
|
import "../libs/contracts/dist/index.js";
|
|
4
4
|
|
|
5
5
|
//#region src/contracts/index.ts
|
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_schema57 from "@lssm/lib.schema";
|
|
9
9
|
|
|
10
10
|
//#region src/index.d.ts
|
|
11
11
|
declare const schemaComposition: {
|
|
12
|
-
modules:
|
|
12
|
+
modules: _lssm_lib_schema57.ModuleSchemaContribution[];
|
|
13
13
|
provider: "postgresql";
|
|
14
14
|
outputPath: string;
|
|
15
15
|
};
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;cAca;WASZ,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;cAca;WASZ,kBAAA,CAAA,wBAAA;EATY,QAAA,EAAA,YASZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rolldown_runtime.js","names":[],"sources":["../../../../../../../libs/contracts/dist/_virtual/rolldown_runtime.js"],"sourcesContent":["//#region rolldown:runtime\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);\nvar __export = (all, symbols) => {\n\tlet target = {};\n\tfor (var name in all) {\n\t\t__defProp(target, name, {\n\t\t\tget: all[name],\n\t\t\tenumerable: true\n\t\t});\n\t}\n\tif (symbols) {\n\t\t__defProp(target, Symbol.toStringTag, { value: \"Module\" });\n\t}\n\treturn target;\n};\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {\n\t\t\tkey = keys[i];\n\t\t\tif (!__hasOwnProp.call(to, key) && key !== except) {\n\t\t\t\t__defProp(to, key, {\n\t\t\t\t\tget: ((k) => from[k]).bind(null, key),\n\t\t\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n\treturn to;\n};\nvar __toCommonJS = (mod) => __hasOwnProp.call(mod, \"module.exports\") ? mod[\"module.exports\"] : __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n//#endregion\nexport { __esmMin, __export, __toCommonJS };"],"mappings":";AAKA,IAAI,YAAY,IAAI,eAAe,OAAO,MAAM,GAAG,KAAK,EAAE,GAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./openbanking.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../registry-utils.js";
|
|
@@ -88,11 +88,11 @@ llm.verify { specPath: "path/to/my.spec.ts", implementationPath: "path/to/impl.t
|
|
|
88
88
|
### Programmatic Usage
|
|
89
89
|
|
|
90
90
|
\`\`\`typescript
|
|
91
|
-
import {
|
|
91
|
+
import { operationSpecToFullMarkdown, operationSpecToAgentPrompt } from '@lssm/lib.contracts/llm';
|
|
92
92
|
import { createAgentGuideService, createVerifyService } from '@lssm/bundle.contractspec-workspace';
|
|
93
93
|
|
|
94
94
|
// Export
|
|
95
|
-
const markdown =
|
|
95
|
+
const markdown = operationSpecToFullMarkdown(mySpec);
|
|
96
96
|
|
|
97
97
|
// Generate guide
|
|
98
98
|
const guideService = createAgentGuideService({ defaultAgent: 'claude-code' });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-integration.docblock.js","names":[],"sources":["../../../../../../../../../libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js"],"sourcesContent":["import { registerDocBlocks } from \"../../registry.js\";\n\n//#region src/docs/tech/llm/llm-integration.docblock.ts\nconst tech_llm_integration_DocBlocks = [\n\t{\n\t\tid: \"docs.tech.llm.overview\",\n\t\ttitle: \"LLM Integration Overview\",\n\t\tsummary: \"Export specs to LLM-friendly formats, generate implementation guides, and verify implementations.\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/overview\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"ai\",\n\t\t\t\"export\",\n\t\t\t\"guide\",\n\t\t\t\"verify\"\n\t\t],\n\t\tbody: `# LLM Integration\n\nContractSpec provides first-class LLM integration to bridge specifications and AI coding agents.\n\n## Core Features\n\n### 1. Multi-Format Export\n\nExport specs to markdown in formats optimized for LLM consumption:\n\n- **Context format**: Summary for understanding (goal, context, acceptance criteria)\n- **Full format**: Complete spec with all details (I/O schemas, policy, events)\n- **Prompt format**: Actionable prompt with implementation instructions\n\n### 2. Implementation Guidance\n\nGenerate agent-specific implementation plans:\n\n- **Claude Code**: Extended thinking mode with structured prompts\n- **Cursor CLI**: Background/composer mode with .mdc rules generation\n- **Generic MCP**: Standard format for any MCP-compatible agent\n\n### 3. Tiered Verification\n\nVerify implementations against specs:\n\n- **Tier 1 (Structure)**: Types, exports, imports validation\n- **Tier 2 (Behavior)**: Scenario coverage, error handling, events\n- **Tier 3 (AI Review)**: Semantic compliance analysis via LLM\n\n## Access Points\n\n| Surface | Commands/Tools |\n|---------|---------------|\n| CLI | \\`contractspec llm export\\`, \\`guide\\`, \\`verify\\`, \\`copy\\` |\n| MCP | \\`llm.export\\`, \\`llm.guide\\`, \\`llm.verify\\` tools |\n| VSCode | Export to LLM, Generate Guide, Verify, Copy commands |\n\n## Quick Start\n\n### CLI Usage\n\n\\`\\`\\`bash\n# Export spec as markdown\ncontractspec llm export path/to/my.spec.ts --format full\n\n# Generate implementation guide\ncontractspec llm guide path/to/my.spec.ts --agent claude-code\n\n# Verify implementation\ncontractspec llm verify path/to/my.spec.ts path/to/impl.ts --tier 2\n\n# Copy spec to clipboard\ncontractspec llm copy path/to/my.spec.ts --format context\n\\`\\`\\`\n\n### MCP Usage\n\n\\`\\`\\`\n# Export spec\nllm.export { specPath: \"path/to/my.spec.ts\", format: \"full\" }\n\n# Generate guide\nllm.guide { specPath: \"path/to/my.spec.ts\", agent: \"cursor-cli\" }\n\n# Verify implementation\nllm.verify { specPath: \"path/to/my.spec.ts\", implementationPath: \"path/to/impl.ts\", tier: \"2\" }\n\\`\\`\\`\n\n### Programmatic Usage\n\n\\`\\`\\`typescript\nimport { specToFullMarkdown, specToAgentPrompt } from '@lssm/lib.contracts/llm';\nimport { createAgentGuideService, createVerifyService } from '@lssm/bundle.contractspec-workspace';\n\n// Export\nconst markdown = specToFullMarkdown(mySpec);\n\n// Generate guide\nconst guideService = createAgentGuideService({ defaultAgent: 'claude-code' });\nconst guide = guideService.generateGuide(mySpec);\n\n// Verify\nconst verifyService = createVerifyService();\nconst result = await verifyService.verify(mySpec, implementationCode, {\n tiers: ['structure', 'behavior']\n});\n\\`\\`\\`\n`\n\t},\n\t{\n\t\tid: \"docs.tech.llm.export-formats\",\n\t\ttitle: \"LLM Export Formats\",\n\t\tsummary: \"Detailed explanation of the three export formats for LLM consumption.\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/export-formats\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"export\",\n\t\t\t\"markdown\"\n\t\t],\n\t\tbody: `# LLM Export Formats\n\nContractSpec provides three export formats optimized for different LLM use cases.\n\n## Context Format\n\nBest for: Understanding what a spec does, providing background to LLMs.\n\nIncludes:\n- Spec name, version, type\n- Goal and context\n- Description\n- Acceptance scenarios\n\nExample:\n\n\\`\\`\\`markdown\n# users.createUser (v1)\n\n> Create a new user account with email verification.\n\n**Type:** command | **Stability:** stable\n\n## Goal\nCreate a new user in the system and trigger email verification.\n\n## Context\nPart of the user onboarding flow. Called after signup form submission.\n\n## Acceptance Criteria\n### Happy path\n**Given:** Valid email and password\n**When:** User submits registration\n**Then:** Account is created, verification email is sent\n\\`\\`\\`\n\n## Full Format\n\nBest for: Complete documentation, implementation reference.\n\nIncludes everything:\n- All metadata\n- JSON schemas for I/O\n- Error definitions\n- Policy (auth, rate limits, PII)\n- Events emitted\n- Examples\n- Transport configuration\n\n## Prompt Format\n\nBest for: Feeding directly to coding agents.\n\nIncludes:\n- Task header with clear instructions\n- Full spec context\n- Implementation requirements\n- Task-specific guidance (implement/test/refactor/review)\n- Expected output format\n\nThe prompt format adapts based on task type:\n- **implement**: Full implementation with tests\n- **test**: Test generation for existing code\n- **refactor**: Refactoring while maintaining behavior\n- **review**: Code review against spec\n`\n\t},\n\t{\n\t\tid: \"docs.tech.llm.agent-adapters\",\n\t\ttitle: \"Agent Adapters\",\n\t\tsummary: \"Adapters for different AI coding agents (Claude, Cursor, MCP).\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/agent-adapters\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"agents\",\n\t\t\t\"claude\",\n\t\t\t\"cursor\",\n\t\t\t\"mcp\"\n\t\t],\n\t\tbody: `# Agent Adapters\n\nContractSpec provides specialized adapters for different AI coding agents.\n\n## Claude Code Adapter\n\nOptimized for Anthropic Claude's extended thinking and code generation.\n\nFeatures:\n- Structured markdown with clear sections\n- Checklists for steps and verification\n- Icons for file operations (📝 create, ✏️ modify)\n- System prompt for ContractSpec context\n\nUsage:\n\\`\\`\\`typescript\nconst guideService = createAgentGuideService({ defaultAgent: 'claude-code' });\nconst result = guideService.generateGuide(spec, { agent: 'claude-code' });\n// result.prompt.systemPrompt - Claude system context\n// result.prompt.taskPrompt - Task-specific instructions\n\\`\\`\\`\n\n## Cursor CLI Adapter\n\nOptimized for Cursor's background/composer mode.\n\nFeatures:\n- Compact format for context efficiency\n- .mdc cursor rules generation\n- Integration with Cursor's file system\n- Concise step lists\n\nGenerate Cursor Rules:\n\\`\\`\\`typescript\nconst cursorRules = guideService.generateAgentConfig(spec, 'cursor-cli');\n// Save to .cursor/rules/my-spec.mdc\n\\`\\`\\`\n\n## Generic MCP Adapter\n\nWorks with any MCP-compatible agent (Cline, Aider, etc.).\n\nFeatures:\n- Standard markdown format\n- Table-based metadata\n- JSON resource format support\n- Prompt message format\n\nThe generic adapter is the default and works across all agents.\n\n## Choosing an Adapter\n\n| Agent | Best For | Key Features |\n|-------|----------|--------------|\n| Claude Code | Complex implementations | Extended thinking, detailed steps |\n| Cursor CLI | IDE-integrated work | Cursor rules, compact format |\n| Generic MCP | Any MCP agent | Universal compatibility |\n`\n\t},\n\t{\n\t\tid: \"docs.tech.llm.verification\",\n\t\ttitle: \"Implementation Verification\",\n\t\tsummary: \"Tiered verification of implementations against specifications.\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/verification\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"verify\",\n\t\t\t\"validation\",\n\t\t\t\"testing\"\n\t\t],\n\t\tbody: `# Implementation Verification\n\nContractSpec provides tiered verification to check if implementations comply with specs.\n\n## Verification Tiers\n\n### Tier 1: Structure (Fast)\n\nChecks TypeScript structure against spec requirements:\n\n| Check | What it validates |\n|-------|------------------|\n| Handler export | Function is properly exported |\n| Contracts import | Imports from @lssm/lib.contracts |\n| Schema import | Imports from @lssm/lib.schema |\n| No \\`any\\` type | TypeScript strict compliance |\n| Error handling | Error codes are referenced |\n| Event emission | Event patterns exist |\n| Input validation | Validation patterns used |\n| Async patterns | Async/await for commands |\n\n### Tier 2: Behavior (Comprehensive)\n\nChecks implementation coverage of spec behaviors:\n\n| Check | What it validates |\n|-------|------------------|\n| Scenario coverage | Acceptance scenarios implemented |\n| Example coverage | Example I/O values referenced |\n| Error cases | All error conditions handled |\n| Event conditions | Events emitted correctly |\n| Idempotency | Idempotent patterns (if required) |\n\n### Tier 3: AI Review (Deep)\n\nUses LLM for semantic analysis:\n\n- Does the implementation fulfill the spec's intent?\n- Are edge cases properly handled?\n- Is the code quality acceptable?\n- Are there any subtle violations?\n\nRequires AI API key configuration.\n\n## Running Verification\n\n\\`\\`\\`typescript\nconst verifyService = createVerifyService({\n aiApiKey: process.env.ANTHROPIC_API_KEY, // Optional, for Tier 3\n aiProvider: 'anthropic',\n});\n\nconst result = await verifyService.verify(spec, implementationCode, {\n tiers: ['structure', 'behavior'],\n failFast: false,\n includeSuggestions: true,\n});\n\nconsole.log(result.passed); // true/false\nconsole.log(result.score); // 0-100\nconsole.log(result.summary); // Human-readable summary\n\\`\\`\\`\n\n## Verification Report\n\nThe report includes:\n\n- **passed**: Overall compliance\n- **score**: 0-100 score\n- **issues**: Array of problems found\n- **suggestions**: Recommended fixes\n- **coverage**: Metrics on scenario/error/field coverage\n\nEach issue has:\n- **severity**: error, warning, or info\n- **category**: type, export, import, scenario, error_handling, semantic\n- **message**: Description of the issue\n- **suggestion**: How to fix it\n`\n\t}\n];\nregisterDocBlocks(tech_llm_integration_DocBlocks);\n\n//#endregion\nexport { tech_llm_integration_DocBlocks };"],"mappings":";;;AAGA,MAAM,iCAAiC;CACtC;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyFN;CACD;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkEN;CACD;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DN;CACD;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+EN;CACD;AACD,kBAAkB,+BAA+B"}
|
|
1
|
+
{"version":3,"file":"llm-integration.docblock.js","names":[],"sources":["../../../../../../../../../libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js"],"sourcesContent":["import { registerDocBlocks } from \"../../registry.js\";\n\n//#region src/docs/tech/llm/llm-integration.docblock.ts\nconst tech_llm_integration_DocBlocks = [\n\t{\n\t\tid: \"docs.tech.llm.overview\",\n\t\ttitle: \"LLM Integration Overview\",\n\t\tsummary: \"Export specs to LLM-friendly formats, generate implementation guides, and verify implementations.\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/overview\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"ai\",\n\t\t\t\"export\",\n\t\t\t\"guide\",\n\t\t\t\"verify\"\n\t\t],\n\t\tbody: `# LLM Integration\n\nContractSpec provides first-class LLM integration to bridge specifications and AI coding agents.\n\n## Core Features\n\n### 1. Multi-Format Export\n\nExport specs to markdown in formats optimized for LLM consumption:\n\n- **Context format**: Summary for understanding (goal, context, acceptance criteria)\n- **Full format**: Complete spec with all details (I/O schemas, policy, events)\n- **Prompt format**: Actionable prompt with implementation instructions\n\n### 2. Implementation Guidance\n\nGenerate agent-specific implementation plans:\n\n- **Claude Code**: Extended thinking mode with structured prompts\n- **Cursor CLI**: Background/composer mode with .mdc rules generation\n- **Generic MCP**: Standard format for any MCP-compatible agent\n\n### 3. Tiered Verification\n\nVerify implementations against specs:\n\n- **Tier 1 (Structure)**: Types, exports, imports validation\n- **Tier 2 (Behavior)**: Scenario coverage, error handling, events\n- **Tier 3 (AI Review)**: Semantic compliance analysis via LLM\n\n## Access Points\n\n| Surface | Commands/Tools |\n|---------|---------------|\n| CLI | \\`contractspec llm export\\`, \\`guide\\`, \\`verify\\`, \\`copy\\` |\n| MCP | \\`llm.export\\`, \\`llm.guide\\`, \\`llm.verify\\` tools |\n| VSCode | Export to LLM, Generate Guide, Verify, Copy commands |\n\n## Quick Start\n\n### CLI Usage\n\n\\`\\`\\`bash\n# Export spec as markdown\ncontractspec llm export path/to/my.spec.ts --format full\n\n# Generate implementation guide\ncontractspec llm guide path/to/my.spec.ts --agent claude-code\n\n# Verify implementation\ncontractspec llm verify path/to/my.spec.ts path/to/impl.ts --tier 2\n\n# Copy spec to clipboard\ncontractspec llm copy path/to/my.spec.ts --format context\n\\`\\`\\`\n\n### MCP Usage\n\n\\`\\`\\`\n# Export spec\nllm.export { specPath: \"path/to/my.spec.ts\", format: \"full\" }\n\n# Generate guide\nllm.guide { specPath: \"path/to/my.spec.ts\", agent: \"cursor-cli\" }\n\n# Verify implementation\nllm.verify { specPath: \"path/to/my.spec.ts\", implementationPath: \"path/to/impl.ts\", tier: \"2\" }\n\\`\\`\\`\n\n### Programmatic Usage\n\n\\`\\`\\`typescript\nimport { operationSpecToFullMarkdown, operationSpecToAgentPrompt } from '@lssm/lib.contracts/llm';\nimport { createAgentGuideService, createVerifyService } from '@lssm/bundle.contractspec-workspace';\n\n// Export\nconst markdown = operationSpecToFullMarkdown(mySpec);\n\n// Generate guide\nconst guideService = createAgentGuideService({ defaultAgent: 'claude-code' });\nconst guide = guideService.generateGuide(mySpec);\n\n// Verify\nconst verifyService = createVerifyService();\nconst result = await verifyService.verify(mySpec, implementationCode, {\n tiers: ['structure', 'behavior']\n});\n\\`\\`\\`\n`\n\t},\n\t{\n\t\tid: \"docs.tech.llm.export-formats\",\n\t\ttitle: \"LLM Export Formats\",\n\t\tsummary: \"Detailed explanation of the three export formats for LLM consumption.\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/export-formats\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"export\",\n\t\t\t\"markdown\"\n\t\t],\n\t\tbody: `# LLM Export Formats\n\nContractSpec provides three export formats optimized for different LLM use cases.\n\n## Context Format\n\nBest for: Understanding what a spec does, providing background to LLMs.\n\nIncludes:\n- Spec name, version, type\n- Goal and context\n- Description\n- Acceptance scenarios\n\nExample:\n\n\\`\\`\\`markdown\n# users.createUser (v1)\n\n> Create a new user account with email verification.\n\n**Type:** command | **Stability:** stable\n\n## Goal\nCreate a new user in the system and trigger email verification.\n\n## Context\nPart of the user onboarding flow. Called after signup form submission.\n\n## Acceptance Criteria\n### Happy path\n**Given:** Valid email and password\n**When:** User submits registration\n**Then:** Account is created, verification email is sent\n\\`\\`\\`\n\n## Full Format\n\nBest for: Complete documentation, implementation reference.\n\nIncludes everything:\n- All metadata\n- JSON schemas for I/O\n- Error definitions\n- Policy (auth, rate limits, PII)\n- Events emitted\n- Examples\n- Transport configuration\n\n## Prompt Format\n\nBest for: Feeding directly to coding agents.\n\nIncludes:\n- Task header with clear instructions\n- Full spec context\n- Implementation requirements\n- Task-specific guidance (implement/test/refactor/review)\n- Expected output format\n\nThe prompt format adapts based on task type:\n- **implement**: Full implementation with tests\n- **test**: Test generation for existing code\n- **refactor**: Refactoring while maintaining behavior\n- **review**: Code review against spec\n`\n\t},\n\t{\n\t\tid: \"docs.tech.llm.agent-adapters\",\n\t\ttitle: \"Agent Adapters\",\n\t\tsummary: \"Adapters for different AI coding agents (Claude, Cursor, MCP).\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/agent-adapters\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"agents\",\n\t\t\t\"claude\",\n\t\t\t\"cursor\",\n\t\t\t\"mcp\"\n\t\t],\n\t\tbody: `# Agent Adapters\n\nContractSpec provides specialized adapters for different AI coding agents.\n\n## Claude Code Adapter\n\nOptimized for Anthropic Claude's extended thinking and code generation.\n\nFeatures:\n- Structured markdown with clear sections\n- Checklists for steps and verification\n- Icons for file operations (📝 create, ✏️ modify)\n- System prompt for ContractSpec context\n\nUsage:\n\\`\\`\\`typescript\nconst guideService = createAgentGuideService({ defaultAgent: 'claude-code' });\nconst result = guideService.generateGuide(spec, { agent: 'claude-code' });\n// result.prompt.systemPrompt - Claude system context\n// result.prompt.taskPrompt - Task-specific instructions\n\\`\\`\\`\n\n## Cursor CLI Adapter\n\nOptimized for Cursor's background/composer mode.\n\nFeatures:\n- Compact format for context efficiency\n- .mdc cursor rules generation\n- Integration with Cursor's file system\n- Concise step lists\n\nGenerate Cursor Rules:\n\\`\\`\\`typescript\nconst cursorRules = guideService.generateAgentConfig(spec, 'cursor-cli');\n// Save to .cursor/rules/my-spec.mdc\n\\`\\`\\`\n\n## Generic MCP Adapter\n\nWorks with any MCP-compatible agent (Cline, Aider, etc.).\n\nFeatures:\n- Standard markdown format\n- Table-based metadata\n- JSON resource format support\n- Prompt message format\n\nThe generic adapter is the default and works across all agents.\n\n## Choosing an Adapter\n\n| Agent | Best For | Key Features |\n|-------|----------|--------------|\n| Claude Code | Complex implementations | Extended thinking, detailed steps |\n| Cursor CLI | IDE-integrated work | Cursor rules, compact format |\n| Generic MCP | Any MCP agent | Universal compatibility |\n`\n\t},\n\t{\n\t\tid: \"docs.tech.llm.verification\",\n\t\ttitle: \"Implementation Verification\",\n\t\tsummary: \"Tiered verification of implementations against specifications.\",\n\t\tkind: \"reference\",\n\t\tvisibility: \"public\",\n\t\troute: \"/docs/tech/llm/verification\",\n\t\ttags: [\n\t\t\t\"llm\",\n\t\t\t\"verify\",\n\t\t\t\"validation\",\n\t\t\t\"testing\"\n\t\t],\n\t\tbody: `# Implementation Verification\n\nContractSpec provides tiered verification to check if implementations comply with specs.\n\n## Verification Tiers\n\n### Tier 1: Structure (Fast)\n\nChecks TypeScript structure against spec requirements:\n\n| Check | What it validates |\n|-------|------------------|\n| Handler export | Function is properly exported |\n| Contracts import | Imports from @lssm/lib.contracts |\n| Schema import | Imports from @lssm/lib.schema |\n| No \\`any\\` type | TypeScript strict compliance |\n| Error handling | Error codes are referenced |\n| Event emission | Event patterns exist |\n| Input validation | Validation patterns used |\n| Async patterns | Async/await for commands |\n\n### Tier 2: Behavior (Comprehensive)\n\nChecks implementation coverage of spec behaviors:\n\n| Check | What it validates |\n|-------|------------------|\n| Scenario coverage | Acceptance scenarios implemented |\n| Example coverage | Example I/O values referenced |\n| Error cases | All error conditions handled |\n| Event conditions | Events emitted correctly |\n| Idempotency | Idempotent patterns (if required) |\n\n### Tier 3: AI Review (Deep)\n\nUses LLM for semantic analysis:\n\n- Does the implementation fulfill the spec's intent?\n- Are edge cases properly handled?\n- Is the code quality acceptable?\n- Are there any subtle violations?\n\nRequires AI API key configuration.\n\n## Running Verification\n\n\\`\\`\\`typescript\nconst verifyService = createVerifyService({\n aiApiKey: process.env.ANTHROPIC_API_KEY, // Optional, for Tier 3\n aiProvider: 'anthropic',\n});\n\nconst result = await verifyService.verify(spec, implementationCode, {\n tiers: ['structure', 'behavior'],\n failFast: false,\n includeSuggestions: true,\n});\n\nconsole.log(result.passed); // true/false\nconsole.log(result.score); // 0-100\nconsole.log(result.summary); // Human-readable summary\n\\`\\`\\`\n\n## Verification Report\n\nThe report includes:\n\n- **passed**: Overall compliance\n- **score**: 0-100 score\n- **issues**: Array of problems found\n- **suggestions**: Recommended fixes\n- **coverage**: Metrics on scenario/error/field coverage\n\nEach issue has:\n- **severity**: error, warning, or info\n- **category**: type, export, import, scenario, error_handling, semantic\n- **message**: Description of the issue\n- **suggestion**: How to fix it\n`\n\t}\n];\nregisterDocBlocks(tech_llm_integration_DocBlocks);\n\n//#endregion\nexport { tech_llm_integration_DocBlocks };"],"mappings":";;;AAGA,MAAM,iCAAiC;CACtC;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyFN;CACD;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkEN;CACD;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DN;CACD;EACC,IAAI;EACJ,OAAO;EACP,SAAS;EACT,MAAM;EACN,YAAY;EACZ,OAAO;EACP,MAAM;GACL;GACA;GACA;GACA;GACA;EACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+EN;CACD;AACD,kBAAkB,+BAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./registry-utils.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../registry-utils.js";
|