@osdk/maker-experimental 0.3.0-beta.1 → 0.3.0-beta.2
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.
|
@@ -76,472 +76,472 @@ describe("Experimental Test Suite", () => {
|
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
78
|
expect(dumpOntologyFullMetadata().blockData).toMatchInlineSnapshot(`
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
},
|
|
94
|
-
"id": {
|
|
95
|
-
"parameterId": "id",
|
|
96
|
-
"type": "parameterId",
|
|
97
|
-
},
|
|
98
|
-
"team": {
|
|
99
|
-
"parameterId": "team",
|
|
100
|
-
"type": "parameterId",
|
|
101
|
-
},
|
|
79
|
+
{
|
|
80
|
+
"actionTypes": {
|
|
81
|
+
"com.palantir.create-object-foo": {
|
|
82
|
+
"actionType": {
|
|
83
|
+
"actionTypeLogic": {
|
|
84
|
+
"logic": {
|
|
85
|
+
"rules": [
|
|
86
|
+
{
|
|
87
|
+
"addObjectRule": {
|
|
88
|
+
"objectTypeId": "com.palantir.foo",
|
|
89
|
+
"propertyValues": {
|
|
90
|
+
"date": {
|
|
91
|
+
"parameterId": "date",
|
|
92
|
+
"type": "parameterId",
|
|
102
93
|
},
|
|
103
|
-
"
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
},
|
|
107
|
-
],
|
|
108
|
-
},
|
|
109
|
-
"validation": {
|
|
110
|
-
"actionTypeLevelValidation": {
|
|
111
|
-
"rules": {
|
|
112
|
-
"0": {
|
|
113
|
-
"condition": {
|
|
114
|
-
"true": {},
|
|
115
|
-
"type": "true",
|
|
94
|
+
"id": {
|
|
95
|
+
"parameterId": "id",
|
|
96
|
+
"type": "parameterId",
|
|
116
97
|
},
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
98
|
+
"team": {
|
|
99
|
+
"parameterId": "team",
|
|
100
|
+
"type": "parameterId",
|
|
120
101
|
},
|
|
121
102
|
},
|
|
103
|
+
"structFieldValues": {},
|
|
122
104
|
},
|
|
105
|
+
"type": "addObjectRule",
|
|
123
106
|
},
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
107
|
+
],
|
|
108
|
+
},
|
|
109
|
+
"validation": {
|
|
110
|
+
"actionTypeLevelValidation": {
|
|
111
|
+
"rules": {
|
|
112
|
+
"0": {
|
|
113
|
+
"condition": {
|
|
114
|
+
"true": {},
|
|
115
|
+
"type": "true",
|
|
116
|
+
},
|
|
117
|
+
"displayMetadata": {
|
|
118
|
+
"failureMessage": "",
|
|
119
|
+
"typeClasses": [],
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
"parameterValidations": {
|
|
125
|
+
"date": {
|
|
126
|
+
"conditionalOverrides": [],
|
|
127
|
+
"defaultValidation": {
|
|
128
|
+
"display": {
|
|
129
|
+
"renderHint": {
|
|
130
|
+
"dateTimePicker": {},
|
|
131
|
+
"type": "dateTimePicker",
|
|
132
|
+
},
|
|
133
|
+
"visibility": {
|
|
134
|
+
"editable": {},
|
|
135
|
+
"type": "editable",
|
|
137
136
|
},
|
|
138
|
-
|
|
139
|
-
|
|
137
|
+
},
|
|
138
|
+
"validation": {
|
|
139
|
+
"allowedValues": {
|
|
140
|
+
"datetime": {
|
|
140
141
|
"datetime": {
|
|
141
|
-
"
|
|
142
|
-
|
|
143
|
-
"minimum": undefined,
|
|
144
|
-
},
|
|
145
|
-
"type": "datetime",
|
|
142
|
+
"maximum": undefined,
|
|
143
|
+
"minimum": undefined,
|
|
146
144
|
},
|
|
147
145
|
"type": "datetime",
|
|
148
146
|
},
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
},
|
|
147
|
+
"type": "datetime",
|
|
148
|
+
},
|
|
149
|
+
"required": {
|
|
150
|
+
"notRequired": {},
|
|
151
|
+
"type": "notRequired",
|
|
153
152
|
},
|
|
154
153
|
},
|
|
155
154
|
},
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
"visibility": {
|
|
165
|
-
"editable": {},
|
|
166
|
-
"type": "editable",
|
|
167
|
-
},
|
|
155
|
+
},
|
|
156
|
+
"id": {
|
|
157
|
+
"conditionalOverrides": [],
|
|
158
|
+
"defaultValidation": {
|
|
159
|
+
"display": {
|
|
160
|
+
"renderHint": {
|
|
161
|
+
"textInput": {},
|
|
162
|
+
"type": "textInput",
|
|
168
163
|
},
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
164
|
+
"visibility": {
|
|
165
|
+
"editable": {},
|
|
166
|
+
"type": "editable",
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
"validation": {
|
|
170
|
+
"allowedValues": {
|
|
171
|
+
"text": {
|
|
172
|
+
"text": {},
|
|
175
173
|
"type": "text",
|
|
176
174
|
},
|
|
177
|
-
"
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
},
|
|
175
|
+
"type": "text",
|
|
176
|
+
},
|
|
177
|
+
"required": {
|
|
178
|
+
"notRequired": {},
|
|
179
|
+
"type": "notRequired",
|
|
181
180
|
},
|
|
182
181
|
},
|
|
183
182
|
},
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
"visibility": {
|
|
193
|
-
"editable": {},
|
|
194
|
-
"type": "editable",
|
|
195
|
-
},
|
|
183
|
+
},
|
|
184
|
+
"ref": {
|
|
185
|
+
"conditionalOverrides": [],
|
|
186
|
+
"defaultValidation": {
|
|
187
|
+
"display": {
|
|
188
|
+
"renderHint": {
|
|
189
|
+
"dropdown": {},
|
|
190
|
+
"type": "dropdown",
|
|
196
191
|
},
|
|
197
|
-
"
|
|
198
|
-
"
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
192
|
+
"visibility": {
|
|
193
|
+
"editable": {},
|
|
194
|
+
"type": "editable",
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
"validation": {
|
|
198
|
+
"allowedValues": {
|
|
199
|
+
"objectQuery": {
|
|
200
|
+
"objectQuery": {},
|
|
203
201
|
"type": "objectQuery",
|
|
204
202
|
},
|
|
205
|
-
"
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
},
|
|
203
|
+
"type": "objectQuery",
|
|
204
|
+
},
|
|
205
|
+
"required": {
|
|
206
|
+
"notRequired": {},
|
|
207
|
+
"type": "notRequired",
|
|
209
208
|
},
|
|
210
209
|
},
|
|
211
210
|
},
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
"type": "objectParameterPropertyValue",
|
|
222
|
-
},
|
|
223
|
-
"renderHint": {
|
|
224
|
-
"textInput": {},
|
|
225
|
-
"type": "textInput",
|
|
226
|
-
},
|
|
227
|
-
"visibility": {
|
|
228
|
-
"editable": {},
|
|
229
|
-
"type": "editable",
|
|
211
|
+
},
|
|
212
|
+
"team": {
|
|
213
|
+
"conditionalOverrides": [],
|
|
214
|
+
"defaultValidation": {
|
|
215
|
+
"display": {
|
|
216
|
+
"prefill": {
|
|
217
|
+
"objectParameterPropertyValue": {
|
|
218
|
+
"parameterId": "ref",
|
|
219
|
+
"propertyTypeId": "foo",
|
|
230
220
|
},
|
|
221
|
+
"type": "objectParameterPropertyValue",
|
|
231
222
|
},
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
223
|
+
"renderHint": {
|
|
224
|
+
"textInput": {},
|
|
225
|
+
"type": "textInput",
|
|
226
|
+
},
|
|
227
|
+
"visibility": {
|
|
228
|
+
"editable": {},
|
|
229
|
+
"type": "editable",
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
"validation": {
|
|
233
|
+
"allowedValues": {
|
|
234
|
+
"text": {
|
|
235
|
+
"text": {},
|
|
238
236
|
"type": "text",
|
|
239
237
|
},
|
|
240
|
-
"
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
},
|
|
238
|
+
"type": "text",
|
|
239
|
+
},
|
|
240
|
+
"required": {
|
|
241
|
+
"notRequired": {},
|
|
242
|
+
"type": "notRequired",
|
|
244
243
|
},
|
|
245
244
|
},
|
|
246
245
|
},
|
|
247
246
|
},
|
|
248
|
-
"sectionValidations": {},
|
|
249
|
-
},
|
|
250
|
-
},
|
|
251
|
-
"metadata": {
|
|
252
|
-
"apiName": "com.palantir.create-object-foo",
|
|
253
|
-
"displayMetadata": {
|
|
254
|
-
"configuration": {
|
|
255
|
-
"defaultLayout": "FORM",
|
|
256
|
-
"displayAndFormat": {
|
|
257
|
-
"table": {
|
|
258
|
-
"columnWidthByParameterRid": {},
|
|
259
|
-
"enableFileImport": true,
|
|
260
|
-
"fitHorizontally": false,
|
|
261
|
-
"frozenColumnCount": 0,
|
|
262
|
-
"rowHeightInLines": 1,
|
|
263
|
-
},
|
|
264
|
-
},
|
|
265
|
-
"enableLayoutUserSwitch": false,
|
|
266
|
-
},
|
|
267
|
-
"description": "",
|
|
268
|
-
"displayName": "Create Foo",
|
|
269
|
-
"icon": {
|
|
270
|
-
"blueprint": {
|
|
271
|
-
"color": "#000000",
|
|
272
|
-
"locator": "edit",
|
|
273
|
-
},
|
|
274
|
-
"type": "blueprint",
|
|
275
|
-
},
|
|
276
|
-
"successMessage": [],
|
|
277
|
-
"typeClasses": [],
|
|
278
|
-
},
|
|
279
|
-
"entities": {
|
|
280
|
-
"affectedInterfaceTypes": [],
|
|
281
|
-
"affectedLinkTypes": [],
|
|
282
|
-
"affectedObjectTypes": [
|
|
283
|
-
"com.palantir.foo",
|
|
284
|
-
],
|
|
285
|
-
"typeGroups": [],
|
|
286
|
-
},
|
|
287
|
-
"formContentOrdering": [],
|
|
288
|
-
"parameterOrdering": [
|
|
289
|
-
"ref",
|
|
290
|
-
"team",
|
|
291
|
-
"id",
|
|
292
|
-
"date",
|
|
293
|
-
],
|
|
294
|
-
"parameters": {
|
|
295
|
-
"date": {
|
|
296
|
-
"displayMetadata": {
|
|
297
|
-
"description": "",
|
|
298
|
-
"displayName": "Date",
|
|
299
|
-
"typeClasses": [],
|
|
300
|
-
},
|
|
301
|
-
"id": "date",
|
|
302
|
-
"type": {
|
|
303
|
-
"date": {},
|
|
304
|
-
"type": "date",
|
|
305
|
-
},
|
|
306
|
-
},
|
|
307
|
-
"id": {
|
|
308
|
-
"displayMetadata": {
|
|
309
|
-
"description": "",
|
|
310
|
-
"displayName": "Id",
|
|
311
|
-
"typeClasses": [],
|
|
312
|
-
},
|
|
313
|
-
"id": "id",
|
|
314
|
-
"type": {
|
|
315
|
-
"string": {},
|
|
316
|
-
"type": "string",
|
|
317
|
-
},
|
|
318
|
-
},
|
|
319
|
-
"ref": {
|
|
320
|
-
"displayMetadata": {
|
|
321
|
-
"description": "",
|
|
322
|
-
"displayName": "Ref",
|
|
323
|
-
"typeClasses": [],
|
|
324
|
-
},
|
|
325
|
-
"id": "ref",
|
|
326
|
-
"type": {
|
|
327
|
-
"objectReference": {
|
|
328
|
-
"objectTypeId": "myImport",
|
|
329
|
-
},
|
|
330
|
-
"type": "objectReference",
|
|
331
|
-
},
|
|
332
|
-
},
|
|
333
|
-
"team": {
|
|
334
|
-
"displayMetadata": {
|
|
335
|
-
"description": "",
|
|
336
|
-
"displayName": "Team",
|
|
337
|
-
"typeClasses": [],
|
|
338
|
-
},
|
|
339
|
-
"id": "team",
|
|
340
|
-
"type": {
|
|
341
|
-
"string": {},
|
|
342
|
-
"type": "string",
|
|
343
|
-
},
|
|
344
|
-
},
|
|
345
|
-
},
|
|
346
|
-
"sections": {},
|
|
347
|
-
"status": {
|
|
348
|
-
"active": {},
|
|
349
|
-
"type": "active",
|
|
350
247
|
},
|
|
248
|
+
"sectionValidations": {},
|
|
351
249
|
},
|
|
352
250
|
},
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
{
|
|
366
|
-
"datasource": {
|
|
367
|
-
"datasetV2": {
|
|
368
|
-
"datasetRid": "com.palantir.foo",
|
|
369
|
-
"propertyMapping": {
|
|
370
|
-
"date": {
|
|
371
|
-
"column": "date",
|
|
372
|
-
"type": "column",
|
|
373
|
-
},
|
|
374
|
-
"id": {
|
|
375
|
-
"column": "id",
|
|
376
|
-
"type": "column",
|
|
377
|
-
},
|
|
378
|
-
"team": {
|
|
379
|
-
"column": "team",
|
|
380
|
-
"type": "column",
|
|
381
|
-
},
|
|
251
|
+
"metadata": {
|
|
252
|
+
"apiName": "com.palantir.create-object-foo",
|
|
253
|
+
"displayMetadata": {
|
|
254
|
+
"configuration": {
|
|
255
|
+
"defaultLayout": "FORM",
|
|
256
|
+
"displayAndFormat": {
|
|
257
|
+
"table": {
|
|
258
|
+
"columnWidthByParameterRid": {},
|
|
259
|
+
"enableFileImport": true,
|
|
260
|
+
"fitHorizontally": false,
|
|
261
|
+
"frozenColumnCount": 0,
|
|
262
|
+
"rowHeightInLines": 1,
|
|
382
263
|
},
|
|
383
264
|
},
|
|
384
|
-
"
|
|
265
|
+
"enableLayoutUserSwitch": false,
|
|
385
266
|
},
|
|
386
|
-
"
|
|
387
|
-
|
|
388
|
-
},
|
|
389
|
-
"redacted": false,
|
|
390
|
-
"rid": "ri.ontology.main.datasource.com.palantir.foo",
|
|
391
|
-
},
|
|
392
|
-
],
|
|
393
|
-
"entityMetadata": {
|
|
394
|
-
"arePatchesEnabled": false,
|
|
395
|
-
},
|
|
396
|
-
"objectType": {
|
|
397
|
-
"allImplementsInterfaces": {},
|
|
398
|
-
"apiName": "com.palantir.foo",
|
|
399
|
-
"displayMetadata": {
|
|
400
|
-
"description": undefined,
|
|
401
|
-
"displayName": "Foo",
|
|
402
|
-
"groupDisplayName": undefined,
|
|
267
|
+
"description": "",
|
|
268
|
+
"displayName": "Create Foo",
|
|
403
269
|
"icon": {
|
|
404
270
|
"blueprint": {
|
|
405
|
-
"color": "#
|
|
406
|
-
"locator": "
|
|
271
|
+
"color": "#000000",
|
|
272
|
+
"locator": "edit",
|
|
407
273
|
},
|
|
408
274
|
"type": "blueprint",
|
|
409
275
|
},
|
|
410
|
-
"
|
|
411
|
-
"
|
|
276
|
+
"successMessage": [],
|
|
277
|
+
"typeClasses": [],
|
|
412
278
|
},
|
|
413
|
-
"
|
|
414
|
-
|
|
279
|
+
"entities": {
|
|
280
|
+
"affectedInterfaceTypes": [],
|
|
281
|
+
"affectedLinkTypes": [],
|
|
282
|
+
"affectedObjectTypes": [
|
|
283
|
+
"com.palantir.foo",
|
|
284
|
+
],
|
|
285
|
+
"typeGroups": [],
|
|
286
|
+
},
|
|
287
|
+
"formContentOrdering": [],
|
|
288
|
+
"parameterOrdering": [
|
|
289
|
+
"ref",
|
|
290
|
+
"team",
|
|
415
291
|
"id",
|
|
292
|
+
"date",
|
|
416
293
|
],
|
|
417
|
-
"
|
|
294
|
+
"parameters": {
|
|
418
295
|
"date": {
|
|
419
|
-
"apiName": "date",
|
|
420
|
-
"baseFormatter": undefined,
|
|
421
|
-
"dataConstraints": undefined,
|
|
422
296
|
"displayMetadata": {
|
|
423
|
-
"description":
|
|
297
|
+
"description": "",
|
|
424
298
|
"displayName": "Date",
|
|
425
|
-
"
|
|
426
|
-
},
|
|
427
|
-
"indexedForSearch": true,
|
|
428
|
-
"inlineAction": undefined,
|
|
429
|
-
"ruleSetBinding": undefined,
|
|
430
|
-
"sharedPropertyTypeApiName": undefined,
|
|
431
|
-
"sharedPropertyTypeRid": undefined,
|
|
432
|
-
"status": {
|
|
433
|
-
"active": {},
|
|
434
|
-
"type": "active",
|
|
299
|
+
"typeClasses": [],
|
|
435
300
|
},
|
|
301
|
+
"id": "date",
|
|
436
302
|
"type": {
|
|
437
303
|
"date": {},
|
|
438
304
|
"type": "date",
|
|
439
305
|
},
|
|
440
|
-
"typeClasses": [
|
|
441
|
-
{
|
|
442
|
-
"kind": "render_hint",
|
|
443
|
-
"name": "SELECTABLE",
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
"kind": "render_hint",
|
|
447
|
-
"name": "SORTABLE",
|
|
448
|
-
},
|
|
449
|
-
],
|
|
450
|
-
"valueType": undefined,
|
|
451
306
|
},
|
|
452
307
|
"id": {
|
|
453
|
-
"apiName": "id",
|
|
454
|
-
"baseFormatter": undefined,
|
|
455
|
-
"dataConstraints": undefined,
|
|
456
308
|
"displayMetadata": {
|
|
457
|
-
"description":
|
|
309
|
+
"description": "",
|
|
458
310
|
"displayName": "Id",
|
|
459
|
-
"
|
|
460
|
-
},
|
|
461
|
-
"indexedForSearch": true,
|
|
462
|
-
"inlineAction": undefined,
|
|
463
|
-
"ruleSetBinding": undefined,
|
|
464
|
-
"sharedPropertyTypeApiName": undefined,
|
|
465
|
-
"sharedPropertyTypeRid": undefined,
|
|
466
|
-
"status": {
|
|
467
|
-
"active": {},
|
|
468
|
-
"type": "active",
|
|
311
|
+
"typeClasses": [],
|
|
469
312
|
},
|
|
313
|
+
"id": "id",
|
|
470
314
|
"type": {
|
|
471
|
-
"string": {
|
|
472
|
-
"analyzerOverride": undefined,
|
|
473
|
-
"enableAsciiFolding": undefined,
|
|
474
|
-
"isLongText": false,
|
|
475
|
-
"supportsEfficientLeadingWildcard": false,
|
|
476
|
-
"supportsExactMatching": true,
|
|
477
|
-
},
|
|
315
|
+
"string": {},
|
|
478
316
|
"type": "string",
|
|
479
317
|
},
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
318
|
+
},
|
|
319
|
+
"ref": {
|
|
320
|
+
"displayMetadata": {
|
|
321
|
+
"description": "",
|
|
322
|
+
"displayName": "Ref",
|
|
323
|
+
"typeClasses": [],
|
|
324
|
+
},
|
|
325
|
+
"id": "ref",
|
|
326
|
+
"type": {
|
|
327
|
+
"objectReference": {
|
|
328
|
+
"objectTypeId": "myImport",
|
|
488
329
|
},
|
|
489
|
-
|
|
490
|
-
|
|
330
|
+
"type": "objectReference",
|
|
331
|
+
},
|
|
491
332
|
},
|
|
492
333
|
"team": {
|
|
493
|
-
"apiName": "team",
|
|
494
|
-
"baseFormatter": undefined,
|
|
495
|
-
"dataConstraints": undefined,
|
|
496
334
|
"displayMetadata": {
|
|
497
|
-
"description":
|
|
335
|
+
"description": "",
|
|
498
336
|
"displayName": "Team",
|
|
499
|
-
"
|
|
500
|
-
},
|
|
501
|
-
"indexedForSearch": true,
|
|
502
|
-
"inlineAction": undefined,
|
|
503
|
-
"ruleSetBinding": undefined,
|
|
504
|
-
"sharedPropertyTypeApiName": undefined,
|
|
505
|
-
"sharedPropertyTypeRid": undefined,
|
|
506
|
-
"status": {
|
|
507
|
-
"active": {},
|
|
508
|
-
"type": "active",
|
|
337
|
+
"typeClasses": [],
|
|
509
338
|
},
|
|
339
|
+
"id": "team",
|
|
510
340
|
"type": {
|
|
511
|
-
"string": {
|
|
512
|
-
"analyzerOverride": undefined,
|
|
513
|
-
"enableAsciiFolding": undefined,
|
|
514
|
-
"isLongText": false,
|
|
515
|
-
"supportsEfficientLeadingWildcard": false,
|
|
516
|
-
"supportsExactMatching": true,
|
|
517
|
-
},
|
|
341
|
+
"string": {},
|
|
518
342
|
"type": "string",
|
|
519
343
|
},
|
|
520
|
-
"typeClasses": [
|
|
521
|
-
{
|
|
522
|
-
"kind": "render_hint",
|
|
523
|
-
"name": "SELECTABLE",
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"kind": "render_hint",
|
|
527
|
-
"name": "SORTABLE",
|
|
528
|
-
},
|
|
529
|
-
],
|
|
530
|
-
"valueType": undefined,
|
|
531
344
|
},
|
|
532
345
|
},
|
|
533
|
-
"
|
|
346
|
+
"sections": {},
|
|
534
347
|
"status": {
|
|
535
348
|
"active": {},
|
|
536
349
|
"type": "active",
|
|
537
350
|
},
|
|
538
|
-
"titlePropertyTypeRid": "id",
|
|
539
351
|
},
|
|
540
352
|
},
|
|
541
353
|
},
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
354
|
+
},
|
|
355
|
+
"blockPermissionInformation": {
|
|
356
|
+
"actionTypes": {},
|
|
357
|
+
"linkTypes": {},
|
|
358
|
+
"objectTypes": {},
|
|
359
|
+
},
|
|
360
|
+
"interfaceTypes": {},
|
|
361
|
+
"linkTypes": {},
|
|
362
|
+
"objectTypes": {
|
|
363
|
+
"com.palantir.foo": {
|
|
364
|
+
"datasources": [
|
|
365
|
+
{
|
|
366
|
+
"datasource": {
|
|
367
|
+
"datasetV2": {
|
|
368
|
+
"datasetRid": "com.palantir.foo",
|
|
369
|
+
"propertyMapping": {
|
|
370
|
+
"date": {
|
|
371
|
+
"column": "date",
|
|
372
|
+
"type": "column",
|
|
373
|
+
},
|
|
374
|
+
"id": {
|
|
375
|
+
"column": "id",
|
|
376
|
+
"type": "column",
|
|
377
|
+
},
|
|
378
|
+
"team": {
|
|
379
|
+
"column": "team",
|
|
380
|
+
"type": "column",
|
|
381
|
+
},
|
|
382
|
+
},
|
|
383
|
+
},
|
|
384
|
+
"type": "datasetV2",
|
|
385
|
+
},
|
|
386
|
+
"editsConfiguration": {
|
|
387
|
+
"onlyAllowPrivilegedEdits": false,
|
|
388
|
+
},
|
|
389
|
+
"redacted": false,
|
|
390
|
+
"rid": "ri.ontology.main.datasource.com.palantir.foo",
|
|
391
|
+
},
|
|
392
|
+
],
|
|
393
|
+
"entityMetadata": {
|
|
394
|
+
"arePatchesEnabled": false,
|
|
395
|
+
},
|
|
396
|
+
"objectType": {
|
|
397
|
+
"allImplementsInterfaces": {},
|
|
398
|
+
"apiName": "com.palantir.foo",
|
|
399
|
+
"displayMetadata": {
|
|
400
|
+
"description": undefined,
|
|
401
|
+
"displayName": "Foo",
|
|
402
|
+
"groupDisplayName": undefined,
|
|
403
|
+
"icon": {
|
|
404
|
+
"blueprint": {
|
|
405
|
+
"color": "#2D72D2",
|
|
406
|
+
"locator": "cube",
|
|
407
|
+
},
|
|
408
|
+
"type": "blueprint",
|
|
409
|
+
},
|
|
410
|
+
"pluralDisplayName": "Foos",
|
|
411
|
+
"visibility": "NORMAL",
|
|
412
|
+
},
|
|
413
|
+
"implementsInterfaces2": [],
|
|
414
|
+
"primaryKeys": [
|
|
415
|
+
"id",
|
|
416
|
+
],
|
|
417
|
+
"propertyTypes": {
|
|
418
|
+
"date": {
|
|
419
|
+
"apiName": "date",
|
|
420
|
+
"baseFormatter": undefined,
|
|
421
|
+
"dataConstraints": undefined,
|
|
422
|
+
"displayMetadata": {
|
|
423
|
+
"description": undefined,
|
|
424
|
+
"displayName": "Date",
|
|
425
|
+
"visibility": "NORMAL",
|
|
426
|
+
},
|
|
427
|
+
"indexedForSearch": true,
|
|
428
|
+
"inlineAction": undefined,
|
|
429
|
+
"ruleSetBinding": undefined,
|
|
430
|
+
"sharedPropertyTypeApiName": undefined,
|
|
431
|
+
"sharedPropertyTypeRid": undefined,
|
|
432
|
+
"status": {
|
|
433
|
+
"active": {},
|
|
434
|
+
"type": "active",
|
|
435
|
+
},
|
|
436
|
+
"type": {
|
|
437
|
+
"date": {},
|
|
438
|
+
"type": "date",
|
|
439
|
+
},
|
|
440
|
+
"typeClasses": [
|
|
441
|
+
{
|
|
442
|
+
"kind": "render_hint",
|
|
443
|
+
"name": "SELECTABLE",
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"kind": "render_hint",
|
|
447
|
+
"name": "SORTABLE",
|
|
448
|
+
},
|
|
449
|
+
],
|
|
450
|
+
"valueType": undefined,
|
|
451
|
+
},
|
|
452
|
+
"id": {
|
|
453
|
+
"apiName": "id",
|
|
454
|
+
"baseFormatter": undefined,
|
|
455
|
+
"dataConstraints": undefined,
|
|
456
|
+
"displayMetadata": {
|
|
457
|
+
"description": undefined,
|
|
458
|
+
"displayName": "Id",
|
|
459
|
+
"visibility": "NORMAL",
|
|
460
|
+
},
|
|
461
|
+
"indexedForSearch": true,
|
|
462
|
+
"inlineAction": undefined,
|
|
463
|
+
"ruleSetBinding": undefined,
|
|
464
|
+
"sharedPropertyTypeApiName": undefined,
|
|
465
|
+
"sharedPropertyTypeRid": undefined,
|
|
466
|
+
"status": {
|
|
467
|
+
"active": {},
|
|
468
|
+
"type": "active",
|
|
469
|
+
},
|
|
470
|
+
"type": {
|
|
471
|
+
"string": {
|
|
472
|
+
"analyzerOverride": undefined,
|
|
473
|
+
"enableAsciiFolding": undefined,
|
|
474
|
+
"isLongText": false,
|
|
475
|
+
"supportsEfficientLeadingWildcard": false,
|
|
476
|
+
"supportsExactMatching": true,
|
|
477
|
+
},
|
|
478
|
+
"type": "string",
|
|
479
|
+
},
|
|
480
|
+
"typeClasses": [
|
|
481
|
+
{
|
|
482
|
+
"kind": "render_hint",
|
|
483
|
+
"name": "SELECTABLE",
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"kind": "render_hint",
|
|
487
|
+
"name": "SORTABLE",
|
|
488
|
+
},
|
|
489
|
+
],
|
|
490
|
+
"valueType": undefined,
|
|
491
|
+
},
|
|
492
|
+
"team": {
|
|
493
|
+
"apiName": "team",
|
|
494
|
+
"baseFormatter": undefined,
|
|
495
|
+
"dataConstraints": undefined,
|
|
496
|
+
"displayMetadata": {
|
|
497
|
+
"description": undefined,
|
|
498
|
+
"displayName": "Team",
|
|
499
|
+
"visibility": "NORMAL",
|
|
500
|
+
},
|
|
501
|
+
"indexedForSearch": true,
|
|
502
|
+
"inlineAction": undefined,
|
|
503
|
+
"ruleSetBinding": undefined,
|
|
504
|
+
"sharedPropertyTypeApiName": undefined,
|
|
505
|
+
"sharedPropertyTypeRid": undefined,
|
|
506
|
+
"status": {
|
|
507
|
+
"active": {},
|
|
508
|
+
"type": "active",
|
|
509
|
+
},
|
|
510
|
+
"type": {
|
|
511
|
+
"string": {
|
|
512
|
+
"analyzerOverride": undefined,
|
|
513
|
+
"enableAsciiFolding": undefined,
|
|
514
|
+
"isLongText": false,
|
|
515
|
+
"supportsEfficientLeadingWildcard": false,
|
|
516
|
+
"supportsExactMatching": true,
|
|
517
|
+
},
|
|
518
|
+
"type": "string",
|
|
519
|
+
},
|
|
520
|
+
"typeClasses": [
|
|
521
|
+
{
|
|
522
|
+
"kind": "render_hint",
|
|
523
|
+
"name": "SELECTABLE",
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"kind": "render_hint",
|
|
527
|
+
"name": "SORTABLE",
|
|
528
|
+
},
|
|
529
|
+
],
|
|
530
|
+
"valueType": undefined,
|
|
531
|
+
},
|
|
532
|
+
},
|
|
533
|
+
"redacted": false,
|
|
534
|
+
"status": {
|
|
535
|
+
"active": {},
|
|
536
|
+
"type": "active",
|
|
537
|
+
},
|
|
538
|
+
"titlePropertyTypeRid": "id",
|
|
539
|
+
},
|
|
540
|
+
},
|
|
541
|
+
},
|
|
542
|
+
"sharedPropertyTypes": {},
|
|
543
|
+
}
|
|
544
|
+
`);
|
|
545
545
|
expect(dumpOntologyFullMetadata().importedTypes).toMatchInlineSnapshot(`
|
|
546
546
|
{
|
|
547
547
|
"actionTypes": [],
|