@cohesivesystems/presentation-contracts 0.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +55 -0
- package/dist/generated/cohesive.constants.generated.d.ts +117 -0
- package/dist/generated/cohesive.constants.generated.d.ts.map +1 -0
- package/dist/generated/cohesive.constants.generated.js +118 -0
- package/dist/generated/cohesive.constants.generated.js.map +1 -0
- package/dist/generated/cohesive.shapes.generated.d.ts +2469 -0
- package/dist/generated/cohesive.shapes.generated.d.ts.map +1 -0
- package/dist/generated/cohesive.shapes.generated.js +1606 -0
- package/dist/generated/cohesive.shapes.generated.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/package.json +52 -0
- package/src/generated/cohesive.constants.generated.ts +127 -0
- package/src/generated/cohesive.shapes.generated.ts +3656 -0
- package/src/index.ts +2 -0
|
@@ -0,0 +1,3656 @@
|
|
|
1
|
+
/* <auto-generated/> */
|
|
2
|
+
|
|
3
|
+
export type ActionKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
4
|
+
|
|
5
|
+
export const actionKinds = {
|
|
6
|
+
transitionAction: 0,
|
|
7
|
+
relationAction: 1,
|
|
8
|
+
localStateAction: 2,
|
|
9
|
+
promptAction: 3,
|
|
10
|
+
flowAction: 4,
|
|
11
|
+
navigationAction: 5,
|
|
12
|
+
externalAction: 6,
|
|
13
|
+
effectAction: 7,
|
|
14
|
+
compositeAction: 8,
|
|
15
|
+
noOpAction: 9,
|
|
16
|
+
processStartAction: 10,
|
|
17
|
+
} as const satisfies Record<string, ActionKind>;
|
|
18
|
+
|
|
19
|
+
export const actionKindLabels: Record<ActionKind, string> = {
|
|
20
|
+
0: 'TransitionAction',
|
|
21
|
+
1: 'RelationAction',
|
|
22
|
+
2: 'LocalStateAction',
|
|
23
|
+
3: 'PromptAction',
|
|
24
|
+
4: 'FlowAction',
|
|
25
|
+
5: 'NavigationAction',
|
|
26
|
+
6: 'ExternalAction',
|
|
27
|
+
7: 'EffectAction',
|
|
28
|
+
8: 'CompositeAction',
|
|
29
|
+
9: 'NoOpAction',
|
|
30
|
+
10: 'ProcessStartAction',
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type ActionScopeKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
34
|
+
|
|
35
|
+
export const actionScopeKinds = {
|
|
36
|
+
global: 0,
|
|
37
|
+
page: 1,
|
|
38
|
+
view: 2,
|
|
39
|
+
collection: 3,
|
|
40
|
+
row: 4,
|
|
41
|
+
entity: 5,
|
|
42
|
+
flow: 6,
|
|
43
|
+
field: 7,
|
|
44
|
+
selection: 8,
|
|
45
|
+
system: 9,
|
|
46
|
+
} as const satisfies Record<string, ActionScopeKind>;
|
|
47
|
+
|
|
48
|
+
export const actionScopeKindLabels: Record<ActionScopeKind, string> = {
|
|
49
|
+
0: 'Global',
|
|
50
|
+
1: 'Page',
|
|
51
|
+
2: 'View',
|
|
52
|
+
3: 'Collection',
|
|
53
|
+
4: 'Row',
|
|
54
|
+
5: 'Entity',
|
|
55
|
+
6: 'Flow',
|
|
56
|
+
7: 'Field',
|
|
57
|
+
8: 'Selection',
|
|
58
|
+
9: 'System',
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export type ActionEnablementCriterionKind = 0 | 1 | 2 | 3;
|
|
62
|
+
|
|
63
|
+
export const actionEnablementCriterionKinds = {
|
|
64
|
+
noActiveProcessTask: 0,
|
|
65
|
+
localDocumentClean: 1,
|
|
66
|
+
localDocumentValid: 2,
|
|
67
|
+
noPendingAction: 3,
|
|
68
|
+
} as const satisfies Record<string, ActionEnablementCriterionKind>;
|
|
69
|
+
|
|
70
|
+
export const actionEnablementCriterionKindLabels: Record<ActionEnablementCriterionKind, string> = {
|
|
71
|
+
0: 'NoActiveProcessTask',
|
|
72
|
+
1: 'LocalDocumentClean',
|
|
73
|
+
2: 'LocalDocumentValid',
|
|
74
|
+
3: 'NoPendingAction',
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
export type ActionExecutionMode = 0 | 1 | 2 | 3 | 4 | 5;
|
|
78
|
+
|
|
79
|
+
export const actionExecutionModes = {
|
|
80
|
+
local: 0,
|
|
81
|
+
immediate: 1,
|
|
82
|
+
requestAcknowledgePoll: 2,
|
|
83
|
+
optimistic: 3,
|
|
84
|
+
background: 4,
|
|
85
|
+
deferred: 5,
|
|
86
|
+
} as const satisfies Record<string, ActionExecutionMode>;
|
|
87
|
+
|
|
88
|
+
export const actionExecutionModeLabels: Record<ActionExecutionMode, string> = {
|
|
89
|
+
0: 'Local',
|
|
90
|
+
1: 'Immediate',
|
|
91
|
+
2: 'RequestAcknowledgePoll',
|
|
92
|
+
3: 'Optimistic',
|
|
93
|
+
4: 'Background',
|
|
94
|
+
5: 'Deferred',
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export type PreparationKind = 0 | 1 | 2 | 3;
|
|
98
|
+
|
|
99
|
+
export const preparationKinds = {
|
|
100
|
+
none: 0,
|
|
101
|
+
prompt: 1,
|
|
102
|
+
previewFlow: 2,
|
|
103
|
+
confirmation: 3,
|
|
104
|
+
} as const satisfies Record<string, PreparationKind>;
|
|
105
|
+
|
|
106
|
+
export const preparationKindLabels: Record<PreparationKind, string> = {
|
|
107
|
+
0: 'None',
|
|
108
|
+
1: 'Prompt',
|
|
109
|
+
2: 'PreviewFlow',
|
|
110
|
+
3: 'Confirmation',
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
export type ActionResultStateWriteMode = 0 | 1 | 2 | 3;
|
|
114
|
+
|
|
115
|
+
export const actionResultStateWriteModes = {
|
|
116
|
+
replace: 0,
|
|
117
|
+
merge: 1,
|
|
118
|
+
append: 2,
|
|
119
|
+
clear: 3,
|
|
120
|
+
} as const satisfies Record<string, ActionResultStateWriteMode>;
|
|
121
|
+
|
|
122
|
+
export const actionResultStateWriteModeLabels: Record<ActionResultStateWriteMode, string> = {
|
|
123
|
+
0: 'Replace',
|
|
124
|
+
1: 'Merge',
|
|
125
|
+
2: 'Append',
|
|
126
|
+
3: 'Clear',
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
export type ActionSemanticsKind = 0 | 1;
|
|
130
|
+
|
|
131
|
+
export const actionSemanticsKinds = {
|
|
132
|
+
localDocumentEditor: 0,
|
|
133
|
+
documentWorkspace: 1,
|
|
134
|
+
} as const satisfies Record<string, ActionSemanticsKind>;
|
|
135
|
+
|
|
136
|
+
export const actionSemanticsKindLabels: Record<ActionSemanticsKind, string> = {
|
|
137
|
+
0: 'LocalDocumentEditor',
|
|
138
|
+
1: 'DocumentWorkspace',
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
export type CachePolicyKind = 0 | 1 | 2 | 3 | 4;
|
|
142
|
+
|
|
143
|
+
export const cachePolicyKinds = {
|
|
144
|
+
none: 0,
|
|
145
|
+
reactQuery: 1,
|
|
146
|
+
staleWhileRevalidate: 2,
|
|
147
|
+
session: 3,
|
|
148
|
+
memory: 4,
|
|
149
|
+
} as const satisfies Record<string, CachePolicyKind>;
|
|
150
|
+
|
|
151
|
+
export const cachePolicyKindLabels: Record<CachePolicyKind, string> = {
|
|
152
|
+
0: 'None',
|
|
153
|
+
1: 'ReactQuery',
|
|
154
|
+
2: 'StaleWhileRevalidate',
|
|
155
|
+
3: 'Session',
|
|
156
|
+
4: 'Memory',
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
export type CollectionChromeSlotKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
160
|
+
|
|
161
|
+
export const collectionChromeSlotKinds = {
|
|
162
|
+
queryForm: 0,
|
|
163
|
+
pagination: 1,
|
|
164
|
+
selectionActions: 2,
|
|
165
|
+
rowActions: 3,
|
|
166
|
+
detail: 4,
|
|
167
|
+
summary: 5,
|
|
168
|
+
custom: 6,
|
|
169
|
+
body: 7,
|
|
170
|
+
} as const satisfies Record<string, CollectionChromeSlotKind>;
|
|
171
|
+
|
|
172
|
+
export const collectionChromeSlotKindLabels: Record<CollectionChromeSlotKind, string> = {
|
|
173
|
+
0: 'QueryForm',
|
|
174
|
+
1: 'Pagination',
|
|
175
|
+
2: 'SelectionActions',
|
|
176
|
+
3: 'RowActions',
|
|
177
|
+
4: 'Detail',
|
|
178
|
+
5: 'Summary',
|
|
179
|
+
6: 'Custom',
|
|
180
|
+
7: 'Body',
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
export type CollectionChromeSlotPlacement = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
184
|
+
|
|
185
|
+
export const collectionChromeSlotPlacements = {
|
|
186
|
+
none: 0,
|
|
187
|
+
header: 1,
|
|
188
|
+
toolbar: 2,
|
|
189
|
+
above: 3,
|
|
190
|
+
inline: 4,
|
|
191
|
+
footer: 5,
|
|
192
|
+
sidePanel: 6,
|
|
193
|
+
drawer: 7,
|
|
194
|
+
} as const satisfies Record<string, CollectionChromeSlotPlacement>;
|
|
195
|
+
|
|
196
|
+
export const collectionChromeSlotPlacementLabels: Record<CollectionChromeSlotPlacement, string> = {
|
|
197
|
+
0: 'None',
|
|
198
|
+
1: 'Header',
|
|
199
|
+
2: 'Toolbar',
|
|
200
|
+
3: 'Above',
|
|
201
|
+
4: 'Inline',
|
|
202
|
+
5: 'Footer',
|
|
203
|
+
6: 'SidePanel',
|
|
204
|
+
7: 'Drawer',
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
export type CollectionSelectionMode = 0 | 1 | 2;
|
|
208
|
+
|
|
209
|
+
export const collectionSelectionModes = {
|
|
210
|
+
none: 0,
|
|
211
|
+
single: 1,
|
|
212
|
+
multiple: 2,
|
|
213
|
+
} as const satisfies Record<string, CollectionSelectionMode>;
|
|
214
|
+
|
|
215
|
+
export const collectionSelectionModeLabels: Record<CollectionSelectionMode, string> = {
|
|
216
|
+
0: 'None',
|
|
217
|
+
1: 'Single',
|
|
218
|
+
2: 'Multiple',
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
export type CollectionDetailActivation = 0 | 1 | 2 | 3;
|
|
222
|
+
|
|
223
|
+
export const collectionDetailActivations = {
|
|
224
|
+
none: 0,
|
|
225
|
+
selection: 1,
|
|
226
|
+
rowActivation: 2,
|
|
227
|
+
hover: 3,
|
|
228
|
+
} as const satisfies Record<string, CollectionDetailActivation>;
|
|
229
|
+
|
|
230
|
+
export const collectionDetailActivationLabels: Record<CollectionDetailActivation, string> = {
|
|
231
|
+
0: 'None',
|
|
232
|
+
1: 'Selection',
|
|
233
|
+
2: 'RowActivation',
|
|
234
|
+
3: 'Hover',
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
export type CollectionRowActionKind = 0 | 1;
|
|
238
|
+
|
|
239
|
+
export const collectionRowActionKinds = {
|
|
240
|
+
primary: 0,
|
|
241
|
+
contextMenu: 1,
|
|
242
|
+
} as const satisfies Record<string, CollectionRowActionKind>;
|
|
243
|
+
|
|
244
|
+
export const collectionRowActionKindLabels: Record<CollectionRowActionKind, string> = {
|
|
245
|
+
0: 'Primary',
|
|
246
|
+
1: 'ContextMenu',
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
export type CollectionSelectionActionParameterSource = 0 | 1 | 2 | 3 | 4;
|
|
250
|
+
|
|
251
|
+
export const collectionSelectionActionParameterSources = {
|
|
252
|
+
selectedRowIdentity: 0,
|
|
253
|
+
selectedRowIdentityList: 1,
|
|
254
|
+
selectedRowValue: 2,
|
|
255
|
+
selectedRowValueList: 3,
|
|
256
|
+
selectionCount: 4,
|
|
257
|
+
} as const satisfies Record<string, CollectionSelectionActionParameterSource>;
|
|
258
|
+
|
|
259
|
+
export const collectionSelectionActionParameterSourceLabels: Record<CollectionSelectionActionParameterSource, string> = {
|
|
260
|
+
0: 'SelectedRowIdentity',
|
|
261
|
+
1: 'SelectedRowIdentityList',
|
|
262
|
+
2: 'SelectedRowValue',
|
|
263
|
+
3: 'SelectedRowValueList',
|
|
264
|
+
4: 'SelectionCount',
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
export type CoordinationActionKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
268
|
+
|
|
269
|
+
export const coordinationActionKinds = {
|
|
270
|
+
setSemanticSelection: 0,
|
|
271
|
+
revealSemanticSelection: 1,
|
|
272
|
+
highlightSemanticSelection: 2,
|
|
273
|
+
syncCursor: 3,
|
|
274
|
+
syncExpanded: 4,
|
|
275
|
+
syncValidationMarkers: 5,
|
|
276
|
+
syncSearchResults: 6,
|
|
277
|
+
setFocus: 7,
|
|
278
|
+
} as const satisfies Record<string, CoordinationActionKind>;
|
|
279
|
+
|
|
280
|
+
export const coordinationActionKindLabels: Record<CoordinationActionKind, string> = {
|
|
281
|
+
0: 'SetSemanticSelection',
|
|
282
|
+
1: 'RevealSemanticSelection',
|
|
283
|
+
2: 'HighlightSemanticSelection',
|
|
284
|
+
3: 'SyncCursor',
|
|
285
|
+
4: 'SyncExpanded',
|
|
286
|
+
5: 'SyncValidationMarkers',
|
|
287
|
+
6: 'SyncSearchResults',
|
|
288
|
+
7: 'SetFocus',
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
export type CoordinationTriggerKind = 0 | 1 | 2 | 3 | 4 | 5;
|
|
292
|
+
|
|
293
|
+
export const coordinationTriggerKinds = {
|
|
294
|
+
selectionChanged: 0,
|
|
295
|
+
cursorChanged: 1,
|
|
296
|
+
expandedChanged: 2,
|
|
297
|
+
validationChanged: 3,
|
|
298
|
+
searchChanged: 4,
|
|
299
|
+
focusChanged: 5,
|
|
300
|
+
} as const satisfies Record<string, CoordinationTriggerKind>;
|
|
301
|
+
|
|
302
|
+
export const coordinationTriggerKindLabels: Record<CoordinationTriggerKind, string> = {
|
|
303
|
+
0: 'SelectionChanged',
|
|
304
|
+
1: 'CursorChanged',
|
|
305
|
+
2: 'ExpandedChanged',
|
|
306
|
+
3: 'ValidationChanged',
|
|
307
|
+
4: 'SearchChanged',
|
|
308
|
+
5: 'FocusChanged',
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
export type DataSourceAggregateMaterializationKind = 0 | 1;
|
|
312
|
+
|
|
313
|
+
export const dataSourceAggregateMaterializationKinds = {
|
|
314
|
+
currentPage: 0,
|
|
315
|
+
allPages: 1,
|
|
316
|
+
} as const satisfies Record<string, DataSourceAggregateMaterializationKind>;
|
|
317
|
+
|
|
318
|
+
export const dataSourceAggregateMaterializationKindLabels: Record<DataSourceAggregateMaterializationKind, string> = {
|
|
319
|
+
0: 'CurrentPage',
|
|
320
|
+
1: 'AllPages',
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
export type AggregateOperator = 0 | 1 | 2 | 3 | 4 | 5;
|
|
324
|
+
|
|
325
|
+
export const aggregateOperators = {
|
|
326
|
+
count: 0,
|
|
327
|
+
sum: 1,
|
|
328
|
+
min: 2,
|
|
329
|
+
max: 3,
|
|
330
|
+
any: 4,
|
|
331
|
+
all: 5,
|
|
332
|
+
} as const satisfies Record<string, AggregateOperator>;
|
|
333
|
+
|
|
334
|
+
export const aggregateOperatorLabels: Record<AggregateOperator, string> = {
|
|
335
|
+
0: 'Count',
|
|
336
|
+
1: 'Sum',
|
|
337
|
+
2: 'Min',
|
|
338
|
+
3: 'Max',
|
|
339
|
+
4: 'Any',
|
|
340
|
+
5: 'All',
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
export interface FieldPath {
|
|
344
|
+
Segments: FieldPathSegment[];
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export type DataSourceAggregatePredicateKind = 0 | 1 | 2 | 3 | 4 | 5;
|
|
348
|
+
|
|
349
|
+
export const dataSourceAggregatePredicateKinds = {
|
|
350
|
+
fieldEquals: 0,
|
|
351
|
+
fieldNotEquals: 1,
|
|
352
|
+
fieldHasValue: 2,
|
|
353
|
+
and: 3,
|
|
354
|
+
or: 4,
|
|
355
|
+
not: 5,
|
|
356
|
+
} as const satisfies Record<string, DataSourceAggregatePredicateKind>;
|
|
357
|
+
|
|
358
|
+
export const dataSourceAggregatePredicateKindLabels: Record<DataSourceAggregatePredicateKind, string> = {
|
|
359
|
+
0: 'FieldEquals',
|
|
360
|
+
1: 'FieldNotEquals',
|
|
361
|
+
2: 'FieldHasValue',
|
|
362
|
+
3: 'And',
|
|
363
|
+
4: 'Or',
|
|
364
|
+
5: 'Not',
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
export type DataSourceKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14;
|
|
368
|
+
|
|
369
|
+
export const dataSourceKinds = {
|
|
370
|
+
entityById: 0,
|
|
371
|
+
relationQuery: 1,
|
|
372
|
+
collectionQuery: 2,
|
|
373
|
+
searchQuery: 3,
|
|
374
|
+
aggregateQuery: 4,
|
|
375
|
+
effectStream: 5,
|
|
376
|
+
localState: 6,
|
|
377
|
+
remoteApi: 7,
|
|
378
|
+
staticReferenceData: 8,
|
|
379
|
+
promptInput: 9,
|
|
380
|
+
selectionDerived: 10,
|
|
381
|
+
navigation: 11,
|
|
382
|
+
module: 12,
|
|
383
|
+
entityMetadata: 13,
|
|
384
|
+
promptPreview: 14,
|
|
385
|
+
} as const satisfies Record<string, DataSourceKind>;
|
|
386
|
+
|
|
387
|
+
export const dataSourceKindLabels: Record<DataSourceKind, string> = {
|
|
388
|
+
0: 'EntityById',
|
|
389
|
+
1: 'RelationQuery',
|
|
390
|
+
2: 'CollectionQuery',
|
|
391
|
+
3: 'SearchQuery',
|
|
392
|
+
4: 'AggregateQuery',
|
|
393
|
+
5: 'EffectStream',
|
|
394
|
+
6: 'LocalState',
|
|
395
|
+
7: 'RemoteApi',
|
|
396
|
+
8: 'StaticReferenceData',
|
|
397
|
+
9: 'PromptInput',
|
|
398
|
+
10: 'SelectionDerived',
|
|
399
|
+
11: 'Navigation',
|
|
400
|
+
12: 'Module',
|
|
401
|
+
13: 'EntityMetadata',
|
|
402
|
+
14: 'PromptPreview',
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
export type ResidencyHint = 0 | 1 | 2 | 3;
|
|
406
|
+
|
|
407
|
+
export const residencyHints = {
|
|
408
|
+
server: 0,
|
|
409
|
+
client: 1,
|
|
410
|
+
hybrid: 2,
|
|
411
|
+
replicated: 3,
|
|
412
|
+
} as const satisfies Record<string, ResidencyHint>;
|
|
413
|
+
|
|
414
|
+
export const residencyHintLabels: Record<ResidencyHint, string> = {
|
|
415
|
+
0: 'Server',
|
|
416
|
+
1: 'Client',
|
|
417
|
+
2: 'Hybrid',
|
|
418
|
+
3: 'Replicated',
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
export type DataSourcePaginationKind = 0 | 1 | 2;
|
|
422
|
+
|
|
423
|
+
export const dataSourcePaginationKinds = {
|
|
424
|
+
cursor: 0,
|
|
425
|
+
offset: 1,
|
|
426
|
+
pageNumber: 2,
|
|
427
|
+
} as const satisfies Record<string, DataSourcePaginationKind>;
|
|
428
|
+
|
|
429
|
+
export const dataSourcePaginationKindLabels: Record<DataSourcePaginationKind, string> = {
|
|
430
|
+
0: 'Cursor',
|
|
431
|
+
1: 'Offset',
|
|
432
|
+
2: 'PageNumber',
|
|
433
|
+
};
|
|
434
|
+
|
|
435
|
+
export type DesignSystemKind = 0 | 1 | 2 | 3;
|
|
436
|
+
|
|
437
|
+
export const designSystemKinds = {
|
|
438
|
+
reactComponentStack: 0,
|
|
439
|
+
webComponentStack: 1,
|
|
440
|
+
cssFramework: 2,
|
|
441
|
+
nativeComponentStack: 3,
|
|
442
|
+
} as const satisfies Record<string, DesignSystemKind>;
|
|
443
|
+
|
|
444
|
+
export const designSystemKindLabels: Record<DesignSystemKind, string> = {
|
|
445
|
+
0: 'ReactComponentStack',
|
|
446
|
+
1: 'WebComponentStack',
|
|
447
|
+
2: 'CssFramework',
|
|
448
|
+
3: 'NativeComponentStack',
|
|
449
|
+
};
|
|
450
|
+
|
|
451
|
+
export type DocumentActionStatusNoticeKind = 0;
|
|
452
|
+
|
|
453
|
+
export const documentActionStatusNoticeKinds = {
|
|
454
|
+
error: 0,
|
|
455
|
+
} as const satisfies Record<string, DocumentActionStatusNoticeKind>;
|
|
456
|
+
|
|
457
|
+
export const documentActionStatusNoticeKindLabels: Record<DocumentActionStatusNoticeKind, string> = {
|
|
458
|
+
0: 'Error',
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
export type DocumentAddressKind = 0 | 1;
|
|
462
|
+
|
|
463
|
+
export const documentAddressKinds = {
|
|
464
|
+
jsonPointer: 0,
|
|
465
|
+
uri: 1,
|
|
466
|
+
} as const satisfies Record<string, DocumentAddressKind>;
|
|
467
|
+
|
|
468
|
+
export const documentAddressKindLabels: Record<DocumentAddressKind, string> = {
|
|
469
|
+
0: 'JsonPointer',
|
|
470
|
+
1: 'Uri',
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
export type DocumentDataSourceRole = 0 | 1 | 2 | 3 | 4 | 5;
|
|
474
|
+
|
|
475
|
+
export const documentDataSourceRoles = {
|
|
476
|
+
resource: 0,
|
|
477
|
+
metadata: 1,
|
|
478
|
+
summary: 2,
|
|
479
|
+
workingDocument: 3,
|
|
480
|
+
validation: 4,
|
|
481
|
+
processTask: 5,
|
|
482
|
+
} as const satisfies Record<string, DocumentDataSourceRole>;
|
|
483
|
+
|
|
484
|
+
export const documentDataSourceRoleLabels: Record<DocumentDataSourceRole, string> = {
|
|
485
|
+
0: 'Resource',
|
|
486
|
+
1: 'Metadata',
|
|
487
|
+
2: 'Summary',
|
|
488
|
+
3: 'WorkingDocument',
|
|
489
|
+
4: 'Validation',
|
|
490
|
+
5: 'ProcessTask',
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
export type DocumentProcessTaskNoticeActionTargetKind = 0 | 1 | 2;
|
|
494
|
+
|
|
495
|
+
export const documentProcessTaskNoticeActionTargetKinds = {
|
|
496
|
+
details: 0,
|
|
497
|
+
target: 1,
|
|
498
|
+
source: 2,
|
|
499
|
+
} as const satisfies Record<string, DocumentProcessTaskNoticeActionTargetKind>;
|
|
500
|
+
|
|
501
|
+
export const documentProcessTaskNoticeActionTargetKindLabels: Record<DocumentProcessTaskNoticeActionTargetKind, string> = {
|
|
502
|
+
0: 'Details',
|
|
503
|
+
1: 'Target',
|
|
504
|
+
2: 'Source',
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
export type DocumentKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
508
|
+
|
|
509
|
+
export const documentKinds = {
|
|
510
|
+
ediSpec: 0,
|
|
511
|
+
shapeGraph: 1,
|
|
512
|
+
jsonDocument: 2,
|
|
513
|
+
ontology: 3,
|
|
514
|
+
transitionGraph: 4,
|
|
515
|
+
presentationIr: 5,
|
|
516
|
+
trainingExample: 6,
|
|
517
|
+
fixSpec: 7,
|
|
518
|
+
} as const satisfies Record<string, DocumentKind>;
|
|
519
|
+
|
|
520
|
+
export const documentKindLabels: Record<DocumentKind, string> = {
|
|
521
|
+
0: 'EdiSpec',
|
|
522
|
+
1: 'ShapeGraph',
|
|
523
|
+
2: 'JsonDocument',
|
|
524
|
+
3: 'Ontology',
|
|
525
|
+
4: 'TransitionGraph',
|
|
526
|
+
5: 'PresentationIr',
|
|
527
|
+
6: 'TrainingExample',
|
|
528
|
+
7: 'FixSpec',
|
|
529
|
+
};
|
|
530
|
+
|
|
531
|
+
export type DocumentWorkspaceActionKind = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
532
|
+
|
|
533
|
+
export const documentWorkspaceActionKinds = {
|
|
534
|
+
saveReview: 0,
|
|
535
|
+
saveCommit: 1,
|
|
536
|
+
saveCancel: 2,
|
|
537
|
+
saveRevert: 3,
|
|
538
|
+
processPreview: 4,
|
|
539
|
+
processStart: 5,
|
|
540
|
+
processCancel: 6,
|
|
541
|
+
} as const satisfies Record<string, DocumentWorkspaceActionKind>;
|
|
542
|
+
|
|
543
|
+
export const documentWorkspaceActionKindLabels: Record<DocumentWorkspaceActionKind, string> = {
|
|
544
|
+
0: 'SaveReview',
|
|
545
|
+
1: 'SaveCommit',
|
|
546
|
+
2: 'SaveCancel',
|
|
547
|
+
3: 'SaveRevert',
|
|
548
|
+
4: 'ProcessPreview',
|
|
549
|
+
5: 'ProcessStart',
|
|
550
|
+
6: 'ProcessCancel',
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
export type DocumentWorkspaceSurfaceSlotRole = 0 | 1 | 2 | 3;
|
|
554
|
+
|
|
555
|
+
export const documentWorkspaceSurfaceSlotRoles = {
|
|
556
|
+
header: 0,
|
|
557
|
+
primarySurface: 1,
|
|
558
|
+
auxiliary: 2,
|
|
559
|
+
custom: 3,
|
|
560
|
+
} as const satisfies Record<string, DocumentWorkspaceSurfaceSlotRole>;
|
|
561
|
+
|
|
562
|
+
export const documentWorkspaceSurfaceSlotRoleLabels: Record<DocumentWorkspaceSurfaceSlotRole, string> = {
|
|
563
|
+
0: 'Header',
|
|
564
|
+
1: 'PrimarySurface',
|
|
565
|
+
2: 'Auxiliary',
|
|
566
|
+
3: 'Custom',
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
export type ViewRegionKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22;
|
|
570
|
+
|
|
571
|
+
export const viewRegionKinds = {
|
|
572
|
+
content: 0,
|
|
573
|
+
primary: 1,
|
|
574
|
+
header: 2,
|
|
575
|
+
toolbar: 3,
|
|
576
|
+
footer: 4,
|
|
577
|
+
sidebar: 5,
|
|
578
|
+
tab: 6,
|
|
579
|
+
list: 7,
|
|
580
|
+
collection: 8,
|
|
581
|
+
recordDetail: 9,
|
|
582
|
+
detail: 10,
|
|
583
|
+
statusList: 11,
|
|
584
|
+
form: 12,
|
|
585
|
+
modal: 13,
|
|
586
|
+
panel: 14,
|
|
587
|
+
drawer: 15,
|
|
588
|
+
inspector: 16,
|
|
589
|
+
splitPane: 17,
|
|
590
|
+
surface: 18,
|
|
591
|
+
badgeStrip: 19,
|
|
592
|
+
metricStrip: 20,
|
|
593
|
+
viewSwitch: 21,
|
|
594
|
+
componentHost: 22,
|
|
595
|
+
} as const satisfies Record<string, ViewRegionKind>;
|
|
596
|
+
|
|
597
|
+
export const viewRegionKindLabels: Record<ViewRegionKind, string> = {
|
|
598
|
+
0: 'Content',
|
|
599
|
+
1: 'Primary',
|
|
600
|
+
2: 'Header',
|
|
601
|
+
3: 'Toolbar',
|
|
602
|
+
4: 'Footer',
|
|
603
|
+
5: 'Sidebar',
|
|
604
|
+
6: 'Tab',
|
|
605
|
+
7: 'List',
|
|
606
|
+
8: 'Collection',
|
|
607
|
+
9: 'RecordDetail',
|
|
608
|
+
10: 'Detail',
|
|
609
|
+
11: 'StatusList',
|
|
610
|
+
12: 'Form',
|
|
611
|
+
13: 'Modal',
|
|
612
|
+
14: 'Panel',
|
|
613
|
+
15: 'Drawer',
|
|
614
|
+
16: 'Inspector',
|
|
615
|
+
17: 'SplitPane',
|
|
616
|
+
18: 'Surface',
|
|
617
|
+
19: 'BadgeStrip',
|
|
618
|
+
20: 'MetricStrip',
|
|
619
|
+
21: 'ViewSwitch',
|
|
620
|
+
22: 'ComponentHost',
|
|
621
|
+
};
|
|
622
|
+
|
|
623
|
+
export type FieldEntityReferenceFallbackKind = 0 | 1 | 2;
|
|
624
|
+
|
|
625
|
+
export const fieldEntityReferenceFallbackKinds = {
|
|
626
|
+
code: 0,
|
|
627
|
+
badge: 1,
|
|
628
|
+
text: 2,
|
|
629
|
+
} as const satisfies Record<string, FieldEntityReferenceFallbackKind>;
|
|
630
|
+
|
|
631
|
+
export const fieldEntityReferenceFallbackKindLabels: Record<FieldEntityReferenceFallbackKind, string> = {
|
|
632
|
+
0: 'Code',
|
|
633
|
+
1: 'Badge',
|
|
634
|
+
2: 'Text',
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
export type FieldJsonDisplayMode = 0 | 1;
|
|
638
|
+
|
|
639
|
+
export const fieldJsonDisplayModes = {
|
|
640
|
+
preformatted: 0,
|
|
641
|
+
inline: 1,
|
|
642
|
+
} as const satisfies Record<string, FieldJsonDisplayMode>;
|
|
643
|
+
|
|
644
|
+
export const fieldJsonDisplayModeLabels: Record<FieldJsonDisplayMode, string> = {
|
|
645
|
+
0: 'Preformatted',
|
|
646
|
+
1: 'Inline',
|
|
647
|
+
};
|
|
648
|
+
|
|
649
|
+
export type FieldDisplayKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17;
|
|
650
|
+
|
|
651
|
+
export const fieldDisplayKinds = {
|
|
652
|
+
text: 0,
|
|
653
|
+
number: 1,
|
|
654
|
+
date: 2,
|
|
655
|
+
dateTime: 3,
|
|
656
|
+
currency: 4,
|
|
657
|
+
badge: 5,
|
|
658
|
+
status: 6,
|
|
659
|
+
link: 7,
|
|
660
|
+
entityReference: 8,
|
|
661
|
+
code: 9,
|
|
662
|
+
markdown: 10,
|
|
663
|
+
json: 11,
|
|
664
|
+
diff: 12,
|
|
665
|
+
sparkline: 13,
|
|
666
|
+
metric: 14,
|
|
667
|
+
avatar: 15,
|
|
668
|
+
boolean: 16,
|
|
669
|
+
choice: 17,
|
|
670
|
+
} as const satisfies Record<string, FieldDisplayKind>;
|
|
671
|
+
|
|
672
|
+
export const fieldDisplayKindLabels: Record<FieldDisplayKind, string> = {
|
|
673
|
+
0: 'Text',
|
|
674
|
+
1: 'Number',
|
|
675
|
+
2: 'Date',
|
|
676
|
+
3: 'DateTime',
|
|
677
|
+
4: 'Currency',
|
|
678
|
+
5: 'Badge',
|
|
679
|
+
6: 'Status',
|
|
680
|
+
7: 'Link',
|
|
681
|
+
8: 'EntityReference',
|
|
682
|
+
9: 'Code',
|
|
683
|
+
10: 'Markdown',
|
|
684
|
+
11: 'Json',
|
|
685
|
+
12: 'Diff',
|
|
686
|
+
13: 'Sparkline',
|
|
687
|
+
14: 'Metric',
|
|
688
|
+
15: 'Avatar',
|
|
689
|
+
16: 'Boolean',
|
|
690
|
+
17: 'Choice',
|
|
691
|
+
};
|
|
692
|
+
|
|
693
|
+
export type FieldEditKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14;
|
|
694
|
+
|
|
695
|
+
export const fieldEditKinds = {
|
|
696
|
+
readOnly: 0,
|
|
697
|
+
text: 1,
|
|
698
|
+
number: 2,
|
|
699
|
+
date: 3,
|
|
700
|
+
dateTime: 4,
|
|
701
|
+
select: 5,
|
|
702
|
+
multiSelect: 6,
|
|
703
|
+
checkbox: 7,
|
|
704
|
+
toggle: 8,
|
|
705
|
+
jsonEditor: 9,
|
|
706
|
+
codeEditor: 10,
|
|
707
|
+
markdownEditor: 11,
|
|
708
|
+
entityReference: 12,
|
|
709
|
+
choice: 13,
|
|
710
|
+
boolean: 14,
|
|
711
|
+
} as const satisfies Record<string, FieldEditKind>;
|
|
712
|
+
|
|
713
|
+
export const fieldEditKindLabels: Record<FieldEditKind, string> = {
|
|
714
|
+
0: 'ReadOnly',
|
|
715
|
+
1: 'Text',
|
|
716
|
+
2: 'Number',
|
|
717
|
+
3: 'Date',
|
|
718
|
+
4: 'DateTime',
|
|
719
|
+
5: 'Select',
|
|
720
|
+
6: 'MultiSelect',
|
|
721
|
+
7: 'Checkbox',
|
|
722
|
+
8: 'Toggle',
|
|
723
|
+
9: 'JsonEditor',
|
|
724
|
+
10: 'CodeEditor',
|
|
725
|
+
11: 'MarkdownEditor',
|
|
726
|
+
12: 'EntityReference',
|
|
727
|
+
13: 'Choice',
|
|
728
|
+
14: 'Boolean',
|
|
729
|
+
};
|
|
730
|
+
|
|
731
|
+
export type FieldValueSourceKind = 0 | 1 | 2 | 3;
|
|
732
|
+
|
|
733
|
+
export const fieldValueSourceKinds = {
|
|
734
|
+
dataSourceField: 0,
|
|
735
|
+
localAggregate: 1,
|
|
736
|
+
expression: 2,
|
|
737
|
+
localState: 3,
|
|
738
|
+
} as const satisfies Record<string, FieldValueSourceKind>;
|
|
739
|
+
|
|
740
|
+
export const fieldValueSourceKindLabels: Record<FieldValueSourceKind, string> = {
|
|
741
|
+
0: 'DataSourceField',
|
|
742
|
+
1: 'LocalAggregate',
|
|
743
|
+
2: 'Expression',
|
|
744
|
+
3: 'LocalState',
|
|
745
|
+
};
|
|
746
|
+
|
|
747
|
+
export type FieldAggregationKind = 0 | 1 | 2 | 3 | 4 | 5;
|
|
748
|
+
|
|
749
|
+
export const fieldAggregationKinds = {
|
|
750
|
+
count: 0,
|
|
751
|
+
sum: 1,
|
|
752
|
+
average: 2,
|
|
753
|
+
min: 3,
|
|
754
|
+
max: 4,
|
|
755
|
+
exists: 5,
|
|
756
|
+
} as const satisfies Record<string, FieldAggregationKind>;
|
|
757
|
+
|
|
758
|
+
export const fieldAggregationKindLabels: Record<FieldAggregationKind, string> = {
|
|
759
|
+
0: 'Count',
|
|
760
|
+
1: 'Sum',
|
|
761
|
+
2: 'Average',
|
|
762
|
+
3: 'Min',
|
|
763
|
+
4: 'Max',
|
|
764
|
+
5: 'Exists',
|
|
765
|
+
};
|
|
766
|
+
|
|
767
|
+
export type FlowStateKind = 0 | 1 | 2 | 3 | 4 | 5;
|
|
768
|
+
|
|
769
|
+
export const flowStateKinds = {
|
|
770
|
+
idle: 0,
|
|
771
|
+
pending: 1,
|
|
772
|
+
prompt: 2,
|
|
773
|
+
process: 3,
|
|
774
|
+
terminal: 4,
|
|
775
|
+
error: 5,
|
|
776
|
+
} as const satisfies Record<string, FlowStateKind>;
|
|
777
|
+
|
|
778
|
+
export const flowStateKindLabels: Record<FlowStateKind, string> = {
|
|
779
|
+
0: 'Idle',
|
|
780
|
+
1: 'Pending',
|
|
781
|
+
2: 'Prompt',
|
|
782
|
+
3: 'Process',
|
|
783
|
+
4: 'Terminal',
|
|
784
|
+
5: 'Error',
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
export type FormatKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13;
|
|
788
|
+
|
|
789
|
+
export const formatKinds = {
|
|
790
|
+
text: 0,
|
|
791
|
+
number: 1,
|
|
792
|
+
date: 2,
|
|
793
|
+
dateTime: 3,
|
|
794
|
+
time: 4,
|
|
795
|
+
currency: 5,
|
|
796
|
+
percent: 6,
|
|
797
|
+
unit: 7,
|
|
798
|
+
duration: 8,
|
|
799
|
+
relativeTime: 9,
|
|
800
|
+
json: 10,
|
|
801
|
+
markdown: 11,
|
|
802
|
+
code: 12,
|
|
803
|
+
diff: 13,
|
|
804
|
+
} as const satisfies Record<string, FormatKind>;
|
|
805
|
+
|
|
806
|
+
export const formatKindLabels: Record<FormatKind, string> = {
|
|
807
|
+
0: 'Text',
|
|
808
|
+
1: 'Number',
|
|
809
|
+
2: 'Date',
|
|
810
|
+
3: 'DateTime',
|
|
811
|
+
4: 'Time',
|
|
812
|
+
5: 'Currency',
|
|
813
|
+
6: 'Percent',
|
|
814
|
+
7: 'Unit',
|
|
815
|
+
8: 'Duration',
|
|
816
|
+
9: 'RelativeTime',
|
|
817
|
+
10: 'Json',
|
|
818
|
+
11: 'Markdown',
|
|
819
|
+
12: 'Code',
|
|
820
|
+
13: 'Diff',
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
export type InputFormChoiceSourceKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
824
|
+
|
|
825
|
+
export const inputFormChoiceSourceKinds = {
|
|
826
|
+
staticChoices: 0,
|
|
827
|
+
dataSource: 1,
|
|
828
|
+
enrichedFacts: 2,
|
|
829
|
+
entityLookup: 3,
|
|
830
|
+
relationQuery: 4,
|
|
831
|
+
ontologyTerms: 5,
|
|
832
|
+
recentValues: 6,
|
|
833
|
+
endpoint: 7,
|
|
834
|
+
derivedFromContext: 8,
|
|
835
|
+
} as const satisfies Record<string, InputFormChoiceSourceKind>;
|
|
836
|
+
|
|
837
|
+
export const inputFormChoiceSourceKindLabels: Record<InputFormChoiceSourceKind, string> = {
|
|
838
|
+
0: 'StaticChoices',
|
|
839
|
+
1: 'DataSource',
|
|
840
|
+
2: 'EnrichedFacts',
|
|
841
|
+
3: 'EntityLookup',
|
|
842
|
+
4: 'RelationQuery',
|
|
843
|
+
5: 'OntologyTerms',
|
|
844
|
+
6: 'RecentValues',
|
|
845
|
+
7: 'Endpoint',
|
|
846
|
+
8: 'DerivedFromContext',
|
|
847
|
+
};
|
|
848
|
+
|
|
849
|
+
export type InputFormChoiceDefaultSelection = 0 | 1 | 2;
|
|
850
|
+
|
|
851
|
+
export const inputFormChoiceDefaultSelections = {
|
|
852
|
+
none: 0,
|
|
853
|
+
all: 1,
|
|
854
|
+
first: 2,
|
|
855
|
+
} as const satisfies Record<string, InputFormChoiceDefaultSelection>;
|
|
856
|
+
|
|
857
|
+
export const inputFormChoiceDefaultSelectionLabels: Record<InputFormChoiceDefaultSelection, string> = {
|
|
858
|
+
0: 'None',
|
|
859
|
+
1: 'All',
|
|
860
|
+
2: 'First',
|
|
861
|
+
};
|
|
862
|
+
|
|
863
|
+
export type InputFormEnrichmentStageKind = 0 | 1 | 2 | 3 | 4 | 5;
|
|
864
|
+
|
|
865
|
+
export const inputFormEnrichmentStageKinds = {
|
|
866
|
+
normalize: 0,
|
|
867
|
+
resolveFacts: 1,
|
|
868
|
+
suggest: 2,
|
|
869
|
+
validate: 3,
|
|
870
|
+
lower: 4,
|
|
871
|
+
estimateCost: 5,
|
|
872
|
+
} as const satisfies Record<string, InputFormEnrichmentStageKind>;
|
|
873
|
+
|
|
874
|
+
export const inputFormEnrichmentStageKindLabels: Record<InputFormEnrichmentStageKind, string> = {
|
|
875
|
+
0: 'Normalize',
|
|
876
|
+
1: 'ResolveFacts',
|
|
877
|
+
2: 'Suggest',
|
|
878
|
+
3: 'Validate',
|
|
879
|
+
4: 'Lower',
|
|
880
|
+
5: 'EstimateCost',
|
|
881
|
+
};
|
|
882
|
+
|
|
883
|
+
export type InputFormFieldKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
884
|
+
|
|
885
|
+
export const inputFormFieldKinds = {
|
|
886
|
+
text: 0,
|
|
887
|
+
select: 1,
|
|
888
|
+
multiSelect: 2,
|
|
889
|
+
date: 3,
|
|
890
|
+
dateTime: 4,
|
|
891
|
+
dateTimeRange: 5,
|
|
892
|
+
number: 6,
|
|
893
|
+
numberRange: 7,
|
|
894
|
+
boolean: 8,
|
|
895
|
+
dynamicFacetRegion: 9,
|
|
896
|
+
relationProjectionEditor: 10,
|
|
897
|
+
relationPredicateEditor: 11,
|
|
898
|
+
relationAggregationEditor: 12,
|
|
899
|
+
} as const satisfies Record<string, InputFormFieldKind>;
|
|
900
|
+
|
|
901
|
+
export const inputFormFieldKindLabels: Record<InputFormFieldKind, string> = {
|
|
902
|
+
0: 'Text',
|
|
903
|
+
1: 'Select',
|
|
904
|
+
2: 'MultiSelect',
|
|
905
|
+
3: 'Date',
|
|
906
|
+
4: 'DateTime',
|
|
907
|
+
5: 'DateTimeRange',
|
|
908
|
+
6: 'Number',
|
|
909
|
+
7: 'NumberRange',
|
|
910
|
+
8: 'Boolean',
|
|
911
|
+
9: 'DynamicFacetRegion',
|
|
912
|
+
10: 'RelationProjectionEditor',
|
|
913
|
+
11: 'RelationPredicateEditor',
|
|
914
|
+
12: 'RelationAggregationEditor',
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
export type InputFormFieldControlKind = 0 | 1;
|
|
918
|
+
|
|
919
|
+
export const inputFormFieldControlKinds = {
|
|
920
|
+
default: 0,
|
|
921
|
+
dateTimeFilter: 1,
|
|
922
|
+
} as const satisfies Record<string, InputFormFieldControlKind>;
|
|
923
|
+
|
|
924
|
+
export const inputFormFieldControlKindLabels: Record<InputFormFieldControlKind, string> = {
|
|
925
|
+
0: 'Default',
|
|
926
|
+
1: 'DateTimeFilter',
|
|
927
|
+
};
|
|
928
|
+
|
|
929
|
+
export type InputFormGroupKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
930
|
+
|
|
931
|
+
export const inputFormGroupKinds = {
|
|
932
|
+
section: 0,
|
|
933
|
+
identity: 1,
|
|
934
|
+
lifecycle: 2,
|
|
935
|
+
time: 3,
|
|
936
|
+
advanced: 4,
|
|
937
|
+
review: 5,
|
|
938
|
+
step: 6,
|
|
939
|
+
toolbar: 7,
|
|
940
|
+
sidebar: 8,
|
|
941
|
+
inline: 9,
|
|
942
|
+
facetRegion: 10,
|
|
943
|
+
} as const satisfies Record<string, InputFormGroupKind>;
|
|
944
|
+
|
|
945
|
+
export const inputFormGroupKindLabels: Record<InputFormGroupKind, string> = {
|
|
946
|
+
0: 'Section',
|
|
947
|
+
1: 'Identity',
|
|
948
|
+
2: 'Lifecycle',
|
|
949
|
+
3: 'Time',
|
|
950
|
+
4: 'Advanced',
|
|
951
|
+
5: 'Review',
|
|
952
|
+
6: 'Step',
|
|
953
|
+
7: 'Toolbar',
|
|
954
|
+
8: 'Sidebar',
|
|
955
|
+
9: 'Inline',
|
|
956
|
+
10: 'FacetRegion',
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
export type InputFormGroupContainerIntent = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
960
|
+
|
|
961
|
+
export const inputFormGroupContainerIntents = {
|
|
962
|
+
inline: 0,
|
|
963
|
+
section: 1,
|
|
964
|
+
panel: 2,
|
|
965
|
+
accordion: 3,
|
|
966
|
+
tabs: 4,
|
|
967
|
+
wizardStep: 5,
|
|
968
|
+
sidebar: 6,
|
|
969
|
+
modal: 7,
|
|
970
|
+
toolbar: 8,
|
|
971
|
+
card: 9,
|
|
972
|
+
} as const satisfies Record<string, InputFormGroupContainerIntent>;
|
|
973
|
+
|
|
974
|
+
export const inputFormGroupContainerIntentLabels: Record<InputFormGroupContainerIntent, string> = {
|
|
975
|
+
0: 'Inline',
|
|
976
|
+
1: 'Section',
|
|
977
|
+
2: 'Panel',
|
|
978
|
+
3: 'Accordion',
|
|
979
|
+
4: 'Tabs',
|
|
980
|
+
5: 'WizardStep',
|
|
981
|
+
6: 'Sidebar',
|
|
982
|
+
7: 'Modal',
|
|
983
|
+
8: 'Toolbar',
|
|
984
|
+
9: 'Card',
|
|
985
|
+
};
|
|
986
|
+
|
|
987
|
+
export type InputFormSuggestionSourceKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
988
|
+
|
|
989
|
+
export const inputFormSuggestionSourceKinds = {
|
|
990
|
+
staticChoices: 0,
|
|
991
|
+
entityAutocomplete: 1,
|
|
992
|
+
relationQuery: 2,
|
|
993
|
+
ontologyTerms: 3,
|
|
994
|
+
recentValues: 4,
|
|
995
|
+
endpoint: 5,
|
|
996
|
+
derivedFromContext: 6,
|
|
997
|
+
enrichedFacts: 7,
|
|
998
|
+
} as const satisfies Record<string, InputFormSuggestionSourceKind>;
|
|
999
|
+
|
|
1000
|
+
export const inputFormSuggestionSourceKindLabels: Record<InputFormSuggestionSourceKind, string> = {
|
|
1001
|
+
0: 'StaticChoices',
|
|
1002
|
+
1: 'EntityAutocomplete',
|
|
1003
|
+
2: 'RelationQuery',
|
|
1004
|
+
3: 'OntologyTerms',
|
|
1005
|
+
4: 'RecentValues',
|
|
1006
|
+
5: 'Endpoint',
|
|
1007
|
+
6: 'DerivedFromContext',
|
|
1008
|
+
7: 'EnrichedFacts',
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
export type InputFormSuggestionWriteTarget = 0 | 1 | 2 | 3;
|
|
1012
|
+
|
|
1013
|
+
export const inputFormSuggestionWriteTargets = {
|
|
1014
|
+
draftValue: 0,
|
|
1015
|
+
facts: 1,
|
|
1016
|
+
targetInput: 2,
|
|
1017
|
+
queryFragment: 3,
|
|
1018
|
+
} as const satisfies Record<string, InputFormSuggestionWriteTarget>;
|
|
1019
|
+
|
|
1020
|
+
export const inputFormSuggestionWriteTargetLabels: Record<InputFormSuggestionWriteTarget, string> = {
|
|
1021
|
+
0: 'DraftValue',
|
|
1022
|
+
1: 'Facts',
|
|
1023
|
+
2: 'TargetInput',
|
|
1024
|
+
3: 'QueryFragment',
|
|
1025
|
+
};
|
|
1026
|
+
|
|
1027
|
+
export type InputFormTargetKind = 0 | 1 | 2 | 3 | 4 | 5;
|
|
1028
|
+
|
|
1029
|
+
export const inputFormTargetKinds = {
|
|
1030
|
+
relationQuery: 0,
|
|
1031
|
+
entityTransition: 1,
|
|
1032
|
+
processInvocation: 2,
|
|
1033
|
+
endpointRequest: 3,
|
|
1034
|
+
enrichment: 4,
|
|
1035
|
+
localState: 5,
|
|
1036
|
+
} as const satisfies Record<string, InputFormTargetKind>;
|
|
1037
|
+
|
|
1038
|
+
export const inputFormTargetKindLabels: Record<InputFormTargetKind, string> = {
|
|
1039
|
+
0: 'RelationQuery',
|
|
1040
|
+
1: 'EntityTransition',
|
|
1041
|
+
2: 'ProcessInvocation',
|
|
1042
|
+
3: 'EndpointRequest',
|
|
1043
|
+
4: 'Enrichment',
|
|
1044
|
+
5: 'LocalState',
|
|
1045
|
+
};
|
|
1046
|
+
|
|
1047
|
+
export type ValidationMarkerSeverity = 0 | 1 | 2;
|
|
1048
|
+
|
|
1049
|
+
export const validationMarkerSeverities = {
|
|
1050
|
+
info: 0,
|
|
1051
|
+
warning: 1,
|
|
1052
|
+
error: 2,
|
|
1053
|
+
} as const satisfies Record<string, ValidationMarkerSeverity>;
|
|
1054
|
+
|
|
1055
|
+
export const validationMarkerSeverityLabels: Record<ValidationMarkerSeverity, string> = {
|
|
1056
|
+
0: 'Info',
|
|
1057
|
+
1: 'Warning',
|
|
1058
|
+
2: 'Error',
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1061
|
+
export type InputFormValidationScope = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
1062
|
+
|
|
1063
|
+
export const inputFormValidationScopes = {
|
|
1064
|
+
field: 0,
|
|
1065
|
+
group: 1,
|
|
1066
|
+
form: 2,
|
|
1067
|
+
target: 3,
|
|
1068
|
+
query: 4,
|
|
1069
|
+
transition: 5,
|
|
1070
|
+
process: 6,
|
|
1071
|
+
endpoint: 7,
|
|
1072
|
+
shape: 8,
|
|
1073
|
+
} as const satisfies Record<string, InputFormValidationScope>;
|
|
1074
|
+
|
|
1075
|
+
export const inputFormValidationScopeLabels: Record<InputFormValidationScope, string> = {
|
|
1076
|
+
0: 'Field',
|
|
1077
|
+
1: 'Group',
|
|
1078
|
+
2: 'Form',
|
|
1079
|
+
3: 'Target',
|
|
1080
|
+
4: 'Query',
|
|
1081
|
+
5: 'Transition',
|
|
1082
|
+
6: 'Process',
|
|
1083
|
+
7: 'Endpoint',
|
|
1084
|
+
8: 'Shape',
|
|
1085
|
+
};
|
|
1086
|
+
|
|
1087
|
+
export type InputFormValidationSourceKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
1088
|
+
|
|
1089
|
+
export const inputFormValidationSourceKinds = {
|
|
1090
|
+
shape: 0,
|
|
1091
|
+
form: 1,
|
|
1092
|
+
relationQuery: 2,
|
|
1093
|
+
transition: 3,
|
|
1094
|
+
processInvocation: 4,
|
|
1095
|
+
endpointRequest: 5,
|
|
1096
|
+
capabilityPlanner: 6,
|
|
1097
|
+
authorization: 7,
|
|
1098
|
+
enrichment: 8,
|
|
1099
|
+
} as const satisfies Record<string, InputFormValidationSourceKind>;
|
|
1100
|
+
|
|
1101
|
+
export const inputFormValidationSourceKindLabels: Record<InputFormValidationSourceKind, string> = {
|
|
1102
|
+
0: 'Shape',
|
|
1103
|
+
1: 'Form',
|
|
1104
|
+
2: 'RelationQuery',
|
|
1105
|
+
3: 'Transition',
|
|
1106
|
+
4: 'ProcessInvocation',
|
|
1107
|
+
5: 'EndpointRequest',
|
|
1108
|
+
6: 'CapabilityPlanner',
|
|
1109
|
+
7: 'Authorization',
|
|
1110
|
+
8: 'Enrichment',
|
|
1111
|
+
};
|
|
1112
|
+
|
|
1113
|
+
export type LayoutNodeKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
1114
|
+
|
|
1115
|
+
export const layoutNodeKinds = {
|
|
1116
|
+
projection: 0,
|
|
1117
|
+
view: 1,
|
|
1118
|
+
tabGroup: 2,
|
|
1119
|
+
splitGroup: 3,
|
|
1120
|
+
dockRegion: 4,
|
|
1121
|
+
floatingPanel: 5,
|
|
1122
|
+
inspectorPanel: 6,
|
|
1123
|
+
toolWindow: 7,
|
|
1124
|
+
} as const satisfies Record<string, LayoutNodeKind>;
|
|
1125
|
+
|
|
1126
|
+
export const layoutNodeKindLabels: Record<LayoutNodeKind, string> = {
|
|
1127
|
+
0: 'Projection',
|
|
1128
|
+
1: 'View',
|
|
1129
|
+
2: 'TabGroup',
|
|
1130
|
+
3: 'SplitGroup',
|
|
1131
|
+
4: 'DockRegion',
|
|
1132
|
+
5: 'FloatingPanel',
|
|
1133
|
+
6: 'InspectorPanel',
|
|
1134
|
+
7: 'ToolWindow',
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1137
|
+
export type LayoutOrientation = 0 | 1 | 2;
|
|
1138
|
+
|
|
1139
|
+
export const layoutOrientations = {
|
|
1140
|
+
none: 0,
|
|
1141
|
+
horizontal: 1,
|
|
1142
|
+
vertical: 2,
|
|
1143
|
+
} as const satisfies Record<string, LayoutOrientation>;
|
|
1144
|
+
|
|
1145
|
+
export const layoutOrientationLabels: Record<LayoutOrientation, string> = {
|
|
1146
|
+
0: 'None',
|
|
1147
|
+
1: 'Horizontal',
|
|
1148
|
+
2: 'Vertical',
|
|
1149
|
+
};
|
|
1150
|
+
|
|
1151
|
+
export type LocalDocumentEditorActionKind = 0 | 1;
|
|
1152
|
+
|
|
1153
|
+
export const localDocumentEditorActionKinds = {
|
|
1154
|
+
reset: 0,
|
|
1155
|
+
format: 1,
|
|
1156
|
+
} as const satisfies Record<string, LocalDocumentEditorActionKind>;
|
|
1157
|
+
|
|
1158
|
+
export const localDocumentEditorActionKindLabels: Record<LocalDocumentEditorActionKind, string> = {
|
|
1159
|
+
0: 'Reset',
|
|
1160
|
+
1: 'Format',
|
|
1161
|
+
};
|
|
1162
|
+
|
|
1163
|
+
export type NavigationActionKind = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
1164
|
+
|
|
1165
|
+
export const navigationActionKinds = {
|
|
1166
|
+
navigateToRoute: 0,
|
|
1167
|
+
returnToPreviousContext: 1,
|
|
1168
|
+
openModal: 2,
|
|
1169
|
+
closeModal: 3,
|
|
1170
|
+
replaceRoute: 4,
|
|
1171
|
+
openWorkspace: 5,
|
|
1172
|
+
openPageHost: 6,
|
|
1173
|
+
} as const satisfies Record<string, NavigationActionKind>;
|
|
1174
|
+
|
|
1175
|
+
export const navigationActionKindLabels: Record<NavigationActionKind, string> = {
|
|
1176
|
+
0: 'NavigateToRoute',
|
|
1177
|
+
1: 'ReturnToPreviousContext',
|
|
1178
|
+
2: 'OpenModal',
|
|
1179
|
+
3: 'CloseModal',
|
|
1180
|
+
4: 'ReplaceRoute',
|
|
1181
|
+
5: 'OpenWorkspace',
|
|
1182
|
+
6: 'OpenPageHost',
|
|
1183
|
+
};
|
|
1184
|
+
|
|
1185
|
+
export type NavigationContextKind = 0 | 1 | 2 | 3;
|
|
1186
|
+
|
|
1187
|
+
export const navigationContextKinds = {
|
|
1188
|
+
browser: 0,
|
|
1189
|
+
workspace: 1,
|
|
1190
|
+
modal: 2,
|
|
1191
|
+
embedded: 3,
|
|
1192
|
+
} as const satisfies Record<string, NavigationContextKind>;
|
|
1193
|
+
|
|
1194
|
+
export const navigationContextKindLabels: Record<NavigationContextKind, string> = {
|
|
1195
|
+
0: 'Browser',
|
|
1196
|
+
1: 'Workspace',
|
|
1197
|
+
2: 'Modal',
|
|
1198
|
+
3: 'Embedded',
|
|
1199
|
+
};
|
|
1200
|
+
|
|
1201
|
+
export type NavigationContextEffectKind = 0 | 1 | 2 | 3 | 4;
|
|
1202
|
+
|
|
1203
|
+
export const navigationContextEffectKinds = {
|
|
1204
|
+
push: 0,
|
|
1205
|
+
replace: 1,
|
|
1206
|
+
preserve: 2,
|
|
1207
|
+
clear: 3,
|
|
1208
|
+
return: 4,
|
|
1209
|
+
} as const satisfies Record<string, NavigationContextEffectKind>;
|
|
1210
|
+
|
|
1211
|
+
export const navigationContextEffectKindLabels: Record<NavigationContextEffectKind, string> = {
|
|
1212
|
+
0: 'Push',
|
|
1213
|
+
1: 'Replace',
|
|
1214
|
+
2: 'Preserve',
|
|
1215
|
+
3: 'Clear',
|
|
1216
|
+
4: 'Return',
|
|
1217
|
+
};
|
|
1218
|
+
|
|
1219
|
+
export type NavigationEdgeKind = 0 | 1 | 2;
|
|
1220
|
+
|
|
1221
|
+
export const navigationEdgeKinds = {
|
|
1222
|
+
primaryNavigation: 0,
|
|
1223
|
+
relatedEntityRoute: 1,
|
|
1224
|
+
drillDown: 2,
|
|
1225
|
+
} as const satisfies Record<string, NavigationEdgeKind>;
|
|
1226
|
+
|
|
1227
|
+
export const navigationEdgeKindLabels: Record<NavigationEdgeKind, string> = {
|
|
1228
|
+
0: 'PrimaryNavigation',
|
|
1229
|
+
1: 'RelatedEntityRoute',
|
|
1230
|
+
2: 'DrillDown',
|
|
1231
|
+
};
|
|
1232
|
+
|
|
1233
|
+
export type NavigationHistoryKind = 0 | 1 | 2 | 3;
|
|
1234
|
+
|
|
1235
|
+
export const navigationHistoryKinds = {
|
|
1236
|
+
none: 0,
|
|
1237
|
+
browser: 1,
|
|
1238
|
+
inMemory: 2,
|
|
1239
|
+
persistent: 3,
|
|
1240
|
+
} as const satisfies Record<string, NavigationHistoryKind>;
|
|
1241
|
+
|
|
1242
|
+
export const navigationHistoryKindLabels: Record<NavigationHistoryKind, string> = {
|
|
1243
|
+
0: 'None',
|
|
1244
|
+
1: 'Browser',
|
|
1245
|
+
2: 'InMemory',
|
|
1246
|
+
3: 'Persistent',
|
|
1247
|
+
};
|
|
1248
|
+
|
|
1249
|
+
export type NavigationRouteUpdateMode = 0 | 1;
|
|
1250
|
+
|
|
1251
|
+
export const navigationRouteUpdateModes = {
|
|
1252
|
+
transition: 0,
|
|
1253
|
+
synchronous: 1,
|
|
1254
|
+
} as const satisfies Record<string, NavigationRouteUpdateMode>;
|
|
1255
|
+
|
|
1256
|
+
export const navigationRouteUpdateModeLabels: Record<NavigationRouteUpdateMode, string> = {
|
|
1257
|
+
0: 'Transition',
|
|
1258
|
+
1: 'Synchronous',
|
|
1259
|
+
};
|
|
1260
|
+
|
|
1261
|
+
export type NavigationRouteInstanceIdentityKind = 0 | 1 | 2 | 3;
|
|
1262
|
+
|
|
1263
|
+
export const navigationRouteInstanceIdentityKinds = {
|
|
1264
|
+
matchedRoute: 0,
|
|
1265
|
+
path: 1,
|
|
1266
|
+
pathAndSearch: 2,
|
|
1267
|
+
fullLocation: 3,
|
|
1268
|
+
} as const satisfies Record<string, NavigationRouteInstanceIdentityKind>;
|
|
1269
|
+
|
|
1270
|
+
export const navigationRouteInstanceIdentityKindLabels: Record<NavigationRouteInstanceIdentityKind, string> = {
|
|
1271
|
+
0: 'MatchedRoute',
|
|
1272
|
+
1: 'Path',
|
|
1273
|
+
2: 'PathAndSearch',
|
|
1274
|
+
3: 'FullLocation',
|
|
1275
|
+
};
|
|
1276
|
+
|
|
1277
|
+
export type NavigationNodeKind = 0 | 1 | 2;
|
|
1278
|
+
|
|
1279
|
+
export const navigationNodeKinds = {
|
|
1280
|
+
page: 0,
|
|
1281
|
+
collection: 1,
|
|
1282
|
+
entityDetail: 2,
|
|
1283
|
+
} as const satisfies Record<string, NavigationNodeKind>;
|
|
1284
|
+
|
|
1285
|
+
export const navigationNodeKindLabels: Record<NavigationNodeKind, string> = {
|
|
1286
|
+
0: 'Page',
|
|
1287
|
+
1: 'Collection',
|
|
1288
|
+
2: 'EntityDetail',
|
|
1289
|
+
};
|
|
1290
|
+
|
|
1291
|
+
export type NavigationRouteKind = 0 | 1;
|
|
1292
|
+
|
|
1293
|
+
export const navigationRouteKinds = {
|
|
1294
|
+
page: 0,
|
|
1295
|
+
entityDetail: 1,
|
|
1296
|
+
} as const satisfies Record<string, NavigationRouteKind>;
|
|
1297
|
+
|
|
1298
|
+
export const navigationRouteKindLabels: Record<NavigationRouteKind, string> = {
|
|
1299
|
+
0: 'Page',
|
|
1300
|
+
1: 'EntityDetail',
|
|
1301
|
+
};
|
|
1302
|
+
|
|
1303
|
+
export type NavigationShellKind = 0 | 1 | 2 | 3;
|
|
1304
|
+
|
|
1305
|
+
export const navigationShellKinds = {
|
|
1306
|
+
topNavigation: 0,
|
|
1307
|
+
sideNavigation: 1,
|
|
1308
|
+
bottomNavigation: 2,
|
|
1309
|
+
commandNavigation: 3,
|
|
1310
|
+
} as const satisfies Record<string, NavigationShellKind>;
|
|
1311
|
+
|
|
1312
|
+
export const navigationShellKindLabels: Record<NavigationShellKind, string> = {
|
|
1313
|
+
0: 'TopNavigation',
|
|
1314
|
+
1: 'SideNavigation',
|
|
1315
|
+
2: 'BottomNavigation',
|
|
1316
|
+
3: 'CommandNavigation',
|
|
1317
|
+
};
|
|
1318
|
+
|
|
1319
|
+
export type NavigationShellRegionKind = 0 | 1 | 2 | 3 | 4;
|
|
1320
|
+
|
|
1321
|
+
export const navigationShellRegionKinds = {
|
|
1322
|
+
processTaskDrawer: 0,
|
|
1323
|
+
toolbarActions: 1,
|
|
1324
|
+
userMenu: 2,
|
|
1325
|
+
notifications: 3,
|
|
1326
|
+
authenticationPrompt: 4,
|
|
1327
|
+
} as const satisfies Record<string, NavigationShellRegionKind>;
|
|
1328
|
+
|
|
1329
|
+
export const navigationShellRegionKindLabels: Record<NavigationShellRegionKind, string> = {
|
|
1330
|
+
0: 'ProcessTaskDrawer',
|
|
1331
|
+
1: 'ToolbarActions',
|
|
1332
|
+
2: 'UserMenu',
|
|
1333
|
+
3: 'Notifications',
|
|
1334
|
+
4: 'AuthenticationPrompt',
|
|
1335
|
+
};
|
|
1336
|
+
|
|
1337
|
+
export type NavigationShellSlotKind = 0 | 1 | 2 | 3 | 4 | 5;
|
|
1338
|
+
|
|
1339
|
+
export const navigationShellSlotKinds = {
|
|
1340
|
+
brand: 0,
|
|
1341
|
+
primaryNavigation: 1,
|
|
1342
|
+
utilityActions: 2,
|
|
1343
|
+
systemNotices: 3,
|
|
1344
|
+
routedContent: 4,
|
|
1345
|
+
custom: 5,
|
|
1346
|
+
} as const satisfies Record<string, NavigationShellSlotKind>;
|
|
1347
|
+
|
|
1348
|
+
export const navigationShellSlotKindLabels: Record<NavigationShellSlotKind, string> = {
|
|
1349
|
+
0: 'Brand',
|
|
1350
|
+
1: 'PrimaryNavigation',
|
|
1351
|
+
2: 'UtilityActions',
|
|
1352
|
+
3: 'SystemNotices',
|
|
1353
|
+
4: 'RoutedContent',
|
|
1354
|
+
5: 'Custom',
|
|
1355
|
+
};
|
|
1356
|
+
|
|
1357
|
+
export type PageHostKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
1358
|
+
|
|
1359
|
+
export const pageHostKinds = {
|
|
1360
|
+
workspace: 0,
|
|
1361
|
+
singleView: 1,
|
|
1362
|
+
tabbedHost: 2,
|
|
1363
|
+
splitHost: 3,
|
|
1364
|
+
dashboard: 4,
|
|
1365
|
+
wizard: 5,
|
|
1366
|
+
modalHost: 6,
|
|
1367
|
+
shellHost: 7,
|
|
1368
|
+
} as const satisfies Record<string, PageHostKind>;
|
|
1369
|
+
|
|
1370
|
+
export const pageHostKindLabels: Record<PageHostKind, string> = {
|
|
1371
|
+
0: 'Workspace',
|
|
1372
|
+
1: 'SingleView',
|
|
1373
|
+
2: 'TabbedHost',
|
|
1374
|
+
3: 'SplitHost',
|
|
1375
|
+
4: 'Dashboard',
|
|
1376
|
+
5: 'Wizard',
|
|
1377
|
+
6: 'ModalHost',
|
|
1378
|
+
7: 'ShellHost',
|
|
1379
|
+
};
|
|
1380
|
+
|
|
1381
|
+
export type PageRegionKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
1382
|
+
|
|
1383
|
+
export const pageRegionKinds = {
|
|
1384
|
+
content: 0,
|
|
1385
|
+
header: 1,
|
|
1386
|
+
toolbar: 2,
|
|
1387
|
+
sidebar: 3,
|
|
1388
|
+
footer: 4,
|
|
1389
|
+
tab: 5,
|
|
1390
|
+
splitPane: 6,
|
|
1391
|
+
modal: 7,
|
|
1392
|
+
shell: 8,
|
|
1393
|
+
custom: 9,
|
|
1394
|
+
} as const satisfies Record<string, PageRegionKind>;
|
|
1395
|
+
|
|
1396
|
+
export const pageRegionKindLabels: Record<PageRegionKind, string> = {
|
|
1397
|
+
0: 'Content',
|
|
1398
|
+
1: 'Header',
|
|
1399
|
+
2: 'Toolbar',
|
|
1400
|
+
3: 'Sidebar',
|
|
1401
|
+
4: 'Footer',
|
|
1402
|
+
5: 'Tab',
|
|
1403
|
+
6: 'SplitPane',
|
|
1404
|
+
7: 'Modal',
|
|
1405
|
+
8: 'Shell',
|
|
1406
|
+
9: 'Custom',
|
|
1407
|
+
};
|
|
1408
|
+
|
|
1409
|
+
export type PresentationBindingKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14;
|
|
1410
|
+
|
|
1411
|
+
export const presentationBindingKinds = {
|
|
1412
|
+
apiEndpoint: 0,
|
|
1413
|
+
component: 1,
|
|
1414
|
+
viewComponent: 2,
|
|
1415
|
+
actionEndpoint: 3,
|
|
1416
|
+
navigationRoute: 4,
|
|
1417
|
+
flowEvent: 5,
|
|
1418
|
+
localState: 6,
|
|
1419
|
+
transition: 7,
|
|
1420
|
+
relationQuery: 8,
|
|
1421
|
+
externalUri: 9,
|
|
1422
|
+
projectionRenderer: 10,
|
|
1423
|
+
workspaceRuntime: 11,
|
|
1424
|
+
pageHostComponent: 12,
|
|
1425
|
+
navigationShellRegionComponent: 13,
|
|
1426
|
+
icon: 14,
|
|
1427
|
+
} as const satisfies Record<string, PresentationBindingKind>;
|
|
1428
|
+
|
|
1429
|
+
export const presentationBindingKindLabels: Record<PresentationBindingKind, string> = {
|
|
1430
|
+
0: 'ApiEndpoint',
|
|
1431
|
+
1: 'Component',
|
|
1432
|
+
2: 'ViewComponent',
|
|
1433
|
+
3: 'ActionEndpoint',
|
|
1434
|
+
4: 'NavigationRoute',
|
|
1435
|
+
5: 'FlowEvent',
|
|
1436
|
+
6: 'LocalState',
|
|
1437
|
+
7: 'Transition',
|
|
1438
|
+
8: 'RelationQuery',
|
|
1439
|
+
9: 'ExternalUri',
|
|
1440
|
+
10: 'ProjectionRenderer',
|
|
1441
|
+
11: 'WorkspaceRuntime',
|
|
1442
|
+
12: 'PageHostComponent',
|
|
1443
|
+
13: 'NavigationShellRegionComponent',
|
|
1444
|
+
14: 'Icon',
|
|
1445
|
+
};
|
|
1446
|
+
|
|
1447
|
+
export type Expr = {
|
|
1448
|
+
readonly $expr: 'field';
|
|
1449
|
+
} & FieldExpr | {
|
|
1450
|
+
readonly $expr: 'currentItem';
|
|
1451
|
+
} & CurrentItemExpr | {
|
|
1452
|
+
readonly $expr: 'parameter';
|
|
1453
|
+
} & ParameterExpr | {
|
|
1454
|
+
readonly $expr: 'constant';
|
|
1455
|
+
} & ConstantExpr | {
|
|
1456
|
+
readonly $expr: 'unary';
|
|
1457
|
+
} & UnaryExpr | {
|
|
1458
|
+
readonly $expr: 'binary';
|
|
1459
|
+
} & BinaryExpr | {
|
|
1460
|
+
readonly $expr: 'conditional';
|
|
1461
|
+
} & ConditionalExpr | {
|
|
1462
|
+
readonly $expr: 'function';
|
|
1463
|
+
} & CallExpr | {
|
|
1464
|
+
readonly $expr: 'typedFieldRef';
|
|
1465
|
+
} & FieldRefExpr | {
|
|
1466
|
+
readonly $expr: 'literal';
|
|
1467
|
+
} & LiteralExpr | {
|
|
1468
|
+
readonly $expr: 'aggregate';
|
|
1469
|
+
} & AggregateExpr;
|
|
1470
|
+
|
|
1471
|
+
export interface FieldExpr {
|
|
1472
|
+
Path: FieldPath;
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
export type CurrentItemExpr = Record<never, never>;
|
|
1476
|
+
|
|
1477
|
+
export interface ParameterExpr {
|
|
1478
|
+
Parameter: string;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
export interface ConstantExpr {
|
|
1482
|
+
Value: unknown;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
export interface UnaryExpr {
|
|
1486
|
+
Operator: UnaryOperator;
|
|
1487
|
+
Operand: Expr;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
export interface BinaryExpr {
|
|
1491
|
+
Operator: BinaryOperator;
|
|
1492
|
+
Left: Expr;
|
|
1493
|
+
Right: Expr;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
export interface ConditionalExpr {
|
|
1497
|
+
Test: Expr;
|
|
1498
|
+
IfTrue: Expr;
|
|
1499
|
+
IfFalse: Expr;
|
|
1500
|
+
ReturnType: TypeRef;
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
export interface CallExpr {
|
|
1504
|
+
Function: string;
|
|
1505
|
+
Arguments: Expr[];
|
|
1506
|
+
ReturnType: TypeRef;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
export interface FieldRefExpr {
|
|
1510
|
+
Path: FieldPath;
|
|
1511
|
+
Type: TypeRef;
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
export interface LiteralExpr {
|
|
1515
|
+
Type: TypeRef;
|
|
1516
|
+
Value: unknown;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
export interface AggregateExpr {
|
|
1520
|
+
Operator: AggregateOperator;
|
|
1521
|
+
Source: Expr;
|
|
1522
|
+
GroupBy: Expr[];
|
|
1523
|
+
ReturnType: TypeRef;
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
export type TypeRef = {
|
|
1527
|
+
readonly $type: 'named';
|
|
1528
|
+
} & NamedTypeRef | {
|
|
1529
|
+
readonly $type: 'opaque';
|
|
1530
|
+
} & OpaqueRuntimeTypeRef | {
|
|
1531
|
+
readonly $type: 'scalar';
|
|
1532
|
+
} & ScalarTypeRef | {
|
|
1533
|
+
readonly $type: 'enum';
|
|
1534
|
+
} & EnumTypeRef | {
|
|
1535
|
+
readonly $type: 'entityRef';
|
|
1536
|
+
} & EntityReferenceTypeRef | {
|
|
1537
|
+
readonly $type: 'array';
|
|
1538
|
+
} & ArrayTypeRef | {
|
|
1539
|
+
readonly $type: 'object';
|
|
1540
|
+
} & ObjectTypeRef | {
|
|
1541
|
+
readonly $type: 'quantity';
|
|
1542
|
+
} & QuantityTypeRef | {
|
|
1543
|
+
readonly $type: 'json';
|
|
1544
|
+
} & JsonTypeRef;
|
|
1545
|
+
|
|
1546
|
+
export interface NamedTypeRef {
|
|
1547
|
+
TypeId: TypeId;
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
export interface OpaqueRuntimeTypeRef {
|
|
1551
|
+
RuntimeType: string;
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
export interface ScalarTypeRef {
|
|
1555
|
+
Kind: ScalarTypeKind;
|
|
1556
|
+
Format: PrimitiveFormat;
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
export interface EnumTypeRef {
|
|
1560
|
+
Name: string;
|
|
1561
|
+
Members: string[];
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
export interface EntityReferenceTypeRef {
|
|
1565
|
+
Entity: EntityTypeName;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
export interface ArrayTypeRef {
|
|
1569
|
+
ElementType: TypeRef;
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
export interface ObjectTypeRef {
|
|
1573
|
+
Fields: ObjectFieldTypeDef[];
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
export interface QuantityTypeRef {
|
|
1577
|
+
Quantity: string;
|
|
1578
|
+
BaseKind: ScalarTypeKind;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
export interface JsonTypeRef {
|
|
1582
|
+
Kind: JsonTypeKind;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
export type PresentationExpressionUsage = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
1586
|
+
|
|
1587
|
+
export const presentationExpressionUsages = {
|
|
1588
|
+
predicate: 0,
|
|
1589
|
+
projection: 1,
|
|
1590
|
+
metric: 2,
|
|
1591
|
+
visibility: 3,
|
|
1592
|
+
enablement: 4,
|
|
1593
|
+
label: 5,
|
|
1594
|
+
navigation: 6,
|
|
1595
|
+
dataSourceParameter: 7,
|
|
1596
|
+
stateDerivation: 8,
|
|
1597
|
+
} as const satisfies Record<string, PresentationExpressionUsage>;
|
|
1598
|
+
|
|
1599
|
+
export const presentationExpressionUsageLabels: Record<PresentationExpressionUsage, string> = {
|
|
1600
|
+
0: 'Predicate',
|
|
1601
|
+
1: 'Projection',
|
|
1602
|
+
2: 'Metric',
|
|
1603
|
+
3: 'Visibility',
|
|
1604
|
+
4: 'Enablement',
|
|
1605
|
+
5: 'Label',
|
|
1606
|
+
6: 'Navigation',
|
|
1607
|
+
7: 'DataSourceParameter',
|
|
1608
|
+
8: 'StateDerivation',
|
|
1609
|
+
};
|
|
1610
|
+
|
|
1611
|
+
export type PresentationValueKind = 0 | 1 | 2 | 3;
|
|
1612
|
+
|
|
1613
|
+
export const presentationValueKinds = {
|
|
1614
|
+
literal: 0,
|
|
1615
|
+
field: 1,
|
|
1616
|
+
expression: 2,
|
|
1617
|
+
state: 3,
|
|
1618
|
+
} as const satisfies Record<string, PresentationValueKind>;
|
|
1619
|
+
|
|
1620
|
+
export const presentationValueKindLabels: Record<PresentationValueKind, string> = {
|
|
1621
|
+
0: 'Literal',
|
|
1622
|
+
1: 'Field',
|
|
1623
|
+
2: 'Expression',
|
|
1624
|
+
3: 'State',
|
|
1625
|
+
};
|
|
1626
|
+
|
|
1627
|
+
export type ProjectionCoordinateKind = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
1628
|
+
|
|
1629
|
+
export const projectionCoordinateKinds = {
|
|
1630
|
+
jsonPointer: 0,
|
|
1631
|
+
textRange: 1,
|
|
1632
|
+
treeNodeId: 2,
|
|
1633
|
+
graphNodeId: 3,
|
|
1634
|
+
typeId: 4,
|
|
1635
|
+
fieldBinding: 5,
|
|
1636
|
+
diagnosticId: 6,
|
|
1637
|
+
} as const satisfies Record<string, ProjectionCoordinateKind>;
|
|
1638
|
+
|
|
1639
|
+
export const projectionCoordinateKindLabels: Record<ProjectionCoordinateKind, string> = {
|
|
1640
|
+
0: 'JsonPointer',
|
|
1641
|
+
1: 'TextRange',
|
|
1642
|
+
2: 'TreeNodeId',
|
|
1643
|
+
3: 'GraphNodeId',
|
|
1644
|
+
4: 'TypeId',
|
|
1645
|
+
5: 'FieldBinding',
|
|
1646
|
+
6: 'DiagnosticId',
|
|
1647
|
+
};
|
|
1648
|
+
|
|
1649
|
+
export type SemanticReferenceKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
1650
|
+
|
|
1651
|
+
export const semanticReferenceKinds = {
|
|
1652
|
+
document: 0,
|
|
1653
|
+
jsonPointer: 1,
|
|
1654
|
+
ediSegment: 2,
|
|
1655
|
+
ediLoop: 3,
|
|
1656
|
+
ediElement: 4,
|
|
1657
|
+
shapeGraph: 5,
|
|
1658
|
+
shape: 6,
|
|
1659
|
+
shapeField: 7,
|
|
1660
|
+
type: 8,
|
|
1661
|
+
typeField: 9,
|
|
1662
|
+
diagnostic: 10,
|
|
1663
|
+
} as const satisfies Record<string, SemanticReferenceKind>;
|
|
1664
|
+
|
|
1665
|
+
export const semanticReferenceKindLabels: Record<SemanticReferenceKind, string> = {
|
|
1666
|
+
0: 'Document',
|
|
1667
|
+
1: 'JsonPointer',
|
|
1668
|
+
2: 'EdiSegment',
|
|
1669
|
+
3: 'EdiLoop',
|
|
1670
|
+
4: 'EdiElement',
|
|
1671
|
+
5: 'ShapeGraph',
|
|
1672
|
+
6: 'Shape',
|
|
1673
|
+
7: 'ShapeField',
|
|
1674
|
+
8: 'Type',
|
|
1675
|
+
9: 'TypeField',
|
|
1676
|
+
10: 'Diagnostic',
|
|
1677
|
+
};
|
|
1678
|
+
|
|
1679
|
+
export type ProjectionKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
1680
|
+
|
|
1681
|
+
export const projectionKinds = {
|
|
1682
|
+
jsonText: 0,
|
|
1683
|
+
treeView: 1,
|
|
1684
|
+
typeTree: 2,
|
|
1685
|
+
graphView: 3,
|
|
1686
|
+
formView: 4,
|
|
1687
|
+
segmentView: 5,
|
|
1688
|
+
validationView: 6,
|
|
1689
|
+
tableView: 7,
|
|
1690
|
+
} as const satisfies Record<string, ProjectionKind>;
|
|
1691
|
+
|
|
1692
|
+
export const projectionKindLabels: Record<ProjectionKind, string> = {
|
|
1693
|
+
0: 'JsonText',
|
|
1694
|
+
1: 'TreeView',
|
|
1695
|
+
2: 'TypeTree',
|
|
1696
|
+
3: 'GraphView',
|
|
1697
|
+
4: 'FormView',
|
|
1698
|
+
5: 'SegmentView',
|
|
1699
|
+
6: 'ValidationView',
|
|
1700
|
+
7: 'TableView',
|
|
1701
|
+
};
|
|
1702
|
+
|
|
1703
|
+
export type ProjectionMappingDirection = 0 | 1 | 2;
|
|
1704
|
+
|
|
1705
|
+
export const projectionMappingDirections = {
|
|
1706
|
+
localToSemantic: 0,
|
|
1707
|
+
semanticToLocal: 1,
|
|
1708
|
+
bidirectional: 2,
|
|
1709
|
+
} as const satisfies Record<string, ProjectionMappingDirection>;
|
|
1710
|
+
|
|
1711
|
+
export const projectionMappingDirectionLabels: Record<ProjectionMappingDirection, string> = {
|
|
1712
|
+
0: 'LocalToSemantic',
|
|
1713
|
+
1: 'SemanticToLocal',
|
|
1714
|
+
2: 'Bidirectional',
|
|
1715
|
+
};
|
|
1716
|
+
|
|
1717
|
+
export type ProjectionSubjectKind = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
1718
|
+
|
|
1719
|
+
export const projectionSubjectKinds = {
|
|
1720
|
+
document: 0,
|
|
1721
|
+
structure: 1,
|
|
1722
|
+
shapeGraph: 2,
|
|
1723
|
+
shape: 3,
|
|
1724
|
+
typeSystem: 4,
|
|
1725
|
+
segmentCatalog: 5,
|
|
1726
|
+
diagnostics: 6,
|
|
1727
|
+
} as const satisfies Record<string, ProjectionSubjectKind>;
|
|
1728
|
+
|
|
1729
|
+
export const projectionSubjectKindLabels: Record<ProjectionSubjectKind, string> = {
|
|
1730
|
+
0: 'Document',
|
|
1731
|
+
1: 'Structure',
|
|
1732
|
+
2: 'ShapeGraph',
|
|
1733
|
+
3: 'Shape',
|
|
1734
|
+
4: 'TypeSystem',
|
|
1735
|
+
5: 'SegmentCatalog',
|
|
1736
|
+
6: 'Diagnostics',
|
|
1737
|
+
};
|
|
1738
|
+
|
|
1739
|
+
export type PromptStatusMessageKind = 0 | 1 | 2 | 3;
|
|
1740
|
+
|
|
1741
|
+
export const promptStatusMessageKinds = {
|
|
1742
|
+
actionPending: 0,
|
|
1743
|
+
actionError: 1,
|
|
1744
|
+
dataFieldEquals: 2,
|
|
1745
|
+
dataFieldTruthy: 3,
|
|
1746
|
+
} as const satisfies Record<string, PromptStatusMessageKind>;
|
|
1747
|
+
|
|
1748
|
+
export const promptStatusMessageKindLabels: Record<PromptStatusMessageKind, string> = {
|
|
1749
|
+
0: 'ActionPending',
|
|
1750
|
+
1: 'ActionError',
|
|
1751
|
+
2: 'DataFieldEquals',
|
|
1752
|
+
3: 'DataFieldTruthy',
|
|
1753
|
+
};
|
|
1754
|
+
|
|
1755
|
+
export type QueryFormExecutionMode = 0 | 1 | 2;
|
|
1756
|
+
|
|
1757
|
+
export const queryFormExecutionModes = {
|
|
1758
|
+
manual: 0,
|
|
1759
|
+
live: 1,
|
|
1760
|
+
debouncedLive: 2,
|
|
1761
|
+
} as const satisfies Record<string, QueryFormExecutionMode>;
|
|
1762
|
+
|
|
1763
|
+
export const queryFormExecutionModeLabels: Record<QueryFormExecutionMode, string> = {
|
|
1764
|
+
0: 'Manual',
|
|
1765
|
+
1: 'Live',
|
|
1766
|
+
2: 'DebouncedLive',
|
|
1767
|
+
};
|
|
1768
|
+
|
|
1769
|
+
export type QueryFormPredicateKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
1770
|
+
|
|
1771
|
+
export const queryFormPredicateKinds = {
|
|
1772
|
+
exact: 0,
|
|
1773
|
+
prefix: 1,
|
|
1774
|
+
contains: 2,
|
|
1775
|
+
fullText: 3,
|
|
1776
|
+
in: 4,
|
|
1777
|
+
dateRange: 5,
|
|
1778
|
+
numberRange: 6,
|
|
1779
|
+
exists: 7,
|
|
1780
|
+
} as const satisfies Record<string, QueryFormPredicateKind>;
|
|
1781
|
+
|
|
1782
|
+
export const queryFormPredicateKindLabels: Record<QueryFormPredicateKind, string> = {
|
|
1783
|
+
0: 'Exact',
|
|
1784
|
+
1: 'Prefix',
|
|
1785
|
+
2: 'Contains',
|
|
1786
|
+
3: 'FullText',
|
|
1787
|
+
4: 'In',
|
|
1788
|
+
5: 'DateRange',
|
|
1789
|
+
6: 'NumberRange',
|
|
1790
|
+
7: 'Exists',
|
|
1791
|
+
};
|
|
1792
|
+
|
|
1793
|
+
export type QueryLoweringKind = 0 | 1 | 2;
|
|
1794
|
+
|
|
1795
|
+
export const queryLoweringKinds = {
|
|
1796
|
+
presentationValueToEndpointRequest: 0,
|
|
1797
|
+
endpointRequestToQueryModel: 1,
|
|
1798
|
+
queryModelToEndpointRequest: 2,
|
|
1799
|
+
} as const satisfies Record<string, QueryLoweringKind>;
|
|
1800
|
+
|
|
1801
|
+
export const queryLoweringKindLabels: Record<QueryLoweringKind, string> = {
|
|
1802
|
+
0: 'PresentationValueToEndpointRequest',
|
|
1803
|
+
1: 'EndpointRequestToQueryModel',
|
|
1804
|
+
2: 'QueryModelToEndpointRequest',
|
|
1805
|
+
};
|
|
1806
|
+
|
|
1807
|
+
export type PresentationTargetKind = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
1808
|
+
|
|
1809
|
+
export const presentationTargetKinds = {
|
|
1810
|
+
react: 0,
|
|
1811
|
+
blazor: 1,
|
|
1812
|
+
blazorServer: 2,
|
|
1813
|
+
blazorWebAssembly: 3,
|
|
1814
|
+
blazorHybrid: 4,
|
|
1815
|
+
html: 5,
|
|
1816
|
+
native: 6,
|
|
1817
|
+
} as const satisfies Record<string, PresentationTargetKind>;
|
|
1818
|
+
|
|
1819
|
+
export const presentationTargetKindLabels: Record<PresentationTargetKind, string> = {
|
|
1820
|
+
0: 'React',
|
|
1821
|
+
1: 'Blazor',
|
|
1822
|
+
2: 'BlazorServer',
|
|
1823
|
+
3: 'BlazorWebAssembly',
|
|
1824
|
+
4: 'BlazorHybrid',
|
|
1825
|
+
5: 'Html',
|
|
1826
|
+
6: 'Native',
|
|
1827
|
+
};
|
|
1828
|
+
|
|
1829
|
+
export type ViewChromeSlotKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
1830
|
+
|
|
1831
|
+
export const viewChromeSlotKinds = {
|
|
1832
|
+
actions: 0,
|
|
1833
|
+
badgeStrip: 1,
|
|
1834
|
+
metricStrip: 2,
|
|
1835
|
+
viewSwitch: 3,
|
|
1836
|
+
layoutSwitch: 4,
|
|
1837
|
+
headingTrailing: 5,
|
|
1838
|
+
status: 6,
|
|
1839
|
+
custom: 7,
|
|
1840
|
+
} as const satisfies Record<string, ViewChromeSlotKind>;
|
|
1841
|
+
|
|
1842
|
+
export const viewChromeSlotKindLabels: Record<ViewChromeSlotKind, string> = {
|
|
1843
|
+
0: 'Actions',
|
|
1844
|
+
1: 'BadgeStrip',
|
|
1845
|
+
2: 'MetricStrip',
|
|
1846
|
+
3: 'ViewSwitch',
|
|
1847
|
+
4: 'LayoutSwitch',
|
|
1848
|
+
5: 'HeadingTrailing',
|
|
1849
|
+
6: 'Status',
|
|
1850
|
+
7: 'Custom',
|
|
1851
|
+
};
|
|
1852
|
+
|
|
1853
|
+
export type ViewChromeSlotPlacement = 0 | 1 | 2 | 3 | 4 | 5;
|
|
1854
|
+
|
|
1855
|
+
export const viewChromeSlotPlacements = {
|
|
1856
|
+
none: 0,
|
|
1857
|
+
header: 1,
|
|
1858
|
+
toolbar: 2,
|
|
1859
|
+
beforeContent: 3,
|
|
1860
|
+
afterContent: 4,
|
|
1861
|
+
footer: 5,
|
|
1862
|
+
} as const satisfies Record<string, ViewChromeSlotPlacement>;
|
|
1863
|
+
|
|
1864
|
+
export const viewChromeSlotPlacementLabels: Record<ViewChromeSlotPlacement, string> = {
|
|
1865
|
+
0: 'None',
|
|
1866
|
+
1: 'Header',
|
|
1867
|
+
2: 'Toolbar',
|
|
1868
|
+
3: 'BeforeContent',
|
|
1869
|
+
4: 'AfterContent',
|
|
1870
|
+
5: 'Footer',
|
|
1871
|
+
};
|
|
1872
|
+
|
|
1873
|
+
export type ViewKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17;
|
|
1874
|
+
|
|
1875
|
+
export const viewKinds = {
|
|
1876
|
+
page: 0,
|
|
1877
|
+
panel: 1,
|
|
1878
|
+
collection: 2,
|
|
1879
|
+
recordDetail: 3,
|
|
1880
|
+
form: 4,
|
|
1881
|
+
dashboard: 5,
|
|
1882
|
+
graph: 6,
|
|
1883
|
+
timeline: 7,
|
|
1884
|
+
search: 8,
|
|
1885
|
+
wizard: 9,
|
|
1886
|
+
prompt: 10,
|
|
1887
|
+
modal: 11,
|
|
1888
|
+
drawer: 12,
|
|
1889
|
+
navigationShell: 13,
|
|
1890
|
+
commandSurface: 14,
|
|
1891
|
+
surface: 15,
|
|
1892
|
+
documentWorkspace: 16,
|
|
1893
|
+
tabbedSurface: 17,
|
|
1894
|
+
} as const satisfies Record<string, ViewKind>;
|
|
1895
|
+
|
|
1896
|
+
export const viewKindLabels: Record<ViewKind, string> = {
|
|
1897
|
+
0: 'Page',
|
|
1898
|
+
1: 'Panel',
|
|
1899
|
+
2: 'Collection',
|
|
1900
|
+
3: 'RecordDetail',
|
|
1901
|
+
4: 'Form',
|
|
1902
|
+
5: 'Dashboard',
|
|
1903
|
+
6: 'Graph',
|
|
1904
|
+
7: 'Timeline',
|
|
1905
|
+
8: 'Search',
|
|
1906
|
+
9: 'Wizard',
|
|
1907
|
+
10: 'Prompt',
|
|
1908
|
+
11: 'Modal',
|
|
1909
|
+
12: 'Drawer',
|
|
1910
|
+
13: 'NavigationShell',
|
|
1911
|
+
14: 'CommandSurface',
|
|
1912
|
+
15: 'Surface',
|
|
1913
|
+
16: 'DocumentWorkspace',
|
|
1914
|
+
17: 'TabbedSurface',
|
|
1915
|
+
};
|
|
1916
|
+
|
|
1917
|
+
export type ViewStateKind = 0 | 1 | 2 | 3;
|
|
1918
|
+
|
|
1919
|
+
export const viewStateKinds = {
|
|
1920
|
+
choice: 0,
|
|
1921
|
+
toggle: 1,
|
|
1922
|
+
value: 2,
|
|
1923
|
+
documentAddress: 3,
|
|
1924
|
+
} as const satisfies Record<string, ViewStateKind>;
|
|
1925
|
+
|
|
1926
|
+
export const viewStateKindLabels: Record<ViewStateKind, string> = {
|
|
1927
|
+
0: 'Choice',
|
|
1928
|
+
1: 'Toggle',
|
|
1929
|
+
2: 'Value',
|
|
1930
|
+
3: 'DocumentAddress',
|
|
1931
|
+
};
|
|
1932
|
+
|
|
1933
|
+
export type ViewSubjectKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14;
|
|
1934
|
+
|
|
1935
|
+
export const viewSubjectKinds = {
|
|
1936
|
+
shape: 0,
|
|
1937
|
+
entity: 1,
|
|
1938
|
+
relationProjection: 2,
|
|
1939
|
+
transitionInputForm: 3,
|
|
1940
|
+
effectStream: 4,
|
|
1941
|
+
localFlowState: 5,
|
|
1942
|
+
navigationNode: 6,
|
|
1943
|
+
generatedSearchResult: 7,
|
|
1944
|
+
dashboardAggregate: 8,
|
|
1945
|
+
route: 9,
|
|
1946
|
+
dataSource: 10,
|
|
1947
|
+
flow: 11,
|
|
1948
|
+
processes: 12,
|
|
1949
|
+
promptInput: 13,
|
|
1950
|
+
queryForm: 14,
|
|
1951
|
+
} as const satisfies Record<string, ViewSubjectKind>;
|
|
1952
|
+
|
|
1953
|
+
export const viewSubjectKindLabels: Record<ViewSubjectKind, string> = {
|
|
1954
|
+
0: 'Shape',
|
|
1955
|
+
1: 'Entity',
|
|
1956
|
+
2: 'RelationProjection',
|
|
1957
|
+
3: 'TransitionInputForm',
|
|
1958
|
+
4: 'EffectStream',
|
|
1959
|
+
5: 'LocalFlowState',
|
|
1960
|
+
6: 'NavigationNode',
|
|
1961
|
+
7: 'GeneratedSearchResult',
|
|
1962
|
+
8: 'DashboardAggregate',
|
|
1963
|
+
9: 'Route',
|
|
1964
|
+
10: 'DataSource',
|
|
1965
|
+
11: 'Flow',
|
|
1966
|
+
12: 'Processes',
|
|
1967
|
+
13: 'PromptInput',
|
|
1968
|
+
14: 'QueryForm',
|
|
1969
|
+
};
|
|
1970
|
+
|
|
1971
|
+
export type WorkspaceInstantiationMode = 0 | 1 | 2 | 3;
|
|
1972
|
+
|
|
1973
|
+
export const workspaceInstantiationModes = {
|
|
1974
|
+
shared: 0,
|
|
1975
|
+
routeScoped: 1,
|
|
1976
|
+
transient: 2,
|
|
1977
|
+
singleton: 3,
|
|
1978
|
+
} as const satisfies Record<string, WorkspaceInstantiationMode>;
|
|
1979
|
+
|
|
1980
|
+
export const workspaceInstantiationModeLabels: Record<WorkspaceInstantiationMode, string> = {
|
|
1981
|
+
0: 'Shared',
|
|
1982
|
+
1: 'RouteScoped',
|
|
1983
|
+
2: 'Transient',
|
|
1984
|
+
3: 'Singleton',
|
|
1985
|
+
};
|
|
1986
|
+
|
|
1987
|
+
export interface FieldPathSegment {
|
|
1988
|
+
Kind: SegmentKind;
|
|
1989
|
+
Segment?: string | null;
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
export type UnaryOperator = 0;
|
|
1993
|
+
|
|
1994
|
+
export const unaryOperators = {
|
|
1995
|
+
not: 0,
|
|
1996
|
+
} as const satisfies Record<string, UnaryOperator>;
|
|
1997
|
+
|
|
1998
|
+
export const unaryOperatorLabels: Record<UnaryOperator, string> = {
|
|
1999
|
+
0: 'Not',
|
|
2000
|
+
};
|
|
2001
|
+
|
|
2002
|
+
export type BinaryOperator = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
2003
|
+
|
|
2004
|
+
export const binaryOperators = {
|
|
2005
|
+
eq: 0,
|
|
2006
|
+
ne: 1,
|
|
2007
|
+
gt: 2,
|
|
2008
|
+
ge: 3,
|
|
2009
|
+
lt: 4,
|
|
2010
|
+
le: 5,
|
|
2011
|
+
and: 6,
|
|
2012
|
+
or: 7,
|
|
2013
|
+
add: 8,
|
|
2014
|
+
sub: 9,
|
|
2015
|
+
mul: 10,
|
|
2016
|
+
div: 11,
|
|
2017
|
+
} as const satisfies Record<string, BinaryOperator>;
|
|
2018
|
+
|
|
2019
|
+
export const binaryOperatorLabels: Record<BinaryOperator, string> = {
|
|
2020
|
+
0: 'Eq',
|
|
2021
|
+
1: 'Ne',
|
|
2022
|
+
2: 'Gt',
|
|
2023
|
+
3: 'Ge',
|
|
2024
|
+
4: 'Lt',
|
|
2025
|
+
5: 'Le',
|
|
2026
|
+
6: 'And',
|
|
2027
|
+
7: 'Or',
|
|
2028
|
+
8: 'Add',
|
|
2029
|
+
9: 'Sub',
|
|
2030
|
+
10: 'Mul',
|
|
2031
|
+
11: 'Div',
|
|
2032
|
+
};
|
|
2033
|
+
|
|
2034
|
+
export interface TypeId {
|
|
2035
|
+
Value: string;
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
export type ScalarTypeKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
2039
|
+
|
|
2040
|
+
export const scalarTypeKinds = {
|
|
2041
|
+
bool: 0,
|
|
2042
|
+
int32: 1,
|
|
2043
|
+
int64: 2,
|
|
2044
|
+
decimal: 3,
|
|
2045
|
+
string: 4,
|
|
2046
|
+
guid: 5,
|
|
2047
|
+
date: 6,
|
|
2048
|
+
dateTime: 7,
|
|
2049
|
+
instant: 8,
|
|
2050
|
+
bytes: 9,
|
|
2051
|
+
} as const satisfies Record<string, ScalarTypeKind>;
|
|
2052
|
+
|
|
2053
|
+
export const scalarTypeKindLabels: Record<ScalarTypeKind, string> = {
|
|
2054
|
+
0: 'Bool',
|
|
2055
|
+
1: 'Int32',
|
|
2056
|
+
2: 'Int64',
|
|
2057
|
+
3: 'Decimal',
|
|
2058
|
+
4: 'String',
|
|
2059
|
+
5: 'Guid',
|
|
2060
|
+
6: 'Date',
|
|
2061
|
+
7: 'DateTime',
|
|
2062
|
+
8: 'Instant',
|
|
2063
|
+
9: 'Bytes',
|
|
2064
|
+
};
|
|
2065
|
+
|
|
2066
|
+
export type PrimitiveFormat = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
2067
|
+
|
|
2068
|
+
export const primitiveFormats = {
|
|
2069
|
+
none: 0,
|
|
2070
|
+
uuid: 1,
|
|
2071
|
+
isoDate: 2,
|
|
2072
|
+
isoDateTime: 3,
|
|
2073
|
+
isoInstant: 4,
|
|
2074
|
+
currencyCode: 5,
|
|
2075
|
+
countryCode: 6,
|
|
2076
|
+
email: 7,
|
|
2077
|
+
uri: 8,
|
|
2078
|
+
base64: 9,
|
|
2079
|
+
} as const satisfies Record<string, PrimitiveFormat>;
|
|
2080
|
+
|
|
2081
|
+
export const primitiveFormatLabels: Record<PrimitiveFormat, string> = {
|
|
2082
|
+
0: 'None',
|
|
2083
|
+
1: 'Uuid',
|
|
2084
|
+
2: 'IsoDate',
|
|
2085
|
+
3: 'IsoDateTime',
|
|
2086
|
+
4: 'IsoInstant',
|
|
2087
|
+
5: 'CurrencyCode',
|
|
2088
|
+
6: 'CountryCode',
|
|
2089
|
+
7: 'Email',
|
|
2090
|
+
8: 'Uri',
|
|
2091
|
+
9: 'Base64',
|
|
2092
|
+
};
|
|
2093
|
+
|
|
2094
|
+
export interface EntityTypeName {
|
|
2095
|
+
Value: string;
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
export interface ObjectFieldTypeDef {
|
|
2099
|
+
Name: string;
|
|
2100
|
+
Type: TypeRef;
|
|
2101
|
+
Presence: FieldPresence;
|
|
2102
|
+
Annotations: ({
|
|
2103
|
+
Key: AnnotationKey;
|
|
2104
|
+
Value: AnnotationValue;
|
|
2105
|
+
})[];
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
export type JsonTypeKind = 0 | 1 | 2 | 3 | 4 | 5;
|
|
2109
|
+
|
|
2110
|
+
export const jsonTypeKinds = {
|
|
2111
|
+
any: 0,
|
|
2112
|
+
object: 1,
|
|
2113
|
+
array: 2,
|
|
2114
|
+
string: 3,
|
|
2115
|
+
number: 4,
|
|
2116
|
+
boolean: 5,
|
|
2117
|
+
} as const satisfies Record<string, JsonTypeKind>;
|
|
2118
|
+
|
|
2119
|
+
export const jsonTypeKindLabels: Record<JsonTypeKind, string> = {
|
|
2120
|
+
0: 'Any',
|
|
2121
|
+
1: 'Object',
|
|
2122
|
+
2: 'Array',
|
|
2123
|
+
3: 'String',
|
|
2124
|
+
4: 'Number',
|
|
2125
|
+
5: 'Boolean',
|
|
2126
|
+
};
|
|
2127
|
+
|
|
2128
|
+
export type SegmentKind = 0 | 2;
|
|
2129
|
+
|
|
2130
|
+
export const segmentKinds = {
|
|
2131
|
+
field: 0,
|
|
2132
|
+
element: 2,
|
|
2133
|
+
} as const satisfies Record<string, SegmentKind>;
|
|
2134
|
+
|
|
2135
|
+
export const segmentKindLabels: Record<SegmentKind, string> = {
|
|
2136
|
+
0: 'Field',
|
|
2137
|
+
2: 'Element',
|
|
2138
|
+
};
|
|
2139
|
+
|
|
2140
|
+
export type FieldPresence = 0 | 1;
|
|
2141
|
+
|
|
2142
|
+
export const fieldPresences = {
|
|
2143
|
+
required: 0,
|
|
2144
|
+
optional: 1,
|
|
2145
|
+
} as const satisfies Record<string, FieldPresence>;
|
|
2146
|
+
|
|
2147
|
+
export const fieldPresenceLabels: Record<FieldPresence, string> = {
|
|
2148
|
+
0: 'Required',
|
|
2149
|
+
1: 'Optional',
|
|
2150
|
+
};
|
|
2151
|
+
|
|
2152
|
+
export interface AnnotationKey {
|
|
2153
|
+
Value: string;
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
export interface AnnotationValue {
|
|
2157
|
+
Value?: unknown | null;
|
|
2158
|
+
}
|
|
2159
|
+
|
|
2160
|
+
export interface AccessibilityContract {
|
|
2161
|
+
Role: string;
|
|
2162
|
+
Label?: string | null;
|
|
2163
|
+
Description?: string | null;
|
|
2164
|
+
Keyboard?: string | null;
|
|
2165
|
+
Focus?: string | null;
|
|
2166
|
+
}
|
|
2167
|
+
|
|
2168
|
+
export interface ActionDefinition {
|
|
2169
|
+
Id: string;
|
|
2170
|
+
Name: string;
|
|
2171
|
+
Kind: ActionKind;
|
|
2172
|
+
Scope: ActionScopeKind;
|
|
2173
|
+
Binding: PresentationBindingDefinition;
|
|
2174
|
+
Parameters: ParameterDefinition[];
|
|
2175
|
+
Preparation?: ActionPreparation | null;
|
|
2176
|
+
Enablement: ActionEnablementCriterionDefinition[];
|
|
2177
|
+
Execution?: ActionExecutionPolicy | null;
|
|
2178
|
+
EndpointRequests: ActionEndpointRequestProjectionDefinition[];
|
|
2179
|
+
Result?: ActionResultPolicy | null;
|
|
2180
|
+
Design?: DesignIntent | null;
|
|
2181
|
+
Accessibility?: AccessibilityContract | null;
|
|
2182
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2183
|
+
Semantics?: ActionSemanticsDefinition | null;
|
|
2184
|
+
RuntimePresentation?: ActionRuntimePresentationDefinition | null;
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
export interface ActionEnablementCriterionDefinition {
|
|
2188
|
+
Id: string;
|
|
2189
|
+
Name: string;
|
|
2190
|
+
Kind: ActionEnablementCriterionKind;
|
|
2191
|
+
ProcessTaskSelectorId?: string | null;
|
|
2192
|
+
Message?: string | null;
|
|
2193
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2194
|
+
ReferencedActionId?: string | null;
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
export interface ActionEndpointRequestProjectionDefinition {
|
|
2198
|
+
DataSourceId?: string | null;
|
|
2199
|
+
EndpointId?: string | null;
|
|
2200
|
+
RouteParameters: ActionEndpointRequestValueBindingDefinition[];
|
|
2201
|
+
BodyFields: ActionEndpointRequestValueBindingDefinition[];
|
|
2202
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
export interface ActionEndpointRequestValueBindingDefinition {
|
|
2206
|
+
TargetPath: string;
|
|
2207
|
+
Source: PresentationValueDefinition;
|
|
2208
|
+
OmitWhenNull: boolean;
|
|
2209
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
export interface ActionExecutionPolicy {
|
|
2213
|
+
Mode: ActionExecutionMode;
|
|
2214
|
+
IsLongRunning: boolean;
|
|
2215
|
+
RequiresConfirmation: boolean;
|
|
2216
|
+
}
|
|
2217
|
+
|
|
2218
|
+
export interface ActionPlacementDefinition {
|
|
2219
|
+
ActionId: string;
|
|
2220
|
+
Region: string;
|
|
2221
|
+
Label?: string | null;
|
|
2222
|
+
Icon?: string | null;
|
|
2223
|
+
Intent?: string | null;
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
export interface ActionPreparation {
|
|
2227
|
+
Kind: PreparationKind;
|
|
2228
|
+
FlowId?: string | null;
|
|
2229
|
+
PromptViewId?: string | null;
|
|
2230
|
+
CanCancel: boolean;
|
|
2231
|
+
RequiresExplicitCommit: boolean;
|
|
2232
|
+
}
|
|
2233
|
+
|
|
2234
|
+
export interface ActionResultPolicy {
|
|
2235
|
+
InvalidateDataSourceIds: string[];
|
|
2236
|
+
NavigateToRouteId?: string | null;
|
|
2237
|
+
Toast?: string | null;
|
|
2238
|
+
StateWrites?: ActionResultStateWriteDefinition[] | null;
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
export interface ActionResultStateWriteDefinition {
|
|
2242
|
+
TargetDataSourceId: string;
|
|
2243
|
+
SourcePath?: string | null;
|
|
2244
|
+
Mode: ActionResultStateWriteMode;
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
export interface ActionRuntimeLabelVariantDefinition {
|
|
2248
|
+
Label: string;
|
|
2249
|
+
Condition: PresentationValueDefinition;
|
|
2250
|
+
ExpectedValue: string;
|
|
2251
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2254
|
+
export interface ActionRuntimePresentationDefinition {
|
|
2255
|
+
PendingLabel?: string | null;
|
|
2256
|
+
PendingLabelVariants: ActionRuntimeLabelVariantDefinition[];
|
|
2257
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
export interface ActionSemanticsDefinition {
|
|
2261
|
+
Kind: ActionSemanticsKind;
|
|
2262
|
+
LocalDocumentEditor?: LocalDocumentEditorActionSemantics | null;
|
|
2263
|
+
DocumentWorkspace?: DocumentWorkspaceActionSemantics | null;
|
|
2264
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2267
|
+
export interface CachePolicy {
|
|
2268
|
+
Kind: CachePolicyKind;
|
|
2269
|
+
StaleAfterSeconds?: number | null;
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
export interface CollectionChromeDefinition {
|
|
2273
|
+
Slots: CollectionChromeSlotDefinition[];
|
|
2274
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
export interface CollectionChromeSlotDefinition {
|
|
2278
|
+
Id: string;
|
|
2279
|
+
Name: string;
|
|
2280
|
+
Kind: CollectionChromeSlotKind;
|
|
2281
|
+
Placement: CollectionChromeSlotPlacement;
|
|
2282
|
+
DataSourceIds: string[];
|
|
2283
|
+
QueryFormId?: string | null;
|
|
2284
|
+
DetailViewId?: string | null;
|
|
2285
|
+
ActionIds: string[];
|
|
2286
|
+
RowActions: CollectionRowActionDefinition[];
|
|
2287
|
+
SelectionActions: CollectionSelectionActionDefinition[];
|
|
2288
|
+
Columns: CollectionColumnDefinition[];
|
|
2289
|
+
RowIdentityPath?: string | null;
|
|
2290
|
+
RowLabelPath?: string | null;
|
|
2291
|
+
SelectionMode?: CollectionSelectionMode | null;
|
|
2292
|
+
ActivatedRowActionId?: string | null;
|
|
2293
|
+
ActivateOnRowClick: boolean;
|
|
2294
|
+
SelectOnRowClick: boolean;
|
|
2295
|
+
DetailActivation?: CollectionDetailActivation | null;
|
|
2296
|
+
Title?: string | null;
|
|
2297
|
+
EmptyMessage?: string | null;
|
|
2298
|
+
ClearSelectionOnQueryChange: boolean;
|
|
2299
|
+
FieldIds: string[];
|
|
2300
|
+
StateId?: string | null;
|
|
2301
|
+
Value?: PresentationValueDefinition | null;
|
|
2302
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2303
|
+
}
|
|
2304
|
+
|
|
2305
|
+
export interface CollectionColumnDefinition {
|
|
2306
|
+
Id: string;
|
|
2307
|
+
FieldId: string;
|
|
2308
|
+
ValuePath?: string | null;
|
|
2309
|
+
IsVisible: boolean;
|
|
2310
|
+
Order: number;
|
|
2311
|
+
Width?: string | null;
|
|
2312
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
export interface CollectionRowActionDefinition {
|
|
2316
|
+
Id: string;
|
|
2317
|
+
ActionId: string;
|
|
2318
|
+
Kind: CollectionRowActionKind;
|
|
2319
|
+
Label?: string | null;
|
|
2320
|
+
Icon?: string | null;
|
|
2321
|
+
Order: number;
|
|
2322
|
+
Parameters: CollectionRowActionParameterBindingDefinition[];
|
|
2323
|
+
IsEnabled?: PresentationValueDefinition | null;
|
|
2324
|
+
IsVisible?: PresentationValueDefinition | null;
|
|
2325
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2326
|
+
}
|
|
2327
|
+
|
|
2328
|
+
export interface CollectionRowActionParameterBindingDefinition {
|
|
2329
|
+
Name: string;
|
|
2330
|
+
ValuePath: string;
|
|
2331
|
+
FieldId?: string | null;
|
|
2332
|
+
OmitWhenNull: boolean;
|
|
2333
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
export interface CollectionSelectionActionDefinition {
|
|
2337
|
+
Id: string;
|
|
2338
|
+
ActionId: string;
|
|
2339
|
+
Label?: string | null;
|
|
2340
|
+
Icon?: string | null;
|
|
2341
|
+
Order: number;
|
|
2342
|
+
MinimumSelectionCount: number;
|
|
2343
|
+
MaximumSelectionCount?: number | null;
|
|
2344
|
+
Parameters: CollectionSelectionActionParameterBindingDefinition[];
|
|
2345
|
+
IsEnabled?: PresentationValueDefinition | null;
|
|
2346
|
+
IsVisible?: PresentationValueDefinition | null;
|
|
2347
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
export interface CollectionSelectionActionParameterBindingDefinition {
|
|
2351
|
+
Name: string;
|
|
2352
|
+
Source: CollectionSelectionActionParameterSource;
|
|
2353
|
+
ValuePath?: string | null;
|
|
2354
|
+
FieldId?: string | null;
|
|
2355
|
+
OmitWhenEmpty: boolean;
|
|
2356
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2357
|
+
}
|
|
2358
|
+
|
|
2359
|
+
export interface CollectionViewDefinition {
|
|
2360
|
+
Chrome: CollectionChromeDefinition;
|
|
2361
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
export interface CoordinationActionDefinition {
|
|
2365
|
+
Kind: CoordinationActionKind;
|
|
2366
|
+
TargetProjectionIds: string[];
|
|
2367
|
+
StateId?: string | null;
|
|
2368
|
+
ActionId?: string | null;
|
|
2369
|
+
ExpressionId?: string | null;
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
export interface CoordinationDefinition {
|
|
2373
|
+
Id: string;
|
|
2374
|
+
Name: string;
|
|
2375
|
+
Trigger: CoordinationTriggerDefinition;
|
|
2376
|
+
Action: CoordinationActionDefinition;
|
|
2377
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
export interface CoordinationTriggerDefinition {
|
|
2381
|
+
Kind: CoordinationTriggerKind;
|
|
2382
|
+
SourceProjectionId?: string | null;
|
|
2383
|
+
StateId?: string | null;
|
|
2384
|
+
}
|
|
2385
|
+
|
|
2386
|
+
export interface CursorStateDefinition {
|
|
2387
|
+
ProjectionId?: string | null;
|
|
2388
|
+
Coordinate?: ProjectionCoordinateDefinition | null;
|
|
2389
|
+
SemanticReference?: SemanticReference | null;
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
export interface DataSourceAggregateMaterialization {
|
|
2393
|
+
Kind: DataSourceAggregateMaterializationKind;
|
|
2394
|
+
PageSize?: number | null;
|
|
2395
|
+
}
|
|
2396
|
+
|
|
2397
|
+
export interface DataSourceAggregateMeasure {
|
|
2398
|
+
Id: string;
|
|
2399
|
+
TargetPath: string;
|
|
2400
|
+
Operator: AggregateOperator;
|
|
2401
|
+
SourceField?: FieldPath | null;
|
|
2402
|
+
Predicate?: DataSourceAggregatePredicate | null;
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
export interface DataSourceAggregatePredicate {
|
|
2406
|
+
Kind: DataSourceAggregatePredicateKind;
|
|
2407
|
+
Field?: FieldPath | null;
|
|
2408
|
+
Value?: string | null;
|
|
2409
|
+
Terms?: DataSourceAggregatePredicate[] | null;
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2412
|
+
export interface DataSourceAggregateQuery {
|
|
2413
|
+
SourceDataSourceId: string;
|
|
2414
|
+
Materialization: DataSourceAggregateMaterialization;
|
|
2415
|
+
Measures: DataSourceAggregateMeasure[];
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2418
|
+
export interface DataSourceDefinition {
|
|
2419
|
+
Id: string;
|
|
2420
|
+
Name: string;
|
|
2421
|
+
Kind: DataSourceKind;
|
|
2422
|
+
ResultShape: string;
|
|
2423
|
+
Parameters: ParameterDefinition[];
|
|
2424
|
+
DefaultSort: SortDefinition[];
|
|
2425
|
+
Cache?: CachePolicy | null;
|
|
2426
|
+
Invalidation?: InvalidationPolicy | null;
|
|
2427
|
+
Residency?: ResidencyHint | null;
|
|
2428
|
+
Binding?: PresentationBindingDefinition | null;
|
|
2429
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2430
|
+
Query?: DataSourceQueryDefinition | null;
|
|
2431
|
+
Aggregation?: DataSourceAggregateQuery | null;
|
|
2432
|
+
}
|
|
2433
|
+
|
|
2434
|
+
export interface DataSourcePaginationDefinition {
|
|
2435
|
+
Kind: DataSourcePaginationKind;
|
|
2436
|
+
DefaultPageSize?: number | null;
|
|
2437
|
+
Request: DataSourcePaginationRequestBindingDefinition;
|
|
2438
|
+
Response: DataSourcePaginationResponseBindingDefinition;
|
|
2439
|
+
Url?: DataSourcePaginationUrlPolicyDefinition | null;
|
|
2440
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
export interface DataSourcePaginationRequestBindingDefinition {
|
|
2444
|
+
LimitField?: string | null;
|
|
2445
|
+
CursorField?: string | null;
|
|
2446
|
+
OffsetField?: string | null;
|
|
2447
|
+
SkipField?: string | null;
|
|
2448
|
+
PageField?: string | null;
|
|
2449
|
+
PageNumberField?: string | null;
|
|
2450
|
+
}
|
|
2451
|
+
|
|
2452
|
+
export interface DataSourcePaginationResponseBindingDefinition {
|
|
2453
|
+
CursorField?: string | null;
|
|
2454
|
+
HasNextPageField?: string | null;
|
|
2455
|
+
LimitField?: string | null;
|
|
2456
|
+
OffsetField?: string | null;
|
|
2457
|
+
PageField?: string | null;
|
|
2458
|
+
PageNumberField?: string | null;
|
|
2459
|
+
TotalCountField?: string | null;
|
|
2460
|
+
TotalCountDataSourceId?: string | null;
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2463
|
+
export interface DataSourcePaginationUrlPolicyDefinition {
|
|
2464
|
+
IsEnabled: boolean;
|
|
2465
|
+
ParameterPrefix?: string | null;
|
|
2466
|
+
}
|
|
2467
|
+
|
|
2468
|
+
export interface DataSourceQueryDefinition {
|
|
2469
|
+
ModelShape: string;
|
|
2470
|
+
ValueShape?: string | null;
|
|
2471
|
+
RequestShape?: string | null;
|
|
2472
|
+
ResponseShape?: string | null;
|
|
2473
|
+
ItemShape?: string | null;
|
|
2474
|
+
FactDataSourceIds: string[];
|
|
2475
|
+
Fields: DataSourceQueryFieldDefinition[];
|
|
2476
|
+
EndpointBindings: DataSourceQueryEndpointBindingDefinition[];
|
|
2477
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2478
|
+
Pagination?: DataSourcePaginationDefinition | null;
|
|
2479
|
+
}
|
|
2480
|
+
|
|
2481
|
+
export interface DataSourceQueryEndpointBindingDefinition {
|
|
2482
|
+
EndpointId: string;
|
|
2483
|
+
RequestShape: string;
|
|
2484
|
+
ResponseShape?: string | null;
|
|
2485
|
+
ItemsPath?: string | null;
|
|
2486
|
+
Lowerings: QueryLoweringDefinition[];
|
|
2487
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2490
|
+
export interface DataSourceQueryFieldDefinition {
|
|
2491
|
+
Id: string;
|
|
2492
|
+
Name: string;
|
|
2493
|
+
ModelPaths: string[];
|
|
2494
|
+
ValuePath?: string | null;
|
|
2495
|
+
RequestPaths: string[];
|
|
2496
|
+
Operators: string[];
|
|
2497
|
+
FieldId?: string | null;
|
|
2498
|
+
ChoiceDataSourceId?: string | null;
|
|
2499
|
+
ChoiceItemsPath?: string | null;
|
|
2500
|
+
Transform?: string | null;
|
|
2501
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
export interface DataSourceRefDefinition {
|
|
2505
|
+
DataSourceId: string;
|
|
2506
|
+
FieldPath?: string | null;
|
|
2507
|
+
}
|
|
2508
|
+
|
|
2509
|
+
export interface DesignIntent {
|
|
2510
|
+
Role: string;
|
|
2511
|
+
Variant: string;
|
|
2512
|
+
Tone: string;
|
|
2513
|
+
Density: string;
|
|
2514
|
+
Size: string;
|
|
2515
|
+
Layout?: string | null;
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2518
|
+
export interface DesignSystemBindingDefinition {
|
|
2519
|
+
Id: string;
|
|
2520
|
+
Name: string;
|
|
2521
|
+
Kind: DesignSystemKind;
|
|
2522
|
+
ComponentBindings: PresentationBindingDefinition[];
|
|
2523
|
+
Tones: DesignToneDefinition[];
|
|
2524
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2525
|
+
}
|
|
2526
|
+
|
|
2527
|
+
export interface DesignToneDefinition {
|
|
2528
|
+
Id: string;
|
|
2529
|
+
Label: string;
|
|
2530
|
+
}
|
|
2531
|
+
|
|
2532
|
+
export interface DocumentActionRuntimeProfileDefinition {
|
|
2533
|
+
Id: string;
|
|
2534
|
+
Name: string;
|
|
2535
|
+
ActionId: string;
|
|
2536
|
+
FlowId?: string | null;
|
|
2537
|
+
DiagnosticsKeyPrefix: string;
|
|
2538
|
+
ProcessInputStateKeySuffix: string;
|
|
2539
|
+
Source: string;
|
|
2540
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2543
|
+
export interface DocumentActionStatusNoticeDefinition {
|
|
2544
|
+
Id: string;
|
|
2545
|
+
Name: string;
|
|
2546
|
+
ActionId: string;
|
|
2547
|
+
Kind: DocumentActionStatusNoticeKind;
|
|
2548
|
+
Region: string;
|
|
2549
|
+
Content?: PresentationContentDefinition | null;
|
|
2550
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2553
|
+
export interface DocumentAddressDefinition {
|
|
2554
|
+
Kind: DocumentAddressKind;
|
|
2555
|
+
Root?: string | null;
|
|
2556
|
+
}
|
|
2557
|
+
|
|
2558
|
+
export interface DocumentDataSourceActivationPolicyDefinition {
|
|
2559
|
+
RequiredRouteParameterNames: string[];
|
|
2560
|
+
ProjectionIds: string[];
|
|
2561
|
+
ViewIds: string[];
|
|
2562
|
+
LayoutModeIds: string[];
|
|
2563
|
+
}
|
|
2564
|
+
|
|
2565
|
+
export interface DocumentDataSourceDefinition {
|
|
2566
|
+
Id: string;
|
|
2567
|
+
Role: DocumentDataSourceRole;
|
|
2568
|
+
DataSource: DataSourceRefDefinition;
|
|
2569
|
+
IsRequired: boolean;
|
|
2570
|
+
Description?: string | null;
|
|
2571
|
+
Activation?: DocumentDataSourceActivationPolicyDefinition | null;
|
|
2572
|
+
}
|
|
2573
|
+
|
|
2574
|
+
export interface DocumentIdentityDefinition {
|
|
2575
|
+
DocumentIdField: string;
|
|
2576
|
+
VersionField?: string | null;
|
|
2577
|
+
SemanticKeyFields: string[];
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2580
|
+
export interface DocumentMetricSourceDefinition {
|
|
2581
|
+
FieldId: string;
|
|
2582
|
+
Source: DataSourceRefDefinition;
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
export interface DocumentProcessTaskNoticeActionDefinition {
|
|
2586
|
+
Placement: ActionPlacementDefinition;
|
|
2587
|
+
TargetPreference: DocumentProcessTaskNoticeActionTargetKind[];
|
|
2588
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2589
|
+
}
|
|
2590
|
+
|
|
2591
|
+
export interface DocumentProcessTaskNoticeDefinition {
|
|
2592
|
+
Id: string;
|
|
2593
|
+
Name: string;
|
|
2594
|
+
ProcessTaskSelectorId: string;
|
|
2595
|
+
Region: string;
|
|
2596
|
+
Content?: PresentationContentDefinition | null;
|
|
2597
|
+
Actions: DocumentProcessTaskNoticeActionDefinition[];
|
|
2598
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2599
|
+
StatusFieldId?: string | null;
|
|
2600
|
+
}
|
|
2601
|
+
|
|
2602
|
+
export interface DocumentProfileDefinition {
|
|
2603
|
+
Id: string;
|
|
2604
|
+
Name: string;
|
|
2605
|
+
Document: DocumentSourceDefinition;
|
|
2606
|
+
DataSources: DocumentDataSourceDefinition[];
|
|
2607
|
+
Projections: ProjectionDefinition[];
|
|
2608
|
+
Layout: WorkspaceLayoutDefinition;
|
|
2609
|
+
SharedState: InteractionStateDefinition;
|
|
2610
|
+
Coordination: CoordinationDefinition[];
|
|
2611
|
+
MetricSources: DocumentMetricSourceDefinition[];
|
|
2612
|
+
ActionStatusNotices: DocumentActionStatusNoticeDefinition[];
|
|
2613
|
+
ProcessTaskSelectors: ProcessTaskSelectorDefinition[];
|
|
2614
|
+
ProcessTaskNotices: DocumentProcessTaskNoticeDefinition[];
|
|
2615
|
+
ActionRuntimeProfiles: DocumentActionRuntimeProfileDefinition[];
|
|
2616
|
+
Actions: ActionPlacementDefinition[];
|
|
2617
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2618
|
+
}
|
|
2619
|
+
|
|
2620
|
+
export interface DocumentSourceDefinition {
|
|
2621
|
+
Id: string;
|
|
2622
|
+
Kind: DocumentKind;
|
|
2623
|
+
RootShape: ShapeRefDefinition;
|
|
2624
|
+
DataSource: DataSourceRefDefinition;
|
|
2625
|
+
Address: DocumentAddressDefinition;
|
|
2626
|
+
Identity: DocumentIdentityDefinition;
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
export interface DocumentWorkspaceActionSemantics {
|
|
2630
|
+
Kind: DocumentWorkspaceActionKind;
|
|
2631
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2632
|
+
}
|
|
2633
|
+
|
|
2634
|
+
export interface DocumentWorkspaceSurfaceSlotDefinition {
|
|
2635
|
+
Id: string;
|
|
2636
|
+
Role: DocumentWorkspaceSurfaceSlotRole;
|
|
2637
|
+
RegionKind?: ViewRegionKind | null;
|
|
2638
|
+
RequiresHostedView: boolean;
|
|
2639
|
+
Renderer?: PresentationBindingDefinition | null;
|
|
2640
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2641
|
+
}
|
|
2642
|
+
|
|
2643
|
+
export interface ExpandedStateDefinition {
|
|
2644
|
+
ProjectionId: string;
|
|
2645
|
+
ExpandedCoordinateIds: string[];
|
|
2646
|
+
AutoExpandRoot: boolean;
|
|
2647
|
+
AutoExpandSingleChildChains: boolean;
|
|
2648
|
+
}
|
|
2649
|
+
|
|
2650
|
+
export interface FieldDisplayOptions {
|
|
2651
|
+
Tone?: string | null;
|
|
2652
|
+
EmptyValueLabel?: string | null;
|
|
2653
|
+
ValueLabels?: FieldValueLabelDefinition[] | null;
|
|
2654
|
+
ValueTones?: FieldValueToneDefinition[] | null;
|
|
2655
|
+
ValueIcons?: FieldValueIconDefinition[] | null;
|
|
2656
|
+
ValuePrefix?: string | null;
|
|
2657
|
+
LabelFieldPaths?: string[] | null;
|
|
2658
|
+
ToneFieldPaths?: string[] | null;
|
|
2659
|
+
InlineBadges?: FieldInlineBadgeDefinition[] | null;
|
|
2660
|
+
SupportingValues?: FieldSupportingValueDefinition[] | null;
|
|
2661
|
+
SupportingFieldPaths?: string[] | null;
|
|
2662
|
+
FallbackFieldPaths?: string[] | null;
|
|
2663
|
+
EntityReferenceFallback?: FieldEntityReferenceFallbackKind | null;
|
|
2664
|
+
JsonMode?: FieldJsonDisplayMode | null;
|
|
2665
|
+
}
|
|
2666
|
+
|
|
2667
|
+
export interface FieldInlineBadgeDefinition {
|
|
2668
|
+
FieldPath: string;
|
|
2669
|
+
Tone?: string | null;
|
|
2670
|
+
ToneFieldPath?: string | null;
|
|
2671
|
+
}
|
|
2672
|
+
|
|
2673
|
+
export interface FieldPresentationCapability {
|
|
2674
|
+
Name: string;
|
|
2675
|
+
}
|
|
2676
|
+
|
|
2677
|
+
export interface FieldPresentationDefinition {
|
|
2678
|
+
Id: string;
|
|
2679
|
+
Field: string;
|
|
2680
|
+
Label: string;
|
|
2681
|
+
Description?: string | null;
|
|
2682
|
+
DisplayKind: FieldDisplayKind;
|
|
2683
|
+
EditKind: FieldEditKind;
|
|
2684
|
+
Format?: FormatDefinition | null;
|
|
2685
|
+
Display?: FieldDisplayOptions | null;
|
|
2686
|
+
Source?: FieldValueSourceDefinition | null;
|
|
2687
|
+
Capabilities: string[];
|
|
2688
|
+
Design?: DesignIntent | null;
|
|
2689
|
+
Accessibility?: AccessibilityContract | null;
|
|
2690
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2691
|
+
Icon?: string | null;
|
|
2692
|
+
}
|
|
2693
|
+
|
|
2694
|
+
export interface FieldSupportingValueDefinition {
|
|
2695
|
+
FieldPath: string;
|
|
2696
|
+
Prefix?: string | null;
|
|
2697
|
+
Suffix?: string | null;
|
|
2698
|
+
Separator?: string | null;
|
|
2699
|
+
}
|
|
2700
|
+
|
|
2701
|
+
export interface FieldValueIconDefinition {
|
|
2702
|
+
Value: string;
|
|
2703
|
+
Icon: string;
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
export interface FieldValueLabelDefinition {
|
|
2707
|
+
Value: string;
|
|
2708
|
+
Label: string;
|
|
2709
|
+
}
|
|
2710
|
+
|
|
2711
|
+
export interface FieldValueSourceDefinition {
|
|
2712
|
+
Kind: FieldValueSourceKind;
|
|
2713
|
+
DataSourceId: string;
|
|
2714
|
+
FieldPath: string;
|
|
2715
|
+
SourceDataSourceIds: string[];
|
|
2716
|
+
ExpressionId?: string | null;
|
|
2717
|
+
Aggregation?: FieldAggregationKind | null;
|
|
2718
|
+
Residency?: ResidencyHint | null;
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
export interface FieldValueToneDefinition {
|
|
2722
|
+
Value: string;
|
|
2723
|
+
Tone: string;
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
export interface FlowDefinition {
|
|
2727
|
+
Id: string;
|
|
2728
|
+
Name: string;
|
|
2729
|
+
InitialStateId: string;
|
|
2730
|
+
States: FlowStateDefinition[];
|
|
2731
|
+
Transitions: FlowTransitionDefinition[];
|
|
2732
|
+
Variables: FlowVariableDefinition[];
|
|
2733
|
+
Residency: ResidencyHint;
|
|
2734
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
export interface FlowStateDefinition {
|
|
2738
|
+
Id: string;
|
|
2739
|
+
Name: string;
|
|
2740
|
+
Kind: FlowStateKind;
|
|
2741
|
+
ViewId?: string | null;
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2744
|
+
export interface FlowTransitionDefinition {
|
|
2745
|
+
Id: string;
|
|
2746
|
+
FromStateId: string;
|
|
2747
|
+
ToStateId: string;
|
|
2748
|
+
Event: string;
|
|
2749
|
+
ActionId?: string | null;
|
|
2750
|
+
Guard?: string | null;
|
|
2751
|
+
}
|
|
2752
|
+
|
|
2753
|
+
export interface FlowVariableDefinition {
|
|
2754
|
+
Name: string;
|
|
2755
|
+
Type: string;
|
|
2756
|
+
InitialValue?: string | null;
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2759
|
+
export interface FocusStateDefinition {
|
|
2760
|
+
ProjectionId: string;
|
|
2761
|
+
Coordinate?: ProjectionCoordinateDefinition | null;
|
|
2762
|
+
SemanticReference?: SemanticReference | null;
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
export interface FormatDefinition {
|
|
2766
|
+
Kind: FormatKind;
|
|
2767
|
+
Pattern?: string | null;
|
|
2768
|
+
TimeZone?: string | null;
|
|
2769
|
+
Unit?: string | null;
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2772
|
+
export interface InputFormChoiceSourceDefinition {
|
|
2773
|
+
Kind: InputFormChoiceSourceKind;
|
|
2774
|
+
DataSourceId?: string | null;
|
|
2775
|
+
FactsPath?: string | null;
|
|
2776
|
+
CollectionPath?: string | null;
|
|
2777
|
+
ValuePath: string;
|
|
2778
|
+
LabelPath: string;
|
|
2779
|
+
TonePath?: string | null;
|
|
2780
|
+
DefaultSelection: InputFormChoiceDefaultSelection;
|
|
2781
|
+
}
|
|
2782
|
+
|
|
2783
|
+
export interface InputFormDefaultValueBindingDefinition {
|
|
2784
|
+
TargetPath: string;
|
|
2785
|
+
Source: PresentationValueDefinition;
|
|
2786
|
+
OmitWhenNull: boolean;
|
|
2787
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
export interface InputFormDefinition {
|
|
2791
|
+
Id: string;
|
|
2792
|
+
Name: string;
|
|
2793
|
+
Description?: string | null;
|
|
2794
|
+
StateDataSourceId: string;
|
|
2795
|
+
SharedStateId?: string | null;
|
|
2796
|
+
Shapes: InputFormShapeRefsDefinition;
|
|
2797
|
+
Groups: InputFormGroupDefinition[];
|
|
2798
|
+
Fields: InputFormFieldDefinition[];
|
|
2799
|
+
Target: InputFormTargetDefinition;
|
|
2800
|
+
Validation: InputFormValidationDefinition;
|
|
2801
|
+
Enrichment?: InputFormEnrichmentDefinition | null;
|
|
2802
|
+
Suggestions: InputFormSuggestionSourceDefinition[];
|
|
2803
|
+
Actions: ActionPlacementDefinition[];
|
|
2804
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2805
|
+
DefaultValues?: InputFormDefaultValueBindingDefinition[] | null;
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
export interface InputFormEnrichmentDefinition {
|
|
2809
|
+
EndpointId?: string | null;
|
|
2810
|
+
RequestShape?: ShapeRefDefinition | null;
|
|
2811
|
+
ResultShape?: ShapeRefDefinition | null;
|
|
2812
|
+
Stages: InputFormEnrichmentStageDefinition[];
|
|
2813
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2814
|
+
}
|
|
2815
|
+
|
|
2816
|
+
export interface InputFormEnrichmentResultDefinition {
|
|
2817
|
+
FormId: string;
|
|
2818
|
+
StateId: string;
|
|
2819
|
+
ValueShape?: ShapeRefDefinition | null;
|
|
2820
|
+
FactsShape?: ShapeRefDefinition | null;
|
|
2821
|
+
Diagnostics: InputFormValidationDiagnosticDefinition[];
|
|
2822
|
+
Suggestions: InputFormSuggestionDefinition[];
|
|
2823
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
export interface InputFormEnrichmentStageDefinition {
|
|
2827
|
+
Id: string;
|
|
2828
|
+
Kind: InputFormEnrichmentStageKind;
|
|
2829
|
+
Name?: string | null;
|
|
2830
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2831
|
+
}
|
|
2832
|
+
|
|
2833
|
+
export interface InputFormFieldDefinition {
|
|
2834
|
+
Id: string;
|
|
2835
|
+
FieldId: string;
|
|
2836
|
+
Name: string;
|
|
2837
|
+
Kind: InputFormFieldKind;
|
|
2838
|
+
ValuePath: string;
|
|
2839
|
+
GroupId: string;
|
|
2840
|
+
IsRequired: boolean;
|
|
2841
|
+
DefaultValue?: string | null;
|
|
2842
|
+
Placeholder?: string | null;
|
|
2843
|
+
Display?: InputFormFieldDisplayOptions | null;
|
|
2844
|
+
ChoiceSource?: InputFormChoiceSourceDefinition | null;
|
|
2845
|
+
TargetBindingIds: string[];
|
|
2846
|
+
SuggestionSourceIds: string[];
|
|
2847
|
+
Design?: DesignIntent | null;
|
|
2848
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
export interface InputFormFieldDisplayOptions {
|
|
2852
|
+
Control?: InputFormFieldControlKind | null;
|
|
2853
|
+
EmptyValueLabel?: string | null;
|
|
2854
|
+
IncrementMinutes?: number | null;
|
|
2855
|
+
ShowTimezone?: boolean | null;
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
export interface InputFormGroupDefinition {
|
|
2859
|
+
Id: string;
|
|
2860
|
+
Name: string;
|
|
2861
|
+
Description?: string | null;
|
|
2862
|
+
FieldIds: string[];
|
|
2863
|
+
Kind: InputFormGroupKind;
|
|
2864
|
+
Display: InputFormGroupDisplayIntentDefinition;
|
|
2865
|
+
Design?: DesignIntent | null;
|
|
2866
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2869
|
+
export interface InputFormGroupDisplayIntentDefinition {
|
|
2870
|
+
Container: InputFormGroupContainerIntent;
|
|
2871
|
+
Priority: number;
|
|
2872
|
+
SemanticDensity: string;
|
|
2873
|
+
Orientation?: string | null;
|
|
2874
|
+
IsCollapsible: boolean;
|
|
2875
|
+
IsDefaultCollapsed: boolean;
|
|
2876
|
+
}
|
|
2877
|
+
|
|
2878
|
+
export interface InputFormShapeRefsDefinition {
|
|
2879
|
+
SubjectShape?: ShapeRefDefinition | null;
|
|
2880
|
+
ValueShape?: ShapeRefDefinition | null;
|
|
2881
|
+
TargetInputShape?: ShapeRefDefinition | null;
|
|
2882
|
+
ResultShape?: ShapeRefDefinition | null;
|
|
2883
|
+
FactsShape?: ShapeRefDefinition | null;
|
|
2884
|
+
}
|
|
2885
|
+
|
|
2886
|
+
export interface InputFormSuggestionDefinition {
|
|
2887
|
+
Id: string;
|
|
2888
|
+
SourceId: string;
|
|
2889
|
+
Label: string;
|
|
2890
|
+
Description?: string | null;
|
|
2891
|
+
Value: string;
|
|
2892
|
+
Tone?: string | null;
|
|
2893
|
+
Writes: InputFormSuggestionValueBindingDefinition[];
|
|
2894
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2895
|
+
}
|
|
2896
|
+
|
|
2897
|
+
export interface InputFormSuggestionSourceDefinition {
|
|
2898
|
+
Id: string;
|
|
2899
|
+
Kind: InputFormSuggestionSourceKind;
|
|
2900
|
+
Name?: string | null;
|
|
2901
|
+
DataSourceId?: string | null;
|
|
2902
|
+
EndpointId?: string | null;
|
|
2903
|
+
FactsPath?: string | null;
|
|
2904
|
+
TriggerFieldIds: string[];
|
|
2905
|
+
MinimumInputLength?: number | null;
|
|
2906
|
+
DebounceMilliseconds?: number | null;
|
|
2907
|
+
Writes: InputFormSuggestionValueBindingDefinition[];
|
|
2908
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2911
|
+
export interface InputFormSuggestionValueBindingDefinition {
|
|
2912
|
+
Target: InputFormSuggestionWriteTarget;
|
|
2913
|
+
Path: string;
|
|
2914
|
+
ValuePath?: string | null;
|
|
2915
|
+
}
|
|
2916
|
+
|
|
2917
|
+
export interface InputFormTargetDefinition {
|
|
2918
|
+
Kind: InputFormTargetKind;
|
|
2919
|
+
Id: string;
|
|
2920
|
+
Name?: string | null;
|
|
2921
|
+
DataSourceId?: string | null;
|
|
2922
|
+
EndpointId?: string | null;
|
|
2923
|
+
ProcessType?: string | null;
|
|
2924
|
+
TransitionId?: string | null;
|
|
2925
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
export interface InputFormValidationDefinition {
|
|
2929
|
+
Sources: InputFormValidationSourceDefinition[];
|
|
2930
|
+
StaticDiagnostics: InputFormValidationDiagnosticDefinition[];
|
|
2931
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
export interface InputFormValidationDiagnosticDefinition {
|
|
2935
|
+
Id: string;
|
|
2936
|
+
Severity: ValidationMarkerSeverity;
|
|
2937
|
+
Scope: InputFormValidationScope;
|
|
2938
|
+
Path?: string | null;
|
|
2939
|
+
FieldId?: string | null;
|
|
2940
|
+
GroupId?: string | null;
|
|
2941
|
+
Code: string;
|
|
2942
|
+
Message: string;
|
|
2943
|
+
Blocking: boolean;
|
|
2944
|
+
SourceId?: string | null;
|
|
2945
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
export interface InputFormValidationSourceDefinition {
|
|
2949
|
+
Id: string;
|
|
2950
|
+
Kind: InputFormValidationSourceKind;
|
|
2951
|
+
Name?: string | null;
|
|
2952
|
+
EndpointId?: string | null;
|
|
2953
|
+
BlockingByDefault: boolean;
|
|
2954
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
export interface InteractionStateDefinition {
|
|
2958
|
+
Selection: SelectionStateDefinition;
|
|
2959
|
+
Cursor: CursorStateDefinition;
|
|
2960
|
+
Expanded: ExpandedStateDefinition[];
|
|
2961
|
+
Validation: ValidationMarkerDefinition[];
|
|
2962
|
+
Search: SearchStateDefinition[];
|
|
2963
|
+
Focus: FocusStateDefinition[];
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2966
|
+
export interface InvalidationPolicy {
|
|
2967
|
+
DataSourceIds: string[];
|
|
2968
|
+
ActionIds: string[];
|
|
2969
|
+
EntityIds: string[];
|
|
2970
|
+
}
|
|
2971
|
+
|
|
2972
|
+
export interface LayoutDefinition {
|
|
2973
|
+
DefaultRegionId: string;
|
|
2974
|
+
Root: LayoutNodeDefinition;
|
|
2975
|
+
}
|
|
2976
|
+
|
|
2977
|
+
export interface LayoutNodeDefinition {
|
|
2978
|
+
Id: string;
|
|
2979
|
+
Kind: LayoutNodeKind;
|
|
2980
|
+
Orientation: LayoutOrientation;
|
|
2981
|
+
ProjectionIds: string[];
|
|
2982
|
+
ViewIds: string[];
|
|
2983
|
+
Children: LayoutNodeDefinition[];
|
|
2984
|
+
Size?: number | null;
|
|
2985
|
+
Placement?: string | null;
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
export interface LocalDocumentEditorActionSemantics {
|
|
2989
|
+
Kind: LocalDocumentEditorActionKind;
|
|
2990
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
2991
|
+
}
|
|
2992
|
+
|
|
2993
|
+
export interface NavigationActionDefinition {
|
|
2994
|
+
Id: string;
|
|
2995
|
+
Name: string;
|
|
2996
|
+
Kind: NavigationActionKind;
|
|
2997
|
+
RouteId?: string | null;
|
|
2998
|
+
PageHostId?: string | null;
|
|
2999
|
+
SourceNodeId?: string | null;
|
|
3000
|
+
TargetNodeId?: string | null;
|
|
3001
|
+
Parameters: NavigationRouteParameterDefinition[];
|
|
3002
|
+
Context: NavigationContextEffectDefinition;
|
|
3003
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3004
|
+
}
|
|
3005
|
+
|
|
3006
|
+
export interface NavigationContextDefinition {
|
|
3007
|
+
Id: string;
|
|
3008
|
+
Name: string;
|
|
3009
|
+
Kind: NavigationContextKind;
|
|
3010
|
+
History: NavigationHistoryDefinition;
|
|
3011
|
+
State: NavigationStateDefinition[];
|
|
3012
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3013
|
+
}
|
|
3014
|
+
|
|
3015
|
+
export interface NavigationContextEffectDefinition {
|
|
3016
|
+
Kind: NavigationContextEffectKind;
|
|
3017
|
+
ContextId?: string | null;
|
|
3018
|
+
CapturesProvenance: boolean;
|
|
3019
|
+
WritesHistory: boolean;
|
|
3020
|
+
}
|
|
3021
|
+
|
|
3022
|
+
export interface NavigationDefinition {
|
|
3023
|
+
Id: string;
|
|
3024
|
+
Label: string;
|
|
3025
|
+
Nodes: NavigationNodeDefinition[];
|
|
3026
|
+
Edges: NavigationEdgeDefinition[];
|
|
3027
|
+
Shell: NavigationShellDefinition;
|
|
3028
|
+
Routes: NavigationRouteDefinition[];
|
|
3029
|
+
PageHosts: PageHostDefinition[];
|
|
3030
|
+
Actions: NavigationActionDefinition[];
|
|
3031
|
+
Contexts: NavigationContextDefinition[];
|
|
3032
|
+
}
|
|
3033
|
+
|
|
3034
|
+
export interface NavigationEdgeDefinition {
|
|
3035
|
+
Id: string;
|
|
3036
|
+
FromNodeId: string;
|
|
3037
|
+
ToNodeId: string;
|
|
3038
|
+
Kind: NavigationEdgeKind;
|
|
3039
|
+
Label?: string | null;
|
|
3040
|
+
}
|
|
3041
|
+
|
|
3042
|
+
export interface NavigationHistoryDefinition {
|
|
3043
|
+
Kind: NavigationHistoryKind;
|
|
3044
|
+
IntegratesWithBrowserHistory: boolean;
|
|
3045
|
+
CapturesSemanticContext: boolean;
|
|
3046
|
+
MaxEntries?: number | null;
|
|
3047
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3048
|
+
RouteUpdateMode: NavigationRouteUpdateMode;
|
|
3049
|
+
RouteInstanceIdentity: NavigationRouteInstanceIdentityKind;
|
|
3050
|
+
}
|
|
3051
|
+
|
|
3052
|
+
export interface NavigationNodeDefinition {
|
|
3053
|
+
Id: string;
|
|
3054
|
+
Label: string;
|
|
3055
|
+
Kind: NavigationNodeKind;
|
|
3056
|
+
RouteId: string;
|
|
3057
|
+
IsPrimary: boolean;
|
|
3058
|
+
ActiveRouteIds: string[];
|
|
3059
|
+
Icon?: string | null;
|
|
3060
|
+
ActionId?: string | null;
|
|
3061
|
+
}
|
|
3062
|
+
|
|
3063
|
+
export interface NavigationRouteDefinition {
|
|
3064
|
+
Id: string;
|
|
3065
|
+
Label: string;
|
|
3066
|
+
Kind: NavigationRouteKind;
|
|
3067
|
+
PathTemplate: string;
|
|
3068
|
+
PageHostId: string;
|
|
3069
|
+
Parameters: NavigationRouteParameterDefinition[];
|
|
3070
|
+
}
|
|
3071
|
+
|
|
3072
|
+
export interface NavigationRouteParameterDefinition {
|
|
3073
|
+
Name: string;
|
|
3074
|
+
Type: string;
|
|
3075
|
+
IsRequired: boolean;
|
|
3076
|
+
}
|
|
3077
|
+
|
|
3078
|
+
export interface NavigationShellChromeDefinition {
|
|
3079
|
+
BrandLabel?: string | null;
|
|
3080
|
+
Title?: string | null;
|
|
3081
|
+
Subtitle?: string | null;
|
|
3082
|
+
Icon?: string | null;
|
|
3083
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3084
|
+
}
|
|
3085
|
+
|
|
3086
|
+
export interface NavigationShellDefinition {
|
|
3087
|
+
Id: string;
|
|
3088
|
+
Kind: NavigationShellKind;
|
|
3089
|
+
PrimaryNodeIds: string[];
|
|
3090
|
+
Regions: NavigationShellRegionDefinition[];
|
|
3091
|
+
Chrome?: NavigationShellChromeDefinition | null;
|
|
3092
|
+
Slots?: NavigationShellSlotDefinition[] | null;
|
|
3093
|
+
Design?: DesignIntent | null;
|
|
3094
|
+
}
|
|
3095
|
+
|
|
3096
|
+
export interface NavigationShellRegionDefinition {
|
|
3097
|
+
Id: string;
|
|
3098
|
+
Kind: NavigationShellRegionKind;
|
|
3099
|
+
Placement: string;
|
|
3100
|
+
SlotId?: string | null;
|
|
3101
|
+
ComponentKey?: string | null;
|
|
3102
|
+
ViewId?: string | null;
|
|
3103
|
+
}
|
|
3104
|
+
|
|
3105
|
+
export interface NavigationShellSlotDefinition {
|
|
3106
|
+
Id: string;
|
|
3107
|
+
Kind: NavigationShellSlotKind;
|
|
3108
|
+
Placement: string;
|
|
3109
|
+
NodeIds: string[];
|
|
3110
|
+
RegionIds: string[];
|
|
3111
|
+
Design?: DesignIntent | null;
|
|
3112
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
export interface NavigationStateDefinition {
|
|
3116
|
+
Id: string;
|
|
3117
|
+
Name: string;
|
|
3118
|
+
Type: string;
|
|
3119
|
+
Residency: ResidencyHint;
|
|
3120
|
+
DefaultValue?: string | null;
|
|
3121
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3124
|
+
export interface PageHostDefinition {
|
|
3125
|
+
Id: string;
|
|
3126
|
+
Kind: PageHostKind;
|
|
3127
|
+
Workspace?: WorkspaceRefDefinition | null;
|
|
3128
|
+
View?: ViewRefDefinition | null;
|
|
3129
|
+
Regions: PageRegionDefinition[];
|
|
3130
|
+
Layout: LayoutDefinition;
|
|
3131
|
+
State?: InteractionStateDefinition | null;
|
|
3132
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3133
|
+
}
|
|
3134
|
+
|
|
3135
|
+
export interface PageRegionDefinition {
|
|
3136
|
+
Id: string;
|
|
3137
|
+
Name: string;
|
|
3138
|
+
Kind: PageRegionKind;
|
|
3139
|
+
ViewIds: string[];
|
|
3140
|
+
PageHostIds: string[];
|
|
3141
|
+
ProjectionIds: string[];
|
|
3142
|
+
Placement?: string | null;
|
|
3143
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3144
|
+
}
|
|
3145
|
+
|
|
3146
|
+
export interface ParameterDefinition {
|
|
3147
|
+
Name: string;
|
|
3148
|
+
Type: string;
|
|
3149
|
+
IsRequired: boolean;
|
|
3150
|
+
Label?: string | null;
|
|
3151
|
+
DefaultValue?: string | null;
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
export interface PresentationAnnotationDefinition {
|
|
3155
|
+
Name: string;
|
|
3156
|
+
Value: unknown;
|
|
3157
|
+
}
|
|
3158
|
+
|
|
3159
|
+
export interface PresentationBadgeDefinition {
|
|
3160
|
+
Id: string;
|
|
3161
|
+
Name: string;
|
|
3162
|
+
Content?: PresentationContentDefinition | null;
|
|
3163
|
+
Value?: PresentationValueDefinition | null;
|
|
3164
|
+
ValueTemplate?: string | null;
|
|
3165
|
+
FieldId?: string | null;
|
|
3166
|
+
Tone?: string | null;
|
|
3167
|
+
OmitWhenEmpty: boolean;
|
|
3168
|
+
OmitWhenZero: boolean;
|
|
3169
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3170
|
+
}
|
|
3171
|
+
|
|
3172
|
+
export interface PresentationBindingDefinition {
|
|
3173
|
+
Kind: PresentationBindingKind;
|
|
3174
|
+
Id?: string | null;
|
|
3175
|
+
EndpointId?: string | null;
|
|
3176
|
+
RouteId?: string | null;
|
|
3177
|
+
ComponentRole?: string | null;
|
|
3178
|
+
ComponentKey?: string | null;
|
|
3179
|
+
TransitionId?: string | null;
|
|
3180
|
+
DataSourceId?: string | null;
|
|
3181
|
+
Options?: unknown | null;
|
|
3182
|
+
}
|
|
3183
|
+
|
|
3184
|
+
export interface PresentationContentDefinition {
|
|
3185
|
+
Title?: PresentationValueDefinition | null;
|
|
3186
|
+
Subtitle?: PresentationValueDefinition | null;
|
|
3187
|
+
Description?: PresentationValueDefinition | null;
|
|
3188
|
+
DescriptionTemplate?: string | null;
|
|
3189
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3190
|
+
}
|
|
3191
|
+
|
|
3192
|
+
export interface PresentationExpressionDefinition {
|
|
3193
|
+
Id: string;
|
|
3194
|
+
Name: string;
|
|
3195
|
+
Expression: Expr;
|
|
3196
|
+
ReturnType?: TypeRef | null;
|
|
3197
|
+
ParameterNames: string[];
|
|
3198
|
+
Usage: PresentationExpressionUsage;
|
|
3199
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3200
|
+
}
|
|
3201
|
+
|
|
3202
|
+
export interface PresentationModuleContribution {
|
|
3203
|
+
Navigation: NavigationDefinition[];
|
|
3204
|
+
Views: ViewDefinition[];
|
|
3205
|
+
Workspaces: WorkspaceDefinition[];
|
|
3206
|
+
DataSources: DataSourceDefinition[];
|
|
3207
|
+
InputForms: InputFormDefinition[];
|
|
3208
|
+
QueryForms: QueryFormDefinition[];
|
|
3209
|
+
Fields: FieldPresentationDefinition[];
|
|
3210
|
+
Actions: ActionDefinition[];
|
|
3211
|
+
Flows: FlowDefinition[];
|
|
3212
|
+
Expressions: PresentationExpressionDefinition[];
|
|
3213
|
+
DesignSystems: DesignSystemBindingDefinition[];
|
|
3214
|
+
Targets: TargetBindingDefinition[];
|
|
3215
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
export interface PresentationModuleDefinition {
|
|
3219
|
+
Id: string;
|
|
3220
|
+
Name: string;
|
|
3221
|
+
Version?: string | null;
|
|
3222
|
+
Navigation: NavigationDefinition[];
|
|
3223
|
+
Views: ViewDefinition[];
|
|
3224
|
+
Workspaces: WorkspaceDefinition[];
|
|
3225
|
+
DataSources: DataSourceDefinition[];
|
|
3226
|
+
InputForms: InputFormDefinition[];
|
|
3227
|
+
QueryForms: QueryFormDefinition[];
|
|
3228
|
+
Fields: FieldPresentationDefinition[];
|
|
3229
|
+
Actions: ActionDefinition[];
|
|
3230
|
+
Flows: FlowDefinition[];
|
|
3231
|
+
Expressions: PresentationExpressionDefinition[];
|
|
3232
|
+
DesignSystems: DesignSystemBindingDefinition[];
|
|
3233
|
+
Targets: TargetBindingDefinition[];
|
|
3234
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3237
|
+
export interface PresentationValueDefinition {
|
|
3238
|
+
Kind: PresentationValueKind;
|
|
3239
|
+
Literal?: string | null;
|
|
3240
|
+
Field?: string | null;
|
|
3241
|
+
Expression?: string | null;
|
|
3242
|
+
StateId?: string | null;
|
|
3243
|
+
}
|
|
3244
|
+
|
|
3245
|
+
export interface ProcessTaskSelectorDefinition {
|
|
3246
|
+
Id: string;
|
|
3247
|
+
Name: string;
|
|
3248
|
+
ProcessType?: string | null;
|
|
3249
|
+
ActiveOnly: boolean;
|
|
3250
|
+
Matches: ProcessTaskSelectorMatchDefinition[];
|
|
3251
|
+
ActionId?: string | null;
|
|
3252
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3253
|
+
}
|
|
3254
|
+
|
|
3255
|
+
export interface ProcessTaskSelectorMatchDefinition {
|
|
3256
|
+
TaskPath: string;
|
|
3257
|
+
ValuePath: string;
|
|
3258
|
+
}
|
|
3259
|
+
|
|
3260
|
+
export interface ProjectionCapabilitiesDefinition {
|
|
3261
|
+
CanRead: boolean;
|
|
3262
|
+
CanEdit: boolean;
|
|
3263
|
+
CanSelect: boolean;
|
|
3264
|
+
CanReveal: boolean;
|
|
3265
|
+
CanHighlight: boolean;
|
|
3266
|
+
CanSearch: boolean;
|
|
3267
|
+
CanValidate: boolean;
|
|
3268
|
+
CanFormat: boolean;
|
|
3269
|
+
}
|
|
3270
|
+
|
|
3271
|
+
export interface ProjectionCoordinateDefinition {
|
|
3272
|
+
Kind: ProjectionCoordinateKind;
|
|
3273
|
+
Id?: string | null;
|
|
3274
|
+
Path?: string | null;
|
|
3275
|
+
Range?: TextRangeDefinition | null;
|
|
3276
|
+
}
|
|
3277
|
+
|
|
3278
|
+
export interface ProjectionCoordinateSystemDefinition {
|
|
3279
|
+
Kind: ProjectionCoordinateKind;
|
|
3280
|
+
SemanticReferenceKind: SemanticReferenceKind;
|
|
3281
|
+
MappingStrategy: string;
|
|
3282
|
+
Mappings: ProjectionMappingDefinition[];
|
|
3283
|
+
}
|
|
3284
|
+
|
|
3285
|
+
export interface ProjectionDefinition {
|
|
3286
|
+
Id: string;
|
|
3287
|
+
Name: string;
|
|
3288
|
+
Kind: ProjectionKind;
|
|
3289
|
+
Subject: ProjectionSubjectDefinition;
|
|
3290
|
+
Coordinates: ProjectionCoordinateSystemDefinition;
|
|
3291
|
+
ViewId?: string | null;
|
|
3292
|
+
RendererKey?: string | null;
|
|
3293
|
+
Actions: ActionPlacementDefinition[];
|
|
3294
|
+
Capabilities: ProjectionCapabilitiesDefinition;
|
|
3295
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3296
|
+
}
|
|
3297
|
+
|
|
3298
|
+
export interface ProjectionMappingDefinition {
|
|
3299
|
+
Direction: ProjectionMappingDirection;
|
|
3300
|
+
ActionId?: string | null;
|
|
3301
|
+
ExpressionId?: string | null;
|
|
3302
|
+
Strategy?: string | null;
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
export interface ProjectionSubjectDefinition {
|
|
3306
|
+
Kind: ProjectionSubjectKind;
|
|
3307
|
+
Reference?: SemanticReference | null;
|
|
3308
|
+
Path?: SemanticPath | null;
|
|
3309
|
+
}
|
|
3310
|
+
|
|
3311
|
+
export interface PromptDismissPolicyDefinition {
|
|
3312
|
+
DismissActionId: string;
|
|
3313
|
+
ShowCloseButton: boolean;
|
|
3314
|
+
DismissOnBackdrop: boolean;
|
|
3315
|
+
DismissOnEscape: boolean;
|
|
3316
|
+
DisableWhenActionPending: boolean;
|
|
3317
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3318
|
+
}
|
|
3319
|
+
|
|
3320
|
+
export interface PromptDocumentPreviewDefinition {
|
|
3321
|
+
DataSourceId: string;
|
|
3322
|
+
PreviewViewId: string;
|
|
3323
|
+
WorkspacePageViewId: string;
|
|
3324
|
+
Workspace: WorkspaceRefDefinition;
|
|
3325
|
+
DocumentInstanceIdTemplate: string;
|
|
3326
|
+
DocumentPathTemplate?: string | null;
|
|
3327
|
+
Title: PresentationValueDefinition;
|
|
3328
|
+
DocumentText: PresentationValueDefinition;
|
|
3329
|
+
IsReadOnly: boolean;
|
|
3330
|
+
Badges: PresentationBadgeDefinition[];
|
|
3331
|
+
Content?: PresentationContentDefinition | null;
|
|
3332
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3333
|
+
}
|
|
3334
|
+
|
|
3335
|
+
export interface PromptStatusMessageDefinition {
|
|
3336
|
+
Id: string;
|
|
3337
|
+
Name: string;
|
|
3338
|
+
Kind: PromptStatusMessageKind;
|
|
3339
|
+
Region: string;
|
|
3340
|
+
Message: string;
|
|
3341
|
+
MessageTemplate?: string | null;
|
|
3342
|
+
ActionId?: string | null;
|
|
3343
|
+
DataSourceId?: string | null;
|
|
3344
|
+
FieldPath?: string | null;
|
|
3345
|
+
ExpectedValue?: string | null;
|
|
3346
|
+
Tone?: string | null;
|
|
3347
|
+
Content?: PresentationContentDefinition | null;
|
|
3348
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
export interface QueryFieldBindingDefinition {
|
|
3352
|
+
SourcePath: string;
|
|
3353
|
+
TargetPath: string;
|
|
3354
|
+
FieldId?: string | null;
|
|
3355
|
+
Transform?: string | null;
|
|
3356
|
+
DefaultValue?: string | null;
|
|
3357
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3358
|
+
}
|
|
3359
|
+
|
|
3360
|
+
export interface QueryFormAggregationBindingDefinition {
|
|
3361
|
+
Id: string;
|
|
3362
|
+
FieldId?: string | null;
|
|
3363
|
+
EntityField: FieldPath;
|
|
3364
|
+
Operator: string;
|
|
3365
|
+
Alias?: string | null;
|
|
3366
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3367
|
+
}
|
|
3368
|
+
|
|
3369
|
+
export interface QueryFormDefinition {
|
|
3370
|
+
Id: string;
|
|
3371
|
+
FormId: string;
|
|
3372
|
+
Target: RelationQueryFormTargetDefinition;
|
|
3373
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3374
|
+
}
|
|
3375
|
+
|
|
3376
|
+
export interface QueryFormEndpointParameterBindingDefinition {
|
|
3377
|
+
RequestField: string;
|
|
3378
|
+
FieldId: string;
|
|
3379
|
+
ValuePath?: string | null;
|
|
3380
|
+
OmitWhenEmpty: boolean;
|
|
3381
|
+
}
|
|
3382
|
+
|
|
3383
|
+
export interface QueryFormExecutionPolicyDefinition {
|
|
3384
|
+
Mode: QueryFormExecutionMode;
|
|
3385
|
+
DebounceMilliseconds?: number | null;
|
|
3386
|
+
ExecuteOnInitialLoad: boolean;
|
|
3387
|
+
AllowBackgroundPreview: boolean;
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3390
|
+
export interface QueryFormHistoryPolicyDefinition {
|
|
3391
|
+
IsEnabled: boolean;
|
|
3392
|
+
Capacity?: number | null;
|
|
3393
|
+
PersistHistory: boolean;
|
|
3394
|
+
}
|
|
3395
|
+
|
|
3396
|
+
export interface QueryFormPredicateBindingDefinition {
|
|
3397
|
+
Id: string;
|
|
3398
|
+
FieldId: string;
|
|
3399
|
+
EntityField: FieldPath;
|
|
3400
|
+
Kind: QueryFormPredicateKind;
|
|
3401
|
+
Scope?: FieldPath | null;
|
|
3402
|
+
OmitWhenEmpty: boolean;
|
|
3403
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3404
|
+
}
|
|
3405
|
+
|
|
3406
|
+
export interface QueryFormProjectionBindingDefinition {
|
|
3407
|
+
Id: string;
|
|
3408
|
+
FieldId?: string | null;
|
|
3409
|
+
EntityField: FieldPath;
|
|
3410
|
+
Alias?: string | null;
|
|
3411
|
+
IsDefault: boolean;
|
|
3412
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3413
|
+
}
|
|
3414
|
+
|
|
3415
|
+
export interface QueryFormResultBindingDefinition {
|
|
3416
|
+
DataSourceId: string;
|
|
3417
|
+
EndpointId: string;
|
|
3418
|
+
RequestShape: string;
|
|
3419
|
+
ResultShape: string;
|
|
3420
|
+
EntityId?: string | null;
|
|
3421
|
+
RequestBindings: QueryFormEndpointParameterBindingDefinition[];
|
|
3422
|
+
DefaultLimit?: number | null;
|
|
3423
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3424
|
+
}
|
|
3425
|
+
|
|
3426
|
+
export interface QueryFormStateBindingDefinition {
|
|
3427
|
+
StateId: string;
|
|
3428
|
+
DraftDataSourceId: string;
|
|
3429
|
+
AppliedDataSourceId?: string | null;
|
|
3430
|
+
ResultDataSourceId: string;
|
|
3431
|
+
SynchronizedDataSourceIds: string[];
|
|
3432
|
+
Execution: QueryFormExecutionPolicyDefinition;
|
|
3433
|
+
History?: QueryFormHistoryPolicyDefinition | null;
|
|
3434
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3435
|
+
Url?: QueryFormUrlPolicyDefinition | null;
|
|
3436
|
+
}
|
|
3437
|
+
|
|
3438
|
+
export interface QueryFormUrlPolicyDefinition {
|
|
3439
|
+
IsEnabled: boolean;
|
|
3440
|
+
ParameterPrefix?: string | null;
|
|
3441
|
+
IncludeAppliedFilters: boolean;
|
|
3442
|
+
IncludeDraftFilters: boolean;
|
|
3443
|
+
IncludePagination: boolean;
|
|
3444
|
+
}
|
|
3445
|
+
|
|
3446
|
+
export interface QueryLoweringDefinition {
|
|
3447
|
+
Id: string;
|
|
3448
|
+
Kind: QueryLoweringKind;
|
|
3449
|
+
SourceShape: string;
|
|
3450
|
+
TargetShape: string;
|
|
3451
|
+
FieldBindings: QueryFieldBindingDefinition[];
|
|
3452
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3453
|
+
}
|
|
3454
|
+
|
|
3455
|
+
export interface RelationQueryFormTargetDefinition {
|
|
3456
|
+
State: QueryFormStateBindingDefinition;
|
|
3457
|
+
Predicates: QueryFormPredicateBindingDefinition[];
|
|
3458
|
+
Projections: QueryFormProjectionBindingDefinition[];
|
|
3459
|
+
Aggregations: QueryFormAggregationBindingDefinition[];
|
|
3460
|
+
Result: QueryFormResultBindingDefinition;
|
|
3461
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3462
|
+
}
|
|
3463
|
+
|
|
3464
|
+
export interface SearchStateDefinition {
|
|
3465
|
+
Id: string;
|
|
3466
|
+
ProjectionId?: string | null;
|
|
3467
|
+
Query: string;
|
|
3468
|
+
Results: SemanticReference[];
|
|
3469
|
+
ActiveResultIndex: number;
|
|
3470
|
+
}
|
|
3471
|
+
|
|
3472
|
+
export interface SelectionStateDefinition {
|
|
3473
|
+
Selected: SemanticSelection[];
|
|
3474
|
+
SourceProjectionId?: string | null;
|
|
3475
|
+
}
|
|
3476
|
+
|
|
3477
|
+
export interface SelectionSynchronizationDefinition {
|
|
3478
|
+
Id: string;
|
|
3479
|
+
Name: string;
|
|
3480
|
+
Address: DocumentAddressDefinition;
|
|
3481
|
+
StateId: string;
|
|
3482
|
+
ParticipantViewIds: string[];
|
|
3483
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3484
|
+
}
|
|
3485
|
+
|
|
3486
|
+
export interface SemanticPath {
|
|
3487
|
+
Segments: SemanticPathSegment[];
|
|
3488
|
+
}
|
|
3489
|
+
|
|
3490
|
+
export interface SemanticPathSegment {
|
|
3491
|
+
Kind: SemanticReferenceKind;
|
|
3492
|
+
Id: string;
|
|
3493
|
+
Label?: string | null;
|
|
3494
|
+
}
|
|
3495
|
+
|
|
3496
|
+
export interface SemanticReference {
|
|
3497
|
+
Kind: SemanticReferenceKind;
|
|
3498
|
+
Id: string;
|
|
3499
|
+
Path: SemanticPath;
|
|
3500
|
+
}
|
|
3501
|
+
|
|
3502
|
+
export interface SemanticSelection {
|
|
3503
|
+
Target: SemanticReference;
|
|
3504
|
+
SourceProjectionId?: string | null;
|
|
3505
|
+
SemanticPath: SemanticPath;
|
|
3506
|
+
}
|
|
3507
|
+
|
|
3508
|
+
export interface ShapeRefDefinition {
|
|
3509
|
+
ShapeId?: string | null;
|
|
3510
|
+
TypeId?: string | null;
|
|
3511
|
+
ContractName?: string | null;
|
|
3512
|
+
}
|
|
3513
|
+
|
|
3514
|
+
export interface SortDefinition {
|
|
3515
|
+
Field: string;
|
|
3516
|
+
Descending: boolean;
|
|
3517
|
+
}
|
|
3518
|
+
|
|
3519
|
+
export interface TargetBindingDefinition {
|
|
3520
|
+
Id: string;
|
|
3521
|
+
Name: string;
|
|
3522
|
+
Target: PresentationTargetKind;
|
|
3523
|
+
ComponentSet: string;
|
|
3524
|
+
Bindings: PresentationBindingDefinition[];
|
|
3525
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3526
|
+
}
|
|
3527
|
+
|
|
3528
|
+
export interface TextRangeDefinition {
|
|
3529
|
+
StartLine: number;
|
|
3530
|
+
StartColumn: number;
|
|
3531
|
+
EndLine: number;
|
|
3532
|
+
EndColumn: number;
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3535
|
+
export interface ValidationMarkerDefinition {
|
|
3536
|
+
Id: string;
|
|
3537
|
+
Severity: ValidationMarkerSeverity;
|
|
3538
|
+
Message: string;
|
|
3539
|
+
SemanticReference?: SemanticReference | null;
|
|
3540
|
+
Coordinates: ProjectionCoordinateDefinition[];
|
|
3541
|
+
}
|
|
3542
|
+
|
|
3543
|
+
export interface ViewChromeDefinition {
|
|
3544
|
+
Title?: PresentationValueDefinition | null;
|
|
3545
|
+
Subtitle?: PresentationValueDefinition | null;
|
|
3546
|
+
Collapsible: boolean;
|
|
3547
|
+
CollapseStateId?: string | null;
|
|
3548
|
+
Slots: ViewChromeSlotDefinition[];
|
|
3549
|
+
Content?: PresentationContentDefinition | null;
|
|
3550
|
+
}
|
|
3551
|
+
|
|
3552
|
+
export interface ViewChromeSlotDefinition {
|
|
3553
|
+
Id: string;
|
|
3554
|
+
Name: string;
|
|
3555
|
+
Kind: ViewChromeSlotKind;
|
|
3556
|
+
Placement: ViewChromeSlotPlacement;
|
|
3557
|
+
FieldIds: string[];
|
|
3558
|
+
Actions: ActionPlacementDefinition[];
|
|
3559
|
+
ViewIds: string[];
|
|
3560
|
+
StateId?: string | null;
|
|
3561
|
+
Value?: PresentationValueDefinition | null;
|
|
3562
|
+
Badges: PresentationBadgeDefinition[];
|
|
3563
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3564
|
+
}
|
|
3565
|
+
|
|
3566
|
+
export interface ViewDefinition {
|
|
3567
|
+
Id: string;
|
|
3568
|
+
Name: string;
|
|
3569
|
+
Kind: ViewKind;
|
|
3570
|
+
Subject: ViewSubjectDefinition;
|
|
3571
|
+
DataSourceIds: string[];
|
|
3572
|
+
Regions: ViewRegionDefinition[];
|
|
3573
|
+
FieldIds: string[];
|
|
3574
|
+
Actions: ActionPlacementDefinition[];
|
|
3575
|
+
Chrome?: ViewChromeDefinition | null;
|
|
3576
|
+
State: ViewStateDefinition[];
|
|
3577
|
+
Synchronization: SelectionSynchronizationDefinition[];
|
|
3578
|
+
InteractionStateId?: string | null;
|
|
3579
|
+
Accessibility?: AccessibilityContract | null;
|
|
3580
|
+
Design?: DesignIntent | null;
|
|
3581
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3582
|
+
Workspace?: WorkspaceRefDefinition | null;
|
|
3583
|
+
Collection?: CollectionViewDefinition | null;
|
|
3584
|
+
PromptDocumentPreview?: PromptDocumentPreviewDefinition | null;
|
|
3585
|
+
PromptDismiss?: PromptDismissPolicyDefinition | null;
|
|
3586
|
+
PromptStatusMessages?: PromptStatusMessageDefinition[] | null;
|
|
3587
|
+
}
|
|
3588
|
+
|
|
3589
|
+
export interface ViewRefDefinition {
|
|
3590
|
+
ViewId: string;
|
|
3591
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3592
|
+
}
|
|
3593
|
+
|
|
3594
|
+
export interface ViewRegionDefinition {
|
|
3595
|
+
Id: string;
|
|
3596
|
+
Name: string;
|
|
3597
|
+
Kind: ViewRegionKind;
|
|
3598
|
+
ViewIds: string[];
|
|
3599
|
+
DataSourceIds: string[];
|
|
3600
|
+
Actions: ActionPlacementDefinition[];
|
|
3601
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3602
|
+
Icon?: string | null;
|
|
3603
|
+
}
|
|
3604
|
+
|
|
3605
|
+
export interface ViewStateDefinition {
|
|
3606
|
+
Id: string;
|
|
3607
|
+
Name: string;
|
|
3608
|
+
Kind: ViewStateKind;
|
|
3609
|
+
Type?: string | null;
|
|
3610
|
+
DefaultValue?: string | null;
|
|
3611
|
+
AllowedValues: string[];
|
|
3612
|
+
Residency: ResidencyHint;
|
|
3613
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3614
|
+
}
|
|
3615
|
+
|
|
3616
|
+
export interface ViewSubjectDefinition {
|
|
3617
|
+
Kind: ViewSubjectKind;
|
|
3618
|
+
EntityId?: string | null;
|
|
3619
|
+
ShapeId?: string | null;
|
|
3620
|
+
RouteId?: string | null;
|
|
3621
|
+
DataSourceId?: string | null;
|
|
3622
|
+
InputFormId?: string | null;
|
|
3623
|
+
QueryFormId?: string | null;
|
|
3624
|
+
FlowId?: string | null;
|
|
3625
|
+
NavigationNodeId?: string | null;
|
|
3626
|
+
}
|
|
3627
|
+
|
|
3628
|
+
export interface WorkspaceDefinition {
|
|
3629
|
+
Id: string;
|
|
3630
|
+
Name: string;
|
|
3631
|
+
DocumentProfiles: DocumentProfileDefinition[];
|
|
3632
|
+
DefaultDocumentProfileId?: string | null;
|
|
3633
|
+
SurfaceSlots: DocumentWorkspaceSurfaceSlotDefinition[];
|
|
3634
|
+
Actions: ActionPlacementDefinition[];
|
|
3635
|
+
Annotations: PresentationAnnotationDefinition[];
|
|
3636
|
+
}
|
|
3637
|
+
|
|
3638
|
+
export interface WorkspaceLayoutDefinition {
|
|
3639
|
+
DefaultModeId: string;
|
|
3640
|
+
Modes: WorkspaceLayoutModeDefinition[];
|
|
3641
|
+
}
|
|
3642
|
+
|
|
3643
|
+
export interface WorkspaceLayoutModeDefinition {
|
|
3644
|
+
Id: string;
|
|
3645
|
+
Name: string;
|
|
3646
|
+
Root: LayoutNodeDefinition;
|
|
3647
|
+
}
|
|
3648
|
+
|
|
3649
|
+
export interface WorkspaceRefDefinition {
|
|
3650
|
+
WorkspaceId: string;
|
|
3651
|
+
DocumentProfileId?: string | null;
|
|
3652
|
+
LayoutProfileId?: string | null;
|
|
3653
|
+
InitialProjectionIds: string[];
|
|
3654
|
+
Instantiation: WorkspaceInstantiationMode;
|
|
3655
|
+
DocumentBinding?: Expr | null;
|
|
3656
|
+
}
|