@osdk/maker 0.16.0-beta.1 → 0.16.0-beta.3
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 +23 -0
- package/README.md +14 -0
- package/build/browser/api/code-snippets/createCodeSnippets.js +1 -1
- package/build/browser/api/code-snippets/createCodeSnippets.js.map +1 -1
- package/build/browser/api/defineObject.js +26 -9
- package/build/browser/api/defineObject.js.map +1 -1
- package/build/browser/api/defineSpt.js.map +1 -1
- package/build/browser/api/object/ObjectPropertyType.js.map +1 -1
- package/build/browser/api/properties/PropertyTypeType.js.map +1 -1
- package/build/browser/api/properties/ReducerType.js +2 -0
- package/build/browser/api/properties/ReducerType.js.map +1 -0
- package/build/browser/api/properties/SharedPropertyType.js.map +1 -1
- package/build/browser/api/test/actions.test.js +5 -0
- package/build/browser/api/test/actions.test.js.map +1 -1
- package/build/browser/api/test/objectStatus.test.js +93 -1
- package/build/browser/api/test/objectStatus.test.js.map +1 -1
- package/build/browser/api/test/objects.test.js +576 -0
- package/build/browser/api/test/objects.test.js.map +1 -1
- package/build/browser/api/test/spt.test.js +62 -61
- package/build/browser/api/test/spt.test.js.map +1 -1
- package/build/browser/cli/main.js +1 -1
- package/build/browser/conversion/toMarketplace/convertMainValue.js +36 -0
- package/build/browser/conversion/toMarketplace/convertMainValue.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertObjectPropertyType.js +4 -3
- package/build/browser/conversion/toMarketplace/convertObjectPropertyType.js.map +1 -1
- package/build/browser/conversion/toMarketplace/convertReducers.js +53 -0
- package/build/browser/conversion/toMarketplace/convertReducers.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertSpt.js +5 -3
- package/build/browser/conversion/toMarketplace/convertSpt.js.map +1 -1
- package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +4 -2
- package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -1
- package/build/cjs/index.cjs +152 -84
- package/build/cjs/index.cjs.map +1 -1
- package/build/cjs/index.d.cts +13 -1
- package/build/esm/api/code-snippets/createCodeSnippets.js +1 -1
- package/build/esm/api/code-snippets/createCodeSnippets.js.map +1 -1
- package/build/esm/api/defineObject.js +26 -9
- package/build/esm/api/defineObject.js.map +1 -1
- package/build/esm/api/defineSpt.js.map +1 -1
- package/build/esm/api/object/ObjectPropertyType.js.map +1 -1
- package/build/esm/api/properties/PropertyTypeType.js.map +1 -1
- package/build/esm/api/properties/ReducerType.js +2 -0
- package/build/esm/api/properties/ReducerType.js.map +1 -0
- package/build/esm/api/properties/SharedPropertyType.js.map +1 -1
- package/build/esm/api/test/actions.test.js +5 -0
- package/build/esm/api/test/actions.test.js.map +1 -1
- package/build/esm/api/test/objectStatus.test.js +93 -1
- package/build/esm/api/test/objectStatus.test.js.map +1 -1
- package/build/esm/api/test/objects.test.js +576 -0
- package/build/esm/api/test/objects.test.js.map +1 -1
- package/build/esm/api/test/spt.test.js +62 -61
- package/build/esm/api/test/spt.test.js.map +1 -1
- package/build/esm/cli/main.js +1 -1
- package/build/esm/conversion/toMarketplace/convertMainValue.js +36 -0
- package/build/esm/conversion/toMarketplace/convertMainValue.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertObjectPropertyType.js +4 -3
- package/build/esm/conversion/toMarketplace/convertObjectPropertyType.js.map +1 -1
- package/build/esm/conversion/toMarketplace/convertReducers.js +53 -0
- package/build/esm/conversion/toMarketplace/convertReducers.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertSpt.js +5 -3
- package/build/esm/conversion/toMarketplace/convertSpt.js.map +1 -1
- package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +4 -2
- package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -1
- package/build/types/api/defineObject.d.ts.map +1 -1
- package/build/types/api/defineSpt.d.ts +2 -0
- package/build/types/api/defineSpt.d.ts.map +1 -1
- package/build/types/api/object/ObjectPropertyType.d.ts +2 -0
- package/build/types/api/object/ObjectPropertyType.d.ts.map +1 -1
- package/build/types/api/properties/PropertyTypeType.d.ts +4 -0
- package/build/types/api/properties/PropertyTypeType.d.ts.map +1 -1
- package/build/types/api/properties/ReducerType.d.ts +4 -0
- package/build/types/api/properties/ReducerType.d.ts.map +1 -0
- package/build/types/api/properties/SharedPropertyType.d.ts +2 -0
- package/build/types/api/properties/SharedPropertyType.d.ts.map +1 -1
- package/build/types/conversion/toMarketplace/convertMainValue.d.ts +4 -0
- package/build/types/conversion/toMarketplace/convertMainValue.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertObjectPropertyType.d.ts.map +1 -1
- package/build/types/conversion/toMarketplace/convertReducers.d.ts +6 -0
- package/build/types/conversion/toMarketplace/convertReducers.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertSpt.d.ts +1 -1
- package/build/types/conversion/toMarketplace/convertSpt.d.ts.map +1 -1
- package/build/types/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.d.ts +2 -1
- package/build/types/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -480,6 +480,7 @@ describe("Object Types", () => {
|
|
|
480
480
|
},
|
|
481
481
|
"type": {
|
|
482
482
|
"struct": {
|
|
483
|
+
"mainValue": undefined,
|
|
483
484
|
"structFields": [
|
|
484
485
|
{
|
|
485
486
|
"aliases": [],
|
|
@@ -3852,5 +3853,580 @@ describe("Object Types", () => {
|
|
|
3852
3853
|
}
|
|
3853
3854
|
`);
|
|
3854
3855
|
});
|
|
3856
|
+
it("Reducers and struct main properties are defined correctly", () => {
|
|
3857
|
+
const spt = defineSharedPropertyType({
|
|
3858
|
+
apiName: "spt",
|
|
3859
|
+
displayName: "Struct Array SPT",
|
|
3860
|
+
type: {
|
|
3861
|
+
type: "struct",
|
|
3862
|
+
structDefinition: {
|
|
3863
|
+
prop1: "string",
|
|
3864
|
+
prop2: "string"
|
|
3865
|
+
},
|
|
3866
|
+
mainValue: {
|
|
3867
|
+
fields: "prop1",
|
|
3868
|
+
type: "string"
|
|
3869
|
+
}
|
|
3870
|
+
},
|
|
3871
|
+
array: true,
|
|
3872
|
+
reducers: [{
|
|
3873
|
+
direction: "descending",
|
|
3874
|
+
structField: "prop1"
|
|
3875
|
+
}, {
|
|
3876
|
+
direction: "ascending",
|
|
3877
|
+
structField: "prop2"
|
|
3878
|
+
}]
|
|
3879
|
+
});
|
|
3880
|
+
defineObject({
|
|
3881
|
+
titlePropertyApiName: "bar",
|
|
3882
|
+
displayName: "Foo",
|
|
3883
|
+
pluralDisplayName: "Foo",
|
|
3884
|
+
apiName: "foo",
|
|
3885
|
+
primaryKeyPropertyApiName: "bar",
|
|
3886
|
+
properties: {
|
|
3887
|
+
"bar": {
|
|
3888
|
+
type: "string"
|
|
3889
|
+
},
|
|
3890
|
+
"spt": {
|
|
3891
|
+
sharedPropertyType: spt,
|
|
3892
|
+
type: {
|
|
3893
|
+
type: "struct",
|
|
3894
|
+
structDefinition: {
|
|
3895
|
+
prop1: "string",
|
|
3896
|
+
prop2: "string"
|
|
3897
|
+
}
|
|
3898
|
+
},
|
|
3899
|
+
array: true
|
|
3900
|
+
},
|
|
3901
|
+
"prop": {
|
|
3902
|
+
type: {
|
|
3903
|
+
type: "struct",
|
|
3904
|
+
structDefinition: {
|
|
3905
|
+
field1: "string",
|
|
3906
|
+
field2: "string"
|
|
3907
|
+
},
|
|
3908
|
+
mainValue: {
|
|
3909
|
+
fields: ["field1", "field2"],
|
|
3910
|
+
type: {
|
|
3911
|
+
type: "struct",
|
|
3912
|
+
structDefinition: {
|
|
3913
|
+
field1: "string",
|
|
3914
|
+
field2: "string"
|
|
3915
|
+
}
|
|
3916
|
+
}
|
|
3917
|
+
}
|
|
3918
|
+
},
|
|
3919
|
+
array: true,
|
|
3920
|
+
reducers: [{
|
|
3921
|
+
direction: "descending",
|
|
3922
|
+
structField: "field1"
|
|
3923
|
+
}, {
|
|
3924
|
+
direction: "ascending",
|
|
3925
|
+
structField: "field2"
|
|
3926
|
+
}]
|
|
3927
|
+
}
|
|
3928
|
+
}
|
|
3929
|
+
});
|
|
3930
|
+
expect(dumpOntologyFullMetadata()).toMatchInlineSnapshot(`
|
|
3931
|
+
{
|
|
3932
|
+
"importedOntology": {
|
|
3933
|
+
"actionTypes": {},
|
|
3934
|
+
"blockPermissionInformation": {
|
|
3935
|
+
"actionTypes": {},
|
|
3936
|
+
"linkTypes": {},
|
|
3937
|
+
"objectTypes": {},
|
|
3938
|
+
},
|
|
3939
|
+
"interfaceTypes": {},
|
|
3940
|
+
"linkTypes": {},
|
|
3941
|
+
"objectTypes": {},
|
|
3942
|
+
"sharedPropertyTypes": {},
|
|
3943
|
+
},
|
|
3944
|
+
"importedValueTypes": {
|
|
3945
|
+
"valueTypes": [],
|
|
3946
|
+
},
|
|
3947
|
+
"ontology": {
|
|
3948
|
+
"actionTypes": {},
|
|
3949
|
+
"blockPermissionInformation": {
|
|
3950
|
+
"actionTypes": {},
|
|
3951
|
+
"linkTypes": {},
|
|
3952
|
+
"objectTypes": {},
|
|
3953
|
+
},
|
|
3954
|
+
"interfaceTypes": {},
|
|
3955
|
+
"linkTypes": {},
|
|
3956
|
+
"objectTypes": {
|
|
3957
|
+
"com.palantir.foo": {
|
|
3958
|
+
"datasources": [
|
|
3959
|
+
{
|
|
3960
|
+
"datasource": {
|
|
3961
|
+
"datasetV2": {
|
|
3962
|
+
"datasetRid": "com.palantir.foo",
|
|
3963
|
+
"propertyMapping": {
|
|
3964
|
+
"bar": {
|
|
3965
|
+
"column": "bar",
|
|
3966
|
+
"type": "column",
|
|
3967
|
+
},
|
|
3968
|
+
"prop": {
|
|
3969
|
+
"struct": {
|
|
3970
|
+
"column": "prop",
|
|
3971
|
+
"mapping": {
|
|
3972
|
+
"field1": {
|
|
3973
|
+
"apiName": "field1",
|
|
3974
|
+
"mappings": {},
|
|
3975
|
+
},
|
|
3976
|
+
"field2": {
|
|
3977
|
+
"apiName": "field2",
|
|
3978
|
+
"mappings": {},
|
|
3979
|
+
},
|
|
3980
|
+
},
|
|
3981
|
+
},
|
|
3982
|
+
"type": "struct",
|
|
3983
|
+
},
|
|
3984
|
+
"spt": {
|
|
3985
|
+
"struct": {
|
|
3986
|
+
"column": "spt",
|
|
3987
|
+
"mapping": {
|
|
3988
|
+
"prop1": {
|
|
3989
|
+
"apiName": "prop1",
|
|
3990
|
+
"mappings": {},
|
|
3991
|
+
},
|
|
3992
|
+
"prop2": {
|
|
3993
|
+
"apiName": "prop2",
|
|
3994
|
+
"mappings": {},
|
|
3995
|
+
},
|
|
3996
|
+
},
|
|
3997
|
+
},
|
|
3998
|
+
"type": "struct",
|
|
3999
|
+
},
|
|
4000
|
+
},
|
|
4001
|
+
},
|
|
4002
|
+
"type": "datasetV2",
|
|
4003
|
+
},
|
|
4004
|
+
"datasourceName": "com.palantir.foo",
|
|
4005
|
+
"editsConfiguration": {
|
|
4006
|
+
"onlyAllowPrivilegedEdits": false,
|
|
4007
|
+
},
|
|
4008
|
+
"redacted": false,
|
|
4009
|
+
},
|
|
4010
|
+
],
|
|
4011
|
+
"entityMetadata": {
|
|
4012
|
+
"aliases": [],
|
|
4013
|
+
"arePatchesEnabled": false,
|
|
4014
|
+
},
|
|
4015
|
+
"objectType": {
|
|
4016
|
+
"allImplementsInterfaces": {},
|
|
4017
|
+
"apiName": "com.palantir.foo",
|
|
4018
|
+
"displayMetadata": {
|
|
4019
|
+
"description": undefined,
|
|
4020
|
+
"displayName": "Foo",
|
|
4021
|
+
"groupDisplayName": undefined,
|
|
4022
|
+
"icon": {
|
|
4023
|
+
"blueprint": {
|
|
4024
|
+
"color": "#2D72D2",
|
|
4025
|
+
"locator": "cube",
|
|
4026
|
+
},
|
|
4027
|
+
"type": "blueprint",
|
|
4028
|
+
},
|
|
4029
|
+
"pluralDisplayName": "Foo",
|
|
4030
|
+
"visibility": "NORMAL",
|
|
4031
|
+
},
|
|
4032
|
+
"implementsInterfaces2": [],
|
|
4033
|
+
"primaryKeys": [
|
|
4034
|
+
"bar",
|
|
4035
|
+
],
|
|
4036
|
+
"propertyTypes": {
|
|
4037
|
+
"bar": {
|
|
4038
|
+
"apiName": "bar",
|
|
4039
|
+
"baseFormatter": undefined,
|
|
4040
|
+
"dataConstraints": undefined,
|
|
4041
|
+
"displayMetadata": {
|
|
4042
|
+
"description": undefined,
|
|
4043
|
+
"displayName": "Bar",
|
|
4044
|
+
"visibility": "NORMAL",
|
|
4045
|
+
},
|
|
4046
|
+
"indexedForSearch": true,
|
|
4047
|
+
"inlineAction": undefined,
|
|
4048
|
+
"ruleSetBinding": undefined,
|
|
4049
|
+
"sharedPropertyTypeApiName": undefined,
|
|
4050
|
+
"sharedPropertyTypeRid": undefined,
|
|
4051
|
+
"status": {
|
|
4052
|
+
"active": {},
|
|
4053
|
+
"type": "active",
|
|
4054
|
+
},
|
|
4055
|
+
"type": {
|
|
4056
|
+
"string": {
|
|
4057
|
+
"analyzerOverride": undefined,
|
|
4058
|
+
"enableAsciiFolding": undefined,
|
|
4059
|
+
"isLongText": false,
|
|
4060
|
+
"supportsEfficientLeadingWildcard": false,
|
|
4061
|
+
"supportsExactMatching": true,
|
|
4062
|
+
},
|
|
4063
|
+
"type": "string",
|
|
4064
|
+
},
|
|
4065
|
+
"typeClasses": [
|
|
4066
|
+
{
|
|
4067
|
+
"kind": "render_hint",
|
|
4068
|
+
"name": "SELECTABLE",
|
|
4069
|
+
},
|
|
4070
|
+
{
|
|
4071
|
+
"kind": "render_hint",
|
|
4072
|
+
"name": "SORTABLE",
|
|
4073
|
+
},
|
|
4074
|
+
],
|
|
4075
|
+
"valueType": undefined,
|
|
4076
|
+
},
|
|
4077
|
+
"prop": {
|
|
4078
|
+
"apiName": "prop",
|
|
4079
|
+
"baseFormatter": undefined,
|
|
4080
|
+
"dataConstraints": undefined,
|
|
4081
|
+
"displayMetadata": {
|
|
4082
|
+
"description": undefined,
|
|
4083
|
+
"displayName": "Prop",
|
|
4084
|
+
"visibility": "NORMAL",
|
|
4085
|
+
},
|
|
4086
|
+
"indexedForSearch": true,
|
|
4087
|
+
"inlineAction": undefined,
|
|
4088
|
+
"ruleSetBinding": undefined,
|
|
4089
|
+
"sharedPropertyTypeApiName": undefined,
|
|
4090
|
+
"sharedPropertyTypeRid": undefined,
|
|
4091
|
+
"status": {
|
|
4092
|
+
"active": {},
|
|
4093
|
+
"type": "active",
|
|
4094
|
+
},
|
|
4095
|
+
"type": {
|
|
4096
|
+
"array": {
|
|
4097
|
+
"reducers": [
|
|
4098
|
+
{
|
|
4099
|
+
"direction": "DESCENDING_NULLS_LAST",
|
|
4100
|
+
"fieldApiName": "field1",
|
|
4101
|
+
"structApiName": "prop",
|
|
4102
|
+
},
|
|
4103
|
+
{
|
|
4104
|
+
"direction": "ASCENDING_NULLS_LAST",
|
|
4105
|
+
"fieldApiName": "field2",
|
|
4106
|
+
"structApiName": "prop",
|
|
4107
|
+
},
|
|
4108
|
+
],
|
|
4109
|
+
"subtype": {
|
|
4110
|
+
"struct": {
|
|
4111
|
+
"mainValue": {
|
|
4112
|
+
"fieldApiNames": [
|
|
4113
|
+
"field1",
|
|
4114
|
+
"field2",
|
|
4115
|
+
],
|
|
4116
|
+
"structApiName": "prop",
|
|
4117
|
+
"type": {
|
|
4118
|
+
"struct": {
|
|
4119
|
+
"mainValue": undefined,
|
|
4120
|
+
"structFields": [
|
|
4121
|
+
{
|
|
4122
|
+
"aliases": [],
|
|
4123
|
+
"apiName": "field1",
|
|
4124
|
+
"displayMetadata": {
|
|
4125
|
+
"description": undefined,
|
|
4126
|
+
"displayName": "field1",
|
|
4127
|
+
},
|
|
4128
|
+
"fieldType": {
|
|
4129
|
+
"string": {
|
|
4130
|
+
"analyzerOverride": undefined,
|
|
4131
|
+
"enableAsciiFolding": undefined,
|
|
4132
|
+
"isLongText": false,
|
|
4133
|
+
"supportsEfficientLeadingWildcard": false,
|
|
4134
|
+
"supportsExactMatching": true,
|
|
4135
|
+
},
|
|
4136
|
+
"type": "string",
|
|
4137
|
+
},
|
|
4138
|
+
"typeClasses": [],
|
|
4139
|
+
},
|
|
4140
|
+
{
|
|
4141
|
+
"aliases": [],
|
|
4142
|
+
"apiName": "field2",
|
|
4143
|
+
"displayMetadata": {
|
|
4144
|
+
"description": undefined,
|
|
4145
|
+
"displayName": "field2",
|
|
4146
|
+
},
|
|
4147
|
+
"fieldType": {
|
|
4148
|
+
"string": {
|
|
4149
|
+
"analyzerOverride": undefined,
|
|
4150
|
+
"enableAsciiFolding": undefined,
|
|
4151
|
+
"isLongText": false,
|
|
4152
|
+
"supportsEfficientLeadingWildcard": false,
|
|
4153
|
+
"supportsExactMatching": true,
|
|
4154
|
+
},
|
|
4155
|
+
"type": "string",
|
|
4156
|
+
},
|
|
4157
|
+
"typeClasses": [],
|
|
4158
|
+
},
|
|
4159
|
+
],
|
|
4160
|
+
},
|
|
4161
|
+
"type": "struct",
|
|
4162
|
+
},
|
|
4163
|
+
},
|
|
4164
|
+
"structFields": [
|
|
4165
|
+
{
|
|
4166
|
+
"aliases": [],
|
|
4167
|
+
"apiName": "field1",
|
|
4168
|
+
"displayMetadata": {
|
|
4169
|
+
"description": undefined,
|
|
4170
|
+
"displayName": "field1",
|
|
4171
|
+
},
|
|
4172
|
+
"fieldType": {
|
|
4173
|
+
"string": {
|
|
4174
|
+
"analyzerOverride": undefined,
|
|
4175
|
+
"enableAsciiFolding": undefined,
|
|
4176
|
+
"isLongText": false,
|
|
4177
|
+
"supportsEfficientLeadingWildcard": false,
|
|
4178
|
+
"supportsExactMatching": true,
|
|
4179
|
+
},
|
|
4180
|
+
"type": "string",
|
|
4181
|
+
},
|
|
4182
|
+
"typeClasses": [],
|
|
4183
|
+
},
|
|
4184
|
+
{
|
|
4185
|
+
"aliases": [],
|
|
4186
|
+
"apiName": "field2",
|
|
4187
|
+
"displayMetadata": {
|
|
4188
|
+
"description": undefined,
|
|
4189
|
+
"displayName": "field2",
|
|
4190
|
+
},
|
|
4191
|
+
"fieldType": {
|
|
4192
|
+
"string": {
|
|
4193
|
+
"analyzerOverride": undefined,
|
|
4194
|
+
"enableAsciiFolding": undefined,
|
|
4195
|
+
"isLongText": false,
|
|
4196
|
+
"supportsEfficientLeadingWildcard": false,
|
|
4197
|
+
"supportsExactMatching": true,
|
|
4198
|
+
},
|
|
4199
|
+
"type": "string",
|
|
4200
|
+
},
|
|
4201
|
+
"typeClasses": [],
|
|
4202
|
+
},
|
|
4203
|
+
],
|
|
4204
|
+
},
|
|
4205
|
+
"type": "struct",
|
|
4206
|
+
},
|
|
4207
|
+
},
|
|
4208
|
+
"type": "array",
|
|
4209
|
+
},
|
|
4210
|
+
"typeClasses": [],
|
|
4211
|
+
"valueType": undefined,
|
|
4212
|
+
},
|
|
4213
|
+
"spt": {
|
|
4214
|
+
"apiName": "spt",
|
|
4215
|
+
"baseFormatter": undefined,
|
|
4216
|
+
"dataConstraints": undefined,
|
|
4217
|
+
"displayMetadata": {
|
|
4218
|
+
"description": undefined,
|
|
4219
|
+
"displayName": "Spt",
|
|
4220
|
+
"visibility": "NORMAL",
|
|
4221
|
+
},
|
|
4222
|
+
"indexedForSearch": true,
|
|
4223
|
+
"inlineAction": undefined,
|
|
4224
|
+
"ruleSetBinding": undefined,
|
|
4225
|
+
"sharedPropertyTypeApiName": "com.palantir.spt",
|
|
4226
|
+
"sharedPropertyTypeRid": "com.palantir.spt",
|
|
4227
|
+
"status": {
|
|
4228
|
+
"active": {},
|
|
4229
|
+
"type": "active",
|
|
4230
|
+
},
|
|
4231
|
+
"type": {
|
|
4232
|
+
"array": {
|
|
4233
|
+
"reducers": [
|
|
4234
|
+
{
|
|
4235
|
+
"direction": "DESCENDING_NULLS_LAST",
|
|
4236
|
+
"fieldApiName": "prop1",
|
|
4237
|
+
"structApiName": "com.palantir.spt",
|
|
4238
|
+
},
|
|
4239
|
+
{
|
|
4240
|
+
"direction": "ASCENDING_NULLS_LAST",
|
|
4241
|
+
"fieldApiName": "prop2",
|
|
4242
|
+
"structApiName": "com.palantir.spt",
|
|
4243
|
+
},
|
|
4244
|
+
],
|
|
4245
|
+
"subtype": {
|
|
4246
|
+
"struct": {
|
|
4247
|
+
"mainValue": {
|
|
4248
|
+
"fieldApiNames": [
|
|
4249
|
+
"prop1",
|
|
4250
|
+
],
|
|
4251
|
+
"structApiName": "com.palantir.spt",
|
|
4252
|
+
"type": {
|
|
4253
|
+
"string": {
|
|
4254
|
+
"analyzerOverride": undefined,
|
|
4255
|
+
"enableAsciiFolding": undefined,
|
|
4256
|
+
"isLongText": false,
|
|
4257
|
+
"supportsEfficientLeadingWildcard": false,
|
|
4258
|
+
"supportsExactMatching": true,
|
|
4259
|
+
},
|
|
4260
|
+
"type": "string",
|
|
4261
|
+
},
|
|
4262
|
+
},
|
|
4263
|
+
"structFields": [
|
|
4264
|
+
{
|
|
4265
|
+
"aliases": [],
|
|
4266
|
+
"apiName": "prop1",
|
|
4267
|
+
"displayMetadata": {
|
|
4268
|
+
"description": undefined,
|
|
4269
|
+
"displayName": "prop1",
|
|
4270
|
+
},
|
|
4271
|
+
"fieldType": {
|
|
4272
|
+
"string": {
|
|
4273
|
+
"analyzerOverride": undefined,
|
|
4274
|
+
"enableAsciiFolding": undefined,
|
|
4275
|
+
"isLongText": false,
|
|
4276
|
+
"supportsEfficientLeadingWildcard": false,
|
|
4277
|
+
"supportsExactMatching": true,
|
|
4278
|
+
},
|
|
4279
|
+
"type": "string",
|
|
4280
|
+
},
|
|
4281
|
+
"typeClasses": [],
|
|
4282
|
+
},
|
|
4283
|
+
{
|
|
4284
|
+
"aliases": [],
|
|
4285
|
+
"apiName": "prop2",
|
|
4286
|
+
"displayMetadata": {
|
|
4287
|
+
"description": undefined,
|
|
4288
|
+
"displayName": "prop2",
|
|
4289
|
+
},
|
|
4290
|
+
"fieldType": {
|
|
4291
|
+
"string": {
|
|
4292
|
+
"analyzerOverride": undefined,
|
|
4293
|
+
"enableAsciiFolding": undefined,
|
|
4294
|
+
"isLongText": false,
|
|
4295
|
+
"supportsEfficientLeadingWildcard": false,
|
|
4296
|
+
"supportsExactMatching": true,
|
|
4297
|
+
},
|
|
4298
|
+
"type": "string",
|
|
4299
|
+
},
|
|
4300
|
+
"typeClasses": [],
|
|
4301
|
+
},
|
|
4302
|
+
],
|
|
4303
|
+
},
|
|
4304
|
+
"type": "struct",
|
|
4305
|
+
},
|
|
4306
|
+
},
|
|
4307
|
+
"type": "array",
|
|
4308
|
+
},
|
|
4309
|
+
"typeClasses": [],
|
|
4310
|
+
"valueType": undefined,
|
|
4311
|
+
},
|
|
4312
|
+
},
|
|
4313
|
+
"redacted": false,
|
|
4314
|
+
"status": {
|
|
4315
|
+
"active": {},
|
|
4316
|
+
"type": "active",
|
|
4317
|
+
},
|
|
4318
|
+
"titlePropertyTypeRid": "bar",
|
|
4319
|
+
},
|
|
4320
|
+
"propertySecurityGroupPackagingVersion": {
|
|
4321
|
+
"type": "v2",
|
|
4322
|
+
"v2": {},
|
|
4323
|
+
},
|
|
4324
|
+
},
|
|
4325
|
+
},
|
|
4326
|
+
"sharedPropertyTypes": {
|
|
4327
|
+
"com.palantir.spt": {
|
|
4328
|
+
"sharedPropertyType": {
|
|
4329
|
+
"aliases": [],
|
|
4330
|
+
"apiName": "com.palantir.spt",
|
|
4331
|
+
"baseFormatter": undefined,
|
|
4332
|
+
"dataConstraints": undefined,
|
|
4333
|
+
"displayMetadata": {
|
|
4334
|
+
"description": undefined,
|
|
4335
|
+
"displayName": "Struct Array SPT",
|
|
4336
|
+
"visibility": "NORMAL",
|
|
4337
|
+
},
|
|
4338
|
+
"gothamMapping": undefined,
|
|
4339
|
+
"indexedForSearch": true,
|
|
4340
|
+
"type": {
|
|
4341
|
+
"array": {
|
|
4342
|
+
"reducers": [
|
|
4343
|
+
{
|
|
4344
|
+
"direction": "DESCENDING_NULLS_LAST",
|
|
4345
|
+
"fieldApiName": "prop1",
|
|
4346
|
+
"structApiName": "com.palantir.spt",
|
|
4347
|
+
},
|
|
4348
|
+
{
|
|
4349
|
+
"direction": "ASCENDING_NULLS_LAST",
|
|
4350
|
+
"fieldApiName": "prop2",
|
|
4351
|
+
"structApiName": "com.palantir.spt",
|
|
4352
|
+
},
|
|
4353
|
+
],
|
|
4354
|
+
"subtype": {
|
|
4355
|
+
"struct": {
|
|
4356
|
+
"mainValue": {
|
|
4357
|
+
"fieldApiNames": [
|
|
4358
|
+
"prop1",
|
|
4359
|
+
],
|
|
4360
|
+
"structApiName": "com.palantir.spt",
|
|
4361
|
+
"type": {
|
|
4362
|
+
"string": {
|
|
4363
|
+
"analyzerOverride": undefined,
|
|
4364
|
+
"enableAsciiFolding": undefined,
|
|
4365
|
+
"isLongText": false,
|
|
4366
|
+
"supportsEfficientLeadingWildcard": false,
|
|
4367
|
+
"supportsExactMatching": true,
|
|
4368
|
+
},
|
|
4369
|
+
"type": "string",
|
|
4370
|
+
},
|
|
4371
|
+
},
|
|
4372
|
+
"structFields": [
|
|
4373
|
+
{
|
|
4374
|
+
"aliases": [],
|
|
4375
|
+
"apiName": "prop1",
|
|
4376
|
+
"displayMetadata": {
|
|
4377
|
+
"description": undefined,
|
|
4378
|
+
"displayName": "prop1",
|
|
4379
|
+
},
|
|
4380
|
+
"fieldType": {
|
|
4381
|
+
"string": {
|
|
4382
|
+
"analyzerOverride": undefined,
|
|
4383
|
+
"enableAsciiFolding": undefined,
|
|
4384
|
+
"isLongText": false,
|
|
4385
|
+
"supportsEfficientLeadingWildcard": false,
|
|
4386
|
+
"supportsExactMatching": true,
|
|
4387
|
+
},
|
|
4388
|
+
"type": "string",
|
|
4389
|
+
},
|
|
4390
|
+
"typeClasses": [],
|
|
4391
|
+
},
|
|
4392
|
+
{
|
|
4393
|
+
"aliases": [],
|
|
4394
|
+
"apiName": "prop2",
|
|
4395
|
+
"displayMetadata": {
|
|
4396
|
+
"description": undefined,
|
|
4397
|
+
"displayName": "prop2",
|
|
4398
|
+
},
|
|
4399
|
+
"fieldType": {
|
|
4400
|
+
"string": {
|
|
4401
|
+
"analyzerOverride": undefined,
|
|
4402
|
+
"enableAsciiFolding": undefined,
|
|
4403
|
+
"isLongText": false,
|
|
4404
|
+
"supportsEfficientLeadingWildcard": false,
|
|
4405
|
+
"supportsExactMatching": true,
|
|
4406
|
+
},
|
|
4407
|
+
"type": "string",
|
|
4408
|
+
},
|
|
4409
|
+
"typeClasses": [],
|
|
4410
|
+
},
|
|
4411
|
+
],
|
|
4412
|
+
},
|
|
4413
|
+
"type": "struct",
|
|
4414
|
+
},
|
|
4415
|
+
},
|
|
4416
|
+
"type": "array",
|
|
4417
|
+
},
|
|
4418
|
+
"typeClasses": [],
|
|
4419
|
+
"valueType": undefined,
|
|
4420
|
+
},
|
|
4421
|
+
},
|
|
4422
|
+
},
|
|
4423
|
+
},
|
|
4424
|
+
"randomnessKey": undefined,
|
|
4425
|
+
"valueTypes": {
|
|
4426
|
+
"valueTypes": [],
|
|
4427
|
+
},
|
|
4428
|
+
}
|
|
4429
|
+
`);
|
|
4430
|
+
});
|
|
3855
4431
|
});
|
|
3856
4432
|
//# sourceMappingURL=objects.test.js.map
|