@contractspec/lib.contracts 1.46.1 → 1.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-config/app-config.capability.d.ts +7 -0
- package/dist/app-config/app-config.capability.js +23 -0
- package/dist/app-config/app-config.feature.d.ts +1 -2
- package/dist/app-config/app-config.feature.js +9 -2
- package/dist/app-config/contracts.d.ts +50 -50
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/index.d.ts +4 -3
- package/dist/app-config/index.js +3 -2
- package/dist/app-config/lifecycle-contracts.d.ts +55 -55
- package/dist/app-config/runtime.d.ts +6 -6
- package/dist/app-config/spec.d.ts +9 -5
- package/dist/app-config/spec.js +5 -1
- package/dist/contract-registry/schemas.d.ts +2 -2
- package/dist/data-views/runtime.d.ts +5 -1
- package/dist/data-views/runtime.js +34 -7
- package/dist/data-views/spec.d.ts +1 -1
- package/dist/docs/index.js +2 -1
- package/dist/docs/tech/cli.docblock.d.ts +6 -0
- package/dist/docs/tech/cli.docblock.js +138 -0
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js +106 -1
- package/dist/docs/tech/studio/project-access-teams.docblock.js +3 -1
- package/dist/examples/index.d.ts +9 -1
- package/dist/examples/index.js +8 -1
- package/dist/examples/registry.d.ts +3 -25
- package/dist/examples/registry.js +4 -60
- package/dist/examples/schema.d.ts +17 -17
- package/dist/examples/types.d.ts +1 -1
- package/dist/features/types.d.ts +1 -1
- package/dist/index.d.ts +27 -26
- package/dist/index.js +6 -6
- package/dist/install.d.ts +1 -1
- package/dist/integrations/index.d.ts +2 -2
- package/dist/integrations/index.js +2 -2
- package/dist/integrations/integrations.capability.d.ts +7 -0
- package/dist/integrations/integrations.capability.js +17 -0
- package/dist/integrations/integrations.feature.d.ts +1 -2
- package/dist/integrations/integrations.feature.js +9 -2
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/openbanking/openbanking.capability.d.ts +7 -0
- package/dist/integrations/openbanking/openbanking.capability.js +21 -0
- package/dist/integrations/openbanking/openbanking.feature.d.ts +1 -2
- package/dist/integrations/openbanking/openbanking.feature.js +9 -2
- package/dist/integrations/operations.d.ts +102 -102
- package/dist/integrations/providers/elevenlabs.d.ts +1 -0
- package/dist/integrations/providers/elevenlabs.js +3 -2
- package/dist/integrations/providers/gcs-storage.d.ts +1 -0
- package/dist/integrations/providers/gcs-storage.js +3 -2
- package/dist/integrations/providers/gmail.d.ts +1 -0
- package/dist/integrations/providers/gmail.js +3 -2
- package/dist/integrations/providers/google-calendar.d.ts +1 -0
- package/dist/integrations/providers/google-calendar.js +3 -2
- package/dist/integrations/providers/impls/provider-factory.js +2 -1
- package/dist/integrations/providers/mistral.d.ts +1 -0
- package/dist/integrations/providers/mistral.js +3 -2
- package/dist/integrations/providers/postmark.d.ts +1 -0
- package/dist/integrations/providers/postmark.js +3 -2
- package/dist/integrations/providers/powens.d.ts +1 -0
- package/dist/integrations/providers/powens.js +3 -2
- package/dist/integrations/providers/qdrant.d.ts +1 -0
- package/dist/integrations/providers/qdrant.js +3 -2
- package/dist/integrations/providers/stripe.d.ts +1 -0
- package/dist/integrations/providers/stripe.js +3 -2
- package/dist/integrations/providers/twilio-sms.d.ts +1 -0
- package/dist/integrations/providers/twilio-sms.js +3 -2
- package/dist/integrations/spec.d.ts +5 -1
- package/dist/integrations/spec.js +5 -1
- package/dist/knowledge/knowledge.capability.d.ts +7 -0
- package/dist/knowledge/knowledge.capability.js +21 -0
- package/dist/knowledge/knowledge.feature.d.ts +1 -2
- package/dist/knowledge/knowledge.feature.js +9 -2
- package/dist/knowledge/operations.d.ts +66 -66
- package/dist/llm/exporters.d.ts +1 -1
- package/dist/llm/types.d.ts +1 -1
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/operations/operation.d.ts +1 -1
- package/dist/server/mcp/createMcpServer.js +1 -1
- package/dist/server/mcp/mcpTypes.d.ts +1 -1
- package/dist/server/mcp/registerPresentations.js +1 -1
- package/dist/server/mcp/registerResources.js +2 -2
- package/dist/tests/index.d.ts +2 -2
- package/dist/tests/index.js +2 -2
- package/dist/tests/spec.d.ts +2 -1
- package/dist/tests/spec.js +4 -1
- package/dist/types.d.ts +2 -2
- package/dist/workflow/index.d.ts +8 -1
- package/dist/workflow/index.js +8 -1
- package/dist/workflow/runner.d.ts +2 -2
- package/dist/workflow/spec.d.ts +1 -1
- package/dist/workflow/validation.d.ts +1 -1
- package/dist/workspace-config/contractsrc-schema.d.ts +45 -974
- package/dist/workspace-config/contractsrc-schema.js +89 -55
- package/dist/workspace-config/contractsrc-types.d.ts +346 -0
- package/dist/workspace-config/contractsrc-types.js +0 -0
- package/dist/workspace-config/index.d.ts +3 -2
- package/package.json +27 -25
- package/dist/docs/tech/contracts/create-subscription.docblock.d.ts +0 -6
- package/dist/docs/tech/contracts/create-subscription.docblock.js +0 -21
- package/dist/docs/tech/contracts/graphql-typed-outputs.docblock.d.ts +0 -6
- package/dist/docs/tech/contracts/graphql-typed-outputs.docblock.js +0 -21
- package/dist/docs/tech/templates/runtime.docblock.d.ts +0 -6
- package/dist/docs/tech/templates/runtime.docblock.js +0 -21
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineCapability } from "../capabilities/capabilities.js";
|
|
2
|
+
import { OwnersEnum, StabilityEnum, TagsEnum } from "../ownership.js";
|
|
3
|
+
import "../capabilities/index.js";
|
|
4
|
+
|
|
5
|
+
//#region src/app-config/app-config.capability.ts
|
|
6
|
+
const AppConfigCapability = defineCapability({
|
|
7
|
+
meta: {
|
|
8
|
+
key: "app-config",
|
|
9
|
+
version: "1.0.0",
|
|
10
|
+
title: "App Configuration Capability",
|
|
11
|
+
description: "Provides tenant app configuration lifecycle management.",
|
|
12
|
+
domain: "platform",
|
|
13
|
+
owners: [OwnersEnum.PlatformSigil],
|
|
14
|
+
tags: [TagsEnum.Hygiene],
|
|
15
|
+
kind: "api",
|
|
16
|
+
stability: StabilityEnum.Stable
|
|
17
|
+
},
|
|
18
|
+
provides: [],
|
|
19
|
+
requires: []
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { AppConfigCapability };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { FeatureModuleSpec } from "../features/types.js";
|
|
2
|
-
import "../
|
|
2
|
+
import "../index.js";
|
|
3
3
|
|
|
4
4
|
//#region src/app-config/app-config.feature.d.ts
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* App Config feature module that bundles tenant configuration
|
|
8
7
|
* lifecycle events for draft, preview, publish, and rollback stages.
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
import { defineAppConfig } from "./spec.js";
|
|
2
|
+
|
|
1
3
|
//#region src/app-config/app-config.feature.ts
|
|
2
4
|
/**
|
|
5
|
+
* App Config Feature Module Specification
|
|
6
|
+
*
|
|
7
|
+
* Defines the feature module for tenant app configuration lifecycle.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
3
10
|
* App Config feature module that bundles tenant configuration
|
|
4
11
|
* lifecycle events for draft, preview, publish, and rollback stages.
|
|
5
12
|
*/
|
|
6
|
-
const AppConfigFeature = {
|
|
13
|
+
const AppConfigFeature = defineAppConfig({
|
|
7
14
|
meta: {
|
|
8
15
|
key: "app-config",
|
|
9
16
|
version: "1.0.0",
|
|
@@ -48,7 +55,7 @@ const AppConfigFeature = {
|
|
|
48
55
|
}],
|
|
49
56
|
requires: []
|
|
50
57
|
}
|
|
51
|
-
};
|
|
58
|
+
});
|
|
52
59
|
|
|
53
60
|
//#endregion
|
|
54
61
|
export { AppConfigFeature };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { OperationSpec } from "../operations/operation.js";
|
|
2
2
|
import { OperationSpecRegistry } from "../operations/registry.js";
|
|
3
3
|
import "../operations/index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _contractspec_lib_schema151 from "@contractspec/lib.schema";
|
|
5
5
|
import { SchemaModel } from "@contractspec/lib.schema";
|
|
6
6
|
|
|
7
7
|
//#region src/app-config/contracts.d.ts
|
|
8
8
|
declare const UpdateTenantBrandingCommand: OperationSpec<SchemaModel<{
|
|
9
9
|
tenantId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
appId: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
environment: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
appName: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema151.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
assets: {
|
|
26
26
|
type: SchemaModel<{
|
|
27
27
|
type: {
|
|
28
|
-
type:
|
|
28
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
29
29
|
isOptional: false;
|
|
30
30
|
};
|
|
31
31
|
url: {
|
|
32
|
-
type:
|
|
32
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
33
33
|
isOptional: false;
|
|
34
34
|
};
|
|
35
35
|
mimeType: {
|
|
36
|
-
type:
|
|
36
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
37
37
|
isOptional: true;
|
|
38
38
|
};
|
|
39
39
|
}>;
|
|
@@ -41,92 +41,92 @@ declare const UpdateTenantBrandingCommand: OperationSpec<SchemaModel<{
|
|
|
41
41
|
isArray: true;
|
|
42
42
|
};
|
|
43
43
|
colors: {
|
|
44
|
-
type:
|
|
44
|
+
type: _contractspec_lib_schema151.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
45
45
|
isOptional: true;
|
|
46
46
|
};
|
|
47
47
|
customDomain: {
|
|
48
|
-
type:
|
|
48
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
49
49
|
isOptional: true;
|
|
50
50
|
};
|
|
51
51
|
subdomain: {
|
|
52
|
-
type:
|
|
52
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
53
53
|
isOptional: true;
|
|
54
54
|
};
|
|
55
55
|
}>, SchemaModel<{
|
|
56
56
|
success: {
|
|
57
|
-
type:
|
|
57
|
+
type: _contractspec_lib_schema151.FieldType<boolean, boolean>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
updatedAt: {
|
|
61
|
-
type:
|
|
61
|
+
type: _contractspec_lib_schema151.FieldType<Date, string>;
|
|
62
62
|
isOptional: false;
|
|
63
63
|
};
|
|
64
64
|
}>, undefined>;
|
|
65
65
|
declare const VerifyCustomDomainCommand: OperationSpec<SchemaModel<{
|
|
66
66
|
tenantId: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
appId: {
|
|
71
|
-
type:
|
|
71
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
domain: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
}>, SchemaModel<{
|
|
79
79
|
status: {
|
|
80
|
-
type:
|
|
80
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
message: {
|
|
84
|
-
type:
|
|
84
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
85
85
|
isOptional: true;
|
|
86
86
|
};
|
|
87
87
|
}>, undefined>;
|
|
88
88
|
declare const UpdateBlueprintTranslationCatalogCommand: OperationSpec<SchemaModel<{
|
|
89
89
|
blueprintName: {
|
|
90
|
-
type:
|
|
90
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
91
91
|
isOptional: false;
|
|
92
92
|
};
|
|
93
93
|
blueprintVersion: {
|
|
94
|
-
type:
|
|
94
|
+
type: _contractspec_lib_schema151.FieldType<number, number>;
|
|
95
95
|
isOptional: false;
|
|
96
96
|
};
|
|
97
97
|
catalogName: {
|
|
98
|
-
type:
|
|
98
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
99
99
|
isOptional: false;
|
|
100
100
|
};
|
|
101
101
|
catalogVersion: {
|
|
102
|
-
type:
|
|
102
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
103
103
|
isOptional: false;
|
|
104
104
|
};
|
|
105
105
|
defaultLocale: {
|
|
106
|
-
type:
|
|
106
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
107
107
|
isOptional: false;
|
|
108
108
|
};
|
|
109
109
|
supportedLocales: {
|
|
110
|
-
type:
|
|
110
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
111
111
|
isOptional: false;
|
|
112
112
|
isArray: true;
|
|
113
113
|
};
|
|
114
114
|
entries: {
|
|
115
115
|
type: SchemaModel<{
|
|
116
116
|
key: {
|
|
117
|
-
type:
|
|
117
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
locale: {
|
|
121
|
-
type:
|
|
121
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
value: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
context: {
|
|
129
|
-
type:
|
|
129
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
130
130
|
isOptional: true;
|
|
131
131
|
};
|
|
132
132
|
}>;
|
|
@@ -135,39 +135,39 @@ declare const UpdateBlueprintTranslationCatalogCommand: OperationSpec<SchemaMode
|
|
|
135
135
|
};
|
|
136
136
|
}>, SchemaModel<{
|
|
137
137
|
success: {
|
|
138
|
-
type:
|
|
138
|
+
type: _contractspec_lib_schema151.FieldType<boolean, boolean>;
|
|
139
139
|
isOptional: false;
|
|
140
140
|
};
|
|
141
141
|
updatedAt: {
|
|
142
|
-
type:
|
|
142
|
+
type: _contractspec_lib_schema151.FieldType<Date, string>;
|
|
143
143
|
isOptional: false;
|
|
144
144
|
};
|
|
145
145
|
}>, undefined>;
|
|
146
146
|
declare const UpdateTenantTranslationOverridesCommand: OperationSpec<SchemaModel<{
|
|
147
147
|
tenantId: {
|
|
148
|
-
type:
|
|
148
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
149
149
|
isOptional: false;
|
|
150
150
|
};
|
|
151
151
|
appId: {
|
|
152
|
-
type:
|
|
152
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
153
153
|
isOptional: false;
|
|
154
154
|
};
|
|
155
155
|
entries: {
|
|
156
156
|
type: SchemaModel<{
|
|
157
157
|
key: {
|
|
158
|
-
type:
|
|
158
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
159
159
|
isOptional: false;
|
|
160
160
|
};
|
|
161
161
|
locale: {
|
|
162
|
-
type:
|
|
162
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
value: {
|
|
166
|
-
type:
|
|
166
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
167
167
|
isOptional: false;
|
|
168
168
|
};
|
|
169
169
|
context: {
|
|
170
|
-
type:
|
|
170
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
171
171
|
isOptional: true;
|
|
172
172
|
};
|
|
173
173
|
}>;
|
|
@@ -175,67 +175,67 @@ declare const UpdateTenantTranslationOverridesCommand: OperationSpec<SchemaModel
|
|
|
175
175
|
isArray: true;
|
|
176
176
|
};
|
|
177
177
|
defaultLocale: {
|
|
178
|
-
type:
|
|
178
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
179
179
|
isOptional: true;
|
|
180
180
|
};
|
|
181
181
|
enabledLocales: {
|
|
182
|
-
type:
|
|
182
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
183
183
|
isOptional: true;
|
|
184
184
|
isArray: true;
|
|
185
185
|
};
|
|
186
186
|
}>, SchemaModel<{
|
|
187
187
|
success: {
|
|
188
|
-
type:
|
|
188
|
+
type: _contractspec_lib_schema151.FieldType<boolean, boolean>;
|
|
189
189
|
isOptional: false;
|
|
190
190
|
};
|
|
191
191
|
updatedAt: {
|
|
192
|
-
type:
|
|
192
|
+
type: _contractspec_lib_schema151.FieldType<Date, string>;
|
|
193
193
|
isOptional: false;
|
|
194
194
|
};
|
|
195
195
|
}>, undefined>;
|
|
196
196
|
declare const GetResolvedBrandingQuery: OperationSpec<SchemaModel<{
|
|
197
197
|
tenantId: {
|
|
198
|
-
type:
|
|
198
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
199
199
|
isOptional: false;
|
|
200
200
|
};
|
|
201
201
|
appId: {
|
|
202
|
-
type:
|
|
202
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
203
203
|
isOptional: false;
|
|
204
204
|
};
|
|
205
205
|
environment: {
|
|
206
|
-
type:
|
|
206
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
207
207
|
isOptional: true;
|
|
208
208
|
};
|
|
209
209
|
}>, SchemaModel<{
|
|
210
210
|
branding: {
|
|
211
|
-
type:
|
|
211
|
+
type: _contractspec_lib_schema151.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
212
212
|
isOptional: false;
|
|
213
213
|
};
|
|
214
214
|
}>, undefined>;
|
|
215
215
|
declare const ResolveMessageQuery: OperationSpec<SchemaModel<{
|
|
216
216
|
tenantId: {
|
|
217
|
-
type:
|
|
217
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
218
218
|
isOptional: false;
|
|
219
219
|
};
|
|
220
220
|
appId: {
|
|
221
|
-
type:
|
|
221
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
222
222
|
isOptional: false;
|
|
223
223
|
};
|
|
224
224
|
locale: {
|
|
225
|
-
type:
|
|
225
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
226
226
|
isOptional: false;
|
|
227
227
|
};
|
|
228
228
|
key: {
|
|
229
|
-
type:
|
|
229
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
230
230
|
isOptional: false;
|
|
231
231
|
};
|
|
232
232
|
}>, SchemaModel<{
|
|
233
233
|
value: {
|
|
234
|
-
type:
|
|
234
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
235
235
|
isOptional: true;
|
|
236
236
|
};
|
|
237
237
|
source: {
|
|
238
|
-
type:
|
|
238
|
+
type: _contractspec_lib_schema151.FieldType<string, string>;
|
|
239
239
|
isOptional: true;
|
|
240
240
|
};
|
|
241
241
|
}>, undefined>;
|
|
@@ -1,120 +1,120 @@
|
|
|
1
1
|
import { EventSpec } from "../events.js";
|
|
2
2
|
import "../index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _contractspec_lib_schema125 from "@contractspec/lib.schema";
|
|
4
4
|
import { SchemaModel } from "@contractspec/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: _contractspec_lib_schema125.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
appId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
version: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
blueprintName: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
blueprintVersion: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
createdBy: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
clonedFrom: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema125.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: _contractspec_lib_schema125.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
appId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
version: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
promotedBy: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
warnings: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema125.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: _contractspec_lib_schema125.FieldType<string, string>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
appId: {
|
|
66
|
-
type:
|
|
66
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
version: {
|
|
70
|
-
type:
|
|
70
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
previousVersion: {
|
|
74
|
-
type:
|
|
74
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
75
75
|
isOptional: true;
|
|
76
76
|
};
|
|
77
77
|
publishedBy: {
|
|
78
|
-
type:
|
|
78
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
79
79
|
isOptional: false;
|
|
80
80
|
};
|
|
81
81
|
changeSummary: {
|
|
82
|
-
type:
|
|
82
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
83
83
|
isOptional: true;
|
|
84
84
|
};
|
|
85
85
|
changedSections: {
|
|
86
|
-
type:
|
|
86
|
+
type: _contractspec_lib_schema125.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: _contractspec_lib_schema125.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
appId: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
newVersion: {
|
|
101
|
-
type:
|
|
101
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
rolledBackFrom: {
|
|
105
|
-
type:
|
|
105
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
rolledBackTo: {
|
|
109
|
-
type:
|
|
109
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
rolledBackBy: {
|
|
113
|
-
type:
|
|
113
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
114
114
|
isOptional: false;
|
|
115
115
|
};
|
|
116
116
|
reason: {
|
|
117
|
-
type:
|
|
117
|
+
type: _contractspec_lib_schema125.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
}>>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { BrandingAssetRef, BrandingDefaults, ResolvedBranding, TenantBrandingAsset, TenantBrandingConfig } from "./branding.js";
|
|
2
2
|
import { ConfigStatus, ConfigTransition, ConfigVersionHistory, TenantAppConfigVersion } from "./lifecycle.js";
|
|
3
|
-
import { AppBlueprintMeta, AppBlueprintRegistry, AppBlueprintSpec, AppIntegrationSlot, AppRouteConfig, AppThemeBinding, FeatureFlagState, SpecPointer, TelemetryBinding, TenantAppConfig, TenantAppConfigMeta, TenantRouteOverride, TenantSpecOverride, TranslationCatalogPointer, makeAppBlueprintKey } from "./spec.js";
|
|
3
|
+
import { AppBlueprintMeta, AppBlueprintRegistry, AppBlueprintSpec, AppIntegrationSlot, AppRouteConfig, AppThemeBinding, FeatureFlagState, SpecPointer, TelemetryBinding, TenantAppConfig, TenantAppConfigMeta, TenantRouteOverride, TenantSpecOverride, TranslationCatalogPointer, defineAppConfig, makeAppBlueprintKey } from "./spec.js";
|
|
4
4
|
import { AppComposition, AppCompositionDeps, ComposeOptions, MissingReference, ResolveAppConfigDeps, ResolvedAppConfig, ResolvedIntegration, ResolvedKnowledge, ResolvedTranslation, composeAppConfig, resolveAppConfig } from "./runtime.js";
|
|
5
|
-
import { AppConfigFeature } from "./app-config.feature.js";
|
|
6
5
|
import { ValidationContext, ValidationIssue, ValidationResult, ValidationSeverity, validateBlueprint, validateConfig, validateResolvedConfig, validateTenantConfig } from "./validation.js";
|
|
6
|
+
import { AppConfigCapability } from "./app-config.capability.js";
|
|
7
|
+
import { AppConfigFeature } from "./app-config.feature.js";
|
|
7
8
|
import { ConfigDraftCreatedEvent, ConfigPromotedToPreviewEvent, ConfigPublishedEvent, ConfigRolledBackEvent } from "./events.js";
|
|
8
9
|
import { CreateTenantConfigDraftCommand, GetTenantConfigVersionQuery, ListTenantConfigVersionsQuery, PromoteTenantConfigToPreviewCommand, PublishTenantConfigCommand, RollbackTenantConfigCommand, lifecycleContracts, registerAppConfigLifecycleContracts } from "./lifecycle-contracts.js";
|
|
9
|
-
export { AppBlueprintMeta, AppBlueprintRegistry, AppBlueprintSpec, AppComposition, AppCompositionDeps, AppConfigFeature, AppIntegrationSlot, AppRouteConfig, AppThemeBinding, BrandingAssetRef, BrandingDefaults, ComposeOptions, ConfigDraftCreatedEvent, ConfigPromotedToPreviewEvent, ConfigPublishedEvent, ConfigRolledBackEvent, ConfigStatus, ConfigTransition, ConfigVersionHistory, CreateTenantConfigDraftCommand, FeatureFlagState, GetTenantConfigVersionQuery, ListTenantConfigVersionsQuery, MissingReference, PromoteTenantConfigToPreviewCommand, PublishTenantConfigCommand, ResolveAppConfigDeps, ResolvedAppConfig, ResolvedBranding, ResolvedIntegration, ResolvedKnowledge, ResolvedTranslation, RollbackTenantConfigCommand, SpecPointer, TelemetryBinding, TenantAppConfig, TenantAppConfigMeta, TenantAppConfigVersion, TenantBrandingAsset, TenantBrandingConfig, TenantRouteOverride, TenantSpecOverride, TranslationCatalogPointer, ValidationContext, ValidationIssue, ValidationResult, ValidationSeverity, composeAppConfig, lifecycleContracts, makeAppBlueprintKey, registerAppConfigLifecycleContracts, resolveAppConfig, validateBlueprint, validateConfig, validateResolvedConfig, validateTenantConfig };
|
|
10
|
+
export { AppBlueprintMeta, AppBlueprintRegistry, AppBlueprintSpec, AppComposition, AppCompositionDeps, AppConfigCapability, AppConfigFeature, AppIntegrationSlot, AppRouteConfig, AppThemeBinding, BrandingAssetRef, BrandingDefaults, ComposeOptions, ConfigDraftCreatedEvent, ConfigPromotedToPreviewEvent, ConfigPublishedEvent, ConfigRolledBackEvent, ConfigStatus, ConfigTransition, ConfigVersionHistory, CreateTenantConfigDraftCommand, FeatureFlagState, GetTenantConfigVersionQuery, ListTenantConfigVersionsQuery, MissingReference, PromoteTenantConfigToPreviewCommand, PublishTenantConfigCommand, ResolveAppConfigDeps, ResolvedAppConfig, ResolvedBranding, ResolvedIntegration, ResolvedKnowledge, ResolvedTranslation, RollbackTenantConfigCommand, SpecPointer, TelemetryBinding, TenantAppConfig, TenantAppConfigMeta, TenantAppConfigVersion, TenantBrandingAsset, TenantBrandingConfig, TenantRouteOverride, TenantSpecOverride, TranslationCatalogPointer, ValidationContext, ValidationIssue, ValidationResult, ValidationSeverity, composeAppConfig, defineAppConfig, lifecycleContracts, makeAppBlueprintKey, registerAppConfigLifecycleContracts, resolveAppConfig, validateBlueprint, validateConfig, validateResolvedConfig, validateTenantConfig };
|
package/dist/app-config/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { AppBlueprintRegistry, makeAppBlueprintKey } from "./spec.js";
|
|
1
|
+
import { AppBlueprintRegistry, defineAppConfig, makeAppBlueprintKey } from "./spec.js";
|
|
2
2
|
import { composeAppConfig, resolveAppConfig } from "./runtime.js";
|
|
3
3
|
import { validateBlueprint, validateConfig, validateResolvedConfig, validateTenantConfig } from "./validation.js";
|
|
4
|
+
import { AppConfigCapability } from "./app-config.capability.js";
|
|
4
5
|
import { AppConfigFeature } from "./app-config.feature.js";
|
|
5
6
|
import { ConfigDraftCreatedEvent, ConfigPromotedToPreviewEvent, ConfigPublishedEvent, ConfigRolledBackEvent } from "./events.js";
|
|
6
7
|
import { CreateTenantConfigDraftCommand, GetTenantConfigVersionQuery, ListTenantConfigVersionsQuery, PromoteTenantConfigToPreviewCommand, PublishTenantConfigCommand, RollbackTenantConfigCommand, lifecycleContracts, registerAppConfigLifecycleContracts } from "./lifecycle-contracts.js";
|
|
7
8
|
|
|
8
|
-
export { AppBlueprintRegistry, AppConfigFeature, ConfigDraftCreatedEvent, ConfigPromotedToPreviewEvent, ConfigPublishedEvent, ConfigRolledBackEvent, CreateTenantConfigDraftCommand, GetTenantConfigVersionQuery, ListTenantConfigVersionsQuery, PromoteTenantConfigToPreviewCommand, PublishTenantConfigCommand, RollbackTenantConfigCommand, composeAppConfig, lifecycleContracts, makeAppBlueprintKey, registerAppConfigLifecycleContracts, resolveAppConfig, validateBlueprint, validateConfig, validateResolvedConfig, validateTenantConfig };
|
|
9
|
+
export { AppBlueprintRegistry, AppConfigCapability, AppConfigFeature, ConfigDraftCreatedEvent, ConfigPromotedToPreviewEvent, ConfigPublishedEvent, ConfigRolledBackEvent, CreateTenantConfigDraftCommand, GetTenantConfigVersionQuery, ListTenantConfigVersionsQuery, PromoteTenantConfigToPreviewCommand, PublishTenantConfigCommand, RollbackTenantConfigCommand, composeAppConfig, defineAppConfig, lifecycleContracts, makeAppBlueprintKey, registerAppConfigLifecycleContracts, resolveAppConfig, validateBlueprint, validateConfig, validateResolvedConfig, validateTenantConfig };
|