@osdk/maker 0.14.0-beta.5 → 0.14.0-beta.6
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/CHANGELOG.md +7 -0
- package/build/browser/api/action/DefaultFormat.js +2 -0
- package/build/browser/api/action/DefaultFormat.js.map +1 -0
- package/build/browser/api/action/TableConfiguration.js +2 -0
- package/build/browser/api/action/TableConfiguration.js.map +1 -0
- package/build/browser/api/defineAction.js.map +1 -1
- package/build/browser/api/defineCreateInterfaceObjectAction.js +9 -1
- package/build/browser/api/defineCreateInterfaceObjectAction.js.map +1 -1
- package/build/browser/api/defineCreateObjectAction.js +4 -2
- package/build/browser/api/defineCreateObjectAction.js.map +1 -1
- package/build/browser/api/defineCreateOrModifyObjectAction.js +4 -2
- package/build/browser/api/defineCreateOrModifyObjectAction.js.map +1 -1
- package/build/browser/api/defineModifyInterfaceObjectAction.js +8 -0
- package/build/browser/api/defineModifyInterfaceObjectAction.js.map +1 -1
- package/build/browser/api/defineModifyObjectAction.js +4 -2
- package/build/browser/api/defineModifyObjectAction.js.map +1 -1
- package/build/browser/api/test/actions.test.js +1247 -1180
- package/build/browser/api/test/actions.test.js.map +1 -1
- package/build/browser/cli/main.js +1 -1
- package/build/cjs/index.cjs +30 -8
- package/build/cjs/index.cjs.map +1 -1
- package/build/cjs/index.d.cts +16 -4
- package/build/esm/api/action/DefaultFormat.js +2 -0
- package/build/esm/api/action/DefaultFormat.js.map +1 -0
- package/build/esm/api/action/TableConfiguration.js +2 -0
- package/build/esm/api/action/TableConfiguration.js.map +1 -0
- package/build/esm/api/defineAction.js.map +1 -1
- package/build/esm/api/defineCreateInterfaceObjectAction.js +9 -1
- package/build/esm/api/defineCreateInterfaceObjectAction.js.map +1 -1
- package/build/esm/api/defineCreateObjectAction.js +4 -2
- package/build/esm/api/defineCreateObjectAction.js.map +1 -1
- package/build/esm/api/defineCreateOrModifyObjectAction.js +4 -2
- package/build/esm/api/defineCreateOrModifyObjectAction.js.map +1 -1
- package/build/esm/api/defineModifyInterfaceObjectAction.js +8 -0
- package/build/esm/api/defineModifyInterfaceObjectAction.js.map +1 -1
- package/build/esm/api/defineModifyObjectAction.js +4 -2
- package/build/esm/api/defineModifyObjectAction.js.map +1 -1
- package/build/esm/api/test/actions.test.js +1247 -1180
- package/build/esm/api/test/actions.test.js.map +1 -1
- package/build/esm/cli/main.js +1 -1
- package/build/types/api/action/DefaultFormat.d.ts +1 -0
- package/build/types/api/action/DefaultFormat.d.ts.map +1 -0
- package/build/types/api/action/TableConfiguration.d.ts +8 -0
- package/build/types/api/action/TableConfiguration.d.ts.map +1 -0
- package/build/types/api/defineAction.d.ts +8 -4
- package/build/types/api/defineAction.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1829,7 +1829,7 @@
|
|
|
1829
1829
|
"valueTypes": [],
|
|
1830
1830
|
},
|
|
1831
1831
|
}
|
|
1832
|
-
`);});it("Interface actions with customizations are properly defined",()=>{const property1=defineSharedPropertyType({apiName:"property1",type:"string"});const property2=defineSharedPropertyType({apiName:"property2",type:"string"});const property3=defineSharedPropertyType({apiName:"property3",type:"string"});const exampleInterface=defineInterface({apiName:"exampleInterface",properties:{property1,property2,property3}});defineCreateInterfaceObjectAction({interfaceType:exampleInterface,apiName:"custom-api-name-1",displayName:"Custom Create Action",status:"experimental",parameterConfiguration:{[property3.apiName]:{required:false,conditionalOverrides:[{type:"required",condition:{type:"and",conditions:[{type:"group",name:"parameterLevelGroup"},{type:"parameter",parameterId:property1.apiName,matches:{type:"staticValue",staticValue:{type:"string",string:"bar"}}}]}}],defaultValue:{type:"staticValue",staticValue:{type:"string",string:"default_fizz"}},displayName:"fizz_display",description:"fizz_description"}},excludedProperties:[property2.apiName],parameterOrdering:[property1.apiName,property3.apiName],enableLayoutSwitch:true,submissionMetadata:{successMessage:"Custom success message",undoButtonConfiguration:true,submitButtonDisplayMetadata:{intent:"DANGER",text:"Custom button"}}});defineModifyInterfaceObjectAction({interfaceType:exampleInterface,apiName:"custom-api-name-2",displayName:"Custom Modify Action",status:"experimental",parameterConfiguration:{[property3.apiName]:{required:false,conditionalOverrides:[{type:"required",condition:{type:"and",conditions:[{type:"group",name:"parameterLevelGroup"},{type:"parameter",parameterId:property1.apiName,matches:{type:"staticValue",staticValue:{type:"string",string:"bar"}}}]}}],defaultValue:{type:"staticValue",staticValue:{type:"string",string:"default_fizz"}},displayName:"fizz_display",description:"fizz_description"}},excludedProperties:[property2.apiName],parameterOrdering:[property1.apiName,property3.apiName],enableLayoutSwitch:true,submissionMetadata:{successMessage:"Custom success message",undoButtonConfiguration:true,submitButtonDisplayMetadata:{intent:"DANGER",text:"Custom button"}}});expect(dumpOntologyFullMetadata()).toMatchInlineSnapshot(`
|
|
1832
|
+
`);});it("Interface actions with customizations are properly defined",()=>{const property1=defineSharedPropertyType({apiName:"property1",type:"string"});const property2=defineSharedPropertyType({apiName:"property2",type:"string"});const property3=defineSharedPropertyType({apiName:"property3",type:"string"});const exampleInterface=defineInterface({apiName:"exampleInterface",properties:{property1,property2,property3}});defineCreateInterfaceObjectAction({interfaceType:exampleInterface,apiName:"custom-api-name-1",displayName:"Custom Create Action",status:"experimental",actionLevelValidation:[{condition:{type:"group",name:"actionLevelGroup"}}],parameterConfiguration:{[property3.apiName]:{required:false,conditionalOverrides:[{type:"required",condition:{type:"and",conditions:[{type:"group",name:"parameterLevelGroup"},{type:"parameter",parameterId:property1.apiName,matches:{type:"staticValue",staticValue:{type:"string",string:"bar"}}}]}}],defaultValue:{type:"staticValue",staticValue:{type:"string",string:"default_fizz"}},displayName:"fizz_display",description:"fizz_description"}},excludedProperties:[property2.apiName],parameterOrdering:[property1.apiName,property3.apiName],enableLayoutSwitch:true,defaultFormat:"TABLE",tableConfiguration:{columnWidthByParameterRid:{},enableFileImport:false,fitHorizontally:true,frozenColumnCount:1,rowHeightInLines:10},submissionMetadata:{successMessage:"Custom success message",undoButtonConfiguration:true,submitButtonDisplayMetadata:{intent:"DANGER",text:"Custom button"}}});defineModifyInterfaceObjectAction({interfaceType:exampleInterface,apiName:"custom-api-name-2",displayName:"Custom Modify Action",status:"experimental",actionLevelValidation:[{condition:{type:"group",name:"actionLevelGroup"}}],parameterConfiguration:{[property3.apiName]:{required:false,conditionalOverrides:[{type:"required",condition:{type:"and",conditions:[{type:"group",name:"parameterLevelGroup"},{type:"parameter",parameterId:property1.apiName,matches:{type:"staticValue",staticValue:{type:"string",string:"bar"}}}]}}],defaultValue:{type:"staticValue",staticValue:{type:"string",string:"default_fizz"}},displayName:"fizz_display",description:"fizz_description"}},excludedProperties:[property2.apiName],parameterOrdering:[property1.apiName,property3.apiName],enableLayoutSwitch:true,defaultFormat:"TABLE",tableConfiguration:{columnWidthByParameterRid:{},enableFileImport:false,fitHorizontally:true,frozenColumnCount:1,rowHeightInLines:10},submissionMetadata:{successMessage:"Custom success message",undoButtonConfiguration:true,submitButtonDisplayMetadata:{intent:"DANGER",text:"Custom button"}}});expect(dumpOntologyFullMetadata()).toMatchInlineSnapshot(`
|
|
1833
1833
|
{
|
|
1834
1834
|
"importedOntology": {
|
|
1835
1835
|
"actionTypes": {},
|
|
@@ -1877,11 +1877,37 @@
|
|
|
1877
1877
|
"rules": {
|
|
1878
1878
|
"0": {
|
|
1879
1879
|
"condition": {
|
|
1880
|
-
"
|
|
1881
|
-
|
|
1880
|
+
"comparison": {
|
|
1881
|
+
"left": {
|
|
1882
|
+
"type": "userProperty",
|
|
1883
|
+
"userProperty": {
|
|
1884
|
+
"propertyValue": {
|
|
1885
|
+
"groupIds": {},
|
|
1886
|
+
"type": "groupIds",
|
|
1887
|
+
},
|
|
1888
|
+
"userId": {
|
|
1889
|
+
"currentUser": {},
|
|
1890
|
+
"type": "currentUser",
|
|
1891
|
+
},
|
|
1892
|
+
},
|
|
1893
|
+
},
|
|
1894
|
+
"operator": "INTERSECTS",
|
|
1895
|
+
"right": {
|
|
1896
|
+
"staticValue": {
|
|
1897
|
+
"stringList": {
|
|
1898
|
+
"strings": [
|
|
1899
|
+
"actionLevelGroup",
|
|
1900
|
+
],
|
|
1901
|
+
},
|
|
1902
|
+
"type": "stringList",
|
|
1903
|
+
},
|
|
1904
|
+
"type": "staticValue",
|
|
1905
|
+
},
|
|
1906
|
+
},
|
|
1907
|
+
"type": "comparison",
|
|
1882
1908
|
},
|
|
1883
1909
|
"displayMetadata": {
|
|
1884
|
-
"failureMessage": "",
|
|
1910
|
+
"failureMessage": "Did not satisfy validation",
|
|
1885
1911
|
"typeClasses": [],
|
|
1886
1912
|
},
|
|
1887
1913
|
},
|
|
@@ -2059,14 +2085,14 @@
|
|
|
2059
2085
|
"apiName": "com.palantir.custom-api-name-1",
|
|
2060
2086
|
"displayMetadata": {
|
|
2061
2087
|
"configuration": {
|
|
2062
|
-
"defaultLayout": "
|
|
2088
|
+
"defaultLayout": "TABLE",
|
|
2063
2089
|
"displayAndFormat": {
|
|
2064
2090
|
"table": {
|
|
2065
2091
|
"columnWidthByParameterRid": {},
|
|
2066
|
-
"enableFileImport":
|
|
2067
|
-
"fitHorizontally":
|
|
2068
|
-
"frozenColumnCount":
|
|
2069
|
-
"rowHeightInLines":
|
|
2092
|
+
"enableFileImport": false,
|
|
2093
|
+
"fitHorizontally": true,
|
|
2094
|
+
"frozenColumnCount": 1,
|
|
2095
|
+
"rowHeightInLines": 10,
|
|
2070
2096
|
},
|
|
2071
2097
|
},
|
|
2072
2098
|
"enableLayoutUserSwitch": true,
|
|
@@ -2185,11 +2211,37 @@
|
|
|
2185
2211
|
"rules": {
|
|
2186
2212
|
"0": {
|
|
2187
2213
|
"condition": {
|
|
2188
|
-
"
|
|
2189
|
-
|
|
2214
|
+
"comparison": {
|
|
2215
|
+
"left": {
|
|
2216
|
+
"type": "userProperty",
|
|
2217
|
+
"userProperty": {
|
|
2218
|
+
"propertyValue": {
|
|
2219
|
+
"groupIds": {},
|
|
2220
|
+
"type": "groupIds",
|
|
2221
|
+
},
|
|
2222
|
+
"userId": {
|
|
2223
|
+
"currentUser": {},
|
|
2224
|
+
"type": "currentUser",
|
|
2225
|
+
},
|
|
2226
|
+
},
|
|
2227
|
+
},
|
|
2228
|
+
"operator": "INTERSECTS",
|
|
2229
|
+
"right": {
|
|
2230
|
+
"staticValue": {
|
|
2231
|
+
"stringList": {
|
|
2232
|
+
"strings": [
|
|
2233
|
+
"actionLevelGroup",
|
|
2234
|
+
],
|
|
2235
|
+
},
|
|
2236
|
+
"type": "stringList",
|
|
2237
|
+
},
|
|
2238
|
+
"type": "staticValue",
|
|
2239
|
+
},
|
|
2240
|
+
},
|
|
2241
|
+
"type": "comparison",
|
|
2190
2242
|
},
|
|
2191
2243
|
"displayMetadata": {
|
|
2192
|
-
"failureMessage": "",
|
|
2244
|
+
"failureMessage": "Did not satisfy validation",
|
|
2193
2245
|
"typeClasses": [],
|
|
2194
2246
|
},
|
|
2195
2247
|
},
|
|
@@ -2363,14 +2415,14 @@
|
|
|
2363
2415
|
"apiName": "com.palantir.custom-api-name-2",
|
|
2364
2416
|
"displayMetadata": {
|
|
2365
2417
|
"configuration": {
|
|
2366
|
-
"defaultLayout": "
|
|
2418
|
+
"defaultLayout": "TABLE",
|
|
2367
2419
|
"displayAndFormat": {
|
|
2368
2420
|
"table": {
|
|
2369
2421
|
"columnWidthByParameterRid": {},
|
|
2370
|
-
"enableFileImport":
|
|
2371
|
-
"fitHorizontally":
|
|
2372
|
-
"frozenColumnCount":
|
|
2373
|
-
"rowHeightInLines":
|
|
2422
|
+
"enableFileImport": false,
|
|
2423
|
+
"fitHorizontally": true,
|
|
2424
|
+
"frozenColumnCount": 1,
|
|
2425
|
+
"rowHeightInLines": 10,
|
|
2374
2426
|
},
|
|
2375
2427
|
},
|
|
2376
2428
|
"enableLayoutUserSwitch": true,
|
|
@@ -2461,7 +2513,22 @@
|
|
|
2461
2513
|
},
|
|
2462
2514
|
},
|
|
2463
2515
|
"blockPermissionInformation": {
|
|
2464
|
-
"actionTypes": {
|
|
2516
|
+
"actionTypes": {
|
|
2517
|
+
"com.palantir.custom-api-name-1": {
|
|
2518
|
+
"restrictionStatus": {
|
|
2519
|
+
"hasRolesApplied": true,
|
|
2520
|
+
"ontologyPackageRid": null,
|
|
2521
|
+
"publicProject": false,
|
|
2522
|
+
},
|
|
2523
|
+
},
|
|
2524
|
+
"com.palantir.custom-api-name-2": {
|
|
2525
|
+
"restrictionStatus": {
|
|
2526
|
+
"hasRolesApplied": true,
|
|
2527
|
+
"ontologyPackageRid": null,
|
|
2528
|
+
"publicProject": false,
|
|
2529
|
+
},
|
|
2530
|
+
},
|
|
2531
|
+
},
|
|
2465
2532
|
"linkTypes": {},
|
|
2466
2533
|
"objectTypes": {},
|
|
2467
2534
|
},
|
|
@@ -4270,1408 +4337,1408 @@
|
|
|
4270
4337
|
"valueTypes": [],
|
|
4271
4338
|
},
|
|
4272
4339
|
}
|
|
4273
|
-
`);});it("Customizations on CRUD object type actions are properly defined",()=>{const exampleObjectType=defineObject({titlePropertyApiName:"bar",displayName:"exampleObjectType",pluralDisplayName:"exampleObjectTypes",apiName:"foo",primaryKeyPropertyApiName:"primary",properties:{"bar":{type:"string"},"fizz":{type:"string"},"buzz":{type:"string"},"primary":{type:"string"}}});defineCreateObjectAction({objectType:exampleObjectType,actionLevelValidation:[{condition:{type:"group",name:"actionLevelGroup"}},{condition:{type:"group",name:"actionLevelGroup2"},displayMetadata:{failureMessage:"Different custom failure message",typeClasses:[]}}],parameterOrdering:["bar","fizz","primary"],parameterConfiguration:{"fizz":{required:false,conditionalOverrides:[{type:"required",condition:{type:"and",conditions:[{type:"group",name:"parameterLevelGroup"},{type:"parameter",parameterId:"bar",matches:{type:"staticValue",staticValue:{type:"string",string:"bar"}}}]}}],defaultValue:{type:"staticValue",staticValue:{type:"string",string:"default_fizz"}},displayName:"fizz_display",description:"fizz_description"}},excludedProperties:["buzz"],defaultFormat:"TABLE",enableLayoutSwitch:true,submissionMetadata:{successMessage:"Custom success message",undoButtonConfiguration:true,submitButtonDisplayMetadata:{intent:"DANGER",text:"Custom button"}}});defineModifyObjectAction({objectType:exampleObjectType,actionLevelValidation:[{condition:{type:"group",name:"actionLevelGroup"}},{condition:{type:"group",name:"actionLevelGroup2"},displayMetadata:{failureMessage:"Different custom failure message",typeClasses:[]}}],parameterOrdering:["bar","fizz"],parameterConfiguration:{"fizz":{required:false,conditionalOverrides:[{type:"required",condition:{type:"and",conditions:[{type:"group",name:"parameterLevelGroup"},{type:"parameter",parameterId:"bar",matches:{type:"staticValue",staticValue:{type:"string",string:"bar"}}}]}}],defaultValue:{type:"staticValue",staticValue:{type:"string",string:"default_fizz"}},displayName:"fizz_display",description:"fizz_description"}},excludedProperties:["buzz"],defaultFormat:"TABLE",enableLayoutSwitch:true,submissionMetadata:{successMessage:"Custom success message",undoButtonConfiguration:true,submitButtonDisplayMetadata:{intent:"DANGER",text:"Custom button"}}});defineCreateOrModifyObjectAction({objectType:exampleObjectType,actionLevelValidation:[{condition:{type:"group",name:"actionLevelGroup"}},{condition:{type:"group",name:"actionLevelGroup2"},displayMetadata:{failureMessage:"Different custom failure message",typeClasses:[]}}],parameterOrdering:["bar","fizz"],parameterConfiguration:{"fizz":{required:false,conditionalOverrides:[{type:"required",condition:{type:"and",conditions:[{type:"group",name:"parameterLevelGroup"},{type:"parameter",parameterId:"bar",matches:{type:"staticValue",staticValue:{type:"string",string:"bar"}}}]}}],defaultValue:{type:"staticValue",staticValue:{type:"string",string:"default_fizz"}},displayName:"fizz_display",description:"fizz_description"}},excludedProperties:["buzz"],defaultFormat:"TABLE",enableLayoutSwitch:true,submissionMetadata:{successMessage:"Custom success message",undoButtonConfiguration:true,submitButtonDisplayMetadata:{intent:"DANGER",text:"Custom button"}},primaryKeyOption:"userInput"});expect(dumpOntologyFullMetadata()).toMatchInlineSnapshot(`
|
|
4274
|
-
|
|
4275
|
-
|
|
4340
|
+
`);});it("Customizations on CRUD object type actions are properly defined",()=>{const exampleObjectType=defineObject({titlePropertyApiName:"bar",displayName:"exampleObjectType",pluralDisplayName:"exampleObjectTypes",apiName:"foo",primaryKeyPropertyApiName:"primary",properties:{"bar":{type:"string"},"fizz":{type:"string"},"buzz":{type:"string"},"primary":{type:"string"}}});defineCreateObjectAction({objectType:exampleObjectType,actionLevelValidation:[{condition:{type:"group",name:"actionLevelGroup"}},{condition:{type:"group",name:"actionLevelGroup2"},displayMetadata:{failureMessage:"Different custom failure message",typeClasses:[]}}],parameterOrdering:["bar","fizz","primary"],parameterConfiguration:{"fizz":{required:false,conditionalOverrides:[{type:"required",condition:{type:"and",conditions:[{type:"group",name:"parameterLevelGroup"},{type:"parameter",parameterId:"bar",matches:{type:"staticValue",staticValue:{type:"string",string:"bar"}}}]}}],defaultValue:{type:"staticValue",staticValue:{type:"string",string:"default_fizz"}},displayName:"fizz_display",description:"fizz_description"}},excludedProperties:["buzz"],defaultFormat:"TABLE",enableLayoutSwitch:true,submissionMetadata:{successMessage:"Custom success message",undoButtonConfiguration:true,submitButtonDisplayMetadata:{intent:"DANGER",text:"Custom button"}},tableConfiguration:{columnWidthByParameterRid:{},enableFileImport:false,fitHorizontally:true,frozenColumnCount:1,rowHeightInLines:10}});defineModifyObjectAction({objectType:exampleObjectType,actionLevelValidation:[{condition:{type:"group",name:"actionLevelGroup"}},{condition:{type:"group",name:"actionLevelGroup2"},displayMetadata:{failureMessage:"Different custom failure message",typeClasses:[]}}],parameterOrdering:["bar","fizz"],parameterConfiguration:{"fizz":{required:false,conditionalOverrides:[{type:"required",condition:{type:"and",conditions:[{type:"group",name:"parameterLevelGroup"},{type:"parameter",parameterId:"bar",matches:{type:"staticValue",staticValue:{type:"string",string:"bar"}}}]}}],defaultValue:{type:"staticValue",staticValue:{type:"string",string:"default_fizz"}},displayName:"fizz_display",description:"fizz_description"}},excludedProperties:["buzz"],defaultFormat:"TABLE",enableLayoutSwitch:true,submissionMetadata:{successMessage:"Custom success message",undoButtonConfiguration:true,submitButtonDisplayMetadata:{intent:"DANGER",text:"Custom button"}},tableConfiguration:{columnWidthByParameterRid:{},enableFileImport:false,fitHorizontally:true,frozenColumnCount:1,rowHeightInLines:10}});defineCreateOrModifyObjectAction({objectType:exampleObjectType,actionLevelValidation:[{condition:{type:"group",name:"actionLevelGroup"}},{condition:{type:"group",name:"actionLevelGroup2"},displayMetadata:{failureMessage:"Different custom failure message",typeClasses:[]}}],parameterOrdering:["bar","fizz"],parameterConfiguration:{"fizz":{required:false,conditionalOverrides:[{type:"required",condition:{type:"and",conditions:[{type:"group",name:"parameterLevelGroup"},{type:"parameter",parameterId:"bar",matches:{type:"staticValue",staticValue:{type:"string",string:"bar"}}}]}}],defaultValue:{type:"staticValue",staticValue:{type:"string",string:"default_fizz"}},displayName:"fizz_display",description:"fizz_description"}},excludedProperties:["buzz"],defaultFormat:"TABLE",enableLayoutSwitch:true,submissionMetadata:{successMessage:"Custom success message",undoButtonConfiguration:true,submitButtonDisplayMetadata:{intent:"DANGER",text:"Custom button"}},tableConfiguration:{columnWidthByParameterRid:{},enableFileImport:false,fitHorizontally:true,frozenColumnCount:1,rowHeightInLines:10},primaryKeyOption:"userInput"});expect(dumpOntologyFullMetadata()).toMatchInlineSnapshot(`
|
|
4341
|
+
{
|
|
4342
|
+
"importedOntology": {
|
|
4343
|
+
"actionTypes": {},
|
|
4344
|
+
"blockPermissionInformation": {
|
|
4276
4345
|
"actionTypes": {},
|
|
4277
|
-
"blockPermissionInformation": {
|
|
4278
|
-
"actionTypes": {},
|
|
4279
|
-
"linkTypes": {},
|
|
4280
|
-
"objectTypes": {},
|
|
4281
|
-
},
|
|
4282
|
-
"interfaceTypes": {},
|
|
4283
4346
|
"linkTypes": {},
|
|
4284
4347
|
"objectTypes": {},
|
|
4285
|
-
"sharedPropertyTypes": {},
|
|
4286
|
-
},
|
|
4287
|
-
"importedValueTypes": {
|
|
4288
|
-
"valueTypes": [],
|
|
4289
4348
|
},
|
|
4290
|
-
"
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4349
|
+
"interfaceTypes": {},
|
|
4350
|
+
"linkTypes": {},
|
|
4351
|
+
"objectTypes": {},
|
|
4352
|
+
"sharedPropertyTypes": {},
|
|
4353
|
+
},
|
|
4354
|
+
"importedValueTypes": {
|
|
4355
|
+
"valueTypes": [],
|
|
4356
|
+
},
|
|
4357
|
+
"ontology": {
|
|
4358
|
+
"actionTypes": {
|
|
4359
|
+
"com.palantir.create-object-foo": {
|
|
4360
|
+
"actionType": {
|
|
4361
|
+
"actionTypeLogic": {
|
|
4362
|
+
"logic": {
|
|
4363
|
+
"rules": [
|
|
4364
|
+
{
|
|
4365
|
+
"addObjectRule": {
|
|
4366
|
+
"objectTypeId": "com.palantir.foo",
|
|
4367
|
+
"propertyValues": {
|
|
4368
|
+
"bar": {
|
|
4369
|
+
"parameterId": "bar",
|
|
4370
|
+
"type": "parameterId",
|
|
4371
|
+
},
|
|
4372
|
+
"fizz": {
|
|
4373
|
+
"parameterId": "fizz",
|
|
4374
|
+
"type": "parameterId",
|
|
4375
|
+
},
|
|
4376
|
+
"primary": {
|
|
4377
|
+
"parameterId": "primary",
|
|
4378
|
+
"type": "parameterId",
|
|
4313
4379
|
},
|
|
4314
|
-
"structFieldValues": {},
|
|
4315
4380
|
},
|
|
4316
|
-
"
|
|
4381
|
+
"structFieldValues": {},
|
|
4317
4382
|
},
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
},
|
|
4333
|
-
"
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
},
|
|
4383
|
+
"type": "addObjectRule",
|
|
4384
|
+
},
|
|
4385
|
+
],
|
|
4386
|
+
},
|
|
4387
|
+
"validation": {
|
|
4388
|
+
"actionTypeLevelValidation": {
|
|
4389
|
+
"rules": {
|
|
4390
|
+
"0": {
|
|
4391
|
+
"condition": {
|
|
4392
|
+
"comparison": {
|
|
4393
|
+
"left": {
|
|
4394
|
+
"type": "userProperty",
|
|
4395
|
+
"userProperty": {
|
|
4396
|
+
"propertyValue": {
|
|
4397
|
+
"groupIds": {},
|
|
4398
|
+
"type": "groupIds",
|
|
4399
|
+
},
|
|
4400
|
+
"userId": {
|
|
4401
|
+
"currentUser": {},
|
|
4402
|
+
"type": "currentUser",
|
|
4337
4403
|
},
|
|
4338
4404
|
},
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
"type": "stringList",
|
|
4405
|
+
},
|
|
4406
|
+
"operator": "INTERSECTS",
|
|
4407
|
+
"right": {
|
|
4408
|
+
"staticValue": {
|
|
4409
|
+
"stringList": {
|
|
4410
|
+
"strings": [
|
|
4411
|
+
"actionLevelGroup",
|
|
4412
|
+
],
|
|
4348
4413
|
},
|
|
4349
|
-
"type": "
|
|
4414
|
+
"type": "stringList",
|
|
4350
4415
|
},
|
|
4416
|
+
"type": "staticValue",
|
|
4351
4417
|
},
|
|
4352
|
-
"type": "comparison",
|
|
4353
|
-
},
|
|
4354
|
-
"displayMetadata": {
|
|
4355
|
-
"failureMessage": "Did not satisfy validation",
|
|
4356
|
-
"typeClasses": [],
|
|
4357
4418
|
},
|
|
4419
|
+
"type": "comparison",
|
|
4358
4420
|
},
|
|
4359
|
-
"
|
|
4360
|
-
"
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4421
|
+
"displayMetadata": {
|
|
4422
|
+
"failureMessage": "Did not satisfy validation",
|
|
4423
|
+
"typeClasses": [],
|
|
4424
|
+
},
|
|
4425
|
+
},
|
|
4426
|
+
"1": {
|
|
4427
|
+
"condition": {
|
|
4428
|
+
"comparison": {
|
|
4429
|
+
"left": {
|
|
4430
|
+
"type": "userProperty",
|
|
4431
|
+
"userProperty": {
|
|
4432
|
+
"propertyValue": {
|
|
4433
|
+
"groupIds": {},
|
|
4434
|
+
"type": "groupIds",
|
|
4435
|
+
},
|
|
4436
|
+
"userId": {
|
|
4437
|
+
"currentUser": {},
|
|
4438
|
+
"type": "currentUser",
|
|
4373
4439
|
},
|
|
4374
4440
|
},
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
"type": "stringList",
|
|
4441
|
+
},
|
|
4442
|
+
"operator": "INTERSECTS",
|
|
4443
|
+
"right": {
|
|
4444
|
+
"staticValue": {
|
|
4445
|
+
"stringList": {
|
|
4446
|
+
"strings": [
|
|
4447
|
+
"actionLevelGroup2",
|
|
4448
|
+
],
|
|
4384
4449
|
},
|
|
4385
|
-
"type": "
|
|
4450
|
+
"type": "stringList",
|
|
4386
4451
|
},
|
|
4452
|
+
"type": "staticValue",
|
|
4387
4453
|
},
|
|
4388
|
-
"type": "comparison",
|
|
4389
|
-
},
|
|
4390
|
-
"displayMetadata": {
|
|
4391
|
-
"failureMessage": "Different custom failure message",
|
|
4392
|
-
"typeClasses": [],
|
|
4393
4454
|
},
|
|
4455
|
+
"type": "comparison",
|
|
4456
|
+
},
|
|
4457
|
+
"displayMetadata": {
|
|
4458
|
+
"failureMessage": "Different custom failure message",
|
|
4459
|
+
"typeClasses": [],
|
|
4394
4460
|
},
|
|
4395
4461
|
},
|
|
4396
4462
|
},
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
"visibility": {
|
|
4407
|
-
"editable": {},
|
|
4408
|
-
"type": "editable",
|
|
4409
|
-
},
|
|
4463
|
+
},
|
|
4464
|
+
"parameterValidations": {
|
|
4465
|
+
"bar": {
|
|
4466
|
+
"conditionalOverrides": [],
|
|
4467
|
+
"defaultValidation": {
|
|
4468
|
+
"display": {
|
|
4469
|
+
"renderHint": {
|
|
4470
|
+
"textInput": {},
|
|
4471
|
+
"type": "textInput",
|
|
4410
4472
|
},
|
|
4411
|
-
"
|
|
4412
|
-
"
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4473
|
+
"visibility": {
|
|
4474
|
+
"editable": {},
|
|
4475
|
+
"type": "editable",
|
|
4476
|
+
},
|
|
4477
|
+
},
|
|
4478
|
+
"validation": {
|
|
4479
|
+
"allowedValues": {
|
|
4480
|
+
"text": {
|
|
4481
|
+
"text": {},
|
|
4417
4482
|
"type": "text",
|
|
4418
4483
|
},
|
|
4419
|
-
"
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
},
|
|
4484
|
+
"type": "text",
|
|
4485
|
+
},
|
|
4486
|
+
"required": {
|
|
4487
|
+
"notRequired": {},
|
|
4488
|
+
"type": "notRequired",
|
|
4423
4489
|
},
|
|
4424
4490
|
},
|
|
4425
4491
|
},
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
},
|
|
4446
|
-
},
|
|
4447
|
-
"operator": "INTERSECTS",
|
|
4448
|
-
"right": {
|
|
4449
|
-
"staticValue": {
|
|
4450
|
-
"stringList": {
|
|
4451
|
-
"strings": [
|
|
4452
|
-
"parameterLevelGroup",
|
|
4453
|
-
],
|
|
4454
|
-
},
|
|
4455
|
-
"type": "stringList",
|
|
4492
|
+
},
|
|
4493
|
+
"fizz": {
|
|
4494
|
+
"conditionalOverrides": [
|
|
4495
|
+
{
|
|
4496
|
+
"condition": {
|
|
4497
|
+
"and": {
|
|
4498
|
+
"conditions": [
|
|
4499
|
+
{
|
|
4500
|
+
"comparison": {
|
|
4501
|
+
"left": {
|
|
4502
|
+
"type": "userProperty",
|
|
4503
|
+
"userProperty": {
|
|
4504
|
+
"propertyValue": {
|
|
4505
|
+
"groupIds": {},
|
|
4506
|
+
"type": "groupIds",
|
|
4507
|
+
},
|
|
4508
|
+
"userId": {
|
|
4509
|
+
"currentUser": {},
|
|
4510
|
+
"type": "currentUser",
|
|
4456
4511
|
},
|
|
4457
|
-
"type": "staticValue",
|
|
4458
|
-
},
|
|
4459
|
-
},
|
|
4460
|
-
"type": "comparison",
|
|
4461
|
-
},
|
|
4462
|
-
{
|
|
4463
|
-
"comparison": {
|
|
4464
|
-
"left": {
|
|
4465
|
-
"parameterId": "bar",
|
|
4466
|
-
"type": "parameterId",
|
|
4467
4512
|
},
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4513
|
+
},
|
|
4514
|
+
"operator": "INTERSECTS",
|
|
4515
|
+
"right": {
|
|
4516
|
+
"staticValue": {
|
|
4517
|
+
"stringList": {
|
|
4518
|
+
"strings": [
|
|
4519
|
+
"parameterLevelGroup",
|
|
4520
|
+
],
|
|
4473
4521
|
},
|
|
4474
|
-
"type": "
|
|
4522
|
+
"type": "stringList",
|
|
4475
4523
|
},
|
|
4524
|
+
"type": "staticValue",
|
|
4476
4525
|
},
|
|
4477
|
-
"type": "comparison",
|
|
4478
4526
|
},
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
"
|
|
4488
|
-
"
|
|
4527
|
+
"type": "comparison",
|
|
4528
|
+
},
|
|
4529
|
+
{
|
|
4530
|
+
"comparison": {
|
|
4531
|
+
"left": {
|
|
4532
|
+
"parameterId": "bar",
|
|
4533
|
+
"type": "parameterId",
|
|
4534
|
+
},
|
|
4535
|
+
"operator": "EQUALS",
|
|
4536
|
+
"right": {
|
|
4537
|
+
"staticValue": {
|
|
4538
|
+
"string": "bar",
|
|
4539
|
+
"type": "string",
|
|
4540
|
+
},
|
|
4541
|
+
"type": "staticValue",
|
|
4542
|
+
},
|
|
4489
4543
|
},
|
|
4544
|
+
"type": "comparison",
|
|
4490
4545
|
},
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4546
|
+
],
|
|
4547
|
+
},
|
|
4548
|
+
"type": "and",
|
|
4494
4549
|
},
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4550
|
+
"parameterBlockOverrides": [
|
|
4551
|
+
{
|
|
4552
|
+
"parameterRequired": {
|
|
4553
|
+
"required": {
|
|
4554
|
+
"required": {},
|
|
4555
|
+
"type": "required",
|
|
4556
|
+
},
|
|
4502
4557
|
},
|
|
4503
|
-
"type": "
|
|
4504
|
-
},
|
|
4505
|
-
"renderHint": {
|
|
4506
|
-
"textInput": {},
|
|
4507
|
-
"type": "textInput",
|
|
4558
|
+
"type": "parameterRequired",
|
|
4508
4559
|
},
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4560
|
+
],
|
|
4561
|
+
},
|
|
4562
|
+
],
|
|
4563
|
+
"defaultValidation": {
|
|
4564
|
+
"display": {
|
|
4565
|
+
"prefill": {
|
|
4566
|
+
"staticValue": {
|
|
4567
|
+
"string": "default_fizz",
|
|
4568
|
+
"type": "string",
|
|
4512
4569
|
},
|
|
4570
|
+
"type": "staticValue",
|
|
4513
4571
|
},
|
|
4514
|
-
"
|
|
4515
|
-
"
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4572
|
+
"renderHint": {
|
|
4573
|
+
"textInput": {},
|
|
4574
|
+
"type": "textInput",
|
|
4575
|
+
},
|
|
4576
|
+
"visibility": {
|
|
4577
|
+
"editable": {},
|
|
4578
|
+
"type": "editable",
|
|
4579
|
+
},
|
|
4580
|
+
},
|
|
4581
|
+
"validation": {
|
|
4582
|
+
"allowedValues": {
|
|
4583
|
+
"text": {
|
|
4584
|
+
"text": {},
|
|
4520
4585
|
"type": "text",
|
|
4521
4586
|
},
|
|
4522
|
-
"
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
},
|
|
4587
|
+
"type": "text",
|
|
4588
|
+
},
|
|
4589
|
+
"required": {
|
|
4590
|
+
"notRequired": {},
|
|
4591
|
+
"type": "notRequired",
|
|
4526
4592
|
},
|
|
4527
4593
|
},
|
|
4528
4594
|
},
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
"visibility": {
|
|
4538
|
-
"editable": {},
|
|
4539
|
-
"type": "editable",
|
|
4540
|
-
},
|
|
4595
|
+
},
|
|
4596
|
+
"primary": {
|
|
4597
|
+
"conditionalOverrides": [],
|
|
4598
|
+
"defaultValidation": {
|
|
4599
|
+
"display": {
|
|
4600
|
+
"renderHint": {
|
|
4601
|
+
"textInput": {},
|
|
4602
|
+
"type": "textInput",
|
|
4541
4603
|
},
|
|
4542
|
-
"
|
|
4543
|
-
"
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4604
|
+
"visibility": {
|
|
4605
|
+
"editable": {},
|
|
4606
|
+
"type": "editable",
|
|
4607
|
+
},
|
|
4608
|
+
},
|
|
4609
|
+
"validation": {
|
|
4610
|
+
"allowedValues": {
|
|
4611
|
+
"text": {
|
|
4612
|
+
"text": {},
|
|
4548
4613
|
"type": "text",
|
|
4549
4614
|
},
|
|
4550
|
-
"
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
},
|
|
4615
|
+
"type": "text",
|
|
4616
|
+
},
|
|
4617
|
+
"required": {
|
|
4618
|
+
"notRequired": {},
|
|
4619
|
+
"type": "notRequired",
|
|
4554
4620
|
},
|
|
4555
4621
|
},
|
|
4556
4622
|
},
|
|
4557
4623
|
},
|
|
4558
|
-
"sectionValidations": {},
|
|
4559
4624
|
},
|
|
4625
|
+
"sectionValidations": {},
|
|
4560
4626
|
},
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
},
|
|
4575
|
-
"enableLayoutUserSwitch": true,
|
|
4576
|
-
},
|
|
4577
|
-
"description": "",
|
|
4578
|
-
"displayName": "Create exampleObjectType",
|
|
4579
|
-
"icon": {
|
|
4580
|
-
"blueprint": {
|
|
4581
|
-
"color": "#000000",
|
|
4582
|
-
"locator": "edit",
|
|
4627
|
+
},
|
|
4628
|
+
"metadata": {
|
|
4629
|
+
"apiName": "com.palantir.create-object-foo",
|
|
4630
|
+
"displayMetadata": {
|
|
4631
|
+
"configuration": {
|
|
4632
|
+
"defaultLayout": "TABLE",
|
|
4633
|
+
"displayAndFormat": {
|
|
4634
|
+
"table": {
|
|
4635
|
+
"columnWidthByParameterRid": {},
|
|
4636
|
+
"enableFileImport": false,
|
|
4637
|
+
"fitHorizontally": true,
|
|
4638
|
+
"frozenColumnCount": 1,
|
|
4639
|
+
"rowHeightInLines": 10,
|
|
4583
4640
|
},
|
|
4584
|
-
"type": "blueprint",
|
|
4585
4641
|
},
|
|
4586
|
-
"
|
|
4587
|
-
|
|
4588
|
-
|
|
4642
|
+
"enableLayoutUserSwitch": true,
|
|
4643
|
+
},
|
|
4644
|
+
"description": "",
|
|
4645
|
+
"displayName": "Create exampleObjectType",
|
|
4646
|
+
"icon": {
|
|
4647
|
+
"blueprint": {
|
|
4648
|
+
"color": "#000000",
|
|
4649
|
+
"locator": "edit",
|
|
4589
4650
|
},
|
|
4590
|
-
"
|
|
4591
|
-
{
|
|
4592
|
-
"message": "Custom success message",
|
|
4593
|
-
"type": "message",
|
|
4594
|
-
},
|
|
4595
|
-
],
|
|
4596
|
-
"typeClasses": [],
|
|
4597
|
-
"undoButtonConfiguration": true,
|
|
4651
|
+
"type": "blueprint",
|
|
4598
4652
|
},
|
|
4599
|
-
"
|
|
4600
|
-
"
|
|
4601
|
-
"
|
|
4602
|
-
"affectedObjectTypes": [
|
|
4603
|
-
"com.palantir.foo",
|
|
4604
|
-
],
|
|
4605
|
-
"typeGroups": [],
|
|
4653
|
+
"submitButtonDisplayMetadata": {
|
|
4654
|
+
"intent": "DANGER",
|
|
4655
|
+
"text": "Custom button",
|
|
4606
4656
|
},
|
|
4607
|
-
"
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4657
|
+
"successMessage": [
|
|
4658
|
+
{
|
|
4659
|
+
"message": "Custom success message",
|
|
4660
|
+
"type": "message",
|
|
4661
|
+
},
|
|
4612
4662
|
],
|
|
4613
|
-
"
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4663
|
+
"typeClasses": [],
|
|
4664
|
+
"undoButtonConfiguration": true,
|
|
4665
|
+
},
|
|
4666
|
+
"entities": {
|
|
4667
|
+
"affectedInterfaceTypes": [],
|
|
4668
|
+
"affectedLinkTypes": [],
|
|
4669
|
+
"affectedObjectTypes": [
|
|
4670
|
+
"com.palantir.foo",
|
|
4671
|
+
],
|
|
4672
|
+
"typeGroups": [],
|
|
4673
|
+
},
|
|
4674
|
+
"formContentOrdering": [],
|
|
4675
|
+
"parameterOrdering": [
|
|
4676
|
+
"bar",
|
|
4677
|
+
"fizz",
|
|
4678
|
+
"primary",
|
|
4679
|
+
],
|
|
4680
|
+
"parameters": {
|
|
4681
|
+
"bar": {
|
|
4682
|
+
"displayMetadata": {
|
|
4683
|
+
"description": "",
|
|
4684
|
+
"displayName": "Bar",
|
|
4685
|
+
"typeClasses": [],
|
|
4625
4686
|
},
|
|
4626
|
-
"
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
"typeClasses": [],
|
|
4631
|
-
},
|
|
4632
|
-
"id": "fizz",
|
|
4633
|
-
"type": {
|
|
4634
|
-
"string": {},
|
|
4635
|
-
"type": "string",
|
|
4636
|
-
},
|
|
4687
|
+
"id": "bar",
|
|
4688
|
+
"type": {
|
|
4689
|
+
"string": {},
|
|
4690
|
+
"type": "string",
|
|
4637
4691
|
},
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4692
|
+
},
|
|
4693
|
+
"fizz": {
|
|
4694
|
+
"displayMetadata": {
|
|
4695
|
+
"description": "fizz_description",
|
|
4696
|
+
"displayName": "fizz_display",
|
|
4697
|
+
"typeClasses": [],
|
|
4698
|
+
},
|
|
4699
|
+
"id": "fizz",
|
|
4700
|
+
"type": {
|
|
4701
|
+
"string": {},
|
|
4702
|
+
"type": "string",
|
|
4649
4703
|
},
|
|
4650
4704
|
},
|
|
4651
|
-
"
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4705
|
+
"primary": {
|
|
4706
|
+
"displayMetadata": {
|
|
4707
|
+
"description": "",
|
|
4708
|
+
"displayName": "Primary",
|
|
4709
|
+
"typeClasses": [],
|
|
4710
|
+
},
|
|
4711
|
+
"id": "primary",
|
|
4712
|
+
"type": {
|
|
4713
|
+
"string": {},
|
|
4714
|
+
"type": "string",
|
|
4715
|
+
},
|
|
4655
4716
|
},
|
|
4656
4717
|
},
|
|
4718
|
+
"sections": {},
|
|
4719
|
+
"status": {
|
|
4720
|
+
"active": {},
|
|
4721
|
+
"type": "active",
|
|
4722
|
+
},
|
|
4657
4723
|
},
|
|
4658
4724
|
},
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4725
|
+
},
|
|
4726
|
+
"com.palantir.create-or-modify-foo": {
|
|
4727
|
+
"actionType": {
|
|
4728
|
+
"actionTypeLogic": {
|
|
4729
|
+
"logic": {
|
|
4730
|
+
"rules": [
|
|
4731
|
+
{
|
|
4732
|
+
"addOrModifyObjectRuleV2": {
|
|
4733
|
+
"objectToModify": "objectToCreateOrModifyParameter",
|
|
4734
|
+
"propertyValues": {
|
|
4735
|
+
"bar": {
|
|
4736
|
+
"parameterId": "bar",
|
|
4737
|
+
"type": "parameterId",
|
|
4738
|
+
},
|
|
4739
|
+
"fizz": {
|
|
4740
|
+
"parameterId": "fizz",
|
|
4741
|
+
"type": "parameterId",
|
|
4676
4742
|
},
|
|
4677
|
-
"structFieldValues": {},
|
|
4678
4743
|
},
|
|
4679
|
-
"
|
|
4744
|
+
"structFieldValues": {},
|
|
4680
4745
|
},
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
},
|
|
4696
|
-
"
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
},
|
|
4746
|
+
"type": "addOrModifyObjectRuleV2",
|
|
4747
|
+
},
|
|
4748
|
+
],
|
|
4749
|
+
},
|
|
4750
|
+
"validation": {
|
|
4751
|
+
"actionTypeLevelValidation": {
|
|
4752
|
+
"rules": {
|
|
4753
|
+
"0": {
|
|
4754
|
+
"condition": {
|
|
4755
|
+
"comparison": {
|
|
4756
|
+
"left": {
|
|
4757
|
+
"type": "userProperty",
|
|
4758
|
+
"userProperty": {
|
|
4759
|
+
"propertyValue": {
|
|
4760
|
+
"groupIds": {},
|
|
4761
|
+
"type": "groupIds",
|
|
4762
|
+
},
|
|
4763
|
+
"userId": {
|
|
4764
|
+
"currentUser": {},
|
|
4765
|
+
"type": "currentUser",
|
|
4700
4766
|
},
|
|
4701
4767
|
},
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
"type": "stringList",
|
|
4768
|
+
},
|
|
4769
|
+
"operator": "INTERSECTS",
|
|
4770
|
+
"right": {
|
|
4771
|
+
"staticValue": {
|
|
4772
|
+
"stringList": {
|
|
4773
|
+
"strings": [
|
|
4774
|
+
"actionLevelGroup",
|
|
4775
|
+
],
|
|
4711
4776
|
},
|
|
4712
|
-
"type": "
|
|
4777
|
+
"type": "stringList",
|
|
4713
4778
|
},
|
|
4779
|
+
"type": "staticValue",
|
|
4714
4780
|
},
|
|
4715
|
-
"type": "comparison",
|
|
4716
|
-
},
|
|
4717
|
-
"displayMetadata": {
|
|
4718
|
-
"failureMessage": "Did not satisfy validation",
|
|
4719
|
-
"typeClasses": [],
|
|
4720
4781
|
},
|
|
4782
|
+
"type": "comparison",
|
|
4721
4783
|
},
|
|
4722
|
-
"
|
|
4723
|
-
"
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4784
|
+
"displayMetadata": {
|
|
4785
|
+
"failureMessage": "Did not satisfy validation",
|
|
4786
|
+
"typeClasses": [],
|
|
4787
|
+
},
|
|
4788
|
+
},
|
|
4789
|
+
"1": {
|
|
4790
|
+
"condition": {
|
|
4791
|
+
"comparison": {
|
|
4792
|
+
"left": {
|
|
4793
|
+
"type": "userProperty",
|
|
4794
|
+
"userProperty": {
|
|
4795
|
+
"propertyValue": {
|
|
4796
|
+
"groupIds": {},
|
|
4797
|
+
"type": "groupIds",
|
|
4798
|
+
},
|
|
4799
|
+
"userId": {
|
|
4800
|
+
"currentUser": {},
|
|
4801
|
+
"type": "currentUser",
|
|
4736
4802
|
},
|
|
4737
4803
|
},
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
"type": "stringList",
|
|
4804
|
+
},
|
|
4805
|
+
"operator": "INTERSECTS",
|
|
4806
|
+
"right": {
|
|
4807
|
+
"staticValue": {
|
|
4808
|
+
"stringList": {
|
|
4809
|
+
"strings": [
|
|
4810
|
+
"actionLevelGroup2",
|
|
4811
|
+
],
|
|
4747
4812
|
},
|
|
4748
|
-
"type": "
|
|
4813
|
+
"type": "stringList",
|
|
4749
4814
|
},
|
|
4815
|
+
"type": "staticValue",
|
|
4750
4816
|
},
|
|
4751
|
-
"type": "comparison",
|
|
4752
|
-
},
|
|
4753
|
-
"displayMetadata": {
|
|
4754
|
-
"failureMessage": "Different custom failure message",
|
|
4755
|
-
"typeClasses": [],
|
|
4756
4817
|
},
|
|
4818
|
+
"type": "comparison",
|
|
4819
|
+
},
|
|
4820
|
+
"displayMetadata": {
|
|
4821
|
+
"failureMessage": "Different custom failure message",
|
|
4822
|
+
"typeClasses": [],
|
|
4757
4823
|
},
|
|
4758
4824
|
},
|
|
4759
4825
|
},
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
"type": "objectParameterPropertyValue",
|
|
4771
|
-
},
|
|
4772
|
-
"renderHint": {
|
|
4773
|
-
"textInput": {},
|
|
4774
|
-
"type": "textInput",
|
|
4775
|
-
},
|
|
4776
|
-
"visibility": {
|
|
4777
|
-
"editable": {},
|
|
4778
|
-
"type": "editable",
|
|
4826
|
+
},
|
|
4827
|
+
"parameterValidations": {
|
|
4828
|
+
"bar": {
|
|
4829
|
+
"conditionalOverrides": [],
|
|
4830
|
+
"defaultValidation": {
|
|
4831
|
+
"display": {
|
|
4832
|
+
"prefill": {
|
|
4833
|
+
"objectParameterPropertyValue": {
|
|
4834
|
+
"parameterId": "objectToCreateOrModifyParameter",
|
|
4835
|
+
"propertyTypeId": "bar",
|
|
4779
4836
|
},
|
|
4837
|
+
"type": "objectParameterPropertyValue",
|
|
4780
4838
|
},
|
|
4781
|
-
"
|
|
4782
|
-
"
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4839
|
+
"renderHint": {
|
|
4840
|
+
"textInput": {},
|
|
4841
|
+
"type": "textInput",
|
|
4842
|
+
},
|
|
4843
|
+
"visibility": {
|
|
4844
|
+
"editable": {},
|
|
4845
|
+
"type": "editable",
|
|
4846
|
+
},
|
|
4847
|
+
},
|
|
4848
|
+
"validation": {
|
|
4849
|
+
"allowedValues": {
|
|
4850
|
+
"text": {
|
|
4851
|
+
"text": {},
|
|
4787
4852
|
"type": "text",
|
|
4788
4853
|
},
|
|
4789
|
-
"
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
},
|
|
4854
|
+
"type": "text",
|
|
4855
|
+
},
|
|
4856
|
+
"required": {
|
|
4857
|
+
"notRequired": {},
|
|
4858
|
+
"type": "notRequired",
|
|
4793
4859
|
},
|
|
4794
4860
|
},
|
|
4795
4861
|
},
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
"userId": {
|
|
4812
|
-
"currentUser": {},
|
|
4813
|
-
"type": "currentUser",
|
|
4814
|
-
},
|
|
4862
|
+
},
|
|
4863
|
+
"fizz": {
|
|
4864
|
+
"conditionalOverrides": [
|
|
4865
|
+
{
|
|
4866
|
+
"condition": {
|
|
4867
|
+
"and": {
|
|
4868
|
+
"conditions": [
|
|
4869
|
+
{
|
|
4870
|
+
"comparison": {
|
|
4871
|
+
"left": {
|
|
4872
|
+
"type": "userProperty",
|
|
4873
|
+
"userProperty": {
|
|
4874
|
+
"propertyValue": {
|
|
4875
|
+
"groupIds": {},
|
|
4876
|
+
"type": "groupIds",
|
|
4815
4877
|
},
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
"staticValue": {
|
|
4820
|
-
"stringList": {
|
|
4821
|
-
"strings": [
|
|
4822
|
-
"parameterLevelGroup",
|
|
4823
|
-
],
|
|
4824
|
-
},
|
|
4825
|
-
"type": "stringList",
|
|
4878
|
+
"userId": {
|
|
4879
|
+
"currentUser": {},
|
|
4880
|
+
"type": "currentUser",
|
|
4826
4881
|
},
|
|
4827
|
-
"type": "staticValue",
|
|
4828
4882
|
},
|
|
4829
4883
|
},
|
|
4830
|
-
"
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
},
|
|
4838
|
-
"operator": "EQUALS",
|
|
4839
|
-
"right": {
|
|
4840
|
-
"staticValue": {
|
|
4841
|
-
"string": "bar",
|
|
4842
|
-
"type": "string",
|
|
4884
|
+
"operator": "INTERSECTS",
|
|
4885
|
+
"right": {
|
|
4886
|
+
"staticValue": {
|
|
4887
|
+
"stringList": {
|
|
4888
|
+
"strings": [
|
|
4889
|
+
"parameterLevelGroup",
|
|
4890
|
+
],
|
|
4843
4891
|
},
|
|
4844
|
-
"type": "
|
|
4892
|
+
"type": "stringList",
|
|
4845
4893
|
},
|
|
4894
|
+
"type": "staticValue",
|
|
4846
4895
|
},
|
|
4847
|
-
"type": "comparison",
|
|
4848
4896
|
},
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
"
|
|
4858
|
-
"
|
|
4897
|
+
"type": "comparison",
|
|
4898
|
+
},
|
|
4899
|
+
{
|
|
4900
|
+
"comparison": {
|
|
4901
|
+
"left": {
|
|
4902
|
+
"parameterId": "bar",
|
|
4903
|
+
"type": "parameterId",
|
|
4904
|
+
},
|
|
4905
|
+
"operator": "EQUALS",
|
|
4906
|
+
"right": {
|
|
4907
|
+
"staticValue": {
|
|
4908
|
+
"string": "bar",
|
|
4909
|
+
"type": "string",
|
|
4910
|
+
},
|
|
4911
|
+
"type": "staticValue",
|
|
4912
|
+
},
|
|
4859
4913
|
},
|
|
4914
|
+
"type": "comparison",
|
|
4860
4915
|
},
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4916
|
+
],
|
|
4917
|
+
},
|
|
4918
|
+
"type": "and",
|
|
4864
4919
|
},
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4920
|
+
"parameterBlockOverrides": [
|
|
4921
|
+
{
|
|
4922
|
+
"parameterRequired": {
|
|
4923
|
+
"required": {
|
|
4924
|
+
"required": {},
|
|
4925
|
+
"type": "required",
|
|
4926
|
+
},
|
|
4872
4927
|
},
|
|
4873
|
-
"type": "
|
|
4874
|
-
},
|
|
4875
|
-
"renderHint": {
|
|
4876
|
-
"textInput": {},
|
|
4877
|
-
"type": "textInput",
|
|
4928
|
+
"type": "parameterRequired",
|
|
4878
4929
|
},
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4930
|
+
],
|
|
4931
|
+
},
|
|
4932
|
+
],
|
|
4933
|
+
"defaultValidation": {
|
|
4934
|
+
"display": {
|
|
4935
|
+
"prefill": {
|
|
4936
|
+
"staticValue": {
|
|
4937
|
+
"string": "default_fizz",
|
|
4938
|
+
"type": "string",
|
|
4882
4939
|
},
|
|
4940
|
+
"type": "staticValue",
|
|
4883
4941
|
},
|
|
4884
|
-
"
|
|
4885
|
-
"
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4942
|
+
"renderHint": {
|
|
4943
|
+
"textInput": {},
|
|
4944
|
+
"type": "textInput",
|
|
4945
|
+
},
|
|
4946
|
+
"visibility": {
|
|
4947
|
+
"editable": {},
|
|
4948
|
+
"type": "editable",
|
|
4949
|
+
},
|
|
4950
|
+
},
|
|
4951
|
+
"validation": {
|
|
4952
|
+
"allowedValues": {
|
|
4953
|
+
"text": {
|
|
4954
|
+
"text": {},
|
|
4890
4955
|
"type": "text",
|
|
4891
4956
|
},
|
|
4892
|
-
"
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
},
|
|
4957
|
+
"type": "text",
|
|
4958
|
+
},
|
|
4959
|
+
"required": {
|
|
4960
|
+
"notRequired": {},
|
|
4961
|
+
"type": "notRequired",
|
|
4896
4962
|
},
|
|
4897
4963
|
},
|
|
4898
4964
|
},
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
"visibility": {
|
|
4908
|
-
"editable": {},
|
|
4909
|
-
"type": "editable",
|
|
4910
|
-
},
|
|
4965
|
+
},
|
|
4966
|
+
"objectToCreateOrModifyParameter": {
|
|
4967
|
+
"conditionalOverrides": [],
|
|
4968
|
+
"defaultValidation": {
|
|
4969
|
+
"display": {
|
|
4970
|
+
"renderHint": {
|
|
4971
|
+
"dropdown": {},
|
|
4972
|
+
"type": "dropdown",
|
|
4911
4973
|
},
|
|
4912
|
-
"
|
|
4913
|
-
"
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4974
|
+
"visibility": {
|
|
4975
|
+
"editable": {},
|
|
4976
|
+
"type": "editable",
|
|
4977
|
+
},
|
|
4978
|
+
},
|
|
4979
|
+
"validation": {
|
|
4980
|
+
"allowedValues": {
|
|
4981
|
+
"objectQuery": {
|
|
4982
|
+
"objectQuery": {},
|
|
4918
4983
|
"type": "objectQuery",
|
|
4919
4984
|
},
|
|
4920
|
-
"
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
},
|
|
4985
|
+
"type": "objectQuery",
|
|
4986
|
+
},
|
|
4987
|
+
"required": {
|
|
4988
|
+
"required": {},
|
|
4989
|
+
"type": "required",
|
|
4924
4990
|
},
|
|
4925
4991
|
},
|
|
4926
4992
|
},
|
|
4927
4993
|
},
|
|
4928
|
-
"sectionValidations": {},
|
|
4929
4994
|
},
|
|
4995
|
+
"sectionValidations": {},
|
|
4930
4996
|
},
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
},
|
|
4945
|
-
"enableLayoutUserSwitch": true,
|
|
4946
|
-
},
|
|
4947
|
-
"description": "",
|
|
4948
|
-
"displayName": "Create or Modify exampleObjectType",
|
|
4949
|
-
"icon": {
|
|
4950
|
-
"blueprint": {
|
|
4951
|
-
"color": "#000000",
|
|
4952
|
-
"locator": "edit",
|
|
4997
|
+
},
|
|
4998
|
+
"metadata": {
|
|
4999
|
+
"apiName": "com.palantir.create-or-modify-foo",
|
|
5000
|
+
"displayMetadata": {
|
|
5001
|
+
"configuration": {
|
|
5002
|
+
"defaultLayout": "TABLE",
|
|
5003
|
+
"displayAndFormat": {
|
|
5004
|
+
"table": {
|
|
5005
|
+
"columnWidthByParameterRid": {},
|
|
5006
|
+
"enableFileImport": false,
|
|
5007
|
+
"fitHorizontally": true,
|
|
5008
|
+
"frozenColumnCount": 1,
|
|
5009
|
+
"rowHeightInLines": 10,
|
|
4953
5010
|
},
|
|
4954
|
-
"type": "blueprint",
|
|
4955
5011
|
},
|
|
4956
|
-
"
|
|
4957
|
-
|
|
4958
|
-
|
|
5012
|
+
"enableLayoutUserSwitch": true,
|
|
5013
|
+
},
|
|
5014
|
+
"description": "",
|
|
5015
|
+
"displayName": "Create or Modify exampleObjectType",
|
|
5016
|
+
"icon": {
|
|
5017
|
+
"blueprint": {
|
|
5018
|
+
"color": "#000000",
|
|
5019
|
+
"locator": "edit",
|
|
4959
5020
|
},
|
|
4960
|
-
"
|
|
4961
|
-
{
|
|
4962
|
-
"message": "Custom success message",
|
|
4963
|
-
"type": "message",
|
|
4964
|
-
},
|
|
4965
|
-
],
|
|
4966
|
-
"typeClasses": [],
|
|
4967
|
-
"undoButtonConfiguration": true,
|
|
5021
|
+
"type": "blueprint",
|
|
4968
5022
|
},
|
|
4969
|
-
"
|
|
4970
|
-
"
|
|
4971
|
-
"
|
|
4972
|
-
"affectedObjectTypes": [
|
|
4973
|
-
"com.palantir.foo",
|
|
4974
|
-
],
|
|
4975
|
-
"typeGroups": [],
|
|
5023
|
+
"submitButtonDisplayMetadata": {
|
|
5024
|
+
"intent": "DANGER",
|
|
5025
|
+
"text": "Custom button",
|
|
4976
5026
|
},
|
|
4977
|
-
"
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
5027
|
+
"successMessage": [
|
|
5028
|
+
{
|
|
5029
|
+
"message": "Custom success message",
|
|
5030
|
+
"type": "message",
|
|
5031
|
+
},
|
|
4982
5032
|
],
|
|
4983
|
-
"
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
5033
|
+
"typeClasses": [],
|
|
5034
|
+
"undoButtonConfiguration": true,
|
|
5035
|
+
},
|
|
5036
|
+
"entities": {
|
|
5037
|
+
"affectedInterfaceTypes": [],
|
|
5038
|
+
"affectedLinkTypes": [],
|
|
5039
|
+
"affectedObjectTypes": [
|
|
5040
|
+
"com.palantir.foo",
|
|
5041
|
+
],
|
|
5042
|
+
"typeGroups": [],
|
|
5043
|
+
},
|
|
5044
|
+
"formContentOrdering": [],
|
|
5045
|
+
"parameterOrdering": [
|
|
5046
|
+
"objectToCreateOrModifyParameter",
|
|
5047
|
+
"bar",
|
|
5048
|
+
"fizz",
|
|
5049
|
+
],
|
|
5050
|
+
"parameters": {
|
|
5051
|
+
"bar": {
|
|
5052
|
+
"displayMetadata": {
|
|
5053
|
+
"description": "",
|
|
5054
|
+
"displayName": "Bar",
|
|
5055
|
+
"typeClasses": [],
|
|
4995
5056
|
},
|
|
4996
|
-
"
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
"typeClasses": [],
|
|
5001
|
-
},
|
|
5002
|
-
"id": "fizz",
|
|
5003
|
-
"type": {
|
|
5004
|
-
"string": {},
|
|
5005
|
-
"type": "string",
|
|
5006
|
-
},
|
|
5057
|
+
"id": "bar",
|
|
5058
|
+
"type": {
|
|
5059
|
+
"string": {},
|
|
5060
|
+
"type": "string",
|
|
5007
5061
|
},
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5062
|
+
},
|
|
5063
|
+
"fizz": {
|
|
5064
|
+
"displayMetadata": {
|
|
5065
|
+
"description": "fizz_description",
|
|
5066
|
+
"displayName": "fizz_display",
|
|
5067
|
+
"typeClasses": [],
|
|
5068
|
+
},
|
|
5069
|
+
"id": "fizz",
|
|
5070
|
+
"type": {
|
|
5071
|
+
"string": {},
|
|
5072
|
+
"type": "string",
|
|
5073
|
+
},
|
|
5074
|
+
},
|
|
5075
|
+
"objectToCreateOrModifyParameter": {
|
|
5076
|
+
"displayMetadata": {
|
|
5077
|
+
"description": "",
|
|
5078
|
+
"displayName": "Create or modify object",
|
|
5079
|
+
"typeClasses": [],
|
|
5080
|
+
},
|
|
5081
|
+
"id": "objectToCreateOrModifyParameter",
|
|
5082
|
+
"type": {
|
|
5083
|
+
"objectReference": {
|
|
5084
|
+
"maybeCreateObjectOption": {
|
|
5085
|
+
"type": "userInput",
|
|
5086
|
+
"userInput": {},
|
|
5022
5087
|
},
|
|
5023
|
-
"
|
|
5088
|
+
"objectTypeId": "com.palantir.foo",
|
|
5024
5089
|
},
|
|
5090
|
+
"type": "objectReference",
|
|
5025
5091
|
},
|
|
5026
5092
|
},
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5093
|
+
},
|
|
5094
|
+
"sections": {},
|
|
5095
|
+
"status": {
|
|
5096
|
+
"active": {},
|
|
5097
|
+
"type": "active",
|
|
5032
5098
|
},
|
|
5033
5099
|
},
|
|
5034
5100
|
},
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5101
|
+
},
|
|
5102
|
+
"com.palantir.modify-object-foo": {
|
|
5103
|
+
"actionType": {
|
|
5104
|
+
"actionTypeLogic": {
|
|
5105
|
+
"logic": {
|
|
5106
|
+
"rules": [
|
|
5107
|
+
{
|
|
5108
|
+
"modifyObjectRule": {
|
|
5109
|
+
"objectToModify": "objectToModifyParameter",
|
|
5110
|
+
"propertyValues": {
|
|
5111
|
+
"bar": {
|
|
5112
|
+
"parameterId": "bar",
|
|
5113
|
+
"type": "parameterId",
|
|
5114
|
+
},
|
|
5115
|
+
"fizz": {
|
|
5116
|
+
"parameterId": "fizz",
|
|
5117
|
+
"type": "parameterId",
|
|
5052
5118
|
},
|
|
5053
|
-
"structFieldValues": {},
|
|
5054
5119
|
},
|
|
5055
|
-
"
|
|
5120
|
+
"structFieldValues": {},
|
|
5056
5121
|
},
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
},
|
|
5072
|
-
"
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
},
|
|
5122
|
+
"type": "modifyObjectRule",
|
|
5123
|
+
},
|
|
5124
|
+
],
|
|
5125
|
+
},
|
|
5126
|
+
"validation": {
|
|
5127
|
+
"actionTypeLevelValidation": {
|
|
5128
|
+
"rules": {
|
|
5129
|
+
"0": {
|
|
5130
|
+
"condition": {
|
|
5131
|
+
"comparison": {
|
|
5132
|
+
"left": {
|
|
5133
|
+
"type": "userProperty",
|
|
5134
|
+
"userProperty": {
|
|
5135
|
+
"propertyValue": {
|
|
5136
|
+
"groupIds": {},
|
|
5137
|
+
"type": "groupIds",
|
|
5138
|
+
},
|
|
5139
|
+
"userId": {
|
|
5140
|
+
"currentUser": {},
|
|
5141
|
+
"type": "currentUser",
|
|
5076
5142
|
},
|
|
5077
5143
|
},
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
"type": "stringList",
|
|
5144
|
+
},
|
|
5145
|
+
"operator": "INTERSECTS",
|
|
5146
|
+
"right": {
|
|
5147
|
+
"staticValue": {
|
|
5148
|
+
"stringList": {
|
|
5149
|
+
"strings": [
|
|
5150
|
+
"actionLevelGroup",
|
|
5151
|
+
],
|
|
5087
5152
|
},
|
|
5088
|
-
"type": "
|
|
5153
|
+
"type": "stringList",
|
|
5089
5154
|
},
|
|
5155
|
+
"type": "staticValue",
|
|
5090
5156
|
},
|
|
5091
|
-
"type": "comparison",
|
|
5092
|
-
},
|
|
5093
|
-
"displayMetadata": {
|
|
5094
|
-
"failureMessage": "Did not satisfy validation",
|
|
5095
|
-
"typeClasses": [],
|
|
5096
5157
|
},
|
|
5158
|
+
"type": "comparison",
|
|
5097
5159
|
},
|
|
5098
|
-
"
|
|
5099
|
-
"
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5160
|
+
"displayMetadata": {
|
|
5161
|
+
"failureMessage": "Did not satisfy validation",
|
|
5162
|
+
"typeClasses": [],
|
|
5163
|
+
},
|
|
5164
|
+
},
|
|
5165
|
+
"1": {
|
|
5166
|
+
"condition": {
|
|
5167
|
+
"comparison": {
|
|
5168
|
+
"left": {
|
|
5169
|
+
"type": "userProperty",
|
|
5170
|
+
"userProperty": {
|
|
5171
|
+
"propertyValue": {
|
|
5172
|
+
"groupIds": {},
|
|
5173
|
+
"type": "groupIds",
|
|
5174
|
+
},
|
|
5175
|
+
"userId": {
|
|
5176
|
+
"currentUser": {},
|
|
5177
|
+
"type": "currentUser",
|
|
5112
5178
|
},
|
|
5113
5179
|
},
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
"type": "stringList",
|
|
5180
|
+
},
|
|
5181
|
+
"operator": "INTERSECTS",
|
|
5182
|
+
"right": {
|
|
5183
|
+
"staticValue": {
|
|
5184
|
+
"stringList": {
|
|
5185
|
+
"strings": [
|
|
5186
|
+
"actionLevelGroup2",
|
|
5187
|
+
],
|
|
5123
5188
|
},
|
|
5124
|
-
"type": "
|
|
5189
|
+
"type": "stringList",
|
|
5125
5190
|
},
|
|
5191
|
+
"type": "staticValue",
|
|
5126
5192
|
},
|
|
5127
|
-
"type": "comparison",
|
|
5128
|
-
},
|
|
5129
|
-
"displayMetadata": {
|
|
5130
|
-
"failureMessage": "Different custom failure message",
|
|
5131
|
-
"typeClasses": [],
|
|
5132
5193
|
},
|
|
5194
|
+
"type": "comparison",
|
|
5195
|
+
},
|
|
5196
|
+
"displayMetadata": {
|
|
5197
|
+
"failureMessage": "Different custom failure message",
|
|
5198
|
+
"typeClasses": [],
|
|
5133
5199
|
},
|
|
5134
5200
|
},
|
|
5135
5201
|
},
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
"type": "objectParameterPropertyValue",
|
|
5147
|
-
},
|
|
5148
|
-
"renderHint": {
|
|
5149
|
-
"textInput": {},
|
|
5150
|
-
"type": "textInput",
|
|
5151
|
-
},
|
|
5152
|
-
"visibility": {
|
|
5153
|
-
"editable": {},
|
|
5154
|
-
"type": "editable",
|
|
5202
|
+
},
|
|
5203
|
+
"parameterValidations": {
|
|
5204
|
+
"bar": {
|
|
5205
|
+
"conditionalOverrides": [],
|
|
5206
|
+
"defaultValidation": {
|
|
5207
|
+
"display": {
|
|
5208
|
+
"prefill": {
|
|
5209
|
+
"objectParameterPropertyValue": {
|
|
5210
|
+
"parameterId": "objectToModifyParameter",
|
|
5211
|
+
"propertyTypeId": "bar",
|
|
5155
5212
|
},
|
|
5213
|
+
"type": "objectParameterPropertyValue",
|
|
5156
5214
|
},
|
|
5157
|
-
"
|
|
5158
|
-
"
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5215
|
+
"renderHint": {
|
|
5216
|
+
"textInput": {},
|
|
5217
|
+
"type": "textInput",
|
|
5218
|
+
},
|
|
5219
|
+
"visibility": {
|
|
5220
|
+
"editable": {},
|
|
5221
|
+
"type": "editable",
|
|
5222
|
+
},
|
|
5223
|
+
},
|
|
5224
|
+
"validation": {
|
|
5225
|
+
"allowedValues": {
|
|
5226
|
+
"text": {
|
|
5227
|
+
"text": {},
|
|
5163
5228
|
"type": "text",
|
|
5164
5229
|
},
|
|
5165
|
-
"
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
},
|
|
5230
|
+
"type": "text",
|
|
5231
|
+
},
|
|
5232
|
+
"required": {
|
|
5233
|
+
"notRequired": {},
|
|
5234
|
+
"type": "notRequired",
|
|
5169
5235
|
},
|
|
5170
5236
|
},
|
|
5171
5237
|
},
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
"userId": {
|
|
5188
|
-
"currentUser": {},
|
|
5189
|
-
"type": "currentUser",
|
|
5190
|
-
},
|
|
5238
|
+
},
|
|
5239
|
+
"fizz": {
|
|
5240
|
+
"conditionalOverrides": [
|
|
5241
|
+
{
|
|
5242
|
+
"condition": {
|
|
5243
|
+
"and": {
|
|
5244
|
+
"conditions": [
|
|
5245
|
+
{
|
|
5246
|
+
"comparison": {
|
|
5247
|
+
"left": {
|
|
5248
|
+
"type": "userProperty",
|
|
5249
|
+
"userProperty": {
|
|
5250
|
+
"propertyValue": {
|
|
5251
|
+
"groupIds": {},
|
|
5252
|
+
"type": "groupIds",
|
|
5191
5253
|
},
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
"staticValue": {
|
|
5196
|
-
"stringList": {
|
|
5197
|
-
"strings": [
|
|
5198
|
-
"parameterLevelGroup",
|
|
5199
|
-
],
|
|
5200
|
-
},
|
|
5201
|
-
"type": "stringList",
|
|
5254
|
+
"userId": {
|
|
5255
|
+
"currentUser": {},
|
|
5256
|
+
"type": "currentUser",
|
|
5202
5257
|
},
|
|
5203
|
-
"type": "staticValue",
|
|
5204
5258
|
},
|
|
5205
5259
|
},
|
|
5206
|
-
"
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
},
|
|
5214
|
-
"operator": "EQUALS",
|
|
5215
|
-
"right": {
|
|
5216
|
-
"staticValue": {
|
|
5217
|
-
"string": "bar",
|
|
5218
|
-
"type": "string",
|
|
5260
|
+
"operator": "INTERSECTS",
|
|
5261
|
+
"right": {
|
|
5262
|
+
"staticValue": {
|
|
5263
|
+
"stringList": {
|
|
5264
|
+
"strings": [
|
|
5265
|
+
"parameterLevelGroup",
|
|
5266
|
+
],
|
|
5219
5267
|
},
|
|
5220
|
-
"type": "
|
|
5268
|
+
"type": "stringList",
|
|
5221
5269
|
},
|
|
5270
|
+
"type": "staticValue",
|
|
5222
5271
|
},
|
|
5223
|
-
"type": "comparison",
|
|
5224
5272
|
},
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
"
|
|
5234
|
-
"
|
|
5273
|
+
"type": "comparison",
|
|
5274
|
+
},
|
|
5275
|
+
{
|
|
5276
|
+
"comparison": {
|
|
5277
|
+
"left": {
|
|
5278
|
+
"parameterId": "bar",
|
|
5279
|
+
"type": "parameterId",
|
|
5280
|
+
},
|
|
5281
|
+
"operator": "EQUALS",
|
|
5282
|
+
"right": {
|
|
5283
|
+
"staticValue": {
|
|
5284
|
+
"string": "bar",
|
|
5285
|
+
"type": "string",
|
|
5286
|
+
},
|
|
5287
|
+
"type": "staticValue",
|
|
5288
|
+
},
|
|
5235
5289
|
},
|
|
5290
|
+
"type": "comparison",
|
|
5236
5291
|
},
|
|
5237
|
-
|
|
5238
|
-
},
|
|
5239
|
-
],
|
|
5240
|
-
},
|
|
5241
|
-
],
|
|
5242
|
-
"defaultValidation": {
|
|
5243
|
-
"display": {
|
|
5244
|
-
"prefill": {
|
|
5245
|
-
"staticValue": {
|
|
5246
|
-
"string": "default_fizz",
|
|
5247
|
-
"type": "string",
|
|
5248
|
-
},
|
|
5249
|
-
"type": "staticValue",
|
|
5250
|
-
},
|
|
5251
|
-
"renderHint": {
|
|
5252
|
-
"textInput": {},
|
|
5253
|
-
"type": "textInput",
|
|
5254
|
-
},
|
|
5255
|
-
"visibility": {
|
|
5256
|
-
"editable": {},
|
|
5257
|
-
"type": "editable",
|
|
5292
|
+
],
|
|
5258
5293
|
},
|
|
5294
|
+
"type": "and",
|
|
5259
5295
|
},
|
|
5260
|
-
"
|
|
5261
|
-
|
|
5262
|
-
"
|
|
5263
|
-
"
|
|
5264
|
-
|
|
5296
|
+
"parameterBlockOverrides": [
|
|
5297
|
+
{
|
|
5298
|
+
"parameterRequired": {
|
|
5299
|
+
"required": {
|
|
5300
|
+
"required": {},
|
|
5301
|
+
"type": "required",
|
|
5302
|
+
},
|
|
5265
5303
|
},
|
|
5266
|
-
"type": "
|
|
5304
|
+
"type": "parameterRequired",
|
|
5267
5305
|
},
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5306
|
+
],
|
|
5307
|
+
},
|
|
5308
|
+
],
|
|
5309
|
+
"defaultValidation": {
|
|
5310
|
+
"display": {
|
|
5311
|
+
"prefill": {
|
|
5312
|
+
"staticValue": {
|
|
5313
|
+
"string": "default_fizz",
|
|
5314
|
+
"type": "string",
|
|
5271
5315
|
},
|
|
5316
|
+
"type": "staticValue",
|
|
5272
5317
|
},
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
"
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
"
|
|
5318
|
+
"renderHint": {
|
|
5319
|
+
"textInput": {},
|
|
5320
|
+
"type": "textInput",
|
|
5321
|
+
},
|
|
5322
|
+
"visibility": {
|
|
5323
|
+
"editable": {},
|
|
5324
|
+
"type": "editable",
|
|
5325
|
+
},
|
|
5326
|
+
},
|
|
5327
|
+
"validation": {
|
|
5328
|
+
"allowedValues": {
|
|
5329
|
+
"text": {
|
|
5330
|
+
"text": {},
|
|
5331
|
+
"type": "text",
|
|
5286
5332
|
},
|
|
5333
|
+
"type": "text",
|
|
5287
5334
|
},
|
|
5288
|
-
"
|
|
5289
|
-
"
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5335
|
+
"required": {
|
|
5336
|
+
"notRequired": {},
|
|
5337
|
+
"type": "notRequired",
|
|
5338
|
+
},
|
|
5339
|
+
},
|
|
5340
|
+
},
|
|
5341
|
+
},
|
|
5342
|
+
"objectToModifyParameter": {
|
|
5343
|
+
"conditionalOverrides": [],
|
|
5344
|
+
"defaultValidation": {
|
|
5345
|
+
"display": {
|
|
5346
|
+
"renderHint": {
|
|
5347
|
+
"dropdown": {},
|
|
5348
|
+
"type": "dropdown",
|
|
5349
|
+
},
|
|
5350
|
+
"visibility": {
|
|
5351
|
+
"editable": {},
|
|
5352
|
+
"type": "editable",
|
|
5353
|
+
},
|
|
5354
|
+
},
|
|
5355
|
+
"validation": {
|
|
5356
|
+
"allowedValues": {
|
|
5357
|
+
"objectQuery": {
|
|
5358
|
+
"objectQuery": {},
|
|
5294
5359
|
"type": "objectQuery",
|
|
5295
5360
|
},
|
|
5296
|
-
"
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
},
|
|
5361
|
+
"type": "objectQuery",
|
|
5362
|
+
},
|
|
5363
|
+
"required": {
|
|
5364
|
+
"required": {},
|
|
5365
|
+
"type": "required",
|
|
5300
5366
|
},
|
|
5301
5367
|
},
|
|
5302
5368
|
},
|
|
5303
5369
|
},
|
|
5304
|
-
"sectionValidations": {},
|
|
5305
5370
|
},
|
|
5371
|
+
"sectionValidations": {},
|
|
5306
5372
|
},
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
},
|
|
5321
|
-
"enableLayoutUserSwitch": true,
|
|
5322
|
-
},
|
|
5323
|
-
"description": "",
|
|
5324
|
-
"displayName": "Modify exampleObjectType",
|
|
5325
|
-
"icon": {
|
|
5326
|
-
"blueprint": {
|
|
5327
|
-
"color": "#000000",
|
|
5328
|
-
"locator": "edit",
|
|
5373
|
+
},
|
|
5374
|
+
"metadata": {
|
|
5375
|
+
"apiName": "com.palantir.modify-object-foo",
|
|
5376
|
+
"displayMetadata": {
|
|
5377
|
+
"configuration": {
|
|
5378
|
+
"defaultLayout": "TABLE",
|
|
5379
|
+
"displayAndFormat": {
|
|
5380
|
+
"table": {
|
|
5381
|
+
"columnWidthByParameterRid": {},
|
|
5382
|
+
"enableFileImport": false,
|
|
5383
|
+
"fitHorizontally": true,
|
|
5384
|
+
"frozenColumnCount": 1,
|
|
5385
|
+
"rowHeightInLines": 10,
|
|
5329
5386
|
},
|
|
5330
|
-
"type": "blueprint",
|
|
5331
5387
|
},
|
|
5332
|
-
"
|
|
5333
|
-
|
|
5334
|
-
|
|
5388
|
+
"enableLayoutUserSwitch": true,
|
|
5389
|
+
},
|
|
5390
|
+
"description": "",
|
|
5391
|
+
"displayName": "Modify exampleObjectType",
|
|
5392
|
+
"icon": {
|
|
5393
|
+
"blueprint": {
|
|
5394
|
+
"color": "#000000",
|
|
5395
|
+
"locator": "edit",
|
|
5335
5396
|
},
|
|
5336
|
-
"
|
|
5337
|
-
{
|
|
5338
|
-
"message": "Custom success message",
|
|
5339
|
-
"type": "message",
|
|
5340
|
-
},
|
|
5341
|
-
],
|
|
5342
|
-
"typeClasses": [],
|
|
5343
|
-
"undoButtonConfiguration": true,
|
|
5397
|
+
"type": "blueprint",
|
|
5344
5398
|
},
|
|
5345
|
-
"
|
|
5346
|
-
"
|
|
5347
|
-
"
|
|
5348
|
-
"affectedObjectTypes": [
|
|
5349
|
-
"com.palantir.foo",
|
|
5350
|
-
],
|
|
5351
|
-
"typeGroups": [],
|
|
5399
|
+
"submitButtonDisplayMetadata": {
|
|
5400
|
+
"intent": "DANGER",
|
|
5401
|
+
"text": "Custom button",
|
|
5352
5402
|
},
|
|
5353
|
-
"
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5403
|
+
"successMessage": [
|
|
5404
|
+
{
|
|
5405
|
+
"message": "Custom success message",
|
|
5406
|
+
"type": "message",
|
|
5407
|
+
},
|
|
5358
5408
|
],
|
|
5359
|
-
"
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5409
|
+
"typeClasses": [],
|
|
5410
|
+
"undoButtonConfiguration": true,
|
|
5411
|
+
},
|
|
5412
|
+
"entities": {
|
|
5413
|
+
"affectedInterfaceTypes": [],
|
|
5414
|
+
"affectedLinkTypes": [],
|
|
5415
|
+
"affectedObjectTypes": [
|
|
5416
|
+
"com.palantir.foo",
|
|
5417
|
+
],
|
|
5418
|
+
"typeGroups": [],
|
|
5419
|
+
},
|
|
5420
|
+
"formContentOrdering": [],
|
|
5421
|
+
"parameterOrdering": [
|
|
5422
|
+
"objectToModifyParameter",
|
|
5423
|
+
"bar",
|
|
5424
|
+
"fizz",
|
|
5425
|
+
],
|
|
5426
|
+
"parameters": {
|
|
5427
|
+
"bar": {
|
|
5428
|
+
"displayMetadata": {
|
|
5429
|
+
"description": "",
|
|
5430
|
+
"displayName": "Bar",
|
|
5431
|
+
"typeClasses": [],
|
|
5371
5432
|
},
|
|
5372
|
-
"
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
"typeClasses": [],
|
|
5377
|
-
},
|
|
5378
|
-
"id": "fizz",
|
|
5379
|
-
"type": {
|
|
5380
|
-
"string": {},
|
|
5381
|
-
"type": "string",
|
|
5382
|
-
},
|
|
5433
|
+
"id": "bar",
|
|
5434
|
+
"type": {
|
|
5435
|
+
"string": {},
|
|
5436
|
+
"type": "string",
|
|
5383
5437
|
},
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
"type": "objectReference",
|
|
5396
|
-
},
|
|
5438
|
+
},
|
|
5439
|
+
"fizz": {
|
|
5440
|
+
"displayMetadata": {
|
|
5441
|
+
"description": "fizz_description",
|
|
5442
|
+
"displayName": "fizz_display",
|
|
5443
|
+
"typeClasses": [],
|
|
5444
|
+
},
|
|
5445
|
+
"id": "fizz",
|
|
5446
|
+
"type": {
|
|
5447
|
+
"string": {},
|
|
5448
|
+
"type": "string",
|
|
5397
5449
|
},
|
|
5398
5450
|
},
|
|
5399
|
-
"
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5451
|
+
"objectToModifyParameter": {
|
|
5452
|
+
"displayMetadata": {
|
|
5453
|
+
"description": "",
|
|
5454
|
+
"displayName": "Modify object",
|
|
5455
|
+
"typeClasses": [],
|
|
5456
|
+
},
|
|
5457
|
+
"id": "objectToModifyParameter",
|
|
5458
|
+
"type": {
|
|
5459
|
+
"objectReference": {
|
|
5460
|
+
"objectTypeId": "com.palantir.foo",
|
|
5461
|
+
},
|
|
5462
|
+
"type": "objectReference",
|
|
5463
|
+
},
|
|
5403
5464
|
},
|
|
5404
5465
|
},
|
|
5466
|
+
"sections": {},
|
|
5467
|
+
"status": {
|
|
5468
|
+
"active": {},
|
|
5469
|
+
"type": "active",
|
|
5470
|
+
},
|
|
5405
5471
|
},
|
|
5406
5472
|
},
|
|
5407
5473
|
},
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5474
|
+
},
|
|
5475
|
+
"blockPermissionInformation": {
|
|
5476
|
+
"actionTypes": {
|
|
5477
|
+
"com.palantir.create-object-foo": {
|
|
5478
|
+
"restrictionStatus": {
|
|
5479
|
+
"hasRolesApplied": true,
|
|
5480
|
+
"ontologyPackageRid": null,
|
|
5481
|
+
"publicProject": false,
|
|
5416
5482
|
},
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5483
|
+
},
|
|
5484
|
+
"com.palantir.create-or-modify-foo": {
|
|
5485
|
+
"restrictionStatus": {
|
|
5486
|
+
"hasRolesApplied": true,
|
|
5487
|
+
"ontologyPackageRid": null,
|
|
5488
|
+
"publicProject": false,
|
|
5423
5489
|
},
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5490
|
+
},
|
|
5491
|
+
"com.palantir.modify-object-foo": {
|
|
5492
|
+
"restrictionStatus": {
|
|
5493
|
+
"hasRolesApplied": true,
|
|
5494
|
+
"ontologyPackageRid": null,
|
|
5495
|
+
"publicProject": false,
|
|
5430
5496
|
},
|
|
5431
5497
|
},
|
|
5432
|
-
"linkTypes": {},
|
|
5433
|
-
"objectTypes": {},
|
|
5434
5498
|
},
|
|
5435
|
-
"interfaceTypes": {},
|
|
5436
5499
|
"linkTypes": {},
|
|
5437
|
-
"objectTypes": {
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5500
|
+
"objectTypes": {},
|
|
5501
|
+
},
|
|
5502
|
+
"interfaceTypes": {},
|
|
5503
|
+
"linkTypes": {},
|
|
5504
|
+
"objectTypes": {
|
|
5505
|
+
"com.palantir.foo": {
|
|
5506
|
+
"datasources": [
|
|
5507
|
+
{
|
|
5508
|
+
"datasource": {
|
|
5509
|
+
"datasetV2": {
|
|
5510
|
+
"datasetRid": "com.palantir.foo",
|
|
5511
|
+
"propertyMapping": {
|
|
5512
|
+
"bar": {
|
|
5513
|
+
"column": "bar",
|
|
5514
|
+
"type": "column",
|
|
5515
|
+
},
|
|
5516
|
+
"buzz": {
|
|
5517
|
+
"column": "buzz",
|
|
5518
|
+
"type": "column",
|
|
5519
|
+
},
|
|
5520
|
+
"fizz": {
|
|
5521
|
+
"column": "fizz",
|
|
5522
|
+
"type": "column",
|
|
5523
|
+
},
|
|
5524
|
+
"primary": {
|
|
5525
|
+
"column": "primary",
|
|
5526
|
+
"type": "column",
|
|
5461
5527
|
},
|
|
5462
5528
|
},
|
|
5463
|
-
"type": "datasetV2",
|
|
5464
|
-
},
|
|
5465
|
-
"datasourceName": "com.palantir.foo",
|
|
5466
|
-
"editsConfiguration": {
|
|
5467
|
-
"onlyAllowPrivilegedEdits": false,
|
|
5468
5529
|
},
|
|
5469
|
-
"
|
|
5530
|
+
"type": "datasetV2",
|
|
5470
5531
|
},
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5532
|
+
"datasourceName": "com.palantir.foo",
|
|
5533
|
+
"editsConfiguration": {
|
|
5534
|
+
"onlyAllowPrivilegedEdits": false,
|
|
5535
|
+
},
|
|
5536
|
+
"redacted": false,
|
|
5474
5537
|
},
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5538
|
+
],
|
|
5539
|
+
"entityMetadata": {
|
|
5540
|
+
"arePatchesEnabled": false,
|
|
5541
|
+
},
|
|
5542
|
+
"objectType": {
|
|
5543
|
+
"allImplementsInterfaces": {},
|
|
5544
|
+
"apiName": "com.palantir.foo",
|
|
5545
|
+
"displayMetadata": {
|
|
5546
|
+
"description": undefined,
|
|
5547
|
+
"displayName": "exampleObjectType",
|
|
5548
|
+
"groupDisplayName": undefined,
|
|
5549
|
+
"icon": {
|
|
5550
|
+
"blueprint": {
|
|
5551
|
+
"color": "#2D72D2",
|
|
5552
|
+
"locator": "cube",
|
|
5488
5553
|
},
|
|
5489
|
-
"
|
|
5490
|
-
"visibility": "NORMAL",
|
|
5554
|
+
"type": "blueprint",
|
|
5491
5555
|
},
|
|
5492
|
-
"
|
|
5493
|
-
"
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5556
|
+
"pluralDisplayName": "exampleObjectTypes",
|
|
5557
|
+
"visibility": "NORMAL",
|
|
5558
|
+
},
|
|
5559
|
+
"implementsInterfaces2": [],
|
|
5560
|
+
"primaryKeys": [
|
|
5561
|
+
"primary",
|
|
5562
|
+
],
|
|
5563
|
+
"propertyTypes": {
|
|
5564
|
+
"bar": {
|
|
5565
|
+
"apiName": "bar",
|
|
5566
|
+
"baseFormatter": undefined,
|
|
5567
|
+
"dataConstraints": undefined,
|
|
5568
|
+
"displayMetadata": {
|
|
5569
|
+
"description": undefined,
|
|
5570
|
+
"displayName": "Bar",
|
|
5571
|
+
"visibility": "NORMAL",
|
|
5572
|
+
},
|
|
5573
|
+
"indexedForSearch": true,
|
|
5574
|
+
"inlineAction": undefined,
|
|
5575
|
+
"ruleSetBinding": undefined,
|
|
5576
|
+
"sharedPropertyTypeApiName": undefined,
|
|
5577
|
+
"sharedPropertyTypeRid": undefined,
|
|
5578
|
+
"status": {
|
|
5579
|
+
"active": {},
|
|
5580
|
+
"type": "active",
|
|
5581
|
+
},
|
|
5582
|
+
"type": {
|
|
5583
|
+
"string": {
|
|
5584
|
+
"analyzerOverride": undefined,
|
|
5585
|
+
"enableAsciiFolding": undefined,
|
|
5586
|
+
"isLongText": false,
|
|
5587
|
+
"supportsEfficientLeadingWildcard": false,
|
|
5588
|
+
"supportsExactMatching": true,
|
|
5505
5589
|
},
|
|
5506
|
-
"
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
"active": {},
|
|
5513
|
-
"type": "active",
|
|
5590
|
+
"type": "string",
|
|
5591
|
+
},
|
|
5592
|
+
"typeClasses": [
|
|
5593
|
+
{
|
|
5594
|
+
"kind": "render_hint",
|
|
5595
|
+
"name": "SELECTABLE",
|
|
5514
5596
|
},
|
|
5515
|
-
|
|
5516
|
-
"
|
|
5517
|
-
|
|
5518
|
-
"enableAsciiFolding": undefined,
|
|
5519
|
-
"isLongText": false,
|
|
5520
|
-
"supportsEfficientLeadingWildcard": false,
|
|
5521
|
-
"supportsExactMatching": true,
|
|
5522
|
-
},
|
|
5523
|
-
"type": "string",
|
|
5597
|
+
{
|
|
5598
|
+
"kind": "render_hint",
|
|
5599
|
+
"name": "SORTABLE",
|
|
5524
5600
|
},
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
"
|
|
5601
|
+
],
|
|
5602
|
+
"valueType": undefined,
|
|
5603
|
+
},
|
|
5604
|
+
"buzz": {
|
|
5605
|
+
"apiName": "buzz",
|
|
5606
|
+
"baseFormatter": undefined,
|
|
5607
|
+
"dataConstraints": undefined,
|
|
5608
|
+
"displayMetadata": {
|
|
5609
|
+
"description": undefined,
|
|
5610
|
+
"displayName": "Buzz",
|
|
5611
|
+
"visibility": "NORMAL",
|
|
5612
|
+
},
|
|
5613
|
+
"indexedForSearch": true,
|
|
5614
|
+
"inlineAction": undefined,
|
|
5615
|
+
"ruleSetBinding": undefined,
|
|
5616
|
+
"sharedPropertyTypeApiName": undefined,
|
|
5617
|
+
"sharedPropertyTypeRid": undefined,
|
|
5618
|
+
"status": {
|
|
5619
|
+
"active": {},
|
|
5620
|
+
"type": "active",
|
|
5536
5621
|
},
|
|
5537
|
-
"
|
|
5538
|
-
"
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
"
|
|
5543
|
-
"
|
|
5544
|
-
"visibility": "NORMAL",
|
|
5622
|
+
"type": {
|
|
5623
|
+
"string": {
|
|
5624
|
+
"analyzerOverride": undefined,
|
|
5625
|
+
"enableAsciiFolding": undefined,
|
|
5626
|
+
"isLongText": false,
|
|
5627
|
+
"supportsEfficientLeadingWildcard": false,
|
|
5628
|
+
"supportsExactMatching": true,
|
|
5545
5629
|
},
|
|
5546
|
-
"
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
"active": {},
|
|
5553
|
-
"type": "active",
|
|
5630
|
+
"type": "string",
|
|
5631
|
+
},
|
|
5632
|
+
"typeClasses": [
|
|
5633
|
+
{
|
|
5634
|
+
"kind": "render_hint",
|
|
5635
|
+
"name": "SELECTABLE",
|
|
5554
5636
|
},
|
|
5555
|
-
|
|
5556
|
-
"
|
|
5557
|
-
|
|
5558
|
-
"enableAsciiFolding": undefined,
|
|
5559
|
-
"isLongText": false,
|
|
5560
|
-
"supportsEfficientLeadingWildcard": false,
|
|
5561
|
-
"supportsExactMatching": true,
|
|
5562
|
-
},
|
|
5563
|
-
"type": "string",
|
|
5637
|
+
{
|
|
5638
|
+
"kind": "render_hint",
|
|
5639
|
+
"name": "SORTABLE",
|
|
5564
5640
|
},
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
"
|
|
5641
|
+
],
|
|
5642
|
+
"valueType": undefined,
|
|
5643
|
+
},
|
|
5644
|
+
"fizz": {
|
|
5645
|
+
"apiName": "fizz",
|
|
5646
|
+
"baseFormatter": undefined,
|
|
5647
|
+
"dataConstraints": undefined,
|
|
5648
|
+
"displayMetadata": {
|
|
5649
|
+
"description": undefined,
|
|
5650
|
+
"displayName": "Fizz",
|
|
5651
|
+
"visibility": "NORMAL",
|
|
5652
|
+
},
|
|
5653
|
+
"indexedForSearch": true,
|
|
5654
|
+
"inlineAction": undefined,
|
|
5655
|
+
"ruleSetBinding": undefined,
|
|
5656
|
+
"sharedPropertyTypeApiName": undefined,
|
|
5657
|
+
"sharedPropertyTypeRid": undefined,
|
|
5658
|
+
"status": {
|
|
5659
|
+
"active": {},
|
|
5660
|
+
"type": "active",
|
|
5576
5661
|
},
|
|
5577
|
-
"
|
|
5578
|
-
"
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
"
|
|
5583
|
-
"
|
|
5584
|
-
"visibility": "NORMAL",
|
|
5662
|
+
"type": {
|
|
5663
|
+
"string": {
|
|
5664
|
+
"analyzerOverride": undefined,
|
|
5665
|
+
"enableAsciiFolding": undefined,
|
|
5666
|
+
"isLongText": false,
|
|
5667
|
+
"supportsEfficientLeadingWildcard": false,
|
|
5668
|
+
"supportsExactMatching": true,
|
|
5585
5669
|
},
|
|
5586
|
-
"
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
"active": {},
|
|
5593
|
-
"type": "active",
|
|
5670
|
+
"type": "string",
|
|
5671
|
+
},
|
|
5672
|
+
"typeClasses": [
|
|
5673
|
+
{
|
|
5674
|
+
"kind": "render_hint",
|
|
5675
|
+
"name": "SELECTABLE",
|
|
5594
5676
|
},
|
|
5595
|
-
|
|
5596
|
-
"
|
|
5597
|
-
|
|
5598
|
-
"enableAsciiFolding": undefined,
|
|
5599
|
-
"isLongText": false,
|
|
5600
|
-
"supportsEfficientLeadingWildcard": false,
|
|
5601
|
-
"supportsExactMatching": true,
|
|
5602
|
-
},
|
|
5603
|
-
"type": "string",
|
|
5677
|
+
{
|
|
5678
|
+
"kind": "render_hint",
|
|
5679
|
+
"name": "SORTABLE",
|
|
5604
5680
|
},
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
"
|
|
5681
|
+
],
|
|
5682
|
+
"valueType": undefined,
|
|
5683
|
+
},
|
|
5684
|
+
"primary": {
|
|
5685
|
+
"apiName": "primary",
|
|
5686
|
+
"baseFormatter": undefined,
|
|
5687
|
+
"dataConstraints": undefined,
|
|
5688
|
+
"displayMetadata": {
|
|
5689
|
+
"description": undefined,
|
|
5690
|
+
"displayName": "Primary",
|
|
5691
|
+
"visibility": "NORMAL",
|
|
5692
|
+
},
|
|
5693
|
+
"indexedForSearch": true,
|
|
5694
|
+
"inlineAction": undefined,
|
|
5695
|
+
"ruleSetBinding": undefined,
|
|
5696
|
+
"sharedPropertyTypeApiName": undefined,
|
|
5697
|
+
"sharedPropertyTypeRid": undefined,
|
|
5698
|
+
"status": {
|
|
5699
|
+
"active": {},
|
|
5700
|
+
"type": "active",
|
|
5616
5701
|
},
|
|
5617
|
-
"
|
|
5618
|
-
"
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
"
|
|
5623
|
-
"
|
|
5624
|
-
"visibility": "NORMAL",
|
|
5702
|
+
"type": {
|
|
5703
|
+
"string": {
|
|
5704
|
+
"analyzerOverride": undefined,
|
|
5705
|
+
"enableAsciiFolding": undefined,
|
|
5706
|
+
"isLongText": false,
|
|
5707
|
+
"supportsEfficientLeadingWildcard": false,
|
|
5708
|
+
"supportsExactMatching": true,
|
|
5625
5709
|
},
|
|
5626
|
-
"
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
"active": {},
|
|
5633
|
-
"type": "active",
|
|
5710
|
+
"type": "string",
|
|
5711
|
+
},
|
|
5712
|
+
"typeClasses": [
|
|
5713
|
+
{
|
|
5714
|
+
"kind": "render_hint",
|
|
5715
|
+
"name": "SELECTABLE",
|
|
5634
5716
|
},
|
|
5635
|
-
|
|
5636
|
-
"
|
|
5637
|
-
|
|
5638
|
-
"enableAsciiFolding": undefined,
|
|
5639
|
-
"isLongText": false,
|
|
5640
|
-
"supportsEfficientLeadingWildcard": false,
|
|
5641
|
-
"supportsExactMatching": true,
|
|
5642
|
-
},
|
|
5643
|
-
"type": "string",
|
|
5717
|
+
{
|
|
5718
|
+
"kind": "render_hint",
|
|
5719
|
+
"name": "SORTABLE",
|
|
5644
5720
|
},
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
"kind": "render_hint",
|
|
5648
|
-
"name": "SELECTABLE",
|
|
5649
|
-
},
|
|
5650
|
-
{
|
|
5651
|
-
"kind": "render_hint",
|
|
5652
|
-
"name": "SORTABLE",
|
|
5653
|
-
},
|
|
5654
|
-
],
|
|
5655
|
-
"valueType": undefined,
|
|
5656
|
-
},
|
|
5657
|
-
},
|
|
5658
|
-
"redacted": false,
|
|
5659
|
-
"status": {
|
|
5660
|
-
"active": {},
|
|
5661
|
-
"type": "active",
|
|
5721
|
+
],
|
|
5722
|
+
"valueType": undefined,
|
|
5662
5723
|
},
|
|
5663
|
-
"titlePropertyTypeRid": "bar",
|
|
5664
5724
|
},
|
|
5725
|
+
"redacted": false,
|
|
5726
|
+
"status": {
|
|
5727
|
+
"active": {},
|
|
5728
|
+
"type": "active",
|
|
5729
|
+
},
|
|
5730
|
+
"titlePropertyTypeRid": "bar",
|
|
5665
5731
|
},
|
|
5666
5732
|
},
|
|
5667
|
-
"sharedPropertyTypes": {},
|
|
5668
|
-
},
|
|
5669
|
-
"randomnessKey": undefined,
|
|
5670
|
-
"valueTypes": {
|
|
5671
|
-
"valueTypes": [],
|
|
5672
5733
|
},
|
|
5673
|
-
|
|
5674
|
-
|
|
5734
|
+
"sharedPropertyTypes": {},
|
|
5735
|
+
},
|
|
5736
|
+
"randomnessKey": undefined,
|
|
5737
|
+
"valueTypes": {
|
|
5738
|
+
"valueTypes": [],
|
|
5739
|
+
},
|
|
5740
|
+
}
|
|
5741
|
+
`);});it("Non-parameter mapped properties are properly defined",()=>{const exampleObjectType=defineObject({titlePropertyApiName:"bar",displayName:"exampleObjectType",pluralDisplayName:"exampleObjectTypes",apiName:"foo",primaryKeyPropertyApiName:"bar",properties:{"bar":{type:"string"},"fizz":{type:"string"},"buzz":{type:"timestamp"}}});defineCreateObjectAction({objectType:exampleObjectType,nonParameterMappings:{"fizz":{type:"currentUser"},"buzz":{type:"currentTime"}}});defineModifyObjectAction({objectType:exampleObjectType,nonParameterMappings:{"fizz":{type:"currentUser"},"buzz":{type:"currentTime"}}});defineCreateOrModifyObjectAction({objectType:exampleObjectType,nonParameterMappings:{"fizz":{type:"currentUser"},"buzz":{type:"currentTime"}}});const property1=defineSharedPropertyType({apiName:"property1",type:"string"});const property2=defineSharedPropertyType({apiName:"property2",type:"string"});const exampleInterface=defineInterface({apiName:"exampleInterface",properties:{property1,property2}});defineCreateInterfaceObjectAction({interfaceType:exampleInterface,nonParameterMappings:{[property1.apiName]:{type:"currentUser"},[property2.apiName]:{type:"currentTime"}}});defineModifyInterfaceObjectAction({interfaceType:exampleInterface,nonParameterMappings:{[property1.apiName]:{type:"currentUser"},[property2.apiName]:{type:"currentTime"}}});expect(dumpOntologyFullMetadata()).toMatchInlineSnapshot(`
|
|
5675
5742
|
{
|
|
5676
5743
|
"importedOntology": {
|
|
5677
5744
|
"actionTypes": {},
|