@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,1606 @@
|
|
|
1
|
+
/* <auto-generated/> */
|
|
2
|
+
export const actionKinds = {
|
|
3
|
+
transitionAction: 0,
|
|
4
|
+
relationAction: 1,
|
|
5
|
+
localStateAction: 2,
|
|
6
|
+
promptAction: 3,
|
|
7
|
+
flowAction: 4,
|
|
8
|
+
navigationAction: 5,
|
|
9
|
+
externalAction: 6,
|
|
10
|
+
effectAction: 7,
|
|
11
|
+
compositeAction: 8,
|
|
12
|
+
noOpAction: 9,
|
|
13
|
+
processStartAction: 10,
|
|
14
|
+
};
|
|
15
|
+
export const actionKindLabels = {
|
|
16
|
+
0: 'TransitionAction',
|
|
17
|
+
1: 'RelationAction',
|
|
18
|
+
2: 'LocalStateAction',
|
|
19
|
+
3: 'PromptAction',
|
|
20
|
+
4: 'FlowAction',
|
|
21
|
+
5: 'NavigationAction',
|
|
22
|
+
6: 'ExternalAction',
|
|
23
|
+
7: 'EffectAction',
|
|
24
|
+
8: 'CompositeAction',
|
|
25
|
+
9: 'NoOpAction',
|
|
26
|
+
10: 'ProcessStartAction',
|
|
27
|
+
};
|
|
28
|
+
export const actionScopeKinds = {
|
|
29
|
+
global: 0,
|
|
30
|
+
page: 1,
|
|
31
|
+
view: 2,
|
|
32
|
+
collection: 3,
|
|
33
|
+
row: 4,
|
|
34
|
+
entity: 5,
|
|
35
|
+
flow: 6,
|
|
36
|
+
field: 7,
|
|
37
|
+
selection: 8,
|
|
38
|
+
system: 9,
|
|
39
|
+
};
|
|
40
|
+
export const actionScopeKindLabels = {
|
|
41
|
+
0: 'Global',
|
|
42
|
+
1: 'Page',
|
|
43
|
+
2: 'View',
|
|
44
|
+
3: 'Collection',
|
|
45
|
+
4: 'Row',
|
|
46
|
+
5: 'Entity',
|
|
47
|
+
6: 'Flow',
|
|
48
|
+
7: 'Field',
|
|
49
|
+
8: 'Selection',
|
|
50
|
+
9: 'System',
|
|
51
|
+
};
|
|
52
|
+
export const actionEnablementCriterionKinds = {
|
|
53
|
+
noActiveProcessTask: 0,
|
|
54
|
+
localDocumentClean: 1,
|
|
55
|
+
localDocumentValid: 2,
|
|
56
|
+
noPendingAction: 3,
|
|
57
|
+
};
|
|
58
|
+
export const actionEnablementCriterionKindLabels = {
|
|
59
|
+
0: 'NoActiveProcessTask',
|
|
60
|
+
1: 'LocalDocumentClean',
|
|
61
|
+
2: 'LocalDocumentValid',
|
|
62
|
+
3: 'NoPendingAction',
|
|
63
|
+
};
|
|
64
|
+
export const actionExecutionModes = {
|
|
65
|
+
local: 0,
|
|
66
|
+
immediate: 1,
|
|
67
|
+
requestAcknowledgePoll: 2,
|
|
68
|
+
optimistic: 3,
|
|
69
|
+
background: 4,
|
|
70
|
+
deferred: 5,
|
|
71
|
+
};
|
|
72
|
+
export const actionExecutionModeLabels = {
|
|
73
|
+
0: 'Local',
|
|
74
|
+
1: 'Immediate',
|
|
75
|
+
2: 'RequestAcknowledgePoll',
|
|
76
|
+
3: 'Optimistic',
|
|
77
|
+
4: 'Background',
|
|
78
|
+
5: 'Deferred',
|
|
79
|
+
};
|
|
80
|
+
export const preparationKinds = {
|
|
81
|
+
none: 0,
|
|
82
|
+
prompt: 1,
|
|
83
|
+
previewFlow: 2,
|
|
84
|
+
confirmation: 3,
|
|
85
|
+
};
|
|
86
|
+
export const preparationKindLabels = {
|
|
87
|
+
0: 'None',
|
|
88
|
+
1: 'Prompt',
|
|
89
|
+
2: 'PreviewFlow',
|
|
90
|
+
3: 'Confirmation',
|
|
91
|
+
};
|
|
92
|
+
export const actionResultStateWriteModes = {
|
|
93
|
+
replace: 0,
|
|
94
|
+
merge: 1,
|
|
95
|
+
append: 2,
|
|
96
|
+
clear: 3,
|
|
97
|
+
};
|
|
98
|
+
export const actionResultStateWriteModeLabels = {
|
|
99
|
+
0: 'Replace',
|
|
100
|
+
1: 'Merge',
|
|
101
|
+
2: 'Append',
|
|
102
|
+
3: 'Clear',
|
|
103
|
+
};
|
|
104
|
+
export const actionSemanticsKinds = {
|
|
105
|
+
localDocumentEditor: 0,
|
|
106
|
+
documentWorkspace: 1,
|
|
107
|
+
};
|
|
108
|
+
export const actionSemanticsKindLabels = {
|
|
109
|
+
0: 'LocalDocumentEditor',
|
|
110
|
+
1: 'DocumentWorkspace',
|
|
111
|
+
};
|
|
112
|
+
export const cachePolicyKinds = {
|
|
113
|
+
none: 0,
|
|
114
|
+
reactQuery: 1,
|
|
115
|
+
staleWhileRevalidate: 2,
|
|
116
|
+
session: 3,
|
|
117
|
+
memory: 4,
|
|
118
|
+
};
|
|
119
|
+
export const cachePolicyKindLabels = {
|
|
120
|
+
0: 'None',
|
|
121
|
+
1: 'ReactQuery',
|
|
122
|
+
2: 'StaleWhileRevalidate',
|
|
123
|
+
3: 'Session',
|
|
124
|
+
4: 'Memory',
|
|
125
|
+
};
|
|
126
|
+
export const collectionChromeSlotKinds = {
|
|
127
|
+
queryForm: 0,
|
|
128
|
+
pagination: 1,
|
|
129
|
+
selectionActions: 2,
|
|
130
|
+
rowActions: 3,
|
|
131
|
+
detail: 4,
|
|
132
|
+
summary: 5,
|
|
133
|
+
custom: 6,
|
|
134
|
+
body: 7,
|
|
135
|
+
};
|
|
136
|
+
export const collectionChromeSlotKindLabels = {
|
|
137
|
+
0: 'QueryForm',
|
|
138
|
+
1: 'Pagination',
|
|
139
|
+
2: 'SelectionActions',
|
|
140
|
+
3: 'RowActions',
|
|
141
|
+
4: 'Detail',
|
|
142
|
+
5: 'Summary',
|
|
143
|
+
6: 'Custom',
|
|
144
|
+
7: 'Body',
|
|
145
|
+
};
|
|
146
|
+
export const collectionChromeSlotPlacements = {
|
|
147
|
+
none: 0,
|
|
148
|
+
header: 1,
|
|
149
|
+
toolbar: 2,
|
|
150
|
+
above: 3,
|
|
151
|
+
inline: 4,
|
|
152
|
+
footer: 5,
|
|
153
|
+
sidePanel: 6,
|
|
154
|
+
drawer: 7,
|
|
155
|
+
};
|
|
156
|
+
export const collectionChromeSlotPlacementLabels = {
|
|
157
|
+
0: 'None',
|
|
158
|
+
1: 'Header',
|
|
159
|
+
2: 'Toolbar',
|
|
160
|
+
3: 'Above',
|
|
161
|
+
4: 'Inline',
|
|
162
|
+
5: 'Footer',
|
|
163
|
+
6: 'SidePanel',
|
|
164
|
+
7: 'Drawer',
|
|
165
|
+
};
|
|
166
|
+
export const collectionSelectionModes = {
|
|
167
|
+
none: 0,
|
|
168
|
+
single: 1,
|
|
169
|
+
multiple: 2,
|
|
170
|
+
};
|
|
171
|
+
export const collectionSelectionModeLabels = {
|
|
172
|
+
0: 'None',
|
|
173
|
+
1: 'Single',
|
|
174
|
+
2: 'Multiple',
|
|
175
|
+
};
|
|
176
|
+
export const collectionDetailActivations = {
|
|
177
|
+
none: 0,
|
|
178
|
+
selection: 1,
|
|
179
|
+
rowActivation: 2,
|
|
180
|
+
hover: 3,
|
|
181
|
+
};
|
|
182
|
+
export const collectionDetailActivationLabels = {
|
|
183
|
+
0: 'None',
|
|
184
|
+
1: 'Selection',
|
|
185
|
+
2: 'RowActivation',
|
|
186
|
+
3: 'Hover',
|
|
187
|
+
};
|
|
188
|
+
export const collectionRowActionKinds = {
|
|
189
|
+
primary: 0,
|
|
190
|
+
contextMenu: 1,
|
|
191
|
+
};
|
|
192
|
+
export const collectionRowActionKindLabels = {
|
|
193
|
+
0: 'Primary',
|
|
194
|
+
1: 'ContextMenu',
|
|
195
|
+
};
|
|
196
|
+
export const collectionSelectionActionParameterSources = {
|
|
197
|
+
selectedRowIdentity: 0,
|
|
198
|
+
selectedRowIdentityList: 1,
|
|
199
|
+
selectedRowValue: 2,
|
|
200
|
+
selectedRowValueList: 3,
|
|
201
|
+
selectionCount: 4,
|
|
202
|
+
};
|
|
203
|
+
export const collectionSelectionActionParameterSourceLabels = {
|
|
204
|
+
0: 'SelectedRowIdentity',
|
|
205
|
+
1: 'SelectedRowIdentityList',
|
|
206
|
+
2: 'SelectedRowValue',
|
|
207
|
+
3: 'SelectedRowValueList',
|
|
208
|
+
4: 'SelectionCount',
|
|
209
|
+
};
|
|
210
|
+
export const coordinationActionKinds = {
|
|
211
|
+
setSemanticSelection: 0,
|
|
212
|
+
revealSemanticSelection: 1,
|
|
213
|
+
highlightSemanticSelection: 2,
|
|
214
|
+
syncCursor: 3,
|
|
215
|
+
syncExpanded: 4,
|
|
216
|
+
syncValidationMarkers: 5,
|
|
217
|
+
syncSearchResults: 6,
|
|
218
|
+
setFocus: 7,
|
|
219
|
+
};
|
|
220
|
+
export const coordinationActionKindLabels = {
|
|
221
|
+
0: 'SetSemanticSelection',
|
|
222
|
+
1: 'RevealSemanticSelection',
|
|
223
|
+
2: 'HighlightSemanticSelection',
|
|
224
|
+
3: 'SyncCursor',
|
|
225
|
+
4: 'SyncExpanded',
|
|
226
|
+
5: 'SyncValidationMarkers',
|
|
227
|
+
6: 'SyncSearchResults',
|
|
228
|
+
7: 'SetFocus',
|
|
229
|
+
};
|
|
230
|
+
export const coordinationTriggerKinds = {
|
|
231
|
+
selectionChanged: 0,
|
|
232
|
+
cursorChanged: 1,
|
|
233
|
+
expandedChanged: 2,
|
|
234
|
+
validationChanged: 3,
|
|
235
|
+
searchChanged: 4,
|
|
236
|
+
focusChanged: 5,
|
|
237
|
+
};
|
|
238
|
+
export const coordinationTriggerKindLabels = {
|
|
239
|
+
0: 'SelectionChanged',
|
|
240
|
+
1: 'CursorChanged',
|
|
241
|
+
2: 'ExpandedChanged',
|
|
242
|
+
3: 'ValidationChanged',
|
|
243
|
+
4: 'SearchChanged',
|
|
244
|
+
5: 'FocusChanged',
|
|
245
|
+
};
|
|
246
|
+
export const dataSourceAggregateMaterializationKinds = {
|
|
247
|
+
currentPage: 0,
|
|
248
|
+
allPages: 1,
|
|
249
|
+
};
|
|
250
|
+
export const dataSourceAggregateMaterializationKindLabels = {
|
|
251
|
+
0: 'CurrentPage',
|
|
252
|
+
1: 'AllPages',
|
|
253
|
+
};
|
|
254
|
+
export const aggregateOperators = {
|
|
255
|
+
count: 0,
|
|
256
|
+
sum: 1,
|
|
257
|
+
min: 2,
|
|
258
|
+
max: 3,
|
|
259
|
+
any: 4,
|
|
260
|
+
all: 5,
|
|
261
|
+
};
|
|
262
|
+
export const aggregateOperatorLabels = {
|
|
263
|
+
0: 'Count',
|
|
264
|
+
1: 'Sum',
|
|
265
|
+
2: 'Min',
|
|
266
|
+
3: 'Max',
|
|
267
|
+
4: 'Any',
|
|
268
|
+
5: 'All',
|
|
269
|
+
};
|
|
270
|
+
export const dataSourceAggregatePredicateKinds = {
|
|
271
|
+
fieldEquals: 0,
|
|
272
|
+
fieldNotEquals: 1,
|
|
273
|
+
fieldHasValue: 2,
|
|
274
|
+
and: 3,
|
|
275
|
+
or: 4,
|
|
276
|
+
not: 5,
|
|
277
|
+
};
|
|
278
|
+
export const dataSourceAggregatePredicateKindLabels = {
|
|
279
|
+
0: 'FieldEquals',
|
|
280
|
+
1: 'FieldNotEquals',
|
|
281
|
+
2: 'FieldHasValue',
|
|
282
|
+
3: 'And',
|
|
283
|
+
4: 'Or',
|
|
284
|
+
5: 'Not',
|
|
285
|
+
};
|
|
286
|
+
export const dataSourceKinds = {
|
|
287
|
+
entityById: 0,
|
|
288
|
+
relationQuery: 1,
|
|
289
|
+
collectionQuery: 2,
|
|
290
|
+
searchQuery: 3,
|
|
291
|
+
aggregateQuery: 4,
|
|
292
|
+
effectStream: 5,
|
|
293
|
+
localState: 6,
|
|
294
|
+
remoteApi: 7,
|
|
295
|
+
staticReferenceData: 8,
|
|
296
|
+
promptInput: 9,
|
|
297
|
+
selectionDerived: 10,
|
|
298
|
+
navigation: 11,
|
|
299
|
+
module: 12,
|
|
300
|
+
entityMetadata: 13,
|
|
301
|
+
promptPreview: 14,
|
|
302
|
+
};
|
|
303
|
+
export const dataSourceKindLabels = {
|
|
304
|
+
0: 'EntityById',
|
|
305
|
+
1: 'RelationQuery',
|
|
306
|
+
2: 'CollectionQuery',
|
|
307
|
+
3: 'SearchQuery',
|
|
308
|
+
4: 'AggregateQuery',
|
|
309
|
+
5: 'EffectStream',
|
|
310
|
+
6: 'LocalState',
|
|
311
|
+
7: 'RemoteApi',
|
|
312
|
+
8: 'StaticReferenceData',
|
|
313
|
+
9: 'PromptInput',
|
|
314
|
+
10: 'SelectionDerived',
|
|
315
|
+
11: 'Navigation',
|
|
316
|
+
12: 'Module',
|
|
317
|
+
13: 'EntityMetadata',
|
|
318
|
+
14: 'PromptPreview',
|
|
319
|
+
};
|
|
320
|
+
export const residencyHints = {
|
|
321
|
+
server: 0,
|
|
322
|
+
client: 1,
|
|
323
|
+
hybrid: 2,
|
|
324
|
+
replicated: 3,
|
|
325
|
+
};
|
|
326
|
+
export const residencyHintLabels = {
|
|
327
|
+
0: 'Server',
|
|
328
|
+
1: 'Client',
|
|
329
|
+
2: 'Hybrid',
|
|
330
|
+
3: 'Replicated',
|
|
331
|
+
};
|
|
332
|
+
export const dataSourcePaginationKinds = {
|
|
333
|
+
cursor: 0,
|
|
334
|
+
offset: 1,
|
|
335
|
+
pageNumber: 2,
|
|
336
|
+
};
|
|
337
|
+
export const dataSourcePaginationKindLabels = {
|
|
338
|
+
0: 'Cursor',
|
|
339
|
+
1: 'Offset',
|
|
340
|
+
2: 'PageNumber',
|
|
341
|
+
};
|
|
342
|
+
export const designSystemKinds = {
|
|
343
|
+
reactComponentStack: 0,
|
|
344
|
+
webComponentStack: 1,
|
|
345
|
+
cssFramework: 2,
|
|
346
|
+
nativeComponentStack: 3,
|
|
347
|
+
};
|
|
348
|
+
export const designSystemKindLabels = {
|
|
349
|
+
0: 'ReactComponentStack',
|
|
350
|
+
1: 'WebComponentStack',
|
|
351
|
+
2: 'CssFramework',
|
|
352
|
+
3: 'NativeComponentStack',
|
|
353
|
+
};
|
|
354
|
+
export const documentActionStatusNoticeKinds = {
|
|
355
|
+
error: 0,
|
|
356
|
+
};
|
|
357
|
+
export const documentActionStatusNoticeKindLabels = {
|
|
358
|
+
0: 'Error',
|
|
359
|
+
};
|
|
360
|
+
export const documentAddressKinds = {
|
|
361
|
+
jsonPointer: 0,
|
|
362
|
+
uri: 1,
|
|
363
|
+
};
|
|
364
|
+
export const documentAddressKindLabels = {
|
|
365
|
+
0: 'JsonPointer',
|
|
366
|
+
1: 'Uri',
|
|
367
|
+
};
|
|
368
|
+
export const documentDataSourceRoles = {
|
|
369
|
+
resource: 0,
|
|
370
|
+
metadata: 1,
|
|
371
|
+
summary: 2,
|
|
372
|
+
workingDocument: 3,
|
|
373
|
+
validation: 4,
|
|
374
|
+
processTask: 5,
|
|
375
|
+
};
|
|
376
|
+
export const documentDataSourceRoleLabels = {
|
|
377
|
+
0: 'Resource',
|
|
378
|
+
1: 'Metadata',
|
|
379
|
+
2: 'Summary',
|
|
380
|
+
3: 'WorkingDocument',
|
|
381
|
+
4: 'Validation',
|
|
382
|
+
5: 'ProcessTask',
|
|
383
|
+
};
|
|
384
|
+
export const documentProcessTaskNoticeActionTargetKinds = {
|
|
385
|
+
details: 0,
|
|
386
|
+
target: 1,
|
|
387
|
+
source: 2,
|
|
388
|
+
};
|
|
389
|
+
export const documentProcessTaskNoticeActionTargetKindLabels = {
|
|
390
|
+
0: 'Details',
|
|
391
|
+
1: 'Target',
|
|
392
|
+
2: 'Source',
|
|
393
|
+
};
|
|
394
|
+
export const documentKinds = {
|
|
395
|
+
ediSpec: 0,
|
|
396
|
+
shapeGraph: 1,
|
|
397
|
+
jsonDocument: 2,
|
|
398
|
+
ontology: 3,
|
|
399
|
+
transitionGraph: 4,
|
|
400
|
+
presentationIr: 5,
|
|
401
|
+
trainingExample: 6,
|
|
402
|
+
fixSpec: 7,
|
|
403
|
+
};
|
|
404
|
+
export const documentKindLabels = {
|
|
405
|
+
0: 'EdiSpec',
|
|
406
|
+
1: 'ShapeGraph',
|
|
407
|
+
2: 'JsonDocument',
|
|
408
|
+
3: 'Ontology',
|
|
409
|
+
4: 'TransitionGraph',
|
|
410
|
+
5: 'PresentationIr',
|
|
411
|
+
6: 'TrainingExample',
|
|
412
|
+
7: 'FixSpec',
|
|
413
|
+
};
|
|
414
|
+
export const documentWorkspaceActionKinds = {
|
|
415
|
+
saveReview: 0,
|
|
416
|
+
saveCommit: 1,
|
|
417
|
+
saveCancel: 2,
|
|
418
|
+
saveRevert: 3,
|
|
419
|
+
processPreview: 4,
|
|
420
|
+
processStart: 5,
|
|
421
|
+
processCancel: 6,
|
|
422
|
+
};
|
|
423
|
+
export const documentWorkspaceActionKindLabels = {
|
|
424
|
+
0: 'SaveReview',
|
|
425
|
+
1: 'SaveCommit',
|
|
426
|
+
2: 'SaveCancel',
|
|
427
|
+
3: 'SaveRevert',
|
|
428
|
+
4: 'ProcessPreview',
|
|
429
|
+
5: 'ProcessStart',
|
|
430
|
+
6: 'ProcessCancel',
|
|
431
|
+
};
|
|
432
|
+
export const documentWorkspaceSurfaceSlotRoles = {
|
|
433
|
+
header: 0,
|
|
434
|
+
primarySurface: 1,
|
|
435
|
+
auxiliary: 2,
|
|
436
|
+
custom: 3,
|
|
437
|
+
};
|
|
438
|
+
export const documentWorkspaceSurfaceSlotRoleLabels = {
|
|
439
|
+
0: 'Header',
|
|
440
|
+
1: 'PrimarySurface',
|
|
441
|
+
2: 'Auxiliary',
|
|
442
|
+
3: 'Custom',
|
|
443
|
+
};
|
|
444
|
+
export const viewRegionKinds = {
|
|
445
|
+
content: 0,
|
|
446
|
+
primary: 1,
|
|
447
|
+
header: 2,
|
|
448
|
+
toolbar: 3,
|
|
449
|
+
footer: 4,
|
|
450
|
+
sidebar: 5,
|
|
451
|
+
tab: 6,
|
|
452
|
+
list: 7,
|
|
453
|
+
collection: 8,
|
|
454
|
+
recordDetail: 9,
|
|
455
|
+
detail: 10,
|
|
456
|
+
statusList: 11,
|
|
457
|
+
form: 12,
|
|
458
|
+
modal: 13,
|
|
459
|
+
panel: 14,
|
|
460
|
+
drawer: 15,
|
|
461
|
+
inspector: 16,
|
|
462
|
+
splitPane: 17,
|
|
463
|
+
surface: 18,
|
|
464
|
+
badgeStrip: 19,
|
|
465
|
+
metricStrip: 20,
|
|
466
|
+
viewSwitch: 21,
|
|
467
|
+
componentHost: 22,
|
|
468
|
+
};
|
|
469
|
+
export const viewRegionKindLabels = {
|
|
470
|
+
0: 'Content',
|
|
471
|
+
1: 'Primary',
|
|
472
|
+
2: 'Header',
|
|
473
|
+
3: 'Toolbar',
|
|
474
|
+
4: 'Footer',
|
|
475
|
+
5: 'Sidebar',
|
|
476
|
+
6: 'Tab',
|
|
477
|
+
7: 'List',
|
|
478
|
+
8: 'Collection',
|
|
479
|
+
9: 'RecordDetail',
|
|
480
|
+
10: 'Detail',
|
|
481
|
+
11: 'StatusList',
|
|
482
|
+
12: 'Form',
|
|
483
|
+
13: 'Modal',
|
|
484
|
+
14: 'Panel',
|
|
485
|
+
15: 'Drawer',
|
|
486
|
+
16: 'Inspector',
|
|
487
|
+
17: 'SplitPane',
|
|
488
|
+
18: 'Surface',
|
|
489
|
+
19: 'BadgeStrip',
|
|
490
|
+
20: 'MetricStrip',
|
|
491
|
+
21: 'ViewSwitch',
|
|
492
|
+
22: 'ComponentHost',
|
|
493
|
+
};
|
|
494
|
+
export const fieldEntityReferenceFallbackKinds = {
|
|
495
|
+
code: 0,
|
|
496
|
+
badge: 1,
|
|
497
|
+
text: 2,
|
|
498
|
+
};
|
|
499
|
+
export const fieldEntityReferenceFallbackKindLabels = {
|
|
500
|
+
0: 'Code',
|
|
501
|
+
1: 'Badge',
|
|
502
|
+
2: 'Text',
|
|
503
|
+
};
|
|
504
|
+
export const fieldJsonDisplayModes = {
|
|
505
|
+
preformatted: 0,
|
|
506
|
+
inline: 1,
|
|
507
|
+
};
|
|
508
|
+
export const fieldJsonDisplayModeLabels = {
|
|
509
|
+
0: 'Preformatted',
|
|
510
|
+
1: 'Inline',
|
|
511
|
+
};
|
|
512
|
+
export const fieldDisplayKinds = {
|
|
513
|
+
text: 0,
|
|
514
|
+
number: 1,
|
|
515
|
+
date: 2,
|
|
516
|
+
dateTime: 3,
|
|
517
|
+
currency: 4,
|
|
518
|
+
badge: 5,
|
|
519
|
+
status: 6,
|
|
520
|
+
link: 7,
|
|
521
|
+
entityReference: 8,
|
|
522
|
+
code: 9,
|
|
523
|
+
markdown: 10,
|
|
524
|
+
json: 11,
|
|
525
|
+
diff: 12,
|
|
526
|
+
sparkline: 13,
|
|
527
|
+
metric: 14,
|
|
528
|
+
avatar: 15,
|
|
529
|
+
boolean: 16,
|
|
530
|
+
choice: 17,
|
|
531
|
+
};
|
|
532
|
+
export const fieldDisplayKindLabels = {
|
|
533
|
+
0: 'Text',
|
|
534
|
+
1: 'Number',
|
|
535
|
+
2: 'Date',
|
|
536
|
+
3: 'DateTime',
|
|
537
|
+
4: 'Currency',
|
|
538
|
+
5: 'Badge',
|
|
539
|
+
6: 'Status',
|
|
540
|
+
7: 'Link',
|
|
541
|
+
8: 'EntityReference',
|
|
542
|
+
9: 'Code',
|
|
543
|
+
10: 'Markdown',
|
|
544
|
+
11: 'Json',
|
|
545
|
+
12: 'Diff',
|
|
546
|
+
13: 'Sparkline',
|
|
547
|
+
14: 'Metric',
|
|
548
|
+
15: 'Avatar',
|
|
549
|
+
16: 'Boolean',
|
|
550
|
+
17: 'Choice',
|
|
551
|
+
};
|
|
552
|
+
export const fieldEditKinds = {
|
|
553
|
+
readOnly: 0,
|
|
554
|
+
text: 1,
|
|
555
|
+
number: 2,
|
|
556
|
+
date: 3,
|
|
557
|
+
dateTime: 4,
|
|
558
|
+
select: 5,
|
|
559
|
+
multiSelect: 6,
|
|
560
|
+
checkbox: 7,
|
|
561
|
+
toggle: 8,
|
|
562
|
+
jsonEditor: 9,
|
|
563
|
+
codeEditor: 10,
|
|
564
|
+
markdownEditor: 11,
|
|
565
|
+
entityReference: 12,
|
|
566
|
+
choice: 13,
|
|
567
|
+
boolean: 14,
|
|
568
|
+
};
|
|
569
|
+
export const fieldEditKindLabels = {
|
|
570
|
+
0: 'ReadOnly',
|
|
571
|
+
1: 'Text',
|
|
572
|
+
2: 'Number',
|
|
573
|
+
3: 'Date',
|
|
574
|
+
4: 'DateTime',
|
|
575
|
+
5: 'Select',
|
|
576
|
+
6: 'MultiSelect',
|
|
577
|
+
7: 'Checkbox',
|
|
578
|
+
8: 'Toggle',
|
|
579
|
+
9: 'JsonEditor',
|
|
580
|
+
10: 'CodeEditor',
|
|
581
|
+
11: 'MarkdownEditor',
|
|
582
|
+
12: 'EntityReference',
|
|
583
|
+
13: 'Choice',
|
|
584
|
+
14: 'Boolean',
|
|
585
|
+
};
|
|
586
|
+
export const fieldValueSourceKinds = {
|
|
587
|
+
dataSourceField: 0,
|
|
588
|
+
localAggregate: 1,
|
|
589
|
+
expression: 2,
|
|
590
|
+
localState: 3,
|
|
591
|
+
};
|
|
592
|
+
export const fieldValueSourceKindLabels = {
|
|
593
|
+
0: 'DataSourceField',
|
|
594
|
+
1: 'LocalAggregate',
|
|
595
|
+
2: 'Expression',
|
|
596
|
+
3: 'LocalState',
|
|
597
|
+
};
|
|
598
|
+
export const fieldAggregationKinds = {
|
|
599
|
+
count: 0,
|
|
600
|
+
sum: 1,
|
|
601
|
+
average: 2,
|
|
602
|
+
min: 3,
|
|
603
|
+
max: 4,
|
|
604
|
+
exists: 5,
|
|
605
|
+
};
|
|
606
|
+
export const fieldAggregationKindLabels = {
|
|
607
|
+
0: 'Count',
|
|
608
|
+
1: 'Sum',
|
|
609
|
+
2: 'Average',
|
|
610
|
+
3: 'Min',
|
|
611
|
+
4: 'Max',
|
|
612
|
+
5: 'Exists',
|
|
613
|
+
};
|
|
614
|
+
export const flowStateKinds = {
|
|
615
|
+
idle: 0,
|
|
616
|
+
pending: 1,
|
|
617
|
+
prompt: 2,
|
|
618
|
+
process: 3,
|
|
619
|
+
terminal: 4,
|
|
620
|
+
error: 5,
|
|
621
|
+
};
|
|
622
|
+
export const flowStateKindLabels = {
|
|
623
|
+
0: 'Idle',
|
|
624
|
+
1: 'Pending',
|
|
625
|
+
2: 'Prompt',
|
|
626
|
+
3: 'Process',
|
|
627
|
+
4: 'Terminal',
|
|
628
|
+
5: 'Error',
|
|
629
|
+
};
|
|
630
|
+
export const formatKinds = {
|
|
631
|
+
text: 0,
|
|
632
|
+
number: 1,
|
|
633
|
+
date: 2,
|
|
634
|
+
dateTime: 3,
|
|
635
|
+
time: 4,
|
|
636
|
+
currency: 5,
|
|
637
|
+
percent: 6,
|
|
638
|
+
unit: 7,
|
|
639
|
+
duration: 8,
|
|
640
|
+
relativeTime: 9,
|
|
641
|
+
json: 10,
|
|
642
|
+
markdown: 11,
|
|
643
|
+
code: 12,
|
|
644
|
+
diff: 13,
|
|
645
|
+
};
|
|
646
|
+
export const formatKindLabels = {
|
|
647
|
+
0: 'Text',
|
|
648
|
+
1: 'Number',
|
|
649
|
+
2: 'Date',
|
|
650
|
+
3: 'DateTime',
|
|
651
|
+
4: 'Time',
|
|
652
|
+
5: 'Currency',
|
|
653
|
+
6: 'Percent',
|
|
654
|
+
7: 'Unit',
|
|
655
|
+
8: 'Duration',
|
|
656
|
+
9: 'RelativeTime',
|
|
657
|
+
10: 'Json',
|
|
658
|
+
11: 'Markdown',
|
|
659
|
+
12: 'Code',
|
|
660
|
+
13: 'Diff',
|
|
661
|
+
};
|
|
662
|
+
export const inputFormChoiceSourceKinds = {
|
|
663
|
+
staticChoices: 0,
|
|
664
|
+
dataSource: 1,
|
|
665
|
+
enrichedFacts: 2,
|
|
666
|
+
entityLookup: 3,
|
|
667
|
+
relationQuery: 4,
|
|
668
|
+
ontologyTerms: 5,
|
|
669
|
+
recentValues: 6,
|
|
670
|
+
endpoint: 7,
|
|
671
|
+
derivedFromContext: 8,
|
|
672
|
+
};
|
|
673
|
+
export const inputFormChoiceSourceKindLabels = {
|
|
674
|
+
0: 'StaticChoices',
|
|
675
|
+
1: 'DataSource',
|
|
676
|
+
2: 'EnrichedFacts',
|
|
677
|
+
3: 'EntityLookup',
|
|
678
|
+
4: 'RelationQuery',
|
|
679
|
+
5: 'OntologyTerms',
|
|
680
|
+
6: 'RecentValues',
|
|
681
|
+
7: 'Endpoint',
|
|
682
|
+
8: 'DerivedFromContext',
|
|
683
|
+
};
|
|
684
|
+
export const inputFormChoiceDefaultSelections = {
|
|
685
|
+
none: 0,
|
|
686
|
+
all: 1,
|
|
687
|
+
first: 2,
|
|
688
|
+
};
|
|
689
|
+
export const inputFormChoiceDefaultSelectionLabels = {
|
|
690
|
+
0: 'None',
|
|
691
|
+
1: 'All',
|
|
692
|
+
2: 'First',
|
|
693
|
+
};
|
|
694
|
+
export const inputFormEnrichmentStageKinds = {
|
|
695
|
+
normalize: 0,
|
|
696
|
+
resolveFacts: 1,
|
|
697
|
+
suggest: 2,
|
|
698
|
+
validate: 3,
|
|
699
|
+
lower: 4,
|
|
700
|
+
estimateCost: 5,
|
|
701
|
+
};
|
|
702
|
+
export const inputFormEnrichmentStageKindLabels = {
|
|
703
|
+
0: 'Normalize',
|
|
704
|
+
1: 'ResolveFacts',
|
|
705
|
+
2: 'Suggest',
|
|
706
|
+
3: 'Validate',
|
|
707
|
+
4: 'Lower',
|
|
708
|
+
5: 'EstimateCost',
|
|
709
|
+
};
|
|
710
|
+
export const inputFormFieldKinds = {
|
|
711
|
+
text: 0,
|
|
712
|
+
select: 1,
|
|
713
|
+
multiSelect: 2,
|
|
714
|
+
date: 3,
|
|
715
|
+
dateTime: 4,
|
|
716
|
+
dateTimeRange: 5,
|
|
717
|
+
number: 6,
|
|
718
|
+
numberRange: 7,
|
|
719
|
+
boolean: 8,
|
|
720
|
+
dynamicFacetRegion: 9,
|
|
721
|
+
relationProjectionEditor: 10,
|
|
722
|
+
relationPredicateEditor: 11,
|
|
723
|
+
relationAggregationEditor: 12,
|
|
724
|
+
};
|
|
725
|
+
export const inputFormFieldKindLabels = {
|
|
726
|
+
0: 'Text',
|
|
727
|
+
1: 'Select',
|
|
728
|
+
2: 'MultiSelect',
|
|
729
|
+
3: 'Date',
|
|
730
|
+
4: 'DateTime',
|
|
731
|
+
5: 'DateTimeRange',
|
|
732
|
+
6: 'Number',
|
|
733
|
+
7: 'NumberRange',
|
|
734
|
+
8: 'Boolean',
|
|
735
|
+
9: 'DynamicFacetRegion',
|
|
736
|
+
10: 'RelationProjectionEditor',
|
|
737
|
+
11: 'RelationPredicateEditor',
|
|
738
|
+
12: 'RelationAggregationEditor',
|
|
739
|
+
};
|
|
740
|
+
export const inputFormFieldControlKinds = {
|
|
741
|
+
default: 0,
|
|
742
|
+
dateTimeFilter: 1,
|
|
743
|
+
};
|
|
744
|
+
export const inputFormFieldControlKindLabels = {
|
|
745
|
+
0: 'Default',
|
|
746
|
+
1: 'DateTimeFilter',
|
|
747
|
+
};
|
|
748
|
+
export const inputFormGroupKinds = {
|
|
749
|
+
section: 0,
|
|
750
|
+
identity: 1,
|
|
751
|
+
lifecycle: 2,
|
|
752
|
+
time: 3,
|
|
753
|
+
advanced: 4,
|
|
754
|
+
review: 5,
|
|
755
|
+
step: 6,
|
|
756
|
+
toolbar: 7,
|
|
757
|
+
sidebar: 8,
|
|
758
|
+
inline: 9,
|
|
759
|
+
facetRegion: 10,
|
|
760
|
+
};
|
|
761
|
+
export const inputFormGroupKindLabels = {
|
|
762
|
+
0: 'Section',
|
|
763
|
+
1: 'Identity',
|
|
764
|
+
2: 'Lifecycle',
|
|
765
|
+
3: 'Time',
|
|
766
|
+
4: 'Advanced',
|
|
767
|
+
5: 'Review',
|
|
768
|
+
6: 'Step',
|
|
769
|
+
7: 'Toolbar',
|
|
770
|
+
8: 'Sidebar',
|
|
771
|
+
9: 'Inline',
|
|
772
|
+
10: 'FacetRegion',
|
|
773
|
+
};
|
|
774
|
+
export const inputFormGroupContainerIntents = {
|
|
775
|
+
inline: 0,
|
|
776
|
+
section: 1,
|
|
777
|
+
panel: 2,
|
|
778
|
+
accordion: 3,
|
|
779
|
+
tabs: 4,
|
|
780
|
+
wizardStep: 5,
|
|
781
|
+
sidebar: 6,
|
|
782
|
+
modal: 7,
|
|
783
|
+
toolbar: 8,
|
|
784
|
+
card: 9,
|
|
785
|
+
};
|
|
786
|
+
export const inputFormGroupContainerIntentLabels = {
|
|
787
|
+
0: 'Inline',
|
|
788
|
+
1: 'Section',
|
|
789
|
+
2: 'Panel',
|
|
790
|
+
3: 'Accordion',
|
|
791
|
+
4: 'Tabs',
|
|
792
|
+
5: 'WizardStep',
|
|
793
|
+
6: 'Sidebar',
|
|
794
|
+
7: 'Modal',
|
|
795
|
+
8: 'Toolbar',
|
|
796
|
+
9: 'Card',
|
|
797
|
+
};
|
|
798
|
+
export const inputFormSuggestionSourceKinds = {
|
|
799
|
+
staticChoices: 0,
|
|
800
|
+
entityAutocomplete: 1,
|
|
801
|
+
relationQuery: 2,
|
|
802
|
+
ontologyTerms: 3,
|
|
803
|
+
recentValues: 4,
|
|
804
|
+
endpoint: 5,
|
|
805
|
+
derivedFromContext: 6,
|
|
806
|
+
enrichedFacts: 7,
|
|
807
|
+
};
|
|
808
|
+
export const inputFormSuggestionSourceKindLabels = {
|
|
809
|
+
0: 'StaticChoices',
|
|
810
|
+
1: 'EntityAutocomplete',
|
|
811
|
+
2: 'RelationQuery',
|
|
812
|
+
3: 'OntologyTerms',
|
|
813
|
+
4: 'RecentValues',
|
|
814
|
+
5: 'Endpoint',
|
|
815
|
+
6: 'DerivedFromContext',
|
|
816
|
+
7: 'EnrichedFacts',
|
|
817
|
+
};
|
|
818
|
+
export const inputFormSuggestionWriteTargets = {
|
|
819
|
+
draftValue: 0,
|
|
820
|
+
facts: 1,
|
|
821
|
+
targetInput: 2,
|
|
822
|
+
queryFragment: 3,
|
|
823
|
+
};
|
|
824
|
+
export const inputFormSuggestionWriteTargetLabels = {
|
|
825
|
+
0: 'DraftValue',
|
|
826
|
+
1: 'Facts',
|
|
827
|
+
2: 'TargetInput',
|
|
828
|
+
3: 'QueryFragment',
|
|
829
|
+
};
|
|
830
|
+
export const inputFormTargetKinds = {
|
|
831
|
+
relationQuery: 0,
|
|
832
|
+
entityTransition: 1,
|
|
833
|
+
processInvocation: 2,
|
|
834
|
+
endpointRequest: 3,
|
|
835
|
+
enrichment: 4,
|
|
836
|
+
localState: 5,
|
|
837
|
+
};
|
|
838
|
+
export const inputFormTargetKindLabels = {
|
|
839
|
+
0: 'RelationQuery',
|
|
840
|
+
1: 'EntityTransition',
|
|
841
|
+
2: 'ProcessInvocation',
|
|
842
|
+
3: 'EndpointRequest',
|
|
843
|
+
4: 'Enrichment',
|
|
844
|
+
5: 'LocalState',
|
|
845
|
+
};
|
|
846
|
+
export const validationMarkerSeverities = {
|
|
847
|
+
info: 0,
|
|
848
|
+
warning: 1,
|
|
849
|
+
error: 2,
|
|
850
|
+
};
|
|
851
|
+
export const validationMarkerSeverityLabels = {
|
|
852
|
+
0: 'Info',
|
|
853
|
+
1: 'Warning',
|
|
854
|
+
2: 'Error',
|
|
855
|
+
};
|
|
856
|
+
export const inputFormValidationScopes = {
|
|
857
|
+
field: 0,
|
|
858
|
+
group: 1,
|
|
859
|
+
form: 2,
|
|
860
|
+
target: 3,
|
|
861
|
+
query: 4,
|
|
862
|
+
transition: 5,
|
|
863
|
+
process: 6,
|
|
864
|
+
endpoint: 7,
|
|
865
|
+
shape: 8,
|
|
866
|
+
};
|
|
867
|
+
export const inputFormValidationScopeLabels = {
|
|
868
|
+
0: 'Field',
|
|
869
|
+
1: 'Group',
|
|
870
|
+
2: 'Form',
|
|
871
|
+
3: 'Target',
|
|
872
|
+
4: 'Query',
|
|
873
|
+
5: 'Transition',
|
|
874
|
+
6: 'Process',
|
|
875
|
+
7: 'Endpoint',
|
|
876
|
+
8: 'Shape',
|
|
877
|
+
};
|
|
878
|
+
export const inputFormValidationSourceKinds = {
|
|
879
|
+
shape: 0,
|
|
880
|
+
form: 1,
|
|
881
|
+
relationQuery: 2,
|
|
882
|
+
transition: 3,
|
|
883
|
+
processInvocation: 4,
|
|
884
|
+
endpointRequest: 5,
|
|
885
|
+
capabilityPlanner: 6,
|
|
886
|
+
authorization: 7,
|
|
887
|
+
enrichment: 8,
|
|
888
|
+
};
|
|
889
|
+
export const inputFormValidationSourceKindLabels = {
|
|
890
|
+
0: 'Shape',
|
|
891
|
+
1: 'Form',
|
|
892
|
+
2: 'RelationQuery',
|
|
893
|
+
3: 'Transition',
|
|
894
|
+
4: 'ProcessInvocation',
|
|
895
|
+
5: 'EndpointRequest',
|
|
896
|
+
6: 'CapabilityPlanner',
|
|
897
|
+
7: 'Authorization',
|
|
898
|
+
8: 'Enrichment',
|
|
899
|
+
};
|
|
900
|
+
export const layoutNodeKinds = {
|
|
901
|
+
projection: 0,
|
|
902
|
+
view: 1,
|
|
903
|
+
tabGroup: 2,
|
|
904
|
+
splitGroup: 3,
|
|
905
|
+
dockRegion: 4,
|
|
906
|
+
floatingPanel: 5,
|
|
907
|
+
inspectorPanel: 6,
|
|
908
|
+
toolWindow: 7,
|
|
909
|
+
};
|
|
910
|
+
export const layoutNodeKindLabels = {
|
|
911
|
+
0: 'Projection',
|
|
912
|
+
1: 'View',
|
|
913
|
+
2: 'TabGroup',
|
|
914
|
+
3: 'SplitGroup',
|
|
915
|
+
4: 'DockRegion',
|
|
916
|
+
5: 'FloatingPanel',
|
|
917
|
+
6: 'InspectorPanel',
|
|
918
|
+
7: 'ToolWindow',
|
|
919
|
+
};
|
|
920
|
+
export const layoutOrientations = {
|
|
921
|
+
none: 0,
|
|
922
|
+
horizontal: 1,
|
|
923
|
+
vertical: 2,
|
|
924
|
+
};
|
|
925
|
+
export const layoutOrientationLabels = {
|
|
926
|
+
0: 'None',
|
|
927
|
+
1: 'Horizontal',
|
|
928
|
+
2: 'Vertical',
|
|
929
|
+
};
|
|
930
|
+
export const localDocumentEditorActionKinds = {
|
|
931
|
+
reset: 0,
|
|
932
|
+
format: 1,
|
|
933
|
+
};
|
|
934
|
+
export const localDocumentEditorActionKindLabels = {
|
|
935
|
+
0: 'Reset',
|
|
936
|
+
1: 'Format',
|
|
937
|
+
};
|
|
938
|
+
export const navigationActionKinds = {
|
|
939
|
+
navigateToRoute: 0,
|
|
940
|
+
returnToPreviousContext: 1,
|
|
941
|
+
openModal: 2,
|
|
942
|
+
closeModal: 3,
|
|
943
|
+
replaceRoute: 4,
|
|
944
|
+
openWorkspace: 5,
|
|
945
|
+
openPageHost: 6,
|
|
946
|
+
};
|
|
947
|
+
export const navigationActionKindLabels = {
|
|
948
|
+
0: 'NavigateToRoute',
|
|
949
|
+
1: 'ReturnToPreviousContext',
|
|
950
|
+
2: 'OpenModal',
|
|
951
|
+
3: 'CloseModal',
|
|
952
|
+
4: 'ReplaceRoute',
|
|
953
|
+
5: 'OpenWorkspace',
|
|
954
|
+
6: 'OpenPageHost',
|
|
955
|
+
};
|
|
956
|
+
export const navigationContextKinds = {
|
|
957
|
+
browser: 0,
|
|
958
|
+
workspace: 1,
|
|
959
|
+
modal: 2,
|
|
960
|
+
embedded: 3,
|
|
961
|
+
};
|
|
962
|
+
export const navigationContextKindLabels = {
|
|
963
|
+
0: 'Browser',
|
|
964
|
+
1: 'Workspace',
|
|
965
|
+
2: 'Modal',
|
|
966
|
+
3: 'Embedded',
|
|
967
|
+
};
|
|
968
|
+
export const navigationContextEffectKinds = {
|
|
969
|
+
push: 0,
|
|
970
|
+
replace: 1,
|
|
971
|
+
preserve: 2,
|
|
972
|
+
clear: 3,
|
|
973
|
+
return: 4,
|
|
974
|
+
};
|
|
975
|
+
export const navigationContextEffectKindLabels = {
|
|
976
|
+
0: 'Push',
|
|
977
|
+
1: 'Replace',
|
|
978
|
+
2: 'Preserve',
|
|
979
|
+
3: 'Clear',
|
|
980
|
+
4: 'Return',
|
|
981
|
+
};
|
|
982
|
+
export const navigationEdgeKinds = {
|
|
983
|
+
primaryNavigation: 0,
|
|
984
|
+
relatedEntityRoute: 1,
|
|
985
|
+
drillDown: 2,
|
|
986
|
+
};
|
|
987
|
+
export const navigationEdgeKindLabels = {
|
|
988
|
+
0: 'PrimaryNavigation',
|
|
989
|
+
1: 'RelatedEntityRoute',
|
|
990
|
+
2: 'DrillDown',
|
|
991
|
+
};
|
|
992
|
+
export const navigationHistoryKinds = {
|
|
993
|
+
none: 0,
|
|
994
|
+
browser: 1,
|
|
995
|
+
inMemory: 2,
|
|
996
|
+
persistent: 3,
|
|
997
|
+
};
|
|
998
|
+
export const navigationHistoryKindLabels = {
|
|
999
|
+
0: 'None',
|
|
1000
|
+
1: 'Browser',
|
|
1001
|
+
2: 'InMemory',
|
|
1002
|
+
3: 'Persistent',
|
|
1003
|
+
};
|
|
1004
|
+
export const navigationRouteUpdateModes = {
|
|
1005
|
+
transition: 0,
|
|
1006
|
+
synchronous: 1,
|
|
1007
|
+
};
|
|
1008
|
+
export const navigationRouteUpdateModeLabels = {
|
|
1009
|
+
0: 'Transition',
|
|
1010
|
+
1: 'Synchronous',
|
|
1011
|
+
};
|
|
1012
|
+
export const navigationRouteInstanceIdentityKinds = {
|
|
1013
|
+
matchedRoute: 0,
|
|
1014
|
+
path: 1,
|
|
1015
|
+
pathAndSearch: 2,
|
|
1016
|
+
fullLocation: 3,
|
|
1017
|
+
};
|
|
1018
|
+
export const navigationRouteInstanceIdentityKindLabels = {
|
|
1019
|
+
0: 'MatchedRoute',
|
|
1020
|
+
1: 'Path',
|
|
1021
|
+
2: 'PathAndSearch',
|
|
1022
|
+
3: 'FullLocation',
|
|
1023
|
+
};
|
|
1024
|
+
export const navigationNodeKinds = {
|
|
1025
|
+
page: 0,
|
|
1026
|
+
collection: 1,
|
|
1027
|
+
entityDetail: 2,
|
|
1028
|
+
};
|
|
1029
|
+
export const navigationNodeKindLabels = {
|
|
1030
|
+
0: 'Page',
|
|
1031
|
+
1: 'Collection',
|
|
1032
|
+
2: 'EntityDetail',
|
|
1033
|
+
};
|
|
1034
|
+
export const navigationRouteKinds = {
|
|
1035
|
+
page: 0,
|
|
1036
|
+
entityDetail: 1,
|
|
1037
|
+
};
|
|
1038
|
+
export const navigationRouteKindLabels = {
|
|
1039
|
+
0: 'Page',
|
|
1040
|
+
1: 'EntityDetail',
|
|
1041
|
+
};
|
|
1042
|
+
export const navigationShellKinds = {
|
|
1043
|
+
topNavigation: 0,
|
|
1044
|
+
sideNavigation: 1,
|
|
1045
|
+
bottomNavigation: 2,
|
|
1046
|
+
commandNavigation: 3,
|
|
1047
|
+
};
|
|
1048
|
+
export const navigationShellKindLabels = {
|
|
1049
|
+
0: 'TopNavigation',
|
|
1050
|
+
1: 'SideNavigation',
|
|
1051
|
+
2: 'BottomNavigation',
|
|
1052
|
+
3: 'CommandNavigation',
|
|
1053
|
+
};
|
|
1054
|
+
export const navigationShellRegionKinds = {
|
|
1055
|
+
processTaskDrawer: 0,
|
|
1056
|
+
toolbarActions: 1,
|
|
1057
|
+
userMenu: 2,
|
|
1058
|
+
notifications: 3,
|
|
1059
|
+
authenticationPrompt: 4,
|
|
1060
|
+
};
|
|
1061
|
+
export const navigationShellRegionKindLabels = {
|
|
1062
|
+
0: 'ProcessTaskDrawer',
|
|
1063
|
+
1: 'ToolbarActions',
|
|
1064
|
+
2: 'UserMenu',
|
|
1065
|
+
3: 'Notifications',
|
|
1066
|
+
4: 'AuthenticationPrompt',
|
|
1067
|
+
};
|
|
1068
|
+
export const navigationShellSlotKinds = {
|
|
1069
|
+
brand: 0,
|
|
1070
|
+
primaryNavigation: 1,
|
|
1071
|
+
utilityActions: 2,
|
|
1072
|
+
systemNotices: 3,
|
|
1073
|
+
routedContent: 4,
|
|
1074
|
+
custom: 5,
|
|
1075
|
+
};
|
|
1076
|
+
export const navigationShellSlotKindLabels = {
|
|
1077
|
+
0: 'Brand',
|
|
1078
|
+
1: 'PrimaryNavigation',
|
|
1079
|
+
2: 'UtilityActions',
|
|
1080
|
+
3: 'SystemNotices',
|
|
1081
|
+
4: 'RoutedContent',
|
|
1082
|
+
5: 'Custom',
|
|
1083
|
+
};
|
|
1084
|
+
export const pageHostKinds = {
|
|
1085
|
+
workspace: 0,
|
|
1086
|
+
singleView: 1,
|
|
1087
|
+
tabbedHost: 2,
|
|
1088
|
+
splitHost: 3,
|
|
1089
|
+
dashboard: 4,
|
|
1090
|
+
wizard: 5,
|
|
1091
|
+
modalHost: 6,
|
|
1092
|
+
shellHost: 7,
|
|
1093
|
+
};
|
|
1094
|
+
export const pageHostKindLabels = {
|
|
1095
|
+
0: 'Workspace',
|
|
1096
|
+
1: 'SingleView',
|
|
1097
|
+
2: 'TabbedHost',
|
|
1098
|
+
3: 'SplitHost',
|
|
1099
|
+
4: 'Dashboard',
|
|
1100
|
+
5: 'Wizard',
|
|
1101
|
+
6: 'ModalHost',
|
|
1102
|
+
7: 'ShellHost',
|
|
1103
|
+
};
|
|
1104
|
+
export const pageRegionKinds = {
|
|
1105
|
+
content: 0,
|
|
1106
|
+
header: 1,
|
|
1107
|
+
toolbar: 2,
|
|
1108
|
+
sidebar: 3,
|
|
1109
|
+
footer: 4,
|
|
1110
|
+
tab: 5,
|
|
1111
|
+
splitPane: 6,
|
|
1112
|
+
modal: 7,
|
|
1113
|
+
shell: 8,
|
|
1114
|
+
custom: 9,
|
|
1115
|
+
};
|
|
1116
|
+
export const pageRegionKindLabels = {
|
|
1117
|
+
0: 'Content',
|
|
1118
|
+
1: 'Header',
|
|
1119
|
+
2: 'Toolbar',
|
|
1120
|
+
3: 'Sidebar',
|
|
1121
|
+
4: 'Footer',
|
|
1122
|
+
5: 'Tab',
|
|
1123
|
+
6: 'SplitPane',
|
|
1124
|
+
7: 'Modal',
|
|
1125
|
+
8: 'Shell',
|
|
1126
|
+
9: 'Custom',
|
|
1127
|
+
};
|
|
1128
|
+
export const presentationBindingKinds = {
|
|
1129
|
+
apiEndpoint: 0,
|
|
1130
|
+
component: 1,
|
|
1131
|
+
viewComponent: 2,
|
|
1132
|
+
actionEndpoint: 3,
|
|
1133
|
+
navigationRoute: 4,
|
|
1134
|
+
flowEvent: 5,
|
|
1135
|
+
localState: 6,
|
|
1136
|
+
transition: 7,
|
|
1137
|
+
relationQuery: 8,
|
|
1138
|
+
externalUri: 9,
|
|
1139
|
+
projectionRenderer: 10,
|
|
1140
|
+
workspaceRuntime: 11,
|
|
1141
|
+
pageHostComponent: 12,
|
|
1142
|
+
navigationShellRegionComponent: 13,
|
|
1143
|
+
icon: 14,
|
|
1144
|
+
};
|
|
1145
|
+
export const presentationBindingKindLabels = {
|
|
1146
|
+
0: 'ApiEndpoint',
|
|
1147
|
+
1: 'Component',
|
|
1148
|
+
2: 'ViewComponent',
|
|
1149
|
+
3: 'ActionEndpoint',
|
|
1150
|
+
4: 'NavigationRoute',
|
|
1151
|
+
5: 'FlowEvent',
|
|
1152
|
+
6: 'LocalState',
|
|
1153
|
+
7: 'Transition',
|
|
1154
|
+
8: 'RelationQuery',
|
|
1155
|
+
9: 'ExternalUri',
|
|
1156
|
+
10: 'ProjectionRenderer',
|
|
1157
|
+
11: 'WorkspaceRuntime',
|
|
1158
|
+
12: 'PageHostComponent',
|
|
1159
|
+
13: 'NavigationShellRegionComponent',
|
|
1160
|
+
14: 'Icon',
|
|
1161
|
+
};
|
|
1162
|
+
export const presentationExpressionUsages = {
|
|
1163
|
+
predicate: 0,
|
|
1164
|
+
projection: 1,
|
|
1165
|
+
metric: 2,
|
|
1166
|
+
visibility: 3,
|
|
1167
|
+
enablement: 4,
|
|
1168
|
+
label: 5,
|
|
1169
|
+
navigation: 6,
|
|
1170
|
+
dataSourceParameter: 7,
|
|
1171
|
+
stateDerivation: 8,
|
|
1172
|
+
};
|
|
1173
|
+
export const presentationExpressionUsageLabels = {
|
|
1174
|
+
0: 'Predicate',
|
|
1175
|
+
1: 'Projection',
|
|
1176
|
+
2: 'Metric',
|
|
1177
|
+
3: 'Visibility',
|
|
1178
|
+
4: 'Enablement',
|
|
1179
|
+
5: 'Label',
|
|
1180
|
+
6: 'Navigation',
|
|
1181
|
+
7: 'DataSourceParameter',
|
|
1182
|
+
8: 'StateDerivation',
|
|
1183
|
+
};
|
|
1184
|
+
export const presentationValueKinds = {
|
|
1185
|
+
literal: 0,
|
|
1186
|
+
field: 1,
|
|
1187
|
+
expression: 2,
|
|
1188
|
+
state: 3,
|
|
1189
|
+
};
|
|
1190
|
+
export const presentationValueKindLabels = {
|
|
1191
|
+
0: 'Literal',
|
|
1192
|
+
1: 'Field',
|
|
1193
|
+
2: 'Expression',
|
|
1194
|
+
3: 'State',
|
|
1195
|
+
};
|
|
1196
|
+
export const projectionCoordinateKinds = {
|
|
1197
|
+
jsonPointer: 0,
|
|
1198
|
+
textRange: 1,
|
|
1199
|
+
treeNodeId: 2,
|
|
1200
|
+
graphNodeId: 3,
|
|
1201
|
+
typeId: 4,
|
|
1202
|
+
fieldBinding: 5,
|
|
1203
|
+
diagnosticId: 6,
|
|
1204
|
+
};
|
|
1205
|
+
export const projectionCoordinateKindLabels = {
|
|
1206
|
+
0: 'JsonPointer',
|
|
1207
|
+
1: 'TextRange',
|
|
1208
|
+
2: 'TreeNodeId',
|
|
1209
|
+
3: 'GraphNodeId',
|
|
1210
|
+
4: 'TypeId',
|
|
1211
|
+
5: 'FieldBinding',
|
|
1212
|
+
6: 'DiagnosticId',
|
|
1213
|
+
};
|
|
1214
|
+
export const semanticReferenceKinds = {
|
|
1215
|
+
document: 0,
|
|
1216
|
+
jsonPointer: 1,
|
|
1217
|
+
ediSegment: 2,
|
|
1218
|
+
ediLoop: 3,
|
|
1219
|
+
ediElement: 4,
|
|
1220
|
+
shapeGraph: 5,
|
|
1221
|
+
shape: 6,
|
|
1222
|
+
shapeField: 7,
|
|
1223
|
+
type: 8,
|
|
1224
|
+
typeField: 9,
|
|
1225
|
+
diagnostic: 10,
|
|
1226
|
+
};
|
|
1227
|
+
export const semanticReferenceKindLabels = {
|
|
1228
|
+
0: 'Document',
|
|
1229
|
+
1: 'JsonPointer',
|
|
1230
|
+
2: 'EdiSegment',
|
|
1231
|
+
3: 'EdiLoop',
|
|
1232
|
+
4: 'EdiElement',
|
|
1233
|
+
5: 'ShapeGraph',
|
|
1234
|
+
6: 'Shape',
|
|
1235
|
+
7: 'ShapeField',
|
|
1236
|
+
8: 'Type',
|
|
1237
|
+
9: 'TypeField',
|
|
1238
|
+
10: 'Diagnostic',
|
|
1239
|
+
};
|
|
1240
|
+
export const projectionKinds = {
|
|
1241
|
+
jsonText: 0,
|
|
1242
|
+
treeView: 1,
|
|
1243
|
+
typeTree: 2,
|
|
1244
|
+
graphView: 3,
|
|
1245
|
+
formView: 4,
|
|
1246
|
+
segmentView: 5,
|
|
1247
|
+
validationView: 6,
|
|
1248
|
+
tableView: 7,
|
|
1249
|
+
};
|
|
1250
|
+
export const projectionKindLabels = {
|
|
1251
|
+
0: 'JsonText',
|
|
1252
|
+
1: 'TreeView',
|
|
1253
|
+
2: 'TypeTree',
|
|
1254
|
+
3: 'GraphView',
|
|
1255
|
+
4: 'FormView',
|
|
1256
|
+
5: 'SegmentView',
|
|
1257
|
+
6: 'ValidationView',
|
|
1258
|
+
7: 'TableView',
|
|
1259
|
+
};
|
|
1260
|
+
export const projectionMappingDirections = {
|
|
1261
|
+
localToSemantic: 0,
|
|
1262
|
+
semanticToLocal: 1,
|
|
1263
|
+
bidirectional: 2,
|
|
1264
|
+
};
|
|
1265
|
+
export const projectionMappingDirectionLabels = {
|
|
1266
|
+
0: 'LocalToSemantic',
|
|
1267
|
+
1: 'SemanticToLocal',
|
|
1268
|
+
2: 'Bidirectional',
|
|
1269
|
+
};
|
|
1270
|
+
export const projectionSubjectKinds = {
|
|
1271
|
+
document: 0,
|
|
1272
|
+
structure: 1,
|
|
1273
|
+
shapeGraph: 2,
|
|
1274
|
+
shape: 3,
|
|
1275
|
+
typeSystem: 4,
|
|
1276
|
+
segmentCatalog: 5,
|
|
1277
|
+
diagnostics: 6,
|
|
1278
|
+
};
|
|
1279
|
+
export const projectionSubjectKindLabels = {
|
|
1280
|
+
0: 'Document',
|
|
1281
|
+
1: 'Structure',
|
|
1282
|
+
2: 'ShapeGraph',
|
|
1283
|
+
3: 'Shape',
|
|
1284
|
+
4: 'TypeSystem',
|
|
1285
|
+
5: 'SegmentCatalog',
|
|
1286
|
+
6: 'Diagnostics',
|
|
1287
|
+
};
|
|
1288
|
+
export const promptStatusMessageKinds = {
|
|
1289
|
+
actionPending: 0,
|
|
1290
|
+
actionError: 1,
|
|
1291
|
+
dataFieldEquals: 2,
|
|
1292
|
+
dataFieldTruthy: 3,
|
|
1293
|
+
};
|
|
1294
|
+
export const promptStatusMessageKindLabels = {
|
|
1295
|
+
0: 'ActionPending',
|
|
1296
|
+
1: 'ActionError',
|
|
1297
|
+
2: 'DataFieldEquals',
|
|
1298
|
+
3: 'DataFieldTruthy',
|
|
1299
|
+
};
|
|
1300
|
+
export const queryFormExecutionModes = {
|
|
1301
|
+
manual: 0,
|
|
1302
|
+
live: 1,
|
|
1303
|
+
debouncedLive: 2,
|
|
1304
|
+
};
|
|
1305
|
+
export const queryFormExecutionModeLabels = {
|
|
1306
|
+
0: 'Manual',
|
|
1307
|
+
1: 'Live',
|
|
1308
|
+
2: 'DebouncedLive',
|
|
1309
|
+
};
|
|
1310
|
+
export const queryFormPredicateKinds = {
|
|
1311
|
+
exact: 0,
|
|
1312
|
+
prefix: 1,
|
|
1313
|
+
contains: 2,
|
|
1314
|
+
fullText: 3,
|
|
1315
|
+
in: 4,
|
|
1316
|
+
dateRange: 5,
|
|
1317
|
+
numberRange: 6,
|
|
1318
|
+
exists: 7,
|
|
1319
|
+
};
|
|
1320
|
+
export const queryFormPredicateKindLabels = {
|
|
1321
|
+
0: 'Exact',
|
|
1322
|
+
1: 'Prefix',
|
|
1323
|
+
2: 'Contains',
|
|
1324
|
+
3: 'FullText',
|
|
1325
|
+
4: 'In',
|
|
1326
|
+
5: 'DateRange',
|
|
1327
|
+
6: 'NumberRange',
|
|
1328
|
+
7: 'Exists',
|
|
1329
|
+
};
|
|
1330
|
+
export const queryLoweringKinds = {
|
|
1331
|
+
presentationValueToEndpointRequest: 0,
|
|
1332
|
+
endpointRequestToQueryModel: 1,
|
|
1333
|
+
queryModelToEndpointRequest: 2,
|
|
1334
|
+
};
|
|
1335
|
+
export const queryLoweringKindLabels = {
|
|
1336
|
+
0: 'PresentationValueToEndpointRequest',
|
|
1337
|
+
1: 'EndpointRequestToQueryModel',
|
|
1338
|
+
2: 'QueryModelToEndpointRequest',
|
|
1339
|
+
};
|
|
1340
|
+
export const presentationTargetKinds = {
|
|
1341
|
+
react: 0,
|
|
1342
|
+
blazor: 1,
|
|
1343
|
+
blazorServer: 2,
|
|
1344
|
+
blazorWebAssembly: 3,
|
|
1345
|
+
blazorHybrid: 4,
|
|
1346
|
+
html: 5,
|
|
1347
|
+
native: 6,
|
|
1348
|
+
};
|
|
1349
|
+
export const presentationTargetKindLabels = {
|
|
1350
|
+
0: 'React',
|
|
1351
|
+
1: 'Blazor',
|
|
1352
|
+
2: 'BlazorServer',
|
|
1353
|
+
3: 'BlazorWebAssembly',
|
|
1354
|
+
4: 'BlazorHybrid',
|
|
1355
|
+
5: 'Html',
|
|
1356
|
+
6: 'Native',
|
|
1357
|
+
};
|
|
1358
|
+
export const viewChromeSlotKinds = {
|
|
1359
|
+
actions: 0,
|
|
1360
|
+
badgeStrip: 1,
|
|
1361
|
+
metricStrip: 2,
|
|
1362
|
+
viewSwitch: 3,
|
|
1363
|
+
layoutSwitch: 4,
|
|
1364
|
+
headingTrailing: 5,
|
|
1365
|
+
status: 6,
|
|
1366
|
+
custom: 7,
|
|
1367
|
+
};
|
|
1368
|
+
export const viewChromeSlotKindLabels = {
|
|
1369
|
+
0: 'Actions',
|
|
1370
|
+
1: 'BadgeStrip',
|
|
1371
|
+
2: 'MetricStrip',
|
|
1372
|
+
3: 'ViewSwitch',
|
|
1373
|
+
4: 'LayoutSwitch',
|
|
1374
|
+
5: 'HeadingTrailing',
|
|
1375
|
+
6: 'Status',
|
|
1376
|
+
7: 'Custom',
|
|
1377
|
+
};
|
|
1378
|
+
export const viewChromeSlotPlacements = {
|
|
1379
|
+
none: 0,
|
|
1380
|
+
header: 1,
|
|
1381
|
+
toolbar: 2,
|
|
1382
|
+
beforeContent: 3,
|
|
1383
|
+
afterContent: 4,
|
|
1384
|
+
footer: 5,
|
|
1385
|
+
};
|
|
1386
|
+
export const viewChromeSlotPlacementLabels = {
|
|
1387
|
+
0: 'None',
|
|
1388
|
+
1: 'Header',
|
|
1389
|
+
2: 'Toolbar',
|
|
1390
|
+
3: 'BeforeContent',
|
|
1391
|
+
4: 'AfterContent',
|
|
1392
|
+
5: 'Footer',
|
|
1393
|
+
};
|
|
1394
|
+
export const viewKinds = {
|
|
1395
|
+
page: 0,
|
|
1396
|
+
panel: 1,
|
|
1397
|
+
collection: 2,
|
|
1398
|
+
recordDetail: 3,
|
|
1399
|
+
form: 4,
|
|
1400
|
+
dashboard: 5,
|
|
1401
|
+
graph: 6,
|
|
1402
|
+
timeline: 7,
|
|
1403
|
+
search: 8,
|
|
1404
|
+
wizard: 9,
|
|
1405
|
+
prompt: 10,
|
|
1406
|
+
modal: 11,
|
|
1407
|
+
drawer: 12,
|
|
1408
|
+
navigationShell: 13,
|
|
1409
|
+
commandSurface: 14,
|
|
1410
|
+
surface: 15,
|
|
1411
|
+
documentWorkspace: 16,
|
|
1412
|
+
tabbedSurface: 17,
|
|
1413
|
+
};
|
|
1414
|
+
export const viewKindLabels = {
|
|
1415
|
+
0: 'Page',
|
|
1416
|
+
1: 'Panel',
|
|
1417
|
+
2: 'Collection',
|
|
1418
|
+
3: 'RecordDetail',
|
|
1419
|
+
4: 'Form',
|
|
1420
|
+
5: 'Dashboard',
|
|
1421
|
+
6: 'Graph',
|
|
1422
|
+
7: 'Timeline',
|
|
1423
|
+
8: 'Search',
|
|
1424
|
+
9: 'Wizard',
|
|
1425
|
+
10: 'Prompt',
|
|
1426
|
+
11: 'Modal',
|
|
1427
|
+
12: 'Drawer',
|
|
1428
|
+
13: 'NavigationShell',
|
|
1429
|
+
14: 'CommandSurface',
|
|
1430
|
+
15: 'Surface',
|
|
1431
|
+
16: 'DocumentWorkspace',
|
|
1432
|
+
17: 'TabbedSurface',
|
|
1433
|
+
};
|
|
1434
|
+
export const viewStateKinds = {
|
|
1435
|
+
choice: 0,
|
|
1436
|
+
toggle: 1,
|
|
1437
|
+
value: 2,
|
|
1438
|
+
documentAddress: 3,
|
|
1439
|
+
};
|
|
1440
|
+
export const viewStateKindLabels = {
|
|
1441
|
+
0: 'Choice',
|
|
1442
|
+
1: 'Toggle',
|
|
1443
|
+
2: 'Value',
|
|
1444
|
+
3: 'DocumentAddress',
|
|
1445
|
+
};
|
|
1446
|
+
export const viewSubjectKinds = {
|
|
1447
|
+
shape: 0,
|
|
1448
|
+
entity: 1,
|
|
1449
|
+
relationProjection: 2,
|
|
1450
|
+
transitionInputForm: 3,
|
|
1451
|
+
effectStream: 4,
|
|
1452
|
+
localFlowState: 5,
|
|
1453
|
+
navigationNode: 6,
|
|
1454
|
+
generatedSearchResult: 7,
|
|
1455
|
+
dashboardAggregate: 8,
|
|
1456
|
+
route: 9,
|
|
1457
|
+
dataSource: 10,
|
|
1458
|
+
flow: 11,
|
|
1459
|
+
processes: 12,
|
|
1460
|
+
promptInput: 13,
|
|
1461
|
+
queryForm: 14,
|
|
1462
|
+
};
|
|
1463
|
+
export const viewSubjectKindLabels = {
|
|
1464
|
+
0: 'Shape',
|
|
1465
|
+
1: 'Entity',
|
|
1466
|
+
2: 'RelationProjection',
|
|
1467
|
+
3: 'TransitionInputForm',
|
|
1468
|
+
4: 'EffectStream',
|
|
1469
|
+
5: 'LocalFlowState',
|
|
1470
|
+
6: 'NavigationNode',
|
|
1471
|
+
7: 'GeneratedSearchResult',
|
|
1472
|
+
8: 'DashboardAggregate',
|
|
1473
|
+
9: 'Route',
|
|
1474
|
+
10: 'DataSource',
|
|
1475
|
+
11: 'Flow',
|
|
1476
|
+
12: 'Processes',
|
|
1477
|
+
13: 'PromptInput',
|
|
1478
|
+
14: 'QueryForm',
|
|
1479
|
+
};
|
|
1480
|
+
export const workspaceInstantiationModes = {
|
|
1481
|
+
shared: 0,
|
|
1482
|
+
routeScoped: 1,
|
|
1483
|
+
transient: 2,
|
|
1484
|
+
singleton: 3,
|
|
1485
|
+
};
|
|
1486
|
+
export const workspaceInstantiationModeLabels = {
|
|
1487
|
+
0: 'Shared',
|
|
1488
|
+
1: 'RouteScoped',
|
|
1489
|
+
2: 'Transient',
|
|
1490
|
+
3: 'Singleton',
|
|
1491
|
+
};
|
|
1492
|
+
export const unaryOperators = {
|
|
1493
|
+
not: 0,
|
|
1494
|
+
};
|
|
1495
|
+
export const unaryOperatorLabels = {
|
|
1496
|
+
0: 'Not',
|
|
1497
|
+
};
|
|
1498
|
+
export const binaryOperators = {
|
|
1499
|
+
eq: 0,
|
|
1500
|
+
ne: 1,
|
|
1501
|
+
gt: 2,
|
|
1502
|
+
ge: 3,
|
|
1503
|
+
lt: 4,
|
|
1504
|
+
le: 5,
|
|
1505
|
+
and: 6,
|
|
1506
|
+
or: 7,
|
|
1507
|
+
add: 8,
|
|
1508
|
+
sub: 9,
|
|
1509
|
+
mul: 10,
|
|
1510
|
+
div: 11,
|
|
1511
|
+
};
|
|
1512
|
+
export const binaryOperatorLabels = {
|
|
1513
|
+
0: 'Eq',
|
|
1514
|
+
1: 'Ne',
|
|
1515
|
+
2: 'Gt',
|
|
1516
|
+
3: 'Ge',
|
|
1517
|
+
4: 'Lt',
|
|
1518
|
+
5: 'Le',
|
|
1519
|
+
6: 'And',
|
|
1520
|
+
7: 'Or',
|
|
1521
|
+
8: 'Add',
|
|
1522
|
+
9: 'Sub',
|
|
1523
|
+
10: 'Mul',
|
|
1524
|
+
11: 'Div',
|
|
1525
|
+
};
|
|
1526
|
+
export const scalarTypeKinds = {
|
|
1527
|
+
bool: 0,
|
|
1528
|
+
int32: 1,
|
|
1529
|
+
int64: 2,
|
|
1530
|
+
decimal: 3,
|
|
1531
|
+
string: 4,
|
|
1532
|
+
guid: 5,
|
|
1533
|
+
date: 6,
|
|
1534
|
+
dateTime: 7,
|
|
1535
|
+
instant: 8,
|
|
1536
|
+
bytes: 9,
|
|
1537
|
+
};
|
|
1538
|
+
export const scalarTypeKindLabels = {
|
|
1539
|
+
0: 'Bool',
|
|
1540
|
+
1: 'Int32',
|
|
1541
|
+
2: 'Int64',
|
|
1542
|
+
3: 'Decimal',
|
|
1543
|
+
4: 'String',
|
|
1544
|
+
5: 'Guid',
|
|
1545
|
+
6: 'Date',
|
|
1546
|
+
7: 'DateTime',
|
|
1547
|
+
8: 'Instant',
|
|
1548
|
+
9: 'Bytes',
|
|
1549
|
+
};
|
|
1550
|
+
export const primitiveFormats = {
|
|
1551
|
+
none: 0,
|
|
1552
|
+
uuid: 1,
|
|
1553
|
+
isoDate: 2,
|
|
1554
|
+
isoDateTime: 3,
|
|
1555
|
+
isoInstant: 4,
|
|
1556
|
+
currencyCode: 5,
|
|
1557
|
+
countryCode: 6,
|
|
1558
|
+
email: 7,
|
|
1559
|
+
uri: 8,
|
|
1560
|
+
base64: 9,
|
|
1561
|
+
};
|
|
1562
|
+
export const primitiveFormatLabels = {
|
|
1563
|
+
0: 'None',
|
|
1564
|
+
1: 'Uuid',
|
|
1565
|
+
2: 'IsoDate',
|
|
1566
|
+
3: 'IsoDateTime',
|
|
1567
|
+
4: 'IsoInstant',
|
|
1568
|
+
5: 'CurrencyCode',
|
|
1569
|
+
6: 'CountryCode',
|
|
1570
|
+
7: 'Email',
|
|
1571
|
+
8: 'Uri',
|
|
1572
|
+
9: 'Base64',
|
|
1573
|
+
};
|
|
1574
|
+
export const jsonTypeKinds = {
|
|
1575
|
+
any: 0,
|
|
1576
|
+
object: 1,
|
|
1577
|
+
array: 2,
|
|
1578
|
+
string: 3,
|
|
1579
|
+
number: 4,
|
|
1580
|
+
boolean: 5,
|
|
1581
|
+
};
|
|
1582
|
+
export const jsonTypeKindLabels = {
|
|
1583
|
+
0: 'Any',
|
|
1584
|
+
1: 'Object',
|
|
1585
|
+
2: 'Array',
|
|
1586
|
+
3: 'String',
|
|
1587
|
+
4: 'Number',
|
|
1588
|
+
5: 'Boolean',
|
|
1589
|
+
};
|
|
1590
|
+
export const segmentKinds = {
|
|
1591
|
+
field: 0,
|
|
1592
|
+
element: 2,
|
|
1593
|
+
};
|
|
1594
|
+
export const segmentKindLabels = {
|
|
1595
|
+
0: 'Field',
|
|
1596
|
+
2: 'Element',
|
|
1597
|
+
};
|
|
1598
|
+
export const fieldPresences = {
|
|
1599
|
+
required: 0,
|
|
1600
|
+
optional: 1,
|
|
1601
|
+
};
|
|
1602
|
+
export const fieldPresenceLabels = {
|
|
1603
|
+
0: 'Required',
|
|
1604
|
+
1: 'Optional',
|
|
1605
|
+
};
|
|
1606
|
+
//# sourceMappingURL=cohesive.shapes.generated.js.map
|