@salesforce/lds-adapters-uiapi 1.242.1 → 1.243.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/es/es2018/types/src/generated/adapters/createListInfo.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/adapters/updateListInfoByName.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/resources/patchUiApiListInfoByListViewApiNameAndObjectApiName.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/resources/patchUiApiListInfoByListViewId.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/resources/postUiApiListInfoByObjectApiName.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/ListInfoInputRepresentation.d.ts +14 -13
- package/dist/es/es2018/types/src/generated/types/ListInfoPostInputRepresentation.d.ts +14 -13
- package/dist/es/es2018/types/src/generated/types/ListInfoRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/ListInfoShareCategoryRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoShareRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ListScopeInputRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ListScopeRepresentation.d.ts +3 -3
- package/dist/es/es2018/uiapi-records-service.js +373 -189
- package/package.json +1 -1
- package/sfdc/graphqlAdapters.js +1 -1
- package/sfdc/index.js +374 -190
- package/src/raml/api.raml +62 -14
|
@@ -574,8 +574,8 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
574
574
|
entry['__metadata'] = createLink$1(metadataKey);
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
const VERSION$
|
|
578
|
-
function validate$
|
|
577
|
+
const VERSION$2x = "275ae22194003d1e53f548b81219c5cb";
|
|
578
|
+
function validate$1S(obj, path = 'ListColumnRepresentation') {
|
|
579
579
|
const v_error = (() => {
|
|
580
580
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
581
581
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -624,10 +624,10 @@ function validate$1O(obj, path = 'ListColumnRepresentation') {
|
|
|
624
624
|
})();
|
|
625
625
|
return v_error === undefined ? null : v_error;
|
|
626
626
|
}
|
|
627
|
-
const select$
|
|
627
|
+
const select$35 = function ListColumnRepresentationSelect() {
|
|
628
628
|
return {
|
|
629
629
|
kind: 'Fragment',
|
|
630
|
-
version: VERSION$
|
|
630
|
+
version: VERSION$2x,
|
|
631
631
|
private: [],
|
|
632
632
|
selections: [
|
|
633
633
|
{
|
|
@@ -650,8 +650,8 @@ const select$33 = function ListColumnRepresentationSelect() {
|
|
|
650
650
|
};
|
|
651
651
|
};
|
|
652
652
|
|
|
653
|
-
const VERSION$
|
|
654
|
-
function validate$
|
|
653
|
+
const VERSION$2w = "623aa9ce3a11031e35faf5671a41746e";
|
|
654
|
+
function validate$1R(obj, path = 'ListFilterByInfoRepresentation') {
|
|
655
655
|
const v_error = (() => {
|
|
656
656
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
657
657
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -686,10 +686,10 @@ function validate$1N(obj, path = 'ListFilterByInfoRepresentation') {
|
|
|
686
686
|
})();
|
|
687
687
|
return v_error === undefined ? null : v_error;
|
|
688
688
|
}
|
|
689
|
-
const select$
|
|
689
|
+
const select$34 = function ListFilterByInfoRepresentationSelect() {
|
|
690
690
|
return {
|
|
691
691
|
kind: 'Fragment',
|
|
692
|
-
version: VERSION$
|
|
692
|
+
version: VERSION$2w,
|
|
693
693
|
private: [],
|
|
694
694
|
selections: [
|
|
695
695
|
{
|
|
@@ -713,8 +713,8 @@ const select$32 = function ListFilterByInfoRepresentationSelect() {
|
|
|
713
713
|
};
|
|
714
714
|
};
|
|
715
715
|
|
|
716
|
-
const VERSION$
|
|
717
|
-
function validate$
|
|
716
|
+
const VERSION$2v = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
717
|
+
function validate$1Q(obj, path = 'ListReferenceRepresentation') {
|
|
718
718
|
const v_error = (() => {
|
|
719
719
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
720
720
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -784,10 +784,10 @@ function validate$1M(obj, path = 'ListReferenceRepresentation') {
|
|
|
784
784
|
})();
|
|
785
785
|
return v_error === undefined ? null : v_error;
|
|
786
786
|
}
|
|
787
|
-
const select$
|
|
787
|
+
const select$33 = function ListReferenceRepresentationSelect() {
|
|
788
788
|
return {
|
|
789
789
|
kind: 'Fragment',
|
|
790
|
-
version: VERSION$
|
|
790
|
+
version: VERSION$2v,
|
|
791
791
|
private: [],
|
|
792
792
|
selections: [
|
|
793
793
|
{
|
|
@@ -833,8 +833,95 @@ function equals$15(existing, incoming) {
|
|
|
833
833
|
return true;
|
|
834
834
|
}
|
|
835
835
|
|
|
836
|
+
const VERSION$2u = "494e0262f07ff2cc5f82d1e0262fec4f";
|
|
837
|
+
function validate$1P(obj, path = 'ListInfoShareRepresentation') {
|
|
838
|
+
const v_error = (() => {
|
|
839
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
840
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
841
|
+
}
|
|
842
|
+
const obj_groupApiName = obj.groupApiName;
|
|
843
|
+
const path_groupApiName = path + '.groupApiName';
|
|
844
|
+
if (typeof obj_groupApiName !== 'string') {
|
|
845
|
+
return new TypeError('Expected "string" but received "' + typeof obj_groupApiName + '" (at "' + path_groupApiName + '")');
|
|
846
|
+
}
|
|
847
|
+
const obj_label = obj.label;
|
|
848
|
+
const path_label = path + '.label';
|
|
849
|
+
if (typeof obj_label !== 'string') {
|
|
850
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
851
|
+
}
|
|
852
|
+
})();
|
|
853
|
+
return v_error === undefined ? null : v_error;
|
|
854
|
+
}
|
|
855
|
+
const select$32 = function ListInfoShareRepresentationSelect() {
|
|
856
|
+
return {
|
|
857
|
+
kind: 'Fragment',
|
|
858
|
+
version: VERSION$2u,
|
|
859
|
+
private: [],
|
|
860
|
+
selections: [
|
|
861
|
+
{
|
|
862
|
+
name: 'groupApiName',
|
|
863
|
+
kind: 'Scalar'
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
name: 'label',
|
|
867
|
+
kind: 'Scalar'
|
|
868
|
+
}
|
|
869
|
+
]
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
const VERSION$2t = "561657f32721ec1dac1601575b029640";
|
|
874
|
+
function validate$1O(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
875
|
+
const v_error = (() => {
|
|
876
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
877
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
878
|
+
}
|
|
879
|
+
const obj_shareType = obj.shareType;
|
|
880
|
+
const path_shareType = path + '.shareType';
|
|
881
|
+
if (typeof obj_shareType !== 'string') {
|
|
882
|
+
return new TypeError('Expected "string" but received "' + typeof obj_shareType + '" (at "' + path_shareType + '")');
|
|
883
|
+
}
|
|
884
|
+
const obj_shares = obj.shares;
|
|
885
|
+
const path_shares = path + '.shares';
|
|
886
|
+
if (!ArrayIsArray(obj_shares)) {
|
|
887
|
+
return new TypeError('Expected "array" but received "' + typeof obj_shares + '" (at "' + path_shares + '")');
|
|
888
|
+
}
|
|
889
|
+
for (let i = 0; i < obj_shares.length; i++) {
|
|
890
|
+
const obj_shares_item = obj_shares[i];
|
|
891
|
+
const path_shares_item = path_shares + '[' + i + ']';
|
|
892
|
+
const referencepath_shares_itemValidationError = validate$1P(obj_shares_item, path_shares_item);
|
|
893
|
+
if (referencepath_shares_itemValidationError !== null) {
|
|
894
|
+
let message = 'Object doesn\'t match ListInfoShareRepresentation (at "' + path_shares_item + '")\n';
|
|
895
|
+
message += referencepath_shares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
896
|
+
return new TypeError(message);
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
})();
|
|
900
|
+
return v_error === undefined ? null : v_error;
|
|
901
|
+
}
|
|
902
|
+
const select$31 = function ListInfoShareCategoryRepresentationSelect() {
|
|
903
|
+
const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$32();
|
|
904
|
+
return {
|
|
905
|
+
kind: 'Fragment',
|
|
906
|
+
version: VERSION$2t,
|
|
907
|
+
private: [],
|
|
908
|
+
selections: [
|
|
909
|
+
{
|
|
910
|
+
name: 'shareType',
|
|
911
|
+
kind: 'Scalar'
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
name: 'shares',
|
|
915
|
+
kind: 'Object',
|
|
916
|
+
plural: true,
|
|
917
|
+
selections: ListInfoShareRepresentation__selections
|
|
918
|
+
}
|
|
919
|
+
]
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
|
+
|
|
836
923
|
const VERSION$2s = "32def9b631252c12b91a8209c1f49f5a";
|
|
837
|
-
function validate$
|
|
924
|
+
function validate$1N(obj, path = 'ListOrderByInfoRepresentation') {
|
|
838
925
|
const v_error = (() => {
|
|
839
926
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
840
927
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -901,7 +988,7 @@ const select$30 = function ListOrderByInfoRepresentationSelect() {
|
|
|
901
988
|
};
|
|
902
989
|
|
|
903
990
|
const VERSION$2r = "2634258f216db34315c06d759a35676d";
|
|
904
|
-
function validate$
|
|
991
|
+
function validate$1M(obj, path = 'ListScopeEntityRepresentation') {
|
|
905
992
|
const v_error = (() => {
|
|
906
993
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
907
994
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -938,7 +1025,7 @@ const select$2$ = function ListScopeEntityRepresentationSelect() {
|
|
|
938
1025
|
};
|
|
939
1026
|
|
|
940
1027
|
const VERSION$2q = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
941
|
-
function validate$
|
|
1028
|
+
function validate$1L(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
942
1029
|
const v_error = (() => {
|
|
943
1030
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
944
1031
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -983,8 +1070,8 @@ const select$2_ = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
983
1070
|
};
|
|
984
1071
|
};
|
|
985
1072
|
|
|
986
|
-
const VERSION$2p = "
|
|
987
|
-
function validate$
|
|
1073
|
+
const VERSION$2p = "2fe9814e7124b47f59da585483c1b3f9";
|
|
1074
|
+
function validate$1K(obj, path = 'ListScopeRepresentation') {
|
|
988
1075
|
const v_error = (() => {
|
|
989
1076
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
990
1077
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -998,7 +1085,7 @@ function validate$1I(obj, path = 'ListScopeRepresentation') {
|
|
|
998
1085
|
const path_entity = path + '.entity';
|
|
999
1086
|
let obj_entity_union0 = null;
|
|
1000
1087
|
const obj_entity_union0_error = (() => {
|
|
1001
|
-
const referencepath_entityValidationError = validate$
|
|
1088
|
+
const referencepath_entityValidationError = validate$1M(obj_entity, path_entity);
|
|
1002
1089
|
if (referencepath_entityValidationError !== null) {
|
|
1003
1090
|
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
1004
1091
|
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1025,14 +1112,35 @@ function validate$1I(obj, path = 'ListScopeRepresentation') {
|
|
|
1025
1112
|
}
|
|
1026
1113
|
const obj_label = obj.label;
|
|
1027
1114
|
const path_label = path + '.label';
|
|
1028
|
-
|
|
1029
|
-
|
|
1115
|
+
let obj_label_union0 = null;
|
|
1116
|
+
const obj_label_union0_error = (() => {
|
|
1117
|
+
if (typeof obj_label !== 'string') {
|
|
1118
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
1119
|
+
}
|
|
1120
|
+
})();
|
|
1121
|
+
if (obj_label_union0_error != null) {
|
|
1122
|
+
obj_label_union0 = obj_label_union0_error.message;
|
|
1123
|
+
}
|
|
1124
|
+
let obj_label_union1 = null;
|
|
1125
|
+
const obj_label_union1_error = (() => {
|
|
1126
|
+
if (obj_label !== null) {
|
|
1127
|
+
return new TypeError('Expected "null" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
1128
|
+
}
|
|
1129
|
+
})();
|
|
1130
|
+
if (obj_label_union1_error != null) {
|
|
1131
|
+
obj_label_union1 = obj_label_union1_error.message;
|
|
1132
|
+
}
|
|
1133
|
+
if (obj_label_union0 && obj_label_union1) {
|
|
1134
|
+
let message = 'Object doesn\'t match union (at "' + path_label + '")';
|
|
1135
|
+
message += '\n' + obj_label_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1136
|
+
message += '\n' + obj_label_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1137
|
+
return new TypeError(message);
|
|
1030
1138
|
}
|
|
1031
1139
|
const obj_relatedEntity = obj.relatedEntity;
|
|
1032
1140
|
const path_relatedEntity = path + '.relatedEntity';
|
|
1033
1141
|
let obj_relatedEntity_union0 = null;
|
|
1034
1142
|
const obj_relatedEntity_union0_error = (() => {
|
|
1035
|
-
const referencepath_relatedEntityValidationError = validate$
|
|
1143
|
+
const referencepath_relatedEntityValidationError = validate$1L(obj_relatedEntity, path_relatedEntity);
|
|
1036
1144
|
if (referencepath_relatedEntityValidationError !== null) {
|
|
1037
1145
|
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
1038
1146
|
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1093,7 +1201,7 @@ const select$2Z = function ListScopeRepresentationSelect() {
|
|
|
1093
1201
|
};
|
|
1094
1202
|
|
|
1095
1203
|
const VERSION$2o = "6506134f4d72fdfa349fe60ef1af2413";
|
|
1096
|
-
function validate$
|
|
1204
|
+
function validate$1J(obj, path = 'ListUserPreferenceRepresentation') {
|
|
1097
1205
|
const v_error = (() => {
|
|
1098
1206
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1099
1207
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1150,8 +1258,8 @@ const select$2Y = function ListUserPreferenceRepresentationSelect() {
|
|
|
1150
1258
|
};
|
|
1151
1259
|
|
|
1152
1260
|
const TTL$D = 900000;
|
|
1153
|
-
const VERSION$2n = "
|
|
1154
|
-
function validate$
|
|
1261
|
+
const VERSION$2n = "0dbff3feaaa7ced2709e9ae46c58a3e7";
|
|
1262
|
+
function validate$1I(obj, path = 'ListInfoRepresentation') {
|
|
1155
1263
|
const v_error = (() => {
|
|
1156
1264
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1157
1265
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1179,7 +1287,7 @@ function validate$1G(obj, path = 'ListInfoRepresentation') {
|
|
|
1179
1287
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
1180
1288
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
1181
1289
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
1182
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
1290
|
+
const referencepath_displayColumns_itemValidationError = validate$1S(obj_displayColumns_item, path_displayColumns_item);
|
|
1183
1291
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
1184
1292
|
let message = 'Object doesn\'t match ListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
1185
1293
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1225,7 +1333,7 @@ function validate$1G(obj, path = 'ListInfoRepresentation') {
|
|
|
1225
1333
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
1226
1334
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
1227
1335
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
1228
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
1336
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1R(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
1229
1337
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
1230
1338
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
1231
1339
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1260,12 +1368,29 @@ function validate$1G(obj, path = 'ListInfoRepresentation') {
|
|
|
1260
1368
|
}
|
|
1261
1369
|
const obj_listReference = obj.listReference;
|
|
1262
1370
|
const path_listReference = path + '.listReference';
|
|
1263
|
-
const referencepath_listReferenceValidationError = validate$
|
|
1371
|
+
const referencepath_listReferenceValidationError = validate$1Q(obj_listReference, path_listReference);
|
|
1264
1372
|
if (referencepath_listReferenceValidationError !== null) {
|
|
1265
1373
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
1266
1374
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1267
1375
|
return new TypeError(message);
|
|
1268
1376
|
}
|
|
1377
|
+
if (obj.listShares !== undefined) {
|
|
1378
|
+
const obj_listShares = obj.listShares;
|
|
1379
|
+
const path_listShares = path + '.listShares';
|
|
1380
|
+
if (!ArrayIsArray(obj_listShares)) {
|
|
1381
|
+
return new TypeError('Expected "array" but received "' + typeof obj_listShares + '" (at "' + path_listShares + '")');
|
|
1382
|
+
}
|
|
1383
|
+
for (let i = 0; i < obj_listShares.length; i++) {
|
|
1384
|
+
const obj_listShares_item = obj_listShares[i];
|
|
1385
|
+
const path_listShares_item = path_listShares + '[' + i + ']';
|
|
1386
|
+
const referencepath_listShares_itemValidationError = validate$1O(obj_listShares_item, path_listShares_item);
|
|
1387
|
+
if (referencepath_listShares_itemValidationError !== null) {
|
|
1388
|
+
let message = 'Object doesn\'t match ListInfoShareCategoryRepresentation (at "' + path_listShares_item + '")\n';
|
|
1389
|
+
message += referencepath_listShares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1390
|
+
return new TypeError(message);
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1269
1394
|
if (obj.objectApiNames !== undefined) {
|
|
1270
1395
|
const obj_objectApiNames = obj.objectApiNames;
|
|
1271
1396
|
const path_objectApiNames = path + '.objectApiNames';
|
|
@@ -1288,7 +1413,7 @@ function validate$1G(obj, path = 'ListInfoRepresentation') {
|
|
|
1288
1413
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
1289
1414
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
1290
1415
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
1291
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
1416
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1N(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
1292
1417
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
1293
1418
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
1294
1419
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1300,7 +1425,7 @@ function validate$1G(obj, path = 'ListInfoRepresentation') {
|
|
|
1300
1425
|
const path_scope = path + '.scope';
|
|
1301
1426
|
let obj_scope_union0 = null;
|
|
1302
1427
|
const obj_scope_union0_error = (() => {
|
|
1303
|
-
const referencepath_scopeValidationError = validate$
|
|
1428
|
+
const referencepath_scopeValidationError = validate$1K(obj_scope, path_scope);
|
|
1304
1429
|
if (referencepath_scopeValidationError !== null) {
|
|
1305
1430
|
let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
|
|
1306
1431
|
message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1333,7 +1458,7 @@ function validate$1G(obj, path = 'ListInfoRepresentation') {
|
|
|
1333
1458
|
}
|
|
1334
1459
|
const obj_userPreferences = obj.userPreferences;
|
|
1335
1460
|
const path_userPreferences = path + '.userPreferences';
|
|
1336
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
1461
|
+
const referencepath_userPreferencesValidationError = validate$1J(obj_userPreferences, path_userPreferences);
|
|
1337
1462
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
1338
1463
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
1339
1464
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1368,9 +1493,10 @@ function normalize$P(input, existing, path, luvio, store, timestamp) {
|
|
|
1368
1493
|
return input;
|
|
1369
1494
|
}
|
|
1370
1495
|
const select$2X = function ListInfoRepresentationSelect() {
|
|
1371
|
-
const { selections: ListColumnRepresentation__selections, opaque: ListColumnRepresentation__opaque, } = select$
|
|
1372
|
-
const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$
|
|
1373
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
1496
|
+
const { selections: ListColumnRepresentation__selections, opaque: ListColumnRepresentation__opaque, } = select$35();
|
|
1497
|
+
const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$34();
|
|
1498
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$33();
|
|
1499
|
+
const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$31();
|
|
1374
1500
|
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$30();
|
|
1375
1501
|
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$2Z();
|
|
1376
1502
|
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$2Y();
|
|
@@ -1418,6 +1544,13 @@ const select$2X = function ListInfoRepresentationSelect() {
|
|
|
1418
1544
|
kind: 'Object',
|
|
1419
1545
|
selections: ListReferenceRepresentation__selections
|
|
1420
1546
|
},
|
|
1547
|
+
{
|
|
1548
|
+
name: 'listShares',
|
|
1549
|
+
kind: 'Object',
|
|
1550
|
+
plural: true,
|
|
1551
|
+
selections: ListInfoShareCategoryRepresentation__selections,
|
|
1552
|
+
required: false
|
|
1553
|
+
},
|
|
1421
1554
|
{
|
|
1422
1555
|
name: 'objectApiNames',
|
|
1423
1556
|
kind: 'Scalar',
|
|
@@ -1465,7 +1598,7 @@ function equals$14(existing, incoming) {
|
|
|
1465
1598
|
}
|
|
1466
1599
|
const ingest$1U = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1467
1600
|
if (process.env.NODE_ENV !== 'production') {
|
|
1468
|
-
const validateError = validate$
|
|
1601
|
+
const validateError = validate$1I(input);
|
|
1469
1602
|
if (validateError !== null) {
|
|
1470
1603
|
throw validateError;
|
|
1471
1604
|
}
|
|
@@ -1545,7 +1678,7 @@ function toSortedStringArray(value) {
|
|
|
1545
1678
|
}
|
|
1546
1679
|
|
|
1547
1680
|
const VERSION$2m = "d1e589a127fb1060c89070cdb6f500b2";
|
|
1548
|
-
function validate$
|
|
1681
|
+
function validate$1H(obj, path = 'RecordTypeInfoRepresentation') {
|
|
1549
1682
|
const v_error = (() => {
|
|
1550
1683
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1551
1684
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1637,7 +1770,7 @@ function equals$13(existing, incoming) {
|
|
|
1637
1770
|
}
|
|
1638
1771
|
|
|
1639
1772
|
const VERSION$2l = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
1640
|
-
function validate$
|
|
1773
|
+
function validate$1G(obj, path = 'FieldValueRepresentation') {
|
|
1641
1774
|
const v_error = (() => {
|
|
1642
1775
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1643
1776
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1784,7 +1917,7 @@ function equals$12(existing, incoming) {
|
|
|
1784
1917
|
}
|
|
1785
1918
|
const ingest$1T = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1786
1919
|
if (process.env.NODE_ENV !== 'production') {
|
|
1787
|
-
const validateError = validate$
|
|
1920
|
+
const validateError = validate$1G(input);
|
|
1788
1921
|
if (validateError !== null) {
|
|
1789
1922
|
throw validateError;
|
|
1790
1923
|
}
|
|
@@ -1835,7 +1968,7 @@ const getTypeCacheKeys$1V = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
1835
1968
|
|
|
1836
1969
|
const TTL$C = 120000;
|
|
1837
1970
|
const VERSION$2k = "79cb5ac9f44542f683d00245fdfe500d";
|
|
1838
|
-
function validate$
|
|
1971
|
+
function validate$1F(obj, path = 'RecordCollectionRepresentation') {
|
|
1839
1972
|
const v_error = (() => {
|
|
1840
1973
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1841
1974
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2108,7 +2241,7 @@ function equals$11(existing, incoming) {
|
|
|
2108
2241
|
}
|
|
2109
2242
|
const ingest$1S = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2110
2243
|
if (process.env.NODE_ENV !== 'production') {
|
|
2111
|
-
const validateError = validate$
|
|
2244
|
+
const validateError = validate$1F(input);
|
|
2112
2245
|
if (validateError !== null) {
|
|
2113
2246
|
throw validateError;
|
|
2114
2247
|
}
|
|
@@ -2144,7 +2277,7 @@ const keyBuilderFromType$z = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
2144
2277
|
|
|
2145
2278
|
const TTL$B = 30000;
|
|
2146
2279
|
const VERSION$2j = "98c5b18512e48ca8d28727549507e4ba";
|
|
2147
|
-
function validate$
|
|
2280
|
+
function validate$1E(obj, path = 'RecordRepresentation') {
|
|
2148
2281
|
const v_error = (() => {
|
|
2149
2282
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2150
2283
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2274,7 +2407,7 @@ function validate$1C(obj, path = 'RecordRepresentation') {
|
|
|
2274
2407
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
2275
2408
|
let obj_recordTypeInfo_union0 = null;
|
|
2276
2409
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
2277
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
2410
|
+
const referencepath_recordTypeInfoValidationError = validate$1H(obj_recordTypeInfo, path_recordTypeInfo);
|
|
2278
2411
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
2279
2412
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
2280
2413
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4940,7 +5073,7 @@ function normalize$M(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
4940
5073
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
4941
5074
|
return (input, path, luvio, store, timestamp) => {
|
|
4942
5075
|
if (process.env.NODE_ENV !== 'production') {
|
|
4943
|
-
const validateError = validate$
|
|
5076
|
+
const validateError = validate$1G(input);
|
|
4944
5077
|
if (validateError !== null) {
|
|
4945
5078
|
throw validateError;
|
|
4946
5079
|
}
|
|
@@ -5033,11 +5166,12 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
5033
5166
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
5034
5167
|
return (input, path, luvio, store, timestamp) => {
|
|
5035
5168
|
if (process.env.NODE_ENV !== 'production') {
|
|
5036
|
-
const validateError = validate$
|
|
5169
|
+
const validateError = validate$1E(input);
|
|
5037
5170
|
if (validateError !== null) {
|
|
5038
5171
|
throw validateError;
|
|
5039
5172
|
}
|
|
5040
5173
|
}
|
|
5174
|
+
input.eTag = ''; //[W-13724550] Record Reps ALWAYS have '' etag, to be consistent with GraphQL, as it is not queryable via GraphQL.
|
|
5041
5175
|
const key = keyBuilderFromType$z(luvio, input);
|
|
5042
5176
|
let existingRecord = store.readEntry(key);
|
|
5043
5177
|
const recordPath = {
|
|
@@ -5760,6 +5894,7 @@ function resolveConflict(luvio, map) {
|
|
|
5760
5894
|
|
|
5761
5895
|
const createIngestRecordWithFields = (fields, optionalFields) => {
|
|
5762
5896
|
return (input, path, luvio, store, timestamp) => {
|
|
5897
|
+
input.eTag = ''; //[W-13724550] Record Reps ALWAYS have '' etag, to be consistent with GraphQL, as it is not queryable via GraphQL.
|
|
5763
5898
|
const conflictMap = {
|
|
5764
5899
|
conflicts: {},
|
|
5765
5900
|
serverRequestCount: 0,
|
|
@@ -5990,7 +6125,7 @@ function revertPaginationOptimization(variables) {
|
|
|
5990
6125
|
|
|
5991
6126
|
const TTL$A = 30000;
|
|
5992
6127
|
const VERSION$2h = "614ef19823027c07fa6deb9a149619d2";
|
|
5993
|
-
function validate$
|
|
6128
|
+
function validate$1D(obj, path = 'ListRecordCollectionRepresentation') {
|
|
5994
6129
|
const v_error = (() => {
|
|
5995
6130
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5996
6131
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6050,7 +6185,7 @@ function validate$1B(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
6050
6185
|
}
|
|
6051
6186
|
const obj_listReference = obj.listReference;
|
|
6052
6187
|
const path_listReference = path + '.listReference';
|
|
6053
|
-
const referencepath_listReferenceValidationError = validate$
|
|
6188
|
+
const referencepath_listReferenceValidationError = validate$1Q(obj_listReference, path_listReference);
|
|
6054
6189
|
if (referencepath_listReferenceValidationError !== null) {
|
|
6055
6190
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
6056
6191
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6261,7 +6396,7 @@ function normalize$L(input, existing, path, luvio, store, timestamp) {
|
|
|
6261
6396
|
return input;
|
|
6262
6397
|
}
|
|
6263
6398
|
const select$2S = function ListRecordCollectionRepresentationSelect(paginationParams) {
|
|
6264
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
6399
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$33();
|
|
6265
6400
|
return {
|
|
6266
6401
|
kind: 'Fragment',
|
|
6267
6402
|
reader: true,
|
|
@@ -6375,7 +6510,7 @@ const dynamicSelect$7 = function dynamicListRecordCollectionRepresentationSelect
|
|
|
6375
6510
|
kind: 'Link',
|
|
6376
6511
|
fragment: select$2T()
|
|
6377
6512
|
} : params.records;
|
|
6378
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
6513
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$33();
|
|
6379
6514
|
return {
|
|
6380
6515
|
kind: 'Fragment',
|
|
6381
6516
|
reader: true,
|
|
@@ -6551,7 +6686,7 @@ function equals$$(existing, incoming) {
|
|
|
6551
6686
|
}
|
|
6552
6687
|
const ingest$1Q = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6553
6688
|
if (process.env.NODE_ENV !== 'production') {
|
|
6554
|
-
const validateError = validate$
|
|
6689
|
+
const validateError = validate$1D(input);
|
|
6555
6690
|
if (validateError !== null) {
|
|
6556
6691
|
throw validateError;
|
|
6557
6692
|
}
|
|
@@ -6644,7 +6779,7 @@ function getTypeCacheKeys$1S(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6644
6779
|
}
|
|
6645
6780
|
|
|
6646
6781
|
const VERSION$2g = "cf8d2eb042188974da26ffe6618cfd07";
|
|
6647
|
-
function validate$
|
|
6782
|
+
function validate$1C(obj, path = 'ListUiRepresentation') {
|
|
6648
6783
|
const v_error = (() => {
|
|
6649
6784
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6650
6785
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6771,7 +6906,7 @@ function equals$_(existing, incoming) {
|
|
|
6771
6906
|
}
|
|
6772
6907
|
const ingest$1P = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6773
6908
|
if (process.env.NODE_ENV !== 'production') {
|
|
6774
|
-
const validateError = validate$
|
|
6909
|
+
const validateError = validate$1C(input);
|
|
6775
6910
|
if (validateError !== null) {
|
|
6776
6911
|
throw validateError;
|
|
6777
6912
|
}
|
|
@@ -7504,7 +7639,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
7504
7639
|
}
|
|
7505
7640
|
|
|
7506
7641
|
const VERSION$2f = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
7507
|
-
function validate$
|
|
7642
|
+
function validate$1B(obj, path = 'ListViewSummaryRepresentation') {
|
|
7508
7643
|
const v_error = (() => {
|
|
7509
7644
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7510
7645
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7616,7 +7751,7 @@ function equals$Z(existing, incoming) {
|
|
|
7616
7751
|
}
|
|
7617
7752
|
const ingest$1O = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7618
7753
|
if (process.env.NODE_ENV !== 'production') {
|
|
7619
|
-
const validateError = validate$
|
|
7754
|
+
const validateError = validate$1B(input);
|
|
7620
7755
|
if (validateError !== null) {
|
|
7621
7756
|
throw validateError;
|
|
7622
7757
|
}
|
|
@@ -7637,7 +7772,7 @@ function getTypeCacheKeys$1Q(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7637
7772
|
}
|
|
7638
7773
|
|
|
7639
7774
|
const VERSION$2e = "f4c79fe066da3558499d5ee88c72abcd";
|
|
7640
|
-
function validate$
|
|
7775
|
+
function validate$1A(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
7641
7776
|
const v_error = (() => {
|
|
7642
7777
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7643
7778
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8021,7 +8156,7 @@ function equals$Y(existing, incoming) {
|
|
|
8021
8156
|
}
|
|
8022
8157
|
const ingest$1N = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8023
8158
|
if (process.env.NODE_ENV !== 'production') {
|
|
8024
|
-
const validateError = validate$
|
|
8159
|
+
const validateError = validate$1A(input);
|
|
8025
8160
|
if (validateError !== null) {
|
|
8026
8161
|
throw validateError;
|
|
8027
8162
|
}
|
|
@@ -9166,7 +9301,7 @@ const factory$i = (luvio) => {
|
|
|
9166
9301
|
}, { contextId: contextId$6 });
|
|
9167
9302
|
};
|
|
9168
9303
|
|
|
9169
|
-
function validate$
|
|
9304
|
+
function validate$1z(obj, path = 'ChildRelationshipRepresentation') {
|
|
9170
9305
|
const v_error = (() => {
|
|
9171
9306
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9172
9307
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9214,7 +9349,7 @@ function validate$1x(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
9214
9349
|
return v_error === undefined ? null : v_error;
|
|
9215
9350
|
}
|
|
9216
9351
|
|
|
9217
|
-
function validate$
|
|
9352
|
+
function validate$1y(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
9218
9353
|
const v_error = (() => {
|
|
9219
9354
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9220
9355
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9245,7 +9380,7 @@ function validate$1w(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
9245
9380
|
return v_error === undefined ? null : v_error;
|
|
9246
9381
|
}
|
|
9247
9382
|
|
|
9248
|
-
function validate$
|
|
9383
|
+
function validate$1x(obj, path = 'ReferenceToInfoRepresentation') {
|
|
9249
9384
|
const v_error = (() => {
|
|
9250
9385
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9251
9386
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9271,7 +9406,7 @@ function validate$1v(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
9271
9406
|
return v_error === undefined ? null : v_error;
|
|
9272
9407
|
}
|
|
9273
9408
|
|
|
9274
|
-
function validate$
|
|
9409
|
+
function validate$1w(obj, path = 'FieldRepresentation') {
|
|
9275
9410
|
const v_error = (() => {
|
|
9276
9411
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9277
9412
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9431,7 +9566,7 @@ function validate$1u(obj, path = 'FieldRepresentation') {
|
|
|
9431
9566
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
9432
9567
|
let obj_filteredLookupInfo_union0 = null;
|
|
9433
9568
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
9434
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
9569
|
+
const referencepath_filteredLookupInfoValidationError = validate$1y(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
9435
9570
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
9436
9571
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' + path_filteredLookupInfo + '")\n';
|
|
9437
9572
|
message += referencepath_filteredLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9556,7 +9691,7 @@ function validate$1u(obj, path = 'FieldRepresentation') {
|
|
|
9556
9691
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
9557
9692
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
9558
9693
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
9559
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
9694
|
+
const referencepath_referenceToInfos_itemValidationError = validate$1x(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
9560
9695
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
9561
9696
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' + path_referenceToInfos_item + '")\n';
|
|
9562
9697
|
message += referencepath_referenceToInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9623,7 +9758,7 @@ function validate$1u(obj, path = 'FieldRepresentation') {
|
|
|
9623
9758
|
return v_error === undefined ? null : v_error;
|
|
9624
9759
|
}
|
|
9625
9760
|
|
|
9626
|
-
function validate$
|
|
9761
|
+
function validate$1v(obj, path = 'ThemeInfoRepresentation') {
|
|
9627
9762
|
const v_error = (() => {
|
|
9628
9763
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9629
9764
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9665,7 +9800,7 @@ function validate$1t(obj, path = 'ThemeInfoRepresentation') {
|
|
|
9665
9800
|
|
|
9666
9801
|
const TTL$z = 900000;
|
|
9667
9802
|
const VERSION$2d = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
9668
|
-
function validate$
|
|
9803
|
+
function validate$1u(obj, path = 'ObjectInfoRepresentation') {
|
|
9669
9804
|
const v_error = (() => {
|
|
9670
9805
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9671
9806
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9735,7 +9870,7 @@ function validate$1s(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9735
9870
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
9736
9871
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
9737
9872
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
9738
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
9873
|
+
const referencepath_childRelationships_itemValidationError = validate$1z(obj_childRelationships_item, path_childRelationships_item);
|
|
9739
9874
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
9740
9875
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' + path_childRelationships_item + '")\n';
|
|
9741
9876
|
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9817,7 +9952,7 @@ function validate$1s(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9817
9952
|
const key = obj_fields_keys[i];
|
|
9818
9953
|
const obj_fields_prop = obj_fields[key];
|
|
9819
9954
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
9820
|
-
const referencepath_fields_propValidationError = validate$
|
|
9955
|
+
const referencepath_fields_propValidationError = validate$1w(obj_fields_prop, path_fields_prop);
|
|
9821
9956
|
if (referencepath_fields_propValidationError !== null) {
|
|
9822
9957
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
9823
9958
|
message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9897,7 +10032,7 @@ function validate$1s(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9897
10032
|
const key = obj_recordTypeInfos_keys[i];
|
|
9898
10033
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
9899
10034
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
9900
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
10035
|
+
const referencepath_recordTypeInfos_propValidationError = validate$1H(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
9901
10036
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
9902
10037
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfos_prop + '")\n';
|
|
9903
10038
|
message += referencepath_recordTypeInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9913,7 +10048,7 @@ function validate$1s(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9913
10048
|
const path_themeInfo = path + '.themeInfo';
|
|
9914
10049
|
let obj_themeInfo_union0 = null;
|
|
9915
10050
|
const obj_themeInfo_union0_error = (() => {
|
|
9916
|
-
const referencepath_themeInfoValidationError = validate$
|
|
10051
|
+
const referencepath_themeInfoValidationError = validate$1v(obj_themeInfo, path_themeInfo);
|
|
9917
10052
|
if (referencepath_themeInfoValidationError !== null) {
|
|
9918
10053
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
9919
10054
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10072,7 +10207,7 @@ function equals$X(existing, incoming) {
|
|
|
10072
10207
|
}
|
|
10073
10208
|
const ingest$1M = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10074
10209
|
if (process.env.NODE_ENV !== 'production') {
|
|
10075
|
-
const validateError = validate$
|
|
10210
|
+
const validateError = validate$1u(input);
|
|
10076
10211
|
if (validateError !== null) {
|
|
10077
10212
|
throw validateError;
|
|
10078
10213
|
}
|
|
@@ -10233,7 +10368,7 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
|
|
|
10233
10368
|
buildCachedSnapshotCachePolicy$M, buildNetworkSnapshotCachePolicy$M);
|
|
10234
10369
|
};
|
|
10235
10370
|
|
|
10236
|
-
function validate$
|
|
10371
|
+
function validate$1t(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
10237
10372
|
const v_error = (() => {
|
|
10238
10373
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10239
10374
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10281,7 +10416,7 @@ var DiscriminatorValues$4;
|
|
|
10281
10416
|
DiscriminatorValues["Field"] = "Field";
|
|
10282
10417
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
10283
10418
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
10284
|
-
function validate$
|
|
10419
|
+
function validate$1s(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
10285
10420
|
const v_error = (() => {
|
|
10286
10421
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10287
10422
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10321,7 +10456,7 @@ function validate$1q(obj, path = 'AbstractRecordLayoutComponentRepresentation')
|
|
|
10321
10456
|
return v_error === undefined ? null : v_error;
|
|
10322
10457
|
}
|
|
10323
10458
|
|
|
10324
|
-
function validate$
|
|
10459
|
+
function validate$1r(obj, path = 'RecordLayoutItemRepresentation') {
|
|
10325
10460
|
const v_error = (() => {
|
|
10326
10461
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10327
10462
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10349,7 +10484,7 @@ function validate$1p(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10349
10484
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
10350
10485
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
10351
10486
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
10352
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
10487
|
+
const referencepath_layoutComponents_itemValidationError = validate$1s(obj_layoutComponents_item, path_layoutComponents_item);
|
|
10353
10488
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
10354
10489
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' + path_layoutComponents_item + '")\n';
|
|
10355
10490
|
message += referencepath_layoutComponents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10396,7 +10531,7 @@ function validate$1p(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10396
10531
|
return v_error === undefined ? null : v_error;
|
|
10397
10532
|
}
|
|
10398
10533
|
|
|
10399
|
-
function validate$
|
|
10534
|
+
function validate$1q(obj, path = 'RecordLayoutRowRepresentation') {
|
|
10400
10535
|
const v_error = (() => {
|
|
10401
10536
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10402
10537
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10409,7 +10544,7 @@ function validate$1o(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
10409
10544
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
10410
10545
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
10411
10546
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
10412
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
10547
|
+
const referencepath_layoutItems_itemValidationError = validate$1r(obj_layoutItems_item, path_layoutItems_item);
|
|
10413
10548
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
10414
10549
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' + path_layoutItems_item + '")\n';
|
|
10415
10550
|
message += referencepath_layoutItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10420,7 +10555,7 @@ function validate$1o(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
10420
10555
|
return v_error === undefined ? null : v_error;
|
|
10421
10556
|
}
|
|
10422
10557
|
|
|
10423
|
-
function validate$
|
|
10558
|
+
function validate$1p(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
10424
10559
|
const v_error = (() => {
|
|
10425
10560
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10426
10561
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10495,7 +10630,7 @@ function validate$1n(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
10495
10630
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
10496
10631
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
10497
10632
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
10498
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
10633
|
+
const referencepath_layoutRows_itemValidationError = validate$1q(obj_layoutRows_item, path_layoutRows_item);
|
|
10499
10634
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
10500
10635
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' + path_layoutRows_item + '")\n';
|
|
10501
10636
|
message += referencepath_layoutRows_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10518,7 +10653,7 @@ function validate$1n(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
10518
10653
|
|
|
10519
10654
|
const TTL$y = 900000;
|
|
10520
10655
|
const VERSION$2c = "fb515e25a89ca1ec154dc865e72b913a";
|
|
10521
|
-
function validate$
|
|
10656
|
+
function validate$1o(obj, path = 'RecordLayoutRepresentation') {
|
|
10522
10657
|
const v_error = (() => {
|
|
10523
10658
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10524
10659
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10624,7 +10759,7 @@ function validate$1m(obj, path = 'RecordLayoutRepresentation') {
|
|
|
10624
10759
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
10625
10760
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
10626
10761
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
10627
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
10762
|
+
const referencepath_saveOptions_itemValidationError = validate$1t(obj_saveOptions_item, path_saveOptions_item);
|
|
10628
10763
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
10629
10764
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' + path_saveOptions_item + '")\n';
|
|
10630
10765
|
message += referencepath_saveOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10639,7 +10774,7 @@ function validate$1m(obj, path = 'RecordLayoutRepresentation') {
|
|
|
10639
10774
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
10640
10775
|
const obj_sections_item = obj_sections[i];
|
|
10641
10776
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
10642
|
-
const referencepath_sections_itemValidationError = validate$
|
|
10777
|
+
const referencepath_sections_itemValidationError = validate$1p(obj_sections_item, path_sections_item);
|
|
10643
10778
|
if (referencepath_sections_itemValidationError !== null) {
|
|
10644
10779
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' + path_sections_item + '")\n';
|
|
10645
10780
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10714,7 +10849,7 @@ function equals$W(existing, incoming) {
|
|
|
10714
10849
|
}
|
|
10715
10850
|
const ingest$1L = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10716
10851
|
if (process.env.NODE_ENV !== 'production') {
|
|
10717
|
-
const validateError = validate$
|
|
10852
|
+
const validateError = validate$1o(input);
|
|
10718
10853
|
if (validateError !== null) {
|
|
10719
10854
|
throw validateError;
|
|
10720
10855
|
}
|
|
@@ -10756,7 +10891,7 @@ function getRecordId18Array(value) {
|
|
|
10756
10891
|
return dedupe(array).sort();
|
|
10757
10892
|
}
|
|
10758
10893
|
|
|
10759
|
-
function validate$
|
|
10894
|
+
function validate$1n(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
10760
10895
|
const v_error = (() => {
|
|
10761
10896
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10762
10897
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10777,7 +10912,7 @@ function validate$1l(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
10777
10912
|
|
|
10778
10913
|
const TTL$x = 900000;
|
|
10779
10914
|
const VERSION$2b = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
10780
|
-
function validate$
|
|
10915
|
+
function validate$1m(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
10781
10916
|
const v_error = (() => {
|
|
10782
10917
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10783
10918
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10817,7 +10952,7 @@ function validate$1k(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
10817
10952
|
const key = obj_sectionUserStates_keys[i];
|
|
10818
10953
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
10819
10954
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
10820
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
10955
|
+
const referencepath_sectionUserStates_propValidationError = validate$1n(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
10821
10956
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
10822
10957
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' + path_sectionUserStates_prop + '")\n';
|
|
10823
10958
|
message += referencepath_sectionUserStates_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10874,7 +11009,7 @@ function equals$V(existing, incoming) {
|
|
|
10874
11009
|
}
|
|
10875
11010
|
const ingest$1K = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10876
11011
|
if (process.env.NODE_ENV !== 'production') {
|
|
10877
|
-
const validateError = validate$
|
|
11012
|
+
const validateError = validate$1m(input);
|
|
10878
11013
|
if (validateError !== null) {
|
|
10879
11014
|
throw validateError;
|
|
10880
11015
|
}
|
|
@@ -10896,7 +11031,7 @@ function getTypeCacheKeys$1M(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10896
11031
|
|
|
10897
11032
|
const TTL$w = 900000;
|
|
10898
11033
|
const VERSION$2a = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
10899
|
-
function validate$
|
|
11034
|
+
function validate$1l(obj, path = 'RecordUiRepresentation') {
|
|
10900
11035
|
const v_error = (() => {
|
|
10901
11036
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10902
11037
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11158,7 +11293,7 @@ function equals$U(existing, incoming) {
|
|
|
11158
11293
|
}
|
|
11159
11294
|
const ingest$1J = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11160
11295
|
if (process.env.NODE_ENV !== 'production') {
|
|
11161
|
-
const validateError = validate$
|
|
11296
|
+
const validateError = validate$1l(input);
|
|
11162
11297
|
if (validateError !== null) {
|
|
11163
11298
|
throw validateError;
|
|
11164
11299
|
}
|
|
@@ -12288,7 +12423,7 @@ const notifyUpdateAvailableFactory$1 = (luvio) => {
|
|
|
12288
12423
|
};
|
|
12289
12424
|
|
|
12290
12425
|
const VERSION$29 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
12291
|
-
function validate$
|
|
12426
|
+
function validate$1k(obj, path = 'QuickActionExecutionRepresentation') {
|
|
12292
12427
|
const v_error = (() => {
|
|
12293
12428
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12294
12429
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12461,7 +12596,7 @@ function equals$T(existing, incoming) {
|
|
|
12461
12596
|
}
|
|
12462
12597
|
const ingest$1I = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12463
12598
|
if (process.env.NODE_ENV !== 'production') {
|
|
12464
|
-
const validateError = validate$
|
|
12599
|
+
const validateError = validate$1k(input);
|
|
12465
12600
|
if (validateError !== null) {
|
|
12466
12601
|
throw validateError;
|
|
12467
12602
|
}
|
|
@@ -12483,7 +12618,7 @@ function getTypeCacheKeys$1L(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12483
12618
|
|
|
12484
12619
|
const TTL$v = 900000;
|
|
12485
12620
|
const VERSION$28 = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
12486
|
-
function validate$
|
|
12621
|
+
function validate$1j(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
12487
12622
|
const v_error = (() => {
|
|
12488
12623
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12489
12624
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12662,7 +12797,7 @@ function coerceFormFactor(form) {
|
|
|
12662
12797
|
}
|
|
12663
12798
|
|
|
12664
12799
|
const VERSION$27 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
12665
|
-
function validate$
|
|
12800
|
+
function validate$1i(obj, path = 'PlatformActionRepresentation') {
|
|
12666
12801
|
const v_error = (() => {
|
|
12667
12802
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12668
12803
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13194,7 +13329,7 @@ function equals$R(existing, incoming) {
|
|
|
13194
13329
|
}
|
|
13195
13330
|
const ingest$1H = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13196
13331
|
if (process.env.NODE_ENV !== 'production') {
|
|
13197
|
-
const validateError = validate$
|
|
13332
|
+
const validateError = validate$1i(input);
|
|
13198
13333
|
if (validateError !== null) {
|
|
13199
13334
|
throw validateError;
|
|
13200
13335
|
}
|
|
@@ -13215,7 +13350,7 @@ function getTypeCacheKeys$1J(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13215
13350
|
}
|
|
13216
13351
|
|
|
13217
13352
|
const VERSION$26 = "378d506f563a4bd724b322d440df33d1";
|
|
13218
|
-
function validate$
|
|
13353
|
+
function validate$1h(obj, path = 'EntityActionRepresentation') {
|
|
13219
13354
|
const v_error = (() => {
|
|
13220
13355
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13221
13356
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13329,7 +13464,7 @@ function equals$Q(existing, incoming) {
|
|
|
13329
13464
|
}
|
|
13330
13465
|
const ingest$1G = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13331
13466
|
if (process.env.NODE_ENV !== 'production') {
|
|
13332
|
-
const validateError = validate$
|
|
13467
|
+
const validateError = validate$1h(input);
|
|
13333
13468
|
if (validateError !== null) {
|
|
13334
13469
|
throw validateError;
|
|
13335
13470
|
}
|
|
@@ -13355,7 +13490,7 @@ function getTypeCacheKeys$1I(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13355
13490
|
|
|
13356
13491
|
const TTL$u = 300000;
|
|
13357
13492
|
const VERSION$25 = "e485d96c1402a9ca2f56e56485af0216";
|
|
13358
|
-
function validate$
|
|
13493
|
+
function validate$1g(obj, path = 'ActionRepresentation') {
|
|
13359
13494
|
const v_error = (() => {
|
|
13360
13495
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13361
13496
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13453,7 +13588,7 @@ function equals$P(existing, incoming) {
|
|
|
13453
13588
|
}
|
|
13454
13589
|
const ingest$1F = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13455
13590
|
if (process.env.NODE_ENV !== 'production') {
|
|
13456
|
-
const validateError = validate$
|
|
13591
|
+
const validateError = validate$1g(input);
|
|
13457
13592
|
if (validateError !== null) {
|
|
13458
13593
|
throw validateError;
|
|
13459
13594
|
}
|
|
@@ -13625,7 +13760,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
13625
13760
|
|
|
13626
13761
|
const TTL$t = 900000;
|
|
13627
13762
|
const VERSION$24 = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
13628
|
-
function validate$
|
|
13763
|
+
function validate$1f(obj, path = 'QuickActionLayoutRepresentation') {
|
|
13629
13764
|
const v_error = (() => {
|
|
13630
13765
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13631
13766
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13642,7 +13777,7 @@ function validate$1d(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
13642
13777
|
}
|
|
13643
13778
|
const obj_layout = obj.layout;
|
|
13644
13779
|
const path_layout = path + '.layout';
|
|
13645
|
-
const referencepath_layoutValidationError = validate$
|
|
13780
|
+
const referencepath_layoutValidationError = validate$1o(obj_layout, path_layout);
|
|
13646
13781
|
if (referencepath_layoutValidationError !== null) {
|
|
13647
13782
|
let message = 'Object doesn\'t match RecordLayoutRepresentation (at "' + path_layout + '")\n';
|
|
13648
13783
|
message += referencepath_layoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13692,7 +13827,7 @@ function equals$O(existing, incoming) {
|
|
|
13692
13827
|
}
|
|
13693
13828
|
const ingest$1E = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13694
13829
|
if (process.env.NODE_ENV !== 'production') {
|
|
13695
|
-
const validateError = validate$
|
|
13830
|
+
const validateError = validate$1f(input);
|
|
13696
13831
|
if (validateError !== null) {
|
|
13697
13832
|
throw validateError;
|
|
13698
13833
|
}
|
|
@@ -14169,7 +14304,7 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
14169
14304
|
};
|
|
14170
14305
|
|
|
14171
14306
|
const VERSION$23 = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
14172
|
-
function validate$
|
|
14307
|
+
function validate$1e(obj, path = 'ActionOverrideRepresentation') {
|
|
14173
14308
|
const v_error = (() => {
|
|
14174
14309
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14175
14310
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14202,7 +14337,7 @@ function equals$N(existing, incoming) {
|
|
|
14202
14337
|
}
|
|
14203
14338
|
const ingest$1D = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14204
14339
|
if (process.env.NODE_ENV !== 'production') {
|
|
14205
|
-
const validateError = validate$
|
|
14340
|
+
const validateError = validate$1e(input);
|
|
14206
14341
|
if (validateError !== null) {
|
|
14207
14342
|
throw validateError;
|
|
14208
14343
|
}
|
|
@@ -14378,7 +14513,7 @@ function merge$1(existing, incoming) {
|
|
|
14378
14513
|
const dynamicIngest$4 = (ingestParams) => {
|
|
14379
14514
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14380
14515
|
if (process.env.NODE_ENV !== 'production') {
|
|
14381
|
-
const validateError = validate$
|
|
14516
|
+
const validateError = validate$1j(input);
|
|
14382
14517
|
if (validateError !== null) {
|
|
14383
14518
|
throw validateError;
|
|
14384
14519
|
}
|
|
@@ -14887,7 +15022,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
14887
15022
|
buildCachedSnapshotCachePolicy$E, buildNetworkSnapshotCachePolicy$E);
|
|
14888
15023
|
};
|
|
14889
15024
|
|
|
14890
|
-
function validate$
|
|
15025
|
+
function validate$1d(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
14891
15026
|
const v_error = (() => {
|
|
14892
15027
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14893
15028
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15313,7 +15448,7 @@ function typeCheckConfig$Q(untrustedConfig) {
|
|
|
15313
15448
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
15314
15449
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
15315
15450
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
15316
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
15451
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1d(untrustedConfig_relatedListsActionParameters_item);
|
|
15317
15452
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
15318
15453
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
15319
15454
|
}
|
|
@@ -15631,7 +15766,7 @@ const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__get
|
|
|
15631
15766
|
};
|
|
15632
15767
|
|
|
15633
15768
|
const VERSION$22 = "a316b3bba367f54adc67d7552ed7d36d";
|
|
15634
|
-
function validate$
|
|
15769
|
+
function validate$1c(obj, path = 'PageReferenceRepresentation') {
|
|
15635
15770
|
const v_error = (() => {
|
|
15636
15771
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15637
15772
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15692,7 +15827,7 @@ function equals$M(existing, incoming) {
|
|
|
15692
15827
|
}
|
|
15693
15828
|
const ingest$1C = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15694
15829
|
if (process.env.NODE_ENV !== 'production') {
|
|
15695
|
-
const validateError = validate$
|
|
15830
|
+
const validateError = validate$1c(input);
|
|
15696
15831
|
if (validateError !== null) {
|
|
15697
15832
|
throw validateError;
|
|
15698
15833
|
}
|
|
@@ -15714,7 +15849,7 @@ function getTypeCacheKeys$1E(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
15714
15849
|
|
|
15715
15850
|
const TTL$s = 120000;
|
|
15716
15851
|
const VERSION$21 = "09884ca5bf90ea4662092a4e48817081";
|
|
15717
|
-
function validate$
|
|
15852
|
+
function validate$1b(obj, path = 'NavItemRepresentation') {
|
|
15718
15853
|
const v_error = (() => {
|
|
15719
15854
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15720
15855
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16106,7 +16241,7 @@ function equals$L(existing, incoming) {
|
|
|
16106
16241
|
}
|
|
16107
16242
|
const ingest$1B = function NavItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16108
16243
|
if (process.env.NODE_ENV !== 'production') {
|
|
16109
|
-
const validateError = validate$
|
|
16244
|
+
const validateError = validate$1b(input);
|
|
16110
16245
|
if (validateError !== null) {
|
|
16111
16246
|
throw validateError;
|
|
16112
16247
|
}
|
|
@@ -16131,7 +16266,7 @@ function getTypeCacheKeys$1D(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16131
16266
|
|
|
16132
16267
|
const TTL$r = 300000;
|
|
16133
16268
|
const VERSION$20 = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
16134
|
-
function validate$
|
|
16269
|
+
function validate$1a(obj, path = 'AppRepresentation') {
|
|
16135
16270
|
const v_error = (() => {
|
|
16136
16271
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16137
16272
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16573,7 +16708,7 @@ function equals$K(existing, incoming) {
|
|
|
16573
16708
|
}
|
|
16574
16709
|
const ingest$1A = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16575
16710
|
if (process.env.NODE_ENV !== 'production') {
|
|
16576
|
-
const validateError = validate$
|
|
16711
|
+
const validateError = validate$1a(input);
|
|
16577
16712
|
if (validateError !== null) {
|
|
16578
16713
|
throw validateError;
|
|
16579
16714
|
}
|
|
@@ -16603,7 +16738,7 @@ function getTypeCacheKeys$1C(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16603
16738
|
|
|
16604
16739
|
const TTL$q = 300000;
|
|
16605
16740
|
const VERSION$1$ = "a254babf0b6414315db7808a157fd9fc";
|
|
16606
|
-
function validate$
|
|
16741
|
+
function validate$19(obj, path = 'AppsRepresentation') {
|
|
16607
16742
|
const v_error = (() => {
|
|
16608
16743
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16609
16744
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16685,7 +16820,7 @@ function equals$J(existing, incoming) {
|
|
|
16685
16820
|
}
|
|
16686
16821
|
const ingest$1z = function AppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16687
16822
|
if (process.env.NODE_ENV !== 'production') {
|
|
16688
|
-
const validateError = validate$
|
|
16823
|
+
const validateError = validate$19(input);
|
|
16689
16824
|
if (validateError !== null) {
|
|
16690
16825
|
throw validateError;
|
|
16691
16826
|
}
|
|
@@ -17132,7 +17267,7 @@ const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(unt
|
|
|
17132
17267
|
};
|
|
17133
17268
|
|
|
17134
17269
|
const VERSION$1_ = "f43ef90ffde4d488414d6868e3aaefcb";
|
|
17135
|
-
function validate$
|
|
17270
|
+
function validate$18(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
17136
17271
|
const v_error = (() => {
|
|
17137
17272
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17138
17273
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17194,7 +17329,7 @@ const select$2j = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
|
17194
17329
|
};
|
|
17195
17330
|
|
|
17196
17331
|
const VERSION$1Z = "320d7f254687278f2763d4b490dab3fb";
|
|
17197
|
-
function validate$
|
|
17332
|
+
function validate$17(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
17198
17333
|
const v_error = (() => {
|
|
17199
17334
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17200
17335
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17217,7 +17352,7 @@ function validate$15(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
17217
17352
|
for (let i = 0; i < obj_filterItems.length; i++) {
|
|
17218
17353
|
const obj_filterItems_item = obj_filterItems[i];
|
|
17219
17354
|
const path_filterItems_item = path_filterItems + '[' + i + ']';
|
|
17220
|
-
const referencepath_filterItems_itemValidationError = validate$
|
|
17355
|
+
const referencepath_filterItems_itemValidationError = validate$18(obj_filterItems_item, path_filterItems_item);
|
|
17221
17356
|
if (referencepath_filterItems_itemValidationError !== null) {
|
|
17222
17357
|
let message = 'Object doesn\'t match DuplicateRuleFilterItemRepresentation (at "' + path_filterItems_item + '")\n';
|
|
17223
17358
|
message += referencepath_filterItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17260,7 +17395,7 @@ const select$2i = function DuplicateRuleFilterRepresentationSelect() {
|
|
|
17260
17395
|
};
|
|
17261
17396
|
|
|
17262
17397
|
const VERSION$1Y = "b47b44e260e5ce777beaf3da9088997c";
|
|
17263
|
-
function validate$
|
|
17398
|
+
function validate$16(obj, path = 'MatchRuleRepresentation') {
|
|
17264
17399
|
const v_error = (() => {
|
|
17265
17400
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17266
17401
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17330,7 +17465,7 @@ const select$2h = function MatchRuleRepresentationSelect() {
|
|
|
17330
17465
|
};
|
|
17331
17466
|
|
|
17332
17467
|
const VERSION$1X = "bb83d7210bb1d7861b6188bc5f552617";
|
|
17333
|
-
function validate$
|
|
17468
|
+
function validate$15(obj, path = 'DuplicateRuleRepresentation') {
|
|
17334
17469
|
const v_error = (() => {
|
|
17335
17470
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17336
17471
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17358,7 +17493,7 @@ function validate$13(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
17358
17493
|
for (let i = 0; i < obj_duplicateRuleFilters.length; i++) {
|
|
17359
17494
|
const obj_duplicateRuleFilters_item = obj_duplicateRuleFilters[i];
|
|
17360
17495
|
const path_duplicateRuleFilters_item = path_duplicateRuleFilters + '[' + i + ']';
|
|
17361
|
-
const referencepath_duplicateRuleFilters_itemValidationError = validate$
|
|
17496
|
+
const referencepath_duplicateRuleFilters_itemValidationError = validate$17(obj_duplicateRuleFilters_item, path_duplicateRuleFilters_item);
|
|
17362
17497
|
if (referencepath_duplicateRuleFilters_itemValidationError !== null) {
|
|
17363
17498
|
let message = 'Object doesn\'t match DuplicateRuleFilterRepresentation (at "' + path_duplicateRuleFilters_item + '")\n';
|
|
17364
17499
|
message += referencepath_duplicateRuleFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17378,7 +17513,7 @@ function validate$13(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
17378
17513
|
for (let i = 0; i < obj_matchRules.length; i++) {
|
|
17379
17514
|
const obj_matchRules_item = obj_matchRules[i];
|
|
17380
17515
|
const path_matchRules_item = path_matchRules + '[' + i + ']';
|
|
17381
|
-
const referencepath_matchRules_itemValidationError = validate$
|
|
17516
|
+
const referencepath_matchRules_itemValidationError = validate$16(obj_matchRules_item, path_matchRules_item);
|
|
17382
17517
|
if (referencepath_matchRules_itemValidationError !== null) {
|
|
17383
17518
|
let message = 'Object doesn\'t match MatchRuleRepresentation (at "' + path_matchRules_item + '")\n';
|
|
17384
17519
|
message += referencepath_matchRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17471,7 +17606,7 @@ const select$2g = function DuplicateRuleRepresentationSelect() {
|
|
|
17471
17606
|
|
|
17472
17607
|
const TTL$p = 900000;
|
|
17473
17608
|
const VERSION$1W = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
17474
|
-
function validate$
|
|
17609
|
+
function validate$14(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
17475
17610
|
const v_error = (() => {
|
|
17476
17611
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17477
17612
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17506,7 +17641,7 @@ function validate$12(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
|
17506
17641
|
for (let i = 0; i < obj_duplicateRules.length; i++) {
|
|
17507
17642
|
const obj_duplicateRules_item = obj_duplicateRules[i];
|
|
17508
17643
|
const path_duplicateRules_item = path_duplicateRules + '[' + i + ']';
|
|
17509
|
-
const referencepath_duplicateRules_itemValidationError = validate$
|
|
17644
|
+
const referencepath_duplicateRules_itemValidationError = validate$15(obj_duplicateRules_item, path_duplicateRules_item);
|
|
17510
17645
|
if (referencepath_duplicateRules_itemValidationError !== null) {
|
|
17511
17646
|
let message = 'Object doesn\'t match DuplicateRuleRepresentation (at "' + path_duplicateRules_item + '")\n';
|
|
17512
17647
|
message += referencepath_duplicateRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17573,7 +17708,7 @@ function equals$I(existing, incoming) {
|
|
|
17573
17708
|
}
|
|
17574
17709
|
const ingest$1y = function DuplicatesConfigurationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17575
17710
|
if (process.env.NODE_ENV !== 'production') {
|
|
17576
|
-
const validateError = validate$
|
|
17711
|
+
const validateError = validate$14(input);
|
|
17577
17712
|
if (validateError !== null) {
|
|
17578
17713
|
throw validateError;
|
|
17579
17714
|
}
|
|
@@ -18512,6 +18647,103 @@ const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfos
|
|
|
18512
18647
|
buildCachedSnapshotCachePolicy$u, buildNetworkSnapshotCachePolicy$u);
|
|
18513
18648
|
};
|
|
18514
18649
|
|
|
18650
|
+
function validate$13(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
18651
|
+
const v_error = (() => {
|
|
18652
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18653
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
18654
|
+
}
|
|
18655
|
+
const obj_fieldApiName = obj.fieldApiName;
|
|
18656
|
+
const path_fieldApiName = path + '.fieldApiName';
|
|
18657
|
+
if (typeof obj_fieldApiName !== 'string') {
|
|
18658
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldApiName + '" (at "' + path_fieldApiName + '")');
|
|
18659
|
+
}
|
|
18660
|
+
const obj_operandLabels = obj.operandLabels;
|
|
18661
|
+
const path_operandLabels = path + '.operandLabels';
|
|
18662
|
+
if (!ArrayIsArray(obj_operandLabels)) {
|
|
18663
|
+
return new TypeError('Expected "array" but received "' + typeof obj_operandLabels + '" (at "' + path_operandLabels + '")');
|
|
18664
|
+
}
|
|
18665
|
+
for (let i = 0; i < obj_operandLabels.length; i++) {
|
|
18666
|
+
const obj_operandLabels_item = obj_operandLabels[i];
|
|
18667
|
+
const path_operandLabels_item = path_operandLabels + '[' + i + ']';
|
|
18668
|
+
if (typeof obj_operandLabels_item !== 'string') {
|
|
18669
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operandLabels_item + '" (at "' + path_operandLabels_item + '")');
|
|
18670
|
+
}
|
|
18671
|
+
}
|
|
18672
|
+
const obj_operator = obj.operator;
|
|
18673
|
+
const path_operator = path + '.operator';
|
|
18674
|
+
if (typeof obj_operator !== 'string') {
|
|
18675
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
18676
|
+
}
|
|
18677
|
+
})();
|
|
18678
|
+
return v_error === undefined ? null : v_error;
|
|
18679
|
+
}
|
|
18680
|
+
|
|
18681
|
+
function validate$12(obj, path = 'ListScopeInputRepresentation') {
|
|
18682
|
+
const v_error = (() => {
|
|
18683
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18684
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
18685
|
+
}
|
|
18686
|
+
const obj_apiName = obj.apiName;
|
|
18687
|
+
const path_apiName = path + '.apiName';
|
|
18688
|
+
if (typeof obj_apiName !== 'string') {
|
|
18689
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
18690
|
+
}
|
|
18691
|
+
const obj_entityId = obj.entityId;
|
|
18692
|
+
const path_entityId = path + '.entityId';
|
|
18693
|
+
let obj_entityId_union0 = null;
|
|
18694
|
+
const obj_entityId_union0_error = (() => {
|
|
18695
|
+
if (typeof obj_entityId !== 'string') {
|
|
18696
|
+
return new TypeError('Expected "string" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
|
|
18697
|
+
}
|
|
18698
|
+
})();
|
|
18699
|
+
if (obj_entityId_union0_error != null) {
|
|
18700
|
+
obj_entityId_union0 = obj_entityId_union0_error.message;
|
|
18701
|
+
}
|
|
18702
|
+
let obj_entityId_union1 = null;
|
|
18703
|
+
const obj_entityId_union1_error = (() => {
|
|
18704
|
+
if (obj_entityId !== null) {
|
|
18705
|
+
return new TypeError('Expected "null" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
|
|
18706
|
+
}
|
|
18707
|
+
})();
|
|
18708
|
+
if (obj_entityId_union1_error != null) {
|
|
18709
|
+
obj_entityId_union1 = obj_entityId_union1_error.message;
|
|
18710
|
+
}
|
|
18711
|
+
if (obj_entityId_union0 && obj_entityId_union1) {
|
|
18712
|
+
let message = 'Object doesn\'t match union (at "' + path_entityId + '")';
|
|
18713
|
+
message += '\n' + obj_entityId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
18714
|
+
message += '\n' + obj_entityId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
18715
|
+
return new TypeError(message);
|
|
18716
|
+
}
|
|
18717
|
+
const obj_relatedEntityId = obj.relatedEntityId;
|
|
18718
|
+
const path_relatedEntityId = path + '.relatedEntityId';
|
|
18719
|
+
let obj_relatedEntityId_union0 = null;
|
|
18720
|
+
const obj_relatedEntityId_union0_error = (() => {
|
|
18721
|
+
if (typeof obj_relatedEntityId !== 'string') {
|
|
18722
|
+
return new TypeError('Expected "string" but received "' + typeof obj_relatedEntityId + '" (at "' + path_relatedEntityId + '")');
|
|
18723
|
+
}
|
|
18724
|
+
})();
|
|
18725
|
+
if (obj_relatedEntityId_union0_error != null) {
|
|
18726
|
+
obj_relatedEntityId_union0 = obj_relatedEntityId_union0_error.message;
|
|
18727
|
+
}
|
|
18728
|
+
let obj_relatedEntityId_union1 = null;
|
|
18729
|
+
const obj_relatedEntityId_union1_error = (() => {
|
|
18730
|
+
if (obj_relatedEntityId !== null) {
|
|
18731
|
+
return new TypeError('Expected "null" but received "' + typeof obj_relatedEntityId + '" (at "' + path_relatedEntityId + '")');
|
|
18732
|
+
}
|
|
18733
|
+
})();
|
|
18734
|
+
if (obj_relatedEntityId_union1_error != null) {
|
|
18735
|
+
obj_relatedEntityId_union1 = obj_relatedEntityId_union1_error.message;
|
|
18736
|
+
}
|
|
18737
|
+
if (obj_relatedEntityId_union0 && obj_relatedEntityId_union1) {
|
|
18738
|
+
let message = 'Object doesn\'t match union (at "' + path_relatedEntityId + '")';
|
|
18739
|
+
message += '\n' + obj_relatedEntityId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
18740
|
+
message += '\n' + obj_relatedEntityId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
18741
|
+
return new TypeError(message);
|
|
18742
|
+
}
|
|
18743
|
+
})();
|
|
18744
|
+
return v_error === undefined ? null : v_error;
|
|
18745
|
+
}
|
|
18746
|
+
|
|
18515
18747
|
function select$2b(luvio, params) {
|
|
18516
18748
|
return select$2X();
|
|
18517
18749
|
}
|
|
@@ -18552,10 +18784,11 @@ function createResourceRequest$E(config) {
|
|
|
18552
18784
|
const adapterName$z = 'createListInfo';
|
|
18553
18785
|
const createListInfo_ConfigPropertyMetadata = [
|
|
18554
18786
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
18555
|
-
generateParamConfigMetadata('displayColumns', false, 2 /* Body */,
|
|
18556
|
-
generateParamConfigMetadata('filterLogicString', false, 2 /* Body */,
|
|
18787
|
+
generateParamConfigMetadata('displayColumns', false, 2 /* Body */, 0 /* String */, true),
|
|
18788
|
+
generateParamConfigMetadata('filterLogicString', false, 2 /* Body */, 0 /* String */),
|
|
18557
18789
|
generateParamConfigMetadata('filteredByInfo', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
18558
18790
|
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
18791
|
+
generateParamConfigMetadata('listShares', false, 2 /* Body */, 0 /* String */, true),
|
|
18559
18792
|
generateParamConfigMetadata('listViewApiName', false, 2 /* Body */, 0 /* String */),
|
|
18560
18793
|
generateParamConfigMetadata('scope', false, 2 /* Body */, 4 /* Unsupported */),
|
|
18561
18794
|
generateParamConfigMetadata('visibility', false, 2 /* Body */, 0 /* String */),
|
|
@@ -18565,46 +18798,21 @@ const createResourceParams$C = /*#__PURE__*/ createResourceParams$$(createListIn
|
|
|
18565
18798
|
function typeCheckConfig$G(untrustedConfig) {
|
|
18566
18799
|
const config = {};
|
|
18567
18800
|
typeCheckConfig$14(untrustedConfig, config, createListInfo_ConfigPropertyMetadata);
|
|
18568
|
-
const untrustedConfig_displayColumns = untrustedConfig.displayColumns;
|
|
18569
|
-
if (ArrayIsArray$1(untrustedConfig_displayColumns)) {
|
|
18570
|
-
const untrustedConfig_displayColumns_array = [];
|
|
18571
|
-
for (let i = 0, arrayLength = untrustedConfig_displayColumns.length; i < arrayLength; i++) {
|
|
18572
|
-
const untrustedConfig_displayColumns_item = untrustedConfig_displayColumns[i];
|
|
18573
|
-
const referenceListColumnRepresentationValidationError = validate$1O(untrustedConfig_displayColumns_item);
|
|
18574
|
-
if (referenceListColumnRepresentationValidationError === null) {
|
|
18575
|
-
untrustedConfig_displayColumns_array.push(untrustedConfig_displayColumns_item);
|
|
18576
|
-
}
|
|
18577
|
-
if (untrustedConfig_displayColumns_item === null) {
|
|
18578
|
-
untrustedConfig_displayColumns_array.push(untrustedConfig_displayColumns_item);
|
|
18579
|
-
}
|
|
18580
|
-
}
|
|
18581
|
-
config.displayColumns = untrustedConfig_displayColumns_array;
|
|
18582
|
-
}
|
|
18583
|
-
const untrustedConfig_filterLogicString = untrustedConfig.filterLogicString;
|
|
18584
|
-
if (typeof untrustedConfig_filterLogicString === 'string') {
|
|
18585
|
-
config.filterLogicString = untrustedConfig_filterLogicString;
|
|
18586
|
-
}
|
|
18587
|
-
if (untrustedConfig_filterLogicString === null) {
|
|
18588
|
-
config.filterLogicString = untrustedConfig_filterLogicString;
|
|
18589
|
-
}
|
|
18590
18801
|
const untrustedConfig_filteredByInfo = untrustedConfig.filteredByInfo;
|
|
18591
18802
|
if (ArrayIsArray$1(untrustedConfig_filteredByInfo)) {
|
|
18592
18803
|
const untrustedConfig_filteredByInfo_array = [];
|
|
18593
18804
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
18594
18805
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
18595
|
-
const
|
|
18596
|
-
if (
|
|
18806
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$13(untrustedConfig_filteredByInfo_item);
|
|
18807
|
+
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
18597
18808
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
18598
18809
|
}
|
|
18599
18810
|
}
|
|
18600
18811
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
18601
18812
|
}
|
|
18602
18813
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
18603
|
-
const
|
|
18604
|
-
if (
|
|
18605
|
-
config.scope = untrustedConfig_scope;
|
|
18606
|
-
}
|
|
18607
|
-
if (untrustedConfig_scope === null) {
|
|
18814
|
+
const referenceListScopeInputRepresentationValidationError = validate$12(untrustedConfig_scope);
|
|
18815
|
+
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
18608
18816
|
config.scope = untrustedConfig_scope;
|
|
18609
18817
|
}
|
|
18610
18818
|
return config;
|
|
@@ -18780,10 +18988,11 @@ const adapterName$x = 'updateListInfoByName';
|
|
|
18780
18988
|
const updateListInfoByName_ConfigPropertyMetadata = [
|
|
18781
18989
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
18782
18990
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
18783
|
-
generateParamConfigMetadata('displayColumns', false, 2 /* Body */,
|
|
18784
|
-
generateParamConfigMetadata('filterLogicString', false, 2 /* Body */,
|
|
18991
|
+
generateParamConfigMetadata('displayColumns', false, 2 /* Body */, 0 /* String */, true),
|
|
18992
|
+
generateParamConfigMetadata('filterLogicString', false, 2 /* Body */, 0 /* String */),
|
|
18785
18993
|
generateParamConfigMetadata('filteredByInfo', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
18786
18994
|
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
18995
|
+
generateParamConfigMetadata('listShares', false, 2 /* Body */, 0 /* String */, true),
|
|
18787
18996
|
generateParamConfigMetadata('scope', false, 2 /* Body */, 4 /* Unsupported */),
|
|
18788
18997
|
generateParamConfigMetadata('visibility', false, 2 /* Body */, 0 /* String */),
|
|
18789
18998
|
];
|
|
@@ -18792,46 +19001,21 @@ const createResourceParams$A = /*#__PURE__*/ createResourceParams$$(updateListIn
|
|
|
18792
19001
|
function typeCheckConfig$E(untrustedConfig) {
|
|
18793
19002
|
const config = {};
|
|
18794
19003
|
typeCheckConfig$14(untrustedConfig, config, updateListInfoByName_ConfigPropertyMetadata);
|
|
18795
|
-
const untrustedConfig_displayColumns = untrustedConfig.displayColumns;
|
|
18796
|
-
if (ArrayIsArray$1(untrustedConfig_displayColumns)) {
|
|
18797
|
-
const untrustedConfig_displayColumns_array = [];
|
|
18798
|
-
for (let i = 0, arrayLength = untrustedConfig_displayColumns.length; i < arrayLength; i++) {
|
|
18799
|
-
const untrustedConfig_displayColumns_item = untrustedConfig_displayColumns[i];
|
|
18800
|
-
const referenceListColumnRepresentationValidationError = validate$1O(untrustedConfig_displayColumns_item);
|
|
18801
|
-
if (referenceListColumnRepresentationValidationError === null) {
|
|
18802
|
-
untrustedConfig_displayColumns_array.push(untrustedConfig_displayColumns_item);
|
|
18803
|
-
}
|
|
18804
|
-
if (untrustedConfig_displayColumns_item === null) {
|
|
18805
|
-
untrustedConfig_displayColumns_array.push(untrustedConfig_displayColumns_item);
|
|
18806
|
-
}
|
|
18807
|
-
}
|
|
18808
|
-
config.displayColumns = untrustedConfig_displayColumns_array;
|
|
18809
|
-
}
|
|
18810
|
-
const untrustedConfig_filterLogicString = untrustedConfig.filterLogicString;
|
|
18811
|
-
if (typeof untrustedConfig_filterLogicString === 'string') {
|
|
18812
|
-
config.filterLogicString = untrustedConfig_filterLogicString;
|
|
18813
|
-
}
|
|
18814
|
-
if (untrustedConfig_filterLogicString === null) {
|
|
18815
|
-
config.filterLogicString = untrustedConfig_filterLogicString;
|
|
18816
|
-
}
|
|
18817
19004
|
const untrustedConfig_filteredByInfo = untrustedConfig.filteredByInfo;
|
|
18818
19005
|
if (ArrayIsArray$1(untrustedConfig_filteredByInfo)) {
|
|
18819
19006
|
const untrustedConfig_filteredByInfo_array = [];
|
|
18820
19007
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
18821
19008
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
18822
|
-
const
|
|
18823
|
-
if (
|
|
19009
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$13(untrustedConfig_filteredByInfo_item);
|
|
19010
|
+
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
18824
19011
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
18825
19012
|
}
|
|
18826
19013
|
}
|
|
18827
19014
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
18828
19015
|
}
|
|
18829
19016
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
18830
|
-
const
|
|
18831
|
-
if (
|
|
18832
|
-
config.scope = untrustedConfig_scope;
|
|
18833
|
-
}
|
|
18834
|
-
if (untrustedConfig_scope === null) {
|
|
19017
|
+
const referenceListScopeInputRepresentationValidationError = validate$12(untrustedConfig_scope);
|
|
19018
|
+
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
18835
19019
|
config.scope = untrustedConfig_scope;
|
|
18836
19020
|
}
|
|
18837
19021
|
return config;
|
|
@@ -24040,7 +24224,7 @@ function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
24040
24224
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
24041
24225
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
24042
24226
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
24043
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
24227
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1R(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
24044
24228
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
24045
24229
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
24046
24230
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24092,7 +24276,7 @@ function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
24092
24276
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
24093
24277
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
24094
24278
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
24095
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
24279
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1N(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
24096
24280
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
24097
24281
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
24098
24282
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24111,7 +24295,7 @@ function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
24111
24295
|
}
|
|
24112
24296
|
const obj_userPreferences = obj.userPreferences;
|
|
24113
24297
|
const path_userPreferences = path + '.userPreferences';
|
|
24114
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
24298
|
+
const referencepath_userPreferencesValidationError = validate$1J(obj_userPreferences, path_userPreferences);
|
|
24115
24299
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
24116
24300
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
24117
24301
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24785,7 +24969,7 @@ function validate$B(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
24785
24969
|
const path_themeInfo = path + '.themeInfo';
|
|
24786
24970
|
let obj_themeInfo_union0 = null;
|
|
24787
24971
|
const obj_themeInfo_union0_error = (() => {
|
|
24788
|
-
const referencepath_themeInfoValidationError = validate$
|
|
24972
|
+
const referencepath_themeInfoValidationError = validate$1v(obj_themeInfo, path_themeInfo);
|
|
24789
24973
|
if (referencepath_themeInfoValidationError !== null) {
|
|
24790
24974
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
24791
24975
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25389,7 +25573,7 @@ function validate$x(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
|
25389
25573
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
25390
25574
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
25391
25575
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
25392
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
25576
|
+
const referencepath_orderedBy_itemValidationError = validate$1N(obj_orderedBy_item, path_orderedBy_item);
|
|
25393
25577
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
25394
25578
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
25395
25579
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28796,7 +28980,7 @@ function validate$j(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
28796
28980
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
28797
28981
|
const obj_orderBy_item = obj_orderBy[i];
|
|
28798
28982
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
28799
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
28983
|
+
const referencepath_orderBy_itemValidationError = validate$1N(obj_orderBy_item, path_orderBy_item);
|
|
28800
28984
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
28801
28985
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
|
|
28802
28986
|
message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -47823,7 +48007,7 @@ function validate$a(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
47823
48007
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
47824
48008
|
let obj_recordTypeInfo_union0 = null;
|
|
47825
48009
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
47826
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
48010
|
+
const referencepath_recordTypeInfoValidationError = validate$1H(obj_recordTypeInfo, path_recordTypeInfo);
|
|
47827
48011
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
47828
48012
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
47829
48013
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|