@lssm/lib.contracts 0.0.0-canary-20251217083314 → 0.0.0-canary-20251220002821
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/LICENSE +21 -0
- package/dist/app-config/contracts.d.ts +50 -50
- package/dist/app-config/contracts.js +54 -56
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/events.js +31 -33
- package/dist/app-config/lifecycle-contracts.d.ts +80 -80
- package/dist/app-config/lifecycle-contracts.js +66 -68
- package/dist/client/react/form-render.d.ts +6 -6
- package/dist/client/react/form-render.js +15 -15
- package/dist/contracts-adapter-hydration.js +2 -2
- package/dist/data-views/query-generator.d.ts +2 -2
- package/dist/data-views/query-generator.js +1 -1
- package/dist/data-views/runtime.d.ts +2 -2
- package/dist/data-views/runtime.js +2 -2
- package/dist/docs/index.js +0 -6
- package/dist/docs/meta.docs.js +3 -0
- package/dist/docs/tech-contracts.docs.js +3 -0
- package/dist/forms.d.ts +4 -4
- package/dist/forms.js +3 -2
- package/dist/index.js +2 -3
- package/dist/integrations/contracts.d.ts +105 -104
- package/dist/integrations/contracts.js +63 -65
- package/dist/integrations/openbanking/contracts/accounts.d.ts +69 -68
- package/dist/integrations/openbanking/contracts/accounts.js +29 -31
- package/dist/integrations/openbanking/contracts/balances.d.ts +37 -36
- package/dist/integrations/openbanking/contracts/balances.js +16 -18
- package/dist/integrations/openbanking/contracts/transactions.d.ts +51 -50
- package/dist/integrations/openbanking/contracts/transactions.js +30 -32
- package/dist/integrations/openbanking/guards.js +1 -0
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/openbanking/models.js +58 -60
- package/dist/integrations/providers/impls/gmail-inbound.js +1 -1
- package/dist/integrations/providers/impls/gmail-outbound.js +4 -4
- package/dist/integrations/providers/impls/mistral-llm.d.ts +1 -1
- package/dist/integrations/providers/impls/mistral-llm.js +1 -1
- package/dist/integrations/providers/impls/powens-openbanking.d.ts +1 -1
- package/dist/integrations/providers/impls/provider-factory.js +4 -1
- package/dist/integrations/providers/impls/qdrant-vector.js +2 -2
- package/dist/integrations/runtime.d.ts +1 -1
- package/dist/integrations/runtime.js +1 -1
- package/dist/integrations/secrets/manager.js +1 -1
- package/dist/jobs/handlers/gmail-sync-handler.d.ts +1 -1
- package/dist/jsonschema.d.ts +3 -3
- package/dist/knowledge/contracts.d.ts +69 -68
- package/dist/knowledge/contracts.js +42 -44
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.js +1 -1
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/onboarding-base.js +20 -22
- package/dist/ownership.d.ts +4 -6
- package/dist/ownership.js +4 -5
- package/dist/presentations.d.ts +3 -3
- package/dist/presentations.v2.js +5 -2
- package/dist/promptRegistry.d.ts +2 -2
- package/dist/registry.d.ts +1 -1
- package/dist/registry.js +1 -0
- package/dist/resources.js +4 -1
- package/dist/schema/dist/index.js +4683 -6
- package/dist/schema-to-markdown.d.ts +1 -1
- package/dist/schema-to-markdown.js +1 -1
- package/dist/server/graphql-pothos.js +0 -1
- package/dist/server/rest-elysia.d.ts +1 -1
- package/dist/server/rest-express.js +0 -3
- package/dist/server/rest-generic.d.ts +1 -1
- package/dist/server/rest-generic.js +0 -1
- package/dist/server/rest-next-mcp.js +1 -1
- package/dist/server/rest-next-pages.js +0 -3
- package/dist/workflow/adapters/db-adapter.d.ts +19 -7
- package/dist/workflow/adapters/db-adapter.js +3 -3
- package/dist/workflow/expression.js +3 -2
- package/dist/workflow/validation.js +1 -0
- package/package.json +19 -18
- package/dist/docs/PUBLISHING.docblock.d.ts +0 -6
- package/dist/docs/PUBLISHING.docblock.js +0 -17
- package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.d.ts +0 -6
- package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -17
- package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.d.ts +0 -6
- package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -17
- package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.d.ts +0 -6
- package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -17
- package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.d.ts +0 -6
- package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -17
- package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.d.ts +0 -6
- package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -17
- package/dist/schema/dist/EnumType.js +0 -2
- package/dist/schema/dist/FieldType.js +0 -49
- package/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/schema/dist/SchemaModel.js +0 -39
- package/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/schema/dist/entity/index.js +0 -2
- package/dist/schema/dist/entity/types.js +0 -1
|
@@ -1,120 +1,120 @@
|
|
|
1
1
|
import { EventSpec } from "../events.js";
|
|
2
2
|
import "../index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _lssm_lib_schema146 from "@lssm/lib.schema";
|
|
4
4
|
import { SchemaModel } from "@lssm/lib.schema";
|
|
5
5
|
|
|
6
6
|
//#region src/app-config/events.d.ts
|
|
7
7
|
declare const ConfigDraftCreatedEvent: EventSpec<SchemaModel<{
|
|
8
8
|
tenantId: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
appId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
version: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema146.FieldType<number, number>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
blueprintName: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
blueprintVersion: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema146.FieldType<number, number>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
createdBy: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
clonedFrom: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema146.FieldType<number, number>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
}>>;
|
|
37
37
|
declare const ConfigPromotedToPreviewEvent: EventSpec<SchemaModel<{
|
|
38
38
|
tenantId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
appId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
version: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema146.FieldType<number, number>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
promotedBy: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
warnings: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
isArray: true;
|
|
58
58
|
};
|
|
59
59
|
}>>;
|
|
60
60
|
declare const ConfigPublishedEvent: EventSpec<SchemaModel<{
|
|
61
61
|
tenantId: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
appId: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
version: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema146.FieldType<number, number>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
previousVersion: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema146.FieldType<number, number>;
|
|
75
75
|
isOptional: true;
|
|
76
76
|
};
|
|
77
77
|
publishedBy: {
|
|
78
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
79
79
|
isOptional: false;
|
|
80
80
|
};
|
|
81
81
|
changeSummary: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
83
83
|
isOptional: true;
|
|
84
84
|
};
|
|
85
85
|
changedSections: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
87
87
|
isOptional: true;
|
|
88
88
|
isArray: true;
|
|
89
89
|
};
|
|
90
90
|
}>>;
|
|
91
91
|
declare const ConfigRolledBackEvent: EventSpec<SchemaModel<{
|
|
92
92
|
tenantId: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
appId: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
newVersion: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema146.FieldType<number, number>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
rolledBackFrom: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema146.FieldType<number, number>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
rolledBackTo: {
|
|
109
|
-
type:
|
|
109
|
+
type: _lssm_lib_schema146.FieldType<number, number>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
rolledBackBy: {
|
|
113
|
-
type:
|
|
113
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
114
114
|
isOptional: false;
|
|
115
115
|
};
|
|
116
116
|
reason: {
|
|
117
|
-
type:
|
|
117
|
+
type: _lssm_lib_schema146.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
}>>;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SchemaModel } from "../schema/dist/SchemaModel.js";
|
|
3
|
-
import "../schema/dist/index.js";
|
|
1
|
+
import { E5, x8 } from "../schema/dist/index.js";
|
|
4
2
|
import { defineEvent } from "../events.js";
|
|
5
3
|
import { OwnersEnum, StabilityEnum, TagsEnum } from "../ownership.js";
|
|
6
4
|
|
|
@@ -18,35 +16,35 @@ const ConfigDraftCreatedEvent = defineEvent({
|
|
|
18
16
|
version: 1,
|
|
19
17
|
description: "A new tenant config draft was created.",
|
|
20
18
|
ownership: lifecycleOwnership,
|
|
21
|
-
payload: new
|
|
19
|
+
payload: new x8({
|
|
22
20
|
name: "ConfigDraftCreatedPayload",
|
|
23
21
|
fields: {
|
|
24
22
|
tenantId: {
|
|
25
|
-
type:
|
|
23
|
+
type: E5.ID(),
|
|
26
24
|
isOptional: false
|
|
27
25
|
},
|
|
28
26
|
appId: {
|
|
29
|
-
type:
|
|
27
|
+
type: E5.ID(),
|
|
30
28
|
isOptional: false
|
|
31
29
|
},
|
|
32
30
|
version: {
|
|
33
|
-
type:
|
|
31
|
+
type: E5.Int_unsecure(),
|
|
34
32
|
isOptional: false
|
|
35
33
|
},
|
|
36
34
|
blueprintName: {
|
|
37
|
-
type:
|
|
35
|
+
type: E5.String_unsecure(),
|
|
38
36
|
isOptional: false
|
|
39
37
|
},
|
|
40
38
|
blueprintVersion: {
|
|
41
|
-
type:
|
|
39
|
+
type: E5.Int_unsecure(),
|
|
42
40
|
isOptional: false
|
|
43
41
|
},
|
|
44
42
|
createdBy: {
|
|
45
|
-
type:
|
|
43
|
+
type: E5.String_unsecure(),
|
|
46
44
|
isOptional: false
|
|
47
45
|
},
|
|
48
46
|
clonedFrom: {
|
|
49
|
-
type:
|
|
47
|
+
type: E5.Int_unsecure(),
|
|
50
48
|
isOptional: true
|
|
51
49
|
}
|
|
52
50
|
}
|
|
@@ -57,27 +55,27 @@ const ConfigPromotedToPreviewEvent = defineEvent({
|
|
|
57
55
|
version: 1,
|
|
58
56
|
description: "A tenant config draft was promoted to preview.",
|
|
59
57
|
ownership: lifecycleOwnership,
|
|
60
|
-
payload: new
|
|
58
|
+
payload: new x8({
|
|
61
59
|
name: "ConfigPromotedToPreviewPayload",
|
|
62
60
|
fields: {
|
|
63
61
|
tenantId: {
|
|
64
|
-
type:
|
|
62
|
+
type: E5.ID(),
|
|
65
63
|
isOptional: false
|
|
66
64
|
},
|
|
67
65
|
appId: {
|
|
68
|
-
type:
|
|
66
|
+
type: E5.ID(),
|
|
69
67
|
isOptional: false
|
|
70
68
|
},
|
|
71
69
|
version: {
|
|
72
|
-
type:
|
|
70
|
+
type: E5.Int_unsecure(),
|
|
73
71
|
isOptional: false
|
|
74
72
|
},
|
|
75
73
|
promotedBy: {
|
|
76
|
-
type:
|
|
74
|
+
type: E5.String_unsecure(),
|
|
77
75
|
isOptional: false
|
|
78
76
|
},
|
|
79
77
|
warnings: {
|
|
80
|
-
type:
|
|
78
|
+
type: E5.String_unsecure(),
|
|
81
79
|
isOptional: true,
|
|
82
80
|
isArray: true
|
|
83
81
|
}
|
|
@@ -89,35 +87,35 @@ const ConfigPublishedEvent = defineEvent({
|
|
|
89
87
|
version: 1,
|
|
90
88
|
description: "A tenant config version was published to production.",
|
|
91
89
|
ownership: lifecycleOwnership,
|
|
92
|
-
payload: new
|
|
90
|
+
payload: new x8({
|
|
93
91
|
name: "ConfigPublishedPayload",
|
|
94
92
|
fields: {
|
|
95
93
|
tenantId: {
|
|
96
|
-
type:
|
|
94
|
+
type: E5.ID(),
|
|
97
95
|
isOptional: false
|
|
98
96
|
},
|
|
99
97
|
appId: {
|
|
100
|
-
type:
|
|
98
|
+
type: E5.ID(),
|
|
101
99
|
isOptional: false
|
|
102
100
|
},
|
|
103
101
|
version: {
|
|
104
|
-
type:
|
|
102
|
+
type: E5.Int_unsecure(),
|
|
105
103
|
isOptional: false
|
|
106
104
|
},
|
|
107
105
|
previousVersion: {
|
|
108
|
-
type:
|
|
106
|
+
type: E5.Int_unsecure(),
|
|
109
107
|
isOptional: true
|
|
110
108
|
},
|
|
111
109
|
publishedBy: {
|
|
112
|
-
type:
|
|
110
|
+
type: E5.String_unsecure(),
|
|
113
111
|
isOptional: false
|
|
114
112
|
},
|
|
115
113
|
changeSummary: {
|
|
116
|
-
type:
|
|
114
|
+
type: E5.String_unsecure(),
|
|
117
115
|
isOptional: true
|
|
118
116
|
},
|
|
119
117
|
changedSections: {
|
|
120
|
-
type:
|
|
118
|
+
type: E5.String_unsecure(),
|
|
121
119
|
isOptional: true,
|
|
122
120
|
isArray: true
|
|
123
121
|
}
|
|
@@ -129,35 +127,35 @@ const ConfigRolledBackEvent = defineEvent({
|
|
|
129
127
|
version: 1,
|
|
130
128
|
description: "A tenant config was rolled back to a previous version.",
|
|
131
129
|
ownership: lifecycleOwnership,
|
|
132
|
-
payload: new
|
|
130
|
+
payload: new x8({
|
|
133
131
|
name: "ConfigRolledBackPayload",
|
|
134
132
|
fields: {
|
|
135
133
|
tenantId: {
|
|
136
|
-
type:
|
|
134
|
+
type: E5.ID(),
|
|
137
135
|
isOptional: false
|
|
138
136
|
},
|
|
139
137
|
appId: {
|
|
140
|
-
type:
|
|
138
|
+
type: E5.ID(),
|
|
141
139
|
isOptional: false
|
|
142
140
|
},
|
|
143
141
|
newVersion: {
|
|
144
|
-
type:
|
|
142
|
+
type: E5.Int_unsecure(),
|
|
145
143
|
isOptional: false
|
|
146
144
|
},
|
|
147
145
|
rolledBackFrom: {
|
|
148
|
-
type:
|
|
146
|
+
type: E5.Int_unsecure(),
|
|
149
147
|
isOptional: false
|
|
150
148
|
},
|
|
151
149
|
rolledBackTo: {
|
|
152
|
-
type:
|
|
150
|
+
type: E5.Int_unsecure(),
|
|
153
151
|
isOptional: false
|
|
154
152
|
},
|
|
155
153
|
rolledBackBy: {
|
|
156
|
-
type:
|
|
154
|
+
type: E5.String_unsecure(),
|
|
157
155
|
isOptional: false
|
|
158
156
|
},
|
|
159
157
|
reason: {
|
|
160
|
-
type:
|
|
158
|
+
type: E5.String_unsecure(),
|
|
161
159
|
isOptional: false
|
|
162
160
|
}
|
|
163
161
|
}
|