@salesforce/lwc-adapters-uiapi 1.251.0 → 1.252.0
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/dist/main.js +851 -430
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -569,7 +569,7 @@ function createResourceParamsImpl(config, configMetadata) {
|
|
|
569
569
|
}
|
|
570
570
|
return resourceParams;
|
|
571
571
|
}
|
|
572
|
-
// engine version: 0.
|
|
572
|
+
// engine version: 0.153.0-32ab5c05
|
|
573
573
|
|
|
574
574
|
/**
|
|
575
575
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -7856,8 +7856,8 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
7856
7856
|
entry['__metadata'] = createLink$1(metadataKey);
|
|
7857
7857
|
}
|
|
7858
7858
|
|
|
7859
|
-
const VERSION$
|
|
7860
|
-
function validate$
|
|
7859
|
+
const VERSION$2v = "623aa9ce3a11031e35faf5671a41746e";
|
|
7860
|
+
function validate$21(obj, path = 'ListFilterByInfoRepresentation') {
|
|
7861
7861
|
const v_error = (() => {
|
|
7862
7862
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7863
7863
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7872,51 +7872,30 @@ function validate$1V(obj, path = 'ListColumnRepresentation') {
|
|
|
7872
7872
|
if (typeof obj_label !== 'string') {
|
|
7873
7873
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
7874
7874
|
}
|
|
7875
|
-
const
|
|
7876
|
-
const
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
if (typeof obj_lookupId !== 'string') {
|
|
7880
|
-
return new TypeError('Expected "string" but received "' + typeof obj_lookupId + '" (at "' + path_lookupId + '")');
|
|
7881
|
-
}
|
|
7882
|
-
})();
|
|
7883
|
-
if (obj_lookupId_union0_error != null) {
|
|
7884
|
-
obj_lookupId_union0 = obj_lookupId_union0_error.message;
|
|
7885
|
-
}
|
|
7886
|
-
let obj_lookupId_union1 = null;
|
|
7887
|
-
const obj_lookupId_union1_error = (() => {
|
|
7888
|
-
if (obj_lookupId !== null) {
|
|
7889
|
-
return new TypeError('Expected "null" but received "' + typeof obj_lookupId + '" (at "' + path_lookupId + '")');
|
|
7890
|
-
}
|
|
7891
|
-
})();
|
|
7892
|
-
if (obj_lookupId_union1_error != null) {
|
|
7893
|
-
obj_lookupId_union1 = obj_lookupId_union1_error.message;
|
|
7894
|
-
}
|
|
7895
|
-
if (obj_lookupId_union0 && obj_lookupId_union1) {
|
|
7896
|
-
let message = 'Object doesn\'t match union (at "' + path_lookupId + '")';
|
|
7897
|
-
message += '\n' + obj_lookupId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
7898
|
-
message += '\n' + obj_lookupId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
7899
|
-
return new TypeError(message);
|
|
7875
|
+
const obj_operandLabels = obj.operandLabels;
|
|
7876
|
+
const path_operandLabels = path + '.operandLabels';
|
|
7877
|
+
if (!ArrayIsArray(obj_operandLabels)) {
|
|
7878
|
+
return new TypeError('Expected "array" but received "' + typeof obj_operandLabels + '" (at "' + path_operandLabels + '")');
|
|
7900
7879
|
}
|
|
7901
|
-
|
|
7902
|
-
const
|
|
7903
|
-
const
|
|
7904
|
-
if (typeof
|
|
7905
|
-
return new TypeError('Expected "
|
|
7880
|
+
for (let i = 0; i < obj_operandLabels.length; i++) {
|
|
7881
|
+
const obj_operandLabels_item = obj_operandLabels[i];
|
|
7882
|
+
const path_operandLabels_item = path_operandLabels + '[' + i + ']';
|
|
7883
|
+
if (typeof obj_operandLabels_item !== 'string') {
|
|
7884
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operandLabels_item + '" (at "' + path_operandLabels_item + '")');
|
|
7906
7885
|
}
|
|
7907
7886
|
}
|
|
7908
|
-
const
|
|
7909
|
-
const
|
|
7910
|
-
if (typeof
|
|
7911
|
-
return new TypeError('Expected "
|
|
7887
|
+
const obj_operator = obj.operator;
|
|
7888
|
+
const path_operator = path + '.operator';
|
|
7889
|
+
if (typeof obj_operator !== 'string') {
|
|
7890
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
7912
7891
|
}
|
|
7913
7892
|
})();
|
|
7914
7893
|
return v_error === undefined ? null : v_error;
|
|
7915
7894
|
}
|
|
7916
|
-
const select$
|
|
7895
|
+
const select$36 = function ListFilterByInfoRepresentationSelect() {
|
|
7917
7896
|
return {
|
|
7918
7897
|
kind: 'Fragment',
|
|
7919
|
-
version: VERSION$
|
|
7898
|
+
version: VERSION$2v,
|
|
7920
7899
|
private: [],
|
|
7921
7900
|
selections: [
|
|
7922
7901
|
{
|
|
@@ -7928,87 +7907,99 @@ const select$35 = function ListColumnRepresentationSelect() {
|
|
|
7928
7907
|
kind: 'Scalar'
|
|
7929
7908
|
},
|
|
7930
7909
|
{
|
|
7931
|
-
name: '
|
|
7932
|
-
kind: 'Scalar'
|
|
7933
|
-
},
|
|
7934
|
-
{
|
|
7935
|
-
name: 'searchable',
|
|
7910
|
+
name: 'operandLabels',
|
|
7936
7911
|
kind: 'Scalar',
|
|
7937
|
-
|
|
7912
|
+
plural: true
|
|
7938
7913
|
},
|
|
7939
7914
|
{
|
|
7940
|
-
name: '
|
|
7915
|
+
name: 'operator',
|
|
7941
7916
|
kind: 'Scalar'
|
|
7942
7917
|
}
|
|
7943
7918
|
]
|
|
7944
7919
|
};
|
|
7945
7920
|
};
|
|
7946
7921
|
|
|
7947
|
-
const VERSION$
|
|
7948
|
-
function validate$
|
|
7922
|
+
const VERSION$2u = "f98dc7dec10408a9648ef8e5b37002a3";
|
|
7923
|
+
function validate$20(obj, path = 'ListInlineEditDetailsRepresentation') {
|
|
7949
7924
|
const v_error = (() => {
|
|
7950
7925
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7951
7926
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7952
7927
|
}
|
|
7953
|
-
const
|
|
7954
|
-
const
|
|
7955
|
-
|
|
7956
|
-
|
|
7928
|
+
const obj_message = obj.message;
|
|
7929
|
+
const path_message = path + '.message';
|
|
7930
|
+
let obj_message_union0 = null;
|
|
7931
|
+
const obj_message_union0_error = (() => {
|
|
7932
|
+
if (typeof obj_message !== 'string') {
|
|
7933
|
+
return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
|
|
7934
|
+
}
|
|
7935
|
+
})();
|
|
7936
|
+
if (obj_message_union0_error != null) {
|
|
7937
|
+
obj_message_union0 = obj_message_union0_error.message;
|
|
7957
7938
|
}
|
|
7958
|
-
|
|
7959
|
-
const
|
|
7960
|
-
|
|
7961
|
-
|
|
7939
|
+
let obj_message_union1 = null;
|
|
7940
|
+
const obj_message_union1_error = (() => {
|
|
7941
|
+
if (obj_message !== null) {
|
|
7942
|
+
return new TypeError('Expected "null" but received "' + typeof obj_message + '" (at "' + path_message + '")');
|
|
7943
|
+
}
|
|
7944
|
+
})();
|
|
7945
|
+
if (obj_message_union1_error != null) {
|
|
7946
|
+
obj_message_union1 = obj_message_union1_error.message;
|
|
7962
7947
|
}
|
|
7963
|
-
|
|
7964
|
-
|
|
7965
|
-
|
|
7966
|
-
|
|
7948
|
+
if (obj_message_union0 && obj_message_union1) {
|
|
7949
|
+
let message = 'Object doesn\'t match union (at "' + path_message + '")';
|
|
7950
|
+
message += '\n' + obj_message_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
7951
|
+
message += '\n' + obj_message_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
7952
|
+
return new TypeError(message);
|
|
7967
7953
|
}
|
|
7968
|
-
|
|
7969
|
-
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
7954
|
+
const obj_state = obj.state;
|
|
7955
|
+
const path_state = path + '.state';
|
|
7956
|
+
let obj_state_union0 = null;
|
|
7957
|
+
const obj_state_union0_error = (() => {
|
|
7958
|
+
if (typeof obj_state !== 'string') {
|
|
7959
|
+
return new TypeError('Expected "string" but received "' + typeof obj_state + '" (at "' + path_state + '")');
|
|
7973
7960
|
}
|
|
7961
|
+
})();
|
|
7962
|
+
if (obj_state_union0_error != null) {
|
|
7963
|
+
obj_state_union0 = obj_state_union0_error.message;
|
|
7974
7964
|
}
|
|
7975
|
-
|
|
7976
|
-
const
|
|
7977
|
-
|
|
7978
|
-
|
|
7965
|
+
let obj_state_union1 = null;
|
|
7966
|
+
const obj_state_union1_error = (() => {
|
|
7967
|
+
if (obj_state !== null) {
|
|
7968
|
+
return new TypeError('Expected "null" but received "' + typeof obj_state + '" (at "' + path_state + '")');
|
|
7969
|
+
}
|
|
7970
|
+
})();
|
|
7971
|
+
if (obj_state_union1_error != null) {
|
|
7972
|
+
obj_state_union1 = obj_state_union1_error.message;
|
|
7973
|
+
}
|
|
7974
|
+
if (obj_state_union0 && obj_state_union1) {
|
|
7975
|
+
let message = 'Object doesn\'t match union (at "' + path_state + '")';
|
|
7976
|
+
message += '\n' + obj_state_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
7977
|
+
message += '\n' + obj_state_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
7978
|
+
return new TypeError(message);
|
|
7979
7979
|
}
|
|
7980
7980
|
})();
|
|
7981
7981
|
return v_error === undefined ? null : v_error;
|
|
7982
7982
|
}
|
|
7983
|
-
const select$
|
|
7983
|
+
const select$35 = function ListInlineEditDetailsRepresentationSelect() {
|
|
7984
7984
|
return {
|
|
7985
7985
|
kind: 'Fragment',
|
|
7986
|
-
version: VERSION$
|
|
7986
|
+
version: VERSION$2u,
|
|
7987
7987
|
private: [],
|
|
7988
7988
|
selections: [
|
|
7989
7989
|
{
|
|
7990
|
-
name: '
|
|
7990
|
+
name: 'message',
|
|
7991
7991
|
kind: 'Scalar'
|
|
7992
7992
|
},
|
|
7993
7993
|
{
|
|
7994
|
-
name: '
|
|
7995
|
-
kind: 'Scalar'
|
|
7996
|
-
},
|
|
7997
|
-
{
|
|
7998
|
-
name: 'operandLabels',
|
|
7999
|
-
kind: 'Scalar',
|
|
8000
|
-
plural: true
|
|
8001
|
-
},
|
|
8002
|
-
{
|
|
8003
|
-
name: 'operator',
|
|
7994
|
+
name: 'state',
|
|
8004
7995
|
kind: 'Scalar'
|
|
8005
7996
|
}
|
|
8006
7997
|
]
|
|
8007
7998
|
};
|
|
8008
7999
|
};
|
|
8009
8000
|
|
|
8010
|
-
const VERSION$
|
|
8011
|
-
function validate$
|
|
8001
|
+
const VERSION$2t = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
8002
|
+
function validate$1$(obj, path = 'ListReferenceRepresentation') {
|
|
8012
8003
|
const v_error = (() => {
|
|
8013
8004
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8014
8005
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8078,10 +8069,10 @@ function validate$1T(obj, path = 'ListReferenceRepresentation') {
|
|
|
8078
8069
|
})();
|
|
8079
8070
|
return v_error === undefined ? null : v_error;
|
|
8080
8071
|
}
|
|
8081
|
-
const select$
|
|
8072
|
+
const select$34 = function ListReferenceRepresentationSelect() {
|
|
8082
8073
|
return {
|
|
8083
8074
|
kind: 'Fragment',
|
|
8084
|
-
version: VERSION$
|
|
8075
|
+
version: VERSION$2t,
|
|
8085
8076
|
private: [],
|
|
8086
8077
|
selections: [
|
|
8087
8078
|
{
|
|
@@ -8103,7 +8094,7 @@ const select$33 = function ListReferenceRepresentationSelect() {
|
|
|
8103
8094
|
]
|
|
8104
8095
|
};
|
|
8105
8096
|
};
|
|
8106
|
-
function equals$
|
|
8097
|
+
function equals$18(existing, incoming) {
|
|
8107
8098
|
const existing_objectApiName = existing.objectApiName;
|
|
8108
8099
|
const incoming_objectApiName = incoming.objectApiName;
|
|
8109
8100
|
if (!(existing_objectApiName === incoming_objectApiName)) {
|
|
@@ -8127,8 +8118,8 @@ function equals$17(existing, incoming) {
|
|
|
8127
8118
|
return true;
|
|
8128
8119
|
}
|
|
8129
8120
|
|
|
8130
|
-
const VERSION$
|
|
8131
|
-
function validate$
|
|
8121
|
+
const VERSION$2s = "f1519bef57e70ab7c5ef160dc5ff0c47";
|
|
8122
|
+
function validate$1_(obj, path = 'ListInfoShareRepresentation') {
|
|
8132
8123
|
const v_error = (() => {
|
|
8133
8124
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8134
8125
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8146,10 +8137,10 @@ function validate$1S(obj, path = 'ListInfoShareRepresentation') {
|
|
|
8146
8137
|
})();
|
|
8147
8138
|
return v_error === undefined ? null : v_error;
|
|
8148
8139
|
}
|
|
8149
|
-
const select$
|
|
8140
|
+
const select$33 = function ListInfoShareRepresentationSelect() {
|
|
8150
8141
|
return {
|
|
8151
8142
|
kind: 'Fragment',
|
|
8152
|
-
version: VERSION$
|
|
8143
|
+
version: VERSION$2s,
|
|
8153
8144
|
private: [],
|
|
8154
8145
|
selections: [
|
|
8155
8146
|
{
|
|
@@ -8164,8 +8155,8 @@ const select$32 = function ListInfoShareRepresentationSelect() {
|
|
|
8164
8155
|
};
|
|
8165
8156
|
};
|
|
8166
8157
|
|
|
8167
|
-
const VERSION$
|
|
8168
|
-
function validate$
|
|
8158
|
+
const VERSION$2r = "561657f32721ec1dac1601575b029640";
|
|
8159
|
+
function validate$1Z(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
8169
8160
|
const v_error = (() => {
|
|
8170
8161
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8171
8162
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8183,7 +8174,7 @@ function validate$1R(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
|
8183
8174
|
for (let i = 0; i < obj_shares.length; i++) {
|
|
8184
8175
|
const obj_shares_item = obj_shares[i];
|
|
8185
8176
|
const path_shares_item = path_shares + '[' + i + ']';
|
|
8186
|
-
const referencepath_shares_itemValidationError = validate$
|
|
8177
|
+
const referencepath_shares_itemValidationError = validate$1_(obj_shares_item, path_shares_item);
|
|
8187
8178
|
if (referencepath_shares_itemValidationError !== null) {
|
|
8188
8179
|
let message = 'Object doesn\'t match ListInfoShareRepresentation (at "' + path_shares_item + '")\n';
|
|
8189
8180
|
message += referencepath_shares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8193,11 +8184,11 @@ function validate$1R(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
|
8193
8184
|
})();
|
|
8194
8185
|
return v_error === undefined ? null : v_error;
|
|
8195
8186
|
}
|
|
8196
|
-
const select$
|
|
8197
|
-
const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$
|
|
8187
|
+
const select$32 = function ListInfoShareCategoryRepresentationSelect() {
|
|
8188
|
+
const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$33();
|
|
8198
8189
|
return {
|
|
8199
8190
|
kind: 'Fragment',
|
|
8200
|
-
version: VERSION$
|
|
8191
|
+
version: VERSION$2r,
|
|
8201
8192
|
private: [],
|
|
8202
8193
|
selections: [
|
|
8203
8194
|
{
|
|
@@ -8214,8 +8205,8 @@ const select$31 = function ListInfoShareCategoryRepresentationSelect() {
|
|
|
8214
8205
|
};
|
|
8215
8206
|
};
|
|
8216
8207
|
|
|
8217
|
-
const VERSION$
|
|
8218
|
-
function validate$
|
|
8208
|
+
const VERSION$2q = "32def9b631252c12b91a8209c1f49f5a";
|
|
8209
|
+
function validate$1Y(obj, path = 'ListOrderByInfoRepresentation') {
|
|
8219
8210
|
const v_error = (() => {
|
|
8220
8211
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8221
8212
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8259,10 +8250,10 @@ function validate$1Q(obj, path = 'ListOrderByInfoRepresentation') {
|
|
|
8259
8250
|
})();
|
|
8260
8251
|
return v_error === undefined ? null : v_error;
|
|
8261
8252
|
}
|
|
8262
|
-
const select$
|
|
8253
|
+
const select$31 = function ListOrderByInfoRepresentationSelect() {
|
|
8263
8254
|
return {
|
|
8264
8255
|
kind: 'Fragment',
|
|
8265
|
-
version: VERSION$
|
|
8256
|
+
version: VERSION$2q,
|
|
8266
8257
|
private: [],
|
|
8267
8258
|
selections: [
|
|
8268
8259
|
{
|
|
@@ -8280,7 +8271,7 @@ const select$30 = function ListOrderByInfoRepresentationSelect() {
|
|
|
8280
8271
|
]
|
|
8281
8272
|
};
|
|
8282
8273
|
};
|
|
8283
|
-
function equals$
|
|
8274
|
+
function equals$17(existing, incoming) {
|
|
8284
8275
|
const existing_isAscending = existing.isAscending;
|
|
8285
8276
|
const incoming_isAscending = incoming.isAscending;
|
|
8286
8277
|
if (!(existing_isAscending === incoming_isAscending)) {
|
|
@@ -8299,8 +8290,8 @@ function equals$16(existing, incoming) {
|
|
|
8299
8290
|
return true;
|
|
8300
8291
|
}
|
|
8301
8292
|
|
|
8302
|
-
const VERSION$
|
|
8303
|
-
function validate$
|
|
8293
|
+
const VERSION$2p = "2634258f216db34315c06d759a35676d";
|
|
8294
|
+
function validate$1X(obj, path = 'ListScopeEntityRepresentation') {
|
|
8304
8295
|
const v_error = (() => {
|
|
8305
8296
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8306
8297
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8318,10 +8309,10 @@ function validate$1P(obj, path = 'ListScopeEntityRepresentation') {
|
|
|
8318
8309
|
})();
|
|
8319
8310
|
return v_error === undefined ? null : v_error;
|
|
8320
8311
|
}
|
|
8321
|
-
const select$
|
|
8312
|
+
const select$30 = function ListScopeEntityRepresentationSelect() {
|
|
8322
8313
|
return {
|
|
8323
8314
|
kind: 'Fragment',
|
|
8324
|
-
version: VERSION$
|
|
8315
|
+
version: VERSION$2p,
|
|
8325
8316
|
private: [],
|
|
8326
8317
|
selections: [
|
|
8327
8318
|
{
|
|
@@ -8336,8 +8327,8 @@ const select$2$ = function ListScopeEntityRepresentationSelect() {
|
|
|
8336
8327
|
};
|
|
8337
8328
|
};
|
|
8338
8329
|
|
|
8339
|
-
const VERSION$
|
|
8340
|
-
function validate$
|
|
8330
|
+
const VERSION$2o = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
8331
|
+
function validate$1W(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
8341
8332
|
const v_error = (() => {
|
|
8342
8333
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8343
8334
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8360,10 +8351,10 @@ function validate$1O(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
|
8360
8351
|
})();
|
|
8361
8352
|
return v_error === undefined ? null : v_error;
|
|
8362
8353
|
}
|
|
8363
|
-
const select$
|
|
8354
|
+
const select$2$ = function ListScopeRelatedEntityRepresentationSelect() {
|
|
8364
8355
|
return {
|
|
8365
8356
|
kind: 'Fragment',
|
|
8366
|
-
version: VERSION$
|
|
8357
|
+
version: VERSION$2o,
|
|
8367
8358
|
private: [],
|
|
8368
8359
|
selections: [
|
|
8369
8360
|
{
|
|
@@ -8382,8 +8373,8 @@ const select$2_ = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
8382
8373
|
};
|
|
8383
8374
|
};
|
|
8384
8375
|
|
|
8385
|
-
const VERSION$
|
|
8386
|
-
function validate$
|
|
8376
|
+
const VERSION$2n = "2fe9814e7124b47f59da585483c1b3f9";
|
|
8377
|
+
function validate$1V(obj, path = 'ListScopeRepresentation') {
|
|
8387
8378
|
const v_error = (() => {
|
|
8388
8379
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8389
8380
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8397,7 +8388,7 @@ function validate$1N(obj, path = 'ListScopeRepresentation') {
|
|
|
8397
8388
|
const path_entity = path + '.entity';
|
|
8398
8389
|
let obj_entity_union0 = null;
|
|
8399
8390
|
const obj_entity_union0_error = (() => {
|
|
8400
|
-
const referencepath_entityValidationError = validate$
|
|
8391
|
+
const referencepath_entityValidationError = validate$1X(obj_entity, path_entity);
|
|
8401
8392
|
if (referencepath_entityValidationError !== null) {
|
|
8402
8393
|
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
8403
8394
|
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8452,7 +8443,7 @@ function validate$1N(obj, path = 'ListScopeRepresentation') {
|
|
|
8452
8443
|
const path_relatedEntity = path + '.relatedEntity';
|
|
8453
8444
|
let obj_relatedEntity_union0 = null;
|
|
8454
8445
|
const obj_relatedEntity_union0_error = (() => {
|
|
8455
|
-
const referencepath_relatedEntityValidationError = validate$
|
|
8446
|
+
const referencepath_relatedEntityValidationError = validate$1W(obj_relatedEntity, path_relatedEntity);
|
|
8456
8447
|
if (referencepath_relatedEntityValidationError !== null) {
|
|
8457
8448
|
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
8458
8449
|
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8480,12 +8471,12 @@ function validate$1N(obj, path = 'ListScopeRepresentation') {
|
|
|
8480
8471
|
})();
|
|
8481
8472
|
return v_error === undefined ? null : v_error;
|
|
8482
8473
|
}
|
|
8483
|
-
const select$
|
|
8484
|
-
const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$
|
|
8485
|
-
const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$
|
|
8474
|
+
const select$2_ = function ListScopeRepresentationSelect() {
|
|
8475
|
+
const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$30();
|
|
8476
|
+
const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$2$();
|
|
8486
8477
|
return {
|
|
8487
8478
|
kind: 'Fragment',
|
|
8488
|
-
version: VERSION$
|
|
8479
|
+
version: VERSION$2n,
|
|
8489
8480
|
private: [],
|
|
8490
8481
|
selections: [
|
|
8491
8482
|
{
|
|
@@ -8512,8 +8503,8 @@ const select$2Z = function ListScopeRepresentationSelect() {
|
|
|
8512
8503
|
};
|
|
8513
8504
|
};
|
|
8514
8505
|
|
|
8515
|
-
const VERSION$
|
|
8516
|
-
function validate$
|
|
8506
|
+
const VERSION$2m = "6506134f4d72fdfa349fe60ef1af2413";
|
|
8507
|
+
function validate$1U(obj, path = 'ListUserPreferenceRepresentation') {
|
|
8517
8508
|
const v_error = (() => {
|
|
8518
8509
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8519
8510
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8549,10 +8540,10 @@ function validate$1M(obj, path = 'ListUserPreferenceRepresentation') {
|
|
|
8549
8540
|
})();
|
|
8550
8541
|
return v_error === undefined ? null : v_error;
|
|
8551
8542
|
}
|
|
8552
|
-
const select$
|
|
8543
|
+
const select$2Z = function ListUserPreferenceRepresentationSelect() {
|
|
8553
8544
|
return {
|
|
8554
8545
|
kind: 'Fragment',
|
|
8555
|
-
version: VERSION$
|
|
8546
|
+
version: VERSION$2m,
|
|
8556
8547
|
private: [],
|
|
8557
8548
|
selections: [
|
|
8558
8549
|
{
|
|
@@ -8569,9 +8560,177 @@ const select$2Y = function ListUserPreferenceRepresentationSelect() {
|
|
|
8569
8560
|
};
|
|
8570
8561
|
};
|
|
8571
8562
|
|
|
8563
|
+
function validate$1T(obj, path = 'ListColumnInlineEditAttributesRepresentation') {
|
|
8564
|
+
const v_error = (() => {
|
|
8565
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8566
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
8567
|
+
}
|
|
8568
|
+
const obj_editable = obj.editable;
|
|
8569
|
+
const path_editable = path + '.editable';
|
|
8570
|
+
if (typeof obj_editable !== 'boolean') {
|
|
8571
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_editable + '" (at "' + path_editable + '")');
|
|
8572
|
+
}
|
|
8573
|
+
const obj_required = obj.required;
|
|
8574
|
+
const path_required = path + '.required';
|
|
8575
|
+
if (typeof obj_required !== 'boolean') {
|
|
8576
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_required + '" (at "' + path_required + '")');
|
|
8577
|
+
}
|
|
8578
|
+
})();
|
|
8579
|
+
return v_error === undefined ? null : v_error;
|
|
8580
|
+
}
|
|
8581
|
+
|
|
8582
|
+
function validate$1S(obj, path = 'ListColumnInlineEditAttributesRepresentationWrapper') {
|
|
8583
|
+
const v_error = (() => {
|
|
8584
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8585
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
8586
|
+
}
|
|
8587
|
+
const obj_keys = ObjectKeys(obj);
|
|
8588
|
+
for (let i = 0; i < obj_keys.length; i++) {
|
|
8589
|
+
const key = obj_keys[i];
|
|
8590
|
+
const obj_prop = obj[key];
|
|
8591
|
+
const path_prop = path + '["' + key + '"]';
|
|
8592
|
+
const referencepath_propValidationError = validate$1T(obj_prop, path_prop);
|
|
8593
|
+
if (referencepath_propValidationError !== null) {
|
|
8594
|
+
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentation (at "' + path_prop + '")\n';
|
|
8595
|
+
message += referencepath_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8596
|
+
return new TypeError(message);
|
|
8597
|
+
}
|
|
8598
|
+
}
|
|
8599
|
+
})();
|
|
8600
|
+
return v_error === undefined ? null : v_error;
|
|
8601
|
+
}
|
|
8602
|
+
|
|
8603
|
+
const VERSION$2l = "8aff6b0baf2e60a237e860236c4e1b70";
|
|
8604
|
+
function validate$1R(obj, path = 'ListColumnRepresentation') {
|
|
8605
|
+
const v_error = (() => {
|
|
8606
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8607
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
8608
|
+
}
|
|
8609
|
+
const obj_fieldApiName = obj.fieldApiName;
|
|
8610
|
+
const path_fieldApiName = path + '.fieldApiName';
|
|
8611
|
+
if (typeof obj_fieldApiName !== 'string') {
|
|
8612
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldApiName + '" (at "' + path_fieldApiName + '")');
|
|
8613
|
+
}
|
|
8614
|
+
if (obj.inlineEditAttributes !== undefined) {
|
|
8615
|
+
const obj_inlineEditAttributes = obj.inlineEditAttributes;
|
|
8616
|
+
const path_inlineEditAttributes = path + '.inlineEditAttributes';
|
|
8617
|
+
let obj_inlineEditAttributes_union0 = null;
|
|
8618
|
+
const obj_inlineEditAttributes_union0_error = (() => {
|
|
8619
|
+
const referencepath_inlineEditAttributesValidationError = validate$1S(obj_inlineEditAttributes, path_inlineEditAttributes);
|
|
8620
|
+
if (referencepath_inlineEditAttributesValidationError !== null) {
|
|
8621
|
+
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentationWrapper (at "' + path_inlineEditAttributes + '")\n';
|
|
8622
|
+
message += referencepath_inlineEditAttributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8623
|
+
return new TypeError(message);
|
|
8624
|
+
}
|
|
8625
|
+
})();
|
|
8626
|
+
if (obj_inlineEditAttributes_union0_error != null) {
|
|
8627
|
+
obj_inlineEditAttributes_union0 = obj_inlineEditAttributes_union0_error.message;
|
|
8628
|
+
}
|
|
8629
|
+
let obj_inlineEditAttributes_union1 = null;
|
|
8630
|
+
const obj_inlineEditAttributes_union1_error = (() => {
|
|
8631
|
+
if (obj_inlineEditAttributes !== null) {
|
|
8632
|
+
return new TypeError('Expected "null" but received "' + typeof obj_inlineEditAttributes + '" (at "' + path_inlineEditAttributes + '")');
|
|
8633
|
+
}
|
|
8634
|
+
})();
|
|
8635
|
+
if (obj_inlineEditAttributes_union1_error != null) {
|
|
8636
|
+
obj_inlineEditAttributes_union1 = obj_inlineEditAttributes_union1_error.message;
|
|
8637
|
+
}
|
|
8638
|
+
if (obj_inlineEditAttributes_union0 && obj_inlineEditAttributes_union1) {
|
|
8639
|
+
let message = 'Object doesn\'t match union (at "' + path_inlineEditAttributes + '")';
|
|
8640
|
+
message += '\n' + obj_inlineEditAttributes_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
8641
|
+
message += '\n' + obj_inlineEditAttributes_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
8642
|
+
return new TypeError(message);
|
|
8643
|
+
}
|
|
8644
|
+
}
|
|
8645
|
+
const obj_label = obj.label;
|
|
8646
|
+
const path_label = path + '.label';
|
|
8647
|
+
if (typeof obj_label !== 'string') {
|
|
8648
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
8649
|
+
}
|
|
8650
|
+
const obj_lookupId = obj.lookupId;
|
|
8651
|
+
const path_lookupId = path + '.lookupId';
|
|
8652
|
+
let obj_lookupId_union0 = null;
|
|
8653
|
+
const obj_lookupId_union0_error = (() => {
|
|
8654
|
+
if (typeof obj_lookupId !== 'string') {
|
|
8655
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lookupId + '" (at "' + path_lookupId + '")');
|
|
8656
|
+
}
|
|
8657
|
+
})();
|
|
8658
|
+
if (obj_lookupId_union0_error != null) {
|
|
8659
|
+
obj_lookupId_union0 = obj_lookupId_union0_error.message;
|
|
8660
|
+
}
|
|
8661
|
+
let obj_lookupId_union1 = null;
|
|
8662
|
+
const obj_lookupId_union1_error = (() => {
|
|
8663
|
+
if (obj_lookupId !== null) {
|
|
8664
|
+
return new TypeError('Expected "null" but received "' + typeof obj_lookupId + '" (at "' + path_lookupId + '")');
|
|
8665
|
+
}
|
|
8666
|
+
})();
|
|
8667
|
+
if (obj_lookupId_union1_error != null) {
|
|
8668
|
+
obj_lookupId_union1 = obj_lookupId_union1_error.message;
|
|
8669
|
+
}
|
|
8670
|
+
if (obj_lookupId_union0 && obj_lookupId_union1) {
|
|
8671
|
+
let message = 'Object doesn\'t match union (at "' + path_lookupId + '")';
|
|
8672
|
+
message += '\n' + obj_lookupId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
8673
|
+
message += '\n' + obj_lookupId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
8674
|
+
return new TypeError(message);
|
|
8675
|
+
}
|
|
8676
|
+
if (obj.searchable !== undefined) {
|
|
8677
|
+
const obj_searchable = obj.searchable;
|
|
8678
|
+
const path_searchable = path + '.searchable';
|
|
8679
|
+
if (typeof obj_searchable !== 'boolean') {
|
|
8680
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_searchable + '" (at "' + path_searchable + '")');
|
|
8681
|
+
}
|
|
8682
|
+
}
|
|
8683
|
+
const obj_sortable = obj.sortable;
|
|
8684
|
+
const path_sortable = path + '.sortable';
|
|
8685
|
+
if (typeof obj_sortable !== 'boolean') {
|
|
8686
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_sortable + '" (at "' + path_sortable + '")');
|
|
8687
|
+
}
|
|
8688
|
+
})();
|
|
8689
|
+
return v_error === undefined ? null : v_error;
|
|
8690
|
+
}
|
|
8691
|
+
const RepresentationType$_ = 'ListColumnRepresentation';
|
|
8692
|
+
function normalize$T(input, existing, path, luvio, store, timestamp) {
|
|
8693
|
+
return input;
|
|
8694
|
+
}
|
|
8695
|
+
const select$2Y = function ListColumnRepresentationSelect() {
|
|
8696
|
+
return {
|
|
8697
|
+
kind: 'Fragment',
|
|
8698
|
+
version: VERSION$2l,
|
|
8699
|
+
private: [],
|
|
8700
|
+
opaque: true
|
|
8701
|
+
};
|
|
8702
|
+
};
|
|
8703
|
+
function equals$16(existing, incoming) {
|
|
8704
|
+
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
8705
|
+
return false;
|
|
8706
|
+
}
|
|
8707
|
+
return true;
|
|
8708
|
+
}
|
|
8709
|
+
const ingest$1X = function ListColumnRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8710
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
8711
|
+
const validateError = validate$1R(input);
|
|
8712
|
+
if (validateError !== null) {
|
|
8713
|
+
throw validateError;
|
|
8714
|
+
}
|
|
8715
|
+
}
|
|
8716
|
+
const key = path.fullPath;
|
|
8717
|
+
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
8718
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$T, "UiApi", VERSION$2l, RepresentationType$_, equals$16);
|
|
8719
|
+
return createLink$1(key);
|
|
8720
|
+
};
|
|
8721
|
+
function getTypeCacheKeys$1_(rootKeySet, luvio, input, fullPathFactory) {
|
|
8722
|
+
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
8723
|
+
const rootKey = fullPathFactory();
|
|
8724
|
+
rootKeySet.set(rootKey, {
|
|
8725
|
+
namespace: keyPrefix,
|
|
8726
|
+
representationName: RepresentationType$_,
|
|
8727
|
+
mergeable: false
|
|
8728
|
+
});
|
|
8729
|
+
}
|
|
8730
|
+
|
|
8572
8731
|
const TTL$E = 900000;
|
|
8573
|
-
const VERSION$2k = "
|
|
8574
|
-
function validate$
|
|
8732
|
+
const VERSION$2k = "178c8b58f78e2720fe8846a667c7b294";
|
|
8733
|
+
function validate$1Q(obj, path = 'ListInfoRepresentation') {
|
|
8575
8734
|
const v_error = (() => {
|
|
8576
8735
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8577
8736
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8599,11 +8758,8 @@ function validate$1L(obj, path = 'ListInfoRepresentation') {
|
|
|
8599
8758
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
8600
8759
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
8601
8760
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
8602
|
-
|
|
8603
|
-
|
|
8604
|
-
let message = 'Object doesn\'t match ListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
8605
|
-
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8606
|
-
return new TypeError(message);
|
|
8761
|
+
if (typeof obj_displayColumns_item !== 'object') {
|
|
8762
|
+
return new TypeError('Expected "object" but received "' + typeof obj_displayColumns_item + '" (at "' + path_displayColumns_item + '")');
|
|
8607
8763
|
}
|
|
8608
8764
|
}
|
|
8609
8765
|
const obj_eTag = obj.eTag;
|
|
@@ -8645,13 +8801,44 @@ function validate$1L(obj, path = 'ListInfoRepresentation') {
|
|
|
8645
8801
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
8646
8802
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
8647
8803
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
8648
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
8804
|
+
const referencepath_filteredByInfo_itemValidationError = validate$21(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
8649
8805
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
8650
8806
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
8651
8807
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8652
8808
|
return new TypeError(message);
|
|
8653
8809
|
}
|
|
8654
8810
|
}
|
|
8811
|
+
if (obj.inlineEditDetails !== undefined) {
|
|
8812
|
+
const obj_inlineEditDetails = obj.inlineEditDetails;
|
|
8813
|
+
const path_inlineEditDetails = path + '.inlineEditDetails';
|
|
8814
|
+
let obj_inlineEditDetails_union0 = null;
|
|
8815
|
+
const obj_inlineEditDetails_union0_error = (() => {
|
|
8816
|
+
const referencepath_inlineEditDetailsValidationError = validate$20(obj_inlineEditDetails, path_inlineEditDetails);
|
|
8817
|
+
if (referencepath_inlineEditDetailsValidationError !== null) {
|
|
8818
|
+
let message = 'Object doesn\'t match ListInlineEditDetailsRepresentation (at "' + path_inlineEditDetails + '")\n';
|
|
8819
|
+
message += referencepath_inlineEditDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8820
|
+
return new TypeError(message);
|
|
8821
|
+
}
|
|
8822
|
+
})();
|
|
8823
|
+
if (obj_inlineEditDetails_union0_error != null) {
|
|
8824
|
+
obj_inlineEditDetails_union0 = obj_inlineEditDetails_union0_error.message;
|
|
8825
|
+
}
|
|
8826
|
+
let obj_inlineEditDetails_union1 = null;
|
|
8827
|
+
const obj_inlineEditDetails_union1_error = (() => {
|
|
8828
|
+
if (obj_inlineEditDetails !== null) {
|
|
8829
|
+
return new TypeError('Expected "null" but received "' + typeof obj_inlineEditDetails + '" (at "' + path_inlineEditDetails + '")');
|
|
8830
|
+
}
|
|
8831
|
+
})();
|
|
8832
|
+
if (obj_inlineEditDetails_union1_error != null) {
|
|
8833
|
+
obj_inlineEditDetails_union1 = obj_inlineEditDetails_union1_error.message;
|
|
8834
|
+
}
|
|
8835
|
+
if (obj_inlineEditDetails_union0 && obj_inlineEditDetails_union1) {
|
|
8836
|
+
let message = 'Object doesn\'t match union (at "' + path_inlineEditDetails + '")';
|
|
8837
|
+
message += '\n' + obj_inlineEditDetails_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
8838
|
+
message += '\n' + obj_inlineEditDetails_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
8839
|
+
return new TypeError(message);
|
|
8840
|
+
}
|
|
8841
|
+
}
|
|
8655
8842
|
const obj_label = obj.label;
|
|
8656
8843
|
const path_label = path + '.label';
|
|
8657
8844
|
let obj_label_union0 = null;
|
|
@@ -8680,7 +8867,7 @@ function validate$1L(obj, path = 'ListInfoRepresentation') {
|
|
|
8680
8867
|
}
|
|
8681
8868
|
const obj_listReference = obj.listReference;
|
|
8682
8869
|
const path_listReference = path + '.listReference';
|
|
8683
|
-
const referencepath_listReferenceValidationError = validate$
|
|
8870
|
+
const referencepath_listReferenceValidationError = validate$1$(obj_listReference, path_listReference);
|
|
8684
8871
|
if (referencepath_listReferenceValidationError !== null) {
|
|
8685
8872
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
8686
8873
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8695,7 +8882,7 @@ function validate$1L(obj, path = 'ListInfoRepresentation') {
|
|
|
8695
8882
|
for (let i = 0; i < obj_listShares.length; i++) {
|
|
8696
8883
|
const obj_listShares_item = obj_listShares[i];
|
|
8697
8884
|
const path_listShares_item = path_listShares + '[' + i + ']';
|
|
8698
|
-
const referencepath_listShares_itemValidationError = validate$
|
|
8885
|
+
const referencepath_listShares_itemValidationError = validate$1Z(obj_listShares_item, path_listShares_item);
|
|
8699
8886
|
if (referencepath_listShares_itemValidationError !== null) {
|
|
8700
8887
|
let message = 'Object doesn\'t match ListInfoShareCategoryRepresentation (at "' + path_listShares_item + '")\n';
|
|
8701
8888
|
message += referencepath_listShares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8725,7 +8912,7 @@ function validate$1L(obj, path = 'ListInfoRepresentation') {
|
|
|
8725
8912
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
8726
8913
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
8727
8914
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
8728
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
8915
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1Y(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
8729
8916
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
8730
8917
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
8731
8918
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8737,7 +8924,7 @@ function validate$1L(obj, path = 'ListInfoRepresentation') {
|
|
|
8737
8924
|
const path_scope = path + '.scope';
|
|
8738
8925
|
let obj_scope_union0 = null;
|
|
8739
8926
|
const obj_scope_union0_error = (() => {
|
|
8740
|
-
const referencepath_scopeValidationError = validate$
|
|
8927
|
+
const referencepath_scopeValidationError = validate$1V(obj_scope, path_scope);
|
|
8741
8928
|
if (referencepath_scopeValidationError !== null) {
|
|
8742
8929
|
let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
|
|
8743
8930
|
message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8777,7 +8964,7 @@ function validate$1L(obj, path = 'ListInfoRepresentation') {
|
|
|
8777
8964
|
}
|
|
8778
8965
|
const obj_userPreferences = obj.userPreferences;
|
|
8779
8966
|
const path_userPreferences = path + '.userPreferences';
|
|
8780
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
8967
|
+
const referencepath_userPreferencesValidationError = validate$1U(obj_userPreferences, path_userPreferences);
|
|
8781
8968
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
8782
8969
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
8783
8970
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8809,16 +8996,32 @@ function keyBuilderFromType$C(luvio, object) {
|
|
|
8809
8996
|
return keyBuilder$3c(luvio, keyParams);
|
|
8810
8997
|
}
|
|
8811
8998
|
function normalize$S(input, existing, path, luvio, store, timestamp) {
|
|
8999
|
+
const input_displayColumns = input.displayColumns;
|
|
9000
|
+
const input_displayColumns_id = path.fullPath + '__displayColumns';
|
|
9001
|
+
for (let i = 0; i < input_displayColumns.length; i++) {
|
|
9002
|
+
const input_displayColumns_item = input_displayColumns[i];
|
|
9003
|
+
let input_displayColumns_item_id = input_displayColumns_id + '__' + i;
|
|
9004
|
+
input_displayColumns[i] = ingest$1X(input_displayColumns_item, {
|
|
9005
|
+
fullPath: input_displayColumns_item_id,
|
|
9006
|
+
propertyName: i,
|
|
9007
|
+
parent: {
|
|
9008
|
+
data: input,
|
|
9009
|
+
key: path.fullPath,
|
|
9010
|
+
existing: existing,
|
|
9011
|
+
},
|
|
9012
|
+
ttl: path.ttl
|
|
9013
|
+
}, luvio, store, timestamp);
|
|
9014
|
+
}
|
|
8812
9015
|
return input;
|
|
8813
9016
|
}
|
|
8814
9017
|
const select$2X = function ListInfoRepresentationSelect() {
|
|
8815
|
-
const { selections:
|
|
8816
|
-
const { selections:
|
|
8817
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
8818
|
-
const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$
|
|
8819
|
-
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$
|
|
8820
|
-
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$
|
|
8821
|
-
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$
|
|
9018
|
+
const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$36();
|
|
9019
|
+
const { selections: ListInlineEditDetailsRepresentation__selections, opaque: ListInlineEditDetailsRepresentation__opaque, } = select$35();
|
|
9020
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$34();
|
|
9021
|
+
const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$32();
|
|
9022
|
+
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$31();
|
|
9023
|
+
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$2_();
|
|
9024
|
+
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$2Z();
|
|
8822
9025
|
return {
|
|
8823
9026
|
kind: 'Fragment',
|
|
8824
9027
|
version: VERSION$2k,
|
|
@@ -8840,9 +9043,9 @@ const select$2X = function ListInfoRepresentationSelect() {
|
|
|
8840
9043
|
},
|
|
8841
9044
|
{
|
|
8842
9045
|
name: 'displayColumns',
|
|
8843
|
-
kind: '
|
|
9046
|
+
kind: 'Link',
|
|
8844
9047
|
plural: true,
|
|
8845
|
-
|
|
9048
|
+
fragment: select$2Y()
|
|
8846
9049
|
},
|
|
8847
9050
|
{
|
|
8848
9051
|
name: 'filterLogicString',
|
|
@@ -8854,6 +9057,13 @@ const select$2X = function ListInfoRepresentationSelect() {
|
|
|
8854
9057
|
plural: true,
|
|
8855
9058
|
selections: ListFilterByInfoRepresentation__selections
|
|
8856
9059
|
},
|
|
9060
|
+
{
|
|
9061
|
+
name: 'inlineEditDetails',
|
|
9062
|
+
kind: 'Object',
|
|
9063
|
+
nullable: true,
|
|
9064
|
+
selections: ListInlineEditDetailsRepresentation__selections,
|
|
9065
|
+
required: false
|
|
9066
|
+
},
|
|
8857
9067
|
{
|
|
8858
9068
|
name: 'label',
|
|
8859
9069
|
kind: 'Scalar'
|
|
@@ -8922,7 +9132,7 @@ function equals$15(existing, incoming) {
|
|
|
8922
9132
|
}
|
|
8923
9133
|
const ingest$1W = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8924
9134
|
if (process.env.NODE_ENV !== 'production') {
|
|
8925
|
-
const validateError = validate$
|
|
9135
|
+
const validateError = validate$1Q(input);
|
|
8926
9136
|
if (validateError !== null) {
|
|
8927
9137
|
throw validateError;
|
|
8928
9138
|
}
|
|
@@ -8940,6 +9150,10 @@ function getTypeCacheKeys$1Z(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8940
9150
|
representationName: RepresentationType$Z,
|
|
8941
9151
|
mergeable: false
|
|
8942
9152
|
});
|
|
9153
|
+
const input_displayColumns_length = input.displayColumns.length;
|
|
9154
|
+
for (let i = 0; i < input_displayColumns_length; i++) {
|
|
9155
|
+
getTypeCacheKeys$1_(rootKeySet, luvio, input.displayColumns[i], () => '');
|
|
9156
|
+
}
|
|
8943
9157
|
}
|
|
8944
9158
|
|
|
8945
9159
|
const RECORD_ID_DECODER = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456';
|
|
@@ -8988,7 +9202,7 @@ function toSortedStringArray(value) {
|
|
|
8988
9202
|
}
|
|
8989
9203
|
|
|
8990
9204
|
const VERSION$2j = "d1e589a127fb1060c89070cdb6f500b2";
|
|
8991
|
-
function validate$
|
|
9205
|
+
function validate$1P(obj, path = 'RecordTypeInfoRepresentation') {
|
|
8992
9206
|
const v_error = (() => {
|
|
8993
9207
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8994
9208
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9080,7 +9294,7 @@ function equals$14(existing, incoming) {
|
|
|
9080
9294
|
}
|
|
9081
9295
|
|
|
9082
9296
|
const VERSION$2i = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
9083
|
-
function validate$
|
|
9297
|
+
function validate$1O(obj, path = 'FieldValueRepresentation') {
|
|
9084
9298
|
const v_error = (() => {
|
|
9085
9299
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9086
9300
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9227,7 +9441,7 @@ function equals$13(existing, incoming) {
|
|
|
9227
9441
|
}
|
|
9228
9442
|
const ingest$1V = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9229
9443
|
if (process.env.NODE_ENV !== 'production') {
|
|
9230
|
-
const validateError = validate$
|
|
9444
|
+
const validateError = validate$1O(input);
|
|
9231
9445
|
if (validateError !== null) {
|
|
9232
9446
|
throw validateError;
|
|
9233
9447
|
}
|
|
@@ -9278,7 +9492,7 @@ const getTypeCacheKeys$1X = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
9278
9492
|
|
|
9279
9493
|
const TTL$D = 120000;
|
|
9280
9494
|
const VERSION$2h = "79cb5ac9f44542f683d00245fdfe500d";
|
|
9281
|
-
function validate$
|
|
9495
|
+
function validate$1N(obj, path = 'RecordCollectionRepresentation') {
|
|
9282
9496
|
const v_error = (() => {
|
|
9283
9497
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9284
9498
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9551,7 +9765,7 @@ function equals$12(existing, incoming) {
|
|
|
9551
9765
|
}
|
|
9552
9766
|
const ingest$1U = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9553
9767
|
if (process.env.NODE_ENV !== 'production') {
|
|
9554
|
-
const validateError = validate$
|
|
9768
|
+
const validateError = validate$1N(input);
|
|
9555
9769
|
if (validateError !== null) {
|
|
9556
9770
|
throw validateError;
|
|
9557
9771
|
}
|
|
@@ -9587,7 +9801,7 @@ const keyBuilderFromType$B = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
9587
9801
|
|
|
9588
9802
|
const TTL$C = 30000;
|
|
9589
9803
|
const VERSION$2g = "98c5b18512e48ca8d28727549507e4ba";
|
|
9590
|
-
function validate$
|
|
9804
|
+
function validate$1M(obj, path = 'RecordRepresentation') {
|
|
9591
9805
|
const v_error = (() => {
|
|
9592
9806
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9593
9807
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9717,7 +9931,7 @@ function validate$1H(obj, path = 'RecordRepresentation') {
|
|
|
9717
9931
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
9718
9932
|
let obj_recordTypeInfo_union0 = null;
|
|
9719
9933
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
9720
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
9934
|
+
const referencepath_recordTypeInfoValidationError = validate$1P(obj_recordTypeInfo, path_recordTypeInfo);
|
|
9721
9935
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
9722
9936
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
9723
9937
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12410,7 +12624,7 @@ function normalize$P(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
12410
12624
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
12411
12625
|
return (input, path, luvio, store, timestamp) => {
|
|
12412
12626
|
if (process.env.NODE_ENV !== 'production') {
|
|
12413
|
-
const validateError = validate$
|
|
12627
|
+
const validateError = validate$1O(input);
|
|
12414
12628
|
if (validateError !== null) {
|
|
12415
12629
|
throw validateError;
|
|
12416
12630
|
}
|
|
@@ -12503,7 +12717,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
12503
12717
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
12504
12718
|
return (input, path, luvio, store, timestamp) => {
|
|
12505
12719
|
if (process.env.NODE_ENV !== 'production') {
|
|
12506
|
-
const validateError = validate$
|
|
12720
|
+
const validateError = validate$1M(input);
|
|
12507
12721
|
if (validateError !== null) {
|
|
12508
12722
|
throw validateError;
|
|
12509
12723
|
}
|
|
@@ -13463,7 +13677,7 @@ function revertPaginationOptimization(variables) {
|
|
|
13463
13677
|
|
|
13464
13678
|
const TTL$B = 30000;
|
|
13465
13679
|
const VERSION$2e = "b8270d0d7a5953587f98a9625cad85db";
|
|
13466
|
-
function validate$
|
|
13680
|
+
function validate$1L(obj, path = 'ListRecordCollectionRepresentation') {
|
|
13467
13681
|
const v_error = (() => {
|
|
13468
13682
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13469
13683
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13523,7 +13737,7 @@ function validate$1G(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
13523
13737
|
}
|
|
13524
13738
|
const obj_listReference = obj.listReference;
|
|
13525
13739
|
const path_listReference = path + '.listReference';
|
|
13526
|
-
const referencepath_listReferenceValidationError = validate$
|
|
13740
|
+
const referencepath_listReferenceValidationError = validate$1$(obj_listReference, path_listReference);
|
|
13527
13741
|
if (referencepath_listReferenceValidationError !== null) {
|
|
13528
13742
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
13529
13743
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13761,7 +13975,7 @@ function normalize$O(input, existing, path, luvio, store, timestamp) {
|
|
|
13761
13975
|
return input;
|
|
13762
13976
|
}
|
|
13763
13977
|
const select$2S = function ListRecordCollectionRepresentationSelect(paginationParams) {
|
|
13764
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
13978
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$34();
|
|
13765
13979
|
return {
|
|
13766
13980
|
kind: 'Fragment',
|
|
13767
13981
|
reader: true,
|
|
@@ -13878,7 +14092,7 @@ const dynamicSelect$7 = function dynamicListRecordCollectionRepresentationSelect
|
|
|
13878
14092
|
kind: 'Link',
|
|
13879
14093
|
fragment: select$2T()
|
|
13880
14094
|
} : params.records;
|
|
13881
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
14095
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$34();
|
|
13882
14096
|
return {
|
|
13883
14097
|
kind: 'Fragment',
|
|
13884
14098
|
reader: true,
|
|
@@ -13993,7 +14207,7 @@ function equals$10(existing, incoming) {
|
|
|
13993
14207
|
}
|
|
13994
14208
|
const existing_listReference = existing.listReference;
|
|
13995
14209
|
const incoming_listReference = incoming.listReference;
|
|
13996
|
-
if (!(equals$
|
|
14210
|
+
if (!(equals$18(existing_listReference, incoming_listReference))) {
|
|
13997
14211
|
return false;
|
|
13998
14212
|
}
|
|
13999
14213
|
const existing_nextPageToken = existing.nextPageToken;
|
|
@@ -14062,7 +14276,7 @@ function equals$10(existing, incoming) {
|
|
|
14062
14276
|
}
|
|
14063
14277
|
const ingest$1S = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14064
14278
|
if (process.env.NODE_ENV !== 'production') {
|
|
14065
|
-
const validateError = validate$
|
|
14279
|
+
const validateError = validate$1L(input);
|
|
14066
14280
|
if (validateError !== null) {
|
|
14067
14281
|
throw validateError;
|
|
14068
14282
|
}
|
|
@@ -14155,7 +14369,7 @@ function getTypeCacheKeys$1U(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
14155
14369
|
}
|
|
14156
14370
|
|
|
14157
14371
|
const VERSION$2d = "cf8d2eb042188974da26ffe6618cfd07";
|
|
14158
|
-
function validate$
|
|
14372
|
+
function validate$1K(obj, path = 'ListUiRepresentation') {
|
|
14159
14373
|
const v_error = (() => {
|
|
14160
14374
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14161
14375
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14261,7 +14475,7 @@ function equals$$(existing, incoming) {
|
|
|
14261
14475
|
}
|
|
14262
14476
|
const ingest$1R = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14263
14477
|
if (process.env.NODE_ENV !== 'production') {
|
|
14264
|
-
const validateError = validate$
|
|
14478
|
+
const validateError = validate$1K(input);
|
|
14265
14479
|
if (validateError !== null) {
|
|
14266
14480
|
throw validateError;
|
|
14267
14481
|
}
|
|
@@ -14801,7 +15015,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
14801
15015
|
}
|
|
14802
15016
|
|
|
14803
15017
|
const VERSION$2c = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
14804
|
-
function validate$
|
|
15018
|
+
function validate$1J(obj, path = 'ListViewSummaryRepresentation') {
|
|
14805
15019
|
const v_error = (() => {
|
|
14806
15020
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14807
15021
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14913,7 +15127,7 @@ function equals$_(existing, incoming) {
|
|
|
14913
15127
|
}
|
|
14914
15128
|
const ingest$1Q = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14915
15129
|
if (process.env.NODE_ENV !== 'production') {
|
|
14916
|
-
const validateError = validate$
|
|
15130
|
+
const validateError = validate$1J(input);
|
|
14917
15131
|
if (validateError !== null) {
|
|
14918
15132
|
throw validateError;
|
|
14919
15133
|
}
|
|
@@ -14934,7 +15148,7 @@ function getTypeCacheKeys$1S(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
14934
15148
|
}
|
|
14935
15149
|
|
|
14936
15150
|
const VERSION$2b = "f4c79fe066da3558499d5ee88c72abcd";
|
|
14937
|
-
function validate$
|
|
15151
|
+
function validate$1I(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
14938
15152
|
const v_error = (() => {
|
|
14939
15153
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14940
15154
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15318,7 +15532,7 @@ function equals$Z(existing, incoming) {
|
|
|
15318
15532
|
}
|
|
15319
15533
|
const ingest$1P = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15320
15534
|
if (process.env.NODE_ENV !== 'production') {
|
|
15321
|
-
const validateError = validate$
|
|
15535
|
+
const validateError = validate$1I(input);
|
|
15322
15536
|
if (validateError !== null) {
|
|
15323
15537
|
throw validateError;
|
|
15324
15538
|
}
|
|
@@ -16455,7 +16669,7 @@ const factory$j = (luvio) => {
|
|
|
16455
16669
|
}, { contextId: contextId$6 });
|
|
16456
16670
|
};
|
|
16457
16671
|
|
|
16458
|
-
function validate$
|
|
16672
|
+
function validate$1H(obj, path = 'ChildRelationshipRepresentation') {
|
|
16459
16673
|
const v_error = (() => {
|
|
16460
16674
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16461
16675
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16503,7 +16717,7 @@ function validate$1C(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
16503
16717
|
return v_error === undefined ? null : v_error;
|
|
16504
16718
|
}
|
|
16505
16719
|
|
|
16506
|
-
function validate$
|
|
16720
|
+
function validate$1G(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
16507
16721
|
const v_error = (() => {
|
|
16508
16722
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16509
16723
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16534,7 +16748,7 @@ function validate$1B(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
16534
16748
|
return v_error === undefined ? null : v_error;
|
|
16535
16749
|
}
|
|
16536
16750
|
|
|
16537
|
-
function validate$
|
|
16751
|
+
function validate$1F(obj, path = 'ReferenceToInfoRepresentation') {
|
|
16538
16752
|
const v_error = (() => {
|
|
16539
16753
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16540
16754
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16560,7 +16774,7 @@ function validate$1A(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
16560
16774
|
return v_error === undefined ? null : v_error;
|
|
16561
16775
|
}
|
|
16562
16776
|
|
|
16563
|
-
function validate$
|
|
16777
|
+
function validate$1E(obj, path = 'FieldRepresentation') {
|
|
16564
16778
|
const v_error = (() => {
|
|
16565
16779
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16566
16780
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16720,7 +16934,7 @@ function validate$1z(obj, path = 'FieldRepresentation') {
|
|
|
16720
16934
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
16721
16935
|
let obj_filteredLookupInfo_union0 = null;
|
|
16722
16936
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
16723
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
16937
|
+
const referencepath_filteredLookupInfoValidationError = validate$1G(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
16724
16938
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
16725
16939
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' + path_filteredLookupInfo + '")\n';
|
|
16726
16940
|
message += referencepath_filteredLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16845,7 +17059,7 @@ function validate$1z(obj, path = 'FieldRepresentation') {
|
|
|
16845
17059
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
16846
17060
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
16847
17061
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
16848
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
17062
|
+
const referencepath_referenceToInfos_itemValidationError = validate$1F(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
16849
17063
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
16850
17064
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' + path_referenceToInfos_item + '")\n';
|
|
16851
17065
|
message += referencepath_referenceToInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16912,7 +17126,7 @@ function validate$1z(obj, path = 'FieldRepresentation') {
|
|
|
16912
17126
|
return v_error === undefined ? null : v_error;
|
|
16913
17127
|
}
|
|
16914
17128
|
|
|
16915
|
-
function validate$
|
|
17129
|
+
function validate$1D(obj, path = 'ThemeInfoRepresentation') {
|
|
16916
17130
|
const v_error = (() => {
|
|
16917
17131
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16918
17132
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16954,7 +17168,7 @@ function validate$1y(obj, path = 'ThemeInfoRepresentation') {
|
|
|
16954
17168
|
|
|
16955
17169
|
const TTL$A = 900000;
|
|
16956
17170
|
const VERSION$2a = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
16957
|
-
function validate$
|
|
17171
|
+
function validate$1C(obj, path = 'ObjectInfoRepresentation') {
|
|
16958
17172
|
const v_error = (() => {
|
|
16959
17173
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16960
17174
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17024,7 +17238,7 @@ function validate$1x(obj, path = 'ObjectInfoRepresentation') {
|
|
|
17024
17238
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
17025
17239
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
17026
17240
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
17027
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
17241
|
+
const referencepath_childRelationships_itemValidationError = validate$1H(obj_childRelationships_item, path_childRelationships_item);
|
|
17028
17242
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
17029
17243
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' + path_childRelationships_item + '")\n';
|
|
17030
17244
|
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17106,7 +17320,7 @@ function validate$1x(obj, path = 'ObjectInfoRepresentation') {
|
|
|
17106
17320
|
const key = obj_fields_keys[i];
|
|
17107
17321
|
const obj_fields_prop = obj_fields[key];
|
|
17108
17322
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
17109
|
-
const referencepath_fields_propValidationError = validate$
|
|
17323
|
+
const referencepath_fields_propValidationError = validate$1E(obj_fields_prop, path_fields_prop);
|
|
17110
17324
|
if (referencepath_fields_propValidationError !== null) {
|
|
17111
17325
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
17112
17326
|
message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17186,7 +17400,7 @@ function validate$1x(obj, path = 'ObjectInfoRepresentation') {
|
|
|
17186
17400
|
const key = obj_recordTypeInfos_keys[i];
|
|
17187
17401
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
17188
17402
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
17189
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
17403
|
+
const referencepath_recordTypeInfos_propValidationError = validate$1P(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
17190
17404
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
17191
17405
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfos_prop + '")\n';
|
|
17192
17406
|
message += referencepath_recordTypeInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17202,7 +17416,7 @@ function validate$1x(obj, path = 'ObjectInfoRepresentation') {
|
|
|
17202
17416
|
const path_themeInfo = path + '.themeInfo';
|
|
17203
17417
|
let obj_themeInfo_union0 = null;
|
|
17204
17418
|
const obj_themeInfo_union0_error = (() => {
|
|
17205
|
-
const referencepath_themeInfoValidationError = validate$
|
|
17419
|
+
const referencepath_themeInfoValidationError = validate$1D(obj_themeInfo, path_themeInfo);
|
|
17206
17420
|
if (referencepath_themeInfoValidationError !== null) {
|
|
17207
17421
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
17208
17422
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17361,7 +17575,7 @@ function equals$Y(existing, incoming) {
|
|
|
17361
17575
|
}
|
|
17362
17576
|
const ingest$1O = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17363
17577
|
if (process.env.NODE_ENV !== 'production') {
|
|
17364
|
-
const validateError = validate$
|
|
17578
|
+
const validateError = validate$1C(input);
|
|
17365
17579
|
if (validateError !== null) {
|
|
17366
17580
|
throw validateError;
|
|
17367
17581
|
}
|
|
@@ -17522,7 +17736,7 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
|
|
|
17522
17736
|
buildCachedSnapshotCachePolicy$O, buildNetworkSnapshotCachePolicy$O);
|
|
17523
17737
|
};
|
|
17524
17738
|
|
|
17525
|
-
function validate$
|
|
17739
|
+
function validate$1B(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
17526
17740
|
const v_error = (() => {
|
|
17527
17741
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17528
17742
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17570,7 +17784,7 @@ var DiscriminatorValues$5;
|
|
|
17570
17784
|
DiscriminatorValues["Field"] = "Field";
|
|
17571
17785
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
17572
17786
|
})(DiscriminatorValues$5 || (DiscriminatorValues$5 = {}));
|
|
17573
|
-
function validate$
|
|
17787
|
+
function validate$1A(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
17574
17788
|
const v_error = (() => {
|
|
17575
17789
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17576
17790
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17610,7 +17824,7 @@ function validate$1v(obj, path = 'AbstractRecordLayoutComponentRepresentation')
|
|
|
17610
17824
|
return v_error === undefined ? null : v_error;
|
|
17611
17825
|
}
|
|
17612
17826
|
|
|
17613
|
-
function validate$
|
|
17827
|
+
function validate$1z(obj, path = 'RecordLayoutItemRepresentation') {
|
|
17614
17828
|
const v_error = (() => {
|
|
17615
17829
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17616
17830
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17638,7 +17852,7 @@ function validate$1u(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
17638
17852
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
17639
17853
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
17640
17854
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
17641
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
17855
|
+
const referencepath_layoutComponents_itemValidationError = validate$1A(obj_layoutComponents_item, path_layoutComponents_item);
|
|
17642
17856
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
17643
17857
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' + path_layoutComponents_item + '")\n';
|
|
17644
17858
|
message += referencepath_layoutComponents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17685,7 +17899,7 @@ function validate$1u(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
17685
17899
|
return v_error === undefined ? null : v_error;
|
|
17686
17900
|
}
|
|
17687
17901
|
|
|
17688
|
-
function validate$
|
|
17902
|
+
function validate$1y(obj, path = 'RecordLayoutRowRepresentation') {
|
|
17689
17903
|
const v_error = (() => {
|
|
17690
17904
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17691
17905
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17698,7 +17912,7 @@ function validate$1t(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
17698
17912
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
17699
17913
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
17700
17914
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
17701
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
17915
|
+
const referencepath_layoutItems_itemValidationError = validate$1z(obj_layoutItems_item, path_layoutItems_item);
|
|
17702
17916
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
17703
17917
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' + path_layoutItems_item + '")\n';
|
|
17704
17918
|
message += referencepath_layoutItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17709,7 +17923,7 @@ function validate$1t(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
17709
17923
|
return v_error === undefined ? null : v_error;
|
|
17710
17924
|
}
|
|
17711
17925
|
|
|
17712
|
-
function validate$
|
|
17926
|
+
function validate$1x(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
17713
17927
|
const v_error = (() => {
|
|
17714
17928
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17715
17929
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17784,7 +17998,7 @@ function validate$1s(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
17784
17998
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
17785
17999
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
17786
18000
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
17787
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
18001
|
+
const referencepath_layoutRows_itemValidationError = validate$1y(obj_layoutRows_item, path_layoutRows_item);
|
|
17788
18002
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
17789
18003
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' + path_layoutRows_item + '")\n';
|
|
17790
18004
|
message += referencepath_layoutRows_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17807,7 +18021,7 @@ function validate$1s(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
17807
18021
|
|
|
17808
18022
|
const TTL$z = 900000;
|
|
17809
18023
|
const VERSION$29 = "fb515e25a89ca1ec154dc865e72b913a";
|
|
17810
|
-
function validate$
|
|
18024
|
+
function validate$1w(obj, path = 'RecordLayoutRepresentation') {
|
|
17811
18025
|
const v_error = (() => {
|
|
17812
18026
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17813
18027
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17913,7 +18127,7 @@ function validate$1r(obj, path = 'RecordLayoutRepresentation') {
|
|
|
17913
18127
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
17914
18128
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
17915
18129
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
17916
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
18130
|
+
const referencepath_saveOptions_itemValidationError = validate$1B(obj_saveOptions_item, path_saveOptions_item);
|
|
17917
18131
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
17918
18132
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' + path_saveOptions_item + '")\n';
|
|
17919
18133
|
message += referencepath_saveOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17928,7 +18142,7 @@ function validate$1r(obj, path = 'RecordLayoutRepresentation') {
|
|
|
17928
18142
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
17929
18143
|
const obj_sections_item = obj_sections[i];
|
|
17930
18144
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
17931
|
-
const referencepath_sections_itemValidationError = validate$
|
|
18145
|
+
const referencepath_sections_itemValidationError = validate$1x(obj_sections_item, path_sections_item);
|
|
17932
18146
|
if (referencepath_sections_itemValidationError !== null) {
|
|
17933
18147
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' + path_sections_item + '")\n';
|
|
17934
18148
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18003,7 +18217,7 @@ function equals$X(existing, incoming) {
|
|
|
18003
18217
|
}
|
|
18004
18218
|
const ingest$1N = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18005
18219
|
if (process.env.NODE_ENV !== 'production') {
|
|
18006
|
-
const validateError = validate$
|
|
18220
|
+
const validateError = validate$1w(input);
|
|
18007
18221
|
if (validateError !== null) {
|
|
18008
18222
|
throw validateError;
|
|
18009
18223
|
}
|
|
@@ -18045,7 +18259,7 @@ function getRecordId18Array(value) {
|
|
|
18045
18259
|
return dedupe(array).sort();
|
|
18046
18260
|
}
|
|
18047
18261
|
|
|
18048
|
-
function validate$
|
|
18262
|
+
function validate$1v(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
18049
18263
|
const v_error = (() => {
|
|
18050
18264
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18051
18265
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18066,7 +18280,7 @@ function validate$1q(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
18066
18280
|
|
|
18067
18281
|
const TTL$y = 900000;
|
|
18068
18282
|
const VERSION$28 = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
18069
|
-
function validate$
|
|
18283
|
+
function validate$1u(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
18070
18284
|
const v_error = (() => {
|
|
18071
18285
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18072
18286
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18106,7 +18320,7 @@ function validate$1p(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
18106
18320
|
const key = obj_sectionUserStates_keys[i];
|
|
18107
18321
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
18108
18322
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
18109
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
18323
|
+
const referencepath_sectionUserStates_propValidationError = validate$1v(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
18110
18324
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
18111
18325
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' + path_sectionUserStates_prop + '")\n';
|
|
18112
18326
|
message += referencepath_sectionUserStates_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18163,7 +18377,7 @@ function equals$W(existing, incoming) {
|
|
|
18163
18377
|
}
|
|
18164
18378
|
const ingest$1M = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18165
18379
|
if (process.env.NODE_ENV !== 'production') {
|
|
18166
|
-
const validateError = validate$
|
|
18380
|
+
const validateError = validate$1u(input);
|
|
18167
18381
|
if (validateError !== null) {
|
|
18168
18382
|
throw validateError;
|
|
18169
18383
|
}
|
|
@@ -18185,7 +18399,7 @@ function getTypeCacheKeys$1O(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
18185
18399
|
|
|
18186
18400
|
const TTL$x = 900000;
|
|
18187
18401
|
const VERSION$27 = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
18188
|
-
function validate$
|
|
18402
|
+
function validate$1t(obj, path = 'RecordUiRepresentation') {
|
|
18189
18403
|
const v_error = (() => {
|
|
18190
18404
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18191
18405
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18447,7 +18661,7 @@ function equals$V(existing, incoming) {
|
|
|
18447
18661
|
}
|
|
18448
18662
|
const ingest$1L = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18449
18663
|
if (process.env.NODE_ENV !== 'production') {
|
|
18450
|
-
const validateError = validate$
|
|
18664
|
+
const validateError = validate$1t(input);
|
|
18451
18665
|
if (validateError !== null) {
|
|
18452
18666
|
throw validateError;
|
|
18453
18667
|
}
|
|
@@ -19564,7 +19778,7 @@ const factory$h = (luvio) => {
|
|
|
19564
19778
|
};
|
|
19565
19779
|
|
|
19566
19780
|
const VERSION$24 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
19567
|
-
function validate$
|
|
19781
|
+
function validate$1q(obj, path = 'QuickActionExecutionRepresentation') {
|
|
19568
19782
|
const v_error = (() => {
|
|
19569
19783
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19570
19784
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19737,7 +19951,7 @@ function equals$S(existing, incoming) {
|
|
|
19737
19951
|
}
|
|
19738
19952
|
const ingest$1I = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
19739
19953
|
if (process.env.NODE_ENV !== 'production') {
|
|
19740
|
-
const validateError = validate$
|
|
19954
|
+
const validateError = validate$1q(input);
|
|
19741
19955
|
if (validateError !== null) {
|
|
19742
19956
|
throw validateError;
|
|
19743
19957
|
}
|
|
@@ -19759,7 +19973,7 @@ function getTypeCacheKeys$1L(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
19759
19973
|
|
|
19760
19974
|
const TTL$w = 900000;
|
|
19761
19975
|
const VERSION$23 = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
19762
|
-
function validate$
|
|
19976
|
+
function validate$1p(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
19763
19977
|
const v_error = (() => {
|
|
19764
19978
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19765
19979
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19924,7 +20138,7 @@ function coerceFormFactor(form) {
|
|
|
19924
20138
|
}
|
|
19925
20139
|
|
|
19926
20140
|
const VERSION$22 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
19927
|
-
function validate$
|
|
20141
|
+
function validate$1o(obj, path = 'PlatformActionRepresentation') {
|
|
19928
20142
|
const v_error = (() => {
|
|
19929
20143
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19930
20144
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20456,7 +20670,7 @@ function equals$Q(existing, incoming) {
|
|
|
20456
20670
|
}
|
|
20457
20671
|
const ingest$1H = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20458
20672
|
if (process.env.NODE_ENV !== 'production') {
|
|
20459
|
-
const validateError = validate$
|
|
20673
|
+
const validateError = validate$1o(input);
|
|
20460
20674
|
if (validateError !== null) {
|
|
20461
20675
|
throw validateError;
|
|
20462
20676
|
}
|
|
@@ -20477,7 +20691,7 @@ function getTypeCacheKeys$1J(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
20477
20691
|
}
|
|
20478
20692
|
|
|
20479
20693
|
const VERSION$21 = "378d506f563a4bd724b322d440df33d1";
|
|
20480
|
-
function validate$
|
|
20694
|
+
function validate$1n(obj, path = 'EntityActionRepresentation') {
|
|
20481
20695
|
const v_error = (() => {
|
|
20482
20696
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20483
20697
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20591,7 +20805,7 @@ function equals$P(existing, incoming) {
|
|
|
20591
20805
|
}
|
|
20592
20806
|
const ingest$1G = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20593
20807
|
if (process.env.NODE_ENV !== 'production') {
|
|
20594
|
-
const validateError = validate$
|
|
20808
|
+
const validateError = validate$1n(input);
|
|
20595
20809
|
if (validateError !== null) {
|
|
20596
20810
|
throw validateError;
|
|
20597
20811
|
}
|
|
@@ -20617,7 +20831,7 @@ function getTypeCacheKeys$1I(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
20617
20831
|
|
|
20618
20832
|
const TTL$v = 300000;
|
|
20619
20833
|
const VERSION$20 = "e485d96c1402a9ca2f56e56485af0216";
|
|
20620
|
-
function validate$
|
|
20834
|
+
function validate$1m(obj, path = 'ActionRepresentation') {
|
|
20621
20835
|
const v_error = (() => {
|
|
20622
20836
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20623
20837
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20715,7 +20929,7 @@ function equals$O(existing, incoming) {
|
|
|
20715
20929
|
}
|
|
20716
20930
|
const ingest$1F = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20717
20931
|
if (process.env.NODE_ENV !== 'production') {
|
|
20718
|
-
const validateError = validate$
|
|
20932
|
+
const validateError = validate$1m(input);
|
|
20719
20933
|
if (validateError !== null) {
|
|
20720
20934
|
throw validateError;
|
|
20721
20935
|
}
|
|
@@ -20887,7 +21101,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
20887
21101
|
|
|
20888
21102
|
const TTL$u = 900000;
|
|
20889
21103
|
const VERSION$1$ = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
20890
|
-
function validate$
|
|
21104
|
+
function validate$1l(obj, path = 'QuickActionLayoutRepresentation') {
|
|
20891
21105
|
const v_error = (() => {
|
|
20892
21106
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20893
21107
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20904,7 +21118,7 @@ function validate$1g(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
20904
21118
|
}
|
|
20905
21119
|
const obj_layout = obj.layout;
|
|
20906
21120
|
const path_layout = path + '.layout';
|
|
20907
|
-
const referencepath_layoutValidationError = validate$
|
|
21121
|
+
const referencepath_layoutValidationError = validate$1w(obj_layout, path_layout);
|
|
20908
21122
|
if (referencepath_layoutValidationError !== null) {
|
|
20909
21123
|
let message = 'Object doesn\'t match RecordLayoutRepresentation (at "' + path_layout + '")\n';
|
|
20910
21124
|
message += referencepath_layoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20954,7 +21168,7 @@ function equals$N(existing, incoming) {
|
|
|
20954
21168
|
}
|
|
20955
21169
|
const ingest$1E = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20956
21170
|
if (process.env.NODE_ENV !== 'production') {
|
|
20957
|
-
const validateError = validate$
|
|
21171
|
+
const validateError = validate$1l(input);
|
|
20958
21172
|
if (validateError !== null) {
|
|
20959
21173
|
throw validateError;
|
|
20960
21174
|
}
|
|
@@ -21431,7 +21645,7 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
21431
21645
|
};
|
|
21432
21646
|
|
|
21433
21647
|
const VERSION$1_ = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
21434
|
-
function validate$
|
|
21648
|
+
function validate$1k(obj, path = 'ActionOverrideRepresentation') {
|
|
21435
21649
|
const v_error = (() => {
|
|
21436
21650
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21437
21651
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21464,7 +21678,7 @@ function equals$M(existing, incoming) {
|
|
|
21464
21678
|
}
|
|
21465
21679
|
const ingest$1D = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21466
21680
|
if (process.env.NODE_ENV !== 'production') {
|
|
21467
|
-
const validateError = validate$
|
|
21681
|
+
const validateError = validate$1k(input);
|
|
21468
21682
|
if (validateError !== null) {
|
|
21469
21683
|
throw validateError;
|
|
21470
21684
|
}
|
|
@@ -21640,7 +21854,7 @@ function merge$1(existing, incoming) {
|
|
|
21640
21854
|
const dynamicIngest$4 = (ingestParams) => {
|
|
21641
21855
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21642
21856
|
if (process.env.NODE_ENV !== 'production') {
|
|
21643
|
-
const validateError = validate$
|
|
21857
|
+
const validateError = validate$1p(input);
|
|
21644
21858
|
if (validateError !== null) {
|
|
21645
21859
|
throw validateError;
|
|
21646
21860
|
}
|
|
@@ -22149,7 +22363,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
22149
22363
|
buildCachedSnapshotCachePolicy$G, buildNetworkSnapshotCachePolicy$G);
|
|
22150
22364
|
};
|
|
22151
22365
|
|
|
22152
|
-
function validate$
|
|
22366
|
+
function validate$1j(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
22153
22367
|
const v_error = (() => {
|
|
22154
22368
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22155
22369
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22575,7 +22789,7 @@ function typeCheckConfig$U(untrustedConfig) {
|
|
|
22575
22789
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
22576
22790
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
22577
22791
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
22578
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
22792
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1j(untrustedConfig_relatedListsActionParameters_item);
|
|
22579
22793
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
22580
22794
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
22581
22795
|
}
|
|
@@ -22893,7 +23107,7 @@ const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__get
|
|
|
22893
23107
|
};
|
|
22894
23108
|
|
|
22895
23109
|
const VERSION$1Z = "a316b3bba367f54adc67d7552ed7d36d";
|
|
22896
|
-
function validate$
|
|
23110
|
+
function validate$1i(obj, path = 'PageReferenceRepresentation') {
|
|
22897
23111
|
const v_error = (() => {
|
|
22898
23112
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22899
23113
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22954,7 +23168,7 @@ function equals$L(existing, incoming) {
|
|
|
22954
23168
|
}
|
|
22955
23169
|
const ingest$1C = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22956
23170
|
if (process.env.NODE_ENV !== 'production') {
|
|
22957
|
-
const validateError = validate$
|
|
23171
|
+
const validateError = validate$1i(input);
|
|
22958
23172
|
if (validateError !== null) {
|
|
22959
23173
|
throw validateError;
|
|
22960
23174
|
}
|
|
@@ -22976,7 +23190,7 @@ function getTypeCacheKeys$1E(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22976
23190
|
|
|
22977
23191
|
const TTL$t = 120000;
|
|
22978
23192
|
const VERSION$1Y = "09884ca5bf90ea4662092a4e48817081";
|
|
22979
|
-
function validate$
|
|
23193
|
+
function validate$1h(obj, path = 'NavItemRepresentation') {
|
|
22980
23194
|
const v_error = (() => {
|
|
22981
23195
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22982
23196
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23368,7 +23582,7 @@ function equals$K(existing, incoming) {
|
|
|
23368
23582
|
}
|
|
23369
23583
|
const ingest$1B = function NavItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23370
23584
|
if (process.env.NODE_ENV !== 'production') {
|
|
23371
|
-
const validateError = validate$
|
|
23585
|
+
const validateError = validate$1h(input);
|
|
23372
23586
|
if (validateError !== null) {
|
|
23373
23587
|
throw validateError;
|
|
23374
23588
|
}
|
|
@@ -23393,7 +23607,7 @@ function getTypeCacheKeys$1D(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23393
23607
|
|
|
23394
23608
|
const TTL$s = 300000;
|
|
23395
23609
|
const VERSION$1X = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
23396
|
-
function validate$
|
|
23610
|
+
function validate$1g(obj, path = 'AppRepresentation') {
|
|
23397
23611
|
const v_error = (() => {
|
|
23398
23612
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23399
23613
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23835,7 +24049,7 @@ function equals$J(existing, incoming) {
|
|
|
23835
24049
|
}
|
|
23836
24050
|
const ingest$1A = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23837
24051
|
if (process.env.NODE_ENV !== 'production') {
|
|
23838
|
-
const validateError = validate$
|
|
24052
|
+
const validateError = validate$1g(input);
|
|
23839
24053
|
if (validateError !== null) {
|
|
23840
24054
|
throw validateError;
|
|
23841
24055
|
}
|
|
@@ -23865,7 +24079,7 @@ function getTypeCacheKeys$1C(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23865
24079
|
|
|
23866
24080
|
const TTL$r = 300000;
|
|
23867
24081
|
const VERSION$1W = "a254babf0b6414315db7808a157fd9fc";
|
|
23868
|
-
function validate$
|
|
24082
|
+
function validate$1f(obj, path = 'AppsRepresentation') {
|
|
23869
24083
|
const v_error = (() => {
|
|
23870
24084
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23871
24085
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23947,7 +24161,7 @@ function equals$I(existing, incoming) {
|
|
|
23947
24161
|
}
|
|
23948
24162
|
const ingest$1z = function AppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23949
24163
|
if (process.env.NODE_ENV !== 'production') {
|
|
23950
|
-
const validateError = validate$
|
|
24164
|
+
const validateError = validate$1f(input);
|
|
23951
24165
|
if (validateError !== null) {
|
|
23952
24166
|
throw validateError;
|
|
23953
24167
|
}
|
|
@@ -24255,7 +24469,7 @@ const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(unt
|
|
|
24255
24469
|
};
|
|
24256
24470
|
|
|
24257
24471
|
const VERSION$1V = "f43ef90ffde4d488414d6868e3aaefcb";
|
|
24258
|
-
function validate$
|
|
24472
|
+
function validate$1e(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
24259
24473
|
const v_error = (() => {
|
|
24260
24474
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24261
24475
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24317,7 +24531,7 @@ const select$2h = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
|
24317
24531
|
};
|
|
24318
24532
|
|
|
24319
24533
|
const VERSION$1U = "320d7f254687278f2763d4b490dab3fb";
|
|
24320
|
-
function validate$
|
|
24534
|
+
function validate$1d(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
24321
24535
|
const v_error = (() => {
|
|
24322
24536
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24323
24537
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24340,7 +24554,7 @@ function validate$18(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
24340
24554
|
for (let i = 0; i < obj_filterItems.length; i++) {
|
|
24341
24555
|
const obj_filterItems_item = obj_filterItems[i];
|
|
24342
24556
|
const path_filterItems_item = path_filterItems + '[' + i + ']';
|
|
24343
|
-
const referencepath_filterItems_itemValidationError = validate$
|
|
24557
|
+
const referencepath_filterItems_itemValidationError = validate$1e(obj_filterItems_item, path_filterItems_item);
|
|
24344
24558
|
if (referencepath_filterItems_itemValidationError !== null) {
|
|
24345
24559
|
let message = 'Object doesn\'t match DuplicateRuleFilterItemRepresentation (at "' + path_filterItems_item + '")\n';
|
|
24346
24560
|
message += referencepath_filterItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24383,7 +24597,7 @@ const select$2g = function DuplicateRuleFilterRepresentationSelect() {
|
|
|
24383
24597
|
};
|
|
24384
24598
|
|
|
24385
24599
|
const VERSION$1T = "b47b44e260e5ce777beaf3da9088997c";
|
|
24386
|
-
function validate$
|
|
24600
|
+
function validate$1c(obj, path = 'MatchRuleRepresentation') {
|
|
24387
24601
|
const v_error = (() => {
|
|
24388
24602
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24389
24603
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24453,7 +24667,7 @@ const select$2f = function MatchRuleRepresentationSelect() {
|
|
|
24453
24667
|
};
|
|
24454
24668
|
|
|
24455
24669
|
const VERSION$1S = "bb83d7210bb1d7861b6188bc5f552617";
|
|
24456
|
-
function validate$
|
|
24670
|
+
function validate$1b(obj, path = 'DuplicateRuleRepresentation') {
|
|
24457
24671
|
const v_error = (() => {
|
|
24458
24672
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24459
24673
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24481,7 +24695,7 @@ function validate$16(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
24481
24695
|
for (let i = 0; i < obj_duplicateRuleFilters.length; i++) {
|
|
24482
24696
|
const obj_duplicateRuleFilters_item = obj_duplicateRuleFilters[i];
|
|
24483
24697
|
const path_duplicateRuleFilters_item = path_duplicateRuleFilters + '[' + i + ']';
|
|
24484
|
-
const referencepath_duplicateRuleFilters_itemValidationError = validate$
|
|
24698
|
+
const referencepath_duplicateRuleFilters_itemValidationError = validate$1d(obj_duplicateRuleFilters_item, path_duplicateRuleFilters_item);
|
|
24485
24699
|
if (referencepath_duplicateRuleFilters_itemValidationError !== null) {
|
|
24486
24700
|
let message = 'Object doesn\'t match DuplicateRuleFilterRepresentation (at "' + path_duplicateRuleFilters_item + '")\n';
|
|
24487
24701
|
message += referencepath_duplicateRuleFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24501,7 +24715,7 @@ function validate$16(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
24501
24715
|
for (let i = 0; i < obj_matchRules.length; i++) {
|
|
24502
24716
|
const obj_matchRules_item = obj_matchRules[i];
|
|
24503
24717
|
const path_matchRules_item = path_matchRules + '[' + i + ']';
|
|
24504
|
-
const referencepath_matchRules_itemValidationError = validate$
|
|
24718
|
+
const referencepath_matchRules_itemValidationError = validate$1c(obj_matchRules_item, path_matchRules_item);
|
|
24505
24719
|
if (referencepath_matchRules_itemValidationError !== null) {
|
|
24506
24720
|
let message = 'Object doesn\'t match MatchRuleRepresentation (at "' + path_matchRules_item + '")\n';
|
|
24507
24721
|
message += referencepath_matchRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24594,7 +24808,7 @@ const select$2e = function DuplicateRuleRepresentationSelect() {
|
|
|
24594
24808
|
|
|
24595
24809
|
const TTL$q = 900000;
|
|
24596
24810
|
const VERSION$1R = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
24597
|
-
function validate$
|
|
24811
|
+
function validate$1a(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
24598
24812
|
const v_error = (() => {
|
|
24599
24813
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24600
24814
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24629,7 +24843,7 @@ function validate$15(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
|
24629
24843
|
for (let i = 0; i < obj_duplicateRules.length; i++) {
|
|
24630
24844
|
const obj_duplicateRules_item = obj_duplicateRules[i];
|
|
24631
24845
|
const path_duplicateRules_item = path_duplicateRules + '[' + i + ']';
|
|
24632
|
-
const referencepath_duplicateRules_itemValidationError = validate$
|
|
24846
|
+
const referencepath_duplicateRules_itemValidationError = validate$1b(obj_duplicateRules_item, path_duplicateRules_item);
|
|
24633
24847
|
if (referencepath_duplicateRules_itemValidationError !== null) {
|
|
24634
24848
|
let message = 'Object doesn\'t match DuplicateRuleRepresentation (at "' + path_duplicateRules_item + '")\n';
|
|
24635
24849
|
message += referencepath_duplicateRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24696,7 +24910,7 @@ function equals$H(existing, incoming) {
|
|
|
24696
24910
|
}
|
|
24697
24911
|
const ingest$1y = function DuplicatesConfigurationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24698
24912
|
if (process.env.NODE_ENV !== 'production') {
|
|
24699
|
-
const validateError = validate$
|
|
24913
|
+
const validateError = validate$1a(input);
|
|
24700
24914
|
if (validateError !== null) {
|
|
24701
24915
|
throw validateError;
|
|
24702
24916
|
}
|
|
@@ -25635,7 +25849,7 @@ const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfos
|
|
|
25635
25849
|
buildCachedSnapshotCachePolicy$w, buildNetworkSnapshotCachePolicy$w);
|
|
25636
25850
|
};
|
|
25637
25851
|
|
|
25638
|
-
function validate$
|
|
25852
|
+
function validate$19(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
25639
25853
|
const v_error = (() => {
|
|
25640
25854
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25641
25855
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25666,7 +25880,7 @@ function validate$14(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
|
25666
25880
|
return v_error === undefined ? null : v_error;
|
|
25667
25881
|
}
|
|
25668
25882
|
|
|
25669
|
-
function validate$
|
|
25883
|
+
function validate$18(obj, path = 'ListScopeInputRepresentation') {
|
|
25670
25884
|
const v_error = (() => {
|
|
25671
25885
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25672
25886
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25795,7 +26009,7 @@ function typeCheckConfig$K(untrustedConfig) {
|
|
|
25795
26009
|
const untrustedConfig_filteredByInfo_array = [];
|
|
25796
26010
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
25797
26011
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
25798
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
26012
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$19(untrustedConfig_filteredByInfo_item);
|
|
25799
26013
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
25800
26014
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
25801
26015
|
}
|
|
@@ -25803,7 +26017,7 @@ function typeCheckConfig$K(untrustedConfig) {
|
|
|
25803
26017
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
25804
26018
|
}
|
|
25805
26019
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
25806
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
26020
|
+
const referenceListScopeInputRepresentationValidationError = validate$18(untrustedConfig_scope);
|
|
25807
26021
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
25808
26022
|
config.scope = untrustedConfig_scope;
|
|
25809
26023
|
}
|
|
@@ -26085,7 +26299,7 @@ function typeCheckConfig$H(untrustedConfig) {
|
|
|
26085
26299
|
const untrustedConfig_filteredByInfo_array = [];
|
|
26086
26300
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
26087
26301
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
26088
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
26302
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$19(untrustedConfig_filteredByInfo_item);
|
|
26089
26303
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
26090
26304
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
26091
26305
|
}
|
|
@@ -26093,7 +26307,7 @@ function typeCheckConfig$H(untrustedConfig) {
|
|
|
26093
26307
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
26094
26308
|
}
|
|
26095
26309
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
26096
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
26310
|
+
const referenceListScopeInputRepresentationValidationError = validate$18(untrustedConfig_scope);
|
|
26097
26311
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
26098
26312
|
config.scope = untrustedConfig_scope;
|
|
26099
26313
|
}
|
|
@@ -26143,7 +26357,7 @@ const updateListInfoByNameAdapterFactory = (luvio) => {
|
|
|
26143
26357
|
};
|
|
26144
26358
|
|
|
26145
26359
|
const VERSION$1Q = "d77026c4d63ef00cdd7e3d600687a40d";
|
|
26146
|
-
function validate$
|
|
26360
|
+
function validate$17(obj, path = 'ListObjectScopeAvailableEntityRepresentation') {
|
|
26147
26361
|
const v_error = (() => {
|
|
26148
26362
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26149
26363
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26193,7 +26407,7 @@ function equals$G(existing, incoming) {
|
|
|
26193
26407
|
}
|
|
26194
26408
|
|
|
26195
26409
|
const VERSION$1P = "355933ff2970aa91a2848a94565e956a";
|
|
26196
|
-
function validate$
|
|
26410
|
+
function validate$16(obj, path = 'ListObjectScopeRepresentation') {
|
|
26197
26411
|
const v_error = (() => {
|
|
26198
26412
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26199
26413
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26211,7 +26425,7 @@ function validate$11(obj, path = 'ListObjectScopeRepresentation') {
|
|
|
26211
26425
|
for (let i = 0; i < obj_availableEntities.length; i++) {
|
|
26212
26426
|
const obj_availableEntities_item = obj_availableEntities[i];
|
|
26213
26427
|
const path_availableEntities_item = path_availableEntities + '[' + i + ']';
|
|
26214
|
-
const referencepath_availableEntities_itemValidationError = validate$
|
|
26428
|
+
const referencepath_availableEntities_itemValidationError = validate$17(obj_availableEntities_item, path_availableEntities_item);
|
|
26215
26429
|
if (referencepath_availableEntities_itemValidationError !== null) {
|
|
26216
26430
|
let message = 'Object doesn\'t match ListObjectScopeAvailableEntityRepresentation (at "' + path_availableEntities_item + '")\n';
|
|
26217
26431
|
message += referencepath_availableEntities_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26275,7 +26489,7 @@ function equals$F(existing, incoming) {
|
|
|
26275
26489
|
}
|
|
26276
26490
|
|
|
26277
26491
|
const VERSION$1O = "c5c08ea834378670c9d6f235ff71c9f0";
|
|
26278
|
-
function validate$
|
|
26492
|
+
function validate$15(obj, path = 'ListObjectPicklistValueRepresentation') {
|
|
26279
26493
|
const v_error = (() => {
|
|
26280
26494
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26281
26495
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26325,7 +26539,7 @@ function equals$E(existing, incoming) {
|
|
|
26325
26539
|
}
|
|
26326
26540
|
|
|
26327
26541
|
const VERSION$1N = "2c35f797fead79b5c45b521e77dd6ace";
|
|
26328
|
-
function validate
|
|
26542
|
+
function validate$14(obj, path = 'ListObjectColumnRepresentation') {
|
|
26329
26543
|
const v_error = (() => {
|
|
26330
26544
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26331
26545
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26394,7 +26608,7 @@ function validate$$(obj, path = 'ListObjectColumnRepresentation') {
|
|
|
26394
26608
|
for (let i = 0; i < obj_picklistValues.length; i++) {
|
|
26395
26609
|
const obj_picklistValues_item = obj_picklistValues[i];
|
|
26396
26610
|
const path_picklistValues_item = path_picklistValues + '[' + i + ']';
|
|
26397
|
-
const referencepath_picklistValues_itemValidationError = validate$
|
|
26611
|
+
const referencepath_picklistValues_itemValidationError = validate$15(obj_picklistValues_item, path_picklistValues_item);
|
|
26398
26612
|
if (referencepath_picklistValues_itemValidationError !== null) {
|
|
26399
26613
|
let message = 'Object doesn\'t match ListObjectPicklistValueRepresentation (at "' + path_picklistValues_item + '")\n';
|
|
26400
26614
|
message += referencepath_picklistValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26540,7 +26754,7 @@ function equals$D(existing, incoming) {
|
|
|
26540
26754
|
|
|
26541
26755
|
const TTL$p = 900000;
|
|
26542
26756
|
const VERSION$1M = "84e1e3ffdfcb59f65d7b8906e33027ac";
|
|
26543
|
-
function validate$
|
|
26757
|
+
function validate$13(obj, path = 'ListObjectInfoRepresentation') {
|
|
26544
26758
|
const v_error = (() => {
|
|
26545
26759
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26546
26760
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26553,7 +26767,7 @@ function validate$_(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
26553
26767
|
for (let i = 0; i < obj_availableScopes.length; i++) {
|
|
26554
26768
|
const obj_availableScopes_item = obj_availableScopes[i];
|
|
26555
26769
|
const path_availableScopes_item = path_availableScopes + '[' + i + ']';
|
|
26556
|
-
const referencepath_availableScopes_itemValidationError = validate$
|
|
26770
|
+
const referencepath_availableScopes_itemValidationError = validate$16(obj_availableScopes_item, path_availableScopes_item);
|
|
26557
26771
|
if (referencepath_availableScopes_itemValidationError !== null) {
|
|
26558
26772
|
let message = 'Object doesn\'t match ListObjectScopeRepresentation (at "' + path_availableScopes_item + '")\n';
|
|
26559
26773
|
message += referencepath_availableScopes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26568,7 +26782,7 @@ function validate$_(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
26568
26782
|
for (let i = 0; i < obj_columns.length; i++) {
|
|
26569
26783
|
const obj_columns_item = obj_columns[i];
|
|
26570
26784
|
const path_columns_item = path_columns + '[' + i + ']';
|
|
26571
|
-
const referencepath_columns_itemValidationError = validate
|
|
26785
|
+
const referencepath_columns_itemValidationError = validate$14(obj_columns_item, path_columns_item);
|
|
26572
26786
|
if (referencepath_columns_itemValidationError !== null) {
|
|
26573
26787
|
let message = 'Object doesn\'t match ListObjectColumnRepresentation (at "' + path_columns_item + '")\n';
|
|
26574
26788
|
message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26702,7 +26916,7 @@ function equals$C(existing, incoming) {
|
|
|
26702
26916
|
}
|
|
26703
26917
|
const ingest$1x = function ListObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26704
26918
|
if (process.env.NODE_ENV !== 'production') {
|
|
26705
|
-
const validateError = validate$
|
|
26919
|
+
const validateError = validate$13(input);
|
|
26706
26920
|
if (validateError !== null) {
|
|
26707
26921
|
throw validateError;
|
|
26708
26922
|
}
|
|
@@ -26865,7 +27079,7 @@ const getListObjectInfoAdapterFactory = (luvio) => function UiApi__getListObject
|
|
|
26865
27079
|
|
|
26866
27080
|
const TTL$o = 900000;
|
|
26867
27081
|
const VERSION$1L = "458d4a6a30201e422e8daec5fcb03845";
|
|
26868
|
-
function validate$
|
|
27082
|
+
function validate$12(obj, path = 'ListPreferencesRepresentation') {
|
|
26869
27083
|
const v_error = (() => {
|
|
26870
27084
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26871
27085
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26900,7 +27114,7 @@ function validate$Z(obj, path = 'ListPreferencesRepresentation') {
|
|
|
26900
27114
|
}
|
|
26901
27115
|
const obj_listReference = obj.listReference;
|
|
26902
27116
|
const path_listReference = path + '.listReference';
|
|
26903
|
-
const referencepath_listReferenceValidationError = validate$
|
|
27117
|
+
const referencepath_listReferenceValidationError = validate$1$(obj_listReference, path_listReference);
|
|
26904
27118
|
if (referencepath_listReferenceValidationError !== null) {
|
|
26905
27119
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
26906
27120
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26914,7 +27128,7 @@ function validate$Z(obj, path = 'ListPreferencesRepresentation') {
|
|
|
26914
27128
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
26915
27129
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
26916
27130
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
26917
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
27131
|
+
const referencepath_orderedBy_itemValidationError = validate$1Y(obj_orderedBy_item, path_orderedBy_item);
|
|
26918
27132
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
26919
27133
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
26920
27134
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26939,8 +27153,8 @@ function normalize$s(input, existing, path, luvio, store, timestamp) {
|
|
|
26939
27153
|
return input;
|
|
26940
27154
|
}
|
|
26941
27155
|
const select$21 = function ListPreferencesRepresentationSelect() {
|
|
26942
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
26943
|
-
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$
|
|
27156
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$34();
|
|
27157
|
+
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$31();
|
|
26944
27158
|
return {
|
|
26945
27159
|
kind: 'Fragment',
|
|
26946
27160
|
version: VERSION$1L,
|
|
@@ -26993,13 +27207,13 @@ function equals$B(existing, incoming) {
|
|
|
26993
27207
|
}
|
|
26994
27208
|
const existing_listReference = existing.listReference;
|
|
26995
27209
|
const incoming_listReference = incoming.listReference;
|
|
26996
|
-
if (!(equals$
|
|
27210
|
+
if (!(equals$18(existing_listReference, incoming_listReference))) {
|
|
26997
27211
|
return false;
|
|
26998
27212
|
}
|
|
26999
27213
|
const existing_orderedBy = existing.orderedBy;
|
|
27000
27214
|
const incoming_orderedBy = incoming.orderedBy;
|
|
27001
27215
|
const equals_orderedBy_items = equalsArray(existing_orderedBy, incoming_orderedBy, (existing_orderedBy_item, incoming_orderedBy_item) => {
|
|
27002
|
-
if (!(equals$
|
|
27216
|
+
if (!(equals$17(existing_orderedBy_item, incoming_orderedBy_item))) {
|
|
27003
27217
|
return false;
|
|
27004
27218
|
}
|
|
27005
27219
|
});
|
|
@@ -27010,7 +27224,7 @@ function equals$B(existing, incoming) {
|
|
|
27010
27224
|
}
|
|
27011
27225
|
const ingest$1w = function ListPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
27012
27226
|
if (process.env.NODE_ENV !== 'production') {
|
|
27013
|
-
const validateError = validate$
|
|
27227
|
+
const validateError = validate$12(input);
|
|
27014
27228
|
if (validateError !== null) {
|
|
27015
27229
|
throw validateError;
|
|
27016
27230
|
}
|
|
@@ -27173,7 +27387,7 @@ const getListPreferencesAdapterFactory = (luvio) => function UiApi__getListPrefe
|
|
|
27173
27387
|
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$t);
|
|
27174
27388
|
};
|
|
27175
27389
|
|
|
27176
|
-
function validate$
|
|
27390
|
+
function validate$11(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
27177
27391
|
const v_error = (() => {
|
|
27178
27392
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27179
27393
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27281,7 +27495,7 @@ function typeCheckConfig$E(untrustedConfig) {
|
|
|
27281
27495
|
const untrustedConfig_orderedBy_array = [];
|
|
27282
27496
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
27283
27497
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
27284
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
27498
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$11(untrustedConfig_orderedBy_item);
|
|
27285
27499
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
27286
27500
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
27287
27501
|
}
|
|
@@ -27335,7 +27549,7 @@ const updateListPreferencesAdapterFactory = (luvio) => {
|
|
|
27335
27549
|
|
|
27336
27550
|
const TTL$n = 120000;
|
|
27337
27551
|
const VERSION$1K = "756779d0d7e137dd72c743544afbad82";
|
|
27338
|
-
function validate$
|
|
27552
|
+
function validate$10(obj, path = 'NavItemsRepresentation') {
|
|
27339
27553
|
const v_error = (() => {
|
|
27340
27554
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27341
27555
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27463,7 +27677,7 @@ function equals$A(existing, incoming) {
|
|
|
27463
27677
|
}
|
|
27464
27678
|
const ingest$1v = function NavItemsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
27465
27679
|
if (process.env.NODE_ENV !== 'production') {
|
|
27466
|
-
const validateError = validate$
|
|
27680
|
+
const validateError = validate$10(input);
|
|
27467
27681
|
if (validateError !== null) {
|
|
27468
27682
|
throw validateError;
|
|
27469
27683
|
}
|
|
@@ -28070,7 +28284,7 @@ var DiscriminatorValues$4;
|
|
|
28070
28284
|
DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
|
|
28071
28285
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
28072
28286
|
const VERSION$1F = "bd523b2343366edfc25a2dbee2c4e986";
|
|
28073
|
-
function validate
|
|
28287
|
+
function validate$$(obj, path = 'AbstractPicklistValueAttributesRepresentation') {
|
|
28074
28288
|
const v_error = (() => {
|
|
28075
28289
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28076
28290
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28115,7 +28329,7 @@ const select$1S = function AbstractPicklistValueAttributesRepresentationSelect()
|
|
|
28115
28329
|
};
|
|
28116
28330
|
|
|
28117
28331
|
const VERSION$1E = "9e2a16a80378487f557124c771201cf9";
|
|
28118
|
-
function validate$
|
|
28332
|
+
function validate$_(obj, path = 'PicklistValueRepresentation') {
|
|
28119
28333
|
const v_error = (() => {
|
|
28120
28334
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28121
28335
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28124,7 +28338,7 @@ function validate$V(obj, path = 'PicklistValueRepresentation') {
|
|
|
28124
28338
|
const path_attributes = path + '.attributes';
|
|
28125
28339
|
let obj_attributes_union0 = null;
|
|
28126
28340
|
const obj_attributes_union0_error = (() => {
|
|
28127
|
-
const referencepath_attributesValidationError = validate
|
|
28341
|
+
const referencepath_attributesValidationError = validate$$(obj_attributes, path_attributes);
|
|
28128
28342
|
if (referencepath_attributesValidationError !== null) {
|
|
28129
28343
|
let message = 'Object doesn\'t match AbstractPicklistValueAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
28130
28344
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28219,7 +28433,7 @@ function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
|
|
|
28219
28433
|
|
|
28220
28434
|
const TTL$m = 900000;
|
|
28221
28435
|
const VERSION$1D = "0a361a49370acb4c6a31721a2057649a";
|
|
28222
|
-
function validate$
|
|
28436
|
+
function validate$Z(obj, path = 'PicklistValuesRepresentation') {
|
|
28223
28437
|
const v_error = (() => {
|
|
28224
28438
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28225
28439
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28242,7 +28456,7 @@ function validate$U(obj, path = 'PicklistValuesRepresentation') {
|
|
|
28242
28456
|
const path_defaultValue = path + '.defaultValue';
|
|
28243
28457
|
let obj_defaultValue_union0 = null;
|
|
28244
28458
|
const obj_defaultValue_union0_error = (() => {
|
|
28245
|
-
const referencepath_defaultValueValidationError = validate$
|
|
28459
|
+
const referencepath_defaultValueValidationError = validate$_(obj_defaultValue, path_defaultValue);
|
|
28246
28460
|
if (referencepath_defaultValueValidationError !== null) {
|
|
28247
28461
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_defaultValue + '")\n';
|
|
28248
28462
|
message += referencepath_defaultValueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28285,7 +28499,7 @@ function validate$U(obj, path = 'PicklistValuesRepresentation') {
|
|
|
28285
28499
|
for (let i = 0; i < obj_values.length; i++) {
|
|
28286
28500
|
const obj_values_item = obj_values[i];
|
|
28287
28501
|
const path_values_item = path_values + '[' + i + ']';
|
|
28288
|
-
const referencepath_values_itemValidationError = validate$
|
|
28502
|
+
const referencepath_values_itemValidationError = validate$_(obj_values_item, path_values_item);
|
|
28289
28503
|
if (referencepath_values_itemValidationError !== null) {
|
|
28290
28504
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_values_item + '")\n';
|
|
28291
28505
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28343,7 +28557,7 @@ function equals$z(existing, incoming) {
|
|
|
28343
28557
|
}
|
|
28344
28558
|
const ingest$1u = function PicklistValuesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28345
28559
|
if (process.env.NODE_ENV !== 'production') {
|
|
28346
|
-
const validateError = validate$
|
|
28560
|
+
const validateError = validate$Z(input);
|
|
28347
28561
|
if (validateError !== null) {
|
|
28348
28562
|
throw validateError;
|
|
28349
28563
|
}
|
|
@@ -28365,7 +28579,7 @@ function getTypeCacheKeys$1w(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
28365
28579
|
|
|
28366
28580
|
const TTL$l = 300000;
|
|
28367
28581
|
const VERSION$1C = "ec03b0f6da287c949d1ccaa904ddbfd3";
|
|
28368
|
-
function validate$
|
|
28582
|
+
function validate$Y(obj, path = 'PicklistValuesCollectionRepresentation') {
|
|
28369
28583
|
const v_error = (() => {
|
|
28370
28584
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28371
28585
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28452,7 +28666,7 @@ function equals$y(existing, incoming) {
|
|
|
28452
28666
|
}
|
|
28453
28667
|
const ingest$1t = function PicklistValuesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28454
28668
|
if (process.env.NODE_ENV !== 'production') {
|
|
28455
|
-
const validateError = validate$
|
|
28669
|
+
const validateError = validate$Y(input);
|
|
28456
28670
|
if (validateError !== null) {
|
|
28457
28671
|
throw validateError;
|
|
28458
28672
|
}
|
|
@@ -28789,7 +29003,7 @@ const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistVa
|
|
|
28789
29003
|
buildCachedSnapshotCachePolicy$o, buildNetworkSnapshotCachePolicy$o);
|
|
28790
29004
|
};
|
|
28791
29005
|
|
|
28792
|
-
function validate$
|
|
29006
|
+
function validate$X(obj, path = 'MatchResultInfoRepresentation') {
|
|
28793
29007
|
const v_error = (() => {
|
|
28794
29008
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28795
29009
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28815,7 +29029,7 @@ function validate$S(obj, path = 'MatchResultInfoRepresentation') {
|
|
|
28815
29029
|
return v_error === undefined ? null : v_error;
|
|
28816
29030
|
}
|
|
28817
29031
|
|
|
28818
|
-
function validate$
|
|
29032
|
+
function validate$W(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
28819
29033
|
const v_error = (() => {
|
|
28820
29034
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28821
29035
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28827,7 +29041,7 @@ function validate$R(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
28827
29041
|
}
|
|
28828
29042
|
const obj_matchResultInfo = obj.matchResultInfo;
|
|
28829
29043
|
const path_matchResultInfo = path + '.matchResultInfo';
|
|
28830
|
-
const referencepath_matchResultInfoValidationError = validate$
|
|
29044
|
+
const referencepath_matchResultInfoValidationError = validate$X(obj_matchResultInfo, path_matchResultInfo);
|
|
28831
29045
|
if (referencepath_matchResultInfoValidationError !== null) {
|
|
28832
29046
|
let message = 'Object doesn\'t match MatchResultInfoRepresentation (at "' + path_matchResultInfo + '")\n';
|
|
28833
29047
|
message += referencepath_matchResultInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28842,7 +29056,7 @@ function validate$R(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
28842
29056
|
return v_error === undefined ? null : v_error;
|
|
28843
29057
|
}
|
|
28844
29058
|
|
|
28845
|
-
function validate$
|
|
29059
|
+
function validate$V(obj, path = 'MatchRepresentation') {
|
|
28846
29060
|
const v_error = (() => {
|
|
28847
29061
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28848
29062
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28857,7 +29071,7 @@ function validate$Q(obj, path = 'MatchRepresentation') {
|
|
|
28857
29071
|
const key = obj_duplicateResultInfos_keys[i];
|
|
28858
29072
|
const obj_duplicateResultInfos_prop = obj_duplicateResultInfos[key];
|
|
28859
29073
|
const path_duplicateResultInfos_prop = path_duplicateResultInfos + '["' + key + '"]';
|
|
28860
|
-
const referencepath_duplicateResultInfos_propValidationError = validate$
|
|
29074
|
+
const referencepath_duplicateResultInfos_propValidationError = validate$W(obj_duplicateResultInfos_prop, path_duplicateResultInfos_prop);
|
|
28861
29075
|
if (referencepath_duplicateResultInfos_propValidationError !== null) {
|
|
28862
29076
|
let message = 'Object doesn\'t match DuplicateResultInfoRepresentation (at "' + path_duplicateResultInfos_prop + '")\n';
|
|
28863
29077
|
message += referencepath_duplicateResultInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28887,7 +29101,7 @@ function validate$Q(obj, path = 'MatchRepresentation') {
|
|
|
28887
29101
|
|
|
28888
29102
|
const TTL$k = 30000;
|
|
28889
29103
|
const VERSION$1B = "583c38564fa15ce0fb3dd2807be1bdc6";
|
|
28890
|
-
function validate$
|
|
29104
|
+
function validate$U(obj, path = 'DuplicatesRepresentation') {
|
|
28891
29105
|
const v_error = (() => {
|
|
28892
29106
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28893
29107
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28922,7 +29136,7 @@ function validate$P(obj, path = 'DuplicatesRepresentation') {
|
|
|
28922
29136
|
for (let i = 0; i < obj_matches.length; i++) {
|
|
28923
29137
|
const obj_matches_item = obj_matches[i];
|
|
28924
29138
|
const path_matches_item = path_matches + '[' + i + ']';
|
|
28925
|
-
const referencepath_matches_itemValidationError = validate$
|
|
29139
|
+
const referencepath_matches_itemValidationError = validate$V(obj_matches_item, path_matches_item);
|
|
28926
29140
|
if (referencepath_matches_itemValidationError !== null) {
|
|
28927
29141
|
let message = 'Object doesn\'t match MatchRepresentation (at "' + path_matches_item + '")\n';
|
|
28928
29142
|
message += referencepath_matches_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28952,7 +29166,7 @@ function equals$x(existing, incoming) {
|
|
|
28952
29166
|
}
|
|
28953
29167
|
const ingest$1s = function DuplicatesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28954
29168
|
if (process.env.NODE_ENV !== 'production') {
|
|
28955
|
-
const validateError = validate$
|
|
29169
|
+
const validateError = validate$U(input);
|
|
28956
29170
|
if (validateError !== null) {
|
|
28957
29171
|
throw validateError;
|
|
28958
29172
|
}
|
|
@@ -29145,7 +29359,7 @@ const getDuplicatesAdapterFactory = (luvio) => function UiApi__getDuplicates(unt
|
|
|
29145
29359
|
};
|
|
29146
29360
|
|
|
29147
29361
|
const VERSION$1A = "e84b9ffdeff97c411bd111f2a55cf6b6";
|
|
29148
|
-
function validate$
|
|
29362
|
+
function validate$T(obj, path = 'PhotoMetadataRepresentation') {
|
|
29149
29363
|
const v_error = (() => {
|
|
29150
29364
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29151
29365
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29237,8 +29451,8 @@ function equals$w(existing, incoming) {
|
|
|
29237
29451
|
}
|
|
29238
29452
|
|
|
29239
29453
|
const VERSION$1z = "34ffbf4219dfebb707bff609c2d5bf89";
|
|
29240
|
-
function validate$
|
|
29241
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
29454
|
+
function validate$S(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
29455
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$Q(obj, path);
|
|
29242
29456
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
29243
29457
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
29244
29458
|
}
|
|
@@ -29305,7 +29519,7 @@ function validate$N(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
|
29305
29519
|
}
|
|
29306
29520
|
const obj_photoMetadata = obj.photoMetadata;
|
|
29307
29521
|
const path_photoMetadata = path + '.photoMetadata';
|
|
29308
|
-
const referencepath_photoMetadataValidationError = validate$
|
|
29522
|
+
const referencepath_photoMetadataValidationError = validate$T(obj_photoMetadata, path_photoMetadata);
|
|
29309
29523
|
if (referencepath_photoMetadataValidationError !== null) {
|
|
29310
29524
|
let message = 'Object doesn\'t match PhotoMetadataRepresentation (at "' + path_photoMetadata + '")\n';
|
|
29311
29525
|
message += referencepath_photoMetadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29460,7 +29674,7 @@ function equals$v(existing, incoming) {
|
|
|
29460
29674
|
}
|
|
29461
29675
|
const ingest$1r = function PhotoRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29462
29676
|
if (process.env.NODE_ENV !== 'production') {
|
|
29463
|
-
const validateError = validate$
|
|
29677
|
+
const validateError = validate$S(input);
|
|
29464
29678
|
if (validateError !== null) {
|
|
29465
29679
|
throw validateError;
|
|
29466
29680
|
}
|
|
@@ -29481,8 +29695,8 @@ function getTypeCacheKeys$1t(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
29481
29695
|
}
|
|
29482
29696
|
|
|
29483
29697
|
const VERSION$1y = "cbdcf69a6568d41ccf155b2b95ec70e7";
|
|
29484
|
-
function validate$
|
|
29485
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
29698
|
+
function validate$R(obj, path = 'ThemeRecordAvatarRepresentation') {
|
|
29699
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$Q(obj, path);
|
|
29486
29700
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
29487
29701
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
29488
29702
|
}
|
|
@@ -29601,7 +29815,7 @@ function equals$u(existing, incoming) {
|
|
|
29601
29815
|
}
|
|
29602
29816
|
const ingest$1q = function ThemeRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29603
29817
|
if (process.env.NODE_ENV !== 'production') {
|
|
29604
|
-
const validateError = validate$
|
|
29818
|
+
const validateError = validate$R(input);
|
|
29605
29819
|
if (validateError !== null) {
|
|
29606
29820
|
throw validateError;
|
|
29607
29821
|
}
|
|
@@ -29627,7 +29841,7 @@ var DiscriminatorValues$3;
|
|
|
29627
29841
|
DiscriminatorValues["Theme"] = "Theme";
|
|
29628
29842
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
29629
29843
|
const VERSION$1x = "bc05f8d1c708b6c41c9bf2fe6001aff0";
|
|
29630
|
-
function validate$
|
|
29844
|
+
function validate$Q(obj, path = 'AbstractRecordAvatarRepresentation') {
|
|
29631
29845
|
const v_error = (() => {
|
|
29632
29846
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29633
29847
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29720,8 +29934,8 @@ function getTypeCacheKeys$1r(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
29720
29934
|
}
|
|
29721
29935
|
|
|
29722
29936
|
const VERSION$1w = "f531b44760afecfce89990fe5a5c5c29";
|
|
29723
|
-
function validate$
|
|
29724
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
29937
|
+
function validate$P(obj, path = 'RecordAvatarBatchRepresentation') {
|
|
29938
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$L(obj, path);
|
|
29725
29939
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
29726
29940
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
29727
29941
|
}
|
|
@@ -29782,7 +29996,7 @@ function equals$s(existing, incoming) {
|
|
|
29782
29996
|
}
|
|
29783
29997
|
const ingest$1p = function RecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29784
29998
|
if (process.env.NODE_ENV !== 'production') {
|
|
29785
|
-
const validateError = validate$
|
|
29999
|
+
const validateError = validate$P(input);
|
|
29786
30000
|
if (validateError !== null) {
|
|
29787
30001
|
throw validateError;
|
|
29788
30002
|
}
|
|
@@ -29803,7 +30017,7 @@ function getTypeCacheKeys$1q(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
29803
30017
|
}
|
|
29804
30018
|
|
|
29805
30019
|
const VERSION$1v = "17c20b01167dba9a81452e60bb28b2f2";
|
|
29806
|
-
function validate$
|
|
30020
|
+
function validate$O(obj, path = 'ErrorSingleRecordAvatarRepresentation') {
|
|
29807
30021
|
const v_error = (() => {
|
|
29808
30022
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29809
30023
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29853,8 +30067,8 @@ function equals$r(existing, incoming) {
|
|
|
29853
30067
|
}
|
|
29854
30068
|
|
|
29855
30069
|
const VERSION$1u = "e7fac2bfb5cdacc5e0f15c350f9ab8fe";
|
|
29856
|
-
function validate$
|
|
29857
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
30070
|
+
function validate$N(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation') {
|
|
30071
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$L(obj, path);
|
|
29858
30072
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
29859
30073
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
29860
30074
|
}
|
|
@@ -29870,7 +30084,7 @@ function validate$I(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation'
|
|
|
29870
30084
|
for (let i = 0; i < obj_result.length; i++) {
|
|
29871
30085
|
const obj_result_item = obj_result[i];
|
|
29872
30086
|
const path_result_item = path_result + '[' + i + ']';
|
|
29873
|
-
const referencepath_result_itemValidationError = validate$
|
|
30087
|
+
const referencepath_result_itemValidationError = validate$O(obj_result_item, path_result_item);
|
|
29874
30088
|
if (referencepath_result_itemValidationError !== null) {
|
|
29875
30089
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
29876
30090
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29920,7 +30134,7 @@ function equals$q(existing, incoming) {
|
|
|
29920
30134
|
}
|
|
29921
30135
|
const ingest$1o = function ErrorBadRequestRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29922
30136
|
if (process.env.NODE_ENV !== 'production') {
|
|
29923
|
-
const validateError = validate$
|
|
30137
|
+
const validateError = validate$N(input);
|
|
29924
30138
|
if (validateError !== null) {
|
|
29925
30139
|
throw validateError;
|
|
29926
30140
|
}
|
|
@@ -29941,8 +30155,8 @@ function getTypeCacheKeys$1p(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
29941
30155
|
}
|
|
29942
30156
|
|
|
29943
30157
|
const VERSION$1t = "cbd48fd50d0db463fdff7b1834c22bed";
|
|
29944
|
-
function validate$
|
|
29945
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
30158
|
+
function validate$M(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
30159
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$L(obj, path);
|
|
29946
30160
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
29947
30161
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
29948
30162
|
}
|
|
@@ -29958,7 +30172,7 @@ function validate$H(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
|
29958
30172
|
for (let i = 0; i < obj_result.length; i++) {
|
|
29959
30173
|
const obj_result_item = obj_result[i];
|
|
29960
30174
|
const path_result_item = path_result + '[' + i + ']';
|
|
29961
|
-
const referencepath_result_itemValidationError = validate$
|
|
30175
|
+
const referencepath_result_itemValidationError = validate$O(obj_result_item, path_result_item);
|
|
29962
30176
|
if (referencepath_result_itemValidationError !== null) {
|
|
29963
30177
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
29964
30178
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30008,7 +30222,7 @@ function equals$p(existing, incoming) {
|
|
|
30008
30222
|
}
|
|
30009
30223
|
const ingest$1n = function ErrorRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
30010
30224
|
if (process.env.NODE_ENV !== 'production') {
|
|
30011
|
-
const validateError = validate$
|
|
30225
|
+
const validateError = validate$M(input);
|
|
30012
30226
|
if (validateError !== null) {
|
|
30013
30227
|
throw validateError;
|
|
30014
30228
|
}
|
|
@@ -30035,7 +30249,7 @@ const DiscriminatorValues$2 = {
|
|
|
30035
30249
|
};
|
|
30036
30250
|
const TTL$j = 300000;
|
|
30037
30251
|
const VERSION$1s = "8956293536e94d5ec63b274b61033d2c";
|
|
30038
|
-
function validate$
|
|
30252
|
+
function validate$L(obj, path = 'AbstractRecordAvatarBatchRepresentation') {
|
|
30039
30253
|
const v_error = (() => {
|
|
30040
30254
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30041
30255
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30113,7 +30327,7 @@ function getTypeCacheKeys$1n(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
30113
30327
|
|
|
30114
30328
|
const TTL$i = 300000;
|
|
30115
30329
|
const VERSION$1r = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
30116
|
-
function validate$
|
|
30330
|
+
function validate$K(obj, path = 'RecordAvatarBulkMapRepresentation') {
|
|
30117
30331
|
const v_error = (() => {
|
|
30118
30332
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30119
30333
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30192,7 +30406,7 @@ function merge(existing, incoming, _luvio, _path) {
|
|
|
30192
30406
|
|
|
30193
30407
|
const ingest$1m = function RecordAvatarBulkMapRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
30194
30408
|
if (process.env.NODE_ENV !== 'production') {
|
|
30195
|
-
const validateError = validate$
|
|
30409
|
+
const validateError = validate$K(input);
|
|
30196
30410
|
if (validateError !== null) {
|
|
30197
30411
|
throw validateError;
|
|
30198
30412
|
}
|
|
@@ -30683,7 +30897,7 @@ const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrusted
|
|
|
30683
30897
|
};
|
|
30684
30898
|
|
|
30685
30899
|
const VERSION$1q = "4d4bdab5d0aa61e365e766409c9b3a31";
|
|
30686
|
-
function validate$
|
|
30900
|
+
function validate$J(obj, path = 'RelatedListReferenceRepresentation') {
|
|
30687
30901
|
const v_error = (() => {
|
|
30688
30902
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30689
30903
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30922,7 +31136,7 @@ function equals$m(existing, incoming) {
|
|
|
30922
31136
|
}
|
|
30923
31137
|
|
|
30924
31138
|
const VERSION$1p = "836b875b519813e7499efc62f0f1d04b";
|
|
30925
|
-
function validate$
|
|
31139
|
+
function validate$I(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
30926
31140
|
const v_error = (() => {
|
|
30927
31141
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30928
31142
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30965,7 +31179,7 @@ function validate$D(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
|
30965
31179
|
}
|
|
30966
31180
|
const obj_listReference = obj.listReference;
|
|
30967
31181
|
const path_listReference = path + '.listReference';
|
|
30968
|
-
const referencepath_listReferenceValidationError = validate$
|
|
31182
|
+
const referencepath_listReferenceValidationError = validate$J(obj_listReference, path_listReference);
|
|
30969
31183
|
if (referencepath_listReferenceValidationError !== null) {
|
|
30970
31184
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
30971
31185
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31038,7 +31252,7 @@ function equals$l(existing, incoming) {
|
|
|
31038
31252
|
}
|
|
31039
31253
|
const ingest$1l = function RelatedListRecordCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
31040
31254
|
if (process.env.NODE_ENV !== 'production') {
|
|
31041
|
-
const validateError = validate$
|
|
31255
|
+
const validateError = validate$I(input);
|
|
31042
31256
|
if (validateError !== null) {
|
|
31043
31257
|
throw validateError;
|
|
31044
31258
|
}
|
|
@@ -31549,7 +31763,7 @@ const getRelatedListCountAdapterFactory = (luvio) => function UiApi__getRelatedL
|
|
|
31549
31763
|
buildCachedSnapshotCachePolicy$j, buildNetworkSnapshotCachePolicy$j);
|
|
31550
31764
|
};
|
|
31551
31765
|
|
|
31552
|
-
function validate$
|
|
31766
|
+
function validate$H(obj, path = 'RelatedListColumnRepresentation') {
|
|
31553
31767
|
const v_error = (() => {
|
|
31554
31768
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
31555
31769
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -31700,7 +31914,7 @@ function validate$C(obj, path = 'RelatedListColumnRepresentation') {
|
|
|
31700
31914
|
|
|
31701
31915
|
const TTL$h = 900000;
|
|
31702
31916
|
const VERSION$1o = "c977d65d153a2b4e888ddd45fb083248";
|
|
31703
|
-
function validate$
|
|
31917
|
+
function validate$G(obj, path = 'RelatedListInfoRepresentation') {
|
|
31704
31918
|
const v_error = (() => {
|
|
31705
31919
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
31706
31920
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -31728,7 +31942,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
31728
31942
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
31729
31943
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
31730
31944
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
31731
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
31945
|
+
const referencepath_displayColumns_itemValidationError = validate$H(obj_displayColumns_item, path_displayColumns_item);
|
|
31732
31946
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
31733
31947
|
let message = 'Object doesn\'t match RelatedListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
31734
31948
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31775,7 +31989,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
31775
31989
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
31776
31990
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
31777
31991
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
31778
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
31992
|
+
const referencepath_filteredByInfo_itemValidationError = validate$21(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
31779
31993
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
31780
31994
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
31781
31995
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31789,7 +32003,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
31789
32003
|
}
|
|
31790
32004
|
const obj_listReference = obj.listReference;
|
|
31791
32005
|
const path_listReference = path + '.listReference';
|
|
31792
|
-
const referencepath_listReferenceValidationError = validate$
|
|
32006
|
+
const referencepath_listReferenceValidationError = validate$J(obj_listReference, path_listReference);
|
|
31793
32007
|
if (referencepath_listReferenceValidationError !== null) {
|
|
31794
32008
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
31795
32009
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31827,7 +32041,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
31827
32041
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
31828
32042
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
31829
32043
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
31830
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
32044
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1Y(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
31831
32045
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
31832
32046
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
31833
32047
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31846,7 +32060,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
31846
32060
|
}
|
|
31847
32061
|
const obj_userPreferences = obj.userPreferences;
|
|
31848
32062
|
const path_userPreferences = path + '.userPreferences';
|
|
31849
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
32063
|
+
const referencepath_userPreferencesValidationError = validate$1U(obj_userPreferences, path_userPreferences);
|
|
31850
32064
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
31851
32065
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
31852
32066
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31986,7 +32200,7 @@ function equals$k(existing, incoming) {
|
|
|
31986
32200
|
}
|
|
31987
32201
|
const ingest$1k = function RelatedListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
31988
32202
|
if (process.env.NODE_ENV !== 'production') {
|
|
31989
|
-
const validateError = validate$
|
|
32203
|
+
const validateError = validate$G(input);
|
|
31990
32204
|
if (validateError !== null) {
|
|
31991
32205
|
throw validateError;
|
|
31992
32206
|
}
|
|
@@ -32424,7 +32638,7 @@ const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRela
|
|
|
32424
32638
|
buildCachedSnapshotCachePolicy$i, buildNetworkSnapshotCachePolicy$i);
|
|
32425
32639
|
};
|
|
32426
32640
|
|
|
32427
|
-
function validate$
|
|
32641
|
+
function validate$F(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
32428
32642
|
const v_error = (() => {
|
|
32429
32643
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
32430
32644
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -32520,7 +32734,7 @@ function validate$A(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
32520
32734
|
const path_themeInfo = path + '.themeInfo';
|
|
32521
32735
|
let obj_themeInfo_union0 = null;
|
|
32522
32736
|
const obj_themeInfo_union0_error = (() => {
|
|
32523
|
-
const referencepath_themeInfoValidationError = validate$
|
|
32737
|
+
const referencepath_themeInfoValidationError = validate$1D(obj_themeInfo, path_themeInfo);
|
|
32524
32738
|
if (referencepath_themeInfoValidationError !== null) {
|
|
32525
32739
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
32526
32740
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32555,7 +32769,7 @@ function validate$A(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
32555
32769
|
}
|
|
32556
32770
|
|
|
32557
32771
|
const VERSION$1n = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
32558
|
-
function validate$
|
|
32772
|
+
function validate$E(obj, path = 'RelatedListSummaryInfoCollectionRepresentation') {
|
|
32559
32773
|
const v_error = (() => {
|
|
32560
32774
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
32561
32775
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -32604,7 +32818,7 @@ function validate$z(obj, path = 'RelatedListSummaryInfoCollectionRepresentation'
|
|
|
32604
32818
|
for (let i = 0; i < obj_relatedLists.length; i++) {
|
|
32605
32819
|
const obj_relatedLists_item = obj_relatedLists[i];
|
|
32606
32820
|
const path_relatedLists_item = path_relatedLists + '[' + i + ']';
|
|
32607
|
-
const referencepath_relatedLists_itemValidationError = validate$
|
|
32821
|
+
const referencepath_relatedLists_itemValidationError = validate$F(obj_relatedLists_item, path_relatedLists_item);
|
|
32608
32822
|
if (referencepath_relatedLists_itemValidationError !== null) {
|
|
32609
32823
|
let message = 'Object doesn\'t match RelatedListSummaryInfoRepresentation (at "' + path_relatedLists_item + '")\n';
|
|
32610
32824
|
message += referencepath_relatedLists_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32660,7 +32874,7 @@ function equals$j(existing, incoming) {
|
|
|
32660
32874
|
}
|
|
32661
32875
|
const ingest$1j = function RelatedListSummaryInfoCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
32662
32876
|
if (process.env.NODE_ENV !== 'production') {
|
|
32663
|
-
const validateError = validate$
|
|
32877
|
+
const validateError = validate$E(input);
|
|
32664
32878
|
if (validateError !== null) {
|
|
32665
32879
|
throw validateError;
|
|
32666
32880
|
}
|
|
@@ -32911,7 +33125,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
|
|
|
32911
33125
|
|
|
32912
33126
|
const TTL$g = 900000;
|
|
32913
33127
|
const VERSION$1m = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
32914
|
-
function validate$
|
|
33128
|
+
function validate$C(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
32915
33129
|
const v_error = (() => {
|
|
32916
33130
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
32917
33131
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -32952,7 +33166,7 @@ function validate$x(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
|
32952
33166
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
32953
33167
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
32954
33168
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
32955
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
33169
|
+
const referencepath_orderedBy_itemValidationError = validate$1Y(obj_orderedBy_item, path_orderedBy_item);
|
|
32956
33170
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
32957
33171
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
32958
33172
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32996,7 +33210,7 @@ function equals$i(existing, incoming) {
|
|
|
32996
33210
|
}
|
|
32997
33211
|
const ingest$1i = function RelatedListUserPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
32998
33212
|
if (process.env.NODE_ENV !== 'production') {
|
|
32999
|
-
const validateError = validate$
|
|
33213
|
+
const validateError = validate$C(input);
|
|
33000
33214
|
if (validateError !== null) {
|
|
33001
33215
|
throw validateError;
|
|
33002
33216
|
}
|
|
@@ -33504,7 +33718,7 @@ const getRelatedListPreferencesAdapterFactory = (luvio) => function UiApi__getRe
|
|
|
33504
33718
|
buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
|
|
33505
33719
|
};
|
|
33506
33720
|
|
|
33507
|
-
function validate$
|
|
33721
|
+
function validate$B(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
33508
33722
|
const v_error = (() => {
|
|
33509
33723
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
33510
33724
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -33747,7 +33961,7 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
|
|
|
33747
33961
|
|
|
33748
33962
|
const TTL$f = 30000;
|
|
33749
33963
|
const VERSION$1l = "62467c27c19349b70c9db2a8d9d591d9";
|
|
33750
|
-
function validate$
|
|
33964
|
+
function validate$A(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
33751
33965
|
const v_error = (() => {
|
|
33752
33966
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
33753
33967
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -33828,7 +34042,7 @@ function validate$v(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
33828
34042
|
}
|
|
33829
34043
|
const obj_listReference = obj.listReference;
|
|
33830
34044
|
const path_listReference = path + '.listReference';
|
|
33831
|
-
const referencepath_listReferenceValidationError = validate$
|
|
34045
|
+
const referencepath_listReferenceValidationError = validate$J(obj_listReference, path_listReference);
|
|
33832
34046
|
if (referencepath_listReferenceValidationError !== null) {
|
|
33833
34047
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
33834
34048
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -34249,7 +34463,7 @@ function equals$h(existing, incoming) {
|
|
|
34249
34463
|
}
|
|
34250
34464
|
const ingest$1h = function RelatedListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
34251
34465
|
if (process.env.NODE_ENV !== 'production') {
|
|
34252
|
-
const validateError = validate$
|
|
34466
|
+
const validateError = validate$A(input);
|
|
34253
34467
|
if (validateError !== null) {
|
|
34254
34468
|
throw validateError;
|
|
34255
34469
|
}
|
|
@@ -34740,7 +34954,7 @@ function typeCheckConfig$m(untrustedConfig) {
|
|
|
34740
34954
|
const untrustedConfig_relatedListParameters_array = [];
|
|
34741
34955
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
34742
34956
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
34743
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
34957
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$B(untrustedConfig_relatedListParameters_item);
|
|
34744
34958
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
34745
34959
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
34746
34960
|
}
|
|
@@ -34983,7 +35197,7 @@ const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
34983
35197
|
buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
|
|
34984
35198
|
};
|
|
34985
35199
|
|
|
34986
|
-
function validate$
|
|
35200
|
+
function validate$z(obj, path = 'SearchFilterOptionRepresentation') {
|
|
34987
35201
|
const v_error = (() => {
|
|
34988
35202
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
34989
35203
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35013,7 +35227,7 @@ var DiscriminatorValues;
|
|
|
35013
35227
|
DiscriminatorValues["Field"] = "Field";
|
|
35014
35228
|
DiscriminatorValues["DataCategory"] = "DataCategory";
|
|
35015
35229
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
35016
|
-
function validate$
|
|
35230
|
+
function validate$y(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
35017
35231
|
const v_error = (() => {
|
|
35018
35232
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35019
35233
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35074,7 +35288,7 @@ function validate$t(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
|
35074
35288
|
|
|
35075
35289
|
const TTL$e = 30000;
|
|
35076
35290
|
const VERSION$1k = "7d241c2ee7cc9b09d6bd434b33b0b5e4";
|
|
35077
|
-
function validate$
|
|
35291
|
+
function validate$x(obj, path = 'SearchFilterMetadataCollectionRepresentation') {
|
|
35078
35292
|
const v_error = (() => {
|
|
35079
35293
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35080
35294
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35113,7 +35327,7 @@ function validate$s(obj, path = 'SearchFilterMetadataCollectionRepresentation')
|
|
|
35113
35327
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
35114
35328
|
const obj_filters_item = obj_filters[i];
|
|
35115
35329
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
35116
|
-
const referencepath_filters_itemValidationError = validate$
|
|
35330
|
+
const referencepath_filters_itemValidationError = validate$y(obj_filters_item, path_filters_item);
|
|
35117
35331
|
if (referencepath_filters_itemValidationError !== null) {
|
|
35118
35332
|
let message = 'Object doesn\'t match SearchFilterDefinitionRepresentation (at "' + path_filters_item + '")\n';
|
|
35119
35333
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35158,7 +35372,7 @@ function equals$g(existing, incoming) {
|
|
|
35158
35372
|
}
|
|
35159
35373
|
const ingest$1g = function SearchFilterMetadataCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
35160
35374
|
if (process.env.NODE_ENV !== 'production') {
|
|
35161
|
-
const validateError = validate$
|
|
35375
|
+
const validateError = validate$x(input);
|
|
35162
35376
|
if (validateError !== null) {
|
|
35163
35377
|
throw validateError;
|
|
35164
35378
|
}
|
|
@@ -35322,7 +35536,7 @@ const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSear
|
|
|
35322
35536
|
|
|
35323
35537
|
const TTL$d = 30000;
|
|
35324
35538
|
const VERSION$1j = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
35325
|
-
function validate$
|
|
35539
|
+
function validate$w(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
35326
35540
|
const v_error = (() => {
|
|
35327
35541
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35328
35542
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35345,7 +35559,7 @@ function validate$r(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
|
35345
35559
|
for (let i = 0; i < obj_options.length; i++) {
|
|
35346
35560
|
const obj_options_item = obj_options[i];
|
|
35347
35561
|
const path_options_item = path_options + '[' + i + ']';
|
|
35348
|
-
const referencepath_options_itemValidationError = validate$
|
|
35562
|
+
const referencepath_options_itemValidationError = validate$z(obj_options_item, path_options_item);
|
|
35349
35563
|
if (referencepath_options_itemValidationError !== null) {
|
|
35350
35564
|
let message = 'Object doesn\'t match SearchFilterOptionRepresentation (at "' + path_options_item + '")\n';
|
|
35351
35565
|
message += referencepath_options_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35412,7 +35626,7 @@ function equals$f(existing, incoming) {
|
|
|
35412
35626
|
}
|
|
35413
35627
|
const ingest$1f = function SearchFilterOptionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
35414
35628
|
if (process.env.NODE_ENV !== 'production') {
|
|
35415
|
-
const validateError = validate$
|
|
35629
|
+
const validateError = validate$w(input);
|
|
35416
35630
|
if (validateError !== null) {
|
|
35417
35631
|
throw validateError;
|
|
35418
35632
|
}
|
|
@@ -35576,7 +35790,7 @@ const getSearchFilterOptionsAdapterFactory = (luvio) => function UiApi__getSearc
|
|
|
35576
35790
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
|
|
35577
35791
|
};
|
|
35578
35792
|
|
|
35579
|
-
function validate$
|
|
35793
|
+
function validate$v(obj, path = 'DisplayLayoutRepresentation') {
|
|
35580
35794
|
const v_error = (() => {
|
|
35581
35795
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35582
35796
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35597,7 +35811,7 @@ function validate$q(obj, path = 'DisplayLayoutRepresentation') {
|
|
|
35597
35811
|
return v_error === undefined ? null : v_error;
|
|
35598
35812
|
}
|
|
35599
35813
|
|
|
35600
|
-
function validate$
|
|
35814
|
+
function validate$u(obj, path = 'MatchingInfoRepresentation') {
|
|
35601
35815
|
const v_error = (() => {
|
|
35602
35816
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35603
35817
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35618,14 +35832,14 @@ function validate$p(obj, path = 'MatchingInfoRepresentation') {
|
|
|
35618
35832
|
return v_error === undefined ? null : v_error;
|
|
35619
35833
|
}
|
|
35620
35834
|
|
|
35621
|
-
function validate$
|
|
35835
|
+
function validate$t(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
35622
35836
|
const v_error = (() => {
|
|
35623
35837
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35624
35838
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
35625
35839
|
}
|
|
35626
35840
|
const obj_displayLayout = obj.displayLayout;
|
|
35627
35841
|
const path_displayLayout = path + '.displayLayout';
|
|
35628
|
-
const referencepath_displayLayoutValidationError = validate$
|
|
35842
|
+
const referencepath_displayLayoutValidationError = validate$v(obj_displayLayout, path_displayLayout);
|
|
35629
35843
|
if (referencepath_displayLayoutValidationError !== null) {
|
|
35630
35844
|
let message = 'Object doesn\'t match DisplayLayoutRepresentation (at "' + path_displayLayout + '")\n';
|
|
35631
35845
|
message += referencepath_displayLayoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35633,7 +35847,7 @@ function validate$o(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
35633
35847
|
}
|
|
35634
35848
|
const obj_matchingInfo = obj.matchingInfo;
|
|
35635
35849
|
const path_matchingInfo = path + '.matchingInfo';
|
|
35636
|
-
const referencepath_matchingInfoValidationError = validate$
|
|
35850
|
+
const referencepath_matchingInfoValidationError = validate$u(obj_matchingInfo, path_matchingInfo);
|
|
35637
35851
|
if (referencepath_matchingInfoValidationError !== null) {
|
|
35638
35852
|
let message = 'Object doesn\'t match MatchingInfoRepresentation (at "' + path_matchingInfo + '")\n';
|
|
35639
35853
|
message += referencepath_matchingInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35643,14 +35857,14 @@ function validate$o(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
35643
35857
|
return v_error === undefined ? null : v_error;
|
|
35644
35858
|
}
|
|
35645
35859
|
|
|
35646
|
-
function validate$
|
|
35860
|
+
function validate$s(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
35647
35861
|
const v_error = (() => {
|
|
35648
35862
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35649
35863
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
35650
35864
|
}
|
|
35651
35865
|
const obj_fullSearchInfo = obj.fullSearchInfo;
|
|
35652
35866
|
const path_fullSearchInfo = path + '.fullSearchInfo';
|
|
35653
|
-
const referencepath_fullSearchInfoValidationError = validate$
|
|
35867
|
+
const referencepath_fullSearchInfoValidationError = validate$t(obj_fullSearchInfo, path_fullSearchInfo);
|
|
35654
35868
|
if (referencepath_fullSearchInfoValidationError !== null) {
|
|
35655
35869
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_fullSearchInfo + '")\n';
|
|
35656
35870
|
message += referencepath_fullSearchInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35663,7 +35877,7 @@ function validate$n(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
35663
35877
|
}
|
|
35664
35878
|
const obj_suggestionsInfo = obj.suggestionsInfo;
|
|
35665
35879
|
const path_suggestionsInfo = path + '.suggestionsInfo';
|
|
35666
|
-
const referencepath_suggestionsInfoValidationError = validate$
|
|
35880
|
+
const referencepath_suggestionsInfoValidationError = validate$t(obj_suggestionsInfo, path_suggestionsInfo);
|
|
35667
35881
|
if (referencepath_suggestionsInfoValidationError !== null) {
|
|
35668
35882
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_suggestionsInfo + '")\n';
|
|
35669
35883
|
message += referencepath_suggestionsInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35675,7 +35889,7 @@ function validate$n(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
35675
35889
|
|
|
35676
35890
|
const TTL$c = 30000;
|
|
35677
35891
|
const VERSION$1i = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
35678
|
-
function validate$
|
|
35892
|
+
function validate$r(obj, path = 'LookupMetadataRepresentation') {
|
|
35679
35893
|
const v_error = (() => {
|
|
35680
35894
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35681
35895
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35726,7 +35940,7 @@ function validate$m(obj, path = 'LookupMetadataRepresentation') {
|
|
|
35726
35940
|
const key = obj_targetInfo_keys[i];
|
|
35727
35941
|
const obj_targetInfo_prop = obj_targetInfo[key];
|
|
35728
35942
|
const path_targetInfo_prop = path_targetInfo + '["' + key + '"]';
|
|
35729
|
-
const referencepath_targetInfo_propValidationError = validate$
|
|
35943
|
+
const referencepath_targetInfo_propValidationError = validate$s(obj_targetInfo_prop, path_targetInfo_prop);
|
|
35730
35944
|
if (referencepath_targetInfo_propValidationError !== null) {
|
|
35731
35945
|
let message = 'Object doesn\'t match LookupMetadataTargetInfoRepresentation (at "' + path_targetInfo_prop + '")\n';
|
|
35732
35946
|
message += referencepath_targetInfo_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35766,7 +35980,7 @@ function equals$e(existing, incoming) {
|
|
|
35766
35980
|
}
|
|
35767
35981
|
const ingest$1e = function LookupMetadataRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
35768
35982
|
if (process.env.NODE_ENV !== 'production') {
|
|
35769
|
-
const validateError = validate$
|
|
35983
|
+
const validateError = validate$r(input);
|
|
35770
35984
|
if (validateError !== null) {
|
|
35771
35985
|
throw validateError;
|
|
35772
35986
|
}
|
|
@@ -35928,7 +36142,146 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
|
|
|
35928
36142
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
|
|
35929
36143
|
};
|
|
35930
36144
|
|
|
35931
|
-
function validate$
|
|
36145
|
+
function validate$q(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
36146
|
+
const v_error = (() => {
|
|
36147
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36148
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
36149
|
+
}
|
|
36150
|
+
const obj_groupName = obj.groupName;
|
|
36151
|
+
const path_groupName = path + '.groupName';
|
|
36152
|
+
if (typeof obj_groupName !== 'string') {
|
|
36153
|
+
return new TypeError('Expected "string" but received "' + typeof obj_groupName + '" (at "' + path_groupName + '")');
|
|
36154
|
+
}
|
|
36155
|
+
const obj_operator = obj.operator;
|
|
36156
|
+
const path_operator = path + '.operator';
|
|
36157
|
+
if (typeof obj_operator !== 'string') {
|
|
36158
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
36159
|
+
}
|
|
36160
|
+
const obj_values = obj.values;
|
|
36161
|
+
const path_values = path + '.values';
|
|
36162
|
+
if (!ArrayIsArray(obj_values)) {
|
|
36163
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
36164
|
+
}
|
|
36165
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
36166
|
+
const obj_values_item = obj_values[i];
|
|
36167
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
36168
|
+
if (typeof obj_values_item !== 'string') {
|
|
36169
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
36170
|
+
}
|
|
36171
|
+
}
|
|
36172
|
+
})();
|
|
36173
|
+
return v_error === undefined ? null : v_error;
|
|
36174
|
+
}
|
|
36175
|
+
|
|
36176
|
+
function validate$p(obj, path = 'SearchFilterInputRepresentation') {
|
|
36177
|
+
const v_error = (() => {
|
|
36178
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36179
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
36180
|
+
}
|
|
36181
|
+
const obj_fieldPath = obj.fieldPath;
|
|
36182
|
+
const path_fieldPath = path + '.fieldPath';
|
|
36183
|
+
if (typeof obj_fieldPath !== 'string') {
|
|
36184
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
36185
|
+
}
|
|
36186
|
+
if (obj.objectApiName !== undefined) {
|
|
36187
|
+
const obj_objectApiName = obj.objectApiName;
|
|
36188
|
+
const path_objectApiName = path + '.objectApiName';
|
|
36189
|
+
if (typeof obj_objectApiName !== 'string') {
|
|
36190
|
+
return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
|
|
36191
|
+
}
|
|
36192
|
+
}
|
|
36193
|
+
const obj_operator = obj.operator;
|
|
36194
|
+
const path_operator = path + '.operator';
|
|
36195
|
+
if (typeof obj_operator !== 'string') {
|
|
36196
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
36197
|
+
}
|
|
36198
|
+
const obj_values = obj.values;
|
|
36199
|
+
const path_values = path + '.values';
|
|
36200
|
+
if (!ArrayIsArray(obj_values)) {
|
|
36201
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
36202
|
+
}
|
|
36203
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
36204
|
+
const obj_values_item = obj_values[i];
|
|
36205
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
36206
|
+
let obj_values_item_union0 = null;
|
|
36207
|
+
const obj_values_item_union0_error = (() => {
|
|
36208
|
+
if (typeof obj_values_item !== 'string') {
|
|
36209
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
36210
|
+
}
|
|
36211
|
+
})();
|
|
36212
|
+
if (obj_values_item_union0_error != null) {
|
|
36213
|
+
obj_values_item_union0 = obj_values_item_union0_error.message;
|
|
36214
|
+
}
|
|
36215
|
+
let obj_values_item_union1 = null;
|
|
36216
|
+
const obj_values_item_union1_error = (() => {
|
|
36217
|
+
if (typeof obj_values_item !== 'number') {
|
|
36218
|
+
return new TypeError('Expected "number" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
36219
|
+
}
|
|
36220
|
+
})();
|
|
36221
|
+
if (obj_values_item_union1_error != null) {
|
|
36222
|
+
obj_values_item_union1 = obj_values_item_union1_error.message;
|
|
36223
|
+
}
|
|
36224
|
+
let obj_values_item_union2 = null;
|
|
36225
|
+
const obj_values_item_union2_error = (() => {
|
|
36226
|
+
if (typeof obj_values_item !== 'boolean') {
|
|
36227
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
36228
|
+
}
|
|
36229
|
+
})();
|
|
36230
|
+
if (obj_values_item_union2_error != null) {
|
|
36231
|
+
obj_values_item_union2 = obj_values_item_union2_error.message;
|
|
36232
|
+
}
|
|
36233
|
+
if (obj_values_item_union0 && obj_values_item_union1 && obj_values_item_union2) {
|
|
36234
|
+
let message = 'Object doesn\'t match union (at "' + path_values_item + '")';
|
|
36235
|
+
message += '\n' + obj_values_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
36236
|
+
message += '\n' + obj_values_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
36237
|
+
message += '\n' + obj_values_item_union2.split('\n').map((line) => '\t' + line).join('\n');
|
|
36238
|
+
return new TypeError(message);
|
|
36239
|
+
}
|
|
36240
|
+
}
|
|
36241
|
+
})();
|
|
36242
|
+
return v_error === undefined ? null : v_error;
|
|
36243
|
+
}
|
|
36244
|
+
|
|
36245
|
+
function validate$o(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
36246
|
+
const v_error = (() => {
|
|
36247
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36248
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
36249
|
+
}
|
|
36250
|
+
const obj_dataCategories = obj.dataCategories;
|
|
36251
|
+
const path_dataCategories = path + '.dataCategories';
|
|
36252
|
+
if (!ArrayIsArray(obj_dataCategories)) {
|
|
36253
|
+
return new TypeError('Expected "array" but received "' + typeof obj_dataCategories + '" (at "' + path_dataCategories + '")');
|
|
36254
|
+
}
|
|
36255
|
+
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
36256
|
+
const obj_dataCategories_item = obj_dataCategories[i];
|
|
36257
|
+
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
36258
|
+
const referencepath_dataCategories_itemValidationError = validate$q(obj_dataCategories_item, path_dataCategories_item);
|
|
36259
|
+
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
36260
|
+
let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
|
|
36261
|
+
message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
36262
|
+
return new TypeError(message);
|
|
36263
|
+
}
|
|
36264
|
+
}
|
|
36265
|
+
const obj_filters = obj.filters;
|
|
36266
|
+
const path_filters = path + '.filters';
|
|
36267
|
+
if (!ArrayIsArray(obj_filters)) {
|
|
36268
|
+
return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
|
|
36269
|
+
}
|
|
36270
|
+
for (let i = 0; i < obj_filters.length; i++) {
|
|
36271
|
+
const obj_filters_item = obj_filters[i];
|
|
36272
|
+
const path_filters_item = path_filters + '[' + i + ']';
|
|
36273
|
+
const referencepath_filters_itemValidationError = validate$p(obj_filters_item, path_filters_item);
|
|
36274
|
+
if (referencepath_filters_itemValidationError !== null) {
|
|
36275
|
+
let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
36276
|
+
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
36277
|
+
return new TypeError(message);
|
|
36278
|
+
}
|
|
36279
|
+
}
|
|
36280
|
+
})();
|
|
36281
|
+
return v_error === undefined ? null : v_error;
|
|
36282
|
+
}
|
|
36283
|
+
|
|
36284
|
+
function validate$n(obj, path = 'ErrorMessageRepresentation') {
|
|
35932
36285
|
const v_error = (() => {
|
|
35933
36286
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35934
36287
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35968,7 +36321,7 @@ function validate$l(obj, path = 'ErrorMessageRepresentation') {
|
|
|
35968
36321
|
return v_error === undefined ? null : v_error;
|
|
35969
36322
|
}
|
|
35970
36323
|
|
|
35971
|
-
function validate$
|
|
36324
|
+
function validate$m(obj, path = 'SearchResultCollectionRepresentation') {
|
|
35972
36325
|
const v_error = (() => {
|
|
35973
36326
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35974
36327
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35982,7 +36335,7 @@ function validate$k(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
35982
36335
|
const path_error = path + '.error';
|
|
35983
36336
|
let obj_error_union0 = null;
|
|
35984
36337
|
const obj_error_union0_error = (() => {
|
|
35985
|
-
const referencepath_errorValidationError = validate$
|
|
36338
|
+
const referencepath_errorValidationError = validate$n(obj_error, path_error);
|
|
35986
36339
|
if (referencepath_errorValidationError !== null) {
|
|
35987
36340
|
let message = 'Object doesn\'t match ErrorMessageRepresentation (at "' + path_error + '")\n';
|
|
35988
36341
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -36046,7 +36399,7 @@ function validate$k(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
36046
36399
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
36047
36400
|
const obj_orderBy_item = obj_orderBy[i];
|
|
36048
36401
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
36049
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
36402
|
+
const referencepath_orderBy_itemValidationError = validate$1Y(obj_orderBy_item, path_orderBy_item);
|
|
36050
36403
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
36051
36404
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
|
|
36052
36405
|
message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -36112,7 +36465,7 @@ function validate$k(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
36112
36465
|
return v_error === undefined ? null : v_error;
|
|
36113
36466
|
}
|
|
36114
36467
|
|
|
36115
|
-
function validate$
|
|
36468
|
+
function validate$l(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
36116
36469
|
const v_error = (() => {
|
|
36117
36470
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36118
36471
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -36133,7 +36486,7 @@ function validate$j(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
|
36133
36486
|
return v_error === undefined ? null : v_error;
|
|
36134
36487
|
}
|
|
36135
36488
|
|
|
36136
|
-
function validate$
|
|
36489
|
+
function validate$k(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
36137
36490
|
const v_error = (() => {
|
|
36138
36491
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36139
36492
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -36162,7 +36515,7 @@ function validate$i(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
|
36162
36515
|
return v_error === undefined ? null : v_error;
|
|
36163
36516
|
}
|
|
36164
36517
|
|
|
36165
|
-
function validate$
|
|
36518
|
+
function validate$j(obj, path = 'SearchAnswersResultRepresentation') {
|
|
36166
36519
|
const v_error = (() => {
|
|
36167
36520
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36168
36521
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -36185,7 +36538,7 @@ function validate$h(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
36185
36538
|
for (let i = 0; i < obj_records.length; i++) {
|
|
36186
36539
|
const obj_records_item = obj_records[i];
|
|
36187
36540
|
const path_records_item = path_records + '[' + i + ']';
|
|
36188
|
-
const referencepath_records_itemValidationError = validate$
|
|
36541
|
+
const referencepath_records_itemValidationError = validate$k(obj_records_item, path_records_item);
|
|
36189
36542
|
if (referencepath_records_itemValidationError !== null) {
|
|
36190
36543
|
let message = 'Object doesn\'t match SearchAnswersRecordRepresentation (at "' + path_records_item + '")\n';
|
|
36191
36544
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -36196,9 +36549,110 @@ function validate$h(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
36196
36549
|
return v_error === undefined ? null : v_error;
|
|
36197
36550
|
}
|
|
36198
36551
|
|
|
36552
|
+
function validate$i(obj, path = 'SearchDataCategoryOutputRepresentation') {
|
|
36553
|
+
const v_error = (() => {
|
|
36554
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36555
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
36556
|
+
}
|
|
36557
|
+
const obj_groupName = obj.groupName;
|
|
36558
|
+
const path_groupName = path + '.groupName';
|
|
36559
|
+
if (typeof obj_groupName !== 'string') {
|
|
36560
|
+
return new TypeError('Expected "string" but received "' + typeof obj_groupName + '" (at "' + path_groupName + '")');
|
|
36561
|
+
}
|
|
36562
|
+
const obj_operator = obj.operator;
|
|
36563
|
+
const path_operator = path + '.operator';
|
|
36564
|
+
if (typeof obj_operator !== 'string') {
|
|
36565
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
36566
|
+
}
|
|
36567
|
+
const obj_values = obj.values;
|
|
36568
|
+
const path_values = path + '.values';
|
|
36569
|
+
if (!ArrayIsArray(obj_values)) {
|
|
36570
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
36571
|
+
}
|
|
36572
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
36573
|
+
const obj_values_item = obj_values[i];
|
|
36574
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
36575
|
+
if (typeof obj_values_item !== 'string') {
|
|
36576
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
36577
|
+
}
|
|
36578
|
+
}
|
|
36579
|
+
})();
|
|
36580
|
+
return v_error === undefined ? null : v_error;
|
|
36581
|
+
}
|
|
36582
|
+
|
|
36583
|
+
function validate$h(obj, path = 'SearchFilterOutputRepresentation') {
|
|
36584
|
+
const v_error = (() => {
|
|
36585
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36586
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
36587
|
+
}
|
|
36588
|
+
const obj_fieldPath = obj.fieldPath;
|
|
36589
|
+
const path_fieldPath = path + '.fieldPath';
|
|
36590
|
+
if (typeof obj_fieldPath !== 'string') {
|
|
36591
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
36592
|
+
}
|
|
36593
|
+
const obj_operator = obj.operator;
|
|
36594
|
+
const path_operator = path + '.operator';
|
|
36595
|
+
if (typeof obj_operator !== 'string') {
|
|
36596
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
36597
|
+
}
|
|
36598
|
+
const obj_values = obj.values;
|
|
36599
|
+
const path_values = path + '.values';
|
|
36600
|
+
if (!ArrayIsArray(obj_values)) {
|
|
36601
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
36602
|
+
}
|
|
36603
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
36604
|
+
const obj_values_item = obj_values[i];
|
|
36605
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
36606
|
+
if (typeof obj_values_item !== 'string') {
|
|
36607
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
36608
|
+
}
|
|
36609
|
+
}
|
|
36610
|
+
})();
|
|
36611
|
+
return v_error === undefined ? null : v_error;
|
|
36612
|
+
}
|
|
36613
|
+
|
|
36614
|
+
function validate$g(obj, path = 'SearchObjectOptionsOutputRepresentation') {
|
|
36615
|
+
const v_error = (() => {
|
|
36616
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36617
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
36618
|
+
}
|
|
36619
|
+
const obj_dataCategories = obj.dataCategories;
|
|
36620
|
+
const path_dataCategories = path + '.dataCategories';
|
|
36621
|
+
if (!ArrayIsArray(obj_dataCategories)) {
|
|
36622
|
+
return new TypeError('Expected "array" but received "' + typeof obj_dataCategories + '" (at "' + path_dataCategories + '")');
|
|
36623
|
+
}
|
|
36624
|
+
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
36625
|
+
const obj_dataCategories_item = obj_dataCategories[i];
|
|
36626
|
+
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
36627
|
+
const referencepath_dataCategories_itemValidationError = validate$i(obj_dataCategories_item, path_dataCategories_item);
|
|
36628
|
+
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
36629
|
+
let message = 'Object doesn\'t match SearchDataCategoryOutputRepresentation (at "' + path_dataCategories_item + '")\n';
|
|
36630
|
+
message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
36631
|
+
return new TypeError(message);
|
|
36632
|
+
}
|
|
36633
|
+
}
|
|
36634
|
+
const obj_filters = obj.filters;
|
|
36635
|
+
const path_filters = path + '.filters';
|
|
36636
|
+
if (!ArrayIsArray(obj_filters)) {
|
|
36637
|
+
return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
|
|
36638
|
+
}
|
|
36639
|
+
for (let i = 0; i < obj_filters.length; i++) {
|
|
36640
|
+
const obj_filters_item = obj_filters[i];
|
|
36641
|
+
const path_filters_item = path_filters + '[' + i + ']';
|
|
36642
|
+
const referencepath_filters_itemValidationError = validate$h(obj_filters_item, path_filters_item);
|
|
36643
|
+
if (referencepath_filters_itemValidationError !== null) {
|
|
36644
|
+
let message = 'Object doesn\'t match SearchFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
36645
|
+
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
36646
|
+
return new TypeError(message);
|
|
36647
|
+
}
|
|
36648
|
+
}
|
|
36649
|
+
})();
|
|
36650
|
+
return v_error === undefined ? null : v_error;
|
|
36651
|
+
}
|
|
36652
|
+
|
|
36199
36653
|
const TTL$b = 200;
|
|
36200
|
-
const VERSION$1h = "
|
|
36201
|
-
function validate$
|
|
36654
|
+
const VERSION$1h = "c3b86b51e83e00857929bc3dd6742a85";
|
|
36655
|
+
function validate$f(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
36202
36656
|
const v_error = (() => {
|
|
36203
36657
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36204
36658
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -36233,7 +36687,7 @@ function validate$g(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
36233
36687
|
const path_keywordSearchResults = path + '.keywordSearchResults';
|
|
36234
36688
|
let obj_keywordSearchResults_union0 = null;
|
|
36235
36689
|
const obj_keywordSearchResults_union0_error = (() => {
|
|
36236
|
-
const referencepath_keywordSearchResultsValidationError = validate$
|
|
36690
|
+
const referencepath_keywordSearchResultsValidationError = validate$l(obj_keywordSearchResults, path_keywordSearchResults);
|
|
36237
36691
|
if (referencepath_keywordSearchResultsValidationError !== null) {
|
|
36238
36692
|
let message = 'Object doesn\'t match KeywordSearchResultsRepresentation (at "' + path_keywordSearchResults + '")\n';
|
|
36239
36693
|
message += referencepath_keywordSearchResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -36262,7 +36716,7 @@ function validate$g(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
36262
36716
|
const path_qnaResult = path + '.qnaResult';
|
|
36263
36717
|
let obj_qnaResult_union0 = null;
|
|
36264
36718
|
const obj_qnaResult_union0_error = (() => {
|
|
36265
|
-
const referencepath_qnaResultValidationError = validate$
|
|
36719
|
+
const referencepath_qnaResultValidationError = validate$j(obj_qnaResult, path_qnaResult);
|
|
36266
36720
|
if (referencepath_qnaResultValidationError !== null) {
|
|
36267
36721
|
let message = 'Object doesn\'t match SearchAnswersResultRepresentation (at "' + path_qnaResult + '")\n';
|
|
36268
36722
|
message += referencepath_qnaResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -36297,6 +36751,23 @@ function validate$g(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
36297
36751
|
if (typeof obj_queryId !== 'string') {
|
|
36298
36752
|
return new TypeError('Expected "string" but received "' + typeof obj_queryId + '" (at "' + path_queryId + '")');
|
|
36299
36753
|
}
|
|
36754
|
+
const obj_searchObjectOptions = obj.searchObjectOptions;
|
|
36755
|
+
const path_searchObjectOptions = path + '.searchObjectOptions';
|
|
36756
|
+
if (typeof obj_searchObjectOptions !== 'object' || ArrayIsArray(obj_searchObjectOptions) || obj_searchObjectOptions === null) {
|
|
36757
|
+
return new TypeError('Expected "object" but received "' + typeof obj_searchObjectOptions + '" (at "' + path_searchObjectOptions + '")');
|
|
36758
|
+
}
|
|
36759
|
+
const obj_searchObjectOptions_keys = ObjectKeys(obj_searchObjectOptions);
|
|
36760
|
+
for (let i = 0; i < obj_searchObjectOptions_keys.length; i++) {
|
|
36761
|
+
const key = obj_searchObjectOptions_keys[i];
|
|
36762
|
+
const obj_searchObjectOptions_prop = obj_searchObjectOptions[key];
|
|
36763
|
+
const path_searchObjectOptions_prop = path_searchObjectOptions + '["' + key + '"]';
|
|
36764
|
+
const referencepath_searchObjectOptions_propValidationError = validate$g(obj_searchObjectOptions_prop, path_searchObjectOptions_prop);
|
|
36765
|
+
if (referencepath_searchObjectOptions_propValidationError !== null) {
|
|
36766
|
+
let message = 'Object doesn\'t match SearchObjectOptionsOutputRepresentation (at "' + path_searchObjectOptions_prop + '")\n';
|
|
36767
|
+
message += referencepath_searchObjectOptions_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
36768
|
+
return new TypeError(message);
|
|
36769
|
+
}
|
|
36770
|
+
}
|
|
36300
36771
|
})();
|
|
36301
36772
|
return v_error === undefined ? null : v_error;
|
|
36302
36773
|
}
|
|
@@ -36330,7 +36801,7 @@ function equals$d(existing, incoming) {
|
|
|
36330
36801
|
}
|
|
36331
36802
|
const ingest$1d = function SearchResultsSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
36332
36803
|
if (process.env.NODE_ENV !== 'production') {
|
|
36333
|
-
const validateError = validate$
|
|
36804
|
+
const validateError = validate$f(input);
|
|
36334
36805
|
if (validateError !== null) {
|
|
36335
36806
|
throw validateError;
|
|
36336
36807
|
}
|
|
@@ -36411,6 +36882,7 @@ const getSearchResults_ConfigPropertyMetadata = [
|
|
|
36411
36882
|
generateParamConfigMetadata('answerTypes', false, 2 /* Body */, 0 /* String */, true),
|
|
36412
36883
|
generateParamConfigMetadata('configurationName', false, 2 /* Body */, 0 /* String */),
|
|
36413
36884
|
generateParamConfigMetadata('objectApiNames', false, 2 /* Body */, 0 /* String */, true),
|
|
36885
|
+
generateParamConfigMetadata('searchObjectOptions', false, 2 /* Body */, 4 /* Unsupported */),
|
|
36414
36886
|
];
|
|
36415
36887
|
const getSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSearchResults_ConfigPropertyMetadata);
|
|
36416
36888
|
const createResourceParams$f = /*#__PURE__*/ createResourceParams$l(getSearchResults_ConfigPropertyMetadata);
|
|
@@ -36421,6 +36893,24 @@ function keyBuilder$1k(luvio, config) {
|
|
|
36421
36893
|
function typeCheckConfig$h(untrustedConfig) {
|
|
36422
36894
|
const config = {};
|
|
36423
36895
|
typeCheckConfig$n(untrustedConfig, config, getSearchResults_ConfigPropertyMetadata);
|
|
36896
|
+
const untrustedConfig_searchObjectOptions = untrustedConfig.searchObjectOptions;
|
|
36897
|
+
if (untrustedIsObject(untrustedConfig_searchObjectOptions)) {
|
|
36898
|
+
const untrustedConfig_searchObjectOptions_object = {};
|
|
36899
|
+
const untrustedConfig_searchObjectOptions_keys = Object.keys(untrustedConfig_searchObjectOptions);
|
|
36900
|
+
for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
|
|
36901
|
+
const key = untrustedConfig_searchObjectOptions_keys[i];
|
|
36902
|
+
const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
|
|
36903
|
+
const referenceSearchObjectOptionsRepresentationValidationError = validate$o(untrustedConfig_searchObjectOptions_prop);
|
|
36904
|
+
if (referenceSearchObjectOptionsRepresentationValidationError === null) {
|
|
36905
|
+
if (untrustedConfig_searchObjectOptions_object !== undefined) {
|
|
36906
|
+
untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
|
|
36907
|
+
}
|
|
36908
|
+
}
|
|
36909
|
+
}
|
|
36910
|
+
if (untrustedConfig_searchObjectOptions_object !== undefined && Object.keys(untrustedConfig_searchObjectOptions_object).length >= 0) {
|
|
36911
|
+
config.searchObjectOptions = untrustedConfig_searchObjectOptions_object;
|
|
36912
|
+
}
|
|
36913
|
+
}
|
|
36424
36914
|
return config;
|
|
36425
36915
|
}
|
|
36426
36916
|
function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
|
|
@@ -36494,75 +36984,6 @@ const getSearchResultsAdapterFactory = (luvio) => function UiApi__getSearchResul
|
|
|
36494
36984
|
buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
|
|
36495
36985
|
};
|
|
36496
36986
|
|
|
36497
|
-
function validate$f(obj, path = 'SearchFilterInputRepresentation') {
|
|
36498
|
-
const v_error = (() => {
|
|
36499
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36500
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
36501
|
-
}
|
|
36502
|
-
const obj_fieldPath = obj.fieldPath;
|
|
36503
|
-
const path_fieldPath = path + '.fieldPath';
|
|
36504
|
-
if (typeof obj_fieldPath !== 'string') {
|
|
36505
|
-
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
36506
|
-
}
|
|
36507
|
-
if (obj.objectApiName !== undefined) {
|
|
36508
|
-
const obj_objectApiName = obj.objectApiName;
|
|
36509
|
-
const path_objectApiName = path + '.objectApiName';
|
|
36510
|
-
if (typeof obj_objectApiName !== 'string') {
|
|
36511
|
-
return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
|
|
36512
|
-
}
|
|
36513
|
-
}
|
|
36514
|
-
const obj_operator = obj.operator;
|
|
36515
|
-
const path_operator = path + '.operator';
|
|
36516
|
-
if (typeof obj_operator !== 'string') {
|
|
36517
|
-
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
36518
|
-
}
|
|
36519
|
-
const obj_values = obj.values;
|
|
36520
|
-
const path_values = path + '.values';
|
|
36521
|
-
if (!ArrayIsArray(obj_values)) {
|
|
36522
|
-
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
36523
|
-
}
|
|
36524
|
-
for (let i = 0; i < obj_values.length; i++) {
|
|
36525
|
-
const obj_values_item = obj_values[i];
|
|
36526
|
-
const path_values_item = path_values + '[' + i + ']';
|
|
36527
|
-
let obj_values_item_union0 = null;
|
|
36528
|
-
const obj_values_item_union0_error = (() => {
|
|
36529
|
-
if (typeof obj_values_item !== 'string') {
|
|
36530
|
-
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
36531
|
-
}
|
|
36532
|
-
})();
|
|
36533
|
-
if (obj_values_item_union0_error != null) {
|
|
36534
|
-
obj_values_item_union0 = obj_values_item_union0_error.message;
|
|
36535
|
-
}
|
|
36536
|
-
let obj_values_item_union1 = null;
|
|
36537
|
-
const obj_values_item_union1_error = (() => {
|
|
36538
|
-
if (typeof obj_values_item !== 'number') {
|
|
36539
|
-
return new TypeError('Expected "number" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
36540
|
-
}
|
|
36541
|
-
})();
|
|
36542
|
-
if (obj_values_item_union1_error != null) {
|
|
36543
|
-
obj_values_item_union1 = obj_values_item_union1_error.message;
|
|
36544
|
-
}
|
|
36545
|
-
let obj_values_item_union2 = null;
|
|
36546
|
-
const obj_values_item_union2_error = (() => {
|
|
36547
|
-
if (typeof obj_values_item !== 'boolean') {
|
|
36548
|
-
return new TypeError('Expected "boolean" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
36549
|
-
}
|
|
36550
|
-
})();
|
|
36551
|
-
if (obj_values_item_union2_error != null) {
|
|
36552
|
-
obj_values_item_union2 = obj_values_item_union2_error.message;
|
|
36553
|
-
}
|
|
36554
|
-
if (obj_values_item_union0 && obj_values_item_union1 && obj_values_item_union2) {
|
|
36555
|
-
let message = 'Object doesn\'t match union (at "' + path_values_item + '")';
|
|
36556
|
-
message += '\n' + obj_values_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
36557
|
-
message += '\n' + obj_values_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
36558
|
-
message += '\n' + obj_values_item_union2.split('\n').map((line) => '\t' + line).join('\n');
|
|
36559
|
-
return new TypeError(message);
|
|
36560
|
-
}
|
|
36561
|
-
}
|
|
36562
|
-
})();
|
|
36563
|
-
return v_error === undefined ? null : v_error;
|
|
36564
|
-
}
|
|
36565
|
-
|
|
36566
36987
|
const TTL$a = 200;
|
|
36567
36988
|
const VERSION$1g = "3102453bf10ea449d9665914d5f5febf";
|
|
36568
36989
|
function validate$e(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
@@ -36598,7 +37019,7 @@ function validate$e(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
|
36598
37019
|
}
|
|
36599
37020
|
const obj_keywordSearchResult = obj.keywordSearchResult;
|
|
36600
37021
|
const path_keywordSearchResult = path + '.keywordSearchResult';
|
|
36601
|
-
const referencepath_keywordSearchResultValidationError = validate$
|
|
37022
|
+
const referencepath_keywordSearchResultValidationError = validate$m(obj_keywordSearchResult, path_keywordSearchResult);
|
|
36602
37023
|
if (referencepath_keywordSearchResultValidationError !== null) {
|
|
36603
37024
|
let message = 'Object doesn\'t match SearchResultCollectionRepresentation (at "' + path_keywordSearchResult + '")\n';
|
|
36604
37025
|
message += referencepath_keywordSearchResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -36753,7 +37174,7 @@ function typeCheckConfig$g(untrustedConfig) {
|
|
|
36753
37174
|
const untrustedConfig_filters_array = [];
|
|
36754
37175
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
36755
37176
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
36756
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
37177
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$p(untrustedConfig_filters_item);
|
|
36757
37178
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
36758
37179
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
36759
37180
|
}
|
|
@@ -55121,7 +55542,7 @@ function validate$a(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
55121
55542
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
55122
55543
|
let obj_recordTypeInfo_union0 = null;
|
|
55123
55544
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
55124
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
55545
|
+
const referencepath_recordTypeInfoValidationError = validate$1P(obj_recordTypeInfo, path_recordTypeInfo);
|
|
55125
55546
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
55126
55547
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
55127
55548
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|