@kumwe/studio-protocol 0.1.0-alpha.10
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/README.md +77 -0
- package/THIRD_PARTY_NOTICES.md +9 -0
- package/dist/generated/schema-models.d.ts +1968 -0
- package/dist/generated/schema-models.d.ts.map +1 -0
- package/dist/generated/schema-models.js +76 -0
- package/dist/generated/schema-models.js.map +1 -0
- package/dist/guards.d.ts +7 -0
- package/dist/guards.d.ts.map +1 -0
- package/dist/guards.js +374 -0
- package/dist/guards.js.map +1 -0
- package/dist/host-failure.d.ts +16 -0
- package/dist/host-failure.d.ts.map +1 -0
- package/dist/host-failure.js +27 -0
- package/dist/host-failure.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/schemas.d.ts +50 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +144 -0
- package/dist/schemas.js.map +1 -0
- package/dist/types.d.ts +1256 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +8 -0
- package/dist/types.js.map +1 -0
- package/package.json +42 -0
- package/schemas/authoring-message-catalog.schema.json +45 -0
- package/schemas/authoring-web-vector.schema.json +236 -0
- package/schemas/binding-projection-vector.schema.json +127 -0
- package/schemas/block-definition.schema.json +227 -0
- package/schemas/blueprint.schema.json +273 -0
- package/schemas/canonical-vector.schema.json +65 -0
- package/schemas/command-vector.schema.json +68 -0
- package/schemas/command.schema.json +410 -0
- package/schemas/common.schema.json +222 -0
- package/schemas/content-model.schema.json +216 -0
- package/schemas/corpus-manifest.schema.json +48 -0
- package/schemas/design-vocabulary.schema.json +91 -0
- package/schemas/entry.schema.json +32 -0
- package/schemas/field-adapter.schema.json +51 -0
- package/schemas/host-capabilities.schema.json +65 -0
- package/schemas/host-error.schema.json +42 -0
- package/schemas/host-operations.schema.json +162 -0
- package/schemas/host-request.schema.json +71 -0
- package/schemas/host-result.schema.json +19 -0
- package/schemas/host-sequence-vector.schema.json +342 -0
- package/schemas/host-vector.schema.json +199 -0
- package/schemas/inspector.schema.json +44 -0
- package/schemas/manifest.json +246 -0
- package/schemas/media-asset.schema.json +83 -0
- package/schemas/media-reference.schema.json +112 -0
- package/schemas/media-upload-grant.schema.json +48 -0
- package/schemas/media-upload-session.schema.json +109 -0
- package/schemas/media-vector.schema.json +123 -0
- package/schemas/migration.schema.json +41 -0
- package/schemas/pattern.schema.json +50 -0
- package/schemas/plugin-manifest.schema.json +126 -0
- package/schemas/preview-message.schema.json +583 -0
- package/schemas/preview-vector.schema.json +52 -0
- package/schemas/provenance.schema.json +57 -0
- package/schemas/renderer-web-vector.schema.json +160 -0
- package/schemas/rich-text-projection.schema.json +79 -0
- package/schemas/rich-text.schema.json +323 -0
- package/schemas/schema-profile-vector.schema.json +133 -0
- package/schemas/schema-profile.schema.json +201 -0
- package/schemas/studio-chart.schema.json +35 -0
- package/schemas/studio-config.schema.json +244 -0
- package/schemas/studio-drawing.schema.json +44 -0
- package/schemas/studio-money.schema.json +16 -0
- package/schemas/studio-presentation.schema.json +31 -0
- package/schemas/studio-release.schema.json +81 -0
- package/schemas/studio-table.schema.json +27 -0
- package/schemas/theme.schema.json +164 -0
- package/schemas/unresolved-contribution.schema.json +50 -0
- package/studio-release.json +18 -0
|
@@ -0,0 +1,1968 @@
|
|
|
1
|
+
export type GeneratedJsonPrimitive = boolean | null | number | string;
|
|
2
|
+
export type GeneratedJsonValue = GeneratedJsonPrimitive | GeneratedJsonValue[] | {
|
|
3
|
+
[key: string]: GeneratedJsonValue;
|
|
4
|
+
};
|
|
5
|
+
export interface GeneratedTypeScriptModelMetadata {
|
|
6
|
+
readonly documentContractRevision: string;
|
|
7
|
+
readonly generator: {
|
|
8
|
+
readonly name: string;
|
|
9
|
+
readonly version: string;
|
|
10
|
+
};
|
|
11
|
+
readonly schemaCount: number;
|
|
12
|
+
readonly schemaEpoch: string;
|
|
13
|
+
readonly schemaManifestDigest: string;
|
|
14
|
+
readonly supportedWireProtocolRange: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const GENERATED_TYPESCRIPT_MODEL_METADATA: GeneratedTypeScriptModelMetadata;
|
|
17
|
+
/** Studio authoring message catalog */
|
|
18
|
+
export type GeneratedAuthoringMessageCatalog = {
|
|
19
|
+
$schema: 'https://schemas.kumwe.org/studio/v1/authoring-message-catalog.schema.json';
|
|
20
|
+
catalogVersion: GeneratedCommonSemanticVersion;
|
|
21
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
22
|
+
kind: 'authoring-message-catalog';
|
|
23
|
+
locale: GeneratedCommonLocale;
|
|
24
|
+
messages: {
|
|
25
|
+
[key: string]: GeneratedAuthoringMessageCatalogMessage;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export type GeneratedAuthoringMessageCatalogMessage = {
|
|
29
|
+
defaultMessage: string;
|
|
30
|
+
parameters: GeneratedCommonLocalName[];
|
|
31
|
+
};
|
|
32
|
+
/** Studio portable web-authoring conformance vector */
|
|
33
|
+
export type GeneratedAuthoringWebVector = {
|
|
34
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
35
|
+
description: string;
|
|
36
|
+
expect: GeneratedAuthoringWebVectorObservation;
|
|
37
|
+
given: GeneratedAuthoringWebVectorGiven;
|
|
38
|
+
id: GeneratedCommonQualifiedName;
|
|
39
|
+
kind: 'authoring-web-vector';
|
|
40
|
+
lanes: [GeneratedAuthoringWebVectorLane, ...GeneratedAuthoringWebVectorLane[]];
|
|
41
|
+
requirements: [string, ...string[]];
|
|
42
|
+
};
|
|
43
|
+
export type GeneratedAuthoringWebVectorAction = GeneratedAuthoringWebVectorFocusNode | GeneratedAuthoringWebVectorKeyAction | GeneratedAuthoringWebVectorDragNode | GeneratedAuthoringWebVectorActivateCommand | GeneratedAuthoringWebVectorEditProperty;
|
|
44
|
+
export type GeneratedAuthoringWebVectorActivateCommand = {
|
|
45
|
+
kind: 'activate-command';
|
|
46
|
+
payload: GeneratedAuthoringWebVectorJsonObject;
|
|
47
|
+
region: GeneratedAuthoringWebVectorRegion;
|
|
48
|
+
type: GeneratedCommonQualifiedName;
|
|
49
|
+
};
|
|
50
|
+
export type GeneratedAuthoringWebVectorDragNode = {
|
|
51
|
+
destination: GeneratedCommandDestination;
|
|
52
|
+
kind: 'drag-node';
|
|
53
|
+
nodeId: GeneratedCommonStableId;
|
|
54
|
+
};
|
|
55
|
+
export type GeneratedAuthoringWebVectorEditProperty = {
|
|
56
|
+
kind: 'edit-property';
|
|
57
|
+
nodeId: GeneratedCommonStableId;
|
|
58
|
+
property: GeneratedCommonLocalName;
|
|
59
|
+
value: GeneratedCommonJsonValue;
|
|
60
|
+
viewport?: GeneratedCommonLocalName;
|
|
61
|
+
};
|
|
62
|
+
export type GeneratedAuthoringWebVectorFocusNode = {
|
|
63
|
+
kind: 'focus-node';
|
|
64
|
+
nodeId: GeneratedCommonStableId;
|
|
65
|
+
region: GeneratedAuthoringWebVectorRegion;
|
|
66
|
+
};
|
|
67
|
+
export type GeneratedAuthoringWebVectorGiven = {
|
|
68
|
+
direction: 'ltr' | 'rtl';
|
|
69
|
+
document: GeneratedBlueprint;
|
|
70
|
+
locale: GeneratedCommonLocale;
|
|
71
|
+
readOnly: boolean;
|
|
72
|
+
reducedMotion: boolean;
|
|
73
|
+
selection: GeneratedCommonStableId | null;
|
|
74
|
+
viewport: {
|
|
75
|
+
height: number;
|
|
76
|
+
width: number;
|
|
77
|
+
zoomPercent: number;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
export type GeneratedAuthoringWebVectorJsonObject = {
|
|
81
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
82
|
+
};
|
|
83
|
+
export type GeneratedAuthoringWebVectorKeyAction = {
|
|
84
|
+
key: 'ArrowDown' | 'ArrowLeft' | 'ArrowRight' | 'ArrowUp' | 'Delete' | 'End' | 'Enter' | 'Escape' | 'Home' | 'Tab' | 'd' | 'y' | 'z';
|
|
85
|
+
kind: 'key';
|
|
86
|
+
modifiers: ('Alt' | 'Control' | 'Meta' | 'Shift')[];
|
|
87
|
+
region: GeneratedAuthoringWebVectorRegion;
|
|
88
|
+
};
|
|
89
|
+
export type GeneratedAuthoringWebVectorLane = {
|
|
90
|
+
name: GeneratedCommonLocalName;
|
|
91
|
+
steps: [GeneratedAuthoringWebVectorAction, ...GeneratedAuthoringWebVectorAction[]];
|
|
92
|
+
surface: 'keyboard' | 'pointer' | 'structural-control';
|
|
93
|
+
};
|
|
94
|
+
export type GeneratedAuthoringWebVectorObservation = {
|
|
95
|
+
announcements: {
|
|
96
|
+
key: GeneratedCommonQualifiedName;
|
|
97
|
+
politeness: 'assertive' | 'polite';
|
|
98
|
+
}[];
|
|
99
|
+
commands: {
|
|
100
|
+
payload: GeneratedAuthoringWebVectorJsonObject;
|
|
101
|
+
type: GeneratedCommonQualifiedName;
|
|
102
|
+
}[];
|
|
103
|
+
dirty: boolean;
|
|
104
|
+
document: GeneratedBlueprint;
|
|
105
|
+
focus: {
|
|
106
|
+
nodeId?: GeneratedCommonStableId;
|
|
107
|
+
region: GeneratedAuthoringWebVectorRegion;
|
|
108
|
+
};
|
|
109
|
+
selection: GeneratedCommonStableId | null;
|
|
110
|
+
};
|
|
111
|
+
export type GeneratedAuthoringWebVectorRegion = 'canvas' | 'command-palette' | 'inspector' | 'outline' | 'palette' | 'preview' | 'viewport';
|
|
112
|
+
/** Studio field-binding projection conformance vector */
|
|
113
|
+
export type GeneratedBindingProjectionVector = {
|
|
114
|
+
blockDefinitions: [GeneratedBlockDefinition, ...GeneratedBlockDefinition[]];
|
|
115
|
+
blueprint: GeneratedBlueprint;
|
|
116
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
117
|
+
description: string;
|
|
118
|
+
expect: GeneratedBindingProjectionVectorProjection;
|
|
119
|
+
id: GeneratedCommonStableId;
|
|
120
|
+
kind: 'binding-projection-vector';
|
|
121
|
+
model: GeneratedContentModel;
|
|
122
|
+
profile: 'studio.profile/binding-projection-v1';
|
|
123
|
+
};
|
|
124
|
+
export type GeneratedBindingProjectionVectorCandidate = {
|
|
125
|
+
cardinality: 'one' | 'many';
|
|
126
|
+
control?: GeneratedCommonQualifiedName;
|
|
127
|
+
fieldPath: GeneratedBindingProjectionVectorFieldPath;
|
|
128
|
+
itemKind?: ('string' | 'rich-text' | 'boolean' | 'integer' | 'decimal' | 'money' | 'date' | 'date-time' | 'enum' | 'media' | 'resource' | 'object') | GeneratedCommonQualifiedName;
|
|
129
|
+
kind: ('string' | 'rich-text' | 'boolean' | 'integer' | 'decimal' | 'money' | 'date' | 'date-time' | 'enum' | 'media' | 'resource' | 'object' | 'collection') | GeneratedCommonQualifiedName;
|
|
130
|
+
};
|
|
131
|
+
export type GeneratedBindingProjectionVectorDiagnostic = {
|
|
132
|
+
code: GeneratedCommonQualifiedName;
|
|
133
|
+
location?: GeneratedCommonDiagnosticLocation;
|
|
134
|
+
severity: 'information' | 'warning' | 'error' | 'blocking';
|
|
135
|
+
};
|
|
136
|
+
export type GeneratedBindingProjectionVectorFieldPath = [
|
|
137
|
+
GeneratedCommonLocalName,
|
|
138
|
+
...GeneratedCommonLocalName[]
|
|
139
|
+
];
|
|
140
|
+
export type GeneratedBindingProjectionVectorNode = {
|
|
141
|
+
nodeId: GeneratedCommonStableId;
|
|
142
|
+
ports: GeneratedBindingProjectionVectorPort[];
|
|
143
|
+
};
|
|
144
|
+
export type GeneratedBindingProjectionVectorPort = {
|
|
145
|
+
bindingSourceKind?: 'context-value' | 'entry-field' | 'query-reference' | 'resource-reference' | 'static-value';
|
|
146
|
+
boundFieldPath?: GeneratedBindingProjectionVectorFieldPath;
|
|
147
|
+
candidates: GeneratedBindingProjectionVectorCandidate[];
|
|
148
|
+
multiple?: boolean;
|
|
149
|
+
port: GeneratedCommonLocalName;
|
|
150
|
+
required?: boolean;
|
|
151
|
+
status: 'invalid' | 'non-field-source' | 'resolved' | 'unbound';
|
|
152
|
+
valueType?: string;
|
|
153
|
+
};
|
|
154
|
+
export type GeneratedBindingProjectionVectorProjection = {
|
|
155
|
+
diagnostics: GeneratedBindingProjectionVectorDiagnostic[];
|
|
156
|
+
model: GeneratedCommonLockedArtifactReference;
|
|
157
|
+
nodes: GeneratedBindingProjectionVectorNode[];
|
|
158
|
+
};
|
|
159
|
+
/** Studio block definition */
|
|
160
|
+
export type GeneratedBlockDefinition = {
|
|
161
|
+
accessibility: {
|
|
162
|
+
accessibleName: 'not-applicable' | 'required-property' | 'required-binding' | 'derived';
|
|
163
|
+
category: 'structural' | 'landmark' | 'interactive' | 'media' | 'text' | 'decorative' | 'data-display' | 'composite';
|
|
164
|
+
keyboard: GeneratedCommonMessageReference;
|
|
165
|
+
outputChecks: [GeneratedCommonQualifiedName, ...GeneratedCommonQualifiedName[]];
|
|
166
|
+
reducedMotion: 'not-applicable' | 'required' | 'disable-motion';
|
|
167
|
+
};
|
|
168
|
+
category: GeneratedCommonQualifiedName;
|
|
169
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
170
|
+
description?: GeneratedCommonMessageReference;
|
|
171
|
+
editingModes: ['blueprint' | 'content', ...('blueprint' | 'content')[]];
|
|
172
|
+
extensions?: GeneratedCommonExtensions;
|
|
173
|
+
fallback?: {
|
|
174
|
+
lossless: true & boolean;
|
|
175
|
+
type: GeneratedCommonQualifiedName;
|
|
176
|
+
versions: GeneratedCommonVersionRange;
|
|
177
|
+
};
|
|
178
|
+
icon?: {
|
|
179
|
+
kind: 'symbol';
|
|
180
|
+
value: GeneratedCommonLocalName | GeneratedCommonQualifiedName;
|
|
181
|
+
} | {
|
|
182
|
+
integrity: GeneratedCommonIntegrity;
|
|
183
|
+
kind: 'asset';
|
|
184
|
+
path: GeneratedCommonPackageRelativePath;
|
|
185
|
+
};
|
|
186
|
+
kind: 'block-definition';
|
|
187
|
+
label: GeneratedCommonMessageReference;
|
|
188
|
+
owner: GeneratedCommonOwnerReference;
|
|
189
|
+
ports: {
|
|
190
|
+
authoring?: {
|
|
191
|
+
control?: GeneratedCommonQualifiedName;
|
|
192
|
+
profile?: GeneratedCommonQualifiedName;
|
|
193
|
+
readOnly?: boolean;
|
|
194
|
+
};
|
|
195
|
+
id: GeneratedCommonLocalName;
|
|
196
|
+
label: GeneratedCommonMessageReference;
|
|
197
|
+
multiple: boolean;
|
|
198
|
+
required: boolean;
|
|
199
|
+
valueType: ('text' | 'rich-text' | 'boolean' | 'integer' | 'decimal' | 'money' | 'date' | 'date-time' | 'media' | 'resource') | GeneratedCommonQualifiedName;
|
|
200
|
+
}[];
|
|
201
|
+
propertyControls?: {
|
|
202
|
+
control: GeneratedCommonQualifiedName;
|
|
203
|
+
help?: GeneratedCommonMessageReference;
|
|
204
|
+
label?: GeneratedCommonMessageReference;
|
|
205
|
+
property: GeneratedCommonLocalName;
|
|
206
|
+
}[];
|
|
207
|
+
propertySchema: {
|
|
208
|
+
[key: string]: GeneratedJsonValue;
|
|
209
|
+
};
|
|
210
|
+
rendererRequirements: [
|
|
211
|
+
{
|
|
212
|
+
capability: GeneratedCommonQualifiedName;
|
|
213
|
+
surface: 'web' | 'email' | 'document' | 'native' | 'preview';
|
|
214
|
+
versions: GeneratedCommonVersionRange;
|
|
215
|
+
},
|
|
216
|
+
...{
|
|
217
|
+
capability: GeneratedCommonQualifiedName;
|
|
218
|
+
surface: 'web' | 'email' | 'document' | 'native' | 'preview';
|
|
219
|
+
versions: GeneratedCommonVersionRange;
|
|
220
|
+
}[]
|
|
221
|
+
];
|
|
222
|
+
revision: GeneratedCommonRevision;
|
|
223
|
+
slots: {
|
|
224
|
+
accepts: {
|
|
225
|
+
types: [GeneratedCommonQualifiedName, ...GeneratedCommonQualifiedName[]];
|
|
226
|
+
};
|
|
227
|
+
id: GeneratedCommonLocalName;
|
|
228
|
+
label: GeneratedCommonMessageReference;
|
|
229
|
+
maximum: number;
|
|
230
|
+
minimum: number;
|
|
231
|
+
ordered: boolean;
|
|
232
|
+
}[];
|
|
233
|
+
themeControls: GeneratedCommonLocalName[];
|
|
234
|
+
type: GeneratedCommonQualifiedName;
|
|
235
|
+
version: GeneratedCommonSemanticVersion;
|
|
236
|
+
};
|
|
237
|
+
/** Studio Blueprint */
|
|
238
|
+
export type GeneratedBlueprint = {
|
|
239
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
240
|
+
dependencyLock: {
|
|
241
|
+
blocks: {
|
|
242
|
+
integrity?: GeneratedCommonIntegrity;
|
|
243
|
+
revision: GeneratedCommonRevision;
|
|
244
|
+
type: GeneratedCommonQualifiedName;
|
|
245
|
+
version: GeneratedCommonSemanticVersion;
|
|
246
|
+
}[];
|
|
247
|
+
plugins?: GeneratedCommonLockedArtifactReference[];
|
|
248
|
+
theme: GeneratedCommonLockedArtifactReference;
|
|
249
|
+
};
|
|
250
|
+
description?: GeneratedCommonMessageReference;
|
|
251
|
+
extensions?: GeneratedCommonExtensions;
|
|
252
|
+
id: GeneratedCommonStableId;
|
|
253
|
+
kind: 'blueprint';
|
|
254
|
+
label: GeneratedCommonMessageReference;
|
|
255
|
+
model: GeneratedCommonLockedArtifactReference;
|
|
256
|
+
owner: GeneratedCommonOwnerReference;
|
|
257
|
+
revision: GeneratedCommonRevision;
|
|
258
|
+
roots: GeneratedBlueprintNode[];
|
|
259
|
+
status: 'draft' | 'published' | 'retired';
|
|
260
|
+
version: GeneratedCommonSemanticVersion;
|
|
261
|
+
};
|
|
262
|
+
export type GeneratedBlueprintBinding = {
|
|
263
|
+
fallback?: GeneratedCommonJsonValue;
|
|
264
|
+
onError: 'hide' | 'fallback' | 'error';
|
|
265
|
+
onNull: 'empty' | 'hide' | 'fallback' | 'error';
|
|
266
|
+
source: GeneratedBlueprintBindingSource;
|
|
267
|
+
transforms: GeneratedBlueprintTransform[];
|
|
268
|
+
};
|
|
269
|
+
export type GeneratedBlueprintBindingSource = {
|
|
270
|
+
fieldPath: [GeneratedCommonLocalName, ...GeneratedCommonLocalName[]];
|
|
271
|
+
kind: 'entry-field';
|
|
272
|
+
} | {
|
|
273
|
+
key: GeneratedCommonQualifiedName;
|
|
274
|
+
kind: 'context-value';
|
|
275
|
+
} | {
|
|
276
|
+
kind: 'static-value';
|
|
277
|
+
value: GeneratedCommonJsonValue;
|
|
278
|
+
} | {
|
|
279
|
+
id: GeneratedCommonStableId;
|
|
280
|
+
kind: 'resource-reference';
|
|
281
|
+
resourceType: GeneratedCommonQualifiedName;
|
|
282
|
+
} | {
|
|
283
|
+
kind: 'query-reference';
|
|
284
|
+
parameters: {
|
|
285
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
286
|
+
};
|
|
287
|
+
query: GeneratedCommonQualifiedName;
|
|
288
|
+
version: GeneratedCommonSemanticVersion;
|
|
289
|
+
};
|
|
290
|
+
export type GeneratedBlueprintNode = {
|
|
291
|
+
authoring: {
|
|
292
|
+
allowedBlocks?: GeneratedCommonQualifiedName[];
|
|
293
|
+
mode: 'locked' | 'content' | 'variant' | 'structural' | 'designer';
|
|
294
|
+
requiredPermission?: GeneratedCommonQualifiedName;
|
|
295
|
+
slots?: {
|
|
296
|
+
[key: string]: {
|
|
297
|
+
allowedBlocks?: GeneratedCommonQualifiedName[];
|
|
298
|
+
composable: true;
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
bindings: {
|
|
303
|
+
[key: string]: GeneratedBlueprintBinding;
|
|
304
|
+
};
|
|
305
|
+
extensions?: GeneratedCommonExtensions;
|
|
306
|
+
id: GeneratedCommonStableId;
|
|
307
|
+
properties: {
|
|
308
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
309
|
+
};
|
|
310
|
+
responsive?: {
|
|
311
|
+
[key: string]: {
|
|
312
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
responsiveSizeRoles?: {
|
|
316
|
+
[key: string]: {
|
|
317
|
+
[key: string]: GeneratedCommonLocalName;
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
sizeRoles?: {
|
|
321
|
+
[key: string]: GeneratedCommonLocalName;
|
|
322
|
+
};
|
|
323
|
+
slots: {
|
|
324
|
+
[key: string]: GeneratedBlueprintNode[];
|
|
325
|
+
};
|
|
326
|
+
type: GeneratedCommonQualifiedName;
|
|
327
|
+
version: GeneratedCommonSemanticVersion;
|
|
328
|
+
};
|
|
329
|
+
export type GeneratedBlueprintSizeRoleAxis = 'inline' | 'block';
|
|
330
|
+
export type GeneratedBlueprintTransform = {
|
|
331
|
+
arguments: {
|
|
332
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
333
|
+
};
|
|
334
|
+
operator: GeneratedCommonQualifiedName;
|
|
335
|
+
version: GeneratedCommonSemanticVersion;
|
|
336
|
+
};
|
|
337
|
+
/** Studio canonical serialization vector */
|
|
338
|
+
export type GeneratedCanonicalVector = {
|
|
339
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
340
|
+
description: string;
|
|
341
|
+
expect: {
|
|
342
|
+
canonical: string;
|
|
343
|
+
digest: GeneratedCommonIntegrity;
|
|
344
|
+
} | {
|
|
345
|
+
rejected: 'depth-exceeded' | 'forbidden-member';
|
|
346
|
+
};
|
|
347
|
+
id: GeneratedCommonStableId;
|
|
348
|
+
kind: 'canonical-vector';
|
|
349
|
+
maximumDepth?: number;
|
|
350
|
+
value: GeneratedJsonValue;
|
|
351
|
+
};
|
|
352
|
+
/** Studio canonical command vector */
|
|
353
|
+
export type GeneratedCommandVector = {
|
|
354
|
+
command: GeneratedCommand;
|
|
355
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
356
|
+
description: string;
|
|
357
|
+
expect: {
|
|
358
|
+
document: GeneratedBlueprint;
|
|
359
|
+
} | {
|
|
360
|
+
errorCode: GeneratedCommandVectorCommandErrorCode;
|
|
361
|
+
};
|
|
362
|
+
id: GeneratedCommonStableId;
|
|
363
|
+
initial: GeneratedBlueprint;
|
|
364
|
+
inverse?: GeneratedCommand;
|
|
365
|
+
kind: 'command-vector';
|
|
366
|
+
mode?: 'blueprint' | 'content' | 'hybrid' | 'model' | 'read-only';
|
|
367
|
+
};
|
|
368
|
+
export type GeneratedCommandVectorCommandErrorCode = 'artifact-not-draft' | 'binding-not-found' | 'duplicate-field' | 'duplicate-node' | 'illegal-move' | 'invalid-batch' | 'invalid-id-map' | 'invalid-index' | 'invalid-order' | 'locale-mismatch' | 'mode-forbidden' | 'node-not-found' | 'parent-not-found' | 'property-not-found' | 'read-only-session' | 'stale-generation' | 'stale-state' | 'unsupported-command';
|
|
369
|
+
/** Studio command */
|
|
370
|
+
export type GeneratedCommand = {
|
|
371
|
+
artifactId: GeneratedCommonStableId;
|
|
372
|
+
baseStateVersion: number;
|
|
373
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
374
|
+
expectedRevision?: GeneratedCommonRevision;
|
|
375
|
+
groupId?: GeneratedCommonStableId;
|
|
376
|
+
id: GeneratedCommonStableId;
|
|
377
|
+
kind: 'command';
|
|
378
|
+
payload: {
|
|
379
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
380
|
+
};
|
|
381
|
+
sessionGeneration: GeneratedCommonRevision;
|
|
382
|
+
type: GeneratedCommonQualifiedName;
|
|
383
|
+
};
|
|
384
|
+
export type GeneratedCommandAddModelField = {
|
|
385
|
+
field: GeneratedContentModelField;
|
|
386
|
+
position?: number;
|
|
387
|
+
};
|
|
388
|
+
export type GeneratedCommandApplyPattern = {
|
|
389
|
+
destination: GeneratedCommandDestination;
|
|
390
|
+
idMap: {
|
|
391
|
+
[key: string]: GeneratedCommonStableId;
|
|
392
|
+
};
|
|
393
|
+
nodes: [GeneratedBlueprintNode, ...GeneratedBlueprintNode[]];
|
|
394
|
+
pattern: {
|
|
395
|
+
id: GeneratedCommonStableId;
|
|
396
|
+
revision: GeneratedCommonRevision;
|
|
397
|
+
version: GeneratedCommonSemanticVersion;
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
export type GeneratedCommandBatch = {
|
|
401
|
+
operations: [GeneratedCommandBatchOperation, ...GeneratedCommandBatchOperation[]];
|
|
402
|
+
};
|
|
403
|
+
export type GeneratedCommandBatchOperation = {
|
|
404
|
+
payload: {
|
|
405
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
406
|
+
};
|
|
407
|
+
type: GeneratedCommonQualifiedName;
|
|
408
|
+
};
|
|
409
|
+
export type GeneratedCommandDestination = {
|
|
410
|
+
parentNodeId?: GeneratedCommonStableId;
|
|
411
|
+
position: number;
|
|
412
|
+
slot?: GeneratedCommonLocalName;
|
|
413
|
+
};
|
|
414
|
+
export type GeneratedCommandDuplicateNode = {
|
|
415
|
+
destination?: GeneratedCommandDestination;
|
|
416
|
+
idMap: {
|
|
417
|
+
[key: string]: GeneratedCommonStableId;
|
|
418
|
+
};
|
|
419
|
+
nodeId: GeneratedCommonStableId;
|
|
420
|
+
};
|
|
421
|
+
export type GeneratedCommandInsertNode = {
|
|
422
|
+
destination: GeneratedCommandDestination;
|
|
423
|
+
node: GeneratedBlueprintNode;
|
|
424
|
+
};
|
|
425
|
+
export type GeneratedCommandMoveNode = {
|
|
426
|
+
destination: GeneratedCommandDestination;
|
|
427
|
+
nodeId: GeneratedCommonStableId;
|
|
428
|
+
};
|
|
429
|
+
export type GeneratedCommandRemoveBinding = {
|
|
430
|
+
nodeId: GeneratedCommonStableId;
|
|
431
|
+
port: GeneratedCommonLocalName;
|
|
432
|
+
};
|
|
433
|
+
export type GeneratedCommandRemoveNode = {
|
|
434
|
+
nodeId: GeneratedCommonStableId;
|
|
435
|
+
};
|
|
436
|
+
export type GeneratedCommandReorderChildren = {
|
|
437
|
+
order: [GeneratedCommonStableId, ...GeneratedCommonStableId[]];
|
|
438
|
+
parentNodeId?: GeneratedCommonStableId;
|
|
439
|
+
slot?: GeneratedCommonLocalName;
|
|
440
|
+
};
|
|
441
|
+
export type GeneratedCommandResetInheritedProperty = {
|
|
442
|
+
nodeId: GeneratedCommonStableId;
|
|
443
|
+
property: GeneratedCommonLocalName;
|
|
444
|
+
};
|
|
445
|
+
export type GeneratedCommandRestoreNode = {
|
|
446
|
+
destination: GeneratedCommandDestination;
|
|
447
|
+
node: GeneratedBlueprintNode;
|
|
448
|
+
};
|
|
449
|
+
export type GeneratedCommandSetBinding = {
|
|
450
|
+
binding: GeneratedBlueprintBinding;
|
|
451
|
+
nodeId: GeneratedCommonStableId;
|
|
452
|
+
port: GeneratedCommonLocalName;
|
|
453
|
+
};
|
|
454
|
+
export type GeneratedCommandSetFieldValue = {
|
|
455
|
+
fieldPath: [GeneratedCommonLocalName, ...GeneratedCommonLocalName[]];
|
|
456
|
+
locale?: GeneratedCommonLocale;
|
|
457
|
+
value: GeneratedCommonJsonValue;
|
|
458
|
+
};
|
|
459
|
+
export type GeneratedCommandSetProperty = {
|
|
460
|
+
nodeId: GeneratedCommonStableId;
|
|
461
|
+
property: GeneratedCommonLocalName;
|
|
462
|
+
value: GeneratedCommonJsonValue;
|
|
463
|
+
viewport?: GeneratedCommonLocalName;
|
|
464
|
+
};
|
|
465
|
+
export type GeneratedCommandSetSizeRole = {
|
|
466
|
+
axis: GeneratedBlueprintSizeRoleAxis;
|
|
467
|
+
nodeId: GeneratedCommonStableId;
|
|
468
|
+
role: GeneratedCommonLocalName;
|
|
469
|
+
viewport?: GeneratedCommonLocalName;
|
|
470
|
+
};
|
|
471
|
+
export type GeneratedCommandUnsetProperty = {
|
|
472
|
+
nodeId: GeneratedCommonStableId;
|
|
473
|
+
property: GeneratedCommonLocalName;
|
|
474
|
+
viewport?: GeneratedCommonLocalName;
|
|
475
|
+
};
|
|
476
|
+
export type GeneratedCommandUnsetSizeRole = {
|
|
477
|
+
axis: GeneratedBlueprintSizeRoleAxis;
|
|
478
|
+
nodeId: GeneratedCommonStableId;
|
|
479
|
+
viewport?: GeneratedCommonLocalName;
|
|
480
|
+
};
|
|
481
|
+
/** Studio common contract types */
|
|
482
|
+
export type GeneratedCommon = Record<string, never>;
|
|
483
|
+
export type GeneratedCommonArtifactReference = {
|
|
484
|
+
id: GeneratedCommonStableId;
|
|
485
|
+
integrity?: GeneratedCommonIntegrity;
|
|
486
|
+
revision?: GeneratedCommonRevision;
|
|
487
|
+
version: GeneratedCommonSemanticVersion;
|
|
488
|
+
};
|
|
489
|
+
export type GeneratedCommonCanonicalDecimal = string;
|
|
490
|
+
export type GeneratedCommonContractVersion = '0.1-draft' & string;
|
|
491
|
+
export type GeneratedCommonCurrencyCode = string;
|
|
492
|
+
export type GeneratedCommonDiagnostic = {
|
|
493
|
+
code: GeneratedCommonQualifiedName;
|
|
494
|
+
location?: GeneratedCommonDiagnosticLocation;
|
|
495
|
+
message: GeneratedCommonMessageReference;
|
|
496
|
+
parameters?: {
|
|
497
|
+
[key: string]: string | number | boolean | null;
|
|
498
|
+
};
|
|
499
|
+
remediations?: GeneratedCommonQualifiedName[];
|
|
500
|
+
severity: 'information' | 'warning' | 'error' | 'blocking';
|
|
501
|
+
};
|
|
502
|
+
export type GeneratedCommonDiagnosticLocation = {
|
|
503
|
+
artifactId?: GeneratedCommonStableId;
|
|
504
|
+
fieldPath?: GeneratedCommonLocalName[];
|
|
505
|
+
jsonPointer?: string;
|
|
506
|
+
nodeId?: GeneratedCommonStableId;
|
|
507
|
+
};
|
|
508
|
+
export type GeneratedCommonExtensions = {
|
|
509
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
510
|
+
};
|
|
511
|
+
export type GeneratedCommonIntegrity = string;
|
|
512
|
+
export type GeneratedCommonJsonValue = null | boolean | number | string | GeneratedCommonJsonValue[] | {
|
|
513
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
514
|
+
};
|
|
515
|
+
export type GeneratedCommonLocalName = string;
|
|
516
|
+
export type GeneratedCommonLocale = string;
|
|
517
|
+
export type GeneratedCommonLockedArtifactReference = {
|
|
518
|
+
id: GeneratedCommonStableId;
|
|
519
|
+
integrity?: GeneratedCommonIntegrity;
|
|
520
|
+
revision: GeneratedCommonRevision;
|
|
521
|
+
version: GeneratedCommonSemanticVersion;
|
|
522
|
+
};
|
|
523
|
+
export type GeneratedCommonMessageReference = {
|
|
524
|
+
defaultMessage?: string;
|
|
525
|
+
key: GeneratedCommonQualifiedName;
|
|
526
|
+
};
|
|
527
|
+
export type GeneratedCommonMoneyValue = {
|
|
528
|
+
amount: GeneratedCommonCanonicalDecimal;
|
|
529
|
+
currency: GeneratedCommonCurrencyCode;
|
|
530
|
+
};
|
|
531
|
+
export type GeneratedCommonOwnerReference = {
|
|
532
|
+
id: GeneratedCommonQualifiedName;
|
|
533
|
+
version: GeneratedCommonSemanticVersion;
|
|
534
|
+
};
|
|
535
|
+
export type GeneratedCommonPackageRelativePath = string;
|
|
536
|
+
export type GeneratedCommonQualifiedName = string;
|
|
537
|
+
export type GeneratedCommonResolvedEntryReference = {
|
|
538
|
+
id: GeneratedCommonStableId;
|
|
539
|
+
integrity?: GeneratedCommonIntegrity;
|
|
540
|
+
revision: GeneratedCommonRevision;
|
|
541
|
+
};
|
|
542
|
+
export type GeneratedCommonRevision = string;
|
|
543
|
+
export type GeneratedCommonRfc3339Date = string;
|
|
544
|
+
export type GeneratedCommonRfc3339Instant = string;
|
|
545
|
+
export type GeneratedCommonSafeJsonMemberName = string;
|
|
546
|
+
export type GeneratedCommonSemanticVersion = string;
|
|
547
|
+
export type GeneratedCommonStableId = string;
|
|
548
|
+
export type GeneratedCommonVersionRange = string;
|
|
549
|
+
/** Studio content model */
|
|
550
|
+
export type GeneratedContentModel = {
|
|
551
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
552
|
+
description?: GeneratedCommonMessageReference;
|
|
553
|
+
extensions?: GeneratedCommonExtensions;
|
|
554
|
+
fields: GeneratedContentModelField[];
|
|
555
|
+
id: GeneratedCommonStableId;
|
|
556
|
+
kind: 'content-model';
|
|
557
|
+
label: GeneratedCommonMessageReference;
|
|
558
|
+
owner: GeneratedCommonOwnerReference;
|
|
559
|
+
relationships: GeneratedContentModelRelationship[];
|
|
560
|
+
revision: GeneratedCommonRevision;
|
|
561
|
+
status: 'draft' | 'published' | 'retired';
|
|
562
|
+
version: GeneratedCommonSemanticVersion;
|
|
563
|
+
};
|
|
564
|
+
export type GeneratedContentModelAuthoringMetadata = {
|
|
565
|
+
control?: GeneratedCommonQualifiedName;
|
|
566
|
+
group?: GeneratedCommonLocalName;
|
|
567
|
+
hidden?: boolean;
|
|
568
|
+
order?: number;
|
|
569
|
+
placeholder?: GeneratedCommonMessageReference;
|
|
570
|
+
readOnly?: boolean;
|
|
571
|
+
width?: 'full' | 'half' | 'third' | 'two-thirds';
|
|
572
|
+
};
|
|
573
|
+
export type GeneratedContentModelField = {
|
|
574
|
+
authoring?: GeneratedContentModelAuthoringMetadata;
|
|
575
|
+
cardinality: 'one' | 'many';
|
|
576
|
+
constraints?: {
|
|
577
|
+
allowedMediaKinds?: ('image' | 'video' | 'audio' | 'document' | 'archive' | 'other')[];
|
|
578
|
+
maxItems?: number;
|
|
579
|
+
maxLength?: number;
|
|
580
|
+
maximum?: string;
|
|
581
|
+
minItems?: number;
|
|
582
|
+
minLength?: number;
|
|
583
|
+
minimum?: string;
|
|
584
|
+
scale?: number;
|
|
585
|
+
validator?: GeneratedCommonQualifiedName;
|
|
586
|
+
validatorArguments?: {
|
|
587
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
defaultValue?: GeneratedCommonJsonValue;
|
|
591
|
+
description?: GeneratedCommonMessageReference;
|
|
592
|
+
enumValues?: [
|
|
593
|
+
{
|
|
594
|
+
label: GeneratedCommonMessageReference;
|
|
595
|
+
value: GeneratedCommonLocalName;
|
|
596
|
+
},
|
|
597
|
+
...{
|
|
598
|
+
label: GeneratedCommonMessageReference;
|
|
599
|
+
value: GeneratedCommonLocalName;
|
|
600
|
+
}[]
|
|
601
|
+
];
|
|
602
|
+
extensions?: GeneratedCommonExtensions;
|
|
603
|
+
fields?: GeneratedContentModelField[];
|
|
604
|
+
id: GeneratedCommonLocalName;
|
|
605
|
+
itemKind?: ('string' | 'rich-text' | 'boolean' | 'integer' | 'decimal' | 'money' | 'date' | 'date-time' | 'enum' | 'media' | 'resource' | 'object') | GeneratedCommonQualifiedName;
|
|
606
|
+
kind: ('string' | 'rich-text' | 'boolean' | 'integer' | 'decimal' | 'money' | 'date' | 'date-time' | 'enum' | 'media' | 'resource' | 'object' | 'collection') | GeneratedCommonQualifiedName;
|
|
607
|
+
label: GeneratedCommonMessageReference;
|
|
608
|
+
localized: boolean;
|
|
609
|
+
required: boolean;
|
|
610
|
+
semanticRole?: GeneratedCommonQualifiedName;
|
|
611
|
+
};
|
|
612
|
+
export type GeneratedContentModelRelationship = {
|
|
613
|
+
authoring?: {
|
|
614
|
+
allowCreate: boolean;
|
|
615
|
+
control: GeneratedCommonQualifiedName;
|
|
616
|
+
displayField?: GeneratedCommonLocalName;
|
|
617
|
+
searchProvider?: GeneratedCommonQualifiedName;
|
|
618
|
+
};
|
|
619
|
+
extensions?: GeneratedCommonExtensions;
|
|
620
|
+
id: GeneratedCommonLocalName;
|
|
621
|
+
kind: 'one-to-one' | 'many-to-one' | 'one-to-many' | 'many-to-many';
|
|
622
|
+
label: GeneratedCommonMessageReference;
|
|
623
|
+
onDelete: 'restrict' | 'nullify' | 'detach';
|
|
624
|
+
required: boolean;
|
|
625
|
+
sourceField: GeneratedCommonLocalName;
|
|
626
|
+
targetField?: GeneratedCommonLocalName;
|
|
627
|
+
targetModel: GeneratedCommonArtifactReference;
|
|
628
|
+
};
|
|
629
|
+
/** Studio corpus integrity manifest */
|
|
630
|
+
export type GeneratedCorpusManifest = {
|
|
631
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
632
|
+
groups: [
|
|
633
|
+
{
|
|
634
|
+
files: {
|
|
635
|
+
digest: GeneratedCommonIntegrity;
|
|
636
|
+
file: string;
|
|
637
|
+
}[];
|
|
638
|
+
group: GeneratedCommonLocalName;
|
|
639
|
+
path: string;
|
|
640
|
+
},
|
|
641
|
+
...{
|
|
642
|
+
files: {
|
|
643
|
+
digest: GeneratedCommonIntegrity;
|
|
644
|
+
file: string;
|
|
645
|
+
}[];
|
|
646
|
+
group: GeneratedCommonLocalName;
|
|
647
|
+
path: string;
|
|
648
|
+
}[]
|
|
649
|
+
];
|
|
650
|
+
kind: 'corpus-manifest';
|
|
651
|
+
};
|
|
652
|
+
/** Studio design vocabulary contribution */
|
|
653
|
+
export type GeneratedDesignVocabulary = {
|
|
654
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
655
|
+
description?: GeneratedCommonMessageReference;
|
|
656
|
+
designControls: {
|
|
657
|
+
choices: [
|
|
658
|
+
{
|
|
659
|
+
deprecated?: boolean;
|
|
660
|
+
id: GeneratedCommonLocalName;
|
|
661
|
+
label: GeneratedCommonMessageReference;
|
|
662
|
+
},
|
|
663
|
+
...{
|
|
664
|
+
deprecated?: boolean;
|
|
665
|
+
id: GeneratedCommonLocalName;
|
|
666
|
+
label: GeneratedCommonMessageReference;
|
|
667
|
+
}[]
|
|
668
|
+
];
|
|
669
|
+
description?: GeneratedCommonMessageReference;
|
|
670
|
+
id: GeneratedCommonLocalName;
|
|
671
|
+
kind: 'color-role' | 'typography-role' | 'spacing-role' | 'size-role' | 'radius-role' | 'shadow-role' | 'motion-role' | 'layer-role' | 'enum' | 'boolean' | 'integer';
|
|
672
|
+
label: GeneratedCommonMessageReference;
|
|
673
|
+
}[];
|
|
674
|
+
extensions?: GeneratedCommonExtensions;
|
|
675
|
+
id: GeneratedCommonQualifiedName;
|
|
676
|
+
kind: 'design-vocabulary';
|
|
677
|
+
label: GeneratedCommonMessageReference;
|
|
678
|
+
owner: GeneratedCommonOwnerReference;
|
|
679
|
+
recipes: {
|
|
680
|
+
blockType: GeneratedCommonQualifiedName;
|
|
681
|
+
designValues: {
|
|
682
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
683
|
+
};
|
|
684
|
+
id: GeneratedCommonLocalName;
|
|
685
|
+
label: GeneratedCommonMessageReference;
|
|
686
|
+
}[];
|
|
687
|
+
version: GeneratedCommonSemanticVersion;
|
|
688
|
+
};
|
|
689
|
+
/** Studio content entry */
|
|
690
|
+
export type GeneratedEntry = {
|
|
691
|
+
compositionOverrides?: {
|
|
692
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
693
|
+
};
|
|
694
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
695
|
+
extensions?: GeneratedCommonExtensions;
|
|
696
|
+
id: GeneratedCommonStableId;
|
|
697
|
+
kind: 'entry';
|
|
698
|
+
locale?: GeneratedCommonLocale;
|
|
699
|
+
model: GeneratedCommonLockedArtifactReference;
|
|
700
|
+
revision: GeneratedCommonRevision;
|
|
701
|
+
status: 'draft' | 'in-review' | 'published' | 'archived';
|
|
702
|
+
translationOf?: GeneratedCommonStableId;
|
|
703
|
+
values: {
|
|
704
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
705
|
+
};
|
|
706
|
+
workflowState?: GeneratedCommonQualifiedName;
|
|
707
|
+
};
|
|
708
|
+
/** Studio field adapter contribution */
|
|
709
|
+
export type GeneratedFieldAdapter = {
|
|
710
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
711
|
+
control: GeneratedCommonQualifiedName;
|
|
712
|
+
description?: GeneratedCommonMessageReference;
|
|
713
|
+
extensions?: GeneratedCommonExtensions;
|
|
714
|
+
fieldKinds: [GeneratedCommonQualifiedName, ...GeneratedCommonQualifiedName[]];
|
|
715
|
+
id: GeneratedCommonQualifiedName;
|
|
716
|
+
kind: 'field-adapter';
|
|
717
|
+
label: GeneratedCommonMessageReference;
|
|
718
|
+
optionSchema?: {
|
|
719
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
720
|
+
};
|
|
721
|
+
owner: GeneratedCommonOwnerReference;
|
|
722
|
+
requiredCapability?: GeneratedCommonQualifiedName;
|
|
723
|
+
version: GeneratedCommonSemanticVersion;
|
|
724
|
+
};
|
|
725
|
+
/** Studio host capabilities */
|
|
726
|
+
export type GeneratedHostCapabilities = {
|
|
727
|
+
capabilities: {
|
|
728
|
+
configuration?: GeneratedCommonJsonValue;
|
|
729
|
+
id: GeneratedCommonQualifiedName;
|
|
730
|
+
version: GeneratedCommonSemanticVersion;
|
|
731
|
+
}[];
|
|
732
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
733
|
+
extensions?: GeneratedCommonExtensions;
|
|
734
|
+
host: {
|
|
735
|
+
generation: GeneratedCommonRevision;
|
|
736
|
+
id: GeneratedCommonQualifiedName;
|
|
737
|
+
version: GeneratedCommonSemanticVersion;
|
|
738
|
+
};
|
|
739
|
+
kind: 'host-capabilities';
|
|
740
|
+
ports: {
|
|
741
|
+
id: GeneratedHostOperationsPortCapability;
|
|
742
|
+
operations: [
|
|
743
|
+
GeneratedHostOperationsOperationCapability,
|
|
744
|
+
...GeneratedHostOperationsOperationCapability[]
|
|
745
|
+
];
|
|
746
|
+
version: GeneratedCommonSemanticVersion;
|
|
747
|
+
}[];
|
|
748
|
+
protocolVersions: [GeneratedCommonSemanticVersion, ...GeneratedCommonSemanticVersion[]];
|
|
749
|
+
};
|
|
750
|
+
/** Studio host port error */
|
|
751
|
+
export type GeneratedHostError = {
|
|
752
|
+
category: 'invalid-request' | 'unauthenticated' | 'forbidden' | 'not-found' | 'conflict' | 'validation-failed' | 'incompatible' | 'limit-exceeded' | 'rate-limited' | 'unavailable' | 'cancelled' | 'internal';
|
|
753
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
754
|
+
correlationId?: GeneratedCommonStableId;
|
|
755
|
+
diagnostics?: GeneratedCommonDiagnostic[];
|
|
756
|
+
kind: 'host-error';
|
|
757
|
+
message: GeneratedCommonMessageReference;
|
|
758
|
+
retryAfterMilliseconds?: number;
|
|
759
|
+
retryable: boolean;
|
|
760
|
+
revision?: GeneratedCommonRevision;
|
|
761
|
+
};
|
|
762
|
+
/** Studio host port operation registry */
|
|
763
|
+
export type GeneratedHostOperations = {
|
|
764
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
765
|
+
extensions?: GeneratedCommonExtensions;
|
|
766
|
+
kind: 'host-operations';
|
|
767
|
+
operations: [
|
|
768
|
+
{
|
|
769
|
+
capability: GeneratedHostOperationsOperationCapability;
|
|
770
|
+
expectsRevision: boolean;
|
|
771
|
+
method: string;
|
|
772
|
+
mutating: boolean;
|
|
773
|
+
operation: GeneratedCommonLocalName;
|
|
774
|
+
port: GeneratedHostOperationsPortName;
|
|
775
|
+
portCapability: GeneratedHostOperationsPortCapability;
|
|
776
|
+
required: boolean;
|
|
777
|
+
route: GeneratedHostOperationsOperationRoute;
|
|
778
|
+
},
|
|
779
|
+
...{
|
|
780
|
+
capability: GeneratedHostOperationsOperationCapability;
|
|
781
|
+
expectsRevision: boolean;
|
|
782
|
+
method: string;
|
|
783
|
+
mutating: boolean;
|
|
784
|
+
operation: GeneratedCommonLocalName;
|
|
785
|
+
port: GeneratedHostOperationsPortName;
|
|
786
|
+
portCapability: GeneratedHostOperationsPortCapability;
|
|
787
|
+
required: boolean;
|
|
788
|
+
route: GeneratedHostOperationsOperationRoute;
|
|
789
|
+
}[]
|
|
790
|
+
];
|
|
791
|
+
};
|
|
792
|
+
/** The capability identifier a host advertises for one port operation. */
|
|
793
|
+
export type GeneratedHostOperationsOperationCapability = 'studio.operation/artifact.dependencies' | 'studio.operation/artifact.load' | 'studio.operation/artifact.publish' | 'studio.operation/artifact.save' | 'studio.operation/artifact.unpublish' | 'studio.operation/localization.messages' | 'studio.operation/media.abort-upload' | 'studio.operation/media.authorize-upload' | 'studio.operation/media.complete-upload' | 'studio.operation/media.get' | 'studio.operation/media.import-external' | 'studio.operation/media.list' | 'studio.operation/media.upload-status' | 'studio.operation/model.get' | 'studio.operation/model.list' | 'studio.operation/permission.explain' | 'studio.operation/permission.refresh' | 'studio.operation/preview.cancel' | 'studio.operation/preview.render' | 'studio.operation/recovery.discard' | 'studio.operation/recovery.load' | 'studio.operation/recovery.store' | 'studio.operation/resource.search' | 'studio.operation/telemetry.emit';
|
|
794
|
+
/** The transport route segment addressing one port operation. */
|
|
795
|
+
export type GeneratedHostOperationsOperationRoute = 'artifact/dependencies' | 'artifact/load' | 'artifact/publish' | 'artifact/save' | 'artifact/unpublish' | 'localization/messages' | 'media/abort-upload' | 'media/authorize-upload' | 'media/complete-upload' | 'media/get' | 'media/import-external' | 'media/list' | 'media/upload-status' | 'model/get' | 'model/list' | 'permission/explain' | 'permission/refresh' | 'preview/cancel' | 'preview/render' | 'recovery/discard' | 'recovery/load' | 'recovery/store' | 'resource/search' | 'telemetry/emit';
|
|
796
|
+
/** The capability identifier a host advertises for a whole port. */
|
|
797
|
+
export type GeneratedHostOperationsPortCapability = 'studio.port/artifact' | 'studio.port/localization' | 'studio.port/media' | 'studio.port/model' | 'studio.port/permission' | 'studio.port/preview' | 'studio.port/recovery' | 'studio.port/resource' | 'studio.port/telemetry';
|
|
798
|
+
export type GeneratedHostOperationsPortName = 'artifact' | 'localization' | 'media' | 'model' | 'permission' | 'preview' | 'recovery' | 'resource' | 'telemetry';
|
|
799
|
+
/** Studio host port request */
|
|
800
|
+
export type GeneratedHostRequest = {
|
|
801
|
+
arguments?: GeneratedCommonJsonValue;
|
|
802
|
+
context: GeneratedHostRequestRequestContext;
|
|
803
|
+
};
|
|
804
|
+
/** The request envelope. Actor identity and authorization evidence are attached by the trusted transport and never appear here: a Studio-supplied actor value is display context, never authentication. */
|
|
805
|
+
export type GeneratedHostRequestRequestContext = {
|
|
806
|
+
expectedRevision?: GeneratedCommonRevision;
|
|
807
|
+
idempotencyKey?: GeneratedCommonStableId;
|
|
808
|
+
locale?: GeneratedCommonLocale;
|
|
809
|
+
operationId: GeneratedHostOperationsOperationCapability;
|
|
810
|
+
protocolVersion: GeneratedCommonSemanticVersion;
|
|
811
|
+
requestId: GeneratedCommonStableId;
|
|
812
|
+
resourceContextKey: GeneratedCommonStableId;
|
|
813
|
+
sessionGeneration: GeneratedCommonRevision;
|
|
814
|
+
traceContext?: {
|
|
815
|
+
[key: string]: string;
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
/** Studio host port result */
|
|
819
|
+
export type GeneratedHostResult = {
|
|
820
|
+
revision?: GeneratedCommonRevision;
|
|
821
|
+
value: GeneratedCommonJsonValue;
|
|
822
|
+
};
|
|
823
|
+
/** Studio canonical host sequence conformance vector */
|
|
824
|
+
export type GeneratedHostSequenceVector = {
|
|
825
|
+
assertions: [GeneratedHostSequenceVectorAssertion, ...GeneratedHostSequenceVectorAssertion[]];
|
|
826
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
827
|
+
description: string;
|
|
828
|
+
expectFinal: GeneratedHostSequenceVectorFinalState;
|
|
829
|
+
given: GeneratedHostSequenceVectorGiven;
|
|
830
|
+
id: GeneratedCommonStableId;
|
|
831
|
+
idempotencyPolicy: GeneratedHostSequenceVectorIdempotencyPolicy;
|
|
832
|
+
kind: 'host-sequence-vector';
|
|
833
|
+
profile: 'studio.profile/host-baseline-v2';
|
|
834
|
+
steps: [
|
|
835
|
+
(GeneratedHostSequenceVectorInvokeStep | GeneratedHostSequenceVectorSettleStep | GeneratedHostSequenceVectorAdvanceClockStep | GeneratedHostSequenceVectorReleasePreviewRenderStep),
|
|
836
|
+
(GeneratedHostSequenceVectorInvokeStep | GeneratedHostSequenceVectorSettleStep | GeneratedHostSequenceVectorAdvanceClockStep | GeneratedHostSequenceVectorReleasePreviewRenderStep),
|
|
837
|
+
...(GeneratedHostSequenceVectorInvokeStep | GeneratedHostSequenceVectorSettleStep | GeneratedHostSequenceVectorAdvanceClockStep | GeneratedHostSequenceVectorReleasePreviewRenderStep)[]
|
|
838
|
+
];
|
|
839
|
+
};
|
|
840
|
+
export type GeneratedHostSequenceVectorAdvanceClockStep = {
|
|
841
|
+
action: 'advance-clock';
|
|
842
|
+
id: GeneratedCommonStableId;
|
|
843
|
+
milliseconds: number;
|
|
844
|
+
};
|
|
845
|
+
export type GeneratedHostSequenceVectorArtifactFinalState = {
|
|
846
|
+
id: GeneratedCommonStableId;
|
|
847
|
+
revisionFrom: GeneratedCommonStableId;
|
|
848
|
+
status: 'archived' | 'draft' | 'in-review' | 'published' | 'retired';
|
|
849
|
+
};
|
|
850
|
+
export type GeneratedHostSequenceVectorArtifactSeed = {
|
|
851
|
+
id: GeneratedCommonStableId;
|
|
852
|
+
kind: 'blueprint' | 'content-model' | 'entry';
|
|
853
|
+
revision: GeneratedCommonRevision;
|
|
854
|
+
status: 'archived' | 'draft' | 'in-review' | 'published' | 'retired';
|
|
855
|
+
};
|
|
856
|
+
export type GeneratedHostSequenceVectorAssertion = 'operation-id-mismatch-refusal' | 'idempotent-in-flight-coalescing' | 'idempotent-completed-replay' | 'idempotency-changed-argument-refusal' | 'idempotency-changed-context-refusal' | 'idempotency-resource-scope-separation' | 'canonical-number-equivalence' | 'failed-attempt-retry' | 'fixed-window-rate-limit' | 'fixed-window-reset' | 'in-flight-preview-cancellation' | 'cross-context-cancellation-isolation' | 'late-preview-result-discard';
|
|
857
|
+
export type GeneratedHostSequenceVectorErrorExpectation = {
|
|
858
|
+
category: 'cancelled' | 'conflict' | 'forbidden' | 'incompatible' | 'internal' | 'invalid-request' | 'limit-exceeded' | 'not-found' | 'rate-limited' | 'unauthenticated' | 'unavailable' | 'validation-failed';
|
|
859
|
+
outcome: 'error';
|
|
860
|
+
retryAfterMilliseconds?: number;
|
|
861
|
+
retryable: boolean;
|
|
862
|
+
};
|
|
863
|
+
export type GeneratedHostSequenceVectorExpectation = GeneratedHostSequenceVectorResultExpectation | GeneratedHostSequenceVectorErrorExpectation;
|
|
864
|
+
export type GeneratedHostSequenceVectorFinalState = {
|
|
865
|
+
artifacts?: GeneratedHostSequenceVectorArtifactFinalState[];
|
|
866
|
+
pendingPreviewRenders: 0;
|
|
867
|
+
previewDeliveries: string[];
|
|
868
|
+
recovery?: GeneratedHostSequenceVectorRecoveryFinalState[];
|
|
869
|
+
};
|
|
870
|
+
export type GeneratedHostSequenceVectorGiven = {
|
|
871
|
+
artifacts: GeneratedHostSequenceVectorArtifactSeed[];
|
|
872
|
+
permissions: GeneratedCommonQualifiedName[];
|
|
873
|
+
rateLimits?: GeneratedHostSequenceVectorRateLimit[];
|
|
874
|
+
sessionGeneration: GeneratedCommonRevision;
|
|
875
|
+
};
|
|
876
|
+
/** The exact map key and canonical intent preimage used by this profile. Scope fields select an accepted record; the argument and listed semantic context fields form its canonical JSON fingerprint. Optional semantic fields that are absent are omitted, not serialized as null. Canonical JSON applies its number grammar, including normalization of negative zero to zero. Per-attempt request and trace correlation never affect intent. */
|
|
877
|
+
export type GeneratedHostSequenceVectorIdempotencyPolicy = {
|
|
878
|
+
absentOptionalFields: 'omit';
|
|
879
|
+
argumentCanonicalization: 'canonical-json';
|
|
880
|
+
excludedContextFields: ['requestId', 'traceContext'];
|
|
881
|
+
intentContextFields: ['expectedRevision', 'locale', 'protocolVersion'];
|
|
882
|
+
numberNormalization: 'canonical-json';
|
|
883
|
+
scopeFields: ['idempotencyKey', 'operationId', 'resourceContextKey', 'sessionGeneration'];
|
|
884
|
+
};
|
|
885
|
+
export type GeneratedHostSequenceVectorInvokeStep = {
|
|
886
|
+
action: 'invoke';
|
|
887
|
+
argument?: GeneratedCommonJsonValue;
|
|
888
|
+
completion: 'pending' | 'settled';
|
|
889
|
+
context: GeneratedHostSequenceVectorRequestContext;
|
|
890
|
+
expect?: GeneratedHostSequenceVectorExpectation;
|
|
891
|
+
id: GeneratedCommonStableId;
|
|
892
|
+
operation: GeneratedCommonLocalName;
|
|
893
|
+
port: GeneratedHostSequenceVectorPort;
|
|
894
|
+
};
|
|
895
|
+
export type GeneratedHostSequenceVectorPort = 'artifact' | 'localization' | 'media' | 'model' | 'permission' | 'preview' | 'recovery' | 'resource' | 'telemetry';
|
|
896
|
+
export type GeneratedHostSequenceVectorRateLimit = {
|
|
897
|
+
maximumRequests: number;
|
|
898
|
+
operationId: GeneratedHostOperationsOperationCapability;
|
|
899
|
+
retryAfterMilliseconds: number;
|
|
900
|
+
windowMilliseconds: number;
|
|
901
|
+
};
|
|
902
|
+
export type GeneratedHostSequenceVectorRecoveryFinalState = {
|
|
903
|
+
resourceContextKey: GeneratedCommonStableId;
|
|
904
|
+
value: GeneratedCommonJsonValue;
|
|
905
|
+
};
|
|
906
|
+
/** A deterministic renderer completion injected after a prior preview.render invocation. It is a harness precondition, not a host port or transport operation. */
|
|
907
|
+
export type GeneratedHostSequenceVectorReleasePreviewRenderStep = {
|
|
908
|
+
action: 'release-preview-render';
|
|
909
|
+
id: GeneratedCommonStableId;
|
|
910
|
+
invocation: GeneratedCommonStableId;
|
|
911
|
+
value: GeneratedPreviewMessageRendered;
|
|
912
|
+
};
|
|
913
|
+
/** The canonical host request envelope. Malformed single exchanges remain in the original host corpus; an intentional registered-capability mismatch is an executable invalid-request assertion here. */
|
|
914
|
+
export type GeneratedHostSequenceVectorRequestContext = GeneratedHostRequestRequestContext;
|
|
915
|
+
export type GeneratedHostSequenceVectorResultExpectation = {
|
|
916
|
+
outcome: 'result';
|
|
917
|
+
revisionAdvancesFrom?: GeneratedCommonRevision;
|
|
918
|
+
sameAs?: GeneratedCommonStableId;
|
|
919
|
+
value?: 'null' | 'rendered';
|
|
920
|
+
};
|
|
921
|
+
export type GeneratedHostSequenceVectorSettleStep = {
|
|
922
|
+
action: 'settle';
|
|
923
|
+
expect: GeneratedHostSequenceVectorExpectation;
|
|
924
|
+
id: GeneratedCommonStableId;
|
|
925
|
+
invocation: GeneratedCommonStableId;
|
|
926
|
+
};
|
|
927
|
+
/** Studio canonical host conformance vector */
|
|
928
|
+
export type GeneratedHostVector = {
|
|
929
|
+
argument?: GeneratedCommonJsonValue;
|
|
930
|
+
context: {
|
|
931
|
+
expectedRevision?: GeneratedCommonRevision;
|
|
932
|
+
idempotencyKey?: GeneratedCommonStableId;
|
|
933
|
+
locale?: GeneratedCommonLocale;
|
|
934
|
+
operationId: GeneratedCommonQualifiedName;
|
|
935
|
+
protocolVersion: string;
|
|
936
|
+
requestId: string;
|
|
937
|
+
resourceContextKey: GeneratedCommonStableId;
|
|
938
|
+
sessionGeneration: GeneratedCommonRevision;
|
|
939
|
+
};
|
|
940
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
941
|
+
description: string;
|
|
942
|
+
expect: {
|
|
943
|
+
outcome: 'result';
|
|
944
|
+
revision?: GeneratedCommonRevision;
|
|
945
|
+
revisionAdvances?: boolean;
|
|
946
|
+
value?: 'artifact' | 'artifact-references' | 'content-model' | 'content-models' | 'media-asset' | 'media-page' | 'message-bundle' | 'null' | 'permission-explanation' | 'permission-snapshot' | 'recovery-envelope' | 'rendered' | 'search-page' | 'upload-accepted' | 'upload-grant';
|
|
947
|
+
} | {
|
|
948
|
+
category: 'cancelled' | 'conflict' | 'forbidden' | 'incompatible' | 'internal' | 'invalid-request' | 'limit-exceeded' | 'not-found' | 'rate-limited' | 'unauthenticated' | 'unavailable' | 'validation-failed';
|
|
949
|
+
messageMustNotContain?: [string, ...string[]];
|
|
950
|
+
outcome: 'error';
|
|
951
|
+
retryable?: boolean;
|
|
952
|
+
revision?: GeneratedCommonRevision;
|
|
953
|
+
};
|
|
954
|
+
given: {
|
|
955
|
+
artifacts: {
|
|
956
|
+
id: GeneratedCommonStableId;
|
|
957
|
+
kind: 'blueprint' | 'content-model' | 'entry';
|
|
958
|
+
revision: GeneratedCommonRevision;
|
|
959
|
+
}[];
|
|
960
|
+
permissions: GeneratedCommonQualifiedName[];
|
|
961
|
+
sessionGeneration?: GeneratedCommonRevision;
|
|
962
|
+
};
|
|
963
|
+
id: GeneratedCommonStableId;
|
|
964
|
+
kind: 'host-vector';
|
|
965
|
+
operation: GeneratedCommonLocalName;
|
|
966
|
+
port: 'artifact' | 'localization' | 'media' | 'model' | 'permission' | 'preview' | 'recovery' | 'resource' | 'telemetry';
|
|
967
|
+
profile: GeneratedCommonQualifiedName;
|
|
968
|
+
};
|
|
969
|
+
/** Studio inspector contribution */
|
|
970
|
+
export type GeneratedInspector = {
|
|
971
|
+
blockTypes: [GeneratedCommonQualifiedName, ...GeneratedCommonQualifiedName[]];
|
|
972
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
973
|
+
description?: GeneratedCommonMessageReference;
|
|
974
|
+
extensions?: GeneratedCommonExtensions;
|
|
975
|
+
id: GeneratedCommonQualifiedName;
|
|
976
|
+
kind: 'inspector';
|
|
977
|
+
label: GeneratedCommonMessageReference;
|
|
978
|
+
owner: GeneratedCommonOwnerReference;
|
|
979
|
+
placement: 'augment' | 'replace';
|
|
980
|
+
requiredCapability?: GeneratedCommonQualifiedName;
|
|
981
|
+
version: GeneratedCommonSemanticVersion;
|
|
982
|
+
};
|
|
983
|
+
/** Studio host-owned media asset */
|
|
984
|
+
export type GeneratedMediaAsset = {
|
|
985
|
+
byteSize: number;
|
|
986
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
987
|
+
extensions?: GeneratedCommonExtensions;
|
|
988
|
+
filename: string;
|
|
989
|
+
id: GeneratedCommonStableId;
|
|
990
|
+
kind: 'media-asset';
|
|
991
|
+
mediaKind: 'image' | 'video' | 'audio' | 'document' | 'archive' | 'other';
|
|
992
|
+
mediaType: string;
|
|
993
|
+
metadata: {
|
|
994
|
+
altText?: string;
|
|
995
|
+
caption?: string;
|
|
996
|
+
credit?: string;
|
|
997
|
+
decorative?: boolean;
|
|
998
|
+
durationMilliseconds?: number;
|
|
999
|
+
focalPoint?: {
|
|
1000
|
+
x: number;
|
|
1001
|
+
y: number;
|
|
1002
|
+
};
|
|
1003
|
+
height?: number;
|
|
1004
|
+
license?: string;
|
|
1005
|
+
width?: number;
|
|
1006
|
+
};
|
|
1007
|
+
renditions?: {
|
|
1008
|
+
height: number;
|
|
1009
|
+
id: GeneratedCommonLocalName;
|
|
1010
|
+
mediaType: string;
|
|
1011
|
+
width: number;
|
|
1012
|
+
}[];
|
|
1013
|
+
revision: GeneratedCommonRevision;
|
|
1014
|
+
state: 'processing' | 'ready' | 'rejected' | 'quarantined' | 'archived';
|
|
1015
|
+
};
|
|
1016
|
+
/** Studio persisted media reference */
|
|
1017
|
+
export type GeneratedMediaReference = {
|
|
1018
|
+
accessibility: {
|
|
1019
|
+
altText: string;
|
|
1020
|
+
caption?: string;
|
|
1021
|
+
mode: 'informative';
|
|
1022
|
+
} | {
|
|
1023
|
+
mode: 'decorative';
|
|
1024
|
+
} | {
|
|
1025
|
+
altFieldPath: [GeneratedCommonLocalName, ...GeneratedCommonLocalName[]];
|
|
1026
|
+
captionFieldPath?: [GeneratedCommonLocalName, ...GeneratedCommonLocalName[]];
|
|
1027
|
+
mode: 'bound';
|
|
1028
|
+
};
|
|
1029
|
+
assetId: GeneratedCommonStableId;
|
|
1030
|
+
assetRevision?: GeneratedCommonRevision;
|
|
1031
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
1032
|
+
cropIntent?: {
|
|
1033
|
+
height: number;
|
|
1034
|
+
mode: 'aspect-ratio';
|
|
1035
|
+
width: number;
|
|
1036
|
+
} | {
|
|
1037
|
+
height: number;
|
|
1038
|
+
mode: 'rectangle';
|
|
1039
|
+
width: number;
|
|
1040
|
+
x: number;
|
|
1041
|
+
y: number;
|
|
1042
|
+
};
|
|
1043
|
+
focalPoint?: {
|
|
1044
|
+
x: number;
|
|
1045
|
+
y: number;
|
|
1046
|
+
};
|
|
1047
|
+
kind: 'media-reference';
|
|
1048
|
+
renditionIntent?: {
|
|
1049
|
+
fit?: 'contain' | 'cover' | 'fill' | 'scale-down';
|
|
1050
|
+
preferredMediaTypes?: string[];
|
|
1051
|
+
role: GeneratedCommonLocalName;
|
|
1052
|
+
};
|
|
1053
|
+
usage: GeneratedCommonQualifiedName;
|
|
1054
|
+
};
|
|
1055
|
+
/** Studio media upload grant */
|
|
1056
|
+
export type GeneratedMediaUploadGrant = {
|
|
1057
|
+
expiresAt: GeneratedCommonRfc3339Instant;
|
|
1058
|
+
headers?: {
|
|
1059
|
+
[key: string]: string;
|
|
1060
|
+
};
|
|
1061
|
+
method: 'POST' | 'PUT';
|
|
1062
|
+
plan: {
|
|
1063
|
+
chunkBytes?: number;
|
|
1064
|
+
maximumBytes: number;
|
|
1065
|
+
resumable: boolean;
|
|
1066
|
+
};
|
|
1067
|
+
uploadId: GeneratedCommonStableId;
|
|
1068
|
+
url: string;
|
|
1069
|
+
};
|
|
1070
|
+
/** Studio media upload session */
|
|
1071
|
+
export type GeneratedMediaUploadSession = {
|
|
1072
|
+
asset?: GeneratedMediaUploadSessionAcceptedAsset;
|
|
1073
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
1074
|
+
failure?: GeneratedCommonDiagnostic;
|
|
1075
|
+
id: GeneratedCommonStableId;
|
|
1076
|
+
kind: 'media-upload-session';
|
|
1077
|
+
plan?: GeneratedMediaUploadSessionPlan;
|
|
1078
|
+
progress: {
|
|
1079
|
+
totalBytes: number;
|
|
1080
|
+
transferredBytes: number;
|
|
1081
|
+
};
|
|
1082
|
+
request: {
|
|
1083
|
+
byteSize: number;
|
|
1084
|
+
checksum?: GeneratedCommonIntegrity;
|
|
1085
|
+
filename: string;
|
|
1086
|
+
mediaType: string;
|
|
1087
|
+
purpose: GeneratedCommonQualifiedName;
|
|
1088
|
+
};
|
|
1089
|
+
state: 'requested' | 'authorized' | 'transferring' | 'verifying' | 'complete' | 'failed' | 'cancelled';
|
|
1090
|
+
};
|
|
1091
|
+
export type GeneratedMediaUploadSessionAcceptedAsset = {
|
|
1092
|
+
id: GeneratedCommonStableId;
|
|
1093
|
+
revision: GeneratedCommonRevision;
|
|
1094
|
+
state: 'processing' | 'ready' | 'rejected' | 'quarantined';
|
|
1095
|
+
};
|
|
1096
|
+
export type GeneratedMediaUploadSessionPlan = {
|
|
1097
|
+
chunkBytes?: number;
|
|
1098
|
+
maximumBytes: number;
|
|
1099
|
+
resumable: boolean;
|
|
1100
|
+
};
|
|
1101
|
+
/** Studio canonical media policy vector */
|
|
1102
|
+
export type GeneratedMediaVector = {
|
|
1103
|
+
cancel?: {
|
|
1104
|
+
during: 'complete' | 'requested' | 'transferring' | 'verifying';
|
|
1105
|
+
finalState: 'cancelled' | 'complete';
|
|
1106
|
+
};
|
|
1107
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
1108
|
+
description: string;
|
|
1109
|
+
expect: {
|
|
1110
|
+
outcome: 'accepted';
|
|
1111
|
+
plan: GeneratedMediaVectorPlan;
|
|
1112
|
+
} | {
|
|
1113
|
+
code: GeneratedMediaVectorFailureCode;
|
|
1114
|
+
messageMustNotContain?: [string, ...string[]];
|
|
1115
|
+
outcome: 'rejected';
|
|
1116
|
+
};
|
|
1117
|
+
id: GeneratedCommonStableId;
|
|
1118
|
+
kind: 'media-vector';
|
|
1119
|
+
policy: {
|
|
1120
|
+
acceptedMediaTypes: [GeneratedMediaVectorMediaType, ...GeneratedMediaVectorMediaType[]];
|
|
1121
|
+
chunkBytes?: number;
|
|
1122
|
+
maximumBytes: number;
|
|
1123
|
+
resumable: boolean;
|
|
1124
|
+
};
|
|
1125
|
+
request: {
|
|
1126
|
+
byteSize: number;
|
|
1127
|
+
checksum?: GeneratedCommonIntegrity;
|
|
1128
|
+
filename: string;
|
|
1129
|
+
mediaType: GeneratedMediaVectorMediaType;
|
|
1130
|
+
purpose: GeneratedCommonQualifiedName;
|
|
1131
|
+
};
|
|
1132
|
+
retry?: {
|
|
1133
|
+
freshSession: true;
|
|
1134
|
+
};
|
|
1135
|
+
};
|
|
1136
|
+
export type GeneratedMediaVectorFailureCode = 'studio.media/upload-failed' | 'studio.media/upload-too-large';
|
|
1137
|
+
export type GeneratedMediaVectorMediaType = string;
|
|
1138
|
+
export type GeneratedMediaVectorPlan = {
|
|
1139
|
+
chunkBytes?: number;
|
|
1140
|
+
maximumBytes: number;
|
|
1141
|
+
resumable: boolean;
|
|
1142
|
+
};
|
|
1143
|
+
/** Studio migration declaration */
|
|
1144
|
+
export type GeneratedMigration = {
|
|
1145
|
+
artifactKinds: [
|
|
1146
|
+
'block-definition' | 'blueprint' | 'content-model' | 'entry' | 'theme',
|
|
1147
|
+
...('block-definition' | 'blueprint' | 'content-model' | 'entry' | 'theme')[]
|
|
1148
|
+
];
|
|
1149
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
1150
|
+
description?: GeneratedCommonMessageReference;
|
|
1151
|
+
extensions?: GeneratedCommonExtensions;
|
|
1152
|
+
id: GeneratedCommonQualifiedName;
|
|
1153
|
+
kind: 'migration';
|
|
1154
|
+
label: GeneratedCommonMessageReference;
|
|
1155
|
+
lossClassification: 'lossless' | 'lossy';
|
|
1156
|
+
owner: GeneratedCommonOwnerReference;
|
|
1157
|
+
sourceVersions: GeneratedCommonVersionRange;
|
|
1158
|
+
targetVersion: GeneratedCommonSemanticVersion;
|
|
1159
|
+
version: GeneratedCommonSemanticVersion;
|
|
1160
|
+
};
|
|
1161
|
+
/** Studio composition pattern */
|
|
1162
|
+
export type GeneratedPattern = {
|
|
1163
|
+
blockDependencies: {
|
|
1164
|
+
integrity?: GeneratedCommonIntegrity;
|
|
1165
|
+
revision: GeneratedCommonRevision;
|
|
1166
|
+
type: GeneratedCommonQualifiedName;
|
|
1167
|
+
version: GeneratedCommonSemanticVersion;
|
|
1168
|
+
}[];
|
|
1169
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
1170
|
+
description?: GeneratedCommonMessageReference;
|
|
1171
|
+
extensions?: GeneratedCommonExtensions;
|
|
1172
|
+
id: GeneratedCommonStableId;
|
|
1173
|
+
kind: 'pattern';
|
|
1174
|
+
label: GeneratedCommonMessageReference;
|
|
1175
|
+
owner: GeneratedCommonOwnerReference;
|
|
1176
|
+
revision: GeneratedCommonRevision;
|
|
1177
|
+
roots: [GeneratedBlueprintNode, ...GeneratedBlueprintNode[]];
|
|
1178
|
+
version: GeneratedCommonSemanticVersion;
|
|
1179
|
+
};
|
|
1180
|
+
/** Studio plugin manifest */
|
|
1181
|
+
export type GeneratedPluginManifest = {
|
|
1182
|
+
activation: 'declarative' | 'executable';
|
|
1183
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
1184
|
+
contributions: {
|
|
1185
|
+
executable?: boolean;
|
|
1186
|
+
id: GeneratedCommonQualifiedName;
|
|
1187
|
+
integrity: GeneratedCommonIntegrity;
|
|
1188
|
+
kind: 'block' | 'command' | 'design-vocabulary' | 'field-adapter' | 'inspector' | 'locale' | 'migration' | 'panel' | 'pattern' | 'renderer-capability' | 'test-fixture' | 'transform';
|
|
1189
|
+
resource: GeneratedCommonPackageRelativePath;
|
|
1190
|
+
version: GeneratedCommonSemanticVersion;
|
|
1191
|
+
}[];
|
|
1192
|
+
dependencies: {
|
|
1193
|
+
id: GeneratedCommonQualifiedName;
|
|
1194
|
+
optional: boolean;
|
|
1195
|
+
versions: GeneratedCommonVersionRange;
|
|
1196
|
+
}[];
|
|
1197
|
+
description?: GeneratedCommonMessageReference;
|
|
1198
|
+
entryModules: {
|
|
1199
|
+
integrity: GeneratedCommonIntegrity;
|
|
1200
|
+
path: GeneratedCommonPackageRelativePath;
|
|
1201
|
+
realm: 'application' | 'worker' | 'sandboxed-frame';
|
|
1202
|
+
}[];
|
|
1203
|
+
extensions?: GeneratedCommonExtensions;
|
|
1204
|
+
id: GeneratedCommonQualifiedName;
|
|
1205
|
+
kind: 'plugin-manifest';
|
|
1206
|
+
label: GeneratedCommonMessageReference;
|
|
1207
|
+
locales?: GeneratedCommonLocale[];
|
|
1208
|
+
optionalCapabilities: GeneratedPluginManifestCapabilityRequirement[];
|
|
1209
|
+
owner: GeneratedCommonOwnerReference;
|
|
1210
|
+
permissions: GeneratedCommonQualifiedName[];
|
|
1211
|
+
requiredCapabilities: GeneratedPluginManifestCapabilityRequirement[];
|
|
1212
|
+
version: GeneratedCommonSemanticVersion;
|
|
1213
|
+
};
|
|
1214
|
+
export type GeneratedPluginManifestCapabilityRequirement = {
|
|
1215
|
+
id: GeneratedCommonQualifiedName;
|
|
1216
|
+
versions: GeneratedCommonVersionRange;
|
|
1217
|
+
};
|
|
1218
|
+
/** Studio preview channel message */
|
|
1219
|
+
export type GeneratedPreviewMessage = {
|
|
1220
|
+
channelId: GeneratedCommonStableId;
|
|
1221
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
1222
|
+
kind: 'preview-message';
|
|
1223
|
+
payload: {
|
|
1224
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
1225
|
+
};
|
|
1226
|
+
sequence: number;
|
|
1227
|
+
sessionGeneration: GeneratedCommonRevision;
|
|
1228
|
+
type: 'studio.preview/activated' | 'studio.preview/dispose' | 'studio.preview/error' | 'studio.preview/measure' | 'studio.preview/measurements' | 'studio.preview/ready' | 'studio.preview/reload' | 'studio.preview/render' | 'studio.preview/rendered' | 'studio.preview/select' | 'studio.preview/teardown' | 'studio.preview/viewport';
|
|
1229
|
+
};
|
|
1230
|
+
export type GeneratedPreviewMessageActivated = {
|
|
1231
|
+
interaction: 'activate' | 'context-menu' | 'focus';
|
|
1232
|
+
marker: GeneratedPreviewMessagePreviewMarker;
|
|
1233
|
+
};
|
|
1234
|
+
export type GeneratedPreviewMessageDispose = {
|
|
1235
|
+
draftDigest?: string;
|
|
1236
|
+
reason: GeneratedCommonQualifiedName;
|
|
1237
|
+
};
|
|
1238
|
+
export type GeneratedPreviewMessageError = {
|
|
1239
|
+
code: GeneratedCommonQualifiedName;
|
|
1240
|
+
correlationId?: GeneratedCommonStableId;
|
|
1241
|
+
message: GeneratedCommonMessageReference;
|
|
1242
|
+
retryable: boolean;
|
|
1243
|
+
};
|
|
1244
|
+
export type GeneratedPreviewMessageMarkerRect = {
|
|
1245
|
+
height: number;
|
|
1246
|
+
width: number;
|
|
1247
|
+
x: number;
|
|
1248
|
+
y: number;
|
|
1249
|
+
};
|
|
1250
|
+
export type GeneratedPreviewMessageMeasure = {
|
|
1251
|
+
markers: [GeneratedPreviewMessagePreviewMarker, ...GeneratedPreviewMessagePreviewMarker[]];
|
|
1252
|
+
requestId: GeneratedCommonStableId;
|
|
1253
|
+
};
|
|
1254
|
+
export type GeneratedPreviewMessageMeasurements = {
|
|
1255
|
+
draftDigest: string;
|
|
1256
|
+
measurements: {
|
|
1257
|
+
[key: string]: [GeneratedPreviewMessageMarkerRect, ...GeneratedPreviewMessageMarkerRect[]];
|
|
1258
|
+
};
|
|
1259
|
+
requestId: GeneratedCommonStableId;
|
|
1260
|
+
unknown: GeneratedPreviewMessagePreviewMarker[];
|
|
1261
|
+
viewport: GeneratedPreviewMessageViewportMetrics;
|
|
1262
|
+
};
|
|
1263
|
+
/** A deterministic marker for one node in a canonical draft: the draft digest followed by its zero-based Blueprint preorder ordinal. */
|
|
1264
|
+
export type GeneratedPreviewMessagePreviewMarker = string;
|
|
1265
|
+
export type GeneratedPreviewMessageReady = {
|
|
1266
|
+
protocolVersion: GeneratedCommonSemanticVersion;
|
|
1267
|
+
renderer: GeneratedCommonQualifiedName;
|
|
1268
|
+
viewports: GeneratedCommonLocalName[];
|
|
1269
|
+
};
|
|
1270
|
+
export type GeneratedPreviewMessageReload = {
|
|
1271
|
+
reason: GeneratedCommonQualifiedName;
|
|
1272
|
+
};
|
|
1273
|
+
export type GeneratedPreviewMessageRender = {
|
|
1274
|
+
artifactId: GeneratedCommonStableId;
|
|
1275
|
+
draftDigest: string;
|
|
1276
|
+
draftRevision: GeneratedCommonRevision;
|
|
1277
|
+
requestId: GeneratedCommonStableId;
|
|
1278
|
+
viewport: GeneratedCommonLocalName;
|
|
1279
|
+
};
|
|
1280
|
+
export type GeneratedPreviewMessageRendered = {
|
|
1281
|
+
diagnostics: GeneratedCommonDiagnostic[];
|
|
1282
|
+
draftDigest: string;
|
|
1283
|
+
markerMap: {
|
|
1284
|
+
[key: string]: GeneratedCommonStableId;
|
|
1285
|
+
};
|
|
1286
|
+
markers: GeneratedPreviewMessagePreviewMarker[];
|
|
1287
|
+
requestId: GeneratedCommonStableId;
|
|
1288
|
+
};
|
|
1289
|
+
export type GeneratedPreviewMessageSelect = {
|
|
1290
|
+
nodeId: GeneratedCommonStableId;
|
|
1291
|
+
reveal?: boolean;
|
|
1292
|
+
};
|
|
1293
|
+
export type GeneratedPreviewMessageTeardown = {
|
|
1294
|
+
reason: GeneratedCommonQualifiedName;
|
|
1295
|
+
};
|
|
1296
|
+
/** A semantic viewport role and explicit dimensions are alternatives, never a merge. Each branch is closed, so a payload naming both matches neither. */
|
|
1297
|
+
export type GeneratedPreviewMessageViewport = {
|
|
1298
|
+
viewport: GeneratedCommonLocalName;
|
|
1299
|
+
} | {
|
|
1300
|
+
height?: number;
|
|
1301
|
+
width?: number;
|
|
1302
|
+
};
|
|
1303
|
+
export type GeneratedPreviewMessageViewportMetrics = {
|
|
1304
|
+
devicePixelRatio: number;
|
|
1305
|
+
height: number;
|
|
1306
|
+
scrollX: number;
|
|
1307
|
+
scrollY: number;
|
|
1308
|
+
width: number;
|
|
1309
|
+
};
|
|
1310
|
+
/** Studio preview identity conformance vector */
|
|
1311
|
+
export type GeneratedPreviewVector = {
|
|
1312
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
1313
|
+
description: string;
|
|
1314
|
+
draft: GeneratedBlueprint;
|
|
1315
|
+
expect: {
|
|
1316
|
+
draftDigest: string;
|
|
1317
|
+
markerMap: {
|
|
1318
|
+
[key: string]: GeneratedCommonStableId;
|
|
1319
|
+
};
|
|
1320
|
+
markers: GeneratedPreviewMessagePreviewMarker[];
|
|
1321
|
+
};
|
|
1322
|
+
id: GeneratedCommonStableId;
|
|
1323
|
+
kind: 'preview-vector';
|
|
1324
|
+
profile: 'studio.profile/preview-identity-v1';
|
|
1325
|
+
protocolVersion: '0.1.0-draft.2';
|
|
1326
|
+
render: GeneratedPreviewMessageRender;
|
|
1327
|
+
};
|
|
1328
|
+
/** Studio artifact provenance record */
|
|
1329
|
+
export type GeneratedProvenance = {
|
|
1330
|
+
artifact: {
|
|
1331
|
+
id: GeneratedCommonStableId;
|
|
1332
|
+
revision: GeneratedCommonRevision;
|
|
1333
|
+
};
|
|
1334
|
+
chain: [
|
|
1335
|
+
{
|
|
1336
|
+
actor: {
|
|
1337
|
+
displayName?: string;
|
|
1338
|
+
id: GeneratedCommonStableId;
|
|
1339
|
+
};
|
|
1340
|
+
commandCount?: number;
|
|
1341
|
+
fromRevision?: GeneratedCommonRevision;
|
|
1342
|
+
migrationId?: GeneratedCommonQualifiedName;
|
|
1343
|
+
origin: 'authoring' | 'import' | 'migration' | 'pattern' | 'plugin' | 'system';
|
|
1344
|
+
recordedAt: GeneratedCommonRfc3339Instant;
|
|
1345
|
+
sessionId?: GeneratedCommonStableId;
|
|
1346
|
+
source?: GeneratedCommonArtifactReference;
|
|
1347
|
+
toRevision: GeneratedCommonRevision;
|
|
1348
|
+
},
|
|
1349
|
+
...{
|
|
1350
|
+
actor: {
|
|
1351
|
+
displayName?: string;
|
|
1352
|
+
id: GeneratedCommonStableId;
|
|
1353
|
+
};
|
|
1354
|
+
commandCount?: number;
|
|
1355
|
+
fromRevision?: GeneratedCommonRevision;
|
|
1356
|
+
migrationId?: GeneratedCommonQualifiedName;
|
|
1357
|
+
origin: 'authoring' | 'import' | 'migration' | 'pattern' | 'plugin' | 'system';
|
|
1358
|
+
recordedAt: GeneratedCommonRfc3339Instant;
|
|
1359
|
+
sessionId?: GeneratedCommonStableId;
|
|
1360
|
+
source?: GeneratedCommonArtifactReference;
|
|
1361
|
+
toRevision: GeneratedCommonRevision;
|
|
1362
|
+
}[]
|
|
1363
|
+
];
|
|
1364
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
1365
|
+
extensions?: GeneratedCommonExtensions;
|
|
1366
|
+
kind: 'provenance';
|
|
1367
|
+
};
|
|
1368
|
+
/** Studio renderer-web conformance vector */
|
|
1369
|
+
export type GeneratedRendererWebVector = {
|
|
1370
|
+
bindings: {
|
|
1371
|
+
nodeId: GeneratedCommonStableId;
|
|
1372
|
+
port: GeneratedCommonLocalName;
|
|
1373
|
+
value: GeneratedCommonJsonValue;
|
|
1374
|
+
}[];
|
|
1375
|
+
context?: {
|
|
1376
|
+
allowBlobMedia?: boolean;
|
|
1377
|
+
};
|
|
1378
|
+
coverage: {
|
|
1379
|
+
behaviors: ('accordion-native' | 'countdown' | 'dialog' | 'lightbox' | 'navigation-disclosure' | 'notice-dismiss' | 'popover' | 'slideshow' | 'tabs')[];
|
|
1380
|
+
blockTypes: GeneratedCommonQualifiedName[];
|
|
1381
|
+
presentation: ('alignment' | 'inverse' | 'markers' | 'motion' | 'position' | 'print' | 'responsive-visibility' | 'scrolling' | 'sizing' | 'spacing')[];
|
|
1382
|
+
security: ('active-media-deny' | 'blob-default-deny' | 'escaped-text' | 'safe-url-deny' | 'typed-data-fallback')[];
|
|
1383
|
+
};
|
|
1384
|
+
expect: {
|
|
1385
|
+
cssContains: string[];
|
|
1386
|
+
enhancements: ('chart' | 'countdown' | 'diagram' | 'dialog' | 'lightbox' | 'math' | 'motion' | 'navigation' | 'notice' | 'popover' | 'slideshow' | 'tabs')[];
|
|
1387
|
+
htmlContains: string[];
|
|
1388
|
+
htmlExcludes: string[];
|
|
1389
|
+
};
|
|
1390
|
+
id: GeneratedCommonStableId;
|
|
1391
|
+
media: {
|
|
1392
|
+
altText: string;
|
|
1393
|
+
assetId: GeneratedCommonStableId;
|
|
1394
|
+
caption?: string;
|
|
1395
|
+
height?: number;
|
|
1396
|
+
mediaType?: string;
|
|
1397
|
+
src: string;
|
|
1398
|
+
width?: number;
|
|
1399
|
+
}[];
|
|
1400
|
+
roots: [GeneratedBlueprintNode, ...GeneratedBlueprintNode[]];
|
|
1401
|
+
};
|
|
1402
|
+
/** Studio rich-text renderer-conformance fixture */
|
|
1403
|
+
export type GeneratedRichTextProjection = {
|
|
1404
|
+
description: string;
|
|
1405
|
+
document: GeneratedRichText;
|
|
1406
|
+
projection: GeneratedRichTextProjectionBlockProjection[];
|
|
1407
|
+
};
|
|
1408
|
+
export type GeneratedRichTextProjectionBlockProjection = {
|
|
1409
|
+
embeds: GeneratedRichTextProjectionEmbed[];
|
|
1410
|
+
spans: GeneratedRichTextProjectionSpan[];
|
|
1411
|
+
text: string;
|
|
1412
|
+
type: 'checklistItem' | 'codeBlock' | 'heading' | 'horizontalRule' | 'paragraph' | 'tableCell';
|
|
1413
|
+
};
|
|
1414
|
+
export type GeneratedRichTextProjectionEmbed = {
|
|
1415
|
+
index: number;
|
|
1416
|
+
kind: 'hardBreak';
|
|
1417
|
+
};
|
|
1418
|
+
export type GeneratedRichTextProjectionSpan = {
|
|
1419
|
+
end: number;
|
|
1420
|
+
marks: [
|
|
1421
|
+
'bold' | 'code' | 'highlight' | 'italic' | 'strike',
|
|
1422
|
+
...('bold' | 'code' | 'highlight' | 'italic' | 'strike')[]
|
|
1423
|
+
];
|
|
1424
|
+
start: number;
|
|
1425
|
+
};
|
|
1426
|
+
/** Studio portable rich text */
|
|
1427
|
+
export type GeneratedRichText = GeneratedRichTextDoc;
|
|
1428
|
+
export type GeneratedRichTextBlock = GeneratedRichTextParagraph | GeneratedRichTextHeading | GeneratedRichTextBlockquote | GeneratedRichTextBulletList | GeneratedRichTextOrderedList | GeneratedRichTextHorizontalRule | GeneratedRichTextChecklist | GeneratedRichTextTable | GeneratedRichTextCallout | GeneratedRichTextCodeBlock;
|
|
1429
|
+
export type GeneratedRichTextBlockquote = {
|
|
1430
|
+
content: [GeneratedRichTextBlock, ...GeneratedRichTextBlock[]];
|
|
1431
|
+
type: 'blockquote';
|
|
1432
|
+
};
|
|
1433
|
+
export type GeneratedRichTextBulletList = {
|
|
1434
|
+
content: [GeneratedRichTextListItem, ...GeneratedRichTextListItem[]];
|
|
1435
|
+
type: 'bulletList';
|
|
1436
|
+
};
|
|
1437
|
+
export type GeneratedRichTextCallout = {
|
|
1438
|
+
attrs: {
|
|
1439
|
+
tone: 'danger' | 'info' | 'success' | 'warning';
|
|
1440
|
+
};
|
|
1441
|
+
content: [GeneratedRichTextBlock, ...GeneratedRichTextBlock[]];
|
|
1442
|
+
type: 'callout';
|
|
1443
|
+
};
|
|
1444
|
+
export type GeneratedRichTextChecklist = {
|
|
1445
|
+
content: [GeneratedRichTextChecklistItem, ...GeneratedRichTextChecklistItem[]];
|
|
1446
|
+
type: 'checklist';
|
|
1447
|
+
};
|
|
1448
|
+
export type GeneratedRichTextChecklistItem = {
|
|
1449
|
+
attrs: {
|
|
1450
|
+
checked: boolean;
|
|
1451
|
+
level: number;
|
|
1452
|
+
};
|
|
1453
|
+
content?: GeneratedRichTextInline[];
|
|
1454
|
+
type: 'checklistItem';
|
|
1455
|
+
};
|
|
1456
|
+
export type GeneratedRichTextCodeBlock = {
|
|
1457
|
+
attrs: {
|
|
1458
|
+
language: string;
|
|
1459
|
+
};
|
|
1460
|
+
text: string;
|
|
1461
|
+
type: 'codeBlock';
|
|
1462
|
+
};
|
|
1463
|
+
export type GeneratedRichTextDoc = {
|
|
1464
|
+
content?: GeneratedRichTextBlock[];
|
|
1465
|
+
type: 'doc';
|
|
1466
|
+
};
|
|
1467
|
+
export type GeneratedRichTextHardBreak = {
|
|
1468
|
+
type: 'hardBreak';
|
|
1469
|
+
};
|
|
1470
|
+
export type GeneratedRichTextHeading = {
|
|
1471
|
+
attrs: {
|
|
1472
|
+
level: 2 | 3 | 4;
|
|
1473
|
+
};
|
|
1474
|
+
content?: GeneratedRichTextInline[];
|
|
1475
|
+
type: 'heading';
|
|
1476
|
+
};
|
|
1477
|
+
export type GeneratedRichTextHorizontalRule = {
|
|
1478
|
+
type: 'horizontalRule';
|
|
1479
|
+
};
|
|
1480
|
+
export type GeneratedRichTextInline = GeneratedRichTextText | GeneratedRichTextHardBreak;
|
|
1481
|
+
export type GeneratedRichTextListItem = {
|
|
1482
|
+
content: [GeneratedRichTextBlock, ...GeneratedRichTextBlock[]];
|
|
1483
|
+
type: 'listItem';
|
|
1484
|
+
};
|
|
1485
|
+
export type GeneratedRichTextMark = {
|
|
1486
|
+
type: 'bold' | 'code' | 'italic' | 'strike';
|
|
1487
|
+
} | {
|
|
1488
|
+
attrs: {
|
|
1489
|
+
tone: 'accent' | 'danger' | 'info' | 'success' | 'warning';
|
|
1490
|
+
};
|
|
1491
|
+
type: 'highlight';
|
|
1492
|
+
};
|
|
1493
|
+
export type GeneratedRichTextOrderedList = {
|
|
1494
|
+
attrs?: {
|
|
1495
|
+
start: number;
|
|
1496
|
+
};
|
|
1497
|
+
content: [GeneratedRichTextListItem, ...GeneratedRichTextListItem[]];
|
|
1498
|
+
type: 'orderedList';
|
|
1499
|
+
};
|
|
1500
|
+
export type GeneratedRichTextParagraph = {
|
|
1501
|
+
content?: GeneratedRichTextInline[];
|
|
1502
|
+
type: 'paragraph';
|
|
1503
|
+
};
|
|
1504
|
+
export type GeneratedRichTextTable = {
|
|
1505
|
+
attrs: {
|
|
1506
|
+
header: boolean;
|
|
1507
|
+
};
|
|
1508
|
+
content: [GeneratedRichTextTableRow, ...GeneratedRichTextTableRow[]];
|
|
1509
|
+
type: 'table';
|
|
1510
|
+
};
|
|
1511
|
+
export type GeneratedRichTextTableCell = {
|
|
1512
|
+
content?: GeneratedRichTextInline[];
|
|
1513
|
+
type: 'tableCell';
|
|
1514
|
+
};
|
|
1515
|
+
export type GeneratedRichTextTableRow = {
|
|
1516
|
+
content: [GeneratedRichTextTableCell, ...GeneratedRichTextTableCell[]];
|
|
1517
|
+
type: 'tableRow';
|
|
1518
|
+
};
|
|
1519
|
+
export type GeneratedRichTextText = {
|
|
1520
|
+
marks?: GeneratedRichTextMark[];
|
|
1521
|
+
text: string;
|
|
1522
|
+
type: 'text';
|
|
1523
|
+
};
|
|
1524
|
+
/** Studio property-schema profile conformance vector */
|
|
1525
|
+
export type GeneratedSchemaProfileVector = {
|
|
1526
|
+
boundary?: GeneratedSchemaProfileVectorLimitBoundary;
|
|
1527
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
1528
|
+
description: string;
|
|
1529
|
+
expect: {
|
|
1530
|
+
instances: [
|
|
1531
|
+
{
|
|
1532
|
+
diagnostic?: GeneratedSchemaProfileVectorInstanceDiagnostic;
|
|
1533
|
+
valid: boolean;
|
|
1534
|
+
value: GeneratedCommonJsonValue;
|
|
1535
|
+
},
|
|
1536
|
+
...{
|
|
1537
|
+
diagnostic?: GeneratedSchemaProfileVectorInstanceDiagnostic;
|
|
1538
|
+
valid: boolean;
|
|
1539
|
+
value: GeneratedCommonJsonValue;
|
|
1540
|
+
}[]
|
|
1541
|
+
];
|
|
1542
|
+
outcome: 'accepted';
|
|
1543
|
+
} | {
|
|
1544
|
+
code: 'invalid-root' | 'unsupported-keyword' | 'invalid-keyword-value' | 'unsafe-member' | 'limit-exceeded' | 'invalid-reference' | 'recursive-schema';
|
|
1545
|
+
outcome: 'rejected';
|
|
1546
|
+
schemaPath: GeneratedSchemaProfileVectorJsonPointer;
|
|
1547
|
+
};
|
|
1548
|
+
id: GeneratedCommonStableId;
|
|
1549
|
+
kind: 'schema-profile-vector';
|
|
1550
|
+
profile: 'studio.profile/schema-property';
|
|
1551
|
+
schema: GeneratedJsonValue;
|
|
1552
|
+
};
|
|
1553
|
+
export type GeneratedSchemaProfileVectorInstanceDiagnostic = {
|
|
1554
|
+
instancePath: GeneratedSchemaProfileVectorJsonPointer;
|
|
1555
|
+
keyword: string;
|
|
1556
|
+
};
|
|
1557
|
+
export type GeneratedSchemaProfileVectorJsonPointer = string;
|
|
1558
|
+
export type GeneratedSchemaProfileVectorLimitBoundary = {
|
|
1559
|
+
limit: 'maxAlternatives' | 'maxDescriptionLength' | 'maxEnumMembers' | 'maxExamples' | 'maxJsonDepth' | 'maxJsonItems' | 'maxJsonProperties' | 'maxObjectKeyLength' | 'maxPropertyNames' | 'maxReferenceLength' | 'maxReferences' | 'maxSchemaBytes' | 'maxSchemaDepth' | 'maxSchemaMapProperties' | 'maxSchemaNodes' | 'maxTitleLength';
|
|
1560
|
+
position: 'at-limit' | 'over-limit';
|
|
1561
|
+
value: number;
|
|
1562
|
+
};
|
|
1563
|
+
/** Studio Schema Profile meta-schema */
|
|
1564
|
+
export type GeneratedSchemaProfile = GeneratedSchemaProfileSchema & {
|
|
1565
|
+
additionalProperties: false;
|
|
1566
|
+
type: 'object';
|
|
1567
|
+
[key: string]: GeneratedJsonValue | false | 'object';
|
|
1568
|
+
};
|
|
1569
|
+
export type GeneratedSchemaProfileJsonValue = null | boolean | number | string | GeneratedSchemaProfileJsonValue[] | {
|
|
1570
|
+
[key: string]: GeneratedSchemaProfileJsonValue;
|
|
1571
|
+
};
|
|
1572
|
+
export type GeneratedSchemaProfileLimits = {
|
|
1573
|
+
maxAlternatives: 64;
|
|
1574
|
+
maxDescriptionLength: 10000;
|
|
1575
|
+
maxEnumMembers: 1024;
|
|
1576
|
+
maxExamples: 100;
|
|
1577
|
+
maxJsonDepth: 64;
|
|
1578
|
+
maxJsonItems: 10000;
|
|
1579
|
+
maxJsonProperties: 1000;
|
|
1580
|
+
maxObjectKeyLength: 200;
|
|
1581
|
+
maxPropertyNames: 512;
|
|
1582
|
+
maxReferenceLength: 500;
|
|
1583
|
+
maxReferences: 128;
|
|
1584
|
+
maxSchemaBytes: 262144;
|
|
1585
|
+
maxSchemaDepth: 32;
|
|
1586
|
+
maxSchemaMapProperties: 512;
|
|
1587
|
+
maxSchemaNodes: 1024;
|
|
1588
|
+
maxTitleLength: 1000;
|
|
1589
|
+
};
|
|
1590
|
+
export type GeneratedSchemaProfileSchema = {
|
|
1591
|
+
$defs?: GeneratedSchemaProfileSchemaMap;
|
|
1592
|
+
$ref?: string;
|
|
1593
|
+
$schema?: 'https://json-schema.org/draft/2020-12/schema';
|
|
1594
|
+
additionalProperties?: GeneratedSchemaProfileSubschema;
|
|
1595
|
+
allOf?: GeneratedSchemaProfileSchemaArray;
|
|
1596
|
+
anyOf?: GeneratedSchemaProfileSchemaArray;
|
|
1597
|
+
const?: GeneratedSchemaProfileJsonValue;
|
|
1598
|
+
default?: GeneratedSchemaProfileJsonValue;
|
|
1599
|
+
dependentRequired?: {
|
|
1600
|
+
[key: string]: GeneratedCommonSafeJsonMemberName[];
|
|
1601
|
+
};
|
|
1602
|
+
description?: string;
|
|
1603
|
+
else?: GeneratedSchemaProfileSubschema;
|
|
1604
|
+
enum?: [GeneratedSchemaProfileJsonValue, ...GeneratedSchemaProfileJsonValue[]];
|
|
1605
|
+
examples?: GeneratedSchemaProfileJsonValue[];
|
|
1606
|
+
exclusiveMaximum?: number;
|
|
1607
|
+
exclusiveMinimum?: number;
|
|
1608
|
+
if?: GeneratedSchemaProfileSubschema;
|
|
1609
|
+
items?: GeneratedSchemaProfileSubschema;
|
|
1610
|
+
maxItems?: number;
|
|
1611
|
+
maxLength?: number;
|
|
1612
|
+
maxProperties?: number;
|
|
1613
|
+
maximum?: number;
|
|
1614
|
+
minItems?: number;
|
|
1615
|
+
minLength?: number;
|
|
1616
|
+
minProperties?: number;
|
|
1617
|
+
minimum?: number;
|
|
1618
|
+
multipleOf?: number;
|
|
1619
|
+
not?: GeneratedSchemaProfileSubschema;
|
|
1620
|
+
oneOf?: GeneratedSchemaProfileSchemaArray;
|
|
1621
|
+
prefixItems?: GeneratedSchemaProfileSchemaArray;
|
|
1622
|
+
properties?: GeneratedSchemaProfileSchemaMap;
|
|
1623
|
+
propertyNames?: GeneratedSchemaProfileSubschema;
|
|
1624
|
+
readOnly?: boolean;
|
|
1625
|
+
required?: GeneratedCommonSafeJsonMemberName[];
|
|
1626
|
+
then?: GeneratedSchemaProfileSubschema;
|
|
1627
|
+
title?: string;
|
|
1628
|
+
type?: GeneratedSchemaProfileTypeName | [GeneratedSchemaProfileTypeName, ...GeneratedSchemaProfileTypeName[]];
|
|
1629
|
+
uniqueItems?: boolean;
|
|
1630
|
+
writeOnly?: boolean;
|
|
1631
|
+
[key: string]: GeneratedJsonValue | GeneratedSchemaProfileSchemaMap | string | 'https://json-schema.org/draft/2020-12/schema' | GeneratedSchemaProfileSubschema | GeneratedSchemaProfileSchemaArray | GeneratedSchemaProfileJsonValue | {
|
|
1632
|
+
[key: string]: GeneratedCommonSafeJsonMemberName[];
|
|
1633
|
+
} | [GeneratedSchemaProfileJsonValue, ...GeneratedSchemaProfileJsonValue[]] | GeneratedSchemaProfileJsonValue[] | number | boolean | GeneratedCommonSafeJsonMemberName[] | (GeneratedSchemaProfileTypeName | [GeneratedSchemaProfileTypeName, ...GeneratedSchemaProfileTypeName[]]);
|
|
1634
|
+
};
|
|
1635
|
+
export type GeneratedSchemaProfileSchemaArray = [
|
|
1636
|
+
GeneratedSchemaProfileSubschema,
|
|
1637
|
+
...GeneratedSchemaProfileSubschema[]
|
|
1638
|
+
];
|
|
1639
|
+
export type GeneratedSchemaProfileSchemaMap = {
|
|
1640
|
+
[key: string]: GeneratedSchemaProfileSchema;
|
|
1641
|
+
};
|
|
1642
|
+
export type GeneratedSchemaProfileSubschema = boolean | GeneratedSchemaProfileSchema;
|
|
1643
|
+
export type GeneratedSchemaProfileTypeName = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
|
|
1644
|
+
/** Studio canonical chart */
|
|
1645
|
+
export type GeneratedStudioChart = {
|
|
1646
|
+
datasets: [{
|
|
1647
|
+
label: string;
|
|
1648
|
+
values: number[];
|
|
1649
|
+
}, ...{
|
|
1650
|
+
label: string;
|
|
1651
|
+
values: number[];
|
|
1652
|
+
}[]];
|
|
1653
|
+
labels: string[];
|
|
1654
|
+
title?: string;
|
|
1655
|
+
type: 'bar' | 'doughnut' | 'line' | 'pie';
|
|
1656
|
+
};
|
|
1657
|
+
/** Studio resolved session configuration */
|
|
1658
|
+
export type GeneratedStudioConfig = {
|
|
1659
|
+
actor: {
|
|
1660
|
+
displayName: string;
|
|
1661
|
+
id: GeneratedCommonStableId;
|
|
1662
|
+
};
|
|
1663
|
+
artifacts: {
|
|
1664
|
+
blueprint?: GeneratedCommonLockedArtifactReference;
|
|
1665
|
+
entry?: GeneratedCommonResolvedEntryReference;
|
|
1666
|
+
model?: GeneratedCommonLockedArtifactReference;
|
|
1667
|
+
theme?: GeneratedCommonLockedArtifactReference;
|
|
1668
|
+
};
|
|
1669
|
+
blocks: {
|
|
1670
|
+
integrity?: GeneratedCommonIntegrity;
|
|
1671
|
+
revision: GeneratedCommonRevision;
|
|
1672
|
+
type: GeneratedCommonQualifiedName;
|
|
1673
|
+
version: GeneratedCommonSemanticVersion;
|
|
1674
|
+
}[];
|
|
1675
|
+
composite: 'single' | 'hybrid';
|
|
1676
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
1677
|
+
displayPreferences: {
|
|
1678
|
+
calendar: GeneratedCommonLocalName;
|
|
1679
|
+
hourCycle: 'h11' | 'h12' | 'h23' | 'h24';
|
|
1680
|
+
measurementSystem?: 'metric' | 'us' | 'uk';
|
|
1681
|
+
numberingSystem: GeneratedCommonLocalName;
|
|
1682
|
+
};
|
|
1683
|
+
extensions?: GeneratedCommonExtensions;
|
|
1684
|
+
features: {
|
|
1685
|
+
clipboardMediaUpload: boolean;
|
|
1686
|
+
collaboration: boolean;
|
|
1687
|
+
customInspectors: boolean;
|
|
1688
|
+
executablePlugins: boolean;
|
|
1689
|
+
externalMediaImport: boolean;
|
|
1690
|
+
offlineRecovery: boolean;
|
|
1691
|
+
};
|
|
1692
|
+
hostCapabilities: GeneratedHostCapabilities;
|
|
1693
|
+
limits: {
|
|
1694
|
+
maxChildrenPerSlot: number;
|
|
1695
|
+
maxCommandBatch: number;
|
|
1696
|
+
maxContributionsPerPlugin: number;
|
|
1697
|
+
maxDepth: number;
|
|
1698
|
+
maxExtensionBytes: number;
|
|
1699
|
+
maxHistoryEntries: number;
|
|
1700
|
+
maxLocaleBytes: number;
|
|
1701
|
+
maxMediaBatch: number;
|
|
1702
|
+
maxMediaUploadBytes: number;
|
|
1703
|
+
maxNodes: number;
|
|
1704
|
+
maxPluginCount: number;
|
|
1705
|
+
maxPreviewBytes: number;
|
|
1706
|
+
maxPreviewRequestsPerMinute: number;
|
|
1707
|
+
maxPropertyBytes: number;
|
|
1708
|
+
maxRichTextBytes: number;
|
|
1709
|
+
maxRichTextDepth: number;
|
|
1710
|
+
maxSlotsPerNode: number;
|
|
1711
|
+
};
|
|
1712
|
+
locale: {
|
|
1713
|
+
direction: 'ltr' | 'rtl';
|
|
1714
|
+
fallbacks: GeneratedCommonLocale[];
|
|
1715
|
+
requested: GeneratedCommonLocale;
|
|
1716
|
+
resolved: GeneratedCommonLocale;
|
|
1717
|
+
timeZone: string;
|
|
1718
|
+
};
|
|
1719
|
+
mode: 'model' | 'blueprint' | 'content';
|
|
1720
|
+
permissions: GeneratedCommonQualifiedName[];
|
|
1721
|
+
plugins: GeneratedCommonLockedArtifactReference[];
|
|
1722
|
+
preview: {
|
|
1723
|
+
allowApproximateRenderer: boolean;
|
|
1724
|
+
enabled: boolean;
|
|
1725
|
+
initialViewport?: GeneratedCommonLocalName;
|
|
1726
|
+
sameOriginRequired: boolean;
|
|
1727
|
+
};
|
|
1728
|
+
protocolVersion: GeneratedCommonSemanticVersion;
|
|
1729
|
+
resourceContext: {
|
|
1730
|
+
key: GeneratedCommonStableId;
|
|
1731
|
+
resource?: {
|
|
1732
|
+
id: GeneratedCommonStableId;
|
|
1733
|
+
type: GeneratedCommonQualifiedName;
|
|
1734
|
+
};
|
|
1735
|
+
revision?: GeneratedCommonRevision;
|
|
1736
|
+
scopes: {
|
|
1737
|
+
id: GeneratedCommonStableId;
|
|
1738
|
+
kind: GeneratedCommonQualifiedName;
|
|
1739
|
+
}[];
|
|
1740
|
+
surface: GeneratedCommonQualifiedName;
|
|
1741
|
+
};
|
|
1742
|
+
sessionGeneration: GeneratedCommonRevision;
|
|
1743
|
+
sessionId: GeneratedCommonStableId;
|
|
1744
|
+
sessionState: 'editable' | 'read-only';
|
|
1745
|
+
};
|
|
1746
|
+
/** Studio canonical drawing */
|
|
1747
|
+
export type GeneratedStudioDrawing = {
|
|
1748
|
+
alt: string;
|
|
1749
|
+
height: number;
|
|
1750
|
+
strokes: {
|
|
1751
|
+
color: string;
|
|
1752
|
+
points: [{
|
|
1753
|
+
x: number;
|
|
1754
|
+
y: number;
|
|
1755
|
+
}, ...{
|
|
1756
|
+
x: number;
|
|
1757
|
+
y: number;
|
|
1758
|
+
}[]];
|
|
1759
|
+
width: number;
|
|
1760
|
+
}[];
|
|
1761
|
+
width: number;
|
|
1762
|
+
};
|
|
1763
|
+
/** Studio canonical money */
|
|
1764
|
+
export type GeneratedStudioMoney = {
|
|
1765
|
+
amount: string;
|
|
1766
|
+
currency: string;
|
|
1767
|
+
};
|
|
1768
|
+
/** Studio presentation intent */
|
|
1769
|
+
export type GeneratedStudioPresentation = {
|
|
1770
|
+
align?: 'center' | 'end' | 'start' | 'stretch';
|
|
1771
|
+
animation?: 'fade' | 'none' | 'parallax' | 'scale' | 'slide';
|
|
1772
|
+
height?: 'auto' | 'content' | 'full' | 'viewport';
|
|
1773
|
+
inverse?: boolean;
|
|
1774
|
+
margin?: 'comfortable' | 'compact' | 'none' | 'spacious';
|
|
1775
|
+
marker?: 'check' | 'decimal' | 'disc' | 'none';
|
|
1776
|
+
padding?: 'comfortable' | 'compact' | 'none' | 'spacious';
|
|
1777
|
+
position?: 'flow' | 'relative' | 'sticky';
|
|
1778
|
+
print?: 'hide' | 'only' | 'show';
|
|
1779
|
+
scrolling?: 'auto' | 'clip' | 'snap' | 'visible';
|
|
1780
|
+
visibility?: {
|
|
1781
|
+
compact?: 'hidden' | 'visible';
|
|
1782
|
+
expanded?: 'hidden' | 'visible';
|
|
1783
|
+
medium?: 'hidden' | 'visible';
|
|
1784
|
+
};
|
|
1785
|
+
width?: 'auto' | 'content' | 'full';
|
|
1786
|
+
};
|
|
1787
|
+
/** Studio coordinated release record */
|
|
1788
|
+
export type GeneratedStudioRelease = {
|
|
1789
|
+
claimedProfiles: GeneratedCommonQualifiedName[];
|
|
1790
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
1791
|
+
corpusManifestDigest: GeneratedCommonIntegrity;
|
|
1792
|
+
kind: 'studio-release';
|
|
1793
|
+
packages: {
|
|
1794
|
+
'@kumwe/studio': GeneratedCommonSemanticVersion;
|
|
1795
|
+
'@kumwe/studio-core': GeneratedCommonSemanticVersion;
|
|
1796
|
+
'@kumwe/studio-media': GeneratedCommonSemanticVersion;
|
|
1797
|
+
'@kumwe/studio-preview': GeneratedCommonSemanticVersion;
|
|
1798
|
+
'@kumwe/studio-protocol': GeneratedCommonSemanticVersion;
|
|
1799
|
+
'@kumwe/studio-renderer-web': GeneratedCommonSemanticVersion;
|
|
1800
|
+
'@kumwe/studio-rich-text': GeneratedCommonSemanticVersion;
|
|
1801
|
+
'@kumwe/studio-testkit': GeneratedCommonSemanticVersion;
|
|
1802
|
+
};
|
|
1803
|
+
protocolVersion: GeneratedCommonSemanticVersion;
|
|
1804
|
+
release: GeneratedCommonSemanticVersion;
|
|
1805
|
+
};
|
|
1806
|
+
/** Studio table document */
|
|
1807
|
+
export type GeneratedStudioTable = {
|
|
1808
|
+
caption?: string;
|
|
1809
|
+
columns: [string, ...string[]];
|
|
1810
|
+
rows: [string, ...string[]][];
|
|
1811
|
+
};
|
|
1812
|
+
/** Studio theme design profile */
|
|
1813
|
+
export type GeneratedTheme = {
|
|
1814
|
+
aliases?: {
|
|
1815
|
+
equivalentMeaning: true & boolean;
|
|
1816
|
+
from: GeneratedCommonLocalName;
|
|
1817
|
+
kind: 'viewport' | 'design-control' | 'choice' | 'recipe';
|
|
1818
|
+
to: GeneratedCommonLocalName;
|
|
1819
|
+
}[];
|
|
1820
|
+
blockSupport: {
|
|
1821
|
+
renderer: GeneratedCommonQualifiedName;
|
|
1822
|
+
type: GeneratedCommonQualifiedName;
|
|
1823
|
+
versions: GeneratedCommonVersionRange;
|
|
1824
|
+
}[];
|
|
1825
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
1826
|
+
description?: GeneratedCommonMessageReference;
|
|
1827
|
+
designControls: {
|
|
1828
|
+
choices: [
|
|
1829
|
+
{
|
|
1830
|
+
deprecated?: boolean;
|
|
1831
|
+
id: GeneratedCommonLocalName;
|
|
1832
|
+
label: GeneratedCommonMessageReference;
|
|
1833
|
+
},
|
|
1834
|
+
...{
|
|
1835
|
+
deprecated?: boolean;
|
|
1836
|
+
id: GeneratedCommonLocalName;
|
|
1837
|
+
label: GeneratedCommonMessageReference;
|
|
1838
|
+
}[]
|
|
1839
|
+
];
|
|
1840
|
+
description?: GeneratedCommonMessageReference;
|
|
1841
|
+
id: GeneratedCommonLocalName;
|
|
1842
|
+
kind: 'color-role' | 'typography-role' | 'spacing-role' | 'size-role' | 'radius-role' | 'shadow-role' | 'motion-role' | 'layer-role' | 'enum' | 'boolean' | 'integer';
|
|
1843
|
+
label: GeneratedCommonMessageReference;
|
|
1844
|
+
}[];
|
|
1845
|
+
extensions?: GeneratedCommonExtensions;
|
|
1846
|
+
id: GeneratedCommonStableId;
|
|
1847
|
+
kind: 'theme';
|
|
1848
|
+
label: GeneratedCommonMessageReference;
|
|
1849
|
+
owner: GeneratedCommonOwnerReference;
|
|
1850
|
+
recipes: {
|
|
1851
|
+
blockType: GeneratedCommonQualifiedName;
|
|
1852
|
+
designValues: {
|
|
1853
|
+
[key: string]: GeneratedCommonJsonValue;
|
|
1854
|
+
};
|
|
1855
|
+
id: GeneratedCommonLocalName;
|
|
1856
|
+
label: GeneratedCommonMessageReference;
|
|
1857
|
+
}[];
|
|
1858
|
+
renderers: [
|
|
1859
|
+
{
|
|
1860
|
+
exactPreview: boolean;
|
|
1861
|
+
id: GeneratedCommonQualifiedName;
|
|
1862
|
+
surfaces: [
|
|
1863
|
+
'web' | 'email' | 'document' | 'native' | 'preview',
|
|
1864
|
+
...('web' | 'email' | 'document' | 'native' | 'preview')[]
|
|
1865
|
+
];
|
|
1866
|
+
version: GeneratedCommonSemanticVersion;
|
|
1867
|
+
},
|
|
1868
|
+
...{
|
|
1869
|
+
exactPreview: boolean;
|
|
1870
|
+
id: GeneratedCommonQualifiedName;
|
|
1871
|
+
surfaces: [
|
|
1872
|
+
'web' | 'email' | 'document' | 'native' | 'preview',
|
|
1873
|
+
...('web' | 'email' | 'document' | 'native' | 'preview')[]
|
|
1874
|
+
];
|
|
1875
|
+
version: GeneratedCommonSemanticVersion;
|
|
1876
|
+
}[]
|
|
1877
|
+
];
|
|
1878
|
+
revision: GeneratedCommonRevision;
|
|
1879
|
+
version: GeneratedCommonSemanticVersion;
|
|
1880
|
+
viewports: [
|
|
1881
|
+
{
|
|
1882
|
+
base: boolean;
|
|
1883
|
+
id: GeneratedCommonLocalName;
|
|
1884
|
+
label: GeneratedCommonMessageReference;
|
|
1885
|
+
order: number;
|
|
1886
|
+
previewWidth: number;
|
|
1887
|
+
},
|
|
1888
|
+
...{
|
|
1889
|
+
base: boolean;
|
|
1890
|
+
id: GeneratedCommonLocalName;
|
|
1891
|
+
label: GeneratedCommonMessageReference;
|
|
1892
|
+
order: number;
|
|
1893
|
+
previewWidth: number;
|
|
1894
|
+
}[]
|
|
1895
|
+
];
|
|
1896
|
+
};
|
|
1897
|
+
/** Studio unresolved contribution */
|
|
1898
|
+
export type GeneratedUnresolvedContribution = {
|
|
1899
|
+
affectedNodes?: GeneratedCommonStableId[];
|
|
1900
|
+
contractVersion: GeneratedCommonContractVersion;
|
|
1901
|
+
diagnostics?: GeneratedCommonDiagnostic[];
|
|
1902
|
+
kind: 'unresolved-contribution';
|
|
1903
|
+
owner?: GeneratedCommonOwnerReference;
|
|
1904
|
+
reason: 'incompatible' | 'not-installed' | 'owner-disabled' | 'owner-revoked';
|
|
1905
|
+
reference: {
|
|
1906
|
+
contribution: 'block' | 'command' | 'design-vocabulary' | 'field-adapter' | 'inspector' | 'locale' | 'migration' | 'panel' | 'pattern' | 'renderer-capability' | 'transform';
|
|
1907
|
+
id: GeneratedCommonQualifiedName;
|
|
1908
|
+
version: GeneratedCommonSemanticVersion;
|
|
1909
|
+
};
|
|
1910
|
+
};
|
|
1911
|
+
export interface GeneratedProtocolModelMap {
|
|
1912
|
+
readonly 'authoring-message-catalog.schema.json': GeneratedAuthoringMessageCatalog;
|
|
1913
|
+
readonly 'authoring-web-vector.schema.json': GeneratedAuthoringWebVector;
|
|
1914
|
+
readonly 'binding-projection-vector.schema.json': GeneratedBindingProjectionVector;
|
|
1915
|
+
readonly 'block-definition.schema.json': GeneratedBlockDefinition;
|
|
1916
|
+
readonly 'blueprint.schema.json': GeneratedBlueprint;
|
|
1917
|
+
readonly 'canonical-vector.schema.json': GeneratedCanonicalVector;
|
|
1918
|
+
readonly 'command-vector.schema.json': GeneratedCommandVector;
|
|
1919
|
+
readonly 'command.schema.json': GeneratedCommand;
|
|
1920
|
+
readonly 'common.schema.json': GeneratedCommon;
|
|
1921
|
+
readonly 'content-model.schema.json': GeneratedContentModel;
|
|
1922
|
+
readonly 'corpus-manifest.schema.json': GeneratedCorpusManifest;
|
|
1923
|
+
readonly 'design-vocabulary.schema.json': GeneratedDesignVocabulary;
|
|
1924
|
+
readonly 'entry.schema.json': GeneratedEntry;
|
|
1925
|
+
readonly 'field-adapter.schema.json': GeneratedFieldAdapter;
|
|
1926
|
+
readonly 'host-capabilities.schema.json': GeneratedHostCapabilities;
|
|
1927
|
+
readonly 'host-error.schema.json': GeneratedHostError;
|
|
1928
|
+
readonly 'host-operations.schema.json': GeneratedHostOperations;
|
|
1929
|
+
readonly 'host-request.schema.json': GeneratedHostRequest;
|
|
1930
|
+
readonly 'host-result.schema.json': GeneratedHostResult;
|
|
1931
|
+
readonly 'host-sequence-vector.schema.json': GeneratedHostSequenceVector;
|
|
1932
|
+
readonly 'host-vector.schema.json': GeneratedHostVector;
|
|
1933
|
+
readonly 'inspector.schema.json': GeneratedInspector;
|
|
1934
|
+
readonly 'media-asset.schema.json': GeneratedMediaAsset;
|
|
1935
|
+
readonly 'media-reference.schema.json': GeneratedMediaReference;
|
|
1936
|
+
readonly 'media-upload-grant.schema.json': GeneratedMediaUploadGrant;
|
|
1937
|
+
readonly 'media-upload-session.schema.json': GeneratedMediaUploadSession;
|
|
1938
|
+
readonly 'media-vector.schema.json': GeneratedMediaVector;
|
|
1939
|
+
readonly 'migration.schema.json': GeneratedMigration;
|
|
1940
|
+
readonly 'pattern.schema.json': GeneratedPattern;
|
|
1941
|
+
readonly 'plugin-manifest.schema.json': GeneratedPluginManifest;
|
|
1942
|
+
readonly 'preview-message.schema.json': GeneratedPreviewMessage;
|
|
1943
|
+
readonly 'preview-vector.schema.json': GeneratedPreviewVector;
|
|
1944
|
+
readonly 'provenance.schema.json': GeneratedProvenance;
|
|
1945
|
+
readonly 'renderer-web-vector.schema.json': GeneratedRendererWebVector;
|
|
1946
|
+
readonly 'rich-text-projection.schema.json': GeneratedRichTextProjection;
|
|
1947
|
+
readonly 'rich-text.schema.json': GeneratedRichText;
|
|
1948
|
+
readonly 'schema-profile-vector.schema.json': GeneratedSchemaProfileVector;
|
|
1949
|
+
readonly 'schema-profile.schema.json': GeneratedSchemaProfile;
|
|
1950
|
+
readonly 'studio-chart.schema.json': GeneratedStudioChart;
|
|
1951
|
+
readonly 'studio-config.schema.json': GeneratedStudioConfig;
|
|
1952
|
+
readonly 'studio-drawing.schema.json': GeneratedStudioDrawing;
|
|
1953
|
+
readonly 'studio-money.schema.json': GeneratedStudioMoney;
|
|
1954
|
+
readonly 'studio-presentation.schema.json': GeneratedStudioPresentation;
|
|
1955
|
+
readonly 'studio-release.schema.json': GeneratedStudioRelease;
|
|
1956
|
+
readonly 'studio-table.schema.json': GeneratedStudioTable;
|
|
1957
|
+
readonly 'theme.schema.json': GeneratedTheme;
|
|
1958
|
+
readonly 'unresolved-contribution.schema.json': GeneratedUnresolvedContribution;
|
|
1959
|
+
}
|
|
1960
|
+
export type GeneratedProtocolSchemaFile = keyof GeneratedProtocolModelMap;
|
|
1961
|
+
export type GeneratedProtocolModel = GeneratedProtocolModelMap[GeneratedProtocolSchemaFile];
|
|
1962
|
+
export declare const GENERATED_PROTOCOL_SCHEMA_FILES: readonly GeneratedProtocolSchemaFile[];
|
|
1963
|
+
/**
|
|
1964
|
+
* Exercises the serialization boundary for data already accepted by the named JSON Schema.
|
|
1965
|
+
* This function deliberately performs no validation: schemas and semantic conformance remain authoritative.
|
|
1966
|
+
*/
|
|
1967
|
+
export declare function roundTripGeneratedProtocolModel<SchemaFile extends GeneratedProtocolSchemaFile>(schemaFile: SchemaFile, value: GeneratedProtocolModelMap[SchemaFile]): GeneratedProtocolModelMap[SchemaFile];
|
|
1968
|
+
//# sourceMappingURL=schema-models.d.ts.map
|