@contractspec/lib.contracts 1.44.1 → 1.45.1
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/README.md +1 -1
- package/dist/app-config/app-config.feature.js +6 -6
- package/dist/app-config/contracts.d.ts +50 -50
- package/dist/app-config/contracts.js +13 -13
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/events.js +12 -12
- package/dist/app-config/lifecycle-contracts.d.ts +54 -54
- package/dist/app-config/lifecycle-contracts.js +19 -19
- package/dist/app-config/lifecycle.d.ts +2 -2
- package/dist/app-config/runtime.d.ts +3 -3
- package/dist/app-config/spec.d.ts +10 -12
- package/dist/app-config/spec.js +5 -26
- package/dist/capabilities/capabilities.d.ts +4 -11
- package/dist/capabilities/capabilities.js +3 -5
- package/dist/capabilities/openbanking.js +10 -10
- package/dist/client/react/form-render.js +1 -0
- package/dist/contract-registry/schemas.d.ts +2 -2
- package/dist/contract-registry/schemas.js +1 -1
- package/dist/contract-registry/types.d.ts +1 -1
- package/dist/data-views/data-views.js +1 -0
- package/dist/data-views/registry.d.ts +3 -37
- package/dist/data-views/registry.js +4 -66
- package/dist/data-views/runtime.d.ts +1 -1
- package/dist/data-views/runtime.js +2 -0
- package/dist/data-views/spec.d.ts +2 -2
- package/dist/docs/index.d.ts +2 -2
- package/dist/docs/index.js +2 -2
- package/dist/docs/presentations.d.ts +2 -4
- package/dist/docs/presentations.js +2 -4
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.js +1 -1
- package/dist/docs/tech/contracts/tests.docblock.js +1 -1
- package/dist/docs/tech-contracts.docs.js +1 -1
- package/dist/docs/types.d.ts +1 -1
- package/dist/events.d.ts +3 -3
- package/dist/examples/docs/examples.docblock.d.ts +6 -0
- package/dist/examples/docs/examples.docblock.js +165 -0
- package/dist/examples/index.d.ts +5 -0
- package/dist/examples/index.js +6 -0
- package/dist/examples/registry.d.ts +65 -0
- package/dist/examples/registry.js +144 -0
- package/dist/examples/schema.d.ts +282 -0
- package/dist/examples/schema.js +125 -0
- package/dist/examples/types.d.ts +167 -0
- package/dist/examples/types.js +43 -0
- package/dist/examples/validation.d.ts +65 -0
- package/dist/examples/validation.js +144 -0
- package/dist/experiments/docs/experiments.docblock.js +1 -1
- package/dist/experiments/evaluator.d.ts +1 -1
- package/dist/experiments/spec-resolver.d.ts +2 -2
- package/dist/experiments/spec.d.ts +6 -8
- package/dist/experiments/spec.js +5 -23
- package/dist/features/index.d.ts +9 -1
- package/dist/features/index.js +8 -1
- package/dist/features/install.js +2 -2
- package/dist/features/types.d.ts +7 -7
- package/dist/forms/forms.d.ts +2 -2
- package/dist/forms/forms.js +3 -6
- package/dist/index.d.ts +13 -8
- package/dist/index.js +11 -2
- package/dist/install.d.ts +9 -9
- package/dist/integrations/connection.d.ts +1 -1
- package/dist/integrations/integrations.feature.js +8 -8
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/accounts.js +3 -3
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/contracts/balances.js +2 -2
- package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
- package/dist/integrations/openbanking/contracts/transactions.js +2 -2
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/openbanking/openbanking.feature.js +10 -10
- package/dist/integrations/operations.d.ts +102 -102
- package/dist/integrations/operations.js +10 -10
- package/dist/integrations/providers/elevenlabs.js +2 -2
- package/dist/integrations/providers/gcs-storage.js +2 -2
- package/dist/integrations/providers/gmail.js +3 -3
- package/dist/integrations/providers/google-calendar.js +2 -2
- package/dist/integrations/providers/mistral.js +3 -3
- package/dist/integrations/providers/postmark.js +2 -2
- package/dist/integrations/providers/powens.js +4 -4
- package/dist/integrations/providers/qdrant.js +3 -3
- package/dist/integrations/providers/stripe.js +2 -2
- package/dist/integrations/providers/twilio-sms.js +2 -2
- package/dist/integrations/runtime.d.ts +5 -5
- package/dist/integrations/spec.d.ts +3 -5
- package/dist/integrations/spec.js +5 -26
- package/dist/jobs/gcp-cloud-tasks.js +1 -1
- package/dist/jobs/gcp-pubsub.js +1 -1
- package/dist/jobs/handlers/ping-handler.d.ts +3 -3
- package/dist/jobs/handlers/ping-handler.js +2 -2
- package/dist/jobs/memory-queue.js +1 -1
- package/dist/jobs/queue.d.ts +4 -4
- package/dist/jobs/scaleway-sqs-queue.js +2 -2
- package/dist/jsonschema.d.ts +4 -4
- package/dist/knowledge/binding.d.ts +1 -1
- package/dist/knowledge/knowledge.feature.js +8 -8
- package/dist/knowledge/operations.d.ts +66 -66
- package/dist/knowledge/operations.js +12 -12
- package/dist/knowledge/source.d.ts +1 -1
- package/dist/knowledge/spaces/email-threads.js +2 -2
- package/dist/knowledge/spaces/financial-docs.js +2 -2
- package/dist/knowledge/spaces/financial-overview.js +2 -2
- package/dist/knowledge/spaces/product-canon.js +2 -2
- package/dist/knowledge/spaces/support-faq.js +2 -2
- package/dist/knowledge/spaces/uploaded-docs.js +2 -2
- package/dist/knowledge/spec.d.ts +3 -5
- package/dist/knowledge/spec.js +6 -28
- package/dist/llm/exporters.js +2 -2
- package/dist/llm/types.d.ts +4 -4
- package/dist/markdown.js +1 -1
- package/dist/migrations.d.ts +2 -2
- package/dist/migrations.js +7 -9
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/onboarding-base.js +4 -4
- package/dist/openapi.js +9 -2
- package/dist/operations/operation.d.ts +3 -3
- package/dist/operations/registry.d.ts +9 -58
- package/dist/operations/registry.js +17 -93
- package/dist/ownership.d.ts +1 -1
- package/dist/policy/docs/policy.docblock.js +1 -1
- package/dist/policy/engine.js +2 -0
- package/dist/policy/spec.d.ts +1 -1
- package/dist/prompt.d.ts +6 -6
- package/dist/promptRegistry.d.ts +4 -4
- package/dist/promptRegistry.js +2 -5
- package/dist/regenerator/docs/regenerator.docblock.js +1 -1
- package/dist/regenerator/types.d.ts +1 -1
- package/dist/registry.d.ts +3 -2
- package/dist/registry.js +5 -5
- package/dist/resources.d.ts +5 -5
- package/dist/server/graphql-pothos.js +2 -2
- package/dist/server/mcp/registerTools.js +1 -1
- package/dist/server/rest-elysia.d.ts +1 -1
- package/dist/server/rest-elysia.js +1 -1
- package/dist/server/rest-express.d.ts +1 -1
- package/dist/server/rest-express.js +1 -1
- package/dist/server/rest-generic.d.ts +1 -1
- package/dist/server/rest-generic.js +1 -1
- package/dist/server/rest-next-app.d.ts +1 -1
- package/dist/server/rest-next-mcp.d.ts +1 -1
- package/dist/server/rest-next-mcp.js +1 -1
- package/dist/server/rest-next-pages.d.ts +1 -1
- package/dist/telemetry/docs/telemetry.docblock.js +1 -1
- package/dist/telemetry/spec.d.ts +7 -7
- package/dist/telemetry/spec.js +17 -44
- package/dist/telemetry/tracker.d.ts +2 -2
- package/dist/tests/runner.d.ts +1 -1
- package/dist/tests/spec.d.ts +5 -5
- package/dist/tests/spec.js +3 -5
- package/dist/themes.d.ts +4 -6
- package/dist/themes.js +5 -27
- package/dist/translations/catalog.d.ts +1 -1
- package/dist/types.d.ts +5 -5
- package/dist/workflow/adapters/db-adapter.js +3 -3
- package/dist/workflow/runner.d.ts +4 -2
- package/dist/workflow/spec.d.ts +4 -17
- package/dist/workflow/spec.js +4 -48
- package/dist/workflow/state.d.ts +1 -1
- package/dist/workflow/validation.js +1 -1
- package/dist/workspace-config/contractsrc-schema.d.ts +346 -346
- package/dist/workspace-config/contractsrc-schema.js +86 -86
- package/package.json +19 -12
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const AppConfigFeature = {
|
|
7
7
|
meta: {
|
|
8
8
|
key: "app-config",
|
|
9
|
-
version: 1,
|
|
9
|
+
version: "1.0.0",
|
|
10
10
|
title: "App Configuration",
|
|
11
11
|
description: "Tenant app configuration lifecycle management with draft, preview, and publish stages",
|
|
12
12
|
domain: "platform",
|
|
@@ -23,19 +23,19 @@ const AppConfigFeature = {
|
|
|
23
23
|
events: [
|
|
24
24
|
{
|
|
25
25
|
key: "app_config.draft_created",
|
|
26
|
-
version: 1
|
|
26
|
+
version: "1.0.0"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
key: "app_config.promoted_to_preview",
|
|
30
|
-
version: 1
|
|
30
|
+
version: "1.0.0"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
key: "app_config.published",
|
|
34
|
-
version: 1
|
|
34
|
+
version: "1.0.0"
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
key: "app_config.rolled_back",
|
|
38
|
-
version: 1
|
|
38
|
+
version: "1.0.0"
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
41
|
presentations: [],
|
|
@@ -44,7 +44,7 @@ const AppConfigFeature = {
|
|
|
44
44
|
capabilities: {
|
|
45
45
|
provides: [{
|
|
46
46
|
key: "app-config",
|
|
47
|
-
version: 1
|
|
47
|
+
version: "1.0.0"
|
|
48
48
|
}],
|
|
49
49
|
requires: []
|
|
50
50
|
}
|
|
@@ -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_schema27 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_schema27.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
appId: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
environment: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
appName: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema27.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_schema27.FieldType<string, string>;
|
|
29
29
|
isOptional: false;
|
|
30
30
|
};
|
|
31
31
|
url: {
|
|
32
|
-
type:
|
|
32
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
33
33
|
isOptional: false;
|
|
34
34
|
};
|
|
35
35
|
mimeType: {
|
|
36
|
-
type:
|
|
36
|
+
type: _contractspec_lib_schema27.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_schema27.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
45
45
|
isOptional: true;
|
|
46
46
|
};
|
|
47
47
|
customDomain: {
|
|
48
|
-
type:
|
|
48
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
49
49
|
isOptional: true;
|
|
50
50
|
};
|
|
51
51
|
subdomain: {
|
|
52
|
-
type:
|
|
52
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
53
53
|
isOptional: true;
|
|
54
54
|
};
|
|
55
55
|
}>, SchemaModel<{
|
|
56
56
|
success: {
|
|
57
|
-
type:
|
|
57
|
+
type: _contractspec_lib_schema27.FieldType<boolean, boolean>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
updatedAt: {
|
|
61
|
-
type:
|
|
61
|
+
type: _contractspec_lib_schema27.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_schema27.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
appId: {
|
|
71
|
-
type:
|
|
71
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
domain: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
}>, SchemaModel<{
|
|
79
79
|
status: {
|
|
80
|
-
type:
|
|
80
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
message: {
|
|
84
|
-
type:
|
|
84
|
+
type: _contractspec_lib_schema27.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_schema27.FieldType<string, string>;
|
|
91
91
|
isOptional: false;
|
|
92
92
|
};
|
|
93
93
|
blueprintVersion: {
|
|
94
|
-
type:
|
|
94
|
+
type: _contractspec_lib_schema27.FieldType<number, number>;
|
|
95
95
|
isOptional: false;
|
|
96
96
|
};
|
|
97
97
|
catalogName: {
|
|
98
|
-
type:
|
|
98
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
99
99
|
isOptional: false;
|
|
100
100
|
};
|
|
101
101
|
catalogVersion: {
|
|
102
|
-
type:
|
|
102
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
103
103
|
isOptional: false;
|
|
104
104
|
};
|
|
105
105
|
defaultLocale: {
|
|
106
|
-
type:
|
|
106
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
107
107
|
isOptional: false;
|
|
108
108
|
};
|
|
109
109
|
supportedLocales: {
|
|
110
|
-
type:
|
|
110
|
+
type: _contractspec_lib_schema27.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_schema27.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
locale: {
|
|
121
|
-
type:
|
|
121
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
value: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
context: {
|
|
129
|
-
type:
|
|
129
|
+
type: _contractspec_lib_schema27.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_schema27.FieldType<boolean, boolean>;
|
|
139
139
|
isOptional: false;
|
|
140
140
|
};
|
|
141
141
|
updatedAt: {
|
|
142
|
-
type:
|
|
142
|
+
type: _contractspec_lib_schema27.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_schema27.FieldType<string, string>;
|
|
149
149
|
isOptional: false;
|
|
150
150
|
};
|
|
151
151
|
appId: {
|
|
152
|
-
type:
|
|
152
|
+
type: _contractspec_lib_schema27.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_schema27.FieldType<string, string>;
|
|
159
159
|
isOptional: false;
|
|
160
160
|
};
|
|
161
161
|
locale: {
|
|
162
|
-
type:
|
|
162
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
value: {
|
|
166
|
-
type:
|
|
166
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
167
167
|
isOptional: false;
|
|
168
168
|
};
|
|
169
169
|
context: {
|
|
170
|
-
type:
|
|
170
|
+
type: _contractspec_lib_schema27.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_schema27.FieldType<string, string>;
|
|
179
179
|
isOptional: true;
|
|
180
180
|
};
|
|
181
181
|
enabledLocales: {
|
|
182
|
-
type:
|
|
182
|
+
type: _contractspec_lib_schema27.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_schema27.FieldType<boolean, boolean>;
|
|
189
189
|
isOptional: false;
|
|
190
190
|
};
|
|
191
191
|
updatedAt: {
|
|
192
|
-
type:
|
|
192
|
+
type: _contractspec_lib_schema27.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_schema27.FieldType<string, string>;
|
|
199
199
|
isOptional: false;
|
|
200
200
|
};
|
|
201
201
|
appId: {
|
|
202
|
-
type:
|
|
202
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
203
203
|
isOptional: false;
|
|
204
204
|
};
|
|
205
205
|
environment: {
|
|
206
|
-
type:
|
|
206
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
207
207
|
isOptional: true;
|
|
208
208
|
};
|
|
209
209
|
}>, SchemaModel<{
|
|
210
210
|
branding: {
|
|
211
|
-
type:
|
|
211
|
+
type: _contractspec_lib_schema27.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_schema27.FieldType<string, string>;
|
|
218
218
|
isOptional: false;
|
|
219
219
|
};
|
|
220
220
|
appId: {
|
|
221
|
-
type:
|
|
221
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
222
222
|
isOptional: false;
|
|
223
223
|
};
|
|
224
224
|
locale: {
|
|
225
|
-
type:
|
|
225
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
226
226
|
isOptional: false;
|
|
227
227
|
};
|
|
228
228
|
key: {
|
|
229
|
-
type:
|
|
229
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
230
230
|
isOptional: false;
|
|
231
231
|
};
|
|
232
232
|
}>, SchemaModel<{
|
|
233
233
|
value: {
|
|
234
|
-
type:
|
|
234
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
235
235
|
isOptional: true;
|
|
236
236
|
};
|
|
237
237
|
source: {
|
|
238
|
-
type:
|
|
238
|
+
type: _contractspec_lib_schema27.FieldType<string, string>;
|
|
239
239
|
isOptional: true;
|
|
240
240
|
};
|
|
241
241
|
}>, undefined>;
|
|
@@ -139,7 +139,7 @@ const UpdateBlueprintTranslationInput = new SchemaModel({
|
|
|
139
139
|
isOptional: false
|
|
140
140
|
},
|
|
141
141
|
catalogVersion: {
|
|
142
|
-
type: ScalarTypeEnum.
|
|
142
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
143
143
|
isOptional: false
|
|
144
144
|
},
|
|
145
145
|
defaultLocale: {
|
|
@@ -222,7 +222,7 @@ const MessageResolutionOutput = new SchemaModel({
|
|
|
222
222
|
const UpdateTenantBrandingCommand = defineCommand({
|
|
223
223
|
meta: {
|
|
224
224
|
key: "appConfig.updateTenantBranding",
|
|
225
|
-
version: 1,
|
|
225
|
+
version: "1.0.0",
|
|
226
226
|
description: "Applies tenant branding overrides (names, assets, domains).",
|
|
227
227
|
owners: [OwnersEnum.PlatformSigil],
|
|
228
228
|
tags: ["branding"],
|
|
@@ -238,14 +238,14 @@ const UpdateTenantBrandingCommand = defineCommand({
|
|
|
238
238
|
auth: "admin",
|
|
239
239
|
policies: [{
|
|
240
240
|
key: "platform.app-config.manage",
|
|
241
|
-
version: 1
|
|
241
|
+
version: "1.0.0"
|
|
242
242
|
}]
|
|
243
243
|
}
|
|
244
244
|
});
|
|
245
245
|
const VerifyCustomDomainCommand = defineCommand({
|
|
246
246
|
meta: {
|
|
247
247
|
key: "appConfig.verifyCustomDomain",
|
|
248
|
-
version: 1,
|
|
248
|
+
version: "1.0.0",
|
|
249
249
|
description: "Validates DNS ownership for tenant custom domains.",
|
|
250
250
|
owners: [OwnersEnum.PlatformSigil],
|
|
251
251
|
tags: ["branding"],
|
|
@@ -261,14 +261,14 @@ const VerifyCustomDomainCommand = defineCommand({
|
|
|
261
261
|
auth: "admin",
|
|
262
262
|
policies: [{
|
|
263
263
|
key: "platform.app-config.manage",
|
|
264
|
-
version: 1
|
|
264
|
+
version: "1.0.0"
|
|
265
265
|
}]
|
|
266
266
|
}
|
|
267
267
|
});
|
|
268
268
|
const UpdateBlueprintTranslationCatalogCommand = defineCommand({
|
|
269
269
|
meta: {
|
|
270
270
|
key: "appConfig.updateBlueprintTranslationCatalog",
|
|
271
|
-
version: 1,
|
|
271
|
+
version: "1.0.0",
|
|
272
272
|
description: "Registers or updates translation entries for a blueprint.",
|
|
273
273
|
owners: [OwnersEnum.PlatformSigil],
|
|
274
274
|
tags: [TagsEnum.I18n],
|
|
@@ -284,14 +284,14 @@ const UpdateBlueprintTranslationCatalogCommand = defineCommand({
|
|
|
284
284
|
auth: "admin",
|
|
285
285
|
policies: [{
|
|
286
286
|
key: "platform.app-config.manage",
|
|
287
|
-
version: 1
|
|
287
|
+
version: "1.0.0"
|
|
288
288
|
}]
|
|
289
289
|
}
|
|
290
290
|
});
|
|
291
291
|
const UpdateTenantTranslationOverridesCommand = defineCommand({
|
|
292
292
|
meta: {
|
|
293
293
|
key: "appConfig.updateTenantTranslations",
|
|
294
|
-
version: 1,
|
|
294
|
+
version: "1.0.0",
|
|
295
295
|
description: "Applies tenant-specific translation entries.",
|
|
296
296
|
owners: [OwnersEnum.PlatformSigil],
|
|
297
297
|
tags: [TagsEnum.I18n],
|
|
@@ -307,14 +307,14 @@ const UpdateTenantTranslationOverridesCommand = defineCommand({
|
|
|
307
307
|
auth: "admin",
|
|
308
308
|
policies: [{
|
|
309
309
|
key: "platform.app-config.manage",
|
|
310
|
-
version: 1
|
|
310
|
+
version: "1.0.0"
|
|
311
311
|
}]
|
|
312
312
|
}
|
|
313
313
|
});
|
|
314
314
|
const GetResolvedBrandingQuery = defineQuery({
|
|
315
315
|
meta: {
|
|
316
316
|
key: "appConfig.getResolvedBranding",
|
|
317
|
-
version: 1,
|
|
317
|
+
version: "1.0.0",
|
|
318
318
|
description: "Returns the resolved branding for a tenant/app/environment.",
|
|
319
319
|
owners: [OwnersEnum.PlatformSigil],
|
|
320
320
|
tags: ["branding"],
|
|
@@ -352,14 +352,14 @@ const GetResolvedBrandingQuery = defineQuery({
|
|
|
352
352
|
auth: "admin",
|
|
353
353
|
policies: [{
|
|
354
354
|
key: "platform.app-config.read",
|
|
355
|
-
version: 1
|
|
355
|
+
version: "1.0.0"
|
|
356
356
|
}]
|
|
357
357
|
}
|
|
358
358
|
});
|
|
359
359
|
const ResolveMessageQuery = defineQuery({
|
|
360
360
|
meta: {
|
|
361
361
|
key: "appConfig.resolveMessage",
|
|
362
|
-
version: 1,
|
|
362
|
+
version: "1.0.0",
|
|
363
363
|
description: "Resolves a translation key for a tenant in the requested locale.",
|
|
364
364
|
owners: [OwnersEnum.PlatformSigil],
|
|
365
365
|
tags: [TagsEnum.I18n],
|
|
@@ -375,7 +375,7 @@ const ResolveMessageQuery = defineQuery({
|
|
|
375
375
|
auth: "admin",
|
|
376
376
|
policies: [{
|
|
377
377
|
key: "platform.app-config.read",
|
|
378
|
-
version: 1
|
|
378
|
+
version: "1.0.0"
|
|
379
379
|
}]
|
|
380
380
|
}
|
|
381
381
|
});
|
|
@@ -1,120 +1,120 @@
|
|
|
1
1
|
import { EventSpec } from "../events.js";
|
|
2
2
|
import "../index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _contractspec_lib_schema76 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_schema76.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
appId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
version: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
blueprintName: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
blueprintVersion: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
createdBy: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
clonedFrom: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema76.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_schema76.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
appId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
version: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
promotedBy: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
warnings: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema76.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_schema76.FieldType<string, string>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
appId: {
|
|
66
|
-
type:
|
|
66
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
version: {
|
|
70
|
-
type:
|
|
70
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
previousVersion: {
|
|
74
|
-
type:
|
|
74
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
75
75
|
isOptional: true;
|
|
76
76
|
};
|
|
77
77
|
publishedBy: {
|
|
78
|
-
type:
|
|
78
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
79
79
|
isOptional: false;
|
|
80
80
|
};
|
|
81
81
|
changeSummary: {
|
|
82
|
-
type:
|
|
82
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
83
83
|
isOptional: true;
|
|
84
84
|
};
|
|
85
85
|
changedSections: {
|
|
86
|
-
type:
|
|
86
|
+
type: _contractspec_lib_schema76.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_schema76.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
appId: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
newVersion: {
|
|
101
|
-
type:
|
|
101
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
rolledBackFrom: {
|
|
105
|
-
type:
|
|
105
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
rolledBackTo: {
|
|
109
|
-
type:
|
|
109
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
rolledBackBy: {
|
|
113
|
-
type:
|
|
113
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
114
114
|
isOptional: false;
|
|
115
115
|
};
|
|
116
116
|
reason: {
|
|
117
|
-
type:
|
|
117
|
+
type: _contractspec_lib_schema76.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
}>>;
|