@salesforce/lds-adapters-uiapi 1.251.0 → 1.252.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/types/src/generated/adapters/getSearchResults.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiSearchResults.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/types/ListColumnInlineEditAttributesRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ListColumnInlineEditAttributesRepresentationWrapper.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ListColumnRepresentation.d.ts +7 -3
- package/dist/es/es2018/types/src/generated/types/ListInfoRepresentation.d.ts +17 -4
- package/dist/es/es2018/types/src/generated/types/ListInlineEditDetailsRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SearchDataCategoryInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SearchDataCategoryOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SearchFilterOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SearchObjectOptionsOutputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/SearchObjectOptionsRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/SearchRequestInputRepresentation.d.ts +9 -1
- package/dist/es/es2018/types/src/generated/types/SearchResultsSummaryRepresentation.d.ts +9 -1
- package/dist/es/es2018/uiapi-records-service.js +861 -438
- package/package.json +4 -4
- package/sfdc/graphqlAdapters.js +1 -1
- package/sfdc/index.js +862 -439
- package/sfdc/uiapi-static-functions.js +1 -1
- package/src/raml/api.raml +144 -0
- package/src/raml/luvio.raml +2 -0
package/sfdc/index.js
CHANGED
|
@@ -276,7 +276,9 @@ function createLDSAdapterWithPrediction(adapter, luvio, name) {
|
|
|
276
276
|
const prefetcher = getPrefetcherFor(luvio);
|
|
277
277
|
const result = adapter(config, requestContext);
|
|
278
278
|
// only save requests with a valid config.
|
|
279
|
-
if (result !== null &&
|
|
279
|
+
if (result !== null &&
|
|
280
|
+
prefetcher !== undefined &&
|
|
281
|
+
!(requestContext && requestContext.excludeFromPredictions)) {
|
|
280
282
|
prefetcher.saveRequest({ adapterName: name, config });
|
|
281
283
|
}
|
|
282
284
|
return result;
|
|
@@ -646,8 +648,8 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
646
648
|
entry['__metadata'] = createLink(metadataKey);
|
|
647
649
|
}
|
|
648
650
|
|
|
649
|
-
const VERSION$
|
|
650
|
-
function validate$
|
|
651
|
+
const VERSION$1n = "623aa9ce3a11031e35faf5671a41746e";
|
|
652
|
+
function validate$1Z(obj, path = 'ListFilterByInfoRepresentation') {
|
|
651
653
|
const v_error = (() => {
|
|
652
654
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
653
655
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -662,51 +664,30 @@ function validate$1R(obj, path = 'ListColumnRepresentation') {
|
|
|
662
664
|
if (typeof obj_label !== 'string') {
|
|
663
665
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
664
666
|
}
|
|
665
|
-
const
|
|
666
|
-
const
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
if (typeof obj_lookupId !== 'string') {
|
|
670
|
-
return new TypeError('Expected "string" but received "' + typeof obj_lookupId + '" (at "' + path_lookupId + '")');
|
|
671
|
-
}
|
|
672
|
-
})();
|
|
673
|
-
if (obj_lookupId_union0_error != null) {
|
|
674
|
-
obj_lookupId_union0 = obj_lookupId_union0_error.message;
|
|
675
|
-
}
|
|
676
|
-
let obj_lookupId_union1 = null;
|
|
677
|
-
const obj_lookupId_union1_error = (() => {
|
|
678
|
-
if (obj_lookupId !== null) {
|
|
679
|
-
return new TypeError('Expected "null" but received "' + typeof obj_lookupId + '" (at "' + path_lookupId + '")');
|
|
680
|
-
}
|
|
681
|
-
})();
|
|
682
|
-
if (obj_lookupId_union1_error != null) {
|
|
683
|
-
obj_lookupId_union1 = obj_lookupId_union1_error.message;
|
|
684
|
-
}
|
|
685
|
-
if (obj_lookupId_union0 && obj_lookupId_union1) {
|
|
686
|
-
let message = 'Object doesn\'t match union (at "' + path_lookupId + '")';
|
|
687
|
-
message += '\n' + obj_lookupId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
688
|
-
message += '\n' + obj_lookupId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
689
|
-
return new TypeError(message);
|
|
667
|
+
const obj_operandLabels = obj.operandLabels;
|
|
668
|
+
const path_operandLabels = path + '.operandLabels';
|
|
669
|
+
if (!ArrayIsArray(obj_operandLabels)) {
|
|
670
|
+
return new TypeError('Expected "array" but received "' + typeof obj_operandLabels + '" (at "' + path_operandLabels + '")');
|
|
690
671
|
}
|
|
691
|
-
|
|
692
|
-
const
|
|
693
|
-
const
|
|
694
|
-
if (typeof
|
|
695
|
-
return new TypeError('Expected "
|
|
672
|
+
for (let i = 0; i < obj_operandLabels.length; i++) {
|
|
673
|
+
const obj_operandLabels_item = obj_operandLabels[i];
|
|
674
|
+
const path_operandLabels_item = path_operandLabels + '[' + i + ']';
|
|
675
|
+
if (typeof obj_operandLabels_item !== 'string') {
|
|
676
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operandLabels_item + '" (at "' + path_operandLabels_item + '")');
|
|
696
677
|
}
|
|
697
678
|
}
|
|
698
|
-
const
|
|
699
|
-
const
|
|
700
|
-
if (typeof
|
|
701
|
-
return new TypeError('Expected "
|
|
679
|
+
const obj_operator = obj.operator;
|
|
680
|
+
const path_operator = path + '.operator';
|
|
681
|
+
if (typeof obj_operator !== 'string') {
|
|
682
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
702
683
|
}
|
|
703
684
|
})();
|
|
704
685
|
return v_error === undefined ? null : v_error;
|
|
705
686
|
}
|
|
706
|
-
const select$
|
|
687
|
+
const select$1Y = function ListFilterByInfoRepresentationSelect() {
|
|
707
688
|
return {
|
|
708
689
|
kind: 'Fragment',
|
|
709
|
-
version: VERSION$
|
|
690
|
+
version: VERSION$1n,
|
|
710
691
|
private: [],
|
|
711
692
|
selections: [
|
|
712
693
|
{
|
|
@@ -718,87 +699,99 @@ const select$1X = function ListColumnRepresentationSelect() {
|
|
|
718
699
|
kind: 'Scalar'
|
|
719
700
|
},
|
|
720
701
|
{
|
|
721
|
-
name: '
|
|
722
|
-
kind: 'Scalar'
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
name: 'searchable',
|
|
702
|
+
name: 'operandLabels',
|
|
726
703
|
kind: 'Scalar',
|
|
727
|
-
|
|
704
|
+
plural: true
|
|
728
705
|
},
|
|
729
706
|
{
|
|
730
|
-
name: '
|
|
707
|
+
name: 'operator',
|
|
731
708
|
kind: 'Scalar'
|
|
732
709
|
}
|
|
733
710
|
]
|
|
734
711
|
};
|
|
735
712
|
};
|
|
736
713
|
|
|
737
|
-
const VERSION$
|
|
738
|
-
function validate$
|
|
714
|
+
const VERSION$1m = "f98dc7dec10408a9648ef8e5b37002a3";
|
|
715
|
+
function validate$1Y(obj, path = 'ListInlineEditDetailsRepresentation') {
|
|
739
716
|
const v_error = (() => {
|
|
740
717
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
741
718
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
742
719
|
}
|
|
743
|
-
const
|
|
744
|
-
const
|
|
745
|
-
|
|
746
|
-
|
|
720
|
+
const obj_message = obj.message;
|
|
721
|
+
const path_message = path + '.message';
|
|
722
|
+
let obj_message_union0 = null;
|
|
723
|
+
const obj_message_union0_error = (() => {
|
|
724
|
+
if (typeof obj_message !== 'string') {
|
|
725
|
+
return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
|
|
726
|
+
}
|
|
727
|
+
})();
|
|
728
|
+
if (obj_message_union0_error != null) {
|
|
729
|
+
obj_message_union0 = obj_message_union0_error.message;
|
|
747
730
|
}
|
|
748
|
-
|
|
749
|
-
const
|
|
750
|
-
|
|
751
|
-
|
|
731
|
+
let obj_message_union1 = null;
|
|
732
|
+
const obj_message_union1_error = (() => {
|
|
733
|
+
if (obj_message !== null) {
|
|
734
|
+
return new TypeError('Expected "null" but received "' + typeof obj_message + '" (at "' + path_message + '")');
|
|
735
|
+
}
|
|
736
|
+
})();
|
|
737
|
+
if (obj_message_union1_error != null) {
|
|
738
|
+
obj_message_union1 = obj_message_union1_error.message;
|
|
752
739
|
}
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
740
|
+
if (obj_message_union0 && obj_message_union1) {
|
|
741
|
+
let message = 'Object doesn\'t match union (at "' + path_message + '")';
|
|
742
|
+
message += '\n' + obj_message_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
743
|
+
message += '\n' + obj_message_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
744
|
+
return new TypeError(message);
|
|
757
745
|
}
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
746
|
+
const obj_state = obj.state;
|
|
747
|
+
const path_state = path + '.state';
|
|
748
|
+
let obj_state_union0 = null;
|
|
749
|
+
const obj_state_union0_error = (() => {
|
|
750
|
+
if (typeof obj_state !== 'string') {
|
|
751
|
+
return new TypeError('Expected "string" but received "' + typeof obj_state + '" (at "' + path_state + '")');
|
|
763
752
|
}
|
|
753
|
+
})();
|
|
754
|
+
if (obj_state_union0_error != null) {
|
|
755
|
+
obj_state_union0 = obj_state_union0_error.message;
|
|
764
756
|
}
|
|
765
|
-
|
|
766
|
-
const
|
|
767
|
-
|
|
768
|
-
|
|
757
|
+
let obj_state_union1 = null;
|
|
758
|
+
const obj_state_union1_error = (() => {
|
|
759
|
+
if (obj_state !== null) {
|
|
760
|
+
return new TypeError('Expected "null" but received "' + typeof obj_state + '" (at "' + path_state + '")');
|
|
761
|
+
}
|
|
762
|
+
})();
|
|
763
|
+
if (obj_state_union1_error != null) {
|
|
764
|
+
obj_state_union1 = obj_state_union1_error.message;
|
|
765
|
+
}
|
|
766
|
+
if (obj_state_union0 && obj_state_union1) {
|
|
767
|
+
let message = 'Object doesn\'t match union (at "' + path_state + '")';
|
|
768
|
+
message += '\n' + obj_state_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
769
|
+
message += '\n' + obj_state_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
770
|
+
return new TypeError(message);
|
|
769
771
|
}
|
|
770
772
|
})();
|
|
771
773
|
return v_error === undefined ? null : v_error;
|
|
772
774
|
}
|
|
773
|
-
const select$
|
|
775
|
+
const select$1X = function ListInlineEditDetailsRepresentationSelect() {
|
|
774
776
|
return {
|
|
775
777
|
kind: 'Fragment',
|
|
776
|
-
version: VERSION$
|
|
778
|
+
version: VERSION$1m,
|
|
777
779
|
private: [],
|
|
778
780
|
selections: [
|
|
779
781
|
{
|
|
780
|
-
name: '
|
|
782
|
+
name: 'message',
|
|
781
783
|
kind: 'Scalar'
|
|
782
784
|
},
|
|
783
785
|
{
|
|
784
|
-
name: '
|
|
785
|
-
kind: 'Scalar'
|
|
786
|
-
},
|
|
787
|
-
{
|
|
788
|
-
name: 'operandLabels',
|
|
789
|
-
kind: 'Scalar',
|
|
790
|
-
plural: true
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
name: 'operator',
|
|
786
|
+
name: 'state',
|
|
794
787
|
kind: 'Scalar'
|
|
795
788
|
}
|
|
796
789
|
]
|
|
797
790
|
};
|
|
798
791
|
};
|
|
799
792
|
|
|
800
|
-
const VERSION$
|
|
801
|
-
function validate$
|
|
793
|
+
const VERSION$1l = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
794
|
+
function validate$1X(obj, path = 'ListReferenceRepresentation') {
|
|
802
795
|
const v_error = (() => {
|
|
803
796
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
804
797
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -868,10 +861,10 @@ function validate$1P(obj, path = 'ListReferenceRepresentation') {
|
|
|
868
861
|
})();
|
|
869
862
|
return v_error === undefined ? null : v_error;
|
|
870
863
|
}
|
|
871
|
-
const select$
|
|
864
|
+
const select$1W = function ListReferenceRepresentationSelect() {
|
|
872
865
|
return {
|
|
873
866
|
kind: 'Fragment',
|
|
874
|
-
version: VERSION$
|
|
867
|
+
version: VERSION$1l,
|
|
875
868
|
private: [],
|
|
876
869
|
selections: [
|
|
877
870
|
{
|
|
@@ -893,7 +886,7 @@ const select$1V = function ListReferenceRepresentationSelect() {
|
|
|
893
886
|
]
|
|
894
887
|
};
|
|
895
888
|
};
|
|
896
|
-
function equals$
|
|
889
|
+
function equals$14(existing, incoming) {
|
|
897
890
|
const existing_objectApiName = existing.objectApiName;
|
|
898
891
|
const incoming_objectApiName = incoming.objectApiName;
|
|
899
892
|
if (!(existing_objectApiName === incoming_objectApiName)) {
|
|
@@ -917,8 +910,8 @@ function equals$13(existing, incoming) {
|
|
|
917
910
|
return true;
|
|
918
911
|
}
|
|
919
912
|
|
|
920
|
-
const VERSION$
|
|
921
|
-
function validate$
|
|
913
|
+
const VERSION$1k = "f1519bef57e70ab7c5ef160dc5ff0c47";
|
|
914
|
+
function validate$1W(obj, path = 'ListInfoShareRepresentation') {
|
|
922
915
|
const v_error = (() => {
|
|
923
916
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
924
917
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -936,10 +929,10 @@ function validate$1O(obj, path = 'ListInfoShareRepresentation') {
|
|
|
936
929
|
})();
|
|
937
930
|
return v_error === undefined ? null : v_error;
|
|
938
931
|
}
|
|
939
|
-
const select$
|
|
932
|
+
const select$1V = function ListInfoShareRepresentationSelect() {
|
|
940
933
|
return {
|
|
941
934
|
kind: 'Fragment',
|
|
942
|
-
version: VERSION$
|
|
935
|
+
version: VERSION$1k,
|
|
943
936
|
private: [],
|
|
944
937
|
selections: [
|
|
945
938
|
{
|
|
@@ -954,8 +947,8 @@ const select$1U = function ListInfoShareRepresentationSelect() {
|
|
|
954
947
|
};
|
|
955
948
|
};
|
|
956
949
|
|
|
957
|
-
const VERSION$
|
|
958
|
-
function validate$
|
|
950
|
+
const VERSION$1j = "561657f32721ec1dac1601575b029640";
|
|
951
|
+
function validate$1V(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
959
952
|
const v_error = (() => {
|
|
960
953
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
961
954
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -973,7 +966,7 @@ function validate$1N(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
|
973
966
|
for (let i = 0; i < obj_shares.length; i++) {
|
|
974
967
|
const obj_shares_item = obj_shares[i];
|
|
975
968
|
const path_shares_item = path_shares + '[' + i + ']';
|
|
976
|
-
const referencepath_shares_itemValidationError = validate$
|
|
969
|
+
const referencepath_shares_itemValidationError = validate$1W(obj_shares_item, path_shares_item);
|
|
977
970
|
if (referencepath_shares_itemValidationError !== null) {
|
|
978
971
|
let message = 'Object doesn\'t match ListInfoShareRepresentation (at "' + path_shares_item + '")\n';
|
|
979
972
|
message += referencepath_shares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -983,11 +976,11 @@ function validate$1N(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
|
983
976
|
})();
|
|
984
977
|
return v_error === undefined ? null : v_error;
|
|
985
978
|
}
|
|
986
|
-
const select$
|
|
987
|
-
const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$
|
|
979
|
+
const select$1U = function ListInfoShareCategoryRepresentationSelect() {
|
|
980
|
+
const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$1V();
|
|
988
981
|
return {
|
|
989
982
|
kind: 'Fragment',
|
|
990
|
-
version: VERSION$
|
|
983
|
+
version: VERSION$1j,
|
|
991
984
|
private: [],
|
|
992
985
|
selections: [
|
|
993
986
|
{
|
|
@@ -1004,8 +997,8 @@ const select$1T = function ListInfoShareCategoryRepresentationSelect() {
|
|
|
1004
997
|
};
|
|
1005
998
|
};
|
|
1006
999
|
|
|
1007
|
-
const VERSION$
|
|
1008
|
-
function validate$
|
|
1000
|
+
const VERSION$1i = "32def9b631252c12b91a8209c1f49f5a";
|
|
1001
|
+
function validate$1U(obj, path = 'ListOrderByInfoRepresentation') {
|
|
1009
1002
|
const v_error = (() => {
|
|
1010
1003
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1011
1004
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1049,10 +1042,10 @@ function validate$1M(obj, path = 'ListOrderByInfoRepresentation') {
|
|
|
1049
1042
|
})();
|
|
1050
1043
|
return v_error === undefined ? null : v_error;
|
|
1051
1044
|
}
|
|
1052
|
-
const select$
|
|
1045
|
+
const select$1T = function ListOrderByInfoRepresentationSelect() {
|
|
1053
1046
|
return {
|
|
1054
1047
|
kind: 'Fragment',
|
|
1055
|
-
version: VERSION$
|
|
1048
|
+
version: VERSION$1i,
|
|
1056
1049
|
private: [],
|
|
1057
1050
|
selections: [
|
|
1058
1051
|
{
|
|
@@ -1070,7 +1063,7 @@ const select$1S = function ListOrderByInfoRepresentationSelect() {
|
|
|
1070
1063
|
]
|
|
1071
1064
|
};
|
|
1072
1065
|
};
|
|
1073
|
-
function equals$
|
|
1066
|
+
function equals$13(existing, incoming) {
|
|
1074
1067
|
const existing_isAscending = existing.isAscending;
|
|
1075
1068
|
const incoming_isAscending = incoming.isAscending;
|
|
1076
1069
|
if (!(existing_isAscending === incoming_isAscending)) {
|
|
@@ -1089,8 +1082,8 @@ function equals$12(existing, incoming) {
|
|
|
1089
1082
|
return true;
|
|
1090
1083
|
}
|
|
1091
1084
|
|
|
1092
|
-
const VERSION$
|
|
1093
|
-
function validate$
|
|
1085
|
+
const VERSION$1h = "2634258f216db34315c06d759a35676d";
|
|
1086
|
+
function validate$1T(obj, path = 'ListScopeEntityRepresentation') {
|
|
1094
1087
|
const v_error = (() => {
|
|
1095
1088
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1096
1089
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1108,10 +1101,10 @@ function validate$1L(obj, path = 'ListScopeEntityRepresentation') {
|
|
|
1108
1101
|
})();
|
|
1109
1102
|
return v_error === undefined ? null : v_error;
|
|
1110
1103
|
}
|
|
1111
|
-
const select$
|
|
1104
|
+
const select$1S = function ListScopeEntityRepresentationSelect() {
|
|
1112
1105
|
return {
|
|
1113
1106
|
kind: 'Fragment',
|
|
1114
|
-
version: VERSION$
|
|
1107
|
+
version: VERSION$1h,
|
|
1115
1108
|
private: [],
|
|
1116
1109
|
selections: [
|
|
1117
1110
|
{
|
|
@@ -1126,8 +1119,8 @@ const select$1R = function ListScopeEntityRepresentationSelect() {
|
|
|
1126
1119
|
};
|
|
1127
1120
|
};
|
|
1128
1121
|
|
|
1129
|
-
const VERSION$
|
|
1130
|
-
function validate$
|
|
1122
|
+
const VERSION$1g = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
1123
|
+
function validate$1S(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
1131
1124
|
const v_error = (() => {
|
|
1132
1125
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1133
1126
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1150,10 +1143,10 @@ function validate$1K(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
|
1150
1143
|
})();
|
|
1151
1144
|
return v_error === undefined ? null : v_error;
|
|
1152
1145
|
}
|
|
1153
|
-
const select$
|
|
1146
|
+
const select$1R = function ListScopeRelatedEntityRepresentationSelect() {
|
|
1154
1147
|
return {
|
|
1155
1148
|
kind: 'Fragment',
|
|
1156
|
-
version: VERSION$
|
|
1149
|
+
version: VERSION$1g,
|
|
1157
1150
|
private: [],
|
|
1158
1151
|
selections: [
|
|
1159
1152
|
{
|
|
@@ -1172,8 +1165,8 @@ const select$1Q = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
1172
1165
|
};
|
|
1173
1166
|
};
|
|
1174
1167
|
|
|
1175
|
-
const VERSION$
|
|
1176
|
-
function validate$
|
|
1168
|
+
const VERSION$1f = "2fe9814e7124b47f59da585483c1b3f9";
|
|
1169
|
+
function validate$1R(obj, path = 'ListScopeRepresentation') {
|
|
1177
1170
|
const v_error = (() => {
|
|
1178
1171
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1179
1172
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1187,7 +1180,7 @@ function validate$1J(obj, path = 'ListScopeRepresentation') {
|
|
|
1187
1180
|
const path_entity = path + '.entity';
|
|
1188
1181
|
let obj_entity_union0 = null;
|
|
1189
1182
|
const obj_entity_union0_error = (() => {
|
|
1190
|
-
const referencepath_entityValidationError = validate$
|
|
1183
|
+
const referencepath_entityValidationError = validate$1T(obj_entity, path_entity);
|
|
1191
1184
|
if (referencepath_entityValidationError !== null) {
|
|
1192
1185
|
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
1193
1186
|
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1242,7 +1235,7 @@ function validate$1J(obj, path = 'ListScopeRepresentation') {
|
|
|
1242
1235
|
const path_relatedEntity = path + '.relatedEntity';
|
|
1243
1236
|
let obj_relatedEntity_union0 = null;
|
|
1244
1237
|
const obj_relatedEntity_union0_error = (() => {
|
|
1245
|
-
const referencepath_relatedEntityValidationError = validate$
|
|
1238
|
+
const referencepath_relatedEntityValidationError = validate$1S(obj_relatedEntity, path_relatedEntity);
|
|
1246
1239
|
if (referencepath_relatedEntityValidationError !== null) {
|
|
1247
1240
|
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
1248
1241
|
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1270,12 +1263,12 @@ function validate$1J(obj, path = 'ListScopeRepresentation') {
|
|
|
1270
1263
|
})();
|
|
1271
1264
|
return v_error === undefined ? null : v_error;
|
|
1272
1265
|
}
|
|
1273
|
-
const select$
|
|
1274
|
-
const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$
|
|
1275
|
-
const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$
|
|
1266
|
+
const select$1Q = function ListScopeRepresentationSelect() {
|
|
1267
|
+
const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$1S();
|
|
1268
|
+
const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$1R();
|
|
1276
1269
|
return {
|
|
1277
1270
|
kind: 'Fragment',
|
|
1278
|
-
version: VERSION$
|
|
1271
|
+
version: VERSION$1f,
|
|
1279
1272
|
private: [],
|
|
1280
1273
|
selections: [
|
|
1281
1274
|
{
|
|
@@ -1302,8 +1295,8 @@ const select$1P = function ListScopeRepresentationSelect() {
|
|
|
1302
1295
|
};
|
|
1303
1296
|
};
|
|
1304
1297
|
|
|
1305
|
-
const VERSION$
|
|
1306
|
-
function validate$
|
|
1298
|
+
const VERSION$1e = "6506134f4d72fdfa349fe60ef1af2413";
|
|
1299
|
+
function validate$1Q(obj, path = 'ListUserPreferenceRepresentation') {
|
|
1307
1300
|
const v_error = (() => {
|
|
1308
1301
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1309
1302
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1339,10 +1332,10 @@ function validate$1I(obj, path = 'ListUserPreferenceRepresentation') {
|
|
|
1339
1332
|
})();
|
|
1340
1333
|
return v_error === undefined ? null : v_error;
|
|
1341
1334
|
}
|
|
1342
|
-
const select$
|
|
1335
|
+
const select$1P = function ListUserPreferenceRepresentationSelect() {
|
|
1343
1336
|
return {
|
|
1344
1337
|
kind: 'Fragment',
|
|
1345
|
-
version: VERSION$
|
|
1338
|
+
version: VERSION$1e,
|
|
1346
1339
|
private: [],
|
|
1347
1340
|
selections: [
|
|
1348
1341
|
{
|
|
@@ -1359,9 +1352,177 @@ const select$1O = function ListUserPreferenceRepresentationSelect() {
|
|
|
1359
1352
|
};
|
|
1360
1353
|
};
|
|
1361
1354
|
|
|
1355
|
+
function validate$1P(obj, path = 'ListColumnInlineEditAttributesRepresentation') {
|
|
1356
|
+
const v_error = (() => {
|
|
1357
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1358
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1359
|
+
}
|
|
1360
|
+
const obj_editable = obj.editable;
|
|
1361
|
+
const path_editable = path + '.editable';
|
|
1362
|
+
if (typeof obj_editable !== 'boolean') {
|
|
1363
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_editable + '" (at "' + path_editable + '")');
|
|
1364
|
+
}
|
|
1365
|
+
const obj_required = obj.required;
|
|
1366
|
+
const path_required = path + '.required';
|
|
1367
|
+
if (typeof obj_required !== 'boolean') {
|
|
1368
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_required + '" (at "' + path_required + '")');
|
|
1369
|
+
}
|
|
1370
|
+
})();
|
|
1371
|
+
return v_error === undefined ? null : v_error;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
function validate$1O(obj, path = 'ListColumnInlineEditAttributesRepresentationWrapper') {
|
|
1375
|
+
const v_error = (() => {
|
|
1376
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1377
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1378
|
+
}
|
|
1379
|
+
const obj_keys = ObjectKeys(obj);
|
|
1380
|
+
for (let i = 0; i < obj_keys.length; i++) {
|
|
1381
|
+
const key = obj_keys[i];
|
|
1382
|
+
const obj_prop = obj[key];
|
|
1383
|
+
const path_prop = path + '["' + key + '"]';
|
|
1384
|
+
const referencepath_propValidationError = validate$1P(obj_prop, path_prop);
|
|
1385
|
+
if (referencepath_propValidationError !== null) {
|
|
1386
|
+
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentation (at "' + path_prop + '")\n';
|
|
1387
|
+
message += referencepath_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1388
|
+
return new TypeError(message);
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
})();
|
|
1392
|
+
return v_error === undefined ? null : v_error;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
const VERSION$1d = "8aff6b0baf2e60a237e860236c4e1b70";
|
|
1396
|
+
function validate$1N(obj, path = 'ListColumnRepresentation') {
|
|
1397
|
+
const v_error = (() => {
|
|
1398
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1399
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1400
|
+
}
|
|
1401
|
+
const obj_fieldApiName = obj.fieldApiName;
|
|
1402
|
+
const path_fieldApiName = path + '.fieldApiName';
|
|
1403
|
+
if (typeof obj_fieldApiName !== 'string') {
|
|
1404
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldApiName + '" (at "' + path_fieldApiName + '")');
|
|
1405
|
+
}
|
|
1406
|
+
if (obj.inlineEditAttributes !== undefined) {
|
|
1407
|
+
const obj_inlineEditAttributes = obj.inlineEditAttributes;
|
|
1408
|
+
const path_inlineEditAttributes = path + '.inlineEditAttributes';
|
|
1409
|
+
let obj_inlineEditAttributes_union0 = null;
|
|
1410
|
+
const obj_inlineEditAttributes_union0_error = (() => {
|
|
1411
|
+
const referencepath_inlineEditAttributesValidationError = validate$1O(obj_inlineEditAttributes, path_inlineEditAttributes);
|
|
1412
|
+
if (referencepath_inlineEditAttributesValidationError !== null) {
|
|
1413
|
+
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentationWrapper (at "' + path_inlineEditAttributes + '")\n';
|
|
1414
|
+
message += referencepath_inlineEditAttributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1415
|
+
return new TypeError(message);
|
|
1416
|
+
}
|
|
1417
|
+
})();
|
|
1418
|
+
if (obj_inlineEditAttributes_union0_error != null) {
|
|
1419
|
+
obj_inlineEditAttributes_union0 = obj_inlineEditAttributes_union0_error.message;
|
|
1420
|
+
}
|
|
1421
|
+
let obj_inlineEditAttributes_union1 = null;
|
|
1422
|
+
const obj_inlineEditAttributes_union1_error = (() => {
|
|
1423
|
+
if (obj_inlineEditAttributes !== null) {
|
|
1424
|
+
return new TypeError('Expected "null" but received "' + typeof obj_inlineEditAttributes + '" (at "' + path_inlineEditAttributes + '")');
|
|
1425
|
+
}
|
|
1426
|
+
})();
|
|
1427
|
+
if (obj_inlineEditAttributes_union1_error != null) {
|
|
1428
|
+
obj_inlineEditAttributes_union1 = obj_inlineEditAttributes_union1_error.message;
|
|
1429
|
+
}
|
|
1430
|
+
if (obj_inlineEditAttributes_union0 && obj_inlineEditAttributes_union1) {
|
|
1431
|
+
let message = 'Object doesn\'t match union (at "' + path_inlineEditAttributes + '")';
|
|
1432
|
+
message += '\n' + obj_inlineEditAttributes_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1433
|
+
message += '\n' + obj_inlineEditAttributes_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1434
|
+
return new TypeError(message);
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
const obj_label = obj.label;
|
|
1438
|
+
const path_label = path + '.label';
|
|
1439
|
+
if (typeof obj_label !== 'string') {
|
|
1440
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
1441
|
+
}
|
|
1442
|
+
const obj_lookupId = obj.lookupId;
|
|
1443
|
+
const path_lookupId = path + '.lookupId';
|
|
1444
|
+
let obj_lookupId_union0 = null;
|
|
1445
|
+
const obj_lookupId_union0_error = (() => {
|
|
1446
|
+
if (typeof obj_lookupId !== 'string') {
|
|
1447
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lookupId + '" (at "' + path_lookupId + '")');
|
|
1448
|
+
}
|
|
1449
|
+
})();
|
|
1450
|
+
if (obj_lookupId_union0_error != null) {
|
|
1451
|
+
obj_lookupId_union0 = obj_lookupId_union0_error.message;
|
|
1452
|
+
}
|
|
1453
|
+
let obj_lookupId_union1 = null;
|
|
1454
|
+
const obj_lookupId_union1_error = (() => {
|
|
1455
|
+
if (obj_lookupId !== null) {
|
|
1456
|
+
return new TypeError('Expected "null" but received "' + typeof obj_lookupId + '" (at "' + path_lookupId + '")');
|
|
1457
|
+
}
|
|
1458
|
+
})();
|
|
1459
|
+
if (obj_lookupId_union1_error != null) {
|
|
1460
|
+
obj_lookupId_union1 = obj_lookupId_union1_error.message;
|
|
1461
|
+
}
|
|
1462
|
+
if (obj_lookupId_union0 && obj_lookupId_union1) {
|
|
1463
|
+
let message = 'Object doesn\'t match union (at "' + path_lookupId + '")';
|
|
1464
|
+
message += '\n' + obj_lookupId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1465
|
+
message += '\n' + obj_lookupId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1466
|
+
return new TypeError(message);
|
|
1467
|
+
}
|
|
1468
|
+
if (obj.searchable !== undefined) {
|
|
1469
|
+
const obj_searchable = obj.searchable;
|
|
1470
|
+
const path_searchable = path + '.searchable';
|
|
1471
|
+
if (typeof obj_searchable !== 'boolean') {
|
|
1472
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_searchable + '" (at "' + path_searchable + '")');
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
const obj_sortable = obj.sortable;
|
|
1476
|
+
const path_sortable = path + '.sortable';
|
|
1477
|
+
if (typeof obj_sortable !== 'boolean') {
|
|
1478
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_sortable + '" (at "' + path_sortable + '")');
|
|
1479
|
+
}
|
|
1480
|
+
})();
|
|
1481
|
+
return v_error === undefined ? null : v_error;
|
|
1482
|
+
}
|
|
1483
|
+
const RepresentationType$V = 'ListColumnRepresentation';
|
|
1484
|
+
function normalize$P(input, existing, path, luvio, store, timestamp) {
|
|
1485
|
+
return input;
|
|
1486
|
+
}
|
|
1487
|
+
const select$1O = function ListColumnRepresentationSelect() {
|
|
1488
|
+
return {
|
|
1489
|
+
kind: 'Fragment',
|
|
1490
|
+
version: VERSION$1d,
|
|
1491
|
+
private: [],
|
|
1492
|
+
opaque: true
|
|
1493
|
+
};
|
|
1494
|
+
};
|
|
1495
|
+
function equals$12(existing, incoming) {
|
|
1496
|
+
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
1497
|
+
return false;
|
|
1498
|
+
}
|
|
1499
|
+
return true;
|
|
1500
|
+
}
|
|
1501
|
+
const ingest$P = function ListColumnRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1502
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
1503
|
+
const validateError = validate$1N(input);
|
|
1504
|
+
if (validateError !== null) {
|
|
1505
|
+
throw validateError;
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
const key = path.fullPath;
|
|
1509
|
+
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
1510
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$P, "UiApi", VERSION$1d, RepresentationType$V, equals$12);
|
|
1511
|
+
return createLink(key);
|
|
1512
|
+
};
|
|
1513
|
+
function getTypeCacheKeys$W(rootKeySet, luvio, input, fullPathFactory) {
|
|
1514
|
+
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
1515
|
+
const rootKey = fullPathFactory();
|
|
1516
|
+
rootKeySet.set(rootKey, {
|
|
1517
|
+
namespace: keyPrefix,
|
|
1518
|
+
representationName: RepresentationType$V,
|
|
1519
|
+
mergeable: false
|
|
1520
|
+
});
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1362
1523
|
const TTL$z = 900000;
|
|
1363
|
-
const VERSION$1c = "
|
|
1364
|
-
function validate$
|
|
1524
|
+
const VERSION$1c = "178c8b58f78e2720fe8846a667c7b294";
|
|
1525
|
+
function validate$1M(obj, path = 'ListInfoRepresentation') {
|
|
1365
1526
|
const v_error = (() => {
|
|
1366
1527
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1367
1528
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1389,11 +1550,8 @@ function validate$1H(obj, path = 'ListInfoRepresentation') {
|
|
|
1389
1550
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
1390
1551
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
1391
1552
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
let message = 'Object doesn\'t match ListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
1395
|
-
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1396
|
-
return new TypeError(message);
|
|
1553
|
+
if (typeof obj_displayColumns_item !== 'object') {
|
|
1554
|
+
return new TypeError('Expected "object" but received "' + typeof obj_displayColumns_item + '" (at "' + path_displayColumns_item + '")');
|
|
1397
1555
|
}
|
|
1398
1556
|
}
|
|
1399
1557
|
const obj_eTag = obj.eTag;
|
|
@@ -1435,13 +1593,44 @@ function validate$1H(obj, path = 'ListInfoRepresentation') {
|
|
|
1435
1593
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
1436
1594
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
1437
1595
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
1438
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
1596
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1Z(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
1439
1597
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
1440
1598
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
1441
1599
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1442
1600
|
return new TypeError(message);
|
|
1443
1601
|
}
|
|
1444
1602
|
}
|
|
1603
|
+
if (obj.inlineEditDetails !== undefined) {
|
|
1604
|
+
const obj_inlineEditDetails = obj.inlineEditDetails;
|
|
1605
|
+
const path_inlineEditDetails = path + '.inlineEditDetails';
|
|
1606
|
+
let obj_inlineEditDetails_union0 = null;
|
|
1607
|
+
const obj_inlineEditDetails_union0_error = (() => {
|
|
1608
|
+
const referencepath_inlineEditDetailsValidationError = validate$1Y(obj_inlineEditDetails, path_inlineEditDetails);
|
|
1609
|
+
if (referencepath_inlineEditDetailsValidationError !== null) {
|
|
1610
|
+
let message = 'Object doesn\'t match ListInlineEditDetailsRepresentation (at "' + path_inlineEditDetails + '")\n';
|
|
1611
|
+
message += referencepath_inlineEditDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1612
|
+
return new TypeError(message);
|
|
1613
|
+
}
|
|
1614
|
+
})();
|
|
1615
|
+
if (obj_inlineEditDetails_union0_error != null) {
|
|
1616
|
+
obj_inlineEditDetails_union0 = obj_inlineEditDetails_union0_error.message;
|
|
1617
|
+
}
|
|
1618
|
+
let obj_inlineEditDetails_union1 = null;
|
|
1619
|
+
const obj_inlineEditDetails_union1_error = (() => {
|
|
1620
|
+
if (obj_inlineEditDetails !== null) {
|
|
1621
|
+
return new TypeError('Expected "null" but received "' + typeof obj_inlineEditDetails + '" (at "' + path_inlineEditDetails + '")');
|
|
1622
|
+
}
|
|
1623
|
+
})();
|
|
1624
|
+
if (obj_inlineEditDetails_union1_error != null) {
|
|
1625
|
+
obj_inlineEditDetails_union1 = obj_inlineEditDetails_union1_error.message;
|
|
1626
|
+
}
|
|
1627
|
+
if (obj_inlineEditDetails_union0 && obj_inlineEditDetails_union1) {
|
|
1628
|
+
let message = 'Object doesn\'t match union (at "' + path_inlineEditDetails + '")';
|
|
1629
|
+
message += '\n' + obj_inlineEditDetails_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1630
|
+
message += '\n' + obj_inlineEditDetails_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1631
|
+
return new TypeError(message);
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1445
1634
|
const obj_label = obj.label;
|
|
1446
1635
|
const path_label = path + '.label';
|
|
1447
1636
|
let obj_label_union0 = null;
|
|
@@ -1470,7 +1659,7 @@ function validate$1H(obj, path = 'ListInfoRepresentation') {
|
|
|
1470
1659
|
}
|
|
1471
1660
|
const obj_listReference = obj.listReference;
|
|
1472
1661
|
const path_listReference = path + '.listReference';
|
|
1473
|
-
const referencepath_listReferenceValidationError = validate$
|
|
1662
|
+
const referencepath_listReferenceValidationError = validate$1X(obj_listReference, path_listReference);
|
|
1474
1663
|
if (referencepath_listReferenceValidationError !== null) {
|
|
1475
1664
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
1476
1665
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1485,7 +1674,7 @@ function validate$1H(obj, path = 'ListInfoRepresentation') {
|
|
|
1485
1674
|
for (let i = 0; i < obj_listShares.length; i++) {
|
|
1486
1675
|
const obj_listShares_item = obj_listShares[i];
|
|
1487
1676
|
const path_listShares_item = path_listShares + '[' + i + ']';
|
|
1488
|
-
const referencepath_listShares_itemValidationError = validate$
|
|
1677
|
+
const referencepath_listShares_itemValidationError = validate$1V(obj_listShares_item, path_listShares_item);
|
|
1489
1678
|
if (referencepath_listShares_itemValidationError !== null) {
|
|
1490
1679
|
let message = 'Object doesn\'t match ListInfoShareCategoryRepresentation (at "' + path_listShares_item + '")\n';
|
|
1491
1680
|
message += referencepath_listShares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1515,7 +1704,7 @@ function validate$1H(obj, path = 'ListInfoRepresentation') {
|
|
|
1515
1704
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
1516
1705
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
1517
1706
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
1518
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
1707
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1U(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
1519
1708
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
1520
1709
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
1521
1710
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1527,7 +1716,7 @@ function validate$1H(obj, path = 'ListInfoRepresentation') {
|
|
|
1527
1716
|
const path_scope = path + '.scope';
|
|
1528
1717
|
let obj_scope_union0 = null;
|
|
1529
1718
|
const obj_scope_union0_error = (() => {
|
|
1530
|
-
const referencepath_scopeValidationError = validate$
|
|
1719
|
+
const referencepath_scopeValidationError = validate$1R(obj_scope, path_scope);
|
|
1531
1720
|
if (referencepath_scopeValidationError !== null) {
|
|
1532
1721
|
let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
|
|
1533
1722
|
message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1567,7 +1756,7 @@ function validate$1H(obj, path = 'ListInfoRepresentation') {
|
|
|
1567
1756
|
}
|
|
1568
1757
|
const obj_userPreferences = obj.userPreferences;
|
|
1569
1758
|
const path_userPreferences = path + '.userPreferences';
|
|
1570
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
1759
|
+
const referencepath_userPreferencesValidationError = validate$1Q(obj_userPreferences, path_userPreferences);
|
|
1571
1760
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
1572
1761
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
1573
1762
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1599,16 +1788,32 @@ function keyBuilderFromType$C(luvio, object) {
|
|
|
1599
1788
|
return keyBuilder$20(luvio, keyParams);
|
|
1600
1789
|
}
|
|
1601
1790
|
function normalize$O(input, existing, path, luvio, store, timestamp) {
|
|
1791
|
+
const input_displayColumns = input.displayColumns;
|
|
1792
|
+
const input_displayColumns_id = path.fullPath + '__displayColumns';
|
|
1793
|
+
for (let i = 0; i < input_displayColumns.length; i++) {
|
|
1794
|
+
const input_displayColumns_item = input_displayColumns[i];
|
|
1795
|
+
let input_displayColumns_item_id = input_displayColumns_id + '__' + i;
|
|
1796
|
+
input_displayColumns[i] = ingest$P(input_displayColumns_item, {
|
|
1797
|
+
fullPath: input_displayColumns_item_id,
|
|
1798
|
+
propertyName: i,
|
|
1799
|
+
parent: {
|
|
1800
|
+
data: input,
|
|
1801
|
+
key: path.fullPath,
|
|
1802
|
+
existing: existing,
|
|
1803
|
+
},
|
|
1804
|
+
ttl: path.ttl
|
|
1805
|
+
}, luvio, store, timestamp);
|
|
1806
|
+
}
|
|
1602
1807
|
return input;
|
|
1603
1808
|
}
|
|
1604
1809
|
const select$1N = function ListInfoRepresentationSelect() {
|
|
1605
|
-
const { selections:
|
|
1606
|
-
const { selections:
|
|
1607
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
1608
|
-
const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$
|
|
1609
|
-
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$
|
|
1610
|
-
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$
|
|
1611
|
-
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$
|
|
1810
|
+
const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$1Y();
|
|
1811
|
+
const { selections: ListInlineEditDetailsRepresentation__selections, opaque: ListInlineEditDetailsRepresentation__opaque, } = select$1X();
|
|
1812
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1W();
|
|
1813
|
+
const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$1U();
|
|
1814
|
+
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$1T();
|
|
1815
|
+
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$1Q();
|
|
1816
|
+
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$1P();
|
|
1612
1817
|
return {
|
|
1613
1818
|
kind: 'Fragment',
|
|
1614
1819
|
version: VERSION$1c,
|
|
@@ -1630,9 +1835,9 @@ const select$1N = function ListInfoRepresentationSelect() {
|
|
|
1630
1835
|
},
|
|
1631
1836
|
{
|
|
1632
1837
|
name: 'displayColumns',
|
|
1633
|
-
kind: '
|
|
1838
|
+
kind: 'Link',
|
|
1634
1839
|
plural: true,
|
|
1635
|
-
|
|
1840
|
+
fragment: select$1O()
|
|
1636
1841
|
},
|
|
1637
1842
|
{
|
|
1638
1843
|
name: 'filterLogicString',
|
|
@@ -1644,6 +1849,13 @@ const select$1N = function ListInfoRepresentationSelect() {
|
|
|
1644
1849
|
plural: true,
|
|
1645
1850
|
selections: ListFilterByInfoRepresentation__selections
|
|
1646
1851
|
},
|
|
1852
|
+
{
|
|
1853
|
+
name: 'inlineEditDetails',
|
|
1854
|
+
kind: 'Object',
|
|
1855
|
+
nullable: true,
|
|
1856
|
+
selections: ListInlineEditDetailsRepresentation__selections,
|
|
1857
|
+
required: false
|
|
1858
|
+
},
|
|
1647
1859
|
{
|
|
1648
1860
|
name: 'label',
|
|
1649
1861
|
kind: 'Scalar'
|
|
@@ -1712,7 +1924,7 @@ function equals$11(existing, incoming) {
|
|
|
1712
1924
|
}
|
|
1713
1925
|
const ingest$O = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1714
1926
|
if (process.env.NODE_ENV !== 'production') {
|
|
1715
|
-
const validateError = validate$
|
|
1927
|
+
const validateError = validate$1M(input);
|
|
1716
1928
|
if (validateError !== null) {
|
|
1717
1929
|
throw validateError;
|
|
1718
1930
|
}
|
|
@@ -1730,6 +1942,10 @@ function getTypeCacheKeys$V(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1730
1942
|
representationName: RepresentationType$U,
|
|
1731
1943
|
mergeable: false
|
|
1732
1944
|
});
|
|
1945
|
+
const input_displayColumns_length = input.displayColumns.length;
|
|
1946
|
+
for (let i = 0; i < input_displayColumns_length; i++) {
|
|
1947
|
+
getTypeCacheKeys$W(rootKeySet, luvio, input.displayColumns[i], () => '');
|
|
1948
|
+
}
|
|
1733
1949
|
}
|
|
1734
1950
|
const notifyUpdateAvailableFactory$4 = (luvio) => {
|
|
1735
1951
|
return function notifyListInfoUpdateAvailable(configs) {
|
|
@@ -1792,7 +2008,7 @@ function toSortedStringArray(value) {
|
|
|
1792
2008
|
}
|
|
1793
2009
|
|
|
1794
2010
|
const VERSION$1b = "d1e589a127fb1060c89070cdb6f500b2";
|
|
1795
|
-
function validate$
|
|
2011
|
+
function validate$1L(obj, path = 'RecordTypeInfoRepresentation') {
|
|
1796
2012
|
const v_error = (() => {
|
|
1797
2013
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1798
2014
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1884,7 +2100,7 @@ function equals$10(existing, incoming) {
|
|
|
1884
2100
|
}
|
|
1885
2101
|
|
|
1886
2102
|
const VERSION$1a = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
1887
|
-
function validate$
|
|
2103
|
+
function validate$1K(obj, path = 'FieldValueRepresentation') {
|
|
1888
2104
|
const v_error = (() => {
|
|
1889
2105
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1890
2106
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2031,7 +2247,7 @@ function equals$$(existing, incoming) {
|
|
|
2031
2247
|
}
|
|
2032
2248
|
const ingest$N = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2033
2249
|
if (process.env.NODE_ENV !== 'production') {
|
|
2034
|
-
const validateError = validate$
|
|
2250
|
+
const validateError = validate$1K(input);
|
|
2035
2251
|
if (validateError !== null) {
|
|
2036
2252
|
throw validateError;
|
|
2037
2253
|
}
|
|
@@ -2082,7 +2298,7 @@ const getTypeCacheKeys$T = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
2082
2298
|
|
|
2083
2299
|
const TTL$y = 120000;
|
|
2084
2300
|
const VERSION$19 = "79cb5ac9f44542f683d00245fdfe500d";
|
|
2085
|
-
function validate$
|
|
2301
|
+
function validate$1J(obj, path = 'RecordCollectionRepresentation') {
|
|
2086
2302
|
const v_error = (() => {
|
|
2087
2303
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2088
2304
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2355,7 +2571,7 @@ function equals$_(existing, incoming) {
|
|
|
2355
2571
|
}
|
|
2356
2572
|
const ingest$M = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2357
2573
|
if (process.env.NODE_ENV !== 'production') {
|
|
2358
|
-
const validateError = validate$
|
|
2574
|
+
const validateError = validate$1J(input);
|
|
2359
2575
|
if (validateError !== null) {
|
|
2360
2576
|
throw validateError;
|
|
2361
2577
|
}
|
|
@@ -2391,7 +2607,7 @@ const keyBuilderFromType$B = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
2391
2607
|
|
|
2392
2608
|
const TTL$x = 30000;
|
|
2393
2609
|
const VERSION$18 = "98c5b18512e48ca8d28727549507e4ba";
|
|
2394
|
-
function validate$
|
|
2610
|
+
function validate$1I(obj, path = 'RecordRepresentation') {
|
|
2395
2611
|
const v_error = (() => {
|
|
2396
2612
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2397
2613
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2521,7 +2737,7 @@ function validate$1D(obj, path = 'RecordRepresentation') {
|
|
|
2521
2737
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
2522
2738
|
let obj_recordTypeInfo_union0 = null;
|
|
2523
2739
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
2524
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
2740
|
+
const referencepath_recordTypeInfoValidationError = validate$1L(obj_recordTypeInfo, path_recordTypeInfo);
|
|
2525
2741
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
2526
2742
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
2527
2743
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5032,7 +5248,7 @@ function normalize$L(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
5032
5248
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
5033
5249
|
return (input, path, luvio, store, timestamp) => {
|
|
5034
5250
|
if (process.env.NODE_ENV !== 'production') {
|
|
5035
|
-
const validateError = validate$
|
|
5251
|
+
const validateError = validate$1K(input);
|
|
5036
5252
|
if (validateError !== null) {
|
|
5037
5253
|
throw validateError;
|
|
5038
5254
|
}
|
|
@@ -5125,7 +5341,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
5125
5341
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
5126
5342
|
return (input, path, luvio, store, timestamp) => {
|
|
5127
5343
|
if (process.env.NODE_ENV !== 'production') {
|
|
5128
|
-
const validateError = validate$
|
|
5344
|
+
const validateError = validate$1I(input);
|
|
5129
5345
|
if (validateError !== null) {
|
|
5130
5346
|
throw validateError;
|
|
5131
5347
|
}
|
|
@@ -5971,7 +6187,7 @@ function tokenForAtMost(paginationMetadata, maxOffset) {
|
|
|
5971
6187
|
|
|
5972
6188
|
const TTL$w = 30000;
|
|
5973
6189
|
const VERSION$16 = "b8270d0d7a5953587f98a9625cad85db";
|
|
5974
|
-
function validate$
|
|
6190
|
+
function validate$1H(obj, path = 'ListRecordCollectionRepresentation') {
|
|
5975
6191
|
const v_error = (() => {
|
|
5976
6192
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5977
6193
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6031,7 +6247,7 @@ function validate$1C(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
6031
6247
|
}
|
|
6032
6248
|
const obj_listReference = obj.listReference;
|
|
6033
6249
|
const path_listReference = path + '.listReference';
|
|
6034
|
-
const referencepath_listReferenceValidationError = validate$
|
|
6250
|
+
const referencepath_listReferenceValidationError = validate$1X(obj_listReference, path_listReference);
|
|
6035
6251
|
if (referencepath_listReferenceValidationError !== null) {
|
|
6036
6252
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
6037
6253
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6269,7 +6485,7 @@ function normalize$K(input, existing, path, luvio, store, timestamp) {
|
|
|
6269
6485
|
return input;
|
|
6270
6486
|
}
|
|
6271
6487
|
const select$1I = function ListRecordCollectionRepresentationSelect(paginationParams) {
|
|
6272
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
6488
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1W();
|
|
6273
6489
|
return {
|
|
6274
6490
|
kind: 'Fragment',
|
|
6275
6491
|
reader: true,
|
|
@@ -6386,7 +6602,7 @@ const dynamicSelect$7 = function dynamicListRecordCollectionRepresentationSelect
|
|
|
6386
6602
|
kind: 'Link',
|
|
6387
6603
|
fragment: select$1J()
|
|
6388
6604
|
} : params.records;
|
|
6389
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
6605
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1W();
|
|
6390
6606
|
return {
|
|
6391
6607
|
kind: 'Fragment',
|
|
6392
6608
|
reader: true,
|
|
@@ -6501,7 +6717,7 @@ function equals$Y(existing, incoming) {
|
|
|
6501
6717
|
}
|
|
6502
6718
|
const existing_listReference = existing.listReference;
|
|
6503
6719
|
const incoming_listReference = incoming.listReference;
|
|
6504
|
-
if (!(equals$
|
|
6720
|
+
if (!(equals$14(existing_listReference, incoming_listReference))) {
|
|
6505
6721
|
return false;
|
|
6506
6722
|
}
|
|
6507
6723
|
const existing_nextPageToken = existing.nextPageToken;
|
|
@@ -6570,7 +6786,7 @@ function equals$Y(existing, incoming) {
|
|
|
6570
6786
|
}
|
|
6571
6787
|
const ingest$K = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6572
6788
|
if (process.env.NODE_ENV !== 'production') {
|
|
6573
|
-
const validateError = validate$
|
|
6789
|
+
const validateError = validate$1H(input);
|
|
6574
6790
|
if (validateError !== null) {
|
|
6575
6791
|
throw validateError;
|
|
6576
6792
|
}
|
|
@@ -6663,7 +6879,7 @@ function getTypeCacheKeys$Q(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6663
6879
|
}
|
|
6664
6880
|
|
|
6665
6881
|
const VERSION$15 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
6666
|
-
function validate$
|
|
6882
|
+
function validate$1G(obj, path = 'ListUiRepresentation') {
|
|
6667
6883
|
const v_error = (() => {
|
|
6668
6884
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6669
6885
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6769,7 +6985,7 @@ function equals$X(existing, incoming) {
|
|
|
6769
6985
|
}
|
|
6770
6986
|
const ingest$J = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6771
6987
|
if (process.env.NODE_ENV !== 'production') {
|
|
6772
|
-
const validateError = validate$
|
|
6988
|
+
const validateError = validate$1G(input);
|
|
6773
6989
|
if (validateError !== null) {
|
|
6774
6990
|
throw validateError;
|
|
6775
6991
|
}
|
|
@@ -7309,7 +7525,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
7309
7525
|
}
|
|
7310
7526
|
|
|
7311
7527
|
const VERSION$14 = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
7312
|
-
function validate$
|
|
7528
|
+
function validate$1F(obj, path = 'ListViewSummaryRepresentation') {
|
|
7313
7529
|
const v_error = (() => {
|
|
7314
7530
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7315
7531
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7421,7 +7637,7 @@ function equals$W(existing, incoming) {
|
|
|
7421
7637
|
}
|
|
7422
7638
|
const ingest$I = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7423
7639
|
if (process.env.NODE_ENV !== 'production') {
|
|
7424
|
-
const validateError = validate$
|
|
7640
|
+
const validateError = validate$1F(input);
|
|
7425
7641
|
if (validateError !== null) {
|
|
7426
7642
|
throw validateError;
|
|
7427
7643
|
}
|
|
@@ -7442,7 +7658,7 @@ function getTypeCacheKeys$O(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7442
7658
|
}
|
|
7443
7659
|
|
|
7444
7660
|
const VERSION$13 = "f4c79fe066da3558499d5ee88c72abcd";
|
|
7445
|
-
function validate$
|
|
7661
|
+
function validate$1E(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
7446
7662
|
const v_error = (() => {
|
|
7447
7663
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7448
7664
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7826,7 +8042,7 @@ function equals$V(existing, incoming) {
|
|
|
7826
8042
|
}
|
|
7827
8043
|
const ingest$H = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7828
8044
|
if (process.env.NODE_ENV !== 'production') {
|
|
7829
|
-
const validateError = validate$
|
|
8045
|
+
const validateError = validate$1E(input);
|
|
7830
8046
|
if (validateError !== null) {
|
|
7831
8047
|
throw validateError;
|
|
7832
8048
|
}
|
|
@@ -8977,7 +9193,7 @@ const factory$h = (luvio) => {
|
|
|
8977
9193
|
}, { contextId: contextId$6 });
|
|
8978
9194
|
};
|
|
8979
9195
|
|
|
8980
|
-
function validate$
|
|
9196
|
+
function validate$1D(obj, path = 'ChildRelationshipRepresentation') {
|
|
8981
9197
|
const v_error = (() => {
|
|
8982
9198
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8983
9199
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9025,7 +9241,7 @@ function validate$1y(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
9025
9241
|
return v_error === undefined ? null : v_error;
|
|
9026
9242
|
}
|
|
9027
9243
|
|
|
9028
|
-
function validate$
|
|
9244
|
+
function validate$1C(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
9029
9245
|
const v_error = (() => {
|
|
9030
9246
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9031
9247
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9056,7 +9272,7 @@ function validate$1x(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
9056
9272
|
return v_error === undefined ? null : v_error;
|
|
9057
9273
|
}
|
|
9058
9274
|
|
|
9059
|
-
function validate$
|
|
9275
|
+
function validate$1B(obj, path = 'ReferenceToInfoRepresentation') {
|
|
9060
9276
|
const v_error = (() => {
|
|
9061
9277
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9062
9278
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9082,7 +9298,7 @@ function validate$1w(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
9082
9298
|
return v_error === undefined ? null : v_error;
|
|
9083
9299
|
}
|
|
9084
9300
|
|
|
9085
|
-
function validate$
|
|
9301
|
+
function validate$1A(obj, path = 'FieldRepresentation') {
|
|
9086
9302
|
const v_error = (() => {
|
|
9087
9303
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9088
9304
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9242,7 +9458,7 @@ function validate$1v(obj, path = 'FieldRepresentation') {
|
|
|
9242
9458
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
9243
9459
|
let obj_filteredLookupInfo_union0 = null;
|
|
9244
9460
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
9245
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
9461
|
+
const referencepath_filteredLookupInfoValidationError = validate$1C(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
9246
9462
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
9247
9463
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' + path_filteredLookupInfo + '")\n';
|
|
9248
9464
|
message += referencepath_filteredLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9367,7 +9583,7 @@ function validate$1v(obj, path = 'FieldRepresentation') {
|
|
|
9367
9583
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
9368
9584
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
9369
9585
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
9370
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
9586
|
+
const referencepath_referenceToInfos_itemValidationError = validate$1B(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
9371
9587
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
9372
9588
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' + path_referenceToInfos_item + '")\n';
|
|
9373
9589
|
message += referencepath_referenceToInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9434,7 +9650,7 @@ function validate$1v(obj, path = 'FieldRepresentation') {
|
|
|
9434
9650
|
return v_error === undefined ? null : v_error;
|
|
9435
9651
|
}
|
|
9436
9652
|
|
|
9437
|
-
function validate$
|
|
9653
|
+
function validate$1z(obj, path = 'ThemeInfoRepresentation') {
|
|
9438
9654
|
const v_error = (() => {
|
|
9439
9655
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9440
9656
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9476,7 +9692,7 @@ function validate$1u(obj, path = 'ThemeInfoRepresentation') {
|
|
|
9476
9692
|
|
|
9477
9693
|
const TTL$v = 900000;
|
|
9478
9694
|
const VERSION$12 = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
9479
|
-
function validate$
|
|
9695
|
+
function validate$1y(obj, path = 'ObjectInfoRepresentation') {
|
|
9480
9696
|
const v_error = (() => {
|
|
9481
9697
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9482
9698
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9546,7 +9762,7 @@ function validate$1t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9546
9762
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
9547
9763
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
9548
9764
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
9549
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
9765
|
+
const referencepath_childRelationships_itemValidationError = validate$1D(obj_childRelationships_item, path_childRelationships_item);
|
|
9550
9766
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
9551
9767
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' + path_childRelationships_item + '")\n';
|
|
9552
9768
|
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9628,7 +9844,7 @@ function validate$1t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9628
9844
|
const key = obj_fields_keys[i];
|
|
9629
9845
|
const obj_fields_prop = obj_fields[key];
|
|
9630
9846
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
9631
|
-
const referencepath_fields_propValidationError = validate$
|
|
9847
|
+
const referencepath_fields_propValidationError = validate$1A(obj_fields_prop, path_fields_prop);
|
|
9632
9848
|
if (referencepath_fields_propValidationError !== null) {
|
|
9633
9849
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
9634
9850
|
message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9708,7 +9924,7 @@ function validate$1t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9708
9924
|
const key = obj_recordTypeInfos_keys[i];
|
|
9709
9925
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
9710
9926
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
9711
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
9927
|
+
const referencepath_recordTypeInfos_propValidationError = validate$1L(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
9712
9928
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
9713
9929
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfos_prop + '")\n';
|
|
9714
9930
|
message += referencepath_recordTypeInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9724,7 +9940,7 @@ function validate$1t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9724
9940
|
const path_themeInfo = path + '.themeInfo';
|
|
9725
9941
|
let obj_themeInfo_union0 = null;
|
|
9726
9942
|
const obj_themeInfo_union0_error = (() => {
|
|
9727
|
-
const referencepath_themeInfoValidationError = validate$
|
|
9943
|
+
const referencepath_themeInfoValidationError = validate$1z(obj_themeInfo, path_themeInfo);
|
|
9728
9944
|
if (referencepath_themeInfoValidationError !== null) {
|
|
9729
9945
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
9730
9946
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9883,7 +10099,7 @@ function equals$U(existing, incoming) {
|
|
|
9883
10099
|
}
|
|
9884
10100
|
const ingest$G = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9885
10101
|
if (process.env.NODE_ENV !== 'production') {
|
|
9886
|
-
const validateError = validate$
|
|
10102
|
+
const validateError = validate$1y(input);
|
|
9887
10103
|
if (validateError !== null) {
|
|
9888
10104
|
throw validateError;
|
|
9889
10105
|
}
|
|
@@ -10044,7 +10260,7 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
|
|
|
10044
10260
|
buildCachedSnapshotCachePolicy$L, buildNetworkSnapshotCachePolicy$L);
|
|
10045
10261
|
};
|
|
10046
10262
|
|
|
10047
|
-
function validate$
|
|
10263
|
+
function validate$1x(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
10048
10264
|
const v_error = (() => {
|
|
10049
10265
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10050
10266
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10092,7 +10308,7 @@ var DiscriminatorValues$5;
|
|
|
10092
10308
|
DiscriminatorValues["Field"] = "Field";
|
|
10093
10309
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
10094
10310
|
})(DiscriminatorValues$5 || (DiscriminatorValues$5 = {}));
|
|
10095
|
-
function validate$
|
|
10311
|
+
function validate$1w(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
10096
10312
|
const v_error = (() => {
|
|
10097
10313
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10098
10314
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10132,7 +10348,7 @@ function validate$1r(obj, path = 'AbstractRecordLayoutComponentRepresentation')
|
|
|
10132
10348
|
return v_error === undefined ? null : v_error;
|
|
10133
10349
|
}
|
|
10134
10350
|
|
|
10135
|
-
function validate$
|
|
10351
|
+
function validate$1v(obj, path = 'RecordLayoutItemRepresentation') {
|
|
10136
10352
|
const v_error = (() => {
|
|
10137
10353
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10138
10354
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10160,7 +10376,7 @@ function validate$1q(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10160
10376
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
10161
10377
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
10162
10378
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
10163
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
10379
|
+
const referencepath_layoutComponents_itemValidationError = validate$1w(obj_layoutComponents_item, path_layoutComponents_item);
|
|
10164
10380
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
10165
10381
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' + path_layoutComponents_item + '")\n';
|
|
10166
10382
|
message += referencepath_layoutComponents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10207,7 +10423,7 @@ function validate$1q(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10207
10423
|
return v_error === undefined ? null : v_error;
|
|
10208
10424
|
}
|
|
10209
10425
|
|
|
10210
|
-
function validate$
|
|
10426
|
+
function validate$1u(obj, path = 'RecordLayoutRowRepresentation') {
|
|
10211
10427
|
const v_error = (() => {
|
|
10212
10428
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10213
10429
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10220,7 +10436,7 @@ function validate$1p(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
10220
10436
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
10221
10437
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
10222
10438
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
10223
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
10439
|
+
const referencepath_layoutItems_itemValidationError = validate$1v(obj_layoutItems_item, path_layoutItems_item);
|
|
10224
10440
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
10225
10441
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' + path_layoutItems_item + '")\n';
|
|
10226
10442
|
message += referencepath_layoutItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10231,7 +10447,7 @@ function validate$1p(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
10231
10447
|
return v_error === undefined ? null : v_error;
|
|
10232
10448
|
}
|
|
10233
10449
|
|
|
10234
|
-
function validate$
|
|
10450
|
+
function validate$1t(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
10235
10451
|
const v_error = (() => {
|
|
10236
10452
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10237
10453
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10306,7 +10522,7 @@ function validate$1o(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
10306
10522
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
10307
10523
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
10308
10524
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
10309
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
10525
|
+
const referencepath_layoutRows_itemValidationError = validate$1u(obj_layoutRows_item, path_layoutRows_item);
|
|
10310
10526
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
10311
10527
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' + path_layoutRows_item + '")\n';
|
|
10312
10528
|
message += referencepath_layoutRows_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10329,7 +10545,7 @@ function validate$1o(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
10329
10545
|
|
|
10330
10546
|
const TTL$u = 900000;
|
|
10331
10547
|
const VERSION$11 = "fb515e25a89ca1ec154dc865e72b913a";
|
|
10332
|
-
function validate$
|
|
10548
|
+
function validate$1s(obj, path = 'RecordLayoutRepresentation') {
|
|
10333
10549
|
const v_error = (() => {
|
|
10334
10550
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10335
10551
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10435,7 +10651,7 @@ function validate$1n(obj, path = 'RecordLayoutRepresentation') {
|
|
|
10435
10651
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
10436
10652
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
10437
10653
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
10438
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
10654
|
+
const referencepath_saveOptions_itemValidationError = validate$1x(obj_saveOptions_item, path_saveOptions_item);
|
|
10439
10655
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
10440
10656
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' + path_saveOptions_item + '")\n';
|
|
10441
10657
|
message += referencepath_saveOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10450,7 +10666,7 @@ function validate$1n(obj, path = 'RecordLayoutRepresentation') {
|
|
|
10450
10666
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
10451
10667
|
const obj_sections_item = obj_sections[i];
|
|
10452
10668
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
10453
|
-
const referencepath_sections_itemValidationError = validate$
|
|
10669
|
+
const referencepath_sections_itemValidationError = validate$1t(obj_sections_item, path_sections_item);
|
|
10454
10670
|
if (referencepath_sections_itemValidationError !== null) {
|
|
10455
10671
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' + path_sections_item + '")\n';
|
|
10456
10672
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10525,7 +10741,7 @@ function equals$T(existing, incoming) {
|
|
|
10525
10741
|
}
|
|
10526
10742
|
const ingest$F = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10527
10743
|
if (process.env.NODE_ENV !== 'production') {
|
|
10528
|
-
const validateError = validate$
|
|
10744
|
+
const validateError = validate$1s(input);
|
|
10529
10745
|
if (validateError !== null) {
|
|
10530
10746
|
throw validateError;
|
|
10531
10747
|
}
|
|
@@ -10567,7 +10783,7 @@ function getRecordId18Array(value) {
|
|
|
10567
10783
|
return dedupe(array).sort();
|
|
10568
10784
|
}
|
|
10569
10785
|
|
|
10570
|
-
function validate$
|
|
10786
|
+
function validate$1r(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
10571
10787
|
const v_error = (() => {
|
|
10572
10788
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10573
10789
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10588,7 +10804,7 @@ function validate$1m(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
10588
10804
|
|
|
10589
10805
|
const TTL$t = 900000;
|
|
10590
10806
|
const VERSION$10 = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
10591
|
-
function validate$
|
|
10807
|
+
function validate$1q(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
10592
10808
|
const v_error = (() => {
|
|
10593
10809
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10594
10810
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10628,7 +10844,7 @@ function validate$1l(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
10628
10844
|
const key = obj_sectionUserStates_keys[i];
|
|
10629
10845
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
10630
10846
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
10631
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
10847
|
+
const referencepath_sectionUserStates_propValidationError = validate$1r(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
10632
10848
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
10633
10849
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' + path_sectionUserStates_prop + '")\n';
|
|
10634
10850
|
message += referencepath_sectionUserStates_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10685,7 +10901,7 @@ function equals$S(existing, incoming) {
|
|
|
10685
10901
|
}
|
|
10686
10902
|
const ingest$E = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10687
10903
|
if (process.env.NODE_ENV !== 'production') {
|
|
10688
|
-
const validateError = validate$
|
|
10904
|
+
const validateError = validate$1q(input);
|
|
10689
10905
|
if (validateError !== null) {
|
|
10690
10906
|
throw validateError;
|
|
10691
10907
|
}
|
|
@@ -10707,7 +10923,7 @@ function getTypeCacheKeys$K(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10707
10923
|
|
|
10708
10924
|
const TTL$s = 900000;
|
|
10709
10925
|
const VERSION$$ = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
10710
|
-
function validate$
|
|
10926
|
+
function validate$1p(obj, path = 'RecordUiRepresentation') {
|
|
10711
10927
|
const v_error = (() => {
|
|
10712
10928
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10713
10929
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10969,7 +11185,7 @@ function equals$R(existing, incoming) {
|
|
|
10969
11185
|
}
|
|
10970
11186
|
const ingest$D = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10971
11187
|
if (process.env.NODE_ENV !== 'production') {
|
|
10972
|
-
const validateError = validate$
|
|
11188
|
+
const validateError = validate$1p(input);
|
|
10973
11189
|
if (validateError !== null) {
|
|
10974
11190
|
throw validateError;
|
|
10975
11191
|
}
|
|
@@ -12101,7 +12317,7 @@ const notifyUpdateAvailableFactory$1 = (luvio) => {
|
|
|
12101
12317
|
};
|
|
12102
12318
|
|
|
12103
12319
|
const VERSION$_ = "4aa37812ee37c752a099b29026217c85";
|
|
12104
|
-
function validate$
|
|
12320
|
+
function validate$1o(obj, path = 'ObjectInfoDirectoryEntryRepresentation') {
|
|
12105
12321
|
const v_error = (() => {
|
|
12106
12322
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12107
12323
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12254,7 +12470,7 @@ function equals$Q(existing, incoming) {
|
|
|
12254
12470
|
}
|
|
12255
12471
|
const ingest$C = function ObjectInfoDirectoryEntryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12256
12472
|
if (process.env.NODE_ENV !== 'production') {
|
|
12257
|
-
const validateError = validate$
|
|
12473
|
+
const validateError = validate$1o(input);
|
|
12258
12474
|
if (validateError !== null) {
|
|
12259
12475
|
throw validateError;
|
|
12260
12476
|
}
|
|
@@ -12275,7 +12491,7 @@ function getTypeCacheKeys$J(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12275
12491
|
}
|
|
12276
12492
|
|
|
12277
12493
|
const VERSION$Z = "37fd8c0154ee743c9defbf03e9b4b067";
|
|
12278
|
-
function validate$
|
|
12494
|
+
function validate$1n(obj, path = 'ObjectInfoDirectoryRepresentation') {
|
|
12279
12495
|
const v_error = (() => {
|
|
12280
12496
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12281
12497
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12350,7 +12566,7 @@ function equals$P(existing, incoming) {
|
|
|
12350
12566
|
}
|
|
12351
12567
|
const ingest$B = function ObjectInfoDirectoryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12352
12568
|
if (process.env.NODE_ENV !== 'production') {
|
|
12353
|
-
const validateError = validate$
|
|
12569
|
+
const validateError = validate$1n(input);
|
|
12354
12570
|
if (validateError !== null) {
|
|
12355
12571
|
throw validateError;
|
|
12356
12572
|
}
|
|
@@ -12378,7 +12594,7 @@ function getTypeCacheKeys$I(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12378
12594
|
}
|
|
12379
12595
|
|
|
12380
12596
|
const VERSION$Y = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
12381
|
-
function validate$
|
|
12597
|
+
function validate$1m(obj, path = 'QuickActionExecutionRepresentation') {
|
|
12382
12598
|
const v_error = (() => {
|
|
12383
12599
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12384
12600
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12551,7 +12767,7 @@ function equals$O(existing, incoming) {
|
|
|
12551
12767
|
}
|
|
12552
12768
|
const ingest$A = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12553
12769
|
if (process.env.NODE_ENV !== 'production') {
|
|
12554
|
-
const validateError = validate$
|
|
12770
|
+
const validateError = validate$1m(input);
|
|
12555
12771
|
if (validateError !== null) {
|
|
12556
12772
|
throw validateError;
|
|
12557
12773
|
}
|
|
@@ -12573,7 +12789,7 @@ function getTypeCacheKeys$H(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12573
12789
|
|
|
12574
12790
|
const TTL$r = 900000;
|
|
12575
12791
|
const VERSION$X = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
12576
|
-
function validate$
|
|
12792
|
+
function validate$1l(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
12577
12793
|
const v_error = (() => {
|
|
12578
12794
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12579
12795
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12752,7 +12968,7 @@ function coerceFormFactor(form) {
|
|
|
12752
12968
|
}
|
|
12753
12969
|
|
|
12754
12970
|
const VERSION$W = "3f49d751896cf66e6e29788d8880e2cc";
|
|
12755
|
-
function validate$
|
|
12971
|
+
function validate$1k(obj, path = 'PlatformActionRepresentation') {
|
|
12756
12972
|
const v_error = (() => {
|
|
12757
12973
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12758
12974
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13284,7 +13500,7 @@ function equals$M(existing, incoming) {
|
|
|
13284
13500
|
}
|
|
13285
13501
|
const ingest$z = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13286
13502
|
if (process.env.NODE_ENV !== 'production') {
|
|
13287
|
-
const validateError = validate$
|
|
13503
|
+
const validateError = validate$1k(input);
|
|
13288
13504
|
if (validateError !== null) {
|
|
13289
13505
|
throw validateError;
|
|
13290
13506
|
}
|
|
@@ -13305,7 +13521,7 @@ function getTypeCacheKeys$F(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13305
13521
|
}
|
|
13306
13522
|
|
|
13307
13523
|
const VERSION$V = "378d506f563a4bd724b322d440df33d1";
|
|
13308
|
-
function validate$
|
|
13524
|
+
function validate$1j(obj, path = 'EntityActionRepresentation') {
|
|
13309
13525
|
const v_error = (() => {
|
|
13310
13526
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13311
13527
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13419,7 +13635,7 @@ function equals$L(existing, incoming) {
|
|
|
13419
13635
|
}
|
|
13420
13636
|
const ingest$y = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13421
13637
|
if (process.env.NODE_ENV !== 'production') {
|
|
13422
|
-
const validateError = validate$
|
|
13638
|
+
const validateError = validate$1j(input);
|
|
13423
13639
|
if (validateError !== null) {
|
|
13424
13640
|
throw validateError;
|
|
13425
13641
|
}
|
|
@@ -13445,7 +13661,7 @@ function getTypeCacheKeys$E(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13445
13661
|
|
|
13446
13662
|
const TTL$q = 300000;
|
|
13447
13663
|
const VERSION$U = "e485d96c1402a9ca2f56e56485af0216";
|
|
13448
|
-
function validate$
|
|
13664
|
+
function validate$1i(obj, path = 'ActionRepresentation') {
|
|
13449
13665
|
const v_error = (() => {
|
|
13450
13666
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13451
13667
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13543,7 +13759,7 @@ function equals$K(existing, incoming) {
|
|
|
13543
13759
|
}
|
|
13544
13760
|
const ingest$x = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13545
13761
|
if (process.env.NODE_ENV !== 'production') {
|
|
13546
|
-
const validateError = validate$
|
|
13762
|
+
const validateError = validate$1i(input);
|
|
13547
13763
|
if (validateError !== null) {
|
|
13548
13764
|
throw validateError;
|
|
13549
13765
|
}
|
|
@@ -13715,7 +13931,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
13715
13931
|
|
|
13716
13932
|
const TTL$p = 900000;
|
|
13717
13933
|
const VERSION$T = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
13718
|
-
function validate$
|
|
13934
|
+
function validate$1h(obj, path = 'QuickActionLayoutRepresentation') {
|
|
13719
13935
|
const v_error = (() => {
|
|
13720
13936
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13721
13937
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13732,7 +13948,7 @@ function validate$1c(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
13732
13948
|
}
|
|
13733
13949
|
const obj_layout = obj.layout;
|
|
13734
13950
|
const path_layout = path + '.layout';
|
|
13735
|
-
const referencepath_layoutValidationError = validate$
|
|
13951
|
+
const referencepath_layoutValidationError = validate$1s(obj_layout, path_layout);
|
|
13736
13952
|
if (referencepath_layoutValidationError !== null) {
|
|
13737
13953
|
let message = 'Object doesn\'t match RecordLayoutRepresentation (at "' + path_layout + '")\n';
|
|
13738
13954
|
message += referencepath_layoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13782,7 +13998,7 @@ function equals$J(existing, incoming) {
|
|
|
13782
13998
|
}
|
|
13783
13999
|
const ingest$w = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13784
14000
|
if (process.env.NODE_ENV !== 'production') {
|
|
13785
|
-
const validateError = validate$
|
|
14001
|
+
const validateError = validate$1h(input);
|
|
13786
14002
|
if (validateError !== null) {
|
|
13787
14003
|
throw validateError;
|
|
13788
14004
|
}
|
|
@@ -14259,7 +14475,7 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
14259
14475
|
};
|
|
14260
14476
|
|
|
14261
14477
|
const VERSION$S = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
14262
|
-
function validate$
|
|
14478
|
+
function validate$1g(obj, path = 'ActionOverrideRepresentation') {
|
|
14263
14479
|
const v_error = (() => {
|
|
14264
14480
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14265
14481
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14292,7 +14508,7 @@ function equals$I(existing, incoming) {
|
|
|
14292
14508
|
}
|
|
14293
14509
|
const ingest$v = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14294
14510
|
if (process.env.NODE_ENV !== 'production') {
|
|
14295
|
-
const validateError = validate$
|
|
14511
|
+
const validateError = validate$1g(input);
|
|
14296
14512
|
if (validateError !== null) {
|
|
14297
14513
|
throw validateError;
|
|
14298
14514
|
}
|
|
@@ -14468,7 +14684,7 @@ function merge$1(existing, incoming) {
|
|
|
14468
14684
|
const dynamicIngest$4 = (ingestParams) => {
|
|
14469
14685
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14470
14686
|
if (process.env.NODE_ENV !== 'production') {
|
|
14471
|
-
const validateError = validate$
|
|
14687
|
+
const validateError = validate$1l(input);
|
|
14472
14688
|
if (validateError !== null) {
|
|
14473
14689
|
throw validateError;
|
|
14474
14690
|
}
|
|
@@ -14977,7 +15193,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
14977
15193
|
buildCachedSnapshotCachePolicy$D, buildNetworkSnapshotCachePolicy$D);
|
|
14978
15194
|
};
|
|
14979
15195
|
|
|
14980
|
-
function validate$
|
|
15196
|
+
function validate$1f(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
14981
15197
|
const v_error = (() => {
|
|
14982
15198
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14983
15199
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15403,7 +15619,7 @@ function typeCheckConfig$R(untrustedConfig) {
|
|
|
15403
15619
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
15404
15620
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
15405
15621
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
15406
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
15622
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1f(untrustedConfig_relatedListsActionParameters_item);
|
|
15407
15623
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
15408
15624
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
15409
15625
|
}
|
|
@@ -15721,7 +15937,7 @@ const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__get
|
|
|
15721
15937
|
};
|
|
15722
15938
|
|
|
15723
15939
|
const VERSION$R = "a316b3bba367f54adc67d7552ed7d36d";
|
|
15724
|
-
function validate$
|
|
15940
|
+
function validate$1e(obj, path = 'PageReferenceRepresentation') {
|
|
15725
15941
|
const v_error = (() => {
|
|
15726
15942
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15727
15943
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15782,7 +15998,7 @@ function equals$H(existing, incoming) {
|
|
|
15782
15998
|
}
|
|
15783
15999
|
const ingest$u = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15784
16000
|
if (process.env.NODE_ENV !== 'production') {
|
|
15785
|
-
const validateError = validate$
|
|
16001
|
+
const validateError = validate$1e(input);
|
|
15786
16002
|
if (validateError !== null) {
|
|
15787
16003
|
throw validateError;
|
|
15788
16004
|
}
|
|
@@ -15804,7 +16020,7 @@ function getTypeCacheKeys$A(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
15804
16020
|
|
|
15805
16021
|
const TTL$o = 120000;
|
|
15806
16022
|
const VERSION$Q = "09884ca5bf90ea4662092a4e48817081";
|
|
15807
|
-
function validate$
|
|
16023
|
+
function validate$1d(obj, path = 'NavItemRepresentation') {
|
|
15808
16024
|
const v_error = (() => {
|
|
15809
16025
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15810
16026
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16196,7 +16412,7 @@ function equals$G(existing, incoming) {
|
|
|
16196
16412
|
}
|
|
16197
16413
|
const ingest$t = function NavItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16198
16414
|
if (process.env.NODE_ENV !== 'production') {
|
|
16199
|
-
const validateError = validate$
|
|
16415
|
+
const validateError = validate$1d(input);
|
|
16200
16416
|
if (validateError !== null) {
|
|
16201
16417
|
throw validateError;
|
|
16202
16418
|
}
|
|
@@ -16221,7 +16437,7 @@ function getTypeCacheKeys$z(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16221
16437
|
|
|
16222
16438
|
const TTL$n = 300000;
|
|
16223
16439
|
const VERSION$P = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
16224
|
-
function validate$
|
|
16440
|
+
function validate$1c(obj, path = 'AppRepresentation') {
|
|
16225
16441
|
const v_error = (() => {
|
|
16226
16442
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16227
16443
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16663,7 +16879,7 @@ function equals$F(existing, incoming) {
|
|
|
16663
16879
|
}
|
|
16664
16880
|
const ingest$s = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16665
16881
|
if (process.env.NODE_ENV !== 'production') {
|
|
16666
|
-
const validateError = validate$
|
|
16882
|
+
const validateError = validate$1c(input);
|
|
16667
16883
|
if (validateError !== null) {
|
|
16668
16884
|
throw validateError;
|
|
16669
16885
|
}
|
|
@@ -16693,7 +16909,7 @@ function getTypeCacheKeys$y(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16693
16909
|
|
|
16694
16910
|
const TTL$m = 300000;
|
|
16695
16911
|
const VERSION$O = "a254babf0b6414315db7808a157fd9fc";
|
|
16696
|
-
function validate$
|
|
16912
|
+
function validate$1b(obj, path = 'AppsRepresentation') {
|
|
16697
16913
|
const v_error = (() => {
|
|
16698
16914
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16699
16915
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16775,7 +16991,7 @@ function equals$E(existing, incoming) {
|
|
|
16775
16991
|
}
|
|
16776
16992
|
const ingest$r = function AppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16777
16993
|
if (process.env.NODE_ENV !== 'production') {
|
|
16778
|
-
const validateError = validate$
|
|
16994
|
+
const validateError = validate$1b(input);
|
|
16779
16995
|
if (validateError !== null) {
|
|
16780
16996
|
throw validateError;
|
|
16781
16997
|
}
|
|
@@ -17083,7 +17299,7 @@ const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(unt
|
|
|
17083
17299
|
};
|
|
17084
17300
|
|
|
17085
17301
|
const VERSION$N = "f43ef90ffde4d488414d6868e3aaefcb";
|
|
17086
|
-
function validate$
|
|
17302
|
+
function validate$1a(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
17087
17303
|
const v_error = (() => {
|
|
17088
17304
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17089
17305
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17145,7 +17361,7 @@ const select$1b = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
|
17145
17361
|
};
|
|
17146
17362
|
|
|
17147
17363
|
const VERSION$M = "320d7f254687278f2763d4b490dab3fb";
|
|
17148
|
-
function validate$
|
|
17364
|
+
function validate$19(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
17149
17365
|
const v_error = (() => {
|
|
17150
17366
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17151
17367
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17168,7 +17384,7 @@ function validate$14(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
17168
17384
|
for (let i = 0; i < obj_filterItems.length; i++) {
|
|
17169
17385
|
const obj_filterItems_item = obj_filterItems[i];
|
|
17170
17386
|
const path_filterItems_item = path_filterItems + '[' + i + ']';
|
|
17171
|
-
const referencepath_filterItems_itemValidationError = validate$
|
|
17387
|
+
const referencepath_filterItems_itemValidationError = validate$1a(obj_filterItems_item, path_filterItems_item);
|
|
17172
17388
|
if (referencepath_filterItems_itemValidationError !== null) {
|
|
17173
17389
|
let message = 'Object doesn\'t match DuplicateRuleFilterItemRepresentation (at "' + path_filterItems_item + '")\n';
|
|
17174
17390
|
message += referencepath_filterItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17211,7 +17427,7 @@ const select$1a = function DuplicateRuleFilterRepresentationSelect() {
|
|
|
17211
17427
|
};
|
|
17212
17428
|
|
|
17213
17429
|
const VERSION$L = "b47b44e260e5ce777beaf3da9088997c";
|
|
17214
|
-
function validate$
|
|
17430
|
+
function validate$18(obj, path = 'MatchRuleRepresentation') {
|
|
17215
17431
|
const v_error = (() => {
|
|
17216
17432
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17217
17433
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17281,7 +17497,7 @@ const select$19 = function MatchRuleRepresentationSelect() {
|
|
|
17281
17497
|
};
|
|
17282
17498
|
|
|
17283
17499
|
const VERSION$K = "bb83d7210bb1d7861b6188bc5f552617";
|
|
17284
|
-
function validate$
|
|
17500
|
+
function validate$17(obj, path = 'DuplicateRuleRepresentation') {
|
|
17285
17501
|
const v_error = (() => {
|
|
17286
17502
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17287
17503
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17309,7 +17525,7 @@ function validate$12(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
17309
17525
|
for (let i = 0; i < obj_duplicateRuleFilters.length; i++) {
|
|
17310
17526
|
const obj_duplicateRuleFilters_item = obj_duplicateRuleFilters[i];
|
|
17311
17527
|
const path_duplicateRuleFilters_item = path_duplicateRuleFilters + '[' + i + ']';
|
|
17312
|
-
const referencepath_duplicateRuleFilters_itemValidationError = validate$
|
|
17528
|
+
const referencepath_duplicateRuleFilters_itemValidationError = validate$19(obj_duplicateRuleFilters_item, path_duplicateRuleFilters_item);
|
|
17313
17529
|
if (referencepath_duplicateRuleFilters_itemValidationError !== null) {
|
|
17314
17530
|
let message = 'Object doesn\'t match DuplicateRuleFilterRepresentation (at "' + path_duplicateRuleFilters_item + '")\n';
|
|
17315
17531
|
message += referencepath_duplicateRuleFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17329,7 +17545,7 @@ function validate$12(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
17329
17545
|
for (let i = 0; i < obj_matchRules.length; i++) {
|
|
17330
17546
|
const obj_matchRules_item = obj_matchRules[i];
|
|
17331
17547
|
const path_matchRules_item = path_matchRules + '[' + i + ']';
|
|
17332
|
-
const referencepath_matchRules_itemValidationError = validate$
|
|
17548
|
+
const referencepath_matchRules_itemValidationError = validate$18(obj_matchRules_item, path_matchRules_item);
|
|
17333
17549
|
if (referencepath_matchRules_itemValidationError !== null) {
|
|
17334
17550
|
let message = 'Object doesn\'t match MatchRuleRepresentation (at "' + path_matchRules_item + '")\n';
|
|
17335
17551
|
message += referencepath_matchRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17422,7 +17638,7 @@ const select$18 = function DuplicateRuleRepresentationSelect() {
|
|
|
17422
17638
|
|
|
17423
17639
|
const TTL$l = 900000;
|
|
17424
17640
|
const VERSION$J = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
17425
|
-
function validate$
|
|
17641
|
+
function validate$16(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
17426
17642
|
const v_error = (() => {
|
|
17427
17643
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17428
17644
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17457,7 +17673,7 @@ function validate$11(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
|
17457
17673
|
for (let i = 0; i < obj_duplicateRules.length; i++) {
|
|
17458
17674
|
const obj_duplicateRules_item = obj_duplicateRules[i];
|
|
17459
17675
|
const path_duplicateRules_item = path_duplicateRules + '[' + i + ']';
|
|
17460
|
-
const referencepath_duplicateRules_itemValidationError = validate$
|
|
17676
|
+
const referencepath_duplicateRules_itemValidationError = validate$17(obj_duplicateRules_item, path_duplicateRules_item);
|
|
17461
17677
|
if (referencepath_duplicateRules_itemValidationError !== null) {
|
|
17462
17678
|
let message = 'Object doesn\'t match DuplicateRuleRepresentation (at "' + path_duplicateRules_item + '")\n';
|
|
17463
17679
|
message += referencepath_duplicateRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17524,7 +17740,7 @@ function equals$D(existing, incoming) {
|
|
|
17524
17740
|
}
|
|
17525
17741
|
const ingest$q = function DuplicatesConfigurationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17526
17742
|
if (process.env.NODE_ENV !== 'production') {
|
|
17527
|
-
const validateError = validate$
|
|
17743
|
+
const validateError = validate$16(input);
|
|
17528
17744
|
if (validateError !== null) {
|
|
17529
17745
|
throw validateError;
|
|
17530
17746
|
}
|
|
@@ -18465,7 +18681,7 @@ const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfos
|
|
|
18465
18681
|
buildCachedSnapshotCachePolicy$u, buildNetworkSnapshotCachePolicy$u);
|
|
18466
18682
|
};
|
|
18467
18683
|
|
|
18468
|
-
function validate$
|
|
18684
|
+
function validate$15(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
18469
18685
|
const v_error = (() => {
|
|
18470
18686
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18471
18687
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18496,7 +18712,7 @@ function validate$10(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
|
18496
18712
|
return v_error === undefined ? null : v_error;
|
|
18497
18713
|
}
|
|
18498
18714
|
|
|
18499
|
-
function validate
|
|
18715
|
+
function validate$14(obj, path = 'ListScopeInputRepresentation') {
|
|
18500
18716
|
const v_error = (() => {
|
|
18501
18717
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18502
18718
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18625,7 +18841,7 @@ function typeCheckConfig$I(untrustedConfig) {
|
|
|
18625
18841
|
const untrustedConfig_filteredByInfo_array = [];
|
|
18626
18842
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
18627
18843
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
18628
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
18844
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
|
|
18629
18845
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
18630
18846
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
18631
18847
|
}
|
|
@@ -18633,7 +18849,7 @@ function typeCheckConfig$I(untrustedConfig) {
|
|
|
18633
18849
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
18634
18850
|
}
|
|
18635
18851
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
18636
|
-
const referenceListScopeInputRepresentationValidationError = validate
|
|
18852
|
+
const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
|
|
18637
18853
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
18638
18854
|
config.scope = untrustedConfig_scope;
|
|
18639
18855
|
}
|
|
@@ -18915,7 +19131,7 @@ function typeCheckConfig$F(untrustedConfig) {
|
|
|
18915
19131
|
const untrustedConfig_filteredByInfo_array = [];
|
|
18916
19132
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
18917
19133
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
18918
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
19134
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
|
|
18919
19135
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
18920
19136
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
18921
19137
|
}
|
|
@@ -18923,7 +19139,7 @@ function typeCheckConfig$F(untrustedConfig) {
|
|
|
18923
19139
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
18924
19140
|
}
|
|
18925
19141
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
18926
|
-
const referenceListScopeInputRepresentationValidationError = validate
|
|
19142
|
+
const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
|
|
18927
19143
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
18928
19144
|
config.scope = untrustedConfig_scope;
|
|
18929
19145
|
}
|
|
@@ -18973,7 +19189,7 @@ const updateListInfoByNameAdapterFactory = (luvio) => {
|
|
|
18973
19189
|
};
|
|
18974
19190
|
|
|
18975
19191
|
const VERSION$I = "d77026c4d63ef00cdd7e3d600687a40d";
|
|
18976
|
-
function validate$
|
|
19192
|
+
function validate$13(obj, path = 'ListObjectScopeAvailableEntityRepresentation') {
|
|
18977
19193
|
const v_error = (() => {
|
|
18978
19194
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18979
19195
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19023,7 +19239,7 @@ function equals$C(existing, incoming) {
|
|
|
19023
19239
|
}
|
|
19024
19240
|
|
|
19025
19241
|
const VERSION$H = "355933ff2970aa91a2848a94565e956a";
|
|
19026
|
-
function validate$
|
|
19242
|
+
function validate$12(obj, path = 'ListObjectScopeRepresentation') {
|
|
19027
19243
|
const v_error = (() => {
|
|
19028
19244
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19029
19245
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19041,7 +19257,7 @@ function validate$Z(obj, path = 'ListObjectScopeRepresentation') {
|
|
|
19041
19257
|
for (let i = 0; i < obj_availableEntities.length; i++) {
|
|
19042
19258
|
const obj_availableEntities_item = obj_availableEntities[i];
|
|
19043
19259
|
const path_availableEntities_item = path_availableEntities + '[' + i + ']';
|
|
19044
|
-
const referencepath_availableEntities_itemValidationError = validate$
|
|
19260
|
+
const referencepath_availableEntities_itemValidationError = validate$13(obj_availableEntities_item, path_availableEntities_item);
|
|
19045
19261
|
if (referencepath_availableEntities_itemValidationError !== null) {
|
|
19046
19262
|
let message = 'Object doesn\'t match ListObjectScopeAvailableEntityRepresentation (at "' + path_availableEntities_item + '")\n';
|
|
19047
19263
|
message += referencepath_availableEntities_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19105,7 +19321,7 @@ function equals$B(existing, incoming) {
|
|
|
19105
19321
|
}
|
|
19106
19322
|
|
|
19107
19323
|
const VERSION$G = "c5c08ea834378670c9d6f235ff71c9f0";
|
|
19108
|
-
function validate$
|
|
19324
|
+
function validate$11(obj, path = 'ListObjectPicklistValueRepresentation') {
|
|
19109
19325
|
const v_error = (() => {
|
|
19110
19326
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19111
19327
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19155,7 +19371,7 @@ function equals$A(existing, incoming) {
|
|
|
19155
19371
|
}
|
|
19156
19372
|
|
|
19157
19373
|
const VERSION$F = "2c35f797fead79b5c45b521e77dd6ace";
|
|
19158
|
-
function validate$
|
|
19374
|
+
function validate$10(obj, path = 'ListObjectColumnRepresentation') {
|
|
19159
19375
|
const v_error = (() => {
|
|
19160
19376
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19161
19377
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19224,7 +19440,7 @@ function validate$X(obj, path = 'ListObjectColumnRepresentation') {
|
|
|
19224
19440
|
for (let i = 0; i < obj_picklistValues.length; i++) {
|
|
19225
19441
|
const obj_picklistValues_item = obj_picklistValues[i];
|
|
19226
19442
|
const path_picklistValues_item = path_picklistValues + '[' + i + ']';
|
|
19227
|
-
const referencepath_picklistValues_itemValidationError = validate$
|
|
19443
|
+
const referencepath_picklistValues_itemValidationError = validate$11(obj_picklistValues_item, path_picklistValues_item);
|
|
19228
19444
|
if (referencepath_picklistValues_itemValidationError !== null) {
|
|
19229
19445
|
let message = 'Object doesn\'t match ListObjectPicklistValueRepresentation (at "' + path_picklistValues_item + '")\n';
|
|
19230
19446
|
message += referencepath_picklistValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19370,7 +19586,7 @@ function equals$z(existing, incoming) {
|
|
|
19370
19586
|
|
|
19371
19587
|
const TTL$k = 900000;
|
|
19372
19588
|
const VERSION$E = "84e1e3ffdfcb59f65d7b8906e33027ac";
|
|
19373
|
-
function validate
|
|
19589
|
+
function validate$$(obj, path = 'ListObjectInfoRepresentation') {
|
|
19374
19590
|
const v_error = (() => {
|
|
19375
19591
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19376
19592
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19383,7 +19599,7 @@ function validate$W(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
19383
19599
|
for (let i = 0; i < obj_availableScopes.length; i++) {
|
|
19384
19600
|
const obj_availableScopes_item = obj_availableScopes[i];
|
|
19385
19601
|
const path_availableScopes_item = path_availableScopes + '[' + i + ']';
|
|
19386
|
-
const referencepath_availableScopes_itemValidationError = validate$
|
|
19602
|
+
const referencepath_availableScopes_itemValidationError = validate$12(obj_availableScopes_item, path_availableScopes_item);
|
|
19387
19603
|
if (referencepath_availableScopes_itemValidationError !== null) {
|
|
19388
19604
|
let message = 'Object doesn\'t match ListObjectScopeRepresentation (at "' + path_availableScopes_item + '")\n';
|
|
19389
19605
|
message += referencepath_availableScopes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19398,7 +19614,7 @@ function validate$W(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
19398
19614
|
for (let i = 0; i < obj_columns.length; i++) {
|
|
19399
19615
|
const obj_columns_item = obj_columns[i];
|
|
19400
19616
|
const path_columns_item = path_columns + '[' + i + ']';
|
|
19401
|
-
const referencepath_columns_itemValidationError = validate$
|
|
19617
|
+
const referencepath_columns_itemValidationError = validate$10(obj_columns_item, path_columns_item);
|
|
19402
19618
|
if (referencepath_columns_itemValidationError !== null) {
|
|
19403
19619
|
let message = 'Object doesn\'t match ListObjectColumnRepresentation (at "' + path_columns_item + '")\n';
|
|
19404
19620
|
message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19532,7 +19748,7 @@ function equals$y(existing, incoming) {
|
|
|
19532
19748
|
}
|
|
19533
19749
|
const ingest$p = function ListObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
19534
19750
|
if (process.env.NODE_ENV !== 'production') {
|
|
19535
|
-
const validateError = validate
|
|
19751
|
+
const validateError = validate$$(input);
|
|
19536
19752
|
if (validateError !== null) {
|
|
19537
19753
|
throw validateError;
|
|
19538
19754
|
}
|
|
@@ -19695,7 +19911,7 @@ const getListObjectInfoAdapterFactory = (luvio) => function UiApi__getListObject
|
|
|
19695
19911
|
|
|
19696
19912
|
const TTL$j = 900000;
|
|
19697
19913
|
const VERSION$D = "458d4a6a30201e422e8daec5fcb03845";
|
|
19698
|
-
function validate$
|
|
19914
|
+
function validate$_(obj, path = 'ListPreferencesRepresentation') {
|
|
19699
19915
|
const v_error = (() => {
|
|
19700
19916
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19701
19917
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19730,7 +19946,7 @@ function validate$V(obj, path = 'ListPreferencesRepresentation') {
|
|
|
19730
19946
|
}
|
|
19731
19947
|
const obj_listReference = obj.listReference;
|
|
19732
19948
|
const path_listReference = path + '.listReference';
|
|
19733
|
-
const referencepath_listReferenceValidationError = validate$
|
|
19949
|
+
const referencepath_listReferenceValidationError = validate$1X(obj_listReference, path_listReference);
|
|
19734
19950
|
if (referencepath_listReferenceValidationError !== null) {
|
|
19735
19951
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
19736
19952
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19744,7 +19960,7 @@ function validate$V(obj, path = 'ListPreferencesRepresentation') {
|
|
|
19744
19960
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
19745
19961
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
19746
19962
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
19747
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
19963
|
+
const referencepath_orderedBy_itemValidationError = validate$1U(obj_orderedBy_item, path_orderedBy_item);
|
|
19748
19964
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
19749
19965
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
19750
19966
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19769,8 +19985,8 @@ function normalize$o(input, existing, path, luvio, store, timestamp) {
|
|
|
19769
19985
|
return input;
|
|
19770
19986
|
}
|
|
19771
19987
|
const select$X = function ListPreferencesRepresentationSelect() {
|
|
19772
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
19773
|
-
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$
|
|
19988
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1W();
|
|
19989
|
+
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$1T();
|
|
19774
19990
|
return {
|
|
19775
19991
|
kind: 'Fragment',
|
|
19776
19992
|
version: VERSION$D,
|
|
@@ -19823,13 +20039,13 @@ function equals$x(existing, incoming) {
|
|
|
19823
20039
|
}
|
|
19824
20040
|
const existing_listReference = existing.listReference;
|
|
19825
20041
|
const incoming_listReference = incoming.listReference;
|
|
19826
|
-
if (!(equals$
|
|
20042
|
+
if (!(equals$14(existing_listReference, incoming_listReference))) {
|
|
19827
20043
|
return false;
|
|
19828
20044
|
}
|
|
19829
20045
|
const existing_orderedBy = existing.orderedBy;
|
|
19830
20046
|
const incoming_orderedBy = incoming.orderedBy;
|
|
19831
20047
|
const equals_orderedBy_items = equalsArray(existing_orderedBy, incoming_orderedBy, (existing_orderedBy_item, incoming_orderedBy_item) => {
|
|
19832
|
-
if (!(equals$
|
|
20048
|
+
if (!(equals$13(existing_orderedBy_item, incoming_orderedBy_item))) {
|
|
19833
20049
|
return false;
|
|
19834
20050
|
}
|
|
19835
20051
|
});
|
|
@@ -19840,7 +20056,7 @@ function equals$x(existing, incoming) {
|
|
|
19840
20056
|
}
|
|
19841
20057
|
const ingest$o = function ListPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
19842
20058
|
if (process.env.NODE_ENV !== 'production') {
|
|
19843
|
-
const validateError = validate$
|
|
20059
|
+
const validateError = validate$_(input);
|
|
19844
20060
|
if (validateError !== null) {
|
|
19845
20061
|
throw validateError;
|
|
19846
20062
|
}
|
|
@@ -20003,7 +20219,7 @@ const getListPreferencesAdapterFactory = (luvio) => function UiApi__getListPrefe
|
|
|
20003
20219
|
buildCachedSnapshotCachePolicy$r, buildNetworkSnapshotCachePolicy$r);
|
|
20004
20220
|
};
|
|
20005
20221
|
|
|
20006
|
-
function validate$
|
|
20222
|
+
function validate$Z(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
20007
20223
|
const v_error = (() => {
|
|
20008
20224
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20009
20225
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20111,7 +20327,7 @@ function typeCheckConfig$C(untrustedConfig) {
|
|
|
20111
20327
|
const untrustedConfig_orderedBy_array = [];
|
|
20112
20328
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
20113
20329
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
20114
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
20330
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
|
|
20115
20331
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
20116
20332
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
20117
20333
|
}
|
|
@@ -20165,7 +20381,7 @@ const updateListPreferencesAdapterFactory = (luvio) => {
|
|
|
20165
20381
|
|
|
20166
20382
|
const TTL$i = 120000;
|
|
20167
20383
|
const VERSION$C = "756779d0d7e137dd72c743544afbad82";
|
|
20168
|
-
function validate$
|
|
20384
|
+
function validate$Y(obj, path = 'NavItemsRepresentation') {
|
|
20169
20385
|
const v_error = (() => {
|
|
20170
20386
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20171
20387
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20293,7 +20509,7 @@ function equals$w(existing, incoming) {
|
|
|
20293
20509
|
}
|
|
20294
20510
|
const ingest$n = function NavItemsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20295
20511
|
if (process.env.NODE_ENV !== 'production') {
|
|
20296
|
-
const validateError = validate$
|
|
20512
|
+
const validateError = validate$Y(input);
|
|
20297
20513
|
if (validateError !== null) {
|
|
20298
20514
|
throw validateError;
|
|
20299
20515
|
}
|
|
@@ -21029,7 +21245,7 @@ var DiscriminatorValues$4;
|
|
|
21029
21245
|
DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
|
|
21030
21246
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
21031
21247
|
const VERSION$x = "bd523b2343366edfc25a2dbee2c4e986";
|
|
21032
|
-
function validate$
|
|
21248
|
+
function validate$X(obj, path = 'AbstractPicklistValueAttributesRepresentation') {
|
|
21033
21249
|
const v_error = (() => {
|
|
21034
21250
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21035
21251
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21074,7 +21290,7 @@ const select$M = function AbstractPicklistValueAttributesRepresentationSelect()
|
|
|
21074
21290
|
};
|
|
21075
21291
|
|
|
21076
21292
|
const VERSION$w = "9e2a16a80378487f557124c771201cf9";
|
|
21077
|
-
function validate$
|
|
21293
|
+
function validate$W(obj, path = 'PicklistValueRepresentation') {
|
|
21078
21294
|
const v_error = (() => {
|
|
21079
21295
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21080
21296
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21083,7 +21299,7 @@ function validate$R(obj, path = 'PicklistValueRepresentation') {
|
|
|
21083
21299
|
const path_attributes = path + '.attributes';
|
|
21084
21300
|
let obj_attributes_union0 = null;
|
|
21085
21301
|
const obj_attributes_union0_error = (() => {
|
|
21086
|
-
const referencepath_attributesValidationError = validate$
|
|
21302
|
+
const referencepath_attributesValidationError = validate$X(obj_attributes, path_attributes);
|
|
21087
21303
|
if (referencepath_attributesValidationError !== null) {
|
|
21088
21304
|
let message = 'Object doesn\'t match AbstractPicklistValueAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
21089
21305
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21178,7 +21394,7 @@ function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
|
|
|
21178
21394
|
|
|
21179
21395
|
const TTL$h = 900000;
|
|
21180
21396
|
const VERSION$v = "0a361a49370acb4c6a31721a2057649a";
|
|
21181
|
-
function validate$
|
|
21397
|
+
function validate$V(obj, path = 'PicklistValuesRepresentation') {
|
|
21182
21398
|
const v_error = (() => {
|
|
21183
21399
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21184
21400
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21201,7 +21417,7 @@ function validate$Q(obj, path = 'PicklistValuesRepresentation') {
|
|
|
21201
21417
|
const path_defaultValue = path + '.defaultValue';
|
|
21202
21418
|
let obj_defaultValue_union0 = null;
|
|
21203
21419
|
const obj_defaultValue_union0_error = (() => {
|
|
21204
|
-
const referencepath_defaultValueValidationError = validate$
|
|
21420
|
+
const referencepath_defaultValueValidationError = validate$W(obj_defaultValue, path_defaultValue);
|
|
21205
21421
|
if (referencepath_defaultValueValidationError !== null) {
|
|
21206
21422
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_defaultValue + '")\n';
|
|
21207
21423
|
message += referencepath_defaultValueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21244,7 +21460,7 @@ function validate$Q(obj, path = 'PicklistValuesRepresentation') {
|
|
|
21244
21460
|
for (let i = 0; i < obj_values.length; i++) {
|
|
21245
21461
|
const obj_values_item = obj_values[i];
|
|
21246
21462
|
const path_values_item = path_values + '[' + i + ']';
|
|
21247
|
-
const referencepath_values_itemValidationError = validate$
|
|
21463
|
+
const referencepath_values_itemValidationError = validate$W(obj_values_item, path_values_item);
|
|
21248
21464
|
if (referencepath_values_itemValidationError !== null) {
|
|
21249
21465
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_values_item + '")\n';
|
|
21250
21466
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21302,7 +21518,7 @@ function equals$v(existing, incoming) {
|
|
|
21302
21518
|
}
|
|
21303
21519
|
const ingest$m = function PicklistValuesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21304
21520
|
if (process.env.NODE_ENV !== 'production') {
|
|
21305
|
-
const validateError = validate$
|
|
21521
|
+
const validateError = validate$V(input);
|
|
21306
21522
|
if (validateError !== null) {
|
|
21307
21523
|
throw validateError;
|
|
21308
21524
|
}
|
|
@@ -21324,7 +21540,7 @@ function getTypeCacheKeys$s(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
21324
21540
|
|
|
21325
21541
|
const TTL$g = 300000;
|
|
21326
21542
|
const VERSION$u = "ec03b0f6da287c949d1ccaa904ddbfd3";
|
|
21327
|
-
function validate$
|
|
21543
|
+
function validate$U(obj, path = 'PicklistValuesCollectionRepresentation') {
|
|
21328
21544
|
const v_error = (() => {
|
|
21329
21545
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21330
21546
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21411,7 +21627,7 @@ function equals$u(existing, incoming) {
|
|
|
21411
21627
|
}
|
|
21412
21628
|
const ingest$l = function PicklistValuesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21413
21629
|
if (process.env.NODE_ENV !== 'production') {
|
|
21414
|
-
const validateError = validate$
|
|
21630
|
+
const validateError = validate$U(input);
|
|
21415
21631
|
if (validateError !== null) {
|
|
21416
21632
|
throw validateError;
|
|
21417
21633
|
}
|
|
@@ -21749,7 +21965,7 @@ const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistVa
|
|
|
21749
21965
|
buildCachedSnapshotCachePolicy$m, buildNetworkSnapshotCachePolicy$m);
|
|
21750
21966
|
};
|
|
21751
21967
|
|
|
21752
|
-
function validate$
|
|
21968
|
+
function validate$T(obj, path = 'MatchResultInfoRepresentation') {
|
|
21753
21969
|
const v_error = (() => {
|
|
21754
21970
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21755
21971
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21775,7 +21991,7 @@ function validate$O(obj, path = 'MatchResultInfoRepresentation') {
|
|
|
21775
21991
|
return v_error === undefined ? null : v_error;
|
|
21776
21992
|
}
|
|
21777
21993
|
|
|
21778
|
-
function validate$
|
|
21994
|
+
function validate$S(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
21779
21995
|
const v_error = (() => {
|
|
21780
21996
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21781
21997
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21787,7 +22003,7 @@ function validate$N(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
21787
22003
|
}
|
|
21788
22004
|
const obj_matchResultInfo = obj.matchResultInfo;
|
|
21789
22005
|
const path_matchResultInfo = path + '.matchResultInfo';
|
|
21790
|
-
const referencepath_matchResultInfoValidationError = validate$
|
|
22006
|
+
const referencepath_matchResultInfoValidationError = validate$T(obj_matchResultInfo, path_matchResultInfo);
|
|
21791
22007
|
if (referencepath_matchResultInfoValidationError !== null) {
|
|
21792
22008
|
let message = 'Object doesn\'t match MatchResultInfoRepresentation (at "' + path_matchResultInfo + '")\n';
|
|
21793
22009
|
message += referencepath_matchResultInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21802,7 +22018,7 @@ function validate$N(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
21802
22018
|
return v_error === undefined ? null : v_error;
|
|
21803
22019
|
}
|
|
21804
22020
|
|
|
21805
|
-
function validate$
|
|
22021
|
+
function validate$R(obj, path = 'MatchRepresentation') {
|
|
21806
22022
|
const v_error = (() => {
|
|
21807
22023
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21808
22024
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21817,7 +22033,7 @@ function validate$M(obj, path = 'MatchRepresentation') {
|
|
|
21817
22033
|
const key = obj_duplicateResultInfos_keys[i];
|
|
21818
22034
|
const obj_duplicateResultInfos_prop = obj_duplicateResultInfos[key];
|
|
21819
22035
|
const path_duplicateResultInfos_prop = path_duplicateResultInfos + '["' + key + '"]';
|
|
21820
|
-
const referencepath_duplicateResultInfos_propValidationError = validate$
|
|
22036
|
+
const referencepath_duplicateResultInfos_propValidationError = validate$S(obj_duplicateResultInfos_prop, path_duplicateResultInfos_prop);
|
|
21821
22037
|
if (referencepath_duplicateResultInfos_propValidationError !== null) {
|
|
21822
22038
|
let message = 'Object doesn\'t match DuplicateResultInfoRepresentation (at "' + path_duplicateResultInfos_prop + '")\n';
|
|
21823
22039
|
message += referencepath_duplicateResultInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21847,7 +22063,7 @@ function validate$M(obj, path = 'MatchRepresentation') {
|
|
|
21847
22063
|
|
|
21848
22064
|
const TTL$f = 30000;
|
|
21849
22065
|
const VERSION$t = "583c38564fa15ce0fb3dd2807be1bdc6";
|
|
21850
|
-
function validate$
|
|
22066
|
+
function validate$Q(obj, path = 'DuplicatesRepresentation') {
|
|
21851
22067
|
const v_error = (() => {
|
|
21852
22068
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21853
22069
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21882,7 +22098,7 @@ function validate$L(obj, path = 'DuplicatesRepresentation') {
|
|
|
21882
22098
|
for (let i = 0; i < obj_matches.length; i++) {
|
|
21883
22099
|
const obj_matches_item = obj_matches[i];
|
|
21884
22100
|
const path_matches_item = path_matches + '[' + i + ']';
|
|
21885
|
-
const referencepath_matches_itemValidationError = validate$
|
|
22101
|
+
const referencepath_matches_itemValidationError = validate$R(obj_matches_item, path_matches_item);
|
|
21886
22102
|
if (referencepath_matches_itemValidationError !== null) {
|
|
21887
22103
|
let message = 'Object doesn\'t match MatchRepresentation (at "' + path_matches_item + '")\n';
|
|
21888
22104
|
message += referencepath_matches_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21912,7 +22128,7 @@ function equals$t(existing, incoming) {
|
|
|
21912
22128
|
}
|
|
21913
22129
|
const ingest$k = function DuplicatesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21914
22130
|
if (process.env.NODE_ENV !== 'production') {
|
|
21915
|
-
const validateError = validate$
|
|
22131
|
+
const validateError = validate$Q(input);
|
|
21916
22132
|
if (validateError !== null) {
|
|
21917
22133
|
throw validateError;
|
|
21918
22134
|
}
|
|
@@ -22105,7 +22321,7 @@ const getDuplicatesAdapterFactory = (luvio) => function UiApi__getDuplicates(unt
|
|
|
22105
22321
|
};
|
|
22106
22322
|
|
|
22107
22323
|
const VERSION$s = "e84b9ffdeff97c411bd111f2a55cf6b6";
|
|
22108
|
-
function validate$
|
|
22324
|
+
function validate$P(obj, path = 'PhotoMetadataRepresentation') {
|
|
22109
22325
|
const v_error = (() => {
|
|
22110
22326
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22111
22327
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22197,8 +22413,8 @@ function equals$s(existing, incoming) {
|
|
|
22197
22413
|
}
|
|
22198
22414
|
|
|
22199
22415
|
const VERSION$r = "34ffbf4219dfebb707bff609c2d5bf89";
|
|
22200
|
-
function validate$
|
|
22201
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
22416
|
+
function validate$O(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
22417
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$M(obj, path);
|
|
22202
22418
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
22203
22419
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
22204
22420
|
}
|
|
@@ -22265,7 +22481,7 @@ function validate$J(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
|
22265
22481
|
}
|
|
22266
22482
|
const obj_photoMetadata = obj.photoMetadata;
|
|
22267
22483
|
const path_photoMetadata = path + '.photoMetadata';
|
|
22268
|
-
const referencepath_photoMetadataValidationError = validate$
|
|
22484
|
+
const referencepath_photoMetadataValidationError = validate$P(obj_photoMetadata, path_photoMetadata);
|
|
22269
22485
|
if (referencepath_photoMetadataValidationError !== null) {
|
|
22270
22486
|
let message = 'Object doesn\'t match PhotoMetadataRepresentation (at "' + path_photoMetadata + '")\n';
|
|
22271
22487
|
message += referencepath_photoMetadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22420,7 +22636,7 @@ function equals$r(existing, incoming) {
|
|
|
22420
22636
|
}
|
|
22421
22637
|
const ingest$j = function PhotoRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22422
22638
|
if (process.env.NODE_ENV !== 'production') {
|
|
22423
|
-
const validateError = validate$
|
|
22639
|
+
const validateError = validate$O(input);
|
|
22424
22640
|
if (validateError !== null) {
|
|
22425
22641
|
throw validateError;
|
|
22426
22642
|
}
|
|
@@ -22441,8 +22657,8 @@ function getTypeCacheKeys$p(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22441
22657
|
}
|
|
22442
22658
|
|
|
22443
22659
|
const VERSION$q = "cbdcf69a6568d41ccf155b2b95ec70e7";
|
|
22444
|
-
function validate$
|
|
22445
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
22660
|
+
function validate$N(obj, path = 'ThemeRecordAvatarRepresentation') {
|
|
22661
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$M(obj, path);
|
|
22446
22662
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
22447
22663
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
22448
22664
|
}
|
|
@@ -22561,7 +22777,7 @@ function equals$q(existing, incoming) {
|
|
|
22561
22777
|
}
|
|
22562
22778
|
const ingest$i = function ThemeRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22563
22779
|
if (process.env.NODE_ENV !== 'production') {
|
|
22564
|
-
const validateError = validate$
|
|
22780
|
+
const validateError = validate$N(input);
|
|
22565
22781
|
if (validateError !== null) {
|
|
22566
22782
|
throw validateError;
|
|
22567
22783
|
}
|
|
@@ -22587,7 +22803,7 @@ var DiscriminatorValues$3;
|
|
|
22587
22803
|
DiscriminatorValues["Theme"] = "Theme";
|
|
22588
22804
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
22589
22805
|
const VERSION$p = "bc05f8d1c708b6c41c9bf2fe6001aff0";
|
|
22590
|
-
function validate$
|
|
22806
|
+
function validate$M(obj, path = 'AbstractRecordAvatarRepresentation') {
|
|
22591
22807
|
const v_error = (() => {
|
|
22592
22808
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22593
22809
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22680,8 +22896,8 @@ function getTypeCacheKeys$n(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22680
22896
|
}
|
|
22681
22897
|
|
|
22682
22898
|
const VERSION$o = "f531b44760afecfce89990fe5a5c5c29";
|
|
22683
|
-
function validate$
|
|
22684
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
22899
|
+
function validate$L(obj, path = 'RecordAvatarBatchRepresentation') {
|
|
22900
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$H(obj, path);
|
|
22685
22901
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
22686
22902
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
22687
22903
|
}
|
|
@@ -22742,7 +22958,7 @@ function equals$o(existing, incoming) {
|
|
|
22742
22958
|
}
|
|
22743
22959
|
const ingest$h = function RecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22744
22960
|
if (process.env.NODE_ENV !== 'production') {
|
|
22745
|
-
const validateError = validate$
|
|
22961
|
+
const validateError = validate$L(input);
|
|
22746
22962
|
if (validateError !== null) {
|
|
22747
22963
|
throw validateError;
|
|
22748
22964
|
}
|
|
@@ -22763,7 +22979,7 @@ function getTypeCacheKeys$m(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22763
22979
|
}
|
|
22764
22980
|
|
|
22765
22981
|
const VERSION$n = "17c20b01167dba9a81452e60bb28b2f2";
|
|
22766
|
-
function validate$
|
|
22982
|
+
function validate$K(obj, path = 'ErrorSingleRecordAvatarRepresentation') {
|
|
22767
22983
|
const v_error = (() => {
|
|
22768
22984
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22769
22985
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22813,8 +23029,8 @@ function equals$n(existing, incoming) {
|
|
|
22813
23029
|
}
|
|
22814
23030
|
|
|
22815
23031
|
const VERSION$m = "e7fac2bfb5cdacc5e0f15c350f9ab8fe";
|
|
22816
|
-
function validate$
|
|
22817
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23032
|
+
function validate$J(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation') {
|
|
23033
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$H(obj, path);
|
|
22818
23034
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
22819
23035
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
22820
23036
|
}
|
|
@@ -22830,7 +23046,7 @@ function validate$E(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation'
|
|
|
22830
23046
|
for (let i = 0; i < obj_result.length; i++) {
|
|
22831
23047
|
const obj_result_item = obj_result[i];
|
|
22832
23048
|
const path_result_item = path_result + '[' + i + ']';
|
|
22833
|
-
const referencepath_result_itemValidationError = validate$
|
|
23049
|
+
const referencepath_result_itemValidationError = validate$K(obj_result_item, path_result_item);
|
|
22834
23050
|
if (referencepath_result_itemValidationError !== null) {
|
|
22835
23051
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
22836
23052
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22880,7 +23096,7 @@ function equals$m(existing, incoming) {
|
|
|
22880
23096
|
}
|
|
22881
23097
|
const ingest$g = function ErrorBadRequestRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22882
23098
|
if (process.env.NODE_ENV !== 'production') {
|
|
22883
|
-
const validateError = validate$
|
|
23099
|
+
const validateError = validate$J(input);
|
|
22884
23100
|
if (validateError !== null) {
|
|
22885
23101
|
throw validateError;
|
|
22886
23102
|
}
|
|
@@ -22901,8 +23117,8 @@ function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22901
23117
|
}
|
|
22902
23118
|
|
|
22903
23119
|
const VERSION$l = "cbd48fd50d0db463fdff7b1834c22bed";
|
|
22904
|
-
function validate$
|
|
22905
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23120
|
+
function validate$I(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
23121
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$H(obj, path);
|
|
22906
23122
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
22907
23123
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
22908
23124
|
}
|
|
@@ -22918,7 +23134,7 @@ function validate$D(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
|
22918
23134
|
for (let i = 0; i < obj_result.length; i++) {
|
|
22919
23135
|
const obj_result_item = obj_result[i];
|
|
22920
23136
|
const path_result_item = path_result + '[' + i + ']';
|
|
22921
|
-
const referencepath_result_itemValidationError = validate$
|
|
23137
|
+
const referencepath_result_itemValidationError = validate$K(obj_result_item, path_result_item);
|
|
22922
23138
|
if (referencepath_result_itemValidationError !== null) {
|
|
22923
23139
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
22924
23140
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22968,7 +23184,7 @@ function equals$l(existing, incoming) {
|
|
|
22968
23184
|
}
|
|
22969
23185
|
const ingest$f = function ErrorRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22970
23186
|
if (process.env.NODE_ENV !== 'production') {
|
|
22971
|
-
const validateError = validate$
|
|
23187
|
+
const validateError = validate$I(input);
|
|
22972
23188
|
if (validateError !== null) {
|
|
22973
23189
|
throw validateError;
|
|
22974
23190
|
}
|
|
@@ -22995,7 +23211,7 @@ const DiscriminatorValues$2 = {
|
|
|
22995
23211
|
};
|
|
22996
23212
|
const TTL$e = 300000;
|
|
22997
23213
|
const VERSION$k = "8956293536e94d5ec63b274b61033d2c";
|
|
22998
|
-
function validate$
|
|
23214
|
+
function validate$H(obj, path = 'AbstractRecordAvatarBatchRepresentation') {
|
|
22999
23215
|
const v_error = (() => {
|
|
23000
23216
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23001
23217
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23073,7 +23289,7 @@ function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23073
23289
|
|
|
23074
23290
|
const TTL$d = 300000;
|
|
23075
23291
|
const VERSION$j = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
23076
|
-
function validate$
|
|
23292
|
+
function validate$G(obj, path = 'RecordAvatarBulkMapRepresentation') {
|
|
23077
23293
|
const v_error = (() => {
|
|
23078
23294
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23079
23295
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23152,7 +23368,7 @@ function merge(existing, incoming, _luvio, _path) {
|
|
|
23152
23368
|
|
|
23153
23369
|
const ingest$e = function RecordAvatarBulkMapRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23154
23370
|
if (process.env.NODE_ENV !== 'production') {
|
|
23155
|
-
const validateError = validate$
|
|
23371
|
+
const validateError = validate$G(input);
|
|
23156
23372
|
if (validateError !== null) {
|
|
23157
23373
|
throw validateError;
|
|
23158
23374
|
}
|
|
@@ -23644,7 +23860,7 @@ const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrusted
|
|
|
23644
23860
|
};
|
|
23645
23861
|
|
|
23646
23862
|
const VERSION$i = "4d4bdab5d0aa61e365e766409c9b3a31";
|
|
23647
|
-
function validate$
|
|
23863
|
+
function validate$F(obj, path = 'RelatedListReferenceRepresentation') {
|
|
23648
23864
|
const v_error = (() => {
|
|
23649
23865
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23650
23866
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23883,7 +24099,7 @@ function equals$i(existing, incoming) {
|
|
|
23883
24099
|
}
|
|
23884
24100
|
|
|
23885
24101
|
const VERSION$h = "836b875b519813e7499efc62f0f1d04b";
|
|
23886
|
-
function validate$
|
|
24102
|
+
function validate$E(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
23887
24103
|
const v_error = (() => {
|
|
23888
24104
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23889
24105
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23926,7 +24142,7 @@ function validate$z(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
|
23926
24142
|
}
|
|
23927
24143
|
const obj_listReference = obj.listReference;
|
|
23928
24144
|
const path_listReference = path + '.listReference';
|
|
23929
|
-
const referencepath_listReferenceValidationError = validate$
|
|
24145
|
+
const referencepath_listReferenceValidationError = validate$F(obj_listReference, path_listReference);
|
|
23930
24146
|
if (referencepath_listReferenceValidationError !== null) {
|
|
23931
24147
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
23932
24148
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23999,7 +24215,7 @@ function equals$h(existing, incoming) {
|
|
|
23999
24215
|
}
|
|
24000
24216
|
const ingest$d = function RelatedListRecordCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24001
24217
|
if (process.env.NODE_ENV !== 'production') {
|
|
24002
|
-
const validateError = validate$
|
|
24218
|
+
const validateError = validate$E(input);
|
|
24003
24219
|
if (validateError !== null) {
|
|
24004
24220
|
throw validateError;
|
|
24005
24221
|
}
|
|
@@ -24510,7 +24726,7 @@ const getRelatedListCountAdapterFactory = (luvio) => function UiApi__getRelatedL
|
|
|
24510
24726
|
buildCachedSnapshotCachePolicy$h, buildNetworkSnapshotCachePolicy$h);
|
|
24511
24727
|
};
|
|
24512
24728
|
|
|
24513
|
-
function validate$
|
|
24729
|
+
function validate$D(obj, path = 'RelatedListColumnRepresentation') {
|
|
24514
24730
|
const v_error = (() => {
|
|
24515
24731
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24516
24732
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24661,7 +24877,7 @@ function validate$y(obj, path = 'RelatedListColumnRepresentation') {
|
|
|
24661
24877
|
|
|
24662
24878
|
const TTL$c = 900000;
|
|
24663
24879
|
const VERSION$g = "c977d65d153a2b4e888ddd45fb083248";
|
|
24664
|
-
function validate$
|
|
24880
|
+
function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
24665
24881
|
const v_error = (() => {
|
|
24666
24882
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24667
24883
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24689,7 +24905,7 @@ function validate$x(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
24689
24905
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
24690
24906
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
24691
24907
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
24692
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
24908
|
+
const referencepath_displayColumns_itemValidationError = validate$D(obj_displayColumns_item, path_displayColumns_item);
|
|
24693
24909
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
24694
24910
|
let message = 'Object doesn\'t match RelatedListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
24695
24911
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24736,7 +24952,7 @@ function validate$x(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
24736
24952
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
24737
24953
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
24738
24954
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
24739
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
24955
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1Z(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
24740
24956
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
24741
24957
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
24742
24958
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24750,7 +24966,7 @@ function validate$x(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
24750
24966
|
}
|
|
24751
24967
|
const obj_listReference = obj.listReference;
|
|
24752
24968
|
const path_listReference = path + '.listReference';
|
|
24753
|
-
const referencepath_listReferenceValidationError = validate$
|
|
24969
|
+
const referencepath_listReferenceValidationError = validate$F(obj_listReference, path_listReference);
|
|
24754
24970
|
if (referencepath_listReferenceValidationError !== null) {
|
|
24755
24971
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
24756
24972
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24788,7 +25004,7 @@ function validate$x(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
24788
25004
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
24789
25005
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
24790
25006
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
24791
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
25007
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1U(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
24792
25008
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
24793
25009
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
24794
25010
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24807,7 +25023,7 @@ function validate$x(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
24807
25023
|
}
|
|
24808
25024
|
const obj_userPreferences = obj.userPreferences;
|
|
24809
25025
|
const path_userPreferences = path + '.userPreferences';
|
|
24810
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
25026
|
+
const referencepath_userPreferencesValidationError = validate$1Q(obj_userPreferences, path_userPreferences);
|
|
24811
25027
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
24812
25028
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
24813
25029
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24947,7 +25163,7 @@ function equals$g(existing, incoming) {
|
|
|
24947
25163
|
}
|
|
24948
25164
|
const ingest$c = function RelatedListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24949
25165
|
if (process.env.NODE_ENV !== 'production') {
|
|
24950
|
-
const validateError = validate$
|
|
25166
|
+
const validateError = validate$C(input);
|
|
24951
25167
|
if (validateError !== null) {
|
|
24952
25168
|
throw validateError;
|
|
24953
25169
|
}
|
|
@@ -25385,7 +25601,7 @@ const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRela
|
|
|
25385
25601
|
buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$g);
|
|
25386
25602
|
};
|
|
25387
25603
|
|
|
25388
|
-
function validate$
|
|
25604
|
+
function validate$B(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
25389
25605
|
const v_error = (() => {
|
|
25390
25606
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25391
25607
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25481,7 +25697,7 @@ function validate$w(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
25481
25697
|
const path_themeInfo = path + '.themeInfo';
|
|
25482
25698
|
let obj_themeInfo_union0 = null;
|
|
25483
25699
|
const obj_themeInfo_union0_error = (() => {
|
|
25484
|
-
const referencepath_themeInfoValidationError = validate$
|
|
25700
|
+
const referencepath_themeInfoValidationError = validate$1z(obj_themeInfo, path_themeInfo);
|
|
25485
25701
|
if (referencepath_themeInfoValidationError !== null) {
|
|
25486
25702
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
25487
25703
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25516,7 +25732,7 @@ function validate$w(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
25516
25732
|
}
|
|
25517
25733
|
|
|
25518
25734
|
const VERSION$f = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
25519
|
-
function validate$
|
|
25735
|
+
function validate$A(obj, path = 'RelatedListSummaryInfoCollectionRepresentation') {
|
|
25520
25736
|
const v_error = (() => {
|
|
25521
25737
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25522
25738
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25565,7 +25781,7 @@ function validate$v(obj, path = 'RelatedListSummaryInfoCollectionRepresentation'
|
|
|
25565
25781
|
for (let i = 0; i < obj_relatedLists.length; i++) {
|
|
25566
25782
|
const obj_relatedLists_item = obj_relatedLists[i];
|
|
25567
25783
|
const path_relatedLists_item = path_relatedLists + '[' + i + ']';
|
|
25568
|
-
const referencepath_relatedLists_itemValidationError = validate$
|
|
25784
|
+
const referencepath_relatedLists_itemValidationError = validate$B(obj_relatedLists_item, path_relatedLists_item);
|
|
25569
25785
|
if (referencepath_relatedLists_itemValidationError !== null) {
|
|
25570
25786
|
let message = 'Object doesn\'t match RelatedListSummaryInfoRepresentation (at "' + path_relatedLists_item + '")\n';
|
|
25571
25787
|
message += referencepath_relatedLists_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25621,7 +25837,7 @@ function equals$f(existing, incoming) {
|
|
|
25621
25837
|
}
|
|
25622
25838
|
const ingest$b = function RelatedListSummaryInfoCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
25623
25839
|
if (process.env.NODE_ENV !== 'production') {
|
|
25624
|
-
const validateError = validate$
|
|
25840
|
+
const validateError = validate$A(input);
|
|
25625
25841
|
if (validateError !== null) {
|
|
25626
25842
|
throw validateError;
|
|
25627
25843
|
}
|
|
@@ -25870,7 +26086,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
|
|
|
25870
26086
|
buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
|
|
25871
26087
|
};
|
|
25872
26088
|
|
|
25873
|
-
function validate$
|
|
26089
|
+
function validate$z(obj, path = 'ListUserPreferenceInputRepresentation') {
|
|
25874
26090
|
const v_error = (() => {
|
|
25875
26091
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25876
26092
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25952,7 +26168,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
25952
26168
|
const untrustedConfig_orderedByInfo_array = [];
|
|
25953
26169
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
25954
26170
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
25955
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
26171
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedByInfo_item);
|
|
25956
26172
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
25957
26173
|
untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
|
|
25958
26174
|
}
|
|
@@ -25960,7 +26176,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
25960
26176
|
config.orderedByInfo = untrustedConfig_orderedByInfo_array;
|
|
25961
26177
|
}
|
|
25962
26178
|
const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
|
|
25963
|
-
const referenceListUserPreferenceInputRepresentationValidationError = validate$
|
|
26179
|
+
const referenceListUserPreferenceInputRepresentationValidationError = validate$z(untrustedConfig_userPreferences);
|
|
25964
26180
|
if (referenceListUserPreferenceInputRepresentationValidationError === null) {
|
|
25965
26181
|
config.userPreferences = untrustedConfig_userPreferences;
|
|
25966
26182
|
}
|
|
@@ -26025,7 +26241,7 @@ const updateRelatedListInfoAdapterFactory = (luvio) => {
|
|
|
26025
26241
|
|
|
26026
26242
|
const TTL$b = 900000;
|
|
26027
26243
|
const VERSION$e = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
26028
|
-
function validate$
|
|
26244
|
+
function validate$y(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
26029
26245
|
const v_error = (() => {
|
|
26030
26246
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26031
26247
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26066,7 +26282,7 @@ function validate$t(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
|
26066
26282
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
26067
26283
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
26068
26284
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
26069
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
26285
|
+
const referencepath_orderedBy_itemValidationError = validate$1U(obj_orderedBy_item, path_orderedBy_item);
|
|
26070
26286
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
26071
26287
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
26072
26288
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26110,7 +26326,7 @@ function equals$e(existing, incoming) {
|
|
|
26110
26326
|
}
|
|
26111
26327
|
const ingest$a = function RelatedListUserPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26112
26328
|
if (process.env.NODE_ENV !== 'production') {
|
|
26113
|
-
const validateError = validate$
|
|
26329
|
+
const validateError = validate$y(input);
|
|
26114
26330
|
if (validateError !== null) {
|
|
26115
26331
|
throw validateError;
|
|
26116
26332
|
}
|
|
@@ -26706,7 +26922,7 @@ function typeCheckConfig$l(untrustedConfig) {
|
|
|
26706
26922
|
const untrustedConfig_orderedBy_array = [];
|
|
26707
26923
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
26708
26924
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
26709
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
26925
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
|
|
26710
26926
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
26711
26927
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
26712
26928
|
}
|
|
@@ -26757,7 +26973,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
|
|
|
26757
26973
|
};
|
|
26758
26974
|
};
|
|
26759
26975
|
|
|
26760
|
-
function validate$
|
|
26976
|
+
function validate$x(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
26761
26977
|
const v_error = (() => {
|
|
26762
26978
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26763
26979
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27000,7 +27216,7 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
|
|
|
27000
27216
|
|
|
27001
27217
|
const TTL$a = 30000;
|
|
27002
27218
|
const VERSION$d = "62467c27c19349b70c9db2a8d9d591d9";
|
|
27003
|
-
function validate$
|
|
27219
|
+
function validate$w(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
27004
27220
|
const v_error = (() => {
|
|
27005
27221
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27006
27222
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27081,7 +27297,7 @@ function validate$r(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
27081
27297
|
}
|
|
27082
27298
|
const obj_listReference = obj.listReference;
|
|
27083
27299
|
const path_listReference = path + '.listReference';
|
|
27084
|
-
const referencepath_listReferenceValidationError = validate$
|
|
27300
|
+
const referencepath_listReferenceValidationError = validate$F(obj_listReference, path_listReference);
|
|
27085
27301
|
if (referencepath_listReferenceValidationError !== null) {
|
|
27086
27302
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
27087
27303
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -27502,7 +27718,7 @@ function equals$d(existing, incoming) {
|
|
|
27502
27718
|
}
|
|
27503
27719
|
const ingest$9 = function RelatedListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
27504
27720
|
if (process.env.NODE_ENV !== 'production') {
|
|
27505
|
-
const validateError = validate$
|
|
27721
|
+
const validateError = validate$w(input);
|
|
27506
27722
|
if (validateError !== null) {
|
|
27507
27723
|
throw validateError;
|
|
27508
27724
|
}
|
|
@@ -27993,7 +28209,7 @@ function typeCheckConfig$k(untrustedConfig) {
|
|
|
27993
28209
|
const untrustedConfig_relatedListParameters_array = [];
|
|
27994
28210
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
27995
28211
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
27996
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
28212
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$x(untrustedConfig_relatedListParameters_item);
|
|
27997
28213
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
27998
28214
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
27999
28215
|
}
|
|
@@ -28236,7 +28452,7 @@ const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
28236
28452
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
|
|
28237
28453
|
};
|
|
28238
28454
|
|
|
28239
|
-
function validate$
|
|
28455
|
+
function validate$v(obj, path = 'SearchFilterOptionRepresentation') {
|
|
28240
28456
|
const v_error = (() => {
|
|
28241
28457
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28242
28458
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28266,7 +28482,7 @@ var DiscriminatorValues;
|
|
|
28266
28482
|
DiscriminatorValues["Field"] = "Field";
|
|
28267
28483
|
DiscriminatorValues["DataCategory"] = "DataCategory";
|
|
28268
28484
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
28269
|
-
function validate$
|
|
28485
|
+
function validate$u(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
28270
28486
|
const v_error = (() => {
|
|
28271
28487
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28272
28488
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28327,7 +28543,7 @@ function validate$p(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
|
28327
28543
|
|
|
28328
28544
|
const TTL$9 = 30000;
|
|
28329
28545
|
const VERSION$c = "7d241c2ee7cc9b09d6bd434b33b0b5e4";
|
|
28330
|
-
function validate$
|
|
28546
|
+
function validate$t(obj, path = 'SearchFilterMetadataCollectionRepresentation') {
|
|
28331
28547
|
const v_error = (() => {
|
|
28332
28548
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28333
28549
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28366,7 +28582,7 @@ function validate$o(obj, path = 'SearchFilterMetadataCollectionRepresentation')
|
|
|
28366
28582
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
28367
28583
|
const obj_filters_item = obj_filters[i];
|
|
28368
28584
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
28369
|
-
const referencepath_filters_itemValidationError = validate$
|
|
28585
|
+
const referencepath_filters_itemValidationError = validate$u(obj_filters_item, path_filters_item);
|
|
28370
28586
|
if (referencepath_filters_itemValidationError !== null) {
|
|
28371
28587
|
let message = 'Object doesn\'t match SearchFilterDefinitionRepresentation (at "' + path_filters_item + '")\n';
|
|
28372
28588
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28411,7 +28627,7 @@ function equals$c(existing, incoming) {
|
|
|
28411
28627
|
}
|
|
28412
28628
|
const ingest$8 = function SearchFilterMetadataCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28413
28629
|
if (process.env.NODE_ENV !== 'production') {
|
|
28414
|
-
const validateError = validate$
|
|
28630
|
+
const validateError = validate$t(input);
|
|
28415
28631
|
if (validateError !== null) {
|
|
28416
28632
|
throw validateError;
|
|
28417
28633
|
}
|
|
@@ -28575,7 +28791,7 @@ const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSear
|
|
|
28575
28791
|
|
|
28576
28792
|
const TTL$8 = 30000;
|
|
28577
28793
|
const VERSION$b = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
28578
|
-
function validate$
|
|
28794
|
+
function validate$s(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
28579
28795
|
const v_error = (() => {
|
|
28580
28796
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28581
28797
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28598,7 +28814,7 @@ function validate$n(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
|
28598
28814
|
for (let i = 0; i < obj_options.length; i++) {
|
|
28599
28815
|
const obj_options_item = obj_options[i];
|
|
28600
28816
|
const path_options_item = path_options + '[' + i + ']';
|
|
28601
|
-
const referencepath_options_itemValidationError = validate$
|
|
28817
|
+
const referencepath_options_itemValidationError = validate$v(obj_options_item, path_options_item);
|
|
28602
28818
|
if (referencepath_options_itemValidationError !== null) {
|
|
28603
28819
|
let message = 'Object doesn\'t match SearchFilterOptionRepresentation (at "' + path_options_item + '")\n';
|
|
28604
28820
|
message += referencepath_options_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28665,7 +28881,7 @@ function equals$b(existing, incoming) {
|
|
|
28665
28881
|
}
|
|
28666
28882
|
const ingest$7 = function SearchFilterOptionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28667
28883
|
if (process.env.NODE_ENV !== 'production') {
|
|
28668
|
-
const validateError = validate$
|
|
28884
|
+
const validateError = validate$s(input);
|
|
28669
28885
|
if (validateError !== null) {
|
|
28670
28886
|
throw validateError;
|
|
28671
28887
|
}
|
|
@@ -28829,7 +29045,7 @@ const getSearchFilterOptionsAdapterFactory = (luvio) => function UiApi__getSearc
|
|
|
28829
29045
|
buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
|
|
28830
29046
|
};
|
|
28831
29047
|
|
|
28832
|
-
function validate$
|
|
29048
|
+
function validate$r(obj, path = 'DisplayLayoutRepresentation') {
|
|
28833
29049
|
const v_error = (() => {
|
|
28834
29050
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28835
29051
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28850,7 +29066,7 @@ function validate$m(obj, path = 'DisplayLayoutRepresentation') {
|
|
|
28850
29066
|
return v_error === undefined ? null : v_error;
|
|
28851
29067
|
}
|
|
28852
29068
|
|
|
28853
|
-
function validate$
|
|
29069
|
+
function validate$q(obj, path = 'MatchingInfoRepresentation') {
|
|
28854
29070
|
const v_error = (() => {
|
|
28855
29071
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28856
29072
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28871,14 +29087,14 @@ function validate$l(obj, path = 'MatchingInfoRepresentation') {
|
|
|
28871
29087
|
return v_error === undefined ? null : v_error;
|
|
28872
29088
|
}
|
|
28873
29089
|
|
|
28874
|
-
function validate$
|
|
29090
|
+
function validate$p(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
28875
29091
|
const v_error = (() => {
|
|
28876
29092
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28877
29093
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
28878
29094
|
}
|
|
28879
29095
|
const obj_displayLayout = obj.displayLayout;
|
|
28880
29096
|
const path_displayLayout = path + '.displayLayout';
|
|
28881
|
-
const referencepath_displayLayoutValidationError = validate$
|
|
29097
|
+
const referencepath_displayLayoutValidationError = validate$r(obj_displayLayout, path_displayLayout);
|
|
28882
29098
|
if (referencepath_displayLayoutValidationError !== null) {
|
|
28883
29099
|
let message = 'Object doesn\'t match DisplayLayoutRepresentation (at "' + path_displayLayout + '")\n';
|
|
28884
29100
|
message += referencepath_displayLayoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28886,7 +29102,7 @@ function validate$k(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
28886
29102
|
}
|
|
28887
29103
|
const obj_matchingInfo = obj.matchingInfo;
|
|
28888
29104
|
const path_matchingInfo = path + '.matchingInfo';
|
|
28889
|
-
const referencepath_matchingInfoValidationError = validate$
|
|
29105
|
+
const referencepath_matchingInfoValidationError = validate$q(obj_matchingInfo, path_matchingInfo);
|
|
28890
29106
|
if (referencepath_matchingInfoValidationError !== null) {
|
|
28891
29107
|
let message = 'Object doesn\'t match MatchingInfoRepresentation (at "' + path_matchingInfo + '")\n';
|
|
28892
29108
|
message += referencepath_matchingInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28896,14 +29112,14 @@ function validate$k(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
28896
29112
|
return v_error === undefined ? null : v_error;
|
|
28897
29113
|
}
|
|
28898
29114
|
|
|
28899
|
-
function validate$
|
|
29115
|
+
function validate$o(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
28900
29116
|
const v_error = (() => {
|
|
28901
29117
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28902
29118
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
28903
29119
|
}
|
|
28904
29120
|
const obj_fullSearchInfo = obj.fullSearchInfo;
|
|
28905
29121
|
const path_fullSearchInfo = path + '.fullSearchInfo';
|
|
28906
|
-
const referencepath_fullSearchInfoValidationError = validate$
|
|
29122
|
+
const referencepath_fullSearchInfoValidationError = validate$p(obj_fullSearchInfo, path_fullSearchInfo);
|
|
28907
29123
|
if (referencepath_fullSearchInfoValidationError !== null) {
|
|
28908
29124
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_fullSearchInfo + '")\n';
|
|
28909
29125
|
message += referencepath_fullSearchInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28916,7 +29132,7 @@ function validate$j(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
28916
29132
|
}
|
|
28917
29133
|
const obj_suggestionsInfo = obj.suggestionsInfo;
|
|
28918
29134
|
const path_suggestionsInfo = path + '.suggestionsInfo';
|
|
28919
|
-
const referencepath_suggestionsInfoValidationError = validate$
|
|
29135
|
+
const referencepath_suggestionsInfoValidationError = validate$p(obj_suggestionsInfo, path_suggestionsInfo);
|
|
28920
29136
|
if (referencepath_suggestionsInfoValidationError !== null) {
|
|
28921
29137
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_suggestionsInfo + '")\n';
|
|
28922
29138
|
message += referencepath_suggestionsInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28928,7 +29144,7 @@ function validate$j(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
28928
29144
|
|
|
28929
29145
|
const TTL$7 = 30000;
|
|
28930
29146
|
const VERSION$a = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
28931
|
-
function validate$
|
|
29147
|
+
function validate$n(obj, path = 'LookupMetadataRepresentation') {
|
|
28932
29148
|
const v_error = (() => {
|
|
28933
29149
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28934
29150
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28979,7 +29195,7 @@ function validate$i(obj, path = 'LookupMetadataRepresentation') {
|
|
|
28979
29195
|
const key = obj_targetInfo_keys[i];
|
|
28980
29196
|
const obj_targetInfo_prop = obj_targetInfo[key];
|
|
28981
29197
|
const path_targetInfo_prop = path_targetInfo + '["' + key + '"]';
|
|
28982
|
-
const referencepath_targetInfo_propValidationError = validate$
|
|
29198
|
+
const referencepath_targetInfo_propValidationError = validate$o(obj_targetInfo_prop, path_targetInfo_prop);
|
|
28983
29199
|
if (referencepath_targetInfo_propValidationError !== null) {
|
|
28984
29200
|
let message = 'Object doesn\'t match LookupMetadataTargetInfoRepresentation (at "' + path_targetInfo_prop + '")\n';
|
|
28985
29201
|
message += referencepath_targetInfo_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29019,7 +29235,7 @@ function equals$a(existing, incoming) {
|
|
|
29019
29235
|
}
|
|
29020
29236
|
const ingest$6 = function LookupMetadataRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29021
29237
|
if (process.env.NODE_ENV !== 'production') {
|
|
29022
|
-
const validateError = validate$
|
|
29238
|
+
const validateError = validate$n(input);
|
|
29023
29239
|
if (validateError !== null) {
|
|
29024
29240
|
throw validateError;
|
|
29025
29241
|
}
|
|
@@ -29181,7 +29397,146 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
|
|
|
29181
29397
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
|
|
29182
29398
|
};
|
|
29183
29399
|
|
|
29184
|
-
function validate$
|
|
29400
|
+
function validate$m(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
29401
|
+
const v_error = (() => {
|
|
29402
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29403
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29404
|
+
}
|
|
29405
|
+
const obj_groupName = obj.groupName;
|
|
29406
|
+
const path_groupName = path + '.groupName';
|
|
29407
|
+
if (typeof obj_groupName !== 'string') {
|
|
29408
|
+
return new TypeError('Expected "string" but received "' + typeof obj_groupName + '" (at "' + path_groupName + '")');
|
|
29409
|
+
}
|
|
29410
|
+
const obj_operator = obj.operator;
|
|
29411
|
+
const path_operator = path + '.operator';
|
|
29412
|
+
if (typeof obj_operator !== 'string') {
|
|
29413
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
29414
|
+
}
|
|
29415
|
+
const obj_values = obj.values;
|
|
29416
|
+
const path_values = path + '.values';
|
|
29417
|
+
if (!ArrayIsArray(obj_values)) {
|
|
29418
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
29419
|
+
}
|
|
29420
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
29421
|
+
const obj_values_item = obj_values[i];
|
|
29422
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
29423
|
+
if (typeof obj_values_item !== 'string') {
|
|
29424
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
29425
|
+
}
|
|
29426
|
+
}
|
|
29427
|
+
})();
|
|
29428
|
+
return v_error === undefined ? null : v_error;
|
|
29429
|
+
}
|
|
29430
|
+
|
|
29431
|
+
function validate$l(obj, path = 'SearchFilterInputRepresentation') {
|
|
29432
|
+
const v_error = (() => {
|
|
29433
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29434
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29435
|
+
}
|
|
29436
|
+
const obj_fieldPath = obj.fieldPath;
|
|
29437
|
+
const path_fieldPath = path + '.fieldPath';
|
|
29438
|
+
if (typeof obj_fieldPath !== 'string') {
|
|
29439
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
29440
|
+
}
|
|
29441
|
+
if (obj.objectApiName !== undefined) {
|
|
29442
|
+
const obj_objectApiName = obj.objectApiName;
|
|
29443
|
+
const path_objectApiName = path + '.objectApiName';
|
|
29444
|
+
if (typeof obj_objectApiName !== 'string') {
|
|
29445
|
+
return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
|
|
29446
|
+
}
|
|
29447
|
+
}
|
|
29448
|
+
const obj_operator = obj.operator;
|
|
29449
|
+
const path_operator = path + '.operator';
|
|
29450
|
+
if (typeof obj_operator !== 'string') {
|
|
29451
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
29452
|
+
}
|
|
29453
|
+
const obj_values = obj.values;
|
|
29454
|
+
const path_values = path + '.values';
|
|
29455
|
+
if (!ArrayIsArray(obj_values)) {
|
|
29456
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
29457
|
+
}
|
|
29458
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
29459
|
+
const obj_values_item = obj_values[i];
|
|
29460
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
29461
|
+
let obj_values_item_union0 = null;
|
|
29462
|
+
const obj_values_item_union0_error = (() => {
|
|
29463
|
+
if (typeof obj_values_item !== 'string') {
|
|
29464
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
29465
|
+
}
|
|
29466
|
+
})();
|
|
29467
|
+
if (obj_values_item_union0_error != null) {
|
|
29468
|
+
obj_values_item_union0 = obj_values_item_union0_error.message;
|
|
29469
|
+
}
|
|
29470
|
+
let obj_values_item_union1 = null;
|
|
29471
|
+
const obj_values_item_union1_error = (() => {
|
|
29472
|
+
if (typeof obj_values_item !== 'number') {
|
|
29473
|
+
return new TypeError('Expected "number" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
29474
|
+
}
|
|
29475
|
+
})();
|
|
29476
|
+
if (obj_values_item_union1_error != null) {
|
|
29477
|
+
obj_values_item_union1 = obj_values_item_union1_error.message;
|
|
29478
|
+
}
|
|
29479
|
+
let obj_values_item_union2 = null;
|
|
29480
|
+
const obj_values_item_union2_error = (() => {
|
|
29481
|
+
if (typeof obj_values_item !== 'boolean') {
|
|
29482
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
29483
|
+
}
|
|
29484
|
+
})();
|
|
29485
|
+
if (obj_values_item_union2_error != null) {
|
|
29486
|
+
obj_values_item_union2 = obj_values_item_union2_error.message;
|
|
29487
|
+
}
|
|
29488
|
+
if (obj_values_item_union0 && obj_values_item_union1 && obj_values_item_union2) {
|
|
29489
|
+
let message = 'Object doesn\'t match union (at "' + path_values_item + '")';
|
|
29490
|
+
message += '\n' + obj_values_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
29491
|
+
message += '\n' + obj_values_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
29492
|
+
message += '\n' + obj_values_item_union2.split('\n').map((line) => '\t' + line).join('\n');
|
|
29493
|
+
return new TypeError(message);
|
|
29494
|
+
}
|
|
29495
|
+
}
|
|
29496
|
+
})();
|
|
29497
|
+
return v_error === undefined ? null : v_error;
|
|
29498
|
+
}
|
|
29499
|
+
|
|
29500
|
+
function validate$k(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
29501
|
+
const v_error = (() => {
|
|
29502
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29503
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29504
|
+
}
|
|
29505
|
+
const obj_dataCategories = obj.dataCategories;
|
|
29506
|
+
const path_dataCategories = path + '.dataCategories';
|
|
29507
|
+
if (!ArrayIsArray(obj_dataCategories)) {
|
|
29508
|
+
return new TypeError('Expected "array" but received "' + typeof obj_dataCategories + '" (at "' + path_dataCategories + '")');
|
|
29509
|
+
}
|
|
29510
|
+
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
29511
|
+
const obj_dataCategories_item = obj_dataCategories[i];
|
|
29512
|
+
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
29513
|
+
const referencepath_dataCategories_itemValidationError = validate$m(obj_dataCategories_item, path_dataCategories_item);
|
|
29514
|
+
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
29515
|
+
let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
|
|
29516
|
+
message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
29517
|
+
return new TypeError(message);
|
|
29518
|
+
}
|
|
29519
|
+
}
|
|
29520
|
+
const obj_filters = obj.filters;
|
|
29521
|
+
const path_filters = path + '.filters';
|
|
29522
|
+
if (!ArrayIsArray(obj_filters)) {
|
|
29523
|
+
return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
|
|
29524
|
+
}
|
|
29525
|
+
for (let i = 0; i < obj_filters.length; i++) {
|
|
29526
|
+
const obj_filters_item = obj_filters[i];
|
|
29527
|
+
const path_filters_item = path_filters + '[' + i + ']';
|
|
29528
|
+
const referencepath_filters_itemValidationError = validate$l(obj_filters_item, path_filters_item);
|
|
29529
|
+
if (referencepath_filters_itemValidationError !== null) {
|
|
29530
|
+
let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
29531
|
+
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
29532
|
+
return new TypeError(message);
|
|
29533
|
+
}
|
|
29534
|
+
}
|
|
29535
|
+
})();
|
|
29536
|
+
return v_error === undefined ? null : v_error;
|
|
29537
|
+
}
|
|
29538
|
+
|
|
29539
|
+
function validate$j(obj, path = 'ErrorMessageRepresentation') {
|
|
29185
29540
|
const v_error = (() => {
|
|
29186
29541
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29187
29542
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29221,7 +29576,7 @@ function validate$h(obj, path = 'ErrorMessageRepresentation') {
|
|
|
29221
29576
|
return v_error === undefined ? null : v_error;
|
|
29222
29577
|
}
|
|
29223
29578
|
|
|
29224
|
-
function validate$
|
|
29579
|
+
function validate$i(obj, path = 'SearchResultCollectionRepresentation') {
|
|
29225
29580
|
const v_error = (() => {
|
|
29226
29581
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29227
29582
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29235,7 +29590,7 @@ function validate$g(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
29235
29590
|
const path_error = path + '.error';
|
|
29236
29591
|
let obj_error_union0 = null;
|
|
29237
29592
|
const obj_error_union0_error = (() => {
|
|
29238
|
-
const referencepath_errorValidationError = validate$
|
|
29593
|
+
const referencepath_errorValidationError = validate$j(obj_error, path_error);
|
|
29239
29594
|
if (referencepath_errorValidationError !== null) {
|
|
29240
29595
|
let message = 'Object doesn\'t match ErrorMessageRepresentation (at "' + path_error + '")\n';
|
|
29241
29596
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29299,7 +29654,7 @@ function validate$g(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
29299
29654
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
29300
29655
|
const obj_orderBy_item = obj_orderBy[i];
|
|
29301
29656
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
29302
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
29657
|
+
const referencepath_orderBy_itemValidationError = validate$1U(obj_orderBy_item, path_orderBy_item);
|
|
29303
29658
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
29304
29659
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
|
|
29305
29660
|
message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29365,7 +29720,7 @@ function validate$g(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
29365
29720
|
return v_error === undefined ? null : v_error;
|
|
29366
29721
|
}
|
|
29367
29722
|
|
|
29368
|
-
function validate$
|
|
29723
|
+
function validate$h(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
29369
29724
|
const v_error = (() => {
|
|
29370
29725
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29371
29726
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29386,7 +29741,7 @@ function validate$f(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
|
29386
29741
|
return v_error === undefined ? null : v_error;
|
|
29387
29742
|
}
|
|
29388
29743
|
|
|
29389
|
-
function validate$
|
|
29744
|
+
function validate$g(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
29390
29745
|
const v_error = (() => {
|
|
29391
29746
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29392
29747
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29415,7 +29770,7 @@ function validate$e(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
|
29415
29770
|
return v_error === undefined ? null : v_error;
|
|
29416
29771
|
}
|
|
29417
29772
|
|
|
29418
|
-
function validate$
|
|
29773
|
+
function validate$f(obj, path = 'SearchAnswersResultRepresentation') {
|
|
29419
29774
|
const v_error = (() => {
|
|
29420
29775
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29421
29776
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29438,7 +29793,7 @@ function validate$d(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
29438
29793
|
for (let i = 0; i < obj_records.length; i++) {
|
|
29439
29794
|
const obj_records_item = obj_records[i];
|
|
29440
29795
|
const path_records_item = path_records + '[' + i + ']';
|
|
29441
|
-
const referencepath_records_itemValidationError = validate$
|
|
29796
|
+
const referencepath_records_itemValidationError = validate$g(obj_records_item, path_records_item);
|
|
29442
29797
|
if (referencepath_records_itemValidationError !== null) {
|
|
29443
29798
|
let message = 'Object doesn\'t match SearchAnswersRecordRepresentation (at "' + path_records_item + '")\n';
|
|
29444
29799
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29449,9 +29804,110 @@ function validate$d(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
29449
29804
|
return v_error === undefined ? null : v_error;
|
|
29450
29805
|
}
|
|
29451
29806
|
|
|
29807
|
+
function validate$e(obj, path = 'SearchDataCategoryOutputRepresentation') {
|
|
29808
|
+
const v_error = (() => {
|
|
29809
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29810
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29811
|
+
}
|
|
29812
|
+
const obj_groupName = obj.groupName;
|
|
29813
|
+
const path_groupName = path + '.groupName';
|
|
29814
|
+
if (typeof obj_groupName !== 'string') {
|
|
29815
|
+
return new TypeError('Expected "string" but received "' + typeof obj_groupName + '" (at "' + path_groupName + '")');
|
|
29816
|
+
}
|
|
29817
|
+
const obj_operator = obj.operator;
|
|
29818
|
+
const path_operator = path + '.operator';
|
|
29819
|
+
if (typeof obj_operator !== 'string') {
|
|
29820
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
29821
|
+
}
|
|
29822
|
+
const obj_values = obj.values;
|
|
29823
|
+
const path_values = path + '.values';
|
|
29824
|
+
if (!ArrayIsArray(obj_values)) {
|
|
29825
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
29826
|
+
}
|
|
29827
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
29828
|
+
const obj_values_item = obj_values[i];
|
|
29829
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
29830
|
+
if (typeof obj_values_item !== 'string') {
|
|
29831
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
29832
|
+
}
|
|
29833
|
+
}
|
|
29834
|
+
})();
|
|
29835
|
+
return v_error === undefined ? null : v_error;
|
|
29836
|
+
}
|
|
29837
|
+
|
|
29838
|
+
function validate$d(obj, path = 'SearchFilterOutputRepresentation') {
|
|
29839
|
+
const v_error = (() => {
|
|
29840
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29841
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29842
|
+
}
|
|
29843
|
+
const obj_fieldPath = obj.fieldPath;
|
|
29844
|
+
const path_fieldPath = path + '.fieldPath';
|
|
29845
|
+
if (typeof obj_fieldPath !== 'string') {
|
|
29846
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
29847
|
+
}
|
|
29848
|
+
const obj_operator = obj.operator;
|
|
29849
|
+
const path_operator = path + '.operator';
|
|
29850
|
+
if (typeof obj_operator !== 'string') {
|
|
29851
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
29852
|
+
}
|
|
29853
|
+
const obj_values = obj.values;
|
|
29854
|
+
const path_values = path + '.values';
|
|
29855
|
+
if (!ArrayIsArray(obj_values)) {
|
|
29856
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
29857
|
+
}
|
|
29858
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
29859
|
+
const obj_values_item = obj_values[i];
|
|
29860
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
29861
|
+
if (typeof obj_values_item !== 'string') {
|
|
29862
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
29863
|
+
}
|
|
29864
|
+
}
|
|
29865
|
+
})();
|
|
29866
|
+
return v_error === undefined ? null : v_error;
|
|
29867
|
+
}
|
|
29868
|
+
|
|
29869
|
+
function validate$c(obj, path = 'SearchObjectOptionsOutputRepresentation') {
|
|
29870
|
+
const v_error = (() => {
|
|
29871
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29872
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29873
|
+
}
|
|
29874
|
+
const obj_dataCategories = obj.dataCategories;
|
|
29875
|
+
const path_dataCategories = path + '.dataCategories';
|
|
29876
|
+
if (!ArrayIsArray(obj_dataCategories)) {
|
|
29877
|
+
return new TypeError('Expected "array" but received "' + typeof obj_dataCategories + '" (at "' + path_dataCategories + '")');
|
|
29878
|
+
}
|
|
29879
|
+
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
29880
|
+
const obj_dataCategories_item = obj_dataCategories[i];
|
|
29881
|
+
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
29882
|
+
const referencepath_dataCategories_itemValidationError = validate$e(obj_dataCategories_item, path_dataCategories_item);
|
|
29883
|
+
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
29884
|
+
let message = 'Object doesn\'t match SearchDataCategoryOutputRepresentation (at "' + path_dataCategories_item + '")\n';
|
|
29885
|
+
message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
29886
|
+
return new TypeError(message);
|
|
29887
|
+
}
|
|
29888
|
+
}
|
|
29889
|
+
const obj_filters = obj.filters;
|
|
29890
|
+
const path_filters = path + '.filters';
|
|
29891
|
+
if (!ArrayIsArray(obj_filters)) {
|
|
29892
|
+
return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
|
|
29893
|
+
}
|
|
29894
|
+
for (let i = 0; i < obj_filters.length; i++) {
|
|
29895
|
+
const obj_filters_item = obj_filters[i];
|
|
29896
|
+
const path_filters_item = path_filters + '[' + i + ']';
|
|
29897
|
+
const referencepath_filters_itemValidationError = validate$d(obj_filters_item, path_filters_item);
|
|
29898
|
+
if (referencepath_filters_itemValidationError !== null) {
|
|
29899
|
+
let message = 'Object doesn\'t match SearchFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
29900
|
+
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
29901
|
+
return new TypeError(message);
|
|
29902
|
+
}
|
|
29903
|
+
}
|
|
29904
|
+
})();
|
|
29905
|
+
return v_error === undefined ? null : v_error;
|
|
29906
|
+
}
|
|
29907
|
+
|
|
29452
29908
|
const TTL$6 = 200;
|
|
29453
|
-
const VERSION$9 = "
|
|
29454
|
-
function validate$
|
|
29909
|
+
const VERSION$9 = "c3b86b51e83e00857929bc3dd6742a85";
|
|
29910
|
+
function validate$b(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
29455
29911
|
const v_error = (() => {
|
|
29456
29912
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29457
29913
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29486,7 +29942,7 @@ function validate$c(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
29486
29942
|
const path_keywordSearchResults = path + '.keywordSearchResults';
|
|
29487
29943
|
let obj_keywordSearchResults_union0 = null;
|
|
29488
29944
|
const obj_keywordSearchResults_union0_error = (() => {
|
|
29489
|
-
const referencepath_keywordSearchResultsValidationError = validate$
|
|
29945
|
+
const referencepath_keywordSearchResultsValidationError = validate$h(obj_keywordSearchResults, path_keywordSearchResults);
|
|
29490
29946
|
if (referencepath_keywordSearchResultsValidationError !== null) {
|
|
29491
29947
|
let message = 'Object doesn\'t match KeywordSearchResultsRepresentation (at "' + path_keywordSearchResults + '")\n';
|
|
29492
29948
|
message += referencepath_keywordSearchResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29515,7 +29971,7 @@ function validate$c(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
29515
29971
|
const path_qnaResult = path + '.qnaResult';
|
|
29516
29972
|
let obj_qnaResult_union0 = null;
|
|
29517
29973
|
const obj_qnaResult_union0_error = (() => {
|
|
29518
|
-
const referencepath_qnaResultValidationError = validate$
|
|
29974
|
+
const referencepath_qnaResultValidationError = validate$f(obj_qnaResult, path_qnaResult);
|
|
29519
29975
|
if (referencepath_qnaResultValidationError !== null) {
|
|
29520
29976
|
let message = 'Object doesn\'t match SearchAnswersResultRepresentation (at "' + path_qnaResult + '")\n';
|
|
29521
29977
|
message += referencepath_qnaResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29550,6 +30006,23 @@ function validate$c(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
29550
30006
|
if (typeof obj_queryId !== 'string') {
|
|
29551
30007
|
return new TypeError('Expected "string" but received "' + typeof obj_queryId + '" (at "' + path_queryId + '")');
|
|
29552
30008
|
}
|
|
30009
|
+
const obj_searchObjectOptions = obj.searchObjectOptions;
|
|
30010
|
+
const path_searchObjectOptions = path + '.searchObjectOptions';
|
|
30011
|
+
if (typeof obj_searchObjectOptions !== 'object' || ArrayIsArray(obj_searchObjectOptions) || obj_searchObjectOptions === null) {
|
|
30012
|
+
return new TypeError('Expected "object" but received "' + typeof obj_searchObjectOptions + '" (at "' + path_searchObjectOptions + '")');
|
|
30013
|
+
}
|
|
30014
|
+
const obj_searchObjectOptions_keys = ObjectKeys(obj_searchObjectOptions);
|
|
30015
|
+
for (let i = 0; i < obj_searchObjectOptions_keys.length; i++) {
|
|
30016
|
+
const key = obj_searchObjectOptions_keys[i];
|
|
30017
|
+
const obj_searchObjectOptions_prop = obj_searchObjectOptions[key];
|
|
30018
|
+
const path_searchObjectOptions_prop = path_searchObjectOptions + '["' + key + '"]';
|
|
30019
|
+
const referencepath_searchObjectOptions_propValidationError = validate$c(obj_searchObjectOptions_prop, path_searchObjectOptions_prop);
|
|
30020
|
+
if (referencepath_searchObjectOptions_propValidationError !== null) {
|
|
30021
|
+
let message = 'Object doesn\'t match SearchObjectOptionsOutputRepresentation (at "' + path_searchObjectOptions_prop + '")\n';
|
|
30022
|
+
message += referencepath_searchObjectOptions_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
30023
|
+
return new TypeError(message);
|
|
30024
|
+
}
|
|
30025
|
+
}
|
|
29553
30026
|
})();
|
|
29554
30027
|
return v_error === undefined ? null : v_error;
|
|
29555
30028
|
}
|
|
@@ -29583,7 +30056,7 @@ function equals$9(existing, incoming) {
|
|
|
29583
30056
|
}
|
|
29584
30057
|
const ingest$5 = function SearchResultsSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29585
30058
|
if (process.env.NODE_ENV !== 'production') {
|
|
29586
|
-
const validateError = validate$
|
|
30059
|
+
const validateError = validate$b(input);
|
|
29587
30060
|
if (validateError !== null) {
|
|
29588
30061
|
throw validateError;
|
|
29589
30062
|
}
|
|
@@ -29664,6 +30137,7 @@ const getSearchResults_ConfigPropertyMetadata = [
|
|
|
29664
30137
|
generateParamConfigMetadata('answerTypes', false, 2 /* Body */, 0 /* String */, true),
|
|
29665
30138
|
generateParamConfigMetadata('configurationName', false, 2 /* Body */, 0 /* String */),
|
|
29666
30139
|
generateParamConfigMetadata('objectApiNames', false, 2 /* Body */, 0 /* String */, true),
|
|
30140
|
+
generateParamConfigMetadata('searchObjectOptions', false, 2 /* Body */, 4 /* Unsupported */),
|
|
29667
30141
|
];
|
|
29668
30142
|
const getSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSearchResults_ConfigPropertyMetadata);
|
|
29669
30143
|
const createResourceParams$d = /*#__PURE__*/ createResourceParams$10(getSearchResults_ConfigPropertyMetadata);
|
|
@@ -29674,6 +30148,24 @@ function keyBuilder$e(luvio, config) {
|
|
|
29674
30148
|
function typeCheckConfig$f(untrustedConfig) {
|
|
29675
30149
|
const config = {};
|
|
29676
30150
|
typeCheckConfig$15(untrustedConfig, config, getSearchResults_ConfigPropertyMetadata);
|
|
30151
|
+
const untrustedConfig_searchObjectOptions = untrustedConfig.searchObjectOptions;
|
|
30152
|
+
if (untrustedIsObject(untrustedConfig_searchObjectOptions)) {
|
|
30153
|
+
const untrustedConfig_searchObjectOptions_object = {};
|
|
30154
|
+
const untrustedConfig_searchObjectOptions_keys = Object.keys(untrustedConfig_searchObjectOptions);
|
|
30155
|
+
for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
|
|
30156
|
+
const key = untrustedConfig_searchObjectOptions_keys[i];
|
|
30157
|
+
const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
|
|
30158
|
+
const referenceSearchObjectOptionsRepresentationValidationError = validate$k(untrustedConfig_searchObjectOptions_prop);
|
|
30159
|
+
if (referenceSearchObjectOptionsRepresentationValidationError === null) {
|
|
30160
|
+
if (untrustedConfig_searchObjectOptions_object !== undefined) {
|
|
30161
|
+
untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
|
|
30162
|
+
}
|
|
30163
|
+
}
|
|
30164
|
+
}
|
|
30165
|
+
if (untrustedConfig_searchObjectOptions_object !== undefined && Object.keys(untrustedConfig_searchObjectOptions_object).length >= 0) {
|
|
30166
|
+
config.searchObjectOptions = untrustedConfig_searchObjectOptions_object;
|
|
30167
|
+
}
|
|
30168
|
+
}
|
|
29677
30169
|
return config;
|
|
29678
30170
|
}
|
|
29679
30171
|
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
@@ -29747,75 +30239,6 @@ const getSearchResultsAdapterFactory = (luvio) => function UiApi__getSearchResul
|
|
|
29747
30239
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
|
|
29748
30240
|
};
|
|
29749
30241
|
|
|
29750
|
-
function validate$b(obj, path = 'SearchFilterInputRepresentation') {
|
|
29751
|
-
const v_error = (() => {
|
|
29752
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29753
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29754
|
-
}
|
|
29755
|
-
const obj_fieldPath = obj.fieldPath;
|
|
29756
|
-
const path_fieldPath = path + '.fieldPath';
|
|
29757
|
-
if (typeof obj_fieldPath !== 'string') {
|
|
29758
|
-
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
29759
|
-
}
|
|
29760
|
-
if (obj.objectApiName !== undefined) {
|
|
29761
|
-
const obj_objectApiName = obj.objectApiName;
|
|
29762
|
-
const path_objectApiName = path + '.objectApiName';
|
|
29763
|
-
if (typeof obj_objectApiName !== 'string') {
|
|
29764
|
-
return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
|
|
29765
|
-
}
|
|
29766
|
-
}
|
|
29767
|
-
const obj_operator = obj.operator;
|
|
29768
|
-
const path_operator = path + '.operator';
|
|
29769
|
-
if (typeof obj_operator !== 'string') {
|
|
29770
|
-
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
29771
|
-
}
|
|
29772
|
-
const obj_values = obj.values;
|
|
29773
|
-
const path_values = path + '.values';
|
|
29774
|
-
if (!ArrayIsArray(obj_values)) {
|
|
29775
|
-
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
29776
|
-
}
|
|
29777
|
-
for (let i = 0; i < obj_values.length; i++) {
|
|
29778
|
-
const obj_values_item = obj_values[i];
|
|
29779
|
-
const path_values_item = path_values + '[' + i + ']';
|
|
29780
|
-
let obj_values_item_union0 = null;
|
|
29781
|
-
const obj_values_item_union0_error = (() => {
|
|
29782
|
-
if (typeof obj_values_item !== 'string') {
|
|
29783
|
-
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
29784
|
-
}
|
|
29785
|
-
})();
|
|
29786
|
-
if (obj_values_item_union0_error != null) {
|
|
29787
|
-
obj_values_item_union0 = obj_values_item_union0_error.message;
|
|
29788
|
-
}
|
|
29789
|
-
let obj_values_item_union1 = null;
|
|
29790
|
-
const obj_values_item_union1_error = (() => {
|
|
29791
|
-
if (typeof obj_values_item !== 'number') {
|
|
29792
|
-
return new TypeError('Expected "number" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
29793
|
-
}
|
|
29794
|
-
})();
|
|
29795
|
-
if (obj_values_item_union1_error != null) {
|
|
29796
|
-
obj_values_item_union1 = obj_values_item_union1_error.message;
|
|
29797
|
-
}
|
|
29798
|
-
let obj_values_item_union2 = null;
|
|
29799
|
-
const obj_values_item_union2_error = (() => {
|
|
29800
|
-
if (typeof obj_values_item !== 'boolean') {
|
|
29801
|
-
return new TypeError('Expected "boolean" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
29802
|
-
}
|
|
29803
|
-
})();
|
|
29804
|
-
if (obj_values_item_union2_error != null) {
|
|
29805
|
-
obj_values_item_union2 = obj_values_item_union2_error.message;
|
|
29806
|
-
}
|
|
29807
|
-
if (obj_values_item_union0 && obj_values_item_union1 && obj_values_item_union2) {
|
|
29808
|
-
let message = 'Object doesn\'t match union (at "' + path_values_item + '")';
|
|
29809
|
-
message += '\n' + obj_values_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
29810
|
-
message += '\n' + obj_values_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
29811
|
-
message += '\n' + obj_values_item_union2.split('\n').map((line) => '\t' + line).join('\n');
|
|
29812
|
-
return new TypeError(message);
|
|
29813
|
-
}
|
|
29814
|
-
}
|
|
29815
|
-
})();
|
|
29816
|
-
return v_error === undefined ? null : v_error;
|
|
29817
|
-
}
|
|
29818
|
-
|
|
29819
30242
|
const TTL$5 = 200;
|
|
29820
30243
|
const VERSION$8 = "3102453bf10ea449d9665914d5f5febf";
|
|
29821
30244
|
function validate$a(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
@@ -29851,7 +30274,7 @@ function validate$a(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
|
29851
30274
|
}
|
|
29852
30275
|
const obj_keywordSearchResult = obj.keywordSearchResult;
|
|
29853
30276
|
const path_keywordSearchResult = path + '.keywordSearchResult';
|
|
29854
|
-
const referencepath_keywordSearchResultValidationError = validate$
|
|
30277
|
+
const referencepath_keywordSearchResultValidationError = validate$i(obj_keywordSearchResult, path_keywordSearchResult);
|
|
29855
30278
|
if (referencepath_keywordSearchResultValidationError !== null) {
|
|
29856
30279
|
let message = 'Object doesn\'t match SearchResultCollectionRepresentation (at "' + path_keywordSearchResult + '")\n';
|
|
29857
30280
|
message += referencepath_keywordSearchResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30006,7 +30429,7 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
30006
30429
|
const untrustedConfig_filters_array = [];
|
|
30007
30430
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
30008
30431
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
30009
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
30432
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$l(untrustedConfig_filters_item);
|
|
30010
30433
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
30011
30434
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
30012
30435
|
}
|
|
@@ -31699,7 +32122,7 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
31699
32122
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
31700
32123
|
let obj_recordTypeInfo_union0 = null;
|
|
31701
32124
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
31702
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
32125
|
+
const referencepath_recordTypeInfoValidationError = validate$1L(obj_recordTypeInfo, path_recordTypeInfo);
|
|
31703
32126
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
31704
32127
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
31705
32128
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -34928,4 +35351,4 @@ withDefaultLuvio((luvio) => {
|
|
|
34928
35351
|
});
|
|
34929
35352
|
|
|
34930
35353
|
export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$H as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$M as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$R as RecordRepresentationRepresentationType, TTL$x as RecordRepresentationTTL, RepresentationType$R as RecordRepresentationType, VERSION$18 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, deleteListInfo, deleteRecord, executeBatchRecordOperations, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListObjectInfo, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$T as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$G as ingestObjectInfo, ingest$A as ingestQuickActionExecutionRepresentation, ingest$L as ingestRecord, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$A as keyBuilderFromTypeRecordRepresentation, keyBuilder$1Q as keyBuilderObjectInfo, keyBuilder$1J as keyBuilderQuickActionExecutionRepresentation, keyBuilder$1$ as keyBuilderRecord, notifyListInfoUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
34931
|
-
// version: 1.
|
|
35354
|
+
// version: 1.252.0-eca5ba0ae
|