@osdk/maker 0.15.0-beta.9 → 0.16.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/README.md +49 -0
  2. package/build/browser/api/defineAction.js +4 -0
  3. package/build/browser/api/defineAction.js.map +1 -1
  4. package/build/browser/api/object/ObjectTypeDatasourceDefinition.js.map +1 -1
  5. package/build/browser/api/object/SecurityCondition.js +2 -0
  6. package/build/browser/api/object/SecurityCondition.js.map +1 -0
  7. package/build/browser/api/properties/PropertyTypeType.js.map +1 -1
  8. package/build/browser/api/propertyConversionUtils.js +5 -1
  9. package/build/browser/api/propertyConversionUtils.js.map +1 -1
  10. package/build/browser/api/test/actions.test.js +52 -0
  11. package/build/browser/api/test/actions.test.js.map +1 -1
  12. package/build/browser/api/test/links.test.js +36 -0
  13. package/build/browser/api/test/links.test.js.map +1 -1
  14. package/build/browser/api/test/misc.test.js +4 -0
  15. package/build/browser/api/test/misc.test.js.map +1 -1
  16. package/build/browser/api/test/objects.test.js +804 -0
  17. package/build/browser/api/test/objects.test.js.map +1 -1
  18. package/build/browser/cli/main.js +1 -1
  19. package/build/browser/conversion/toMarketplace/convertDatasourceDefinition.js +179 -0
  20. package/build/browser/conversion/toMarketplace/convertDatasourceDefinition.js.map +1 -1
  21. package/build/browser/conversion/toMarketplace/convertNullabilityToDataConstraint.js +0 -1
  22. package/build/browser/conversion/toMarketplace/convertNullabilityToDataConstraint.js.map +1 -1
  23. package/build/browser/conversion/toMarketplace/convertObject.js +4 -0
  24. package/build/browser/conversion/toMarketplace/convertObject.js.map +1 -1
  25. package/build/browser/conversion/toMarketplace/convertObjectPropertyType.js +2 -2
  26. package/build/browser/conversion/toMarketplace/convertObjectPropertyType.js.map +1 -1
  27. package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +5 -0
  28. package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -1
  29. package/build/cjs/index.cjs +265 -73
  30. package/build/cjs/index.cjs.map +1 -1
  31. package/build/cjs/index.d.cts +33 -2
  32. package/build/esm/api/defineAction.js +4 -0
  33. package/build/esm/api/defineAction.js.map +1 -1
  34. package/build/esm/api/object/ObjectTypeDatasourceDefinition.js.map +1 -1
  35. package/build/esm/api/object/SecurityCondition.js +2 -0
  36. package/build/esm/api/object/SecurityCondition.js.map +1 -0
  37. package/build/esm/api/properties/PropertyTypeType.js.map +1 -1
  38. package/build/esm/api/propertyConversionUtils.js +5 -1
  39. package/build/esm/api/propertyConversionUtils.js.map +1 -1
  40. package/build/esm/api/test/actions.test.js +52 -0
  41. package/build/esm/api/test/actions.test.js.map +1 -1
  42. package/build/esm/api/test/links.test.js +36 -0
  43. package/build/esm/api/test/links.test.js.map +1 -1
  44. package/build/esm/api/test/misc.test.js +4 -0
  45. package/build/esm/api/test/misc.test.js.map +1 -1
  46. package/build/esm/api/test/objects.test.js +804 -0
  47. package/build/esm/api/test/objects.test.js.map +1 -1
  48. package/build/esm/cli/main.js +1 -1
  49. package/build/esm/conversion/toMarketplace/convertDatasourceDefinition.js +179 -0
  50. package/build/esm/conversion/toMarketplace/convertDatasourceDefinition.js.map +1 -1
  51. package/build/esm/conversion/toMarketplace/convertNullabilityToDataConstraint.js +0 -1
  52. package/build/esm/conversion/toMarketplace/convertNullabilityToDataConstraint.js.map +1 -1
  53. package/build/esm/conversion/toMarketplace/convertObject.js +4 -0
  54. package/build/esm/conversion/toMarketplace/convertObject.js.map +1 -1
  55. package/build/esm/conversion/toMarketplace/convertObjectPropertyType.js +2 -2
  56. package/build/esm/conversion/toMarketplace/convertObjectPropertyType.js.map +1 -1
  57. package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +5 -0
  58. package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -1
  59. package/build/types/api/defineAction.d.ts.map +1 -1
  60. package/build/types/api/object/ObjectTypeDatasourceDefinition.d.ts +15 -1
  61. package/build/types/api/object/ObjectTypeDatasourceDefinition.d.ts.map +1 -1
  62. package/build/types/api/object/SecurityCondition.d.ts +18 -0
  63. package/build/types/api/object/SecurityCondition.d.ts.map +1 -0
  64. package/build/types/api/properties/PropertyTypeType.d.ts +1 -1
  65. package/build/types/api/properties/PropertyTypeType.d.ts.map +1 -1
  66. package/build/types/api/propertyConversionUtils.d.ts +1 -0
  67. package/build/types/api/propertyConversionUtils.d.ts.map +1 -1
  68. package/build/types/conversion/toMarketplace/convertDatasourceDefinition.d.ts.map +1 -1
  69. package/build/types/conversion/toMarketplace/convertObject.d.ts.map +1 -1
  70. package/build/types/conversion/toMarketplace/convertObjectPropertyType.d.ts.map +1 -1
  71. package/package.json +5 -5
@@ -522,6 +522,10 @@ describe("Object Types", () => {
522
522
  },
523
523
  "titlePropertyTypeRid": "bar",
524
524
  },
525
+ "propertySecurityGroupPackagingVersion": {
526
+ "type": "v2",
527
+ "v2": {},
528
+ },
525
529
  },
526
530
  },
527
531
  "sharedPropertyTypes": {
@@ -726,6 +730,10 @@ describe("Object Types", () => {
726
730
  },
727
731
  "titlePropertyTypeRid": "buzz",
728
732
  },
733
+ "propertySecurityGroupPackagingVersion": {
734
+ "type": "v2",
735
+ "v2": {},
736
+ },
729
737
  },
730
738
  "com.palantir.fizz": {
731
739
  "datasources": [
@@ -866,6 +874,10 @@ describe("Object Types", () => {
866
874
  },
867
875
  "titlePropertyTypeRid": "fizz",
868
876
  },
877
+ "propertySecurityGroupPackagingVersion": {
878
+ "type": "v2",
879
+ "v2": {},
880
+ },
869
881
  },
870
882
  "com.palantir.foo": {
871
883
  "datasources": [
@@ -963,6 +975,10 @@ describe("Object Types", () => {
963
975
  },
964
976
  "titlePropertyTypeRid": "bar",
965
977
  },
978
+ "propertySecurityGroupPackagingVersion": {
979
+ "type": "v2",
980
+ "v2": {},
981
+ },
966
982
  },
967
983
  },
968
984
  "sharedPropertyTypes": {},
@@ -1108,6 +1124,10 @@ describe("Object Types", () => {
1108
1124
  },
1109
1125
  "titlePropertyTypeRid": "bar",
1110
1126
  },
1127
+ "propertySecurityGroupPackagingVersion": {
1128
+ "type": "v2",
1129
+ "v2": {},
1130
+ },
1111
1131
  },
1112
1132
  },
1113
1133
  "sharedPropertyTypes": {},
@@ -1303,6 +1323,10 @@ describe("Object Types", () => {
1303
1323
  },
1304
1324
  "titlePropertyTypeRid": "bar",
1305
1325
  },
1326
+ "propertySecurityGroupPackagingVersion": {
1327
+ "type": "v2",
1328
+ "v2": {},
1329
+ },
1306
1330
  },
1307
1331
  },
1308
1332
  "sharedPropertyTypes": {},
@@ -1537,6 +1561,10 @@ describe("Object Types", () => {
1537
1561
  },
1538
1562
  "titlePropertyTypeRid": "bar",
1539
1563
  },
1564
+ "propertySecurityGroupPackagingVersion": {
1565
+ "type": "v2",
1566
+ "v2": {},
1567
+ },
1540
1568
  },
1541
1569
  },
1542
1570
  "sharedPropertyTypes": {},
@@ -2493,6 +2521,10 @@ describe("Object Types", () => {
2493
2521
  },
2494
2522
  "titlePropertyTypeRid": "id",
2495
2523
  },
2524
+ "propertySecurityGroupPackagingVersion": {
2525
+ "type": "v2",
2526
+ "v2": {},
2527
+ },
2496
2528
  },
2497
2529
  "com.palantir.passenger": {
2498
2530
  "datasources": [
@@ -2634,6 +2666,10 @@ describe("Object Types", () => {
2634
2666
  },
2635
2667
  "titlePropertyTypeRid": "name",
2636
2668
  },
2669
+ "propertySecurityGroupPackagingVersion": {
2670
+ "type": "v2",
2671
+ "v2": {},
2672
+ },
2637
2673
  },
2638
2674
  },
2639
2675
  "sharedPropertyTypes": {},
@@ -3037,6 +3073,774 @@ describe("Object Types", () => {
3037
3073
  },
3038
3074
  "titlePropertyTypeRid": "pk",
3039
3075
  },
3076
+ "propertySecurityGroupPackagingVersion": {
3077
+ "type": "v2",
3078
+ "v2": {},
3079
+ },
3080
+ },
3081
+ },
3082
+ "sharedPropertyTypes": {},
3083
+ },
3084
+ "randomnessKey": undefined,
3085
+ "valueTypes": {
3086
+ "valueTypes": [],
3087
+ },
3088
+ }
3089
+ `);
3090
+ });
3091
+ it("Default PSGs configurations are defined correctly", () => {
3092
+ defineObject({
3093
+ displayName: "Person",
3094
+ pluralDisplayName: "Persons",
3095
+ description: "person",
3096
+ apiName: "person",
3097
+ titlePropertyApiName: "pk",
3098
+ primaryKeyPropertyApiName: "pk",
3099
+ properties: {
3100
+ "pk": {
3101
+ displayName: "pk",
3102
+ type: "string"
3103
+ },
3104
+ "normalProperty": {
3105
+ displayName: "Normal Property",
3106
+ type: "string"
3107
+ },
3108
+ "SSN": {
3109
+ displayName: "SSN",
3110
+ type: "string"
3111
+ }
3112
+ },
3113
+ datasources: [{
3114
+ type: "dataset",
3115
+ propertySecurityGroups: [{
3116
+ name: "invalidProperty",
3117
+ properties: ["SSN"]
3118
+ }]
3119
+ }]
3120
+ });
3121
+ expect(dumpOntologyFullMetadata()).toMatchInlineSnapshot(`
3122
+ {
3123
+ "importedOntology": {
3124
+ "actionTypes": {},
3125
+ "blockPermissionInformation": {
3126
+ "actionTypes": {},
3127
+ "linkTypes": {},
3128
+ "objectTypes": {},
3129
+ },
3130
+ "interfaceTypes": {},
3131
+ "linkTypes": {},
3132
+ "objectTypes": {},
3133
+ "sharedPropertyTypes": {},
3134
+ },
3135
+ "importedValueTypes": {
3136
+ "valueTypes": [],
3137
+ },
3138
+ "ontology": {
3139
+ "actionTypes": {},
3140
+ "blockPermissionInformation": {
3141
+ "actionTypes": {},
3142
+ "linkTypes": {},
3143
+ "objectTypes": {},
3144
+ },
3145
+ "interfaceTypes": {},
3146
+ "linkTypes": {},
3147
+ "objectTypes": {
3148
+ "com.palantir.person": {
3149
+ "datasources": [
3150
+ {
3151
+ "datasource": {
3152
+ "datasetV3": {
3153
+ "branchId": "master",
3154
+ "datasetRid": "com.palantir.person",
3155
+ "propertyMapping": {
3156
+ "SSN": {
3157
+ "column": "SSN",
3158
+ "type": "column",
3159
+ },
3160
+ "normalProperty": {
3161
+ "column": "normalProperty",
3162
+ "type": "column",
3163
+ },
3164
+ "pk": {
3165
+ "column": "pk",
3166
+ "type": "column",
3167
+ },
3168
+ },
3169
+ "propertySecurityGroups": {
3170
+ "groups": [
3171
+ {
3172
+ "properties": [
3173
+ "pk",
3174
+ "normalProperty",
3175
+ ],
3176
+ "rid": "defaultObjectSecurityPolicy",
3177
+ "security": {
3178
+ "granular": {
3179
+ "viewPolicy": {
3180
+ "additionalMandatory": {
3181
+ "assumedMarkings": [],
3182
+ "markings": {},
3183
+ },
3184
+ "granularPolicyCondition": {
3185
+ "and": {
3186
+ "conditions": [],
3187
+ },
3188
+ "type": "and",
3189
+ },
3190
+ },
3191
+ },
3192
+ "type": "granular",
3193
+ },
3194
+ "type": {
3195
+ "primaryKey": {},
3196
+ "type": "primaryKey",
3197
+ },
3198
+ },
3199
+ {
3200
+ "properties": [
3201
+ "SSN",
3202
+ ],
3203
+ "rid": "invalidProperty",
3204
+ "security": {
3205
+ "granular": {
3206
+ "viewPolicy": {
3207
+ "additionalMandatory": {
3208
+ "assumedMarkings": [],
3209
+ "markings": {},
3210
+ },
3211
+ "granularPolicyCondition": {
3212
+ "and": {
3213
+ "conditions": [],
3214
+ },
3215
+ "type": "and",
3216
+ },
3217
+ },
3218
+ },
3219
+ "type": "granular",
3220
+ },
3221
+ "type": {
3222
+ "property": {
3223
+ "name": "invalidProperty",
3224
+ },
3225
+ "type": "property",
3226
+ },
3227
+ },
3228
+ ],
3229
+ },
3230
+ },
3231
+ "type": "datasetV3",
3232
+ },
3233
+ "datasourceName": "com.palantir.person",
3234
+ "editsConfiguration": {
3235
+ "onlyAllowPrivilegedEdits": false,
3236
+ },
3237
+ "redacted": false,
3238
+ },
3239
+ ],
3240
+ "entityMetadata": {
3241
+ "aliases": [],
3242
+ "arePatchesEnabled": false,
3243
+ },
3244
+ "objectType": {
3245
+ "allImplementsInterfaces": {},
3246
+ "apiName": "com.palantir.person",
3247
+ "displayMetadata": {
3248
+ "description": "person",
3249
+ "displayName": "Person",
3250
+ "groupDisplayName": undefined,
3251
+ "icon": {
3252
+ "blueprint": {
3253
+ "color": "#2D72D2",
3254
+ "locator": "cube",
3255
+ },
3256
+ "type": "blueprint",
3257
+ },
3258
+ "pluralDisplayName": "Persons",
3259
+ "visibility": "NORMAL",
3260
+ },
3261
+ "implementsInterfaces2": [],
3262
+ "primaryKeys": [
3263
+ "pk",
3264
+ ],
3265
+ "propertyTypes": {
3266
+ "SSN": {
3267
+ "apiName": "SSN",
3268
+ "baseFormatter": undefined,
3269
+ "dataConstraints": undefined,
3270
+ "displayMetadata": {
3271
+ "description": undefined,
3272
+ "displayName": "SSN",
3273
+ "visibility": "NORMAL",
3274
+ },
3275
+ "indexedForSearch": true,
3276
+ "inlineAction": undefined,
3277
+ "ruleSetBinding": undefined,
3278
+ "sharedPropertyTypeApiName": undefined,
3279
+ "sharedPropertyTypeRid": undefined,
3280
+ "status": {
3281
+ "active": {},
3282
+ "type": "active",
3283
+ },
3284
+ "type": {
3285
+ "string": {
3286
+ "analyzerOverride": undefined,
3287
+ "enableAsciiFolding": undefined,
3288
+ "isLongText": false,
3289
+ "supportsEfficientLeadingWildcard": false,
3290
+ "supportsExactMatching": true,
3291
+ },
3292
+ "type": "string",
3293
+ },
3294
+ "typeClasses": [
3295
+ {
3296
+ "kind": "render_hint",
3297
+ "name": "SELECTABLE",
3298
+ },
3299
+ {
3300
+ "kind": "render_hint",
3301
+ "name": "SORTABLE",
3302
+ },
3303
+ ],
3304
+ "valueType": undefined,
3305
+ },
3306
+ "normalProperty": {
3307
+ "apiName": "normalProperty",
3308
+ "baseFormatter": undefined,
3309
+ "dataConstraints": undefined,
3310
+ "displayMetadata": {
3311
+ "description": undefined,
3312
+ "displayName": "Normal Property",
3313
+ "visibility": "NORMAL",
3314
+ },
3315
+ "indexedForSearch": true,
3316
+ "inlineAction": undefined,
3317
+ "ruleSetBinding": undefined,
3318
+ "sharedPropertyTypeApiName": undefined,
3319
+ "sharedPropertyTypeRid": undefined,
3320
+ "status": {
3321
+ "active": {},
3322
+ "type": "active",
3323
+ },
3324
+ "type": {
3325
+ "string": {
3326
+ "analyzerOverride": undefined,
3327
+ "enableAsciiFolding": undefined,
3328
+ "isLongText": false,
3329
+ "supportsEfficientLeadingWildcard": false,
3330
+ "supportsExactMatching": true,
3331
+ },
3332
+ "type": "string",
3333
+ },
3334
+ "typeClasses": [
3335
+ {
3336
+ "kind": "render_hint",
3337
+ "name": "SELECTABLE",
3338
+ },
3339
+ {
3340
+ "kind": "render_hint",
3341
+ "name": "SORTABLE",
3342
+ },
3343
+ ],
3344
+ "valueType": undefined,
3345
+ },
3346
+ "pk": {
3347
+ "apiName": "pk",
3348
+ "baseFormatter": undefined,
3349
+ "dataConstraints": undefined,
3350
+ "displayMetadata": {
3351
+ "description": undefined,
3352
+ "displayName": "pk",
3353
+ "visibility": "NORMAL",
3354
+ },
3355
+ "indexedForSearch": true,
3356
+ "inlineAction": undefined,
3357
+ "ruleSetBinding": undefined,
3358
+ "sharedPropertyTypeApiName": undefined,
3359
+ "sharedPropertyTypeRid": undefined,
3360
+ "status": {
3361
+ "active": {},
3362
+ "type": "active",
3363
+ },
3364
+ "type": {
3365
+ "string": {
3366
+ "analyzerOverride": undefined,
3367
+ "enableAsciiFolding": undefined,
3368
+ "isLongText": false,
3369
+ "supportsEfficientLeadingWildcard": false,
3370
+ "supportsExactMatching": true,
3371
+ },
3372
+ "type": "string",
3373
+ },
3374
+ "typeClasses": [
3375
+ {
3376
+ "kind": "render_hint",
3377
+ "name": "SELECTABLE",
3378
+ },
3379
+ {
3380
+ "kind": "render_hint",
3381
+ "name": "SORTABLE",
3382
+ },
3383
+ ],
3384
+ "valueType": undefined,
3385
+ },
3386
+ },
3387
+ "redacted": false,
3388
+ "status": {
3389
+ "active": {},
3390
+ "type": "active",
3391
+ },
3392
+ "titlePropertyTypeRid": "pk",
3393
+ },
3394
+ "propertySecurityGroupPackagingVersion": {
3395
+ "type": "v2",
3396
+ "v2": {},
3397
+ },
3398
+ },
3399
+ },
3400
+ "sharedPropertyTypes": {},
3401
+ },
3402
+ "randomnessKey": undefined,
3403
+ "valueTypes": {
3404
+ "valueTypes": [],
3405
+ },
3406
+ }
3407
+ `);
3408
+ });
3409
+ it("Complex PSGs configurations are defined correctly", () => {
3410
+ defineObject({
3411
+ displayName: "Person",
3412
+ pluralDisplayName: "Persons",
3413
+ description: "person",
3414
+ apiName: "person",
3415
+ titlePropertyApiName: "pk",
3416
+ primaryKeyPropertyApiName: "pk",
3417
+ properties: {
3418
+ "pk": {
3419
+ displayName: "pk",
3420
+ type: "string"
3421
+ },
3422
+ "group": {
3423
+ displayName: "Group Property",
3424
+ type: "string"
3425
+ },
3426
+ "mandatory": {
3427
+ type: {
3428
+ type: "marking",
3429
+ markingType: "MANDATORY",
3430
+ markingInputGroupName: "myMarking"
3431
+ },
3432
+ displayName: "mandatory"
3433
+ },
3434
+ "SSN": {
3435
+ displayName: "SSN",
3436
+ type: "string"
3437
+ }
3438
+ },
3439
+ datasources: [{
3440
+ type: "dataset",
3441
+ objectSecurityPolicy: {
3442
+ name: "customObjectLevelPolicy",
3443
+ granularPolicy: {
3444
+ type: "group",
3445
+ name: "objectLevelGroup"
3446
+ },
3447
+ additionalMandatoryMarkings: {
3448
+ "objectLevelMarking": "CBAC"
3449
+ }
3450
+ },
3451
+ propertySecurityGroups: [{
3452
+ name: "customPsg",
3453
+ properties: ["SSN"],
3454
+ granularPolicy: {
3455
+ type: "and",
3456
+ conditions: [{
3457
+ type: "groupProperty",
3458
+ property: "group"
3459
+ }, {
3460
+ type: "markingProperty",
3461
+ property: "mandatory"
3462
+ }]
3463
+ },
3464
+ additionalMandatoryMarkings: {
3465
+ "propertyLevelMarking": "MANDATORY"
3466
+ }
3467
+ }]
3468
+ }]
3469
+ });
3470
+ expect(dumpOntologyFullMetadata()).toMatchInlineSnapshot(`
3471
+ {
3472
+ "importedOntology": {
3473
+ "actionTypes": {},
3474
+ "blockPermissionInformation": {
3475
+ "actionTypes": {},
3476
+ "linkTypes": {},
3477
+ "objectTypes": {},
3478
+ },
3479
+ "interfaceTypes": {},
3480
+ "linkTypes": {},
3481
+ "objectTypes": {},
3482
+ "sharedPropertyTypes": {},
3483
+ },
3484
+ "importedValueTypes": {
3485
+ "valueTypes": [],
3486
+ },
3487
+ "ontology": {
3488
+ "actionTypes": {},
3489
+ "blockPermissionInformation": {
3490
+ "actionTypes": {},
3491
+ "linkTypes": {},
3492
+ "objectTypes": {},
3493
+ },
3494
+ "interfaceTypes": {},
3495
+ "linkTypes": {},
3496
+ "objectTypes": {
3497
+ "com.palantir.person": {
3498
+ "datasources": [
3499
+ {
3500
+ "dataSecurity": {
3501
+ "classificationConstraint": undefined,
3502
+ "markingConstraint": {
3503
+ "markingGroupName": "myMarking",
3504
+ },
3505
+ },
3506
+ "datasource": {
3507
+ "datasetV3": {
3508
+ "branchId": "master",
3509
+ "datasetRid": "com.palantir.person",
3510
+ "propertyMapping": {
3511
+ "SSN": {
3512
+ "column": "SSN",
3513
+ "type": "column",
3514
+ },
3515
+ "group": {
3516
+ "column": "group",
3517
+ "type": "column",
3518
+ },
3519
+ "mandatory": {
3520
+ "column": "mandatory",
3521
+ "type": "column",
3522
+ },
3523
+ "pk": {
3524
+ "column": "pk",
3525
+ "type": "column",
3526
+ },
3527
+ },
3528
+ "propertySecurityGroups": {
3529
+ "groups": [
3530
+ {
3531
+ "properties": [
3532
+ "pk",
3533
+ "group",
3534
+ "mandatory",
3535
+ ],
3536
+ "rid": "customObjectLevelPolicy",
3537
+ "security": {
3538
+ "granular": {
3539
+ "viewPolicy": {
3540
+ "additionalMandatory": {
3541
+ "assumedMarkings": [],
3542
+ "markings": {
3543
+ "objectLevelMarking": "CBAC",
3544
+ },
3545
+ },
3546
+ "granularPolicyCondition": {
3547
+ "comparison": {
3548
+ "left": {
3549
+ "type": "userProperty",
3550
+ "userProperty": {
3551
+ "groupIds": {},
3552
+ "type": "groupIds",
3553
+ },
3554
+ },
3555
+ "operator": "INTERSECTS",
3556
+ "right": {
3557
+ "constant": {
3558
+ "strings": [
3559
+ "objectLevelGroup",
3560
+ ],
3561
+ "type": "strings",
3562
+ },
3563
+ "type": "constant",
3564
+ },
3565
+ },
3566
+ "type": "comparison",
3567
+ },
3568
+ },
3569
+ },
3570
+ "type": "granular",
3571
+ },
3572
+ "type": {
3573
+ "primaryKey": {},
3574
+ "type": "primaryKey",
3575
+ },
3576
+ },
3577
+ {
3578
+ "properties": [
3579
+ "SSN",
3580
+ ],
3581
+ "rid": "customPsg",
3582
+ "security": {
3583
+ "granular": {
3584
+ "viewPolicy": {
3585
+ "additionalMandatory": {
3586
+ "assumedMarkings": [],
3587
+ "markings": {
3588
+ "propertyLevelMarking": "MANDATORY",
3589
+ },
3590
+ },
3591
+ "granularPolicyCondition": {
3592
+ "and": {
3593
+ "conditions": [
3594
+ {
3595
+ "comparison": {
3596
+ "left": {
3597
+ "type": "userProperty",
3598
+ "userProperty": {
3599
+ "groupIds": {},
3600
+ "type": "groupIds",
3601
+ },
3602
+ },
3603
+ "operator": "INTERSECTS",
3604
+ "right": {
3605
+ "property": "group",
3606
+ "type": "property",
3607
+ },
3608
+ },
3609
+ "type": "comparison",
3610
+ },
3611
+ {
3612
+ "markings": {
3613
+ "property": "mandatory",
3614
+ },
3615
+ "type": "markings",
3616
+ },
3617
+ ],
3618
+ },
3619
+ "type": "and",
3620
+ },
3621
+ },
3622
+ },
3623
+ "type": "granular",
3624
+ },
3625
+ "type": {
3626
+ "property": {
3627
+ "name": "customPsg",
3628
+ },
3629
+ "type": "property",
3630
+ },
3631
+ },
3632
+ ],
3633
+ },
3634
+ },
3635
+ "type": "datasetV3",
3636
+ },
3637
+ "datasourceName": "com.palantir.person",
3638
+ "editsConfiguration": {
3639
+ "onlyAllowPrivilegedEdits": false,
3640
+ },
3641
+ "redacted": false,
3642
+ },
3643
+ ],
3644
+ "entityMetadata": {
3645
+ "aliases": [],
3646
+ "arePatchesEnabled": false,
3647
+ },
3648
+ "objectType": {
3649
+ "allImplementsInterfaces": {},
3650
+ "apiName": "com.palantir.person",
3651
+ "displayMetadata": {
3652
+ "description": "person",
3653
+ "displayName": "Person",
3654
+ "groupDisplayName": undefined,
3655
+ "icon": {
3656
+ "blueprint": {
3657
+ "color": "#2D72D2",
3658
+ "locator": "cube",
3659
+ },
3660
+ "type": "blueprint",
3661
+ },
3662
+ "pluralDisplayName": "Persons",
3663
+ "visibility": "NORMAL",
3664
+ },
3665
+ "implementsInterfaces2": [],
3666
+ "primaryKeys": [
3667
+ "pk",
3668
+ ],
3669
+ "propertyTypes": {
3670
+ "SSN": {
3671
+ "apiName": "SSN",
3672
+ "baseFormatter": undefined,
3673
+ "dataConstraints": undefined,
3674
+ "displayMetadata": {
3675
+ "description": undefined,
3676
+ "displayName": "SSN",
3677
+ "visibility": "NORMAL",
3678
+ },
3679
+ "indexedForSearch": true,
3680
+ "inlineAction": undefined,
3681
+ "ruleSetBinding": undefined,
3682
+ "sharedPropertyTypeApiName": undefined,
3683
+ "sharedPropertyTypeRid": undefined,
3684
+ "status": {
3685
+ "active": {},
3686
+ "type": "active",
3687
+ },
3688
+ "type": {
3689
+ "string": {
3690
+ "analyzerOverride": undefined,
3691
+ "enableAsciiFolding": undefined,
3692
+ "isLongText": false,
3693
+ "supportsEfficientLeadingWildcard": false,
3694
+ "supportsExactMatching": true,
3695
+ },
3696
+ "type": "string",
3697
+ },
3698
+ "typeClasses": [
3699
+ {
3700
+ "kind": "render_hint",
3701
+ "name": "SELECTABLE",
3702
+ },
3703
+ {
3704
+ "kind": "render_hint",
3705
+ "name": "SORTABLE",
3706
+ },
3707
+ ],
3708
+ "valueType": undefined,
3709
+ },
3710
+ "group": {
3711
+ "apiName": "group",
3712
+ "baseFormatter": undefined,
3713
+ "dataConstraints": undefined,
3714
+ "displayMetadata": {
3715
+ "description": undefined,
3716
+ "displayName": "Group Property",
3717
+ "visibility": "NORMAL",
3718
+ },
3719
+ "indexedForSearch": true,
3720
+ "inlineAction": undefined,
3721
+ "ruleSetBinding": undefined,
3722
+ "sharedPropertyTypeApiName": undefined,
3723
+ "sharedPropertyTypeRid": undefined,
3724
+ "status": {
3725
+ "active": {},
3726
+ "type": "active",
3727
+ },
3728
+ "type": {
3729
+ "string": {
3730
+ "analyzerOverride": undefined,
3731
+ "enableAsciiFolding": undefined,
3732
+ "isLongText": false,
3733
+ "supportsEfficientLeadingWildcard": false,
3734
+ "supportsExactMatching": true,
3735
+ },
3736
+ "type": "string",
3737
+ },
3738
+ "typeClasses": [
3739
+ {
3740
+ "kind": "render_hint",
3741
+ "name": "SELECTABLE",
3742
+ },
3743
+ {
3744
+ "kind": "render_hint",
3745
+ "name": "SORTABLE",
3746
+ },
3747
+ ],
3748
+ "valueType": undefined,
3749
+ },
3750
+ "mandatory": {
3751
+ "apiName": "mandatory",
3752
+ "baseFormatter": undefined,
3753
+ "dataConstraints": {
3754
+ "nullability": undefined,
3755
+ "nullabilityV2": {
3756
+ "noNulls": true,
3757
+ },
3758
+ "propertyTypeConstraints": [],
3759
+ },
3760
+ "displayMetadata": {
3761
+ "description": undefined,
3762
+ "displayName": "mandatory",
3763
+ "visibility": "NORMAL",
3764
+ },
3765
+ "indexedForSearch": true,
3766
+ "inlineAction": undefined,
3767
+ "ruleSetBinding": undefined,
3768
+ "sharedPropertyTypeApiName": undefined,
3769
+ "sharedPropertyTypeRid": undefined,
3770
+ "status": {
3771
+ "active": {},
3772
+ "type": "active",
3773
+ },
3774
+ "type": {
3775
+ "marking": {
3776
+ "markingType": "MANDATORY",
3777
+ },
3778
+ "type": "marking",
3779
+ },
3780
+ "typeClasses": [
3781
+ {
3782
+ "kind": "render_hint",
3783
+ "name": "SELECTABLE",
3784
+ },
3785
+ {
3786
+ "kind": "render_hint",
3787
+ "name": "SORTABLE",
3788
+ },
3789
+ ],
3790
+ "valueType": undefined,
3791
+ },
3792
+ "pk": {
3793
+ "apiName": "pk",
3794
+ "baseFormatter": undefined,
3795
+ "dataConstraints": undefined,
3796
+ "displayMetadata": {
3797
+ "description": undefined,
3798
+ "displayName": "pk",
3799
+ "visibility": "NORMAL",
3800
+ },
3801
+ "indexedForSearch": true,
3802
+ "inlineAction": undefined,
3803
+ "ruleSetBinding": undefined,
3804
+ "sharedPropertyTypeApiName": undefined,
3805
+ "sharedPropertyTypeRid": undefined,
3806
+ "status": {
3807
+ "active": {},
3808
+ "type": "active",
3809
+ },
3810
+ "type": {
3811
+ "string": {
3812
+ "analyzerOverride": undefined,
3813
+ "enableAsciiFolding": undefined,
3814
+ "isLongText": false,
3815
+ "supportsEfficientLeadingWildcard": false,
3816
+ "supportsExactMatching": true,
3817
+ },
3818
+ "type": "string",
3819
+ },
3820
+ "typeClasses": [
3821
+ {
3822
+ "kind": "render_hint",
3823
+ "name": "SELECTABLE",
3824
+ },
3825
+ {
3826
+ "kind": "render_hint",
3827
+ "name": "SORTABLE",
3828
+ },
3829
+ ],
3830
+ "valueType": undefined,
3831
+ },
3832
+ },
3833
+ "redacted": false,
3834
+ "status": {
3835
+ "active": {},
3836
+ "type": "active",
3837
+ },
3838
+ "titlePropertyTypeRid": "pk",
3839
+ },
3840
+ "propertySecurityGroupPackagingVersion": {
3841
+ "type": "v2",
3842
+ "v2": {},
3843
+ },
3040
3844
  },
3041
3845
  },
3042
3846
  "sharedPropertyTypes": {},