@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
|
@@ -228,7 +228,9 @@ function createLDSAdapterWithPrediction(adapter, luvio, name) {
|
|
|
228
228
|
const prefetcher = getPrefetcherFor(luvio);
|
|
229
229
|
const result = adapter(config, requestContext);
|
|
230
230
|
// only save requests with a valid config.
|
|
231
|
-
if (result !== null &&
|
|
231
|
+
if (result !== null &&
|
|
232
|
+
prefetcher !== undefined &&
|
|
233
|
+
!(requestContext && requestContext.excludeFromPredictions)) {
|
|
232
234
|
prefetcher.saveRequest({ adapterName: name, config });
|
|
233
235
|
}
|
|
234
236
|
return result;
|
|
@@ -598,8 +600,8 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
598
600
|
entry['__metadata'] = createLink$1(metadataKey);
|
|
599
601
|
}
|
|
600
602
|
|
|
601
|
-
const VERSION$
|
|
602
|
-
function validate$
|
|
603
|
+
const VERSION$2v = "623aa9ce3a11031e35faf5671a41746e";
|
|
604
|
+
function validate$21(obj, path = 'ListFilterByInfoRepresentation') {
|
|
603
605
|
const v_error = (() => {
|
|
604
606
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
605
607
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -614,51 +616,30 @@ function validate$1V(obj, path = 'ListColumnRepresentation') {
|
|
|
614
616
|
if (typeof obj_label !== 'string') {
|
|
615
617
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
616
618
|
}
|
|
617
|
-
const
|
|
618
|
-
const
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
if (typeof obj_lookupId !== 'string') {
|
|
622
|
-
return new TypeError('Expected "string" but received "' + typeof obj_lookupId + '" (at "' + path_lookupId + '")');
|
|
623
|
-
}
|
|
624
|
-
})();
|
|
625
|
-
if (obj_lookupId_union0_error != null) {
|
|
626
|
-
obj_lookupId_union0 = obj_lookupId_union0_error.message;
|
|
627
|
-
}
|
|
628
|
-
let obj_lookupId_union1 = null;
|
|
629
|
-
const obj_lookupId_union1_error = (() => {
|
|
630
|
-
if (obj_lookupId !== null) {
|
|
631
|
-
return new TypeError('Expected "null" but received "' + typeof obj_lookupId + '" (at "' + path_lookupId + '")');
|
|
632
|
-
}
|
|
633
|
-
})();
|
|
634
|
-
if (obj_lookupId_union1_error != null) {
|
|
635
|
-
obj_lookupId_union1 = obj_lookupId_union1_error.message;
|
|
636
|
-
}
|
|
637
|
-
if (obj_lookupId_union0 && obj_lookupId_union1) {
|
|
638
|
-
let message = 'Object doesn\'t match union (at "' + path_lookupId + '")';
|
|
639
|
-
message += '\n' + obj_lookupId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
640
|
-
message += '\n' + obj_lookupId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
641
|
-
return new TypeError(message);
|
|
619
|
+
const obj_operandLabels = obj.operandLabels;
|
|
620
|
+
const path_operandLabels = path + '.operandLabels';
|
|
621
|
+
if (!ArrayIsArray(obj_operandLabels)) {
|
|
622
|
+
return new TypeError('Expected "array" but received "' + typeof obj_operandLabels + '" (at "' + path_operandLabels + '")');
|
|
642
623
|
}
|
|
643
|
-
|
|
644
|
-
const
|
|
645
|
-
const
|
|
646
|
-
if (typeof
|
|
647
|
-
return new TypeError('Expected "
|
|
624
|
+
for (let i = 0; i < obj_operandLabels.length; i++) {
|
|
625
|
+
const obj_operandLabels_item = obj_operandLabels[i];
|
|
626
|
+
const path_operandLabels_item = path_operandLabels + '[' + i + ']';
|
|
627
|
+
if (typeof obj_operandLabels_item !== 'string') {
|
|
628
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operandLabels_item + '" (at "' + path_operandLabels_item + '")');
|
|
648
629
|
}
|
|
649
630
|
}
|
|
650
|
-
const
|
|
651
|
-
const
|
|
652
|
-
if (typeof
|
|
653
|
-
return new TypeError('Expected "
|
|
631
|
+
const obj_operator = obj.operator;
|
|
632
|
+
const path_operator = path + '.operator';
|
|
633
|
+
if (typeof obj_operator !== 'string') {
|
|
634
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
654
635
|
}
|
|
655
636
|
})();
|
|
656
637
|
return v_error === undefined ? null : v_error;
|
|
657
638
|
}
|
|
658
|
-
const select$
|
|
639
|
+
const select$36 = function ListFilterByInfoRepresentationSelect() {
|
|
659
640
|
return {
|
|
660
641
|
kind: 'Fragment',
|
|
661
|
-
version: VERSION$
|
|
642
|
+
version: VERSION$2v,
|
|
662
643
|
private: [],
|
|
663
644
|
selections: [
|
|
664
645
|
{
|
|
@@ -670,87 +651,99 @@ const select$35 = function ListColumnRepresentationSelect() {
|
|
|
670
651
|
kind: 'Scalar'
|
|
671
652
|
},
|
|
672
653
|
{
|
|
673
|
-
name: '
|
|
674
|
-
kind: 'Scalar'
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
name: 'searchable',
|
|
654
|
+
name: 'operandLabels',
|
|
678
655
|
kind: 'Scalar',
|
|
679
|
-
|
|
656
|
+
plural: true
|
|
680
657
|
},
|
|
681
658
|
{
|
|
682
|
-
name: '
|
|
659
|
+
name: 'operator',
|
|
683
660
|
kind: 'Scalar'
|
|
684
661
|
}
|
|
685
662
|
]
|
|
686
663
|
};
|
|
687
664
|
};
|
|
688
665
|
|
|
689
|
-
const VERSION$
|
|
690
|
-
function validate$
|
|
666
|
+
const VERSION$2u = "f98dc7dec10408a9648ef8e5b37002a3";
|
|
667
|
+
function validate$20(obj, path = 'ListInlineEditDetailsRepresentation') {
|
|
691
668
|
const v_error = (() => {
|
|
692
669
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
693
670
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
694
671
|
}
|
|
695
|
-
const
|
|
696
|
-
const
|
|
697
|
-
|
|
698
|
-
|
|
672
|
+
const obj_message = obj.message;
|
|
673
|
+
const path_message = path + '.message';
|
|
674
|
+
let obj_message_union0 = null;
|
|
675
|
+
const obj_message_union0_error = (() => {
|
|
676
|
+
if (typeof obj_message !== 'string') {
|
|
677
|
+
return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
|
|
678
|
+
}
|
|
679
|
+
})();
|
|
680
|
+
if (obj_message_union0_error != null) {
|
|
681
|
+
obj_message_union0 = obj_message_union0_error.message;
|
|
699
682
|
}
|
|
700
|
-
|
|
701
|
-
const
|
|
702
|
-
|
|
703
|
-
|
|
683
|
+
let obj_message_union1 = null;
|
|
684
|
+
const obj_message_union1_error = (() => {
|
|
685
|
+
if (obj_message !== null) {
|
|
686
|
+
return new TypeError('Expected "null" but received "' + typeof obj_message + '" (at "' + path_message + '")');
|
|
687
|
+
}
|
|
688
|
+
})();
|
|
689
|
+
if (obj_message_union1_error != null) {
|
|
690
|
+
obj_message_union1 = obj_message_union1_error.message;
|
|
704
691
|
}
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
692
|
+
if (obj_message_union0 && obj_message_union1) {
|
|
693
|
+
let message = 'Object doesn\'t match union (at "' + path_message + '")';
|
|
694
|
+
message += '\n' + obj_message_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
695
|
+
message += '\n' + obj_message_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
696
|
+
return new TypeError(message);
|
|
709
697
|
}
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
698
|
+
const obj_state = obj.state;
|
|
699
|
+
const path_state = path + '.state';
|
|
700
|
+
let obj_state_union0 = null;
|
|
701
|
+
const obj_state_union0_error = (() => {
|
|
702
|
+
if (typeof obj_state !== 'string') {
|
|
703
|
+
return new TypeError('Expected "string" but received "' + typeof obj_state + '" (at "' + path_state + '")');
|
|
715
704
|
}
|
|
705
|
+
})();
|
|
706
|
+
if (obj_state_union0_error != null) {
|
|
707
|
+
obj_state_union0 = obj_state_union0_error.message;
|
|
716
708
|
}
|
|
717
|
-
|
|
718
|
-
const
|
|
719
|
-
|
|
720
|
-
|
|
709
|
+
let obj_state_union1 = null;
|
|
710
|
+
const obj_state_union1_error = (() => {
|
|
711
|
+
if (obj_state !== null) {
|
|
712
|
+
return new TypeError('Expected "null" but received "' + typeof obj_state + '" (at "' + path_state + '")');
|
|
713
|
+
}
|
|
714
|
+
})();
|
|
715
|
+
if (obj_state_union1_error != null) {
|
|
716
|
+
obj_state_union1 = obj_state_union1_error.message;
|
|
717
|
+
}
|
|
718
|
+
if (obj_state_union0 && obj_state_union1) {
|
|
719
|
+
let message = 'Object doesn\'t match union (at "' + path_state + '")';
|
|
720
|
+
message += '\n' + obj_state_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
721
|
+
message += '\n' + obj_state_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
722
|
+
return new TypeError(message);
|
|
721
723
|
}
|
|
722
724
|
})();
|
|
723
725
|
return v_error === undefined ? null : v_error;
|
|
724
726
|
}
|
|
725
|
-
const select$
|
|
727
|
+
const select$35 = function ListInlineEditDetailsRepresentationSelect() {
|
|
726
728
|
return {
|
|
727
729
|
kind: 'Fragment',
|
|
728
|
-
version: VERSION$
|
|
730
|
+
version: VERSION$2u,
|
|
729
731
|
private: [],
|
|
730
732
|
selections: [
|
|
731
733
|
{
|
|
732
|
-
name: '
|
|
734
|
+
name: 'message',
|
|
733
735
|
kind: 'Scalar'
|
|
734
736
|
},
|
|
735
737
|
{
|
|
736
|
-
name: '
|
|
737
|
-
kind: 'Scalar'
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
name: 'operandLabels',
|
|
741
|
-
kind: 'Scalar',
|
|
742
|
-
plural: true
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
name: 'operator',
|
|
738
|
+
name: 'state',
|
|
746
739
|
kind: 'Scalar'
|
|
747
740
|
}
|
|
748
741
|
]
|
|
749
742
|
};
|
|
750
743
|
};
|
|
751
744
|
|
|
752
|
-
const VERSION$
|
|
753
|
-
function validate$
|
|
745
|
+
const VERSION$2t = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
746
|
+
function validate$1$(obj, path = 'ListReferenceRepresentation') {
|
|
754
747
|
const v_error = (() => {
|
|
755
748
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
756
749
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -820,10 +813,10 @@ function validate$1T(obj, path = 'ListReferenceRepresentation') {
|
|
|
820
813
|
})();
|
|
821
814
|
return v_error === undefined ? null : v_error;
|
|
822
815
|
}
|
|
823
|
-
const select$
|
|
816
|
+
const select$34 = function ListReferenceRepresentationSelect() {
|
|
824
817
|
return {
|
|
825
818
|
kind: 'Fragment',
|
|
826
|
-
version: VERSION$
|
|
819
|
+
version: VERSION$2t,
|
|
827
820
|
private: [],
|
|
828
821
|
selections: [
|
|
829
822
|
{
|
|
@@ -845,7 +838,7 @@ const select$33 = function ListReferenceRepresentationSelect() {
|
|
|
845
838
|
]
|
|
846
839
|
};
|
|
847
840
|
};
|
|
848
|
-
function equals$
|
|
841
|
+
function equals$18(existing, incoming) {
|
|
849
842
|
const existing_objectApiName = existing.objectApiName;
|
|
850
843
|
const incoming_objectApiName = incoming.objectApiName;
|
|
851
844
|
if (!(existing_objectApiName === incoming_objectApiName)) {
|
|
@@ -869,8 +862,8 @@ function equals$17(existing, incoming) {
|
|
|
869
862
|
return true;
|
|
870
863
|
}
|
|
871
864
|
|
|
872
|
-
const VERSION$
|
|
873
|
-
function validate$
|
|
865
|
+
const VERSION$2s = "f1519bef57e70ab7c5ef160dc5ff0c47";
|
|
866
|
+
function validate$1_(obj, path = 'ListInfoShareRepresentation') {
|
|
874
867
|
const v_error = (() => {
|
|
875
868
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
876
869
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -888,10 +881,10 @@ function validate$1S(obj, path = 'ListInfoShareRepresentation') {
|
|
|
888
881
|
})();
|
|
889
882
|
return v_error === undefined ? null : v_error;
|
|
890
883
|
}
|
|
891
|
-
const select$
|
|
884
|
+
const select$33 = function ListInfoShareRepresentationSelect() {
|
|
892
885
|
return {
|
|
893
886
|
kind: 'Fragment',
|
|
894
|
-
version: VERSION$
|
|
887
|
+
version: VERSION$2s,
|
|
895
888
|
private: [],
|
|
896
889
|
selections: [
|
|
897
890
|
{
|
|
@@ -906,8 +899,8 @@ const select$32 = function ListInfoShareRepresentationSelect() {
|
|
|
906
899
|
};
|
|
907
900
|
};
|
|
908
901
|
|
|
909
|
-
const VERSION$
|
|
910
|
-
function validate$
|
|
902
|
+
const VERSION$2r = "561657f32721ec1dac1601575b029640";
|
|
903
|
+
function validate$1Z(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
911
904
|
const v_error = (() => {
|
|
912
905
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
913
906
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -925,7 +918,7 @@ function validate$1R(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
|
925
918
|
for (let i = 0; i < obj_shares.length; i++) {
|
|
926
919
|
const obj_shares_item = obj_shares[i];
|
|
927
920
|
const path_shares_item = path_shares + '[' + i + ']';
|
|
928
|
-
const referencepath_shares_itemValidationError = validate$
|
|
921
|
+
const referencepath_shares_itemValidationError = validate$1_(obj_shares_item, path_shares_item);
|
|
929
922
|
if (referencepath_shares_itemValidationError !== null) {
|
|
930
923
|
let message = 'Object doesn\'t match ListInfoShareRepresentation (at "' + path_shares_item + '")\n';
|
|
931
924
|
message += referencepath_shares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -935,11 +928,11 @@ function validate$1R(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
|
935
928
|
})();
|
|
936
929
|
return v_error === undefined ? null : v_error;
|
|
937
930
|
}
|
|
938
|
-
const select$
|
|
939
|
-
const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$
|
|
931
|
+
const select$32 = function ListInfoShareCategoryRepresentationSelect() {
|
|
932
|
+
const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$33();
|
|
940
933
|
return {
|
|
941
934
|
kind: 'Fragment',
|
|
942
|
-
version: VERSION$
|
|
935
|
+
version: VERSION$2r,
|
|
943
936
|
private: [],
|
|
944
937
|
selections: [
|
|
945
938
|
{
|
|
@@ -956,8 +949,8 @@ const select$31 = function ListInfoShareCategoryRepresentationSelect() {
|
|
|
956
949
|
};
|
|
957
950
|
};
|
|
958
951
|
|
|
959
|
-
const VERSION$
|
|
960
|
-
function validate$
|
|
952
|
+
const VERSION$2q = "32def9b631252c12b91a8209c1f49f5a";
|
|
953
|
+
function validate$1Y(obj, path = 'ListOrderByInfoRepresentation') {
|
|
961
954
|
const v_error = (() => {
|
|
962
955
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
963
956
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1001,10 +994,10 @@ function validate$1Q(obj, path = 'ListOrderByInfoRepresentation') {
|
|
|
1001
994
|
})();
|
|
1002
995
|
return v_error === undefined ? null : v_error;
|
|
1003
996
|
}
|
|
1004
|
-
const select$
|
|
997
|
+
const select$31 = function ListOrderByInfoRepresentationSelect() {
|
|
1005
998
|
return {
|
|
1006
999
|
kind: 'Fragment',
|
|
1007
|
-
version: VERSION$
|
|
1000
|
+
version: VERSION$2q,
|
|
1008
1001
|
private: [],
|
|
1009
1002
|
selections: [
|
|
1010
1003
|
{
|
|
@@ -1022,7 +1015,7 @@ const select$30 = function ListOrderByInfoRepresentationSelect() {
|
|
|
1022
1015
|
]
|
|
1023
1016
|
};
|
|
1024
1017
|
};
|
|
1025
|
-
function equals$
|
|
1018
|
+
function equals$17(existing, incoming) {
|
|
1026
1019
|
const existing_isAscending = existing.isAscending;
|
|
1027
1020
|
const incoming_isAscending = incoming.isAscending;
|
|
1028
1021
|
if (!(existing_isAscending === incoming_isAscending)) {
|
|
@@ -1041,8 +1034,8 @@ function equals$16(existing, incoming) {
|
|
|
1041
1034
|
return true;
|
|
1042
1035
|
}
|
|
1043
1036
|
|
|
1044
|
-
const VERSION$
|
|
1045
|
-
function validate$
|
|
1037
|
+
const VERSION$2p = "2634258f216db34315c06d759a35676d";
|
|
1038
|
+
function validate$1X(obj, path = 'ListScopeEntityRepresentation') {
|
|
1046
1039
|
const v_error = (() => {
|
|
1047
1040
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1048
1041
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1060,10 +1053,10 @@ function validate$1P(obj, path = 'ListScopeEntityRepresentation') {
|
|
|
1060
1053
|
})();
|
|
1061
1054
|
return v_error === undefined ? null : v_error;
|
|
1062
1055
|
}
|
|
1063
|
-
const select$
|
|
1056
|
+
const select$30 = function ListScopeEntityRepresentationSelect() {
|
|
1064
1057
|
return {
|
|
1065
1058
|
kind: 'Fragment',
|
|
1066
|
-
version: VERSION$
|
|
1059
|
+
version: VERSION$2p,
|
|
1067
1060
|
private: [],
|
|
1068
1061
|
selections: [
|
|
1069
1062
|
{
|
|
@@ -1078,8 +1071,8 @@ const select$2$ = function ListScopeEntityRepresentationSelect() {
|
|
|
1078
1071
|
};
|
|
1079
1072
|
};
|
|
1080
1073
|
|
|
1081
|
-
const VERSION$
|
|
1082
|
-
function validate$
|
|
1074
|
+
const VERSION$2o = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
1075
|
+
function validate$1W(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
1083
1076
|
const v_error = (() => {
|
|
1084
1077
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1085
1078
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1102,10 +1095,10 @@ function validate$1O(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
|
1102
1095
|
})();
|
|
1103
1096
|
return v_error === undefined ? null : v_error;
|
|
1104
1097
|
}
|
|
1105
|
-
const select$
|
|
1098
|
+
const select$2$ = function ListScopeRelatedEntityRepresentationSelect() {
|
|
1106
1099
|
return {
|
|
1107
1100
|
kind: 'Fragment',
|
|
1108
|
-
version: VERSION$
|
|
1101
|
+
version: VERSION$2o,
|
|
1109
1102
|
private: [],
|
|
1110
1103
|
selections: [
|
|
1111
1104
|
{
|
|
@@ -1124,8 +1117,8 @@ const select$2_ = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
1124
1117
|
};
|
|
1125
1118
|
};
|
|
1126
1119
|
|
|
1127
|
-
const VERSION$
|
|
1128
|
-
function validate$
|
|
1120
|
+
const VERSION$2n = "2fe9814e7124b47f59da585483c1b3f9";
|
|
1121
|
+
function validate$1V(obj, path = 'ListScopeRepresentation') {
|
|
1129
1122
|
const v_error = (() => {
|
|
1130
1123
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1131
1124
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1139,7 +1132,7 @@ function validate$1N(obj, path = 'ListScopeRepresentation') {
|
|
|
1139
1132
|
const path_entity = path + '.entity';
|
|
1140
1133
|
let obj_entity_union0 = null;
|
|
1141
1134
|
const obj_entity_union0_error = (() => {
|
|
1142
|
-
const referencepath_entityValidationError = validate$
|
|
1135
|
+
const referencepath_entityValidationError = validate$1X(obj_entity, path_entity);
|
|
1143
1136
|
if (referencepath_entityValidationError !== null) {
|
|
1144
1137
|
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
1145
1138
|
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1194,7 +1187,7 @@ function validate$1N(obj, path = 'ListScopeRepresentation') {
|
|
|
1194
1187
|
const path_relatedEntity = path + '.relatedEntity';
|
|
1195
1188
|
let obj_relatedEntity_union0 = null;
|
|
1196
1189
|
const obj_relatedEntity_union0_error = (() => {
|
|
1197
|
-
const referencepath_relatedEntityValidationError = validate$
|
|
1190
|
+
const referencepath_relatedEntityValidationError = validate$1W(obj_relatedEntity, path_relatedEntity);
|
|
1198
1191
|
if (referencepath_relatedEntityValidationError !== null) {
|
|
1199
1192
|
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
1200
1193
|
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1222,12 +1215,12 @@ function validate$1N(obj, path = 'ListScopeRepresentation') {
|
|
|
1222
1215
|
})();
|
|
1223
1216
|
return v_error === undefined ? null : v_error;
|
|
1224
1217
|
}
|
|
1225
|
-
const select$
|
|
1226
|
-
const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$
|
|
1227
|
-
const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$
|
|
1218
|
+
const select$2_ = function ListScopeRepresentationSelect() {
|
|
1219
|
+
const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$30();
|
|
1220
|
+
const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$2$();
|
|
1228
1221
|
return {
|
|
1229
1222
|
kind: 'Fragment',
|
|
1230
|
-
version: VERSION$
|
|
1223
|
+
version: VERSION$2n,
|
|
1231
1224
|
private: [],
|
|
1232
1225
|
selections: [
|
|
1233
1226
|
{
|
|
@@ -1254,8 +1247,8 @@ const select$2Z = function ListScopeRepresentationSelect() {
|
|
|
1254
1247
|
};
|
|
1255
1248
|
};
|
|
1256
1249
|
|
|
1257
|
-
const VERSION$
|
|
1258
|
-
function validate$
|
|
1250
|
+
const VERSION$2m = "6506134f4d72fdfa349fe60ef1af2413";
|
|
1251
|
+
function validate$1U(obj, path = 'ListUserPreferenceRepresentation') {
|
|
1259
1252
|
const v_error = (() => {
|
|
1260
1253
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1261
1254
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1291,10 +1284,10 @@ function validate$1M(obj, path = 'ListUserPreferenceRepresentation') {
|
|
|
1291
1284
|
})();
|
|
1292
1285
|
return v_error === undefined ? null : v_error;
|
|
1293
1286
|
}
|
|
1294
|
-
const select$
|
|
1287
|
+
const select$2Z = function ListUserPreferenceRepresentationSelect() {
|
|
1295
1288
|
return {
|
|
1296
1289
|
kind: 'Fragment',
|
|
1297
|
-
version: VERSION$
|
|
1290
|
+
version: VERSION$2m,
|
|
1298
1291
|
private: [],
|
|
1299
1292
|
selections: [
|
|
1300
1293
|
{
|
|
@@ -1311,9 +1304,177 @@ const select$2Y = function ListUserPreferenceRepresentationSelect() {
|
|
|
1311
1304
|
};
|
|
1312
1305
|
};
|
|
1313
1306
|
|
|
1307
|
+
function validate$1T(obj, path = 'ListColumnInlineEditAttributesRepresentation') {
|
|
1308
|
+
const v_error = (() => {
|
|
1309
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1310
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1311
|
+
}
|
|
1312
|
+
const obj_editable = obj.editable;
|
|
1313
|
+
const path_editable = path + '.editable';
|
|
1314
|
+
if (typeof obj_editable !== 'boolean') {
|
|
1315
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_editable + '" (at "' + path_editable + '")');
|
|
1316
|
+
}
|
|
1317
|
+
const obj_required = obj.required;
|
|
1318
|
+
const path_required = path + '.required';
|
|
1319
|
+
if (typeof obj_required !== 'boolean') {
|
|
1320
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_required + '" (at "' + path_required + '")');
|
|
1321
|
+
}
|
|
1322
|
+
})();
|
|
1323
|
+
return v_error === undefined ? null : v_error;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
function validate$1S(obj, path = 'ListColumnInlineEditAttributesRepresentationWrapper') {
|
|
1327
|
+
const v_error = (() => {
|
|
1328
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1329
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1330
|
+
}
|
|
1331
|
+
const obj_keys = ObjectKeys(obj);
|
|
1332
|
+
for (let i = 0; i < obj_keys.length; i++) {
|
|
1333
|
+
const key = obj_keys[i];
|
|
1334
|
+
const obj_prop = obj[key];
|
|
1335
|
+
const path_prop = path + '["' + key + '"]';
|
|
1336
|
+
const referencepath_propValidationError = validate$1T(obj_prop, path_prop);
|
|
1337
|
+
if (referencepath_propValidationError !== null) {
|
|
1338
|
+
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentation (at "' + path_prop + '")\n';
|
|
1339
|
+
message += referencepath_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1340
|
+
return new TypeError(message);
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
})();
|
|
1344
|
+
return v_error === undefined ? null : v_error;
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
const VERSION$2l = "8aff6b0baf2e60a237e860236c4e1b70";
|
|
1348
|
+
function validate$1R(obj, path = 'ListColumnRepresentation') {
|
|
1349
|
+
const v_error = (() => {
|
|
1350
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1351
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1352
|
+
}
|
|
1353
|
+
const obj_fieldApiName = obj.fieldApiName;
|
|
1354
|
+
const path_fieldApiName = path + '.fieldApiName';
|
|
1355
|
+
if (typeof obj_fieldApiName !== 'string') {
|
|
1356
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldApiName + '" (at "' + path_fieldApiName + '")');
|
|
1357
|
+
}
|
|
1358
|
+
if (obj.inlineEditAttributes !== undefined) {
|
|
1359
|
+
const obj_inlineEditAttributes = obj.inlineEditAttributes;
|
|
1360
|
+
const path_inlineEditAttributes = path + '.inlineEditAttributes';
|
|
1361
|
+
let obj_inlineEditAttributes_union0 = null;
|
|
1362
|
+
const obj_inlineEditAttributes_union0_error = (() => {
|
|
1363
|
+
const referencepath_inlineEditAttributesValidationError = validate$1S(obj_inlineEditAttributes, path_inlineEditAttributes);
|
|
1364
|
+
if (referencepath_inlineEditAttributesValidationError !== null) {
|
|
1365
|
+
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentationWrapper (at "' + path_inlineEditAttributes + '")\n';
|
|
1366
|
+
message += referencepath_inlineEditAttributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1367
|
+
return new TypeError(message);
|
|
1368
|
+
}
|
|
1369
|
+
})();
|
|
1370
|
+
if (obj_inlineEditAttributes_union0_error != null) {
|
|
1371
|
+
obj_inlineEditAttributes_union0 = obj_inlineEditAttributes_union0_error.message;
|
|
1372
|
+
}
|
|
1373
|
+
let obj_inlineEditAttributes_union1 = null;
|
|
1374
|
+
const obj_inlineEditAttributes_union1_error = (() => {
|
|
1375
|
+
if (obj_inlineEditAttributes !== null) {
|
|
1376
|
+
return new TypeError('Expected "null" but received "' + typeof obj_inlineEditAttributes + '" (at "' + path_inlineEditAttributes + '")');
|
|
1377
|
+
}
|
|
1378
|
+
})();
|
|
1379
|
+
if (obj_inlineEditAttributes_union1_error != null) {
|
|
1380
|
+
obj_inlineEditAttributes_union1 = obj_inlineEditAttributes_union1_error.message;
|
|
1381
|
+
}
|
|
1382
|
+
if (obj_inlineEditAttributes_union0 && obj_inlineEditAttributes_union1) {
|
|
1383
|
+
let message = 'Object doesn\'t match union (at "' + path_inlineEditAttributes + '")';
|
|
1384
|
+
message += '\n' + obj_inlineEditAttributes_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1385
|
+
message += '\n' + obj_inlineEditAttributes_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1386
|
+
return new TypeError(message);
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
const obj_label = obj.label;
|
|
1390
|
+
const path_label = path + '.label';
|
|
1391
|
+
if (typeof obj_label !== 'string') {
|
|
1392
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
1393
|
+
}
|
|
1394
|
+
const obj_lookupId = obj.lookupId;
|
|
1395
|
+
const path_lookupId = path + '.lookupId';
|
|
1396
|
+
let obj_lookupId_union0 = null;
|
|
1397
|
+
const obj_lookupId_union0_error = (() => {
|
|
1398
|
+
if (typeof obj_lookupId !== 'string') {
|
|
1399
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lookupId + '" (at "' + path_lookupId + '")');
|
|
1400
|
+
}
|
|
1401
|
+
})();
|
|
1402
|
+
if (obj_lookupId_union0_error != null) {
|
|
1403
|
+
obj_lookupId_union0 = obj_lookupId_union0_error.message;
|
|
1404
|
+
}
|
|
1405
|
+
let obj_lookupId_union1 = null;
|
|
1406
|
+
const obj_lookupId_union1_error = (() => {
|
|
1407
|
+
if (obj_lookupId !== null) {
|
|
1408
|
+
return new TypeError('Expected "null" but received "' + typeof obj_lookupId + '" (at "' + path_lookupId + '")');
|
|
1409
|
+
}
|
|
1410
|
+
})();
|
|
1411
|
+
if (obj_lookupId_union1_error != null) {
|
|
1412
|
+
obj_lookupId_union1 = obj_lookupId_union1_error.message;
|
|
1413
|
+
}
|
|
1414
|
+
if (obj_lookupId_union0 && obj_lookupId_union1) {
|
|
1415
|
+
let message = 'Object doesn\'t match union (at "' + path_lookupId + '")';
|
|
1416
|
+
message += '\n' + obj_lookupId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1417
|
+
message += '\n' + obj_lookupId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1418
|
+
return new TypeError(message);
|
|
1419
|
+
}
|
|
1420
|
+
if (obj.searchable !== undefined) {
|
|
1421
|
+
const obj_searchable = obj.searchable;
|
|
1422
|
+
const path_searchable = path + '.searchable';
|
|
1423
|
+
if (typeof obj_searchable !== 'boolean') {
|
|
1424
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_searchable + '" (at "' + path_searchable + '")');
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
const obj_sortable = obj.sortable;
|
|
1428
|
+
const path_sortable = path + '.sortable';
|
|
1429
|
+
if (typeof obj_sortable !== 'boolean') {
|
|
1430
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_sortable + '" (at "' + path_sortable + '")');
|
|
1431
|
+
}
|
|
1432
|
+
})();
|
|
1433
|
+
return v_error === undefined ? null : v_error;
|
|
1434
|
+
}
|
|
1435
|
+
const RepresentationType$_ = 'ListColumnRepresentation';
|
|
1436
|
+
function normalize$T(input, existing, path, luvio, store, timestamp) {
|
|
1437
|
+
return input;
|
|
1438
|
+
}
|
|
1439
|
+
const select$2Y = function ListColumnRepresentationSelect() {
|
|
1440
|
+
return {
|
|
1441
|
+
kind: 'Fragment',
|
|
1442
|
+
version: VERSION$2l,
|
|
1443
|
+
private: [],
|
|
1444
|
+
opaque: true
|
|
1445
|
+
};
|
|
1446
|
+
};
|
|
1447
|
+
function equals$16(existing, incoming) {
|
|
1448
|
+
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
1449
|
+
return false;
|
|
1450
|
+
}
|
|
1451
|
+
return true;
|
|
1452
|
+
}
|
|
1453
|
+
const ingest$1X = function ListColumnRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1454
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
1455
|
+
const validateError = validate$1R(input);
|
|
1456
|
+
if (validateError !== null) {
|
|
1457
|
+
throw validateError;
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
const key = path.fullPath;
|
|
1461
|
+
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
1462
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$T, "UiApi", VERSION$2l, RepresentationType$_, equals$16);
|
|
1463
|
+
return createLink$1(key);
|
|
1464
|
+
};
|
|
1465
|
+
function getTypeCacheKeys$1_(rootKeySet, luvio, input, fullPathFactory) {
|
|
1466
|
+
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
1467
|
+
const rootKey = fullPathFactory();
|
|
1468
|
+
rootKeySet.set(rootKey, {
|
|
1469
|
+
namespace: keyPrefix,
|
|
1470
|
+
representationName: RepresentationType$_,
|
|
1471
|
+
mergeable: false
|
|
1472
|
+
});
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1314
1475
|
const TTL$E = 900000;
|
|
1315
|
-
const VERSION$2k = "
|
|
1316
|
-
function validate$
|
|
1476
|
+
const VERSION$2k = "178c8b58f78e2720fe8846a667c7b294";
|
|
1477
|
+
function validate$1Q(obj, path = 'ListInfoRepresentation') {
|
|
1317
1478
|
const v_error = (() => {
|
|
1318
1479
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1319
1480
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1341,11 +1502,8 @@ function validate$1L(obj, path = 'ListInfoRepresentation') {
|
|
|
1341
1502
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
1342
1503
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
1343
1504
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
let message = 'Object doesn\'t match ListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
1347
|
-
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1348
|
-
return new TypeError(message);
|
|
1505
|
+
if (typeof obj_displayColumns_item !== 'object') {
|
|
1506
|
+
return new TypeError('Expected "object" but received "' + typeof obj_displayColumns_item + '" (at "' + path_displayColumns_item + '")');
|
|
1349
1507
|
}
|
|
1350
1508
|
}
|
|
1351
1509
|
const obj_eTag = obj.eTag;
|
|
@@ -1387,13 +1545,44 @@ function validate$1L(obj, path = 'ListInfoRepresentation') {
|
|
|
1387
1545
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
1388
1546
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
1389
1547
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
1390
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
1548
|
+
const referencepath_filteredByInfo_itemValidationError = validate$21(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
1391
1549
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
1392
1550
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
1393
1551
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1394
1552
|
return new TypeError(message);
|
|
1395
1553
|
}
|
|
1396
1554
|
}
|
|
1555
|
+
if (obj.inlineEditDetails !== undefined) {
|
|
1556
|
+
const obj_inlineEditDetails = obj.inlineEditDetails;
|
|
1557
|
+
const path_inlineEditDetails = path + '.inlineEditDetails';
|
|
1558
|
+
let obj_inlineEditDetails_union0 = null;
|
|
1559
|
+
const obj_inlineEditDetails_union0_error = (() => {
|
|
1560
|
+
const referencepath_inlineEditDetailsValidationError = validate$20(obj_inlineEditDetails, path_inlineEditDetails);
|
|
1561
|
+
if (referencepath_inlineEditDetailsValidationError !== null) {
|
|
1562
|
+
let message = 'Object doesn\'t match ListInlineEditDetailsRepresentation (at "' + path_inlineEditDetails + '")\n';
|
|
1563
|
+
message += referencepath_inlineEditDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1564
|
+
return new TypeError(message);
|
|
1565
|
+
}
|
|
1566
|
+
})();
|
|
1567
|
+
if (obj_inlineEditDetails_union0_error != null) {
|
|
1568
|
+
obj_inlineEditDetails_union0 = obj_inlineEditDetails_union0_error.message;
|
|
1569
|
+
}
|
|
1570
|
+
let obj_inlineEditDetails_union1 = null;
|
|
1571
|
+
const obj_inlineEditDetails_union1_error = (() => {
|
|
1572
|
+
if (obj_inlineEditDetails !== null) {
|
|
1573
|
+
return new TypeError('Expected "null" but received "' + typeof obj_inlineEditDetails + '" (at "' + path_inlineEditDetails + '")');
|
|
1574
|
+
}
|
|
1575
|
+
})();
|
|
1576
|
+
if (obj_inlineEditDetails_union1_error != null) {
|
|
1577
|
+
obj_inlineEditDetails_union1 = obj_inlineEditDetails_union1_error.message;
|
|
1578
|
+
}
|
|
1579
|
+
if (obj_inlineEditDetails_union0 && obj_inlineEditDetails_union1) {
|
|
1580
|
+
let message = 'Object doesn\'t match union (at "' + path_inlineEditDetails + '")';
|
|
1581
|
+
message += '\n' + obj_inlineEditDetails_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1582
|
+
message += '\n' + obj_inlineEditDetails_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1583
|
+
return new TypeError(message);
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1397
1586
|
const obj_label = obj.label;
|
|
1398
1587
|
const path_label = path + '.label';
|
|
1399
1588
|
let obj_label_union0 = null;
|
|
@@ -1422,7 +1611,7 @@ function validate$1L(obj, path = 'ListInfoRepresentation') {
|
|
|
1422
1611
|
}
|
|
1423
1612
|
const obj_listReference = obj.listReference;
|
|
1424
1613
|
const path_listReference = path + '.listReference';
|
|
1425
|
-
const referencepath_listReferenceValidationError = validate$
|
|
1614
|
+
const referencepath_listReferenceValidationError = validate$1$(obj_listReference, path_listReference);
|
|
1426
1615
|
if (referencepath_listReferenceValidationError !== null) {
|
|
1427
1616
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
1428
1617
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1437,7 +1626,7 @@ function validate$1L(obj, path = 'ListInfoRepresentation') {
|
|
|
1437
1626
|
for (let i = 0; i < obj_listShares.length; i++) {
|
|
1438
1627
|
const obj_listShares_item = obj_listShares[i];
|
|
1439
1628
|
const path_listShares_item = path_listShares + '[' + i + ']';
|
|
1440
|
-
const referencepath_listShares_itemValidationError = validate$
|
|
1629
|
+
const referencepath_listShares_itemValidationError = validate$1Z(obj_listShares_item, path_listShares_item);
|
|
1441
1630
|
if (referencepath_listShares_itemValidationError !== null) {
|
|
1442
1631
|
let message = 'Object doesn\'t match ListInfoShareCategoryRepresentation (at "' + path_listShares_item + '")\n';
|
|
1443
1632
|
message += referencepath_listShares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1467,7 +1656,7 @@ function validate$1L(obj, path = 'ListInfoRepresentation') {
|
|
|
1467
1656
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
1468
1657
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
1469
1658
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
1470
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
1659
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1Y(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
1471
1660
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
1472
1661
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
1473
1662
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1479,7 +1668,7 @@ function validate$1L(obj, path = 'ListInfoRepresentation') {
|
|
|
1479
1668
|
const path_scope = path + '.scope';
|
|
1480
1669
|
let obj_scope_union0 = null;
|
|
1481
1670
|
const obj_scope_union0_error = (() => {
|
|
1482
|
-
const referencepath_scopeValidationError = validate$
|
|
1671
|
+
const referencepath_scopeValidationError = validate$1V(obj_scope, path_scope);
|
|
1483
1672
|
if (referencepath_scopeValidationError !== null) {
|
|
1484
1673
|
let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
|
|
1485
1674
|
message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1519,7 +1708,7 @@ function validate$1L(obj, path = 'ListInfoRepresentation') {
|
|
|
1519
1708
|
}
|
|
1520
1709
|
const obj_userPreferences = obj.userPreferences;
|
|
1521
1710
|
const path_userPreferences = path + '.userPreferences';
|
|
1522
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
1711
|
+
const referencepath_userPreferencesValidationError = validate$1U(obj_userPreferences, path_userPreferences);
|
|
1523
1712
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
1524
1713
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
1525
1714
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1551,16 +1740,32 @@ function keyBuilderFromType$C(luvio, object) {
|
|
|
1551
1740
|
return keyBuilder$3c(luvio, keyParams);
|
|
1552
1741
|
}
|
|
1553
1742
|
function normalize$S(input, existing, path, luvio, store, timestamp) {
|
|
1743
|
+
const input_displayColumns = input.displayColumns;
|
|
1744
|
+
const input_displayColumns_id = path.fullPath + '__displayColumns';
|
|
1745
|
+
for (let i = 0; i < input_displayColumns.length; i++) {
|
|
1746
|
+
const input_displayColumns_item = input_displayColumns[i];
|
|
1747
|
+
let input_displayColumns_item_id = input_displayColumns_id + '__' + i;
|
|
1748
|
+
input_displayColumns[i] = ingest$1X(input_displayColumns_item, {
|
|
1749
|
+
fullPath: input_displayColumns_item_id,
|
|
1750
|
+
propertyName: i,
|
|
1751
|
+
parent: {
|
|
1752
|
+
data: input,
|
|
1753
|
+
key: path.fullPath,
|
|
1754
|
+
existing: existing,
|
|
1755
|
+
},
|
|
1756
|
+
ttl: path.ttl
|
|
1757
|
+
}, luvio, store, timestamp);
|
|
1758
|
+
}
|
|
1554
1759
|
return input;
|
|
1555
1760
|
}
|
|
1556
1761
|
const select$2X = function ListInfoRepresentationSelect() {
|
|
1557
|
-
const { selections:
|
|
1558
|
-
const { selections:
|
|
1559
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
1560
|
-
const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$
|
|
1561
|
-
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$
|
|
1562
|
-
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$
|
|
1563
|
-
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$
|
|
1762
|
+
const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$36();
|
|
1763
|
+
const { selections: ListInlineEditDetailsRepresentation__selections, opaque: ListInlineEditDetailsRepresentation__opaque, } = select$35();
|
|
1764
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$34();
|
|
1765
|
+
const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$32();
|
|
1766
|
+
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$31();
|
|
1767
|
+
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$2_();
|
|
1768
|
+
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$2Z();
|
|
1564
1769
|
return {
|
|
1565
1770
|
kind: 'Fragment',
|
|
1566
1771
|
version: VERSION$2k,
|
|
@@ -1582,9 +1787,9 @@ const select$2X = function ListInfoRepresentationSelect() {
|
|
|
1582
1787
|
},
|
|
1583
1788
|
{
|
|
1584
1789
|
name: 'displayColumns',
|
|
1585
|
-
kind: '
|
|
1790
|
+
kind: 'Link',
|
|
1586
1791
|
plural: true,
|
|
1587
|
-
|
|
1792
|
+
fragment: select$2Y()
|
|
1588
1793
|
},
|
|
1589
1794
|
{
|
|
1590
1795
|
name: 'filterLogicString',
|
|
@@ -1596,6 +1801,13 @@ const select$2X = function ListInfoRepresentationSelect() {
|
|
|
1596
1801
|
plural: true,
|
|
1597
1802
|
selections: ListFilterByInfoRepresentation__selections
|
|
1598
1803
|
},
|
|
1804
|
+
{
|
|
1805
|
+
name: 'inlineEditDetails',
|
|
1806
|
+
kind: 'Object',
|
|
1807
|
+
nullable: true,
|
|
1808
|
+
selections: ListInlineEditDetailsRepresentation__selections,
|
|
1809
|
+
required: false
|
|
1810
|
+
},
|
|
1599
1811
|
{
|
|
1600
1812
|
name: 'label',
|
|
1601
1813
|
kind: 'Scalar'
|
|
@@ -1664,7 +1876,7 @@ function equals$15(existing, incoming) {
|
|
|
1664
1876
|
}
|
|
1665
1877
|
const ingest$1W = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1666
1878
|
if (process.env.NODE_ENV !== 'production') {
|
|
1667
|
-
const validateError = validate$
|
|
1879
|
+
const validateError = validate$1Q(input);
|
|
1668
1880
|
if (validateError !== null) {
|
|
1669
1881
|
throw validateError;
|
|
1670
1882
|
}
|
|
@@ -1682,6 +1894,10 @@ function getTypeCacheKeys$1Z(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1682
1894
|
representationName: RepresentationType$Z,
|
|
1683
1895
|
mergeable: false
|
|
1684
1896
|
});
|
|
1897
|
+
const input_displayColumns_length = input.displayColumns.length;
|
|
1898
|
+
for (let i = 0; i < input_displayColumns_length; i++) {
|
|
1899
|
+
getTypeCacheKeys$1_(rootKeySet, luvio, input.displayColumns[i], () => '');
|
|
1900
|
+
}
|
|
1685
1901
|
}
|
|
1686
1902
|
const notifyUpdateAvailableFactory$4 = (luvio) => {
|
|
1687
1903
|
return function notifyListInfoUpdateAvailable(configs) {
|
|
@@ -1744,7 +1960,7 @@ function toSortedStringArray(value) {
|
|
|
1744
1960
|
}
|
|
1745
1961
|
|
|
1746
1962
|
const VERSION$2j = "d1e589a127fb1060c89070cdb6f500b2";
|
|
1747
|
-
function validate$
|
|
1963
|
+
function validate$1P(obj, path = 'RecordTypeInfoRepresentation') {
|
|
1748
1964
|
const v_error = (() => {
|
|
1749
1965
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1750
1966
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1836,7 +2052,7 @@ function equals$14(existing, incoming) {
|
|
|
1836
2052
|
}
|
|
1837
2053
|
|
|
1838
2054
|
const VERSION$2i = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
1839
|
-
function validate$
|
|
2055
|
+
function validate$1O(obj, path = 'FieldValueRepresentation') {
|
|
1840
2056
|
const v_error = (() => {
|
|
1841
2057
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1842
2058
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1983,7 +2199,7 @@ function equals$13(existing, incoming) {
|
|
|
1983
2199
|
}
|
|
1984
2200
|
const ingest$1V = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1985
2201
|
if (process.env.NODE_ENV !== 'production') {
|
|
1986
|
-
const validateError = validate$
|
|
2202
|
+
const validateError = validate$1O(input);
|
|
1987
2203
|
if (validateError !== null) {
|
|
1988
2204
|
throw validateError;
|
|
1989
2205
|
}
|
|
@@ -2034,7 +2250,7 @@ const getTypeCacheKeys$1X = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
2034
2250
|
|
|
2035
2251
|
const TTL$D = 120000;
|
|
2036
2252
|
const VERSION$2h = "79cb5ac9f44542f683d00245fdfe500d";
|
|
2037
|
-
function validate$
|
|
2253
|
+
function validate$1N(obj, path = 'RecordCollectionRepresentation') {
|
|
2038
2254
|
const v_error = (() => {
|
|
2039
2255
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2040
2256
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2307,7 +2523,7 @@ function equals$12(existing, incoming) {
|
|
|
2307
2523
|
}
|
|
2308
2524
|
const ingest$1U = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2309
2525
|
if (process.env.NODE_ENV !== 'production') {
|
|
2310
|
-
const validateError = validate$
|
|
2526
|
+
const validateError = validate$1N(input);
|
|
2311
2527
|
if (validateError !== null) {
|
|
2312
2528
|
throw validateError;
|
|
2313
2529
|
}
|
|
@@ -2343,7 +2559,7 @@ const keyBuilderFromType$B = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
2343
2559
|
|
|
2344
2560
|
const TTL$C = 30000;
|
|
2345
2561
|
const VERSION$2g = "98c5b18512e48ca8d28727549507e4ba";
|
|
2346
|
-
function validate$
|
|
2562
|
+
function validate$1M(obj, path = 'RecordRepresentation') {
|
|
2347
2563
|
const v_error = (() => {
|
|
2348
2564
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2349
2565
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2473,7 +2689,7 @@ function validate$1H(obj, path = 'RecordRepresentation') {
|
|
|
2473
2689
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
2474
2690
|
let obj_recordTypeInfo_union0 = null;
|
|
2475
2691
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
2476
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
2692
|
+
const referencepath_recordTypeInfoValidationError = validate$1P(obj_recordTypeInfo, path_recordTypeInfo);
|
|
2477
2693
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
2478
2694
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
2479
2695
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5166,7 +5382,7 @@ function normalize$P(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
5166
5382
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
5167
5383
|
return (input, path, luvio, store, timestamp) => {
|
|
5168
5384
|
if (process.env.NODE_ENV !== 'production') {
|
|
5169
|
-
const validateError = validate$
|
|
5385
|
+
const validateError = validate$1O(input);
|
|
5170
5386
|
if (validateError !== null) {
|
|
5171
5387
|
throw validateError;
|
|
5172
5388
|
}
|
|
@@ -5259,7 +5475,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
5259
5475
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
5260
5476
|
return (input, path, luvio, store, timestamp) => {
|
|
5261
5477
|
if (process.env.NODE_ENV !== 'production') {
|
|
5262
|
-
const validateError = validate$
|
|
5478
|
+
const validateError = validate$1M(input);
|
|
5263
5479
|
if (validateError !== null) {
|
|
5264
5480
|
throw validateError;
|
|
5265
5481
|
}
|
|
@@ -6219,7 +6435,7 @@ function revertPaginationOptimization(variables) {
|
|
|
6219
6435
|
|
|
6220
6436
|
const TTL$B = 30000;
|
|
6221
6437
|
const VERSION$2e = "b8270d0d7a5953587f98a9625cad85db";
|
|
6222
|
-
function validate$
|
|
6438
|
+
function validate$1L(obj, path = 'ListRecordCollectionRepresentation') {
|
|
6223
6439
|
const v_error = (() => {
|
|
6224
6440
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6225
6441
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6279,7 +6495,7 @@ function validate$1G(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
6279
6495
|
}
|
|
6280
6496
|
const obj_listReference = obj.listReference;
|
|
6281
6497
|
const path_listReference = path + '.listReference';
|
|
6282
|
-
const referencepath_listReferenceValidationError = validate$
|
|
6498
|
+
const referencepath_listReferenceValidationError = validate$1$(obj_listReference, path_listReference);
|
|
6283
6499
|
if (referencepath_listReferenceValidationError !== null) {
|
|
6284
6500
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
6285
6501
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6517,7 +6733,7 @@ function normalize$O(input, existing, path, luvio, store, timestamp) {
|
|
|
6517
6733
|
return input;
|
|
6518
6734
|
}
|
|
6519
6735
|
const select$2S = function ListRecordCollectionRepresentationSelect(paginationParams) {
|
|
6520
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
6736
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$34();
|
|
6521
6737
|
return {
|
|
6522
6738
|
kind: 'Fragment',
|
|
6523
6739
|
reader: true,
|
|
@@ -6634,7 +6850,7 @@ const dynamicSelect$7 = function dynamicListRecordCollectionRepresentationSelect
|
|
|
6634
6850
|
kind: 'Link',
|
|
6635
6851
|
fragment: select$2T()
|
|
6636
6852
|
} : params.records;
|
|
6637
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
6853
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$34();
|
|
6638
6854
|
return {
|
|
6639
6855
|
kind: 'Fragment',
|
|
6640
6856
|
reader: true,
|
|
@@ -6749,7 +6965,7 @@ function equals$10(existing, incoming) {
|
|
|
6749
6965
|
}
|
|
6750
6966
|
const existing_listReference = existing.listReference;
|
|
6751
6967
|
const incoming_listReference = incoming.listReference;
|
|
6752
|
-
if (!(equals$
|
|
6968
|
+
if (!(equals$18(existing_listReference, incoming_listReference))) {
|
|
6753
6969
|
return false;
|
|
6754
6970
|
}
|
|
6755
6971
|
const existing_nextPageToken = existing.nextPageToken;
|
|
@@ -6818,7 +7034,7 @@ function equals$10(existing, incoming) {
|
|
|
6818
7034
|
}
|
|
6819
7035
|
const ingest$1S = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6820
7036
|
if (process.env.NODE_ENV !== 'production') {
|
|
6821
|
-
const validateError = validate$
|
|
7037
|
+
const validateError = validate$1L(input);
|
|
6822
7038
|
if (validateError !== null) {
|
|
6823
7039
|
throw validateError;
|
|
6824
7040
|
}
|
|
@@ -6911,7 +7127,7 @@ function getTypeCacheKeys$1U(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6911
7127
|
}
|
|
6912
7128
|
|
|
6913
7129
|
const VERSION$2d = "cf8d2eb042188974da26ffe6618cfd07";
|
|
6914
|
-
function validate$
|
|
7130
|
+
function validate$1K(obj, path = 'ListUiRepresentation') {
|
|
6915
7131
|
const v_error = (() => {
|
|
6916
7132
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6917
7133
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7038,7 +7254,7 @@ function equals$$(existing, incoming) {
|
|
|
7038
7254
|
}
|
|
7039
7255
|
const ingest$1R = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7040
7256
|
if (process.env.NODE_ENV !== 'production') {
|
|
7041
|
-
const validateError = validate$
|
|
7257
|
+
const validateError = validate$1K(input);
|
|
7042
7258
|
if (validateError !== null) {
|
|
7043
7259
|
throw validateError;
|
|
7044
7260
|
}
|
|
@@ -7777,7 +7993,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
7777
7993
|
}
|
|
7778
7994
|
|
|
7779
7995
|
const VERSION$2c = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
7780
|
-
function validate$
|
|
7996
|
+
function validate$1J(obj, path = 'ListViewSummaryRepresentation') {
|
|
7781
7997
|
const v_error = (() => {
|
|
7782
7998
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7783
7999
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7889,7 +8105,7 @@ function equals$_(existing, incoming) {
|
|
|
7889
8105
|
}
|
|
7890
8106
|
const ingest$1Q = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7891
8107
|
if (process.env.NODE_ENV !== 'production') {
|
|
7892
|
-
const validateError = validate$
|
|
8108
|
+
const validateError = validate$1J(input);
|
|
7893
8109
|
if (validateError !== null) {
|
|
7894
8110
|
throw validateError;
|
|
7895
8111
|
}
|
|
@@ -7910,7 +8126,7 @@ function getTypeCacheKeys$1S(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7910
8126
|
}
|
|
7911
8127
|
|
|
7912
8128
|
const VERSION$2b = "f4c79fe066da3558499d5ee88c72abcd";
|
|
7913
|
-
function validate$
|
|
8129
|
+
function validate$1I(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
7914
8130
|
const v_error = (() => {
|
|
7915
8131
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7916
8132
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8294,7 +8510,7 @@ function equals$Z(existing, incoming) {
|
|
|
8294
8510
|
}
|
|
8295
8511
|
const ingest$1P = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8296
8512
|
if (process.env.NODE_ENV !== 'production') {
|
|
8297
|
-
const validateError = validate$
|
|
8513
|
+
const validateError = validate$1I(input);
|
|
8298
8514
|
if (validateError !== null) {
|
|
8299
8515
|
throw validateError;
|
|
8300
8516
|
}
|
|
@@ -9445,7 +9661,7 @@ const factory$j = (luvio) => {
|
|
|
9445
9661
|
}, { contextId: contextId$6 });
|
|
9446
9662
|
};
|
|
9447
9663
|
|
|
9448
|
-
function validate$
|
|
9664
|
+
function validate$1H(obj, path = 'ChildRelationshipRepresentation') {
|
|
9449
9665
|
const v_error = (() => {
|
|
9450
9666
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9451
9667
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9493,7 +9709,7 @@ function validate$1C(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
9493
9709
|
return v_error === undefined ? null : v_error;
|
|
9494
9710
|
}
|
|
9495
9711
|
|
|
9496
|
-
function validate$
|
|
9712
|
+
function validate$1G(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
9497
9713
|
const v_error = (() => {
|
|
9498
9714
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9499
9715
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9524,7 +9740,7 @@ function validate$1B(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
9524
9740
|
return v_error === undefined ? null : v_error;
|
|
9525
9741
|
}
|
|
9526
9742
|
|
|
9527
|
-
function validate$
|
|
9743
|
+
function validate$1F(obj, path = 'ReferenceToInfoRepresentation') {
|
|
9528
9744
|
const v_error = (() => {
|
|
9529
9745
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9530
9746
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9550,7 +9766,7 @@ function validate$1A(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
9550
9766
|
return v_error === undefined ? null : v_error;
|
|
9551
9767
|
}
|
|
9552
9768
|
|
|
9553
|
-
function validate$
|
|
9769
|
+
function validate$1E(obj, path = 'FieldRepresentation') {
|
|
9554
9770
|
const v_error = (() => {
|
|
9555
9771
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9556
9772
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9710,7 +9926,7 @@ function validate$1z(obj, path = 'FieldRepresentation') {
|
|
|
9710
9926
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
9711
9927
|
let obj_filteredLookupInfo_union0 = null;
|
|
9712
9928
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
9713
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
9929
|
+
const referencepath_filteredLookupInfoValidationError = validate$1G(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
9714
9930
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
9715
9931
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' + path_filteredLookupInfo + '")\n';
|
|
9716
9932
|
message += referencepath_filteredLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9835,7 +10051,7 @@ function validate$1z(obj, path = 'FieldRepresentation') {
|
|
|
9835
10051
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
9836
10052
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
9837
10053
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
9838
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
10054
|
+
const referencepath_referenceToInfos_itemValidationError = validate$1F(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
9839
10055
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
9840
10056
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' + path_referenceToInfos_item + '")\n';
|
|
9841
10057
|
message += referencepath_referenceToInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9902,7 +10118,7 @@ function validate$1z(obj, path = 'FieldRepresentation') {
|
|
|
9902
10118
|
return v_error === undefined ? null : v_error;
|
|
9903
10119
|
}
|
|
9904
10120
|
|
|
9905
|
-
function validate$
|
|
10121
|
+
function validate$1D(obj, path = 'ThemeInfoRepresentation') {
|
|
9906
10122
|
const v_error = (() => {
|
|
9907
10123
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9908
10124
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9944,7 +10160,7 @@ function validate$1y(obj, path = 'ThemeInfoRepresentation') {
|
|
|
9944
10160
|
|
|
9945
10161
|
const TTL$A = 900000;
|
|
9946
10162
|
const VERSION$2a = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
9947
|
-
function validate$
|
|
10163
|
+
function validate$1C(obj, path = 'ObjectInfoRepresentation') {
|
|
9948
10164
|
const v_error = (() => {
|
|
9949
10165
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9950
10166
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10014,7 +10230,7 @@ function validate$1x(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10014
10230
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
10015
10231
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
10016
10232
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
10017
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
10233
|
+
const referencepath_childRelationships_itemValidationError = validate$1H(obj_childRelationships_item, path_childRelationships_item);
|
|
10018
10234
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
10019
10235
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' + path_childRelationships_item + '")\n';
|
|
10020
10236
|
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10096,7 +10312,7 @@ function validate$1x(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10096
10312
|
const key = obj_fields_keys[i];
|
|
10097
10313
|
const obj_fields_prop = obj_fields[key];
|
|
10098
10314
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
10099
|
-
const referencepath_fields_propValidationError = validate$
|
|
10315
|
+
const referencepath_fields_propValidationError = validate$1E(obj_fields_prop, path_fields_prop);
|
|
10100
10316
|
if (referencepath_fields_propValidationError !== null) {
|
|
10101
10317
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
10102
10318
|
message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10176,7 +10392,7 @@ function validate$1x(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10176
10392
|
const key = obj_recordTypeInfos_keys[i];
|
|
10177
10393
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
10178
10394
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
10179
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
10395
|
+
const referencepath_recordTypeInfos_propValidationError = validate$1P(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
10180
10396
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
10181
10397
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfos_prop + '")\n';
|
|
10182
10398
|
message += referencepath_recordTypeInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10192,7 +10408,7 @@ function validate$1x(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10192
10408
|
const path_themeInfo = path + '.themeInfo';
|
|
10193
10409
|
let obj_themeInfo_union0 = null;
|
|
10194
10410
|
const obj_themeInfo_union0_error = (() => {
|
|
10195
|
-
const referencepath_themeInfoValidationError = validate$
|
|
10411
|
+
const referencepath_themeInfoValidationError = validate$1D(obj_themeInfo, path_themeInfo);
|
|
10196
10412
|
if (referencepath_themeInfoValidationError !== null) {
|
|
10197
10413
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
10198
10414
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10351,7 +10567,7 @@ function equals$Y(existing, incoming) {
|
|
|
10351
10567
|
}
|
|
10352
10568
|
const ingest$1O = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10353
10569
|
if (process.env.NODE_ENV !== 'production') {
|
|
10354
|
-
const validateError = validate$
|
|
10570
|
+
const validateError = validate$1C(input);
|
|
10355
10571
|
if (validateError !== null) {
|
|
10356
10572
|
throw validateError;
|
|
10357
10573
|
}
|
|
@@ -10512,7 +10728,7 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
|
|
|
10512
10728
|
buildCachedSnapshotCachePolicy$O, buildNetworkSnapshotCachePolicy$O);
|
|
10513
10729
|
};
|
|
10514
10730
|
|
|
10515
|
-
function validate$
|
|
10731
|
+
function validate$1B(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
10516
10732
|
const v_error = (() => {
|
|
10517
10733
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10518
10734
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10560,7 +10776,7 @@ var DiscriminatorValues$5;
|
|
|
10560
10776
|
DiscriminatorValues["Field"] = "Field";
|
|
10561
10777
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
10562
10778
|
})(DiscriminatorValues$5 || (DiscriminatorValues$5 = {}));
|
|
10563
|
-
function validate$
|
|
10779
|
+
function validate$1A(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
10564
10780
|
const v_error = (() => {
|
|
10565
10781
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10566
10782
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10600,7 +10816,7 @@ function validate$1v(obj, path = 'AbstractRecordLayoutComponentRepresentation')
|
|
|
10600
10816
|
return v_error === undefined ? null : v_error;
|
|
10601
10817
|
}
|
|
10602
10818
|
|
|
10603
|
-
function validate$
|
|
10819
|
+
function validate$1z(obj, path = 'RecordLayoutItemRepresentation') {
|
|
10604
10820
|
const v_error = (() => {
|
|
10605
10821
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10606
10822
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10628,7 +10844,7 @@ function validate$1u(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10628
10844
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
10629
10845
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
10630
10846
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
10631
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
10847
|
+
const referencepath_layoutComponents_itemValidationError = validate$1A(obj_layoutComponents_item, path_layoutComponents_item);
|
|
10632
10848
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
10633
10849
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' + path_layoutComponents_item + '")\n';
|
|
10634
10850
|
message += referencepath_layoutComponents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10675,7 +10891,7 @@ function validate$1u(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10675
10891
|
return v_error === undefined ? null : v_error;
|
|
10676
10892
|
}
|
|
10677
10893
|
|
|
10678
|
-
function validate$
|
|
10894
|
+
function validate$1y(obj, path = 'RecordLayoutRowRepresentation') {
|
|
10679
10895
|
const v_error = (() => {
|
|
10680
10896
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10681
10897
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10688,7 +10904,7 @@ function validate$1t(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
10688
10904
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
10689
10905
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
10690
10906
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
10691
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
10907
|
+
const referencepath_layoutItems_itemValidationError = validate$1z(obj_layoutItems_item, path_layoutItems_item);
|
|
10692
10908
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
10693
10909
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' + path_layoutItems_item + '")\n';
|
|
10694
10910
|
message += referencepath_layoutItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10699,7 +10915,7 @@ function validate$1t(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
10699
10915
|
return v_error === undefined ? null : v_error;
|
|
10700
10916
|
}
|
|
10701
10917
|
|
|
10702
|
-
function validate$
|
|
10918
|
+
function validate$1x(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
10703
10919
|
const v_error = (() => {
|
|
10704
10920
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10705
10921
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10774,7 +10990,7 @@ function validate$1s(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
10774
10990
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
10775
10991
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
10776
10992
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
10777
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
10993
|
+
const referencepath_layoutRows_itemValidationError = validate$1y(obj_layoutRows_item, path_layoutRows_item);
|
|
10778
10994
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
10779
10995
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' + path_layoutRows_item + '")\n';
|
|
10780
10996
|
message += referencepath_layoutRows_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10797,7 +11013,7 @@ function validate$1s(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
10797
11013
|
|
|
10798
11014
|
const TTL$z = 900000;
|
|
10799
11015
|
const VERSION$29 = "fb515e25a89ca1ec154dc865e72b913a";
|
|
10800
|
-
function validate$
|
|
11016
|
+
function validate$1w(obj, path = 'RecordLayoutRepresentation') {
|
|
10801
11017
|
const v_error = (() => {
|
|
10802
11018
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10803
11019
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10903,7 +11119,7 @@ function validate$1r(obj, path = 'RecordLayoutRepresentation') {
|
|
|
10903
11119
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
10904
11120
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
10905
11121
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
10906
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
11122
|
+
const referencepath_saveOptions_itemValidationError = validate$1B(obj_saveOptions_item, path_saveOptions_item);
|
|
10907
11123
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
10908
11124
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' + path_saveOptions_item + '")\n';
|
|
10909
11125
|
message += referencepath_saveOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10918,7 +11134,7 @@ function validate$1r(obj, path = 'RecordLayoutRepresentation') {
|
|
|
10918
11134
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
10919
11135
|
const obj_sections_item = obj_sections[i];
|
|
10920
11136
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
10921
|
-
const referencepath_sections_itemValidationError = validate$
|
|
11137
|
+
const referencepath_sections_itemValidationError = validate$1x(obj_sections_item, path_sections_item);
|
|
10922
11138
|
if (referencepath_sections_itemValidationError !== null) {
|
|
10923
11139
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' + path_sections_item + '")\n';
|
|
10924
11140
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10993,7 +11209,7 @@ function equals$X(existing, incoming) {
|
|
|
10993
11209
|
}
|
|
10994
11210
|
const ingest$1N = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10995
11211
|
if (process.env.NODE_ENV !== 'production') {
|
|
10996
|
-
const validateError = validate$
|
|
11212
|
+
const validateError = validate$1w(input);
|
|
10997
11213
|
if (validateError !== null) {
|
|
10998
11214
|
throw validateError;
|
|
10999
11215
|
}
|
|
@@ -11035,7 +11251,7 @@ function getRecordId18Array(value) {
|
|
|
11035
11251
|
return dedupe(array).sort();
|
|
11036
11252
|
}
|
|
11037
11253
|
|
|
11038
|
-
function validate$
|
|
11254
|
+
function validate$1v(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
11039
11255
|
const v_error = (() => {
|
|
11040
11256
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11041
11257
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11056,7 +11272,7 @@ function validate$1q(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
11056
11272
|
|
|
11057
11273
|
const TTL$y = 900000;
|
|
11058
11274
|
const VERSION$28 = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
11059
|
-
function validate$
|
|
11275
|
+
function validate$1u(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
11060
11276
|
const v_error = (() => {
|
|
11061
11277
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11062
11278
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11096,7 +11312,7 @@ function validate$1p(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
11096
11312
|
const key = obj_sectionUserStates_keys[i];
|
|
11097
11313
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
11098
11314
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
11099
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
11315
|
+
const referencepath_sectionUserStates_propValidationError = validate$1v(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
11100
11316
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
11101
11317
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' + path_sectionUserStates_prop + '")\n';
|
|
11102
11318
|
message += referencepath_sectionUserStates_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11153,7 +11369,7 @@ function equals$W(existing, incoming) {
|
|
|
11153
11369
|
}
|
|
11154
11370
|
const ingest$1M = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11155
11371
|
if (process.env.NODE_ENV !== 'production') {
|
|
11156
|
-
const validateError = validate$
|
|
11372
|
+
const validateError = validate$1u(input);
|
|
11157
11373
|
if (validateError !== null) {
|
|
11158
11374
|
throw validateError;
|
|
11159
11375
|
}
|
|
@@ -11175,7 +11391,7 @@ function getTypeCacheKeys$1O(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
11175
11391
|
|
|
11176
11392
|
const TTL$x = 900000;
|
|
11177
11393
|
const VERSION$27 = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
11178
|
-
function validate$
|
|
11394
|
+
function validate$1t(obj, path = 'RecordUiRepresentation') {
|
|
11179
11395
|
const v_error = (() => {
|
|
11180
11396
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11181
11397
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11437,7 +11653,7 @@ function equals$V(existing, incoming) {
|
|
|
11437
11653
|
}
|
|
11438
11654
|
const ingest$1L = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11439
11655
|
if (process.env.NODE_ENV !== 'production') {
|
|
11440
|
-
const validateError = validate$
|
|
11656
|
+
const validateError = validate$1t(input);
|
|
11441
11657
|
if (validateError !== null) {
|
|
11442
11658
|
throw validateError;
|
|
11443
11659
|
}
|
|
@@ -12569,7 +12785,7 @@ const notifyUpdateAvailableFactory$1 = (luvio) => {
|
|
|
12569
12785
|
};
|
|
12570
12786
|
|
|
12571
12787
|
const VERSION$26 = "4aa37812ee37c752a099b29026217c85";
|
|
12572
|
-
function validate$
|
|
12788
|
+
function validate$1s(obj, path = 'ObjectInfoDirectoryEntryRepresentation') {
|
|
12573
12789
|
const v_error = (() => {
|
|
12574
12790
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12575
12791
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12722,7 +12938,7 @@ function equals$U(existing, incoming) {
|
|
|
12722
12938
|
}
|
|
12723
12939
|
const ingest$1K = function ObjectInfoDirectoryEntryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12724
12940
|
if (process.env.NODE_ENV !== 'production') {
|
|
12725
|
-
const validateError = validate$
|
|
12941
|
+
const validateError = validate$1s(input);
|
|
12726
12942
|
if (validateError !== null) {
|
|
12727
12943
|
throw validateError;
|
|
12728
12944
|
}
|
|
@@ -12743,7 +12959,7 @@ function getTypeCacheKeys$1N(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12743
12959
|
}
|
|
12744
12960
|
|
|
12745
12961
|
const VERSION$25 = "37fd8c0154ee743c9defbf03e9b4b067";
|
|
12746
|
-
function validate$
|
|
12962
|
+
function validate$1r(obj, path = 'ObjectInfoDirectoryRepresentation') {
|
|
12747
12963
|
const v_error = (() => {
|
|
12748
12964
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12749
12965
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12818,7 +13034,7 @@ function equals$T(existing, incoming) {
|
|
|
12818
13034
|
}
|
|
12819
13035
|
const ingest$1J = function ObjectInfoDirectoryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12820
13036
|
if (process.env.NODE_ENV !== 'production') {
|
|
12821
|
-
const validateError = validate$
|
|
13037
|
+
const validateError = validate$1r(input);
|
|
12822
13038
|
if (validateError !== null) {
|
|
12823
13039
|
throw validateError;
|
|
12824
13040
|
}
|
|
@@ -12846,7 +13062,7 @@ function getTypeCacheKeys$1M(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12846
13062
|
}
|
|
12847
13063
|
|
|
12848
13064
|
const VERSION$24 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
12849
|
-
function validate$
|
|
13065
|
+
function validate$1q(obj, path = 'QuickActionExecutionRepresentation') {
|
|
12850
13066
|
const v_error = (() => {
|
|
12851
13067
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12852
13068
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13019,7 +13235,7 @@ function equals$S(existing, incoming) {
|
|
|
13019
13235
|
}
|
|
13020
13236
|
const ingest$1I = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13021
13237
|
if (process.env.NODE_ENV !== 'production') {
|
|
13022
|
-
const validateError = validate$
|
|
13238
|
+
const validateError = validate$1q(input);
|
|
13023
13239
|
if (validateError !== null) {
|
|
13024
13240
|
throw validateError;
|
|
13025
13241
|
}
|
|
@@ -13041,7 +13257,7 @@ function getTypeCacheKeys$1L(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13041
13257
|
|
|
13042
13258
|
const TTL$w = 900000;
|
|
13043
13259
|
const VERSION$23 = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
13044
|
-
function validate$
|
|
13260
|
+
function validate$1p(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
13045
13261
|
const v_error = (() => {
|
|
13046
13262
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13047
13263
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13220,7 +13436,7 @@ function coerceFormFactor(form) {
|
|
|
13220
13436
|
}
|
|
13221
13437
|
|
|
13222
13438
|
const VERSION$22 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
13223
|
-
function validate$
|
|
13439
|
+
function validate$1o(obj, path = 'PlatformActionRepresentation') {
|
|
13224
13440
|
const v_error = (() => {
|
|
13225
13441
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13226
13442
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13752,7 +13968,7 @@ function equals$Q(existing, incoming) {
|
|
|
13752
13968
|
}
|
|
13753
13969
|
const ingest$1H = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13754
13970
|
if (process.env.NODE_ENV !== 'production') {
|
|
13755
|
-
const validateError = validate$
|
|
13971
|
+
const validateError = validate$1o(input);
|
|
13756
13972
|
if (validateError !== null) {
|
|
13757
13973
|
throw validateError;
|
|
13758
13974
|
}
|
|
@@ -13773,7 +13989,7 @@ function getTypeCacheKeys$1J(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13773
13989
|
}
|
|
13774
13990
|
|
|
13775
13991
|
const VERSION$21 = "378d506f563a4bd724b322d440df33d1";
|
|
13776
|
-
function validate$
|
|
13992
|
+
function validate$1n(obj, path = 'EntityActionRepresentation') {
|
|
13777
13993
|
const v_error = (() => {
|
|
13778
13994
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13779
13995
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13887,7 +14103,7 @@ function equals$P(existing, incoming) {
|
|
|
13887
14103
|
}
|
|
13888
14104
|
const ingest$1G = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13889
14105
|
if (process.env.NODE_ENV !== 'production') {
|
|
13890
|
-
const validateError = validate$
|
|
14106
|
+
const validateError = validate$1n(input);
|
|
13891
14107
|
if (validateError !== null) {
|
|
13892
14108
|
throw validateError;
|
|
13893
14109
|
}
|
|
@@ -13913,7 +14129,7 @@ function getTypeCacheKeys$1I(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13913
14129
|
|
|
13914
14130
|
const TTL$v = 300000;
|
|
13915
14131
|
const VERSION$20 = "e485d96c1402a9ca2f56e56485af0216";
|
|
13916
|
-
function validate$
|
|
14132
|
+
function validate$1m(obj, path = 'ActionRepresentation') {
|
|
13917
14133
|
const v_error = (() => {
|
|
13918
14134
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13919
14135
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14011,7 +14227,7 @@ function equals$O(existing, incoming) {
|
|
|
14011
14227
|
}
|
|
14012
14228
|
const ingest$1F = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14013
14229
|
if (process.env.NODE_ENV !== 'production') {
|
|
14014
|
-
const validateError = validate$
|
|
14230
|
+
const validateError = validate$1m(input);
|
|
14015
14231
|
if (validateError !== null) {
|
|
14016
14232
|
throw validateError;
|
|
14017
14233
|
}
|
|
@@ -14183,7 +14399,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
14183
14399
|
|
|
14184
14400
|
const TTL$u = 900000;
|
|
14185
14401
|
const VERSION$1$ = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
14186
|
-
function validate$
|
|
14402
|
+
function validate$1l(obj, path = 'QuickActionLayoutRepresentation') {
|
|
14187
14403
|
const v_error = (() => {
|
|
14188
14404
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14189
14405
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14200,7 +14416,7 @@ function validate$1g(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
14200
14416
|
}
|
|
14201
14417
|
const obj_layout = obj.layout;
|
|
14202
14418
|
const path_layout = path + '.layout';
|
|
14203
|
-
const referencepath_layoutValidationError = validate$
|
|
14419
|
+
const referencepath_layoutValidationError = validate$1w(obj_layout, path_layout);
|
|
14204
14420
|
if (referencepath_layoutValidationError !== null) {
|
|
14205
14421
|
let message = 'Object doesn\'t match RecordLayoutRepresentation (at "' + path_layout + '")\n';
|
|
14206
14422
|
message += referencepath_layoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14250,7 +14466,7 @@ function equals$N(existing, incoming) {
|
|
|
14250
14466
|
}
|
|
14251
14467
|
const ingest$1E = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14252
14468
|
if (process.env.NODE_ENV !== 'production') {
|
|
14253
|
-
const validateError = validate$
|
|
14469
|
+
const validateError = validate$1l(input);
|
|
14254
14470
|
if (validateError !== null) {
|
|
14255
14471
|
throw validateError;
|
|
14256
14472
|
}
|
|
@@ -14727,7 +14943,7 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
14727
14943
|
};
|
|
14728
14944
|
|
|
14729
14945
|
const VERSION$1_ = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
14730
|
-
function validate$
|
|
14946
|
+
function validate$1k(obj, path = 'ActionOverrideRepresentation') {
|
|
14731
14947
|
const v_error = (() => {
|
|
14732
14948
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14733
14949
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14760,7 +14976,7 @@ function equals$M(existing, incoming) {
|
|
|
14760
14976
|
}
|
|
14761
14977
|
const ingest$1D = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14762
14978
|
if (process.env.NODE_ENV !== 'production') {
|
|
14763
|
-
const validateError = validate$
|
|
14979
|
+
const validateError = validate$1k(input);
|
|
14764
14980
|
if (validateError !== null) {
|
|
14765
14981
|
throw validateError;
|
|
14766
14982
|
}
|
|
@@ -14936,7 +15152,7 @@ function merge$1(existing, incoming) {
|
|
|
14936
15152
|
const dynamicIngest$4 = (ingestParams) => {
|
|
14937
15153
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14938
15154
|
if (process.env.NODE_ENV !== 'production') {
|
|
14939
|
-
const validateError = validate$
|
|
15155
|
+
const validateError = validate$1p(input);
|
|
14940
15156
|
if (validateError !== null) {
|
|
14941
15157
|
throw validateError;
|
|
14942
15158
|
}
|
|
@@ -15445,7 +15661,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
15445
15661
|
buildCachedSnapshotCachePolicy$G, buildNetworkSnapshotCachePolicy$G);
|
|
15446
15662
|
};
|
|
15447
15663
|
|
|
15448
|
-
function validate$
|
|
15664
|
+
function validate$1j(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
15449
15665
|
const v_error = (() => {
|
|
15450
15666
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15451
15667
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15871,7 +16087,7 @@ function typeCheckConfig$U(untrustedConfig) {
|
|
|
15871
16087
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
15872
16088
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
15873
16089
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
15874
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
16090
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1j(untrustedConfig_relatedListsActionParameters_item);
|
|
15875
16091
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
15876
16092
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
15877
16093
|
}
|
|
@@ -16189,7 +16405,7 @@ const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__get
|
|
|
16189
16405
|
};
|
|
16190
16406
|
|
|
16191
16407
|
const VERSION$1Z = "a316b3bba367f54adc67d7552ed7d36d";
|
|
16192
|
-
function validate$
|
|
16408
|
+
function validate$1i(obj, path = 'PageReferenceRepresentation') {
|
|
16193
16409
|
const v_error = (() => {
|
|
16194
16410
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16195
16411
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16250,7 +16466,7 @@ function equals$L(existing, incoming) {
|
|
|
16250
16466
|
}
|
|
16251
16467
|
const ingest$1C = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16252
16468
|
if (process.env.NODE_ENV !== 'production') {
|
|
16253
|
-
const validateError = validate$
|
|
16469
|
+
const validateError = validate$1i(input);
|
|
16254
16470
|
if (validateError !== null) {
|
|
16255
16471
|
throw validateError;
|
|
16256
16472
|
}
|
|
@@ -16272,7 +16488,7 @@ function getTypeCacheKeys$1E(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16272
16488
|
|
|
16273
16489
|
const TTL$t = 120000;
|
|
16274
16490
|
const VERSION$1Y = "09884ca5bf90ea4662092a4e48817081";
|
|
16275
|
-
function validate$
|
|
16491
|
+
function validate$1h(obj, path = 'NavItemRepresentation') {
|
|
16276
16492
|
const v_error = (() => {
|
|
16277
16493
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16278
16494
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16664,7 +16880,7 @@ function equals$K(existing, incoming) {
|
|
|
16664
16880
|
}
|
|
16665
16881
|
const ingest$1B = function NavItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16666
16882
|
if (process.env.NODE_ENV !== 'production') {
|
|
16667
|
-
const validateError = validate$
|
|
16883
|
+
const validateError = validate$1h(input);
|
|
16668
16884
|
if (validateError !== null) {
|
|
16669
16885
|
throw validateError;
|
|
16670
16886
|
}
|
|
@@ -16689,7 +16905,7 @@ function getTypeCacheKeys$1D(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16689
16905
|
|
|
16690
16906
|
const TTL$s = 300000;
|
|
16691
16907
|
const VERSION$1X = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
16692
|
-
function validate$
|
|
16908
|
+
function validate$1g(obj, path = 'AppRepresentation') {
|
|
16693
16909
|
const v_error = (() => {
|
|
16694
16910
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16695
16911
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17131,7 +17347,7 @@ function equals$J(existing, incoming) {
|
|
|
17131
17347
|
}
|
|
17132
17348
|
const ingest$1A = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17133
17349
|
if (process.env.NODE_ENV !== 'production') {
|
|
17134
|
-
const validateError = validate$
|
|
17350
|
+
const validateError = validate$1g(input);
|
|
17135
17351
|
if (validateError !== null) {
|
|
17136
17352
|
throw validateError;
|
|
17137
17353
|
}
|
|
@@ -17161,7 +17377,7 @@ function getTypeCacheKeys$1C(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17161
17377
|
|
|
17162
17378
|
const TTL$r = 300000;
|
|
17163
17379
|
const VERSION$1W = "a254babf0b6414315db7808a157fd9fc";
|
|
17164
|
-
function validate$
|
|
17380
|
+
function validate$1f(obj, path = 'AppsRepresentation') {
|
|
17165
17381
|
const v_error = (() => {
|
|
17166
17382
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17167
17383
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17243,7 +17459,7 @@ function equals$I(existing, incoming) {
|
|
|
17243
17459
|
}
|
|
17244
17460
|
const ingest$1z = function AppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17245
17461
|
if (process.env.NODE_ENV !== 'production') {
|
|
17246
|
-
const validateError = validate$
|
|
17462
|
+
const validateError = validate$1f(input);
|
|
17247
17463
|
if (validateError !== null) {
|
|
17248
17464
|
throw validateError;
|
|
17249
17465
|
}
|
|
@@ -17690,7 +17906,7 @@ const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(unt
|
|
|
17690
17906
|
};
|
|
17691
17907
|
|
|
17692
17908
|
const VERSION$1V = "f43ef90ffde4d488414d6868e3aaefcb";
|
|
17693
|
-
function validate$
|
|
17909
|
+
function validate$1e(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
17694
17910
|
const v_error = (() => {
|
|
17695
17911
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17696
17912
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17752,7 +17968,7 @@ const select$2h = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
|
17752
17968
|
};
|
|
17753
17969
|
|
|
17754
17970
|
const VERSION$1U = "320d7f254687278f2763d4b490dab3fb";
|
|
17755
|
-
function validate$
|
|
17971
|
+
function validate$1d(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
17756
17972
|
const v_error = (() => {
|
|
17757
17973
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17758
17974
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17775,7 +17991,7 @@ function validate$18(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
17775
17991
|
for (let i = 0; i < obj_filterItems.length; i++) {
|
|
17776
17992
|
const obj_filterItems_item = obj_filterItems[i];
|
|
17777
17993
|
const path_filterItems_item = path_filterItems + '[' + i + ']';
|
|
17778
|
-
const referencepath_filterItems_itemValidationError = validate$
|
|
17994
|
+
const referencepath_filterItems_itemValidationError = validate$1e(obj_filterItems_item, path_filterItems_item);
|
|
17779
17995
|
if (referencepath_filterItems_itemValidationError !== null) {
|
|
17780
17996
|
let message = 'Object doesn\'t match DuplicateRuleFilterItemRepresentation (at "' + path_filterItems_item + '")\n';
|
|
17781
17997
|
message += referencepath_filterItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17818,7 +18034,7 @@ const select$2g = function DuplicateRuleFilterRepresentationSelect() {
|
|
|
17818
18034
|
};
|
|
17819
18035
|
|
|
17820
18036
|
const VERSION$1T = "b47b44e260e5ce777beaf3da9088997c";
|
|
17821
|
-
function validate$
|
|
18037
|
+
function validate$1c(obj, path = 'MatchRuleRepresentation') {
|
|
17822
18038
|
const v_error = (() => {
|
|
17823
18039
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17824
18040
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17888,7 +18104,7 @@ const select$2f = function MatchRuleRepresentationSelect() {
|
|
|
17888
18104
|
};
|
|
17889
18105
|
|
|
17890
18106
|
const VERSION$1S = "bb83d7210bb1d7861b6188bc5f552617";
|
|
17891
|
-
function validate$
|
|
18107
|
+
function validate$1b(obj, path = 'DuplicateRuleRepresentation') {
|
|
17892
18108
|
const v_error = (() => {
|
|
17893
18109
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17894
18110
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17916,7 +18132,7 @@ function validate$16(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
17916
18132
|
for (let i = 0; i < obj_duplicateRuleFilters.length; i++) {
|
|
17917
18133
|
const obj_duplicateRuleFilters_item = obj_duplicateRuleFilters[i];
|
|
17918
18134
|
const path_duplicateRuleFilters_item = path_duplicateRuleFilters + '[' + i + ']';
|
|
17919
|
-
const referencepath_duplicateRuleFilters_itemValidationError = validate$
|
|
18135
|
+
const referencepath_duplicateRuleFilters_itemValidationError = validate$1d(obj_duplicateRuleFilters_item, path_duplicateRuleFilters_item);
|
|
17920
18136
|
if (referencepath_duplicateRuleFilters_itemValidationError !== null) {
|
|
17921
18137
|
let message = 'Object doesn\'t match DuplicateRuleFilterRepresentation (at "' + path_duplicateRuleFilters_item + '")\n';
|
|
17922
18138
|
message += referencepath_duplicateRuleFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17936,7 +18152,7 @@ function validate$16(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
17936
18152
|
for (let i = 0; i < obj_matchRules.length; i++) {
|
|
17937
18153
|
const obj_matchRules_item = obj_matchRules[i];
|
|
17938
18154
|
const path_matchRules_item = path_matchRules + '[' + i + ']';
|
|
17939
|
-
const referencepath_matchRules_itemValidationError = validate$
|
|
18155
|
+
const referencepath_matchRules_itemValidationError = validate$1c(obj_matchRules_item, path_matchRules_item);
|
|
17940
18156
|
if (referencepath_matchRules_itemValidationError !== null) {
|
|
17941
18157
|
let message = 'Object doesn\'t match MatchRuleRepresentation (at "' + path_matchRules_item + '")\n';
|
|
17942
18158
|
message += referencepath_matchRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18029,7 +18245,7 @@ const select$2e = function DuplicateRuleRepresentationSelect() {
|
|
|
18029
18245
|
|
|
18030
18246
|
const TTL$q = 900000;
|
|
18031
18247
|
const VERSION$1R = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
18032
|
-
function validate$
|
|
18248
|
+
function validate$1a(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
18033
18249
|
const v_error = (() => {
|
|
18034
18250
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18035
18251
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18064,7 +18280,7 @@ function validate$15(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
|
18064
18280
|
for (let i = 0; i < obj_duplicateRules.length; i++) {
|
|
18065
18281
|
const obj_duplicateRules_item = obj_duplicateRules[i];
|
|
18066
18282
|
const path_duplicateRules_item = path_duplicateRules + '[' + i + ']';
|
|
18067
|
-
const referencepath_duplicateRules_itemValidationError = validate$
|
|
18283
|
+
const referencepath_duplicateRules_itemValidationError = validate$1b(obj_duplicateRules_item, path_duplicateRules_item);
|
|
18068
18284
|
if (referencepath_duplicateRules_itemValidationError !== null) {
|
|
18069
18285
|
let message = 'Object doesn\'t match DuplicateRuleRepresentation (at "' + path_duplicateRules_item + '")\n';
|
|
18070
18286
|
message += referencepath_duplicateRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18131,7 +18347,7 @@ function equals$H(existing, incoming) {
|
|
|
18131
18347
|
}
|
|
18132
18348
|
const ingest$1y = function DuplicatesConfigurationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18133
18349
|
if (process.env.NODE_ENV !== 'production') {
|
|
18134
|
-
const validateError = validate$
|
|
18350
|
+
const validateError = validate$1a(input);
|
|
18135
18351
|
if (validateError !== null) {
|
|
18136
18352
|
throw validateError;
|
|
18137
18353
|
}
|
|
@@ -19070,7 +19286,7 @@ const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfos
|
|
|
19070
19286
|
buildCachedSnapshotCachePolicy$w, buildNetworkSnapshotCachePolicy$w);
|
|
19071
19287
|
};
|
|
19072
19288
|
|
|
19073
|
-
function validate$
|
|
19289
|
+
function validate$19(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
19074
19290
|
const v_error = (() => {
|
|
19075
19291
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19076
19292
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19101,7 +19317,7 @@ function validate$14(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
|
19101
19317
|
return v_error === undefined ? null : v_error;
|
|
19102
19318
|
}
|
|
19103
19319
|
|
|
19104
|
-
function validate$
|
|
19320
|
+
function validate$18(obj, path = 'ListScopeInputRepresentation') {
|
|
19105
19321
|
const v_error = (() => {
|
|
19106
19322
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19107
19323
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19230,7 +19446,7 @@ function typeCheckConfig$K(untrustedConfig) {
|
|
|
19230
19446
|
const untrustedConfig_filteredByInfo_array = [];
|
|
19231
19447
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
19232
19448
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
19233
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
19449
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$19(untrustedConfig_filteredByInfo_item);
|
|
19234
19450
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
19235
19451
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
19236
19452
|
}
|
|
@@ -19238,7 +19454,7 @@ function typeCheckConfig$K(untrustedConfig) {
|
|
|
19238
19454
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
19239
19455
|
}
|
|
19240
19456
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
19241
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
19457
|
+
const referenceListScopeInputRepresentationValidationError = validate$18(untrustedConfig_scope);
|
|
19242
19458
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
19243
19459
|
config.scope = untrustedConfig_scope;
|
|
19244
19460
|
}
|
|
@@ -19520,7 +19736,7 @@ function typeCheckConfig$H(untrustedConfig) {
|
|
|
19520
19736
|
const untrustedConfig_filteredByInfo_array = [];
|
|
19521
19737
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
19522
19738
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
19523
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
19739
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$19(untrustedConfig_filteredByInfo_item);
|
|
19524
19740
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
19525
19741
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
19526
19742
|
}
|
|
@@ -19528,7 +19744,7 @@ function typeCheckConfig$H(untrustedConfig) {
|
|
|
19528
19744
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
19529
19745
|
}
|
|
19530
19746
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
19531
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
19747
|
+
const referenceListScopeInputRepresentationValidationError = validate$18(untrustedConfig_scope);
|
|
19532
19748
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
19533
19749
|
config.scope = untrustedConfig_scope;
|
|
19534
19750
|
}
|
|
@@ -19578,7 +19794,7 @@ const updateListInfoByNameAdapterFactory = (luvio) => {
|
|
|
19578
19794
|
};
|
|
19579
19795
|
|
|
19580
19796
|
const VERSION$1Q = "d77026c4d63ef00cdd7e3d600687a40d";
|
|
19581
|
-
function validate$
|
|
19797
|
+
function validate$17(obj, path = 'ListObjectScopeAvailableEntityRepresentation') {
|
|
19582
19798
|
const v_error = (() => {
|
|
19583
19799
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19584
19800
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19628,7 +19844,7 @@ function equals$G(existing, incoming) {
|
|
|
19628
19844
|
}
|
|
19629
19845
|
|
|
19630
19846
|
const VERSION$1P = "355933ff2970aa91a2848a94565e956a";
|
|
19631
|
-
function validate$
|
|
19847
|
+
function validate$16(obj, path = 'ListObjectScopeRepresentation') {
|
|
19632
19848
|
const v_error = (() => {
|
|
19633
19849
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19634
19850
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19646,7 +19862,7 @@ function validate$11(obj, path = 'ListObjectScopeRepresentation') {
|
|
|
19646
19862
|
for (let i = 0; i < obj_availableEntities.length; i++) {
|
|
19647
19863
|
const obj_availableEntities_item = obj_availableEntities[i];
|
|
19648
19864
|
const path_availableEntities_item = path_availableEntities + '[' + i + ']';
|
|
19649
|
-
const referencepath_availableEntities_itemValidationError = validate$
|
|
19865
|
+
const referencepath_availableEntities_itemValidationError = validate$17(obj_availableEntities_item, path_availableEntities_item);
|
|
19650
19866
|
if (referencepath_availableEntities_itemValidationError !== null) {
|
|
19651
19867
|
let message = 'Object doesn\'t match ListObjectScopeAvailableEntityRepresentation (at "' + path_availableEntities_item + '")\n';
|
|
19652
19868
|
message += referencepath_availableEntities_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19710,7 +19926,7 @@ function equals$F(existing, incoming) {
|
|
|
19710
19926
|
}
|
|
19711
19927
|
|
|
19712
19928
|
const VERSION$1O = "c5c08ea834378670c9d6f235ff71c9f0";
|
|
19713
|
-
function validate$
|
|
19929
|
+
function validate$15(obj, path = 'ListObjectPicklistValueRepresentation') {
|
|
19714
19930
|
const v_error = (() => {
|
|
19715
19931
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19716
19932
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19760,7 +19976,7 @@ function equals$E(existing, incoming) {
|
|
|
19760
19976
|
}
|
|
19761
19977
|
|
|
19762
19978
|
const VERSION$1N = "2c35f797fead79b5c45b521e77dd6ace";
|
|
19763
|
-
function validate
|
|
19979
|
+
function validate$14(obj, path = 'ListObjectColumnRepresentation') {
|
|
19764
19980
|
const v_error = (() => {
|
|
19765
19981
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19766
19982
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19829,7 +20045,7 @@ function validate$$(obj, path = 'ListObjectColumnRepresentation') {
|
|
|
19829
20045
|
for (let i = 0; i < obj_picklistValues.length; i++) {
|
|
19830
20046
|
const obj_picklistValues_item = obj_picklistValues[i];
|
|
19831
20047
|
const path_picklistValues_item = path_picklistValues + '[' + i + ']';
|
|
19832
|
-
const referencepath_picklistValues_itemValidationError = validate$
|
|
20048
|
+
const referencepath_picklistValues_itemValidationError = validate$15(obj_picklistValues_item, path_picklistValues_item);
|
|
19833
20049
|
if (referencepath_picklistValues_itemValidationError !== null) {
|
|
19834
20050
|
let message = 'Object doesn\'t match ListObjectPicklistValueRepresentation (at "' + path_picklistValues_item + '")\n';
|
|
19835
20051
|
message += referencepath_picklistValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19975,7 +20191,7 @@ function equals$D(existing, incoming) {
|
|
|
19975
20191
|
|
|
19976
20192
|
const TTL$p = 900000;
|
|
19977
20193
|
const VERSION$1M = "84e1e3ffdfcb59f65d7b8906e33027ac";
|
|
19978
|
-
function validate$
|
|
20194
|
+
function validate$13(obj, path = 'ListObjectInfoRepresentation') {
|
|
19979
20195
|
const v_error = (() => {
|
|
19980
20196
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19981
20197
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19988,7 +20204,7 @@ function validate$_(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
19988
20204
|
for (let i = 0; i < obj_availableScopes.length; i++) {
|
|
19989
20205
|
const obj_availableScopes_item = obj_availableScopes[i];
|
|
19990
20206
|
const path_availableScopes_item = path_availableScopes + '[' + i + ']';
|
|
19991
|
-
const referencepath_availableScopes_itemValidationError = validate$
|
|
20207
|
+
const referencepath_availableScopes_itemValidationError = validate$16(obj_availableScopes_item, path_availableScopes_item);
|
|
19992
20208
|
if (referencepath_availableScopes_itemValidationError !== null) {
|
|
19993
20209
|
let message = 'Object doesn\'t match ListObjectScopeRepresentation (at "' + path_availableScopes_item + '")\n';
|
|
19994
20210
|
message += referencepath_availableScopes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20003,7 +20219,7 @@ function validate$_(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
20003
20219
|
for (let i = 0; i < obj_columns.length; i++) {
|
|
20004
20220
|
const obj_columns_item = obj_columns[i];
|
|
20005
20221
|
const path_columns_item = path_columns + '[' + i + ']';
|
|
20006
|
-
const referencepath_columns_itemValidationError = validate
|
|
20222
|
+
const referencepath_columns_itemValidationError = validate$14(obj_columns_item, path_columns_item);
|
|
20007
20223
|
if (referencepath_columns_itemValidationError !== null) {
|
|
20008
20224
|
let message = 'Object doesn\'t match ListObjectColumnRepresentation (at "' + path_columns_item + '")\n';
|
|
20009
20225
|
message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20137,7 +20353,7 @@ function equals$C(existing, incoming) {
|
|
|
20137
20353
|
}
|
|
20138
20354
|
const ingest$1x = function ListObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20139
20355
|
if (process.env.NODE_ENV !== 'production') {
|
|
20140
|
-
const validateError = validate$
|
|
20356
|
+
const validateError = validate$13(input);
|
|
20141
20357
|
if (validateError !== null) {
|
|
20142
20358
|
throw validateError;
|
|
20143
20359
|
}
|
|
@@ -20300,7 +20516,7 @@ const getListObjectInfoAdapterFactory = (luvio) => function UiApi__getListObject
|
|
|
20300
20516
|
|
|
20301
20517
|
const TTL$o = 900000;
|
|
20302
20518
|
const VERSION$1L = "458d4a6a30201e422e8daec5fcb03845";
|
|
20303
|
-
function validate$
|
|
20519
|
+
function validate$12(obj, path = 'ListPreferencesRepresentation') {
|
|
20304
20520
|
const v_error = (() => {
|
|
20305
20521
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20306
20522
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20335,7 +20551,7 @@ function validate$Z(obj, path = 'ListPreferencesRepresentation') {
|
|
|
20335
20551
|
}
|
|
20336
20552
|
const obj_listReference = obj.listReference;
|
|
20337
20553
|
const path_listReference = path + '.listReference';
|
|
20338
|
-
const referencepath_listReferenceValidationError = validate$
|
|
20554
|
+
const referencepath_listReferenceValidationError = validate$1$(obj_listReference, path_listReference);
|
|
20339
20555
|
if (referencepath_listReferenceValidationError !== null) {
|
|
20340
20556
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
20341
20557
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20349,7 +20565,7 @@ function validate$Z(obj, path = 'ListPreferencesRepresentation') {
|
|
|
20349
20565
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
20350
20566
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
20351
20567
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
20352
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
20568
|
+
const referencepath_orderedBy_itemValidationError = validate$1Y(obj_orderedBy_item, path_orderedBy_item);
|
|
20353
20569
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
20354
20570
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
20355
20571
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20374,8 +20590,8 @@ function normalize$s(input, existing, path, luvio, store, timestamp) {
|
|
|
20374
20590
|
return input;
|
|
20375
20591
|
}
|
|
20376
20592
|
const select$21 = function ListPreferencesRepresentationSelect() {
|
|
20377
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
20378
|
-
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$
|
|
20593
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$34();
|
|
20594
|
+
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$31();
|
|
20379
20595
|
return {
|
|
20380
20596
|
kind: 'Fragment',
|
|
20381
20597
|
version: VERSION$1L,
|
|
@@ -20428,13 +20644,13 @@ function equals$B(existing, incoming) {
|
|
|
20428
20644
|
}
|
|
20429
20645
|
const existing_listReference = existing.listReference;
|
|
20430
20646
|
const incoming_listReference = incoming.listReference;
|
|
20431
|
-
if (!(equals$
|
|
20647
|
+
if (!(equals$18(existing_listReference, incoming_listReference))) {
|
|
20432
20648
|
return false;
|
|
20433
20649
|
}
|
|
20434
20650
|
const existing_orderedBy = existing.orderedBy;
|
|
20435
20651
|
const incoming_orderedBy = incoming.orderedBy;
|
|
20436
20652
|
const equals_orderedBy_items = equalsArray(existing_orderedBy, incoming_orderedBy, (existing_orderedBy_item, incoming_orderedBy_item) => {
|
|
20437
|
-
if (!(equals$
|
|
20653
|
+
if (!(equals$17(existing_orderedBy_item, incoming_orderedBy_item))) {
|
|
20438
20654
|
return false;
|
|
20439
20655
|
}
|
|
20440
20656
|
});
|
|
@@ -20445,7 +20661,7 @@ function equals$B(existing, incoming) {
|
|
|
20445
20661
|
}
|
|
20446
20662
|
const ingest$1w = function ListPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20447
20663
|
if (process.env.NODE_ENV !== 'production') {
|
|
20448
|
-
const validateError = validate$
|
|
20664
|
+
const validateError = validate$12(input);
|
|
20449
20665
|
if (validateError !== null) {
|
|
20450
20666
|
throw validateError;
|
|
20451
20667
|
}
|
|
@@ -20608,7 +20824,7 @@ const getListPreferencesAdapterFactory = (luvio) => function UiApi__getListPrefe
|
|
|
20608
20824
|
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$t);
|
|
20609
20825
|
};
|
|
20610
20826
|
|
|
20611
|
-
function validate$
|
|
20827
|
+
function validate$11(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
20612
20828
|
const v_error = (() => {
|
|
20613
20829
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20614
20830
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20716,7 +20932,7 @@ function typeCheckConfig$E(untrustedConfig) {
|
|
|
20716
20932
|
const untrustedConfig_orderedBy_array = [];
|
|
20717
20933
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
20718
20934
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
20719
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
20935
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$11(untrustedConfig_orderedBy_item);
|
|
20720
20936
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
20721
20937
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
20722
20938
|
}
|
|
@@ -20770,7 +20986,7 @@ const updateListPreferencesAdapterFactory = (luvio) => {
|
|
|
20770
20986
|
|
|
20771
20987
|
const TTL$n = 120000;
|
|
20772
20988
|
const VERSION$1K = "756779d0d7e137dd72c743544afbad82";
|
|
20773
|
-
function validate$
|
|
20989
|
+
function validate$10(obj, path = 'NavItemsRepresentation') {
|
|
20774
20990
|
const v_error = (() => {
|
|
20775
20991
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20776
20992
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20898,7 +21114,7 @@ function equals$A(existing, incoming) {
|
|
|
20898
21114
|
}
|
|
20899
21115
|
const ingest$1v = function NavItemsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20900
21116
|
if (process.env.NODE_ENV !== 'production') {
|
|
20901
|
-
const validateError = validate$
|
|
21117
|
+
const validateError = validate$10(input);
|
|
20902
21118
|
if (validateError !== null) {
|
|
20903
21119
|
throw validateError;
|
|
20904
21120
|
}
|
|
@@ -21634,7 +21850,7 @@ var DiscriminatorValues$4;
|
|
|
21634
21850
|
DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
|
|
21635
21851
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
21636
21852
|
const VERSION$1F = "bd523b2343366edfc25a2dbee2c4e986";
|
|
21637
|
-
function validate
|
|
21853
|
+
function validate$$(obj, path = 'AbstractPicklistValueAttributesRepresentation') {
|
|
21638
21854
|
const v_error = (() => {
|
|
21639
21855
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21640
21856
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21679,7 +21895,7 @@ const select$1S = function AbstractPicklistValueAttributesRepresentationSelect()
|
|
|
21679
21895
|
};
|
|
21680
21896
|
|
|
21681
21897
|
const VERSION$1E = "9e2a16a80378487f557124c771201cf9";
|
|
21682
|
-
function validate$
|
|
21898
|
+
function validate$_(obj, path = 'PicklistValueRepresentation') {
|
|
21683
21899
|
const v_error = (() => {
|
|
21684
21900
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21685
21901
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21688,7 +21904,7 @@ function validate$V(obj, path = 'PicklistValueRepresentation') {
|
|
|
21688
21904
|
const path_attributes = path + '.attributes';
|
|
21689
21905
|
let obj_attributes_union0 = null;
|
|
21690
21906
|
const obj_attributes_union0_error = (() => {
|
|
21691
|
-
const referencepath_attributesValidationError = validate
|
|
21907
|
+
const referencepath_attributesValidationError = validate$$(obj_attributes, path_attributes);
|
|
21692
21908
|
if (referencepath_attributesValidationError !== null) {
|
|
21693
21909
|
let message = 'Object doesn\'t match AbstractPicklistValueAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
21694
21910
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21783,7 +21999,7 @@ function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
|
|
|
21783
21999
|
|
|
21784
22000
|
const TTL$m = 900000;
|
|
21785
22001
|
const VERSION$1D = "0a361a49370acb4c6a31721a2057649a";
|
|
21786
|
-
function validate$
|
|
22002
|
+
function validate$Z(obj, path = 'PicklistValuesRepresentation') {
|
|
21787
22003
|
const v_error = (() => {
|
|
21788
22004
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21789
22005
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21806,7 +22022,7 @@ function validate$U(obj, path = 'PicklistValuesRepresentation') {
|
|
|
21806
22022
|
const path_defaultValue = path + '.defaultValue';
|
|
21807
22023
|
let obj_defaultValue_union0 = null;
|
|
21808
22024
|
const obj_defaultValue_union0_error = (() => {
|
|
21809
|
-
const referencepath_defaultValueValidationError = validate$
|
|
22025
|
+
const referencepath_defaultValueValidationError = validate$_(obj_defaultValue, path_defaultValue);
|
|
21810
22026
|
if (referencepath_defaultValueValidationError !== null) {
|
|
21811
22027
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_defaultValue + '")\n';
|
|
21812
22028
|
message += referencepath_defaultValueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21849,7 +22065,7 @@ function validate$U(obj, path = 'PicklistValuesRepresentation') {
|
|
|
21849
22065
|
for (let i = 0; i < obj_values.length; i++) {
|
|
21850
22066
|
const obj_values_item = obj_values[i];
|
|
21851
22067
|
const path_values_item = path_values + '[' + i + ']';
|
|
21852
|
-
const referencepath_values_itemValidationError = validate$
|
|
22068
|
+
const referencepath_values_itemValidationError = validate$_(obj_values_item, path_values_item);
|
|
21853
22069
|
if (referencepath_values_itemValidationError !== null) {
|
|
21854
22070
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_values_item + '")\n';
|
|
21855
22071
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21907,7 +22123,7 @@ function equals$z(existing, incoming) {
|
|
|
21907
22123
|
}
|
|
21908
22124
|
const ingest$1u = function PicklistValuesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21909
22125
|
if (process.env.NODE_ENV !== 'production') {
|
|
21910
|
-
const validateError = validate$
|
|
22126
|
+
const validateError = validate$Z(input);
|
|
21911
22127
|
if (validateError !== null) {
|
|
21912
22128
|
throw validateError;
|
|
21913
22129
|
}
|
|
@@ -21929,7 +22145,7 @@ function getTypeCacheKeys$1w(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
21929
22145
|
|
|
21930
22146
|
const TTL$l = 300000;
|
|
21931
22147
|
const VERSION$1C = "ec03b0f6da287c949d1ccaa904ddbfd3";
|
|
21932
|
-
function validate$
|
|
22148
|
+
function validate$Y(obj, path = 'PicklistValuesCollectionRepresentation') {
|
|
21933
22149
|
const v_error = (() => {
|
|
21934
22150
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21935
22151
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22016,7 +22232,7 @@ function equals$y(existing, incoming) {
|
|
|
22016
22232
|
}
|
|
22017
22233
|
const ingest$1t = function PicklistValuesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22018
22234
|
if (process.env.NODE_ENV !== 'production') {
|
|
22019
|
-
const validateError = validate$
|
|
22235
|
+
const validateError = validate$Y(input);
|
|
22020
22236
|
if (validateError !== null) {
|
|
22021
22237
|
throw validateError;
|
|
22022
22238
|
}
|
|
@@ -22353,7 +22569,7 @@ const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistVa
|
|
|
22353
22569
|
buildCachedSnapshotCachePolicy$o, buildNetworkSnapshotCachePolicy$o);
|
|
22354
22570
|
};
|
|
22355
22571
|
|
|
22356
|
-
function validate$
|
|
22572
|
+
function validate$X(obj, path = 'MatchResultInfoRepresentation') {
|
|
22357
22573
|
const v_error = (() => {
|
|
22358
22574
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22359
22575
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22379,7 +22595,7 @@ function validate$S(obj, path = 'MatchResultInfoRepresentation') {
|
|
|
22379
22595
|
return v_error === undefined ? null : v_error;
|
|
22380
22596
|
}
|
|
22381
22597
|
|
|
22382
|
-
function validate$
|
|
22598
|
+
function validate$W(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
22383
22599
|
const v_error = (() => {
|
|
22384
22600
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22385
22601
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22391,7 +22607,7 @@ function validate$R(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
22391
22607
|
}
|
|
22392
22608
|
const obj_matchResultInfo = obj.matchResultInfo;
|
|
22393
22609
|
const path_matchResultInfo = path + '.matchResultInfo';
|
|
22394
|
-
const referencepath_matchResultInfoValidationError = validate$
|
|
22610
|
+
const referencepath_matchResultInfoValidationError = validate$X(obj_matchResultInfo, path_matchResultInfo);
|
|
22395
22611
|
if (referencepath_matchResultInfoValidationError !== null) {
|
|
22396
22612
|
let message = 'Object doesn\'t match MatchResultInfoRepresentation (at "' + path_matchResultInfo + '")\n';
|
|
22397
22613
|
message += referencepath_matchResultInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22406,7 +22622,7 @@ function validate$R(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
22406
22622
|
return v_error === undefined ? null : v_error;
|
|
22407
22623
|
}
|
|
22408
22624
|
|
|
22409
|
-
function validate$
|
|
22625
|
+
function validate$V(obj, path = 'MatchRepresentation') {
|
|
22410
22626
|
const v_error = (() => {
|
|
22411
22627
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22412
22628
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22421,7 +22637,7 @@ function validate$Q(obj, path = 'MatchRepresentation') {
|
|
|
22421
22637
|
const key = obj_duplicateResultInfos_keys[i];
|
|
22422
22638
|
const obj_duplicateResultInfos_prop = obj_duplicateResultInfos[key];
|
|
22423
22639
|
const path_duplicateResultInfos_prop = path_duplicateResultInfos + '["' + key + '"]';
|
|
22424
|
-
const referencepath_duplicateResultInfos_propValidationError = validate$
|
|
22640
|
+
const referencepath_duplicateResultInfos_propValidationError = validate$W(obj_duplicateResultInfos_prop, path_duplicateResultInfos_prop);
|
|
22425
22641
|
if (referencepath_duplicateResultInfos_propValidationError !== null) {
|
|
22426
22642
|
let message = 'Object doesn\'t match DuplicateResultInfoRepresentation (at "' + path_duplicateResultInfos_prop + '")\n';
|
|
22427
22643
|
message += referencepath_duplicateResultInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22451,7 +22667,7 @@ function validate$Q(obj, path = 'MatchRepresentation') {
|
|
|
22451
22667
|
|
|
22452
22668
|
const TTL$k = 30000;
|
|
22453
22669
|
const VERSION$1B = "583c38564fa15ce0fb3dd2807be1bdc6";
|
|
22454
|
-
function validate$
|
|
22670
|
+
function validate$U(obj, path = 'DuplicatesRepresentation') {
|
|
22455
22671
|
const v_error = (() => {
|
|
22456
22672
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22457
22673
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22486,7 +22702,7 @@ function validate$P(obj, path = 'DuplicatesRepresentation') {
|
|
|
22486
22702
|
for (let i = 0; i < obj_matches.length; i++) {
|
|
22487
22703
|
const obj_matches_item = obj_matches[i];
|
|
22488
22704
|
const path_matches_item = path_matches + '[' + i + ']';
|
|
22489
|
-
const referencepath_matches_itemValidationError = validate$
|
|
22705
|
+
const referencepath_matches_itemValidationError = validate$V(obj_matches_item, path_matches_item);
|
|
22490
22706
|
if (referencepath_matches_itemValidationError !== null) {
|
|
22491
22707
|
let message = 'Object doesn\'t match MatchRepresentation (at "' + path_matches_item + '")\n';
|
|
22492
22708
|
message += referencepath_matches_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22516,7 +22732,7 @@ function equals$x(existing, incoming) {
|
|
|
22516
22732
|
}
|
|
22517
22733
|
const ingest$1s = function DuplicatesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22518
22734
|
if (process.env.NODE_ENV !== 'production') {
|
|
22519
|
-
const validateError = validate$
|
|
22735
|
+
const validateError = validate$U(input);
|
|
22520
22736
|
if (validateError !== null) {
|
|
22521
22737
|
throw validateError;
|
|
22522
22738
|
}
|
|
@@ -22709,7 +22925,7 @@ const getDuplicatesAdapterFactory = (luvio) => function UiApi__getDuplicates(unt
|
|
|
22709
22925
|
};
|
|
22710
22926
|
|
|
22711
22927
|
const VERSION$1A = "e84b9ffdeff97c411bd111f2a55cf6b6";
|
|
22712
|
-
function validate$
|
|
22928
|
+
function validate$T(obj, path = 'PhotoMetadataRepresentation') {
|
|
22713
22929
|
const v_error = (() => {
|
|
22714
22930
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22715
22931
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22801,8 +23017,8 @@ function equals$w(existing, incoming) {
|
|
|
22801
23017
|
}
|
|
22802
23018
|
|
|
22803
23019
|
const VERSION$1z = "34ffbf4219dfebb707bff609c2d5bf89";
|
|
22804
|
-
function validate$
|
|
22805
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
23020
|
+
function validate$S(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
23021
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$Q(obj, path);
|
|
22806
23022
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
22807
23023
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
22808
23024
|
}
|
|
@@ -22869,7 +23085,7 @@ function validate$N(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
|
22869
23085
|
}
|
|
22870
23086
|
const obj_photoMetadata = obj.photoMetadata;
|
|
22871
23087
|
const path_photoMetadata = path + '.photoMetadata';
|
|
22872
|
-
const referencepath_photoMetadataValidationError = validate$
|
|
23088
|
+
const referencepath_photoMetadataValidationError = validate$T(obj_photoMetadata, path_photoMetadata);
|
|
22873
23089
|
if (referencepath_photoMetadataValidationError !== null) {
|
|
22874
23090
|
let message = 'Object doesn\'t match PhotoMetadataRepresentation (at "' + path_photoMetadata + '")\n';
|
|
22875
23091
|
message += referencepath_photoMetadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23024,7 +23240,7 @@ function equals$v(existing, incoming) {
|
|
|
23024
23240
|
}
|
|
23025
23241
|
const ingest$1r = function PhotoRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23026
23242
|
if (process.env.NODE_ENV !== 'production') {
|
|
23027
|
-
const validateError = validate$
|
|
23243
|
+
const validateError = validate$S(input);
|
|
23028
23244
|
if (validateError !== null) {
|
|
23029
23245
|
throw validateError;
|
|
23030
23246
|
}
|
|
@@ -23045,8 +23261,8 @@ function getTypeCacheKeys$1t(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23045
23261
|
}
|
|
23046
23262
|
|
|
23047
23263
|
const VERSION$1y = "cbdcf69a6568d41ccf155b2b95ec70e7";
|
|
23048
|
-
function validate$
|
|
23049
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
23264
|
+
function validate$R(obj, path = 'ThemeRecordAvatarRepresentation') {
|
|
23265
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$Q(obj, path);
|
|
23050
23266
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
23051
23267
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
23052
23268
|
}
|
|
@@ -23165,7 +23381,7 @@ function equals$u(existing, incoming) {
|
|
|
23165
23381
|
}
|
|
23166
23382
|
const ingest$1q = function ThemeRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23167
23383
|
if (process.env.NODE_ENV !== 'production') {
|
|
23168
|
-
const validateError = validate$
|
|
23384
|
+
const validateError = validate$R(input);
|
|
23169
23385
|
if (validateError !== null) {
|
|
23170
23386
|
throw validateError;
|
|
23171
23387
|
}
|
|
@@ -23191,7 +23407,7 @@ var DiscriminatorValues$3;
|
|
|
23191
23407
|
DiscriminatorValues["Theme"] = "Theme";
|
|
23192
23408
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
23193
23409
|
const VERSION$1x = "bc05f8d1c708b6c41c9bf2fe6001aff0";
|
|
23194
|
-
function validate$
|
|
23410
|
+
function validate$Q(obj, path = 'AbstractRecordAvatarRepresentation') {
|
|
23195
23411
|
const v_error = (() => {
|
|
23196
23412
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23197
23413
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23284,8 +23500,8 @@ function getTypeCacheKeys$1r(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23284
23500
|
}
|
|
23285
23501
|
|
|
23286
23502
|
const VERSION$1w = "f531b44760afecfce89990fe5a5c5c29";
|
|
23287
|
-
function validate$
|
|
23288
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23503
|
+
function validate$P(obj, path = 'RecordAvatarBatchRepresentation') {
|
|
23504
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$L(obj, path);
|
|
23289
23505
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
23290
23506
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
23291
23507
|
}
|
|
@@ -23346,7 +23562,7 @@ function equals$s(existing, incoming) {
|
|
|
23346
23562
|
}
|
|
23347
23563
|
const ingest$1p = function RecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23348
23564
|
if (process.env.NODE_ENV !== 'production') {
|
|
23349
|
-
const validateError = validate$
|
|
23565
|
+
const validateError = validate$P(input);
|
|
23350
23566
|
if (validateError !== null) {
|
|
23351
23567
|
throw validateError;
|
|
23352
23568
|
}
|
|
@@ -23367,7 +23583,7 @@ function getTypeCacheKeys$1q(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23367
23583
|
}
|
|
23368
23584
|
|
|
23369
23585
|
const VERSION$1v = "17c20b01167dba9a81452e60bb28b2f2";
|
|
23370
|
-
function validate$
|
|
23586
|
+
function validate$O(obj, path = 'ErrorSingleRecordAvatarRepresentation') {
|
|
23371
23587
|
const v_error = (() => {
|
|
23372
23588
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23373
23589
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23417,8 +23633,8 @@ function equals$r(existing, incoming) {
|
|
|
23417
23633
|
}
|
|
23418
23634
|
|
|
23419
23635
|
const VERSION$1u = "e7fac2bfb5cdacc5e0f15c350f9ab8fe";
|
|
23420
|
-
function validate$
|
|
23421
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23636
|
+
function validate$N(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation') {
|
|
23637
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$L(obj, path);
|
|
23422
23638
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
23423
23639
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
23424
23640
|
}
|
|
@@ -23434,7 +23650,7 @@ function validate$I(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation'
|
|
|
23434
23650
|
for (let i = 0; i < obj_result.length; i++) {
|
|
23435
23651
|
const obj_result_item = obj_result[i];
|
|
23436
23652
|
const path_result_item = path_result + '[' + i + ']';
|
|
23437
|
-
const referencepath_result_itemValidationError = validate$
|
|
23653
|
+
const referencepath_result_itemValidationError = validate$O(obj_result_item, path_result_item);
|
|
23438
23654
|
if (referencepath_result_itemValidationError !== null) {
|
|
23439
23655
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
23440
23656
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23484,7 +23700,7 @@ function equals$q(existing, incoming) {
|
|
|
23484
23700
|
}
|
|
23485
23701
|
const ingest$1o = function ErrorBadRequestRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23486
23702
|
if (process.env.NODE_ENV !== 'production') {
|
|
23487
|
-
const validateError = validate$
|
|
23703
|
+
const validateError = validate$N(input);
|
|
23488
23704
|
if (validateError !== null) {
|
|
23489
23705
|
throw validateError;
|
|
23490
23706
|
}
|
|
@@ -23505,8 +23721,8 @@ function getTypeCacheKeys$1p(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23505
23721
|
}
|
|
23506
23722
|
|
|
23507
23723
|
const VERSION$1t = "cbd48fd50d0db463fdff7b1834c22bed";
|
|
23508
|
-
function validate$
|
|
23509
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23724
|
+
function validate$M(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
23725
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$L(obj, path);
|
|
23510
23726
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
23511
23727
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
23512
23728
|
}
|
|
@@ -23522,7 +23738,7 @@ function validate$H(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
|
23522
23738
|
for (let i = 0; i < obj_result.length; i++) {
|
|
23523
23739
|
const obj_result_item = obj_result[i];
|
|
23524
23740
|
const path_result_item = path_result + '[' + i + ']';
|
|
23525
|
-
const referencepath_result_itemValidationError = validate$
|
|
23741
|
+
const referencepath_result_itemValidationError = validate$O(obj_result_item, path_result_item);
|
|
23526
23742
|
if (referencepath_result_itemValidationError !== null) {
|
|
23527
23743
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
23528
23744
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23572,7 +23788,7 @@ function equals$p(existing, incoming) {
|
|
|
23572
23788
|
}
|
|
23573
23789
|
const ingest$1n = function ErrorRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23574
23790
|
if (process.env.NODE_ENV !== 'production') {
|
|
23575
|
-
const validateError = validate$
|
|
23791
|
+
const validateError = validate$M(input);
|
|
23576
23792
|
if (validateError !== null) {
|
|
23577
23793
|
throw validateError;
|
|
23578
23794
|
}
|
|
@@ -23599,7 +23815,7 @@ const DiscriminatorValues$2 = {
|
|
|
23599
23815
|
};
|
|
23600
23816
|
const TTL$j = 300000;
|
|
23601
23817
|
const VERSION$1s = "8956293536e94d5ec63b274b61033d2c";
|
|
23602
|
-
function validate$
|
|
23818
|
+
function validate$L(obj, path = 'AbstractRecordAvatarBatchRepresentation') {
|
|
23603
23819
|
const v_error = (() => {
|
|
23604
23820
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23605
23821
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23677,7 +23893,7 @@ function getTypeCacheKeys$1n(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23677
23893
|
|
|
23678
23894
|
const TTL$i = 300000;
|
|
23679
23895
|
const VERSION$1r = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
23680
|
-
function validate$
|
|
23896
|
+
function validate$K(obj, path = 'RecordAvatarBulkMapRepresentation') {
|
|
23681
23897
|
const v_error = (() => {
|
|
23682
23898
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23683
23899
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23756,7 +23972,7 @@ function merge(existing, incoming, _luvio, _path) {
|
|
|
23756
23972
|
|
|
23757
23973
|
const ingest$1m = function RecordAvatarBulkMapRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23758
23974
|
if (process.env.NODE_ENV !== 'production') {
|
|
23759
|
-
const validateError = validate$
|
|
23975
|
+
const validateError = validate$K(input);
|
|
23760
23976
|
if (validateError !== null) {
|
|
23761
23977
|
throw validateError;
|
|
23762
23978
|
}
|
|
@@ -24247,7 +24463,7 @@ const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrusted
|
|
|
24247
24463
|
};
|
|
24248
24464
|
|
|
24249
24465
|
const VERSION$1q = "4d4bdab5d0aa61e365e766409c9b3a31";
|
|
24250
|
-
function validate$
|
|
24466
|
+
function validate$J(obj, path = 'RelatedListReferenceRepresentation') {
|
|
24251
24467
|
const v_error = (() => {
|
|
24252
24468
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24253
24469
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24486,7 +24702,7 @@ function equals$m(existing, incoming) {
|
|
|
24486
24702
|
}
|
|
24487
24703
|
|
|
24488
24704
|
const VERSION$1p = "836b875b519813e7499efc62f0f1d04b";
|
|
24489
|
-
function validate$
|
|
24705
|
+
function validate$I(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
24490
24706
|
const v_error = (() => {
|
|
24491
24707
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24492
24708
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24529,7 +24745,7 @@ function validate$D(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
|
24529
24745
|
}
|
|
24530
24746
|
const obj_listReference = obj.listReference;
|
|
24531
24747
|
const path_listReference = path + '.listReference';
|
|
24532
|
-
const referencepath_listReferenceValidationError = validate$
|
|
24748
|
+
const referencepath_listReferenceValidationError = validate$J(obj_listReference, path_listReference);
|
|
24533
24749
|
if (referencepath_listReferenceValidationError !== null) {
|
|
24534
24750
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
24535
24751
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24602,7 +24818,7 @@ function equals$l(existing, incoming) {
|
|
|
24602
24818
|
}
|
|
24603
24819
|
const ingest$1l = function RelatedListRecordCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24604
24820
|
if (process.env.NODE_ENV !== 'production') {
|
|
24605
|
-
const validateError = validate$
|
|
24821
|
+
const validateError = validate$I(input);
|
|
24606
24822
|
if (validateError !== null) {
|
|
24607
24823
|
throw validateError;
|
|
24608
24824
|
}
|
|
@@ -25113,7 +25329,7 @@ const getRelatedListCountAdapterFactory = (luvio) => function UiApi__getRelatedL
|
|
|
25113
25329
|
buildCachedSnapshotCachePolicy$j, buildNetworkSnapshotCachePolicy$j);
|
|
25114
25330
|
};
|
|
25115
25331
|
|
|
25116
|
-
function validate$
|
|
25332
|
+
function validate$H(obj, path = 'RelatedListColumnRepresentation') {
|
|
25117
25333
|
const v_error = (() => {
|
|
25118
25334
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25119
25335
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25264,7 +25480,7 @@ function validate$C(obj, path = 'RelatedListColumnRepresentation') {
|
|
|
25264
25480
|
|
|
25265
25481
|
const TTL$h = 900000;
|
|
25266
25482
|
const VERSION$1o = "c977d65d153a2b4e888ddd45fb083248";
|
|
25267
|
-
function validate$
|
|
25483
|
+
function validate$G(obj, path = 'RelatedListInfoRepresentation') {
|
|
25268
25484
|
const v_error = (() => {
|
|
25269
25485
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25270
25486
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25292,7 +25508,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25292
25508
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
25293
25509
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
25294
25510
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
25295
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
25511
|
+
const referencepath_displayColumns_itemValidationError = validate$H(obj_displayColumns_item, path_displayColumns_item);
|
|
25296
25512
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
25297
25513
|
let message = 'Object doesn\'t match RelatedListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
25298
25514
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25339,7 +25555,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25339
25555
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
25340
25556
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
25341
25557
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
25342
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
25558
|
+
const referencepath_filteredByInfo_itemValidationError = validate$21(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
25343
25559
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
25344
25560
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
25345
25561
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25353,7 +25569,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25353
25569
|
}
|
|
25354
25570
|
const obj_listReference = obj.listReference;
|
|
25355
25571
|
const path_listReference = path + '.listReference';
|
|
25356
|
-
const referencepath_listReferenceValidationError = validate$
|
|
25572
|
+
const referencepath_listReferenceValidationError = validate$J(obj_listReference, path_listReference);
|
|
25357
25573
|
if (referencepath_listReferenceValidationError !== null) {
|
|
25358
25574
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
25359
25575
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25391,7 +25607,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25391
25607
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
25392
25608
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
25393
25609
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
25394
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
25610
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1Y(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
25395
25611
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
25396
25612
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
25397
25613
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25410,7 +25626,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25410
25626
|
}
|
|
25411
25627
|
const obj_userPreferences = obj.userPreferences;
|
|
25412
25628
|
const path_userPreferences = path + '.userPreferences';
|
|
25413
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
25629
|
+
const referencepath_userPreferencesValidationError = validate$1U(obj_userPreferences, path_userPreferences);
|
|
25414
25630
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
25415
25631
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
25416
25632
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25550,7 +25766,7 @@ function equals$k(existing, incoming) {
|
|
|
25550
25766
|
}
|
|
25551
25767
|
const ingest$1k = function RelatedListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
25552
25768
|
if (process.env.NODE_ENV !== 'production') {
|
|
25553
|
-
const validateError = validate$
|
|
25769
|
+
const validateError = validate$G(input);
|
|
25554
25770
|
if (validateError !== null) {
|
|
25555
25771
|
throw validateError;
|
|
25556
25772
|
}
|
|
@@ -25988,7 +26204,7 @@ const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRela
|
|
|
25988
26204
|
buildCachedSnapshotCachePolicy$i, buildNetworkSnapshotCachePolicy$i);
|
|
25989
26205
|
};
|
|
25990
26206
|
|
|
25991
|
-
function validate$
|
|
26207
|
+
function validate$F(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
25992
26208
|
const v_error = (() => {
|
|
25993
26209
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25994
26210
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26084,7 +26300,7 @@ function validate$A(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
26084
26300
|
const path_themeInfo = path + '.themeInfo';
|
|
26085
26301
|
let obj_themeInfo_union0 = null;
|
|
26086
26302
|
const obj_themeInfo_union0_error = (() => {
|
|
26087
|
-
const referencepath_themeInfoValidationError = validate$
|
|
26303
|
+
const referencepath_themeInfoValidationError = validate$1D(obj_themeInfo, path_themeInfo);
|
|
26088
26304
|
if (referencepath_themeInfoValidationError !== null) {
|
|
26089
26305
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
26090
26306
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26119,7 +26335,7 @@ function validate$A(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
26119
26335
|
}
|
|
26120
26336
|
|
|
26121
26337
|
const VERSION$1n = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
26122
|
-
function validate$
|
|
26338
|
+
function validate$E(obj, path = 'RelatedListSummaryInfoCollectionRepresentation') {
|
|
26123
26339
|
const v_error = (() => {
|
|
26124
26340
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26125
26341
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26168,7 +26384,7 @@ function validate$z(obj, path = 'RelatedListSummaryInfoCollectionRepresentation'
|
|
|
26168
26384
|
for (let i = 0; i < obj_relatedLists.length; i++) {
|
|
26169
26385
|
const obj_relatedLists_item = obj_relatedLists[i];
|
|
26170
26386
|
const path_relatedLists_item = path_relatedLists + '[' + i + ']';
|
|
26171
|
-
const referencepath_relatedLists_itemValidationError = validate$
|
|
26387
|
+
const referencepath_relatedLists_itemValidationError = validate$F(obj_relatedLists_item, path_relatedLists_item);
|
|
26172
26388
|
if (referencepath_relatedLists_itemValidationError !== null) {
|
|
26173
26389
|
let message = 'Object doesn\'t match RelatedListSummaryInfoRepresentation (at "' + path_relatedLists_item + '")\n';
|
|
26174
26390
|
message += referencepath_relatedLists_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26224,7 +26440,7 @@ function equals$j(existing, incoming) {
|
|
|
26224
26440
|
}
|
|
26225
26441
|
const ingest$1j = function RelatedListSummaryInfoCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26226
26442
|
if (process.env.NODE_ENV !== 'production') {
|
|
26227
|
-
const validateError = validate$
|
|
26443
|
+
const validateError = validate$E(input);
|
|
26228
26444
|
if (validateError !== null) {
|
|
26229
26445
|
throw validateError;
|
|
26230
26446
|
}
|
|
@@ -26473,7 +26689,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
|
|
|
26473
26689
|
buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$g);
|
|
26474
26690
|
};
|
|
26475
26691
|
|
|
26476
|
-
function validate$
|
|
26692
|
+
function validate$D(obj, path = 'ListUserPreferenceInputRepresentation') {
|
|
26477
26693
|
const v_error = (() => {
|
|
26478
26694
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26479
26695
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26555,7 +26771,7 @@ function typeCheckConfig$q(untrustedConfig) {
|
|
|
26555
26771
|
const untrustedConfig_orderedByInfo_array = [];
|
|
26556
26772
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
26557
26773
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
26558
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
26774
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$11(untrustedConfig_orderedByInfo_item);
|
|
26559
26775
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
26560
26776
|
untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
|
|
26561
26777
|
}
|
|
@@ -26563,7 +26779,7 @@ function typeCheckConfig$q(untrustedConfig) {
|
|
|
26563
26779
|
config.orderedByInfo = untrustedConfig_orderedByInfo_array;
|
|
26564
26780
|
}
|
|
26565
26781
|
const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
|
|
26566
|
-
const referenceListUserPreferenceInputRepresentationValidationError = validate$
|
|
26782
|
+
const referenceListUserPreferenceInputRepresentationValidationError = validate$D(untrustedConfig_userPreferences);
|
|
26567
26783
|
if (referenceListUserPreferenceInputRepresentationValidationError === null) {
|
|
26568
26784
|
config.userPreferences = untrustedConfig_userPreferences;
|
|
26569
26785
|
}
|
|
@@ -26628,7 +26844,7 @@ const updateRelatedListInfoAdapterFactory = (luvio) => {
|
|
|
26628
26844
|
|
|
26629
26845
|
const TTL$g = 900000;
|
|
26630
26846
|
const VERSION$1m = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
26631
|
-
function validate$
|
|
26847
|
+
function validate$C(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
26632
26848
|
const v_error = (() => {
|
|
26633
26849
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26634
26850
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26669,7 +26885,7 @@ function validate$x(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
|
26669
26885
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
26670
26886
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
26671
26887
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
26672
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
26888
|
+
const referencepath_orderedBy_itemValidationError = validate$1Y(obj_orderedBy_item, path_orderedBy_item);
|
|
26673
26889
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
26674
26890
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
26675
26891
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26713,7 +26929,7 @@ function equals$i(existing, incoming) {
|
|
|
26713
26929
|
}
|
|
26714
26930
|
const ingest$1i = function RelatedListUserPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26715
26931
|
if (process.env.NODE_ENV !== 'production') {
|
|
26716
|
-
const validateError = validate$
|
|
26932
|
+
const validateError = validate$C(input);
|
|
26717
26933
|
if (validateError !== null) {
|
|
26718
26934
|
throw validateError;
|
|
26719
26935
|
}
|
|
@@ -27309,7 +27525,7 @@ function typeCheckConfig$n(untrustedConfig) {
|
|
|
27309
27525
|
const untrustedConfig_orderedBy_array = [];
|
|
27310
27526
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
27311
27527
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
27312
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
27528
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$11(untrustedConfig_orderedBy_item);
|
|
27313
27529
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
27314
27530
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
27315
27531
|
}
|
|
@@ -27360,7 +27576,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
|
|
|
27360
27576
|
};
|
|
27361
27577
|
};
|
|
27362
27578
|
|
|
27363
|
-
function validate$
|
|
27579
|
+
function validate$B(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
27364
27580
|
const v_error = (() => {
|
|
27365
27581
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27366
27582
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27603,7 +27819,7 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
|
|
|
27603
27819
|
|
|
27604
27820
|
const TTL$f = 30000;
|
|
27605
27821
|
const VERSION$1l = "62467c27c19349b70c9db2a8d9d591d9";
|
|
27606
|
-
function validate$
|
|
27822
|
+
function validate$A(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
27607
27823
|
const v_error = (() => {
|
|
27608
27824
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27609
27825
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27684,7 +27900,7 @@ function validate$v(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
27684
27900
|
}
|
|
27685
27901
|
const obj_listReference = obj.listReference;
|
|
27686
27902
|
const path_listReference = path + '.listReference';
|
|
27687
|
-
const referencepath_listReferenceValidationError = validate$
|
|
27903
|
+
const referencepath_listReferenceValidationError = validate$J(obj_listReference, path_listReference);
|
|
27688
27904
|
if (referencepath_listReferenceValidationError !== null) {
|
|
27689
27905
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
27690
27906
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28105,7 +28321,7 @@ function equals$h(existing, incoming) {
|
|
|
28105
28321
|
}
|
|
28106
28322
|
const ingest$1h = function RelatedListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28107
28323
|
if (process.env.NODE_ENV !== 'production') {
|
|
28108
|
-
const validateError = validate$
|
|
28324
|
+
const validateError = validate$A(input);
|
|
28109
28325
|
if (validateError !== null) {
|
|
28110
28326
|
throw validateError;
|
|
28111
28327
|
}
|
|
@@ -28596,7 +28812,7 @@ function typeCheckConfig$m(untrustedConfig) {
|
|
|
28596
28812
|
const untrustedConfig_relatedListParameters_array = [];
|
|
28597
28813
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
28598
28814
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
28599
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
28815
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$B(untrustedConfig_relatedListParameters_item);
|
|
28600
28816
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
28601
28817
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
28602
28818
|
}
|
|
@@ -28839,7 +29055,7 @@ const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
28839
29055
|
buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
|
|
28840
29056
|
};
|
|
28841
29057
|
|
|
28842
|
-
function validate$
|
|
29058
|
+
function validate$z(obj, path = 'SearchFilterOptionRepresentation') {
|
|
28843
29059
|
const v_error = (() => {
|
|
28844
29060
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28845
29061
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28869,7 +29085,7 @@ var DiscriminatorValues;
|
|
|
28869
29085
|
DiscriminatorValues["Field"] = "Field";
|
|
28870
29086
|
DiscriminatorValues["DataCategory"] = "DataCategory";
|
|
28871
29087
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
28872
|
-
function validate$
|
|
29088
|
+
function validate$y(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
28873
29089
|
const v_error = (() => {
|
|
28874
29090
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28875
29091
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28930,7 +29146,7 @@ function validate$t(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
|
28930
29146
|
|
|
28931
29147
|
const TTL$e = 30000;
|
|
28932
29148
|
const VERSION$1k = "7d241c2ee7cc9b09d6bd434b33b0b5e4";
|
|
28933
|
-
function validate$
|
|
29149
|
+
function validate$x(obj, path = 'SearchFilterMetadataCollectionRepresentation') {
|
|
28934
29150
|
const v_error = (() => {
|
|
28935
29151
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28936
29152
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28969,7 +29185,7 @@ function validate$s(obj, path = 'SearchFilterMetadataCollectionRepresentation')
|
|
|
28969
29185
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
28970
29186
|
const obj_filters_item = obj_filters[i];
|
|
28971
29187
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
28972
|
-
const referencepath_filters_itemValidationError = validate$
|
|
29188
|
+
const referencepath_filters_itemValidationError = validate$y(obj_filters_item, path_filters_item);
|
|
28973
29189
|
if (referencepath_filters_itemValidationError !== null) {
|
|
28974
29190
|
let message = 'Object doesn\'t match SearchFilterDefinitionRepresentation (at "' + path_filters_item + '")\n';
|
|
28975
29191
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29014,7 +29230,7 @@ function equals$g(existing, incoming) {
|
|
|
29014
29230
|
}
|
|
29015
29231
|
const ingest$1g = function SearchFilterMetadataCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29016
29232
|
if (process.env.NODE_ENV !== 'production') {
|
|
29017
|
-
const validateError = validate$
|
|
29233
|
+
const validateError = validate$x(input);
|
|
29018
29234
|
if (validateError !== null) {
|
|
29019
29235
|
throw validateError;
|
|
29020
29236
|
}
|
|
@@ -29178,7 +29394,7 @@ const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSear
|
|
|
29178
29394
|
|
|
29179
29395
|
const TTL$d = 30000;
|
|
29180
29396
|
const VERSION$1j = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
29181
|
-
function validate$
|
|
29397
|
+
function validate$w(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
29182
29398
|
const v_error = (() => {
|
|
29183
29399
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29184
29400
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29201,7 +29417,7 @@ function validate$r(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
|
29201
29417
|
for (let i = 0; i < obj_options.length; i++) {
|
|
29202
29418
|
const obj_options_item = obj_options[i];
|
|
29203
29419
|
const path_options_item = path_options + '[' + i + ']';
|
|
29204
|
-
const referencepath_options_itemValidationError = validate$
|
|
29420
|
+
const referencepath_options_itemValidationError = validate$z(obj_options_item, path_options_item);
|
|
29205
29421
|
if (referencepath_options_itemValidationError !== null) {
|
|
29206
29422
|
let message = 'Object doesn\'t match SearchFilterOptionRepresentation (at "' + path_options_item + '")\n';
|
|
29207
29423
|
message += referencepath_options_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29268,7 +29484,7 @@ function equals$f(existing, incoming) {
|
|
|
29268
29484
|
}
|
|
29269
29485
|
const ingest$1f = function SearchFilterOptionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29270
29486
|
if (process.env.NODE_ENV !== 'production') {
|
|
29271
|
-
const validateError = validate$
|
|
29487
|
+
const validateError = validate$w(input);
|
|
29272
29488
|
if (validateError !== null) {
|
|
29273
29489
|
throw validateError;
|
|
29274
29490
|
}
|
|
@@ -29432,7 +29648,7 @@ const getSearchFilterOptionsAdapterFactory = (luvio) => function UiApi__getSearc
|
|
|
29432
29648
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
|
|
29433
29649
|
};
|
|
29434
29650
|
|
|
29435
|
-
function validate$
|
|
29651
|
+
function validate$v(obj, path = 'DisplayLayoutRepresentation') {
|
|
29436
29652
|
const v_error = (() => {
|
|
29437
29653
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29438
29654
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29453,7 +29669,7 @@ function validate$q(obj, path = 'DisplayLayoutRepresentation') {
|
|
|
29453
29669
|
return v_error === undefined ? null : v_error;
|
|
29454
29670
|
}
|
|
29455
29671
|
|
|
29456
|
-
function validate$
|
|
29672
|
+
function validate$u(obj, path = 'MatchingInfoRepresentation') {
|
|
29457
29673
|
const v_error = (() => {
|
|
29458
29674
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29459
29675
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29474,14 +29690,14 @@ function validate$p(obj, path = 'MatchingInfoRepresentation') {
|
|
|
29474
29690
|
return v_error === undefined ? null : v_error;
|
|
29475
29691
|
}
|
|
29476
29692
|
|
|
29477
|
-
function validate$
|
|
29693
|
+
function validate$t(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
29478
29694
|
const v_error = (() => {
|
|
29479
29695
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29480
29696
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29481
29697
|
}
|
|
29482
29698
|
const obj_displayLayout = obj.displayLayout;
|
|
29483
29699
|
const path_displayLayout = path + '.displayLayout';
|
|
29484
|
-
const referencepath_displayLayoutValidationError = validate$
|
|
29700
|
+
const referencepath_displayLayoutValidationError = validate$v(obj_displayLayout, path_displayLayout);
|
|
29485
29701
|
if (referencepath_displayLayoutValidationError !== null) {
|
|
29486
29702
|
let message = 'Object doesn\'t match DisplayLayoutRepresentation (at "' + path_displayLayout + '")\n';
|
|
29487
29703
|
message += referencepath_displayLayoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29489,7 +29705,7 @@ function validate$o(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
29489
29705
|
}
|
|
29490
29706
|
const obj_matchingInfo = obj.matchingInfo;
|
|
29491
29707
|
const path_matchingInfo = path + '.matchingInfo';
|
|
29492
|
-
const referencepath_matchingInfoValidationError = validate$
|
|
29708
|
+
const referencepath_matchingInfoValidationError = validate$u(obj_matchingInfo, path_matchingInfo);
|
|
29493
29709
|
if (referencepath_matchingInfoValidationError !== null) {
|
|
29494
29710
|
let message = 'Object doesn\'t match MatchingInfoRepresentation (at "' + path_matchingInfo + '")\n';
|
|
29495
29711
|
message += referencepath_matchingInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29499,14 +29715,14 @@ function validate$o(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
29499
29715
|
return v_error === undefined ? null : v_error;
|
|
29500
29716
|
}
|
|
29501
29717
|
|
|
29502
|
-
function validate$
|
|
29718
|
+
function validate$s(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
29503
29719
|
const v_error = (() => {
|
|
29504
29720
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29505
29721
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29506
29722
|
}
|
|
29507
29723
|
const obj_fullSearchInfo = obj.fullSearchInfo;
|
|
29508
29724
|
const path_fullSearchInfo = path + '.fullSearchInfo';
|
|
29509
|
-
const referencepath_fullSearchInfoValidationError = validate$
|
|
29725
|
+
const referencepath_fullSearchInfoValidationError = validate$t(obj_fullSearchInfo, path_fullSearchInfo);
|
|
29510
29726
|
if (referencepath_fullSearchInfoValidationError !== null) {
|
|
29511
29727
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_fullSearchInfo + '")\n';
|
|
29512
29728
|
message += referencepath_fullSearchInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29519,7 +29735,7 @@ function validate$n(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
29519
29735
|
}
|
|
29520
29736
|
const obj_suggestionsInfo = obj.suggestionsInfo;
|
|
29521
29737
|
const path_suggestionsInfo = path + '.suggestionsInfo';
|
|
29522
|
-
const referencepath_suggestionsInfoValidationError = validate$
|
|
29738
|
+
const referencepath_suggestionsInfoValidationError = validate$t(obj_suggestionsInfo, path_suggestionsInfo);
|
|
29523
29739
|
if (referencepath_suggestionsInfoValidationError !== null) {
|
|
29524
29740
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_suggestionsInfo + '")\n';
|
|
29525
29741
|
message += referencepath_suggestionsInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29531,7 +29747,7 @@ function validate$n(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
29531
29747
|
|
|
29532
29748
|
const TTL$c = 30000;
|
|
29533
29749
|
const VERSION$1i = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
29534
|
-
function validate$
|
|
29750
|
+
function validate$r(obj, path = 'LookupMetadataRepresentation') {
|
|
29535
29751
|
const v_error = (() => {
|
|
29536
29752
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29537
29753
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29582,7 +29798,7 @@ function validate$m(obj, path = 'LookupMetadataRepresentation') {
|
|
|
29582
29798
|
const key = obj_targetInfo_keys[i];
|
|
29583
29799
|
const obj_targetInfo_prop = obj_targetInfo[key];
|
|
29584
29800
|
const path_targetInfo_prop = path_targetInfo + '["' + key + '"]';
|
|
29585
|
-
const referencepath_targetInfo_propValidationError = validate$
|
|
29801
|
+
const referencepath_targetInfo_propValidationError = validate$s(obj_targetInfo_prop, path_targetInfo_prop);
|
|
29586
29802
|
if (referencepath_targetInfo_propValidationError !== null) {
|
|
29587
29803
|
let message = 'Object doesn\'t match LookupMetadataTargetInfoRepresentation (at "' + path_targetInfo_prop + '")\n';
|
|
29588
29804
|
message += referencepath_targetInfo_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29622,7 +29838,7 @@ function equals$e(existing, incoming) {
|
|
|
29622
29838
|
}
|
|
29623
29839
|
const ingest$1e = function LookupMetadataRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29624
29840
|
if (process.env.NODE_ENV !== 'production') {
|
|
29625
|
-
const validateError = validate$
|
|
29841
|
+
const validateError = validate$r(input);
|
|
29626
29842
|
if (validateError !== null) {
|
|
29627
29843
|
throw validateError;
|
|
29628
29844
|
}
|
|
@@ -29784,7 +30000,146 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
|
|
|
29784
30000
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
|
|
29785
30001
|
};
|
|
29786
30002
|
|
|
29787
|
-
function validate$
|
|
30003
|
+
function validate$q(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
30004
|
+
const v_error = (() => {
|
|
30005
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30006
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30007
|
+
}
|
|
30008
|
+
const obj_groupName = obj.groupName;
|
|
30009
|
+
const path_groupName = path + '.groupName';
|
|
30010
|
+
if (typeof obj_groupName !== 'string') {
|
|
30011
|
+
return new TypeError('Expected "string" but received "' + typeof obj_groupName + '" (at "' + path_groupName + '")');
|
|
30012
|
+
}
|
|
30013
|
+
const obj_operator = obj.operator;
|
|
30014
|
+
const path_operator = path + '.operator';
|
|
30015
|
+
if (typeof obj_operator !== 'string') {
|
|
30016
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
30017
|
+
}
|
|
30018
|
+
const obj_values = obj.values;
|
|
30019
|
+
const path_values = path + '.values';
|
|
30020
|
+
if (!ArrayIsArray(obj_values)) {
|
|
30021
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
30022
|
+
}
|
|
30023
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
30024
|
+
const obj_values_item = obj_values[i];
|
|
30025
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
30026
|
+
if (typeof obj_values_item !== 'string') {
|
|
30027
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
30028
|
+
}
|
|
30029
|
+
}
|
|
30030
|
+
})();
|
|
30031
|
+
return v_error === undefined ? null : v_error;
|
|
30032
|
+
}
|
|
30033
|
+
|
|
30034
|
+
function validate$p(obj, path = 'SearchFilterInputRepresentation') {
|
|
30035
|
+
const v_error = (() => {
|
|
30036
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30037
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30038
|
+
}
|
|
30039
|
+
const obj_fieldPath = obj.fieldPath;
|
|
30040
|
+
const path_fieldPath = path + '.fieldPath';
|
|
30041
|
+
if (typeof obj_fieldPath !== 'string') {
|
|
30042
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
30043
|
+
}
|
|
30044
|
+
if (obj.objectApiName !== undefined) {
|
|
30045
|
+
const obj_objectApiName = obj.objectApiName;
|
|
30046
|
+
const path_objectApiName = path + '.objectApiName';
|
|
30047
|
+
if (typeof obj_objectApiName !== 'string') {
|
|
30048
|
+
return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
|
|
30049
|
+
}
|
|
30050
|
+
}
|
|
30051
|
+
const obj_operator = obj.operator;
|
|
30052
|
+
const path_operator = path + '.operator';
|
|
30053
|
+
if (typeof obj_operator !== 'string') {
|
|
30054
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
30055
|
+
}
|
|
30056
|
+
const obj_values = obj.values;
|
|
30057
|
+
const path_values = path + '.values';
|
|
30058
|
+
if (!ArrayIsArray(obj_values)) {
|
|
30059
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
30060
|
+
}
|
|
30061
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
30062
|
+
const obj_values_item = obj_values[i];
|
|
30063
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
30064
|
+
let obj_values_item_union0 = null;
|
|
30065
|
+
const obj_values_item_union0_error = (() => {
|
|
30066
|
+
if (typeof obj_values_item !== 'string') {
|
|
30067
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
30068
|
+
}
|
|
30069
|
+
})();
|
|
30070
|
+
if (obj_values_item_union0_error != null) {
|
|
30071
|
+
obj_values_item_union0 = obj_values_item_union0_error.message;
|
|
30072
|
+
}
|
|
30073
|
+
let obj_values_item_union1 = null;
|
|
30074
|
+
const obj_values_item_union1_error = (() => {
|
|
30075
|
+
if (typeof obj_values_item !== 'number') {
|
|
30076
|
+
return new TypeError('Expected "number" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
30077
|
+
}
|
|
30078
|
+
})();
|
|
30079
|
+
if (obj_values_item_union1_error != null) {
|
|
30080
|
+
obj_values_item_union1 = obj_values_item_union1_error.message;
|
|
30081
|
+
}
|
|
30082
|
+
let obj_values_item_union2 = null;
|
|
30083
|
+
const obj_values_item_union2_error = (() => {
|
|
30084
|
+
if (typeof obj_values_item !== 'boolean') {
|
|
30085
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
30086
|
+
}
|
|
30087
|
+
})();
|
|
30088
|
+
if (obj_values_item_union2_error != null) {
|
|
30089
|
+
obj_values_item_union2 = obj_values_item_union2_error.message;
|
|
30090
|
+
}
|
|
30091
|
+
if (obj_values_item_union0 && obj_values_item_union1 && obj_values_item_union2) {
|
|
30092
|
+
let message = 'Object doesn\'t match union (at "' + path_values_item + '")';
|
|
30093
|
+
message += '\n' + obj_values_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
30094
|
+
message += '\n' + obj_values_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
30095
|
+
message += '\n' + obj_values_item_union2.split('\n').map((line) => '\t' + line).join('\n');
|
|
30096
|
+
return new TypeError(message);
|
|
30097
|
+
}
|
|
30098
|
+
}
|
|
30099
|
+
})();
|
|
30100
|
+
return v_error === undefined ? null : v_error;
|
|
30101
|
+
}
|
|
30102
|
+
|
|
30103
|
+
function validate$o(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
30104
|
+
const v_error = (() => {
|
|
30105
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30106
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30107
|
+
}
|
|
30108
|
+
const obj_dataCategories = obj.dataCategories;
|
|
30109
|
+
const path_dataCategories = path + '.dataCategories';
|
|
30110
|
+
if (!ArrayIsArray(obj_dataCategories)) {
|
|
30111
|
+
return new TypeError('Expected "array" but received "' + typeof obj_dataCategories + '" (at "' + path_dataCategories + '")');
|
|
30112
|
+
}
|
|
30113
|
+
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
30114
|
+
const obj_dataCategories_item = obj_dataCategories[i];
|
|
30115
|
+
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
30116
|
+
const referencepath_dataCategories_itemValidationError = validate$q(obj_dataCategories_item, path_dataCategories_item);
|
|
30117
|
+
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
30118
|
+
let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
|
|
30119
|
+
message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
30120
|
+
return new TypeError(message);
|
|
30121
|
+
}
|
|
30122
|
+
}
|
|
30123
|
+
const obj_filters = obj.filters;
|
|
30124
|
+
const path_filters = path + '.filters';
|
|
30125
|
+
if (!ArrayIsArray(obj_filters)) {
|
|
30126
|
+
return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
|
|
30127
|
+
}
|
|
30128
|
+
for (let i = 0; i < obj_filters.length; i++) {
|
|
30129
|
+
const obj_filters_item = obj_filters[i];
|
|
30130
|
+
const path_filters_item = path_filters + '[' + i + ']';
|
|
30131
|
+
const referencepath_filters_itemValidationError = validate$p(obj_filters_item, path_filters_item);
|
|
30132
|
+
if (referencepath_filters_itemValidationError !== null) {
|
|
30133
|
+
let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
30134
|
+
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
30135
|
+
return new TypeError(message);
|
|
30136
|
+
}
|
|
30137
|
+
}
|
|
30138
|
+
})();
|
|
30139
|
+
return v_error === undefined ? null : v_error;
|
|
30140
|
+
}
|
|
30141
|
+
|
|
30142
|
+
function validate$n(obj, path = 'ErrorMessageRepresentation') {
|
|
29788
30143
|
const v_error = (() => {
|
|
29789
30144
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29790
30145
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29824,7 +30179,7 @@ function validate$l(obj, path = 'ErrorMessageRepresentation') {
|
|
|
29824
30179
|
return v_error === undefined ? null : v_error;
|
|
29825
30180
|
}
|
|
29826
30181
|
|
|
29827
|
-
function validate$
|
|
30182
|
+
function validate$m(obj, path = 'SearchResultCollectionRepresentation') {
|
|
29828
30183
|
const v_error = (() => {
|
|
29829
30184
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29830
30185
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29838,7 +30193,7 @@ function validate$k(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
29838
30193
|
const path_error = path + '.error';
|
|
29839
30194
|
let obj_error_union0 = null;
|
|
29840
30195
|
const obj_error_union0_error = (() => {
|
|
29841
|
-
const referencepath_errorValidationError = validate$
|
|
30196
|
+
const referencepath_errorValidationError = validate$n(obj_error, path_error);
|
|
29842
30197
|
if (referencepath_errorValidationError !== null) {
|
|
29843
30198
|
let message = 'Object doesn\'t match ErrorMessageRepresentation (at "' + path_error + '")\n';
|
|
29844
30199
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29902,7 +30257,7 @@ function validate$k(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
29902
30257
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
29903
30258
|
const obj_orderBy_item = obj_orderBy[i];
|
|
29904
30259
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
29905
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
30260
|
+
const referencepath_orderBy_itemValidationError = validate$1Y(obj_orderBy_item, path_orderBy_item);
|
|
29906
30261
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
29907
30262
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
|
|
29908
30263
|
message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29968,7 +30323,7 @@ function validate$k(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
29968
30323
|
return v_error === undefined ? null : v_error;
|
|
29969
30324
|
}
|
|
29970
30325
|
|
|
29971
|
-
function validate$
|
|
30326
|
+
function validate$l(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
29972
30327
|
const v_error = (() => {
|
|
29973
30328
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29974
30329
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29989,7 +30344,7 @@ function validate$j(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
|
29989
30344
|
return v_error === undefined ? null : v_error;
|
|
29990
30345
|
}
|
|
29991
30346
|
|
|
29992
|
-
function validate$
|
|
30347
|
+
function validate$k(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
29993
30348
|
const v_error = (() => {
|
|
29994
30349
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29995
30350
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30018,7 +30373,7 @@ function validate$i(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
|
30018
30373
|
return v_error === undefined ? null : v_error;
|
|
30019
30374
|
}
|
|
30020
30375
|
|
|
30021
|
-
function validate$
|
|
30376
|
+
function validate$j(obj, path = 'SearchAnswersResultRepresentation') {
|
|
30022
30377
|
const v_error = (() => {
|
|
30023
30378
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30024
30379
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30041,7 +30396,7 @@ function validate$h(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
30041
30396
|
for (let i = 0; i < obj_records.length; i++) {
|
|
30042
30397
|
const obj_records_item = obj_records[i];
|
|
30043
30398
|
const path_records_item = path_records + '[' + i + ']';
|
|
30044
|
-
const referencepath_records_itemValidationError = validate$
|
|
30399
|
+
const referencepath_records_itemValidationError = validate$k(obj_records_item, path_records_item);
|
|
30045
30400
|
if (referencepath_records_itemValidationError !== null) {
|
|
30046
30401
|
let message = 'Object doesn\'t match SearchAnswersRecordRepresentation (at "' + path_records_item + '")\n';
|
|
30047
30402
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30052,9 +30407,110 @@ function validate$h(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
30052
30407
|
return v_error === undefined ? null : v_error;
|
|
30053
30408
|
}
|
|
30054
30409
|
|
|
30410
|
+
function validate$i(obj, path = 'SearchDataCategoryOutputRepresentation') {
|
|
30411
|
+
const v_error = (() => {
|
|
30412
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30413
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30414
|
+
}
|
|
30415
|
+
const obj_groupName = obj.groupName;
|
|
30416
|
+
const path_groupName = path + '.groupName';
|
|
30417
|
+
if (typeof obj_groupName !== 'string') {
|
|
30418
|
+
return new TypeError('Expected "string" but received "' + typeof obj_groupName + '" (at "' + path_groupName + '")');
|
|
30419
|
+
}
|
|
30420
|
+
const obj_operator = obj.operator;
|
|
30421
|
+
const path_operator = path + '.operator';
|
|
30422
|
+
if (typeof obj_operator !== 'string') {
|
|
30423
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
30424
|
+
}
|
|
30425
|
+
const obj_values = obj.values;
|
|
30426
|
+
const path_values = path + '.values';
|
|
30427
|
+
if (!ArrayIsArray(obj_values)) {
|
|
30428
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
30429
|
+
}
|
|
30430
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
30431
|
+
const obj_values_item = obj_values[i];
|
|
30432
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
30433
|
+
if (typeof obj_values_item !== 'string') {
|
|
30434
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
30435
|
+
}
|
|
30436
|
+
}
|
|
30437
|
+
})();
|
|
30438
|
+
return v_error === undefined ? null : v_error;
|
|
30439
|
+
}
|
|
30440
|
+
|
|
30441
|
+
function validate$h(obj, path = 'SearchFilterOutputRepresentation') {
|
|
30442
|
+
const v_error = (() => {
|
|
30443
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30444
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30445
|
+
}
|
|
30446
|
+
const obj_fieldPath = obj.fieldPath;
|
|
30447
|
+
const path_fieldPath = path + '.fieldPath';
|
|
30448
|
+
if (typeof obj_fieldPath !== 'string') {
|
|
30449
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
30450
|
+
}
|
|
30451
|
+
const obj_operator = obj.operator;
|
|
30452
|
+
const path_operator = path + '.operator';
|
|
30453
|
+
if (typeof obj_operator !== 'string') {
|
|
30454
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
30455
|
+
}
|
|
30456
|
+
const obj_values = obj.values;
|
|
30457
|
+
const path_values = path + '.values';
|
|
30458
|
+
if (!ArrayIsArray(obj_values)) {
|
|
30459
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
30460
|
+
}
|
|
30461
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
30462
|
+
const obj_values_item = obj_values[i];
|
|
30463
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
30464
|
+
if (typeof obj_values_item !== 'string') {
|
|
30465
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
30466
|
+
}
|
|
30467
|
+
}
|
|
30468
|
+
})();
|
|
30469
|
+
return v_error === undefined ? null : v_error;
|
|
30470
|
+
}
|
|
30471
|
+
|
|
30472
|
+
function validate$g(obj, path = 'SearchObjectOptionsOutputRepresentation') {
|
|
30473
|
+
const v_error = (() => {
|
|
30474
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30475
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30476
|
+
}
|
|
30477
|
+
const obj_dataCategories = obj.dataCategories;
|
|
30478
|
+
const path_dataCategories = path + '.dataCategories';
|
|
30479
|
+
if (!ArrayIsArray(obj_dataCategories)) {
|
|
30480
|
+
return new TypeError('Expected "array" but received "' + typeof obj_dataCategories + '" (at "' + path_dataCategories + '")');
|
|
30481
|
+
}
|
|
30482
|
+
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
30483
|
+
const obj_dataCategories_item = obj_dataCategories[i];
|
|
30484
|
+
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
30485
|
+
const referencepath_dataCategories_itemValidationError = validate$i(obj_dataCategories_item, path_dataCategories_item);
|
|
30486
|
+
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
30487
|
+
let message = 'Object doesn\'t match SearchDataCategoryOutputRepresentation (at "' + path_dataCategories_item + '")\n';
|
|
30488
|
+
message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
30489
|
+
return new TypeError(message);
|
|
30490
|
+
}
|
|
30491
|
+
}
|
|
30492
|
+
const obj_filters = obj.filters;
|
|
30493
|
+
const path_filters = path + '.filters';
|
|
30494
|
+
if (!ArrayIsArray(obj_filters)) {
|
|
30495
|
+
return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
|
|
30496
|
+
}
|
|
30497
|
+
for (let i = 0; i < obj_filters.length; i++) {
|
|
30498
|
+
const obj_filters_item = obj_filters[i];
|
|
30499
|
+
const path_filters_item = path_filters + '[' + i + ']';
|
|
30500
|
+
const referencepath_filters_itemValidationError = validate$h(obj_filters_item, path_filters_item);
|
|
30501
|
+
if (referencepath_filters_itemValidationError !== null) {
|
|
30502
|
+
let message = 'Object doesn\'t match SearchFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
30503
|
+
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
30504
|
+
return new TypeError(message);
|
|
30505
|
+
}
|
|
30506
|
+
}
|
|
30507
|
+
})();
|
|
30508
|
+
return v_error === undefined ? null : v_error;
|
|
30509
|
+
}
|
|
30510
|
+
|
|
30055
30511
|
const TTL$b = 200;
|
|
30056
|
-
const VERSION$1h = "
|
|
30057
|
-
function validate$
|
|
30512
|
+
const VERSION$1h = "c3b86b51e83e00857929bc3dd6742a85";
|
|
30513
|
+
function validate$f(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
30058
30514
|
const v_error = (() => {
|
|
30059
30515
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30060
30516
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30089,7 +30545,7 @@ function validate$g(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
30089
30545
|
const path_keywordSearchResults = path + '.keywordSearchResults';
|
|
30090
30546
|
let obj_keywordSearchResults_union0 = null;
|
|
30091
30547
|
const obj_keywordSearchResults_union0_error = (() => {
|
|
30092
|
-
const referencepath_keywordSearchResultsValidationError = validate$
|
|
30548
|
+
const referencepath_keywordSearchResultsValidationError = validate$l(obj_keywordSearchResults, path_keywordSearchResults);
|
|
30093
30549
|
if (referencepath_keywordSearchResultsValidationError !== null) {
|
|
30094
30550
|
let message = 'Object doesn\'t match KeywordSearchResultsRepresentation (at "' + path_keywordSearchResults + '")\n';
|
|
30095
30551
|
message += referencepath_keywordSearchResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30118,7 +30574,7 @@ function validate$g(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
30118
30574
|
const path_qnaResult = path + '.qnaResult';
|
|
30119
30575
|
let obj_qnaResult_union0 = null;
|
|
30120
30576
|
const obj_qnaResult_union0_error = (() => {
|
|
30121
|
-
const referencepath_qnaResultValidationError = validate$
|
|
30577
|
+
const referencepath_qnaResultValidationError = validate$j(obj_qnaResult, path_qnaResult);
|
|
30122
30578
|
if (referencepath_qnaResultValidationError !== null) {
|
|
30123
30579
|
let message = 'Object doesn\'t match SearchAnswersResultRepresentation (at "' + path_qnaResult + '")\n';
|
|
30124
30580
|
message += referencepath_qnaResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30153,6 +30609,23 @@ function validate$g(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
30153
30609
|
if (typeof obj_queryId !== 'string') {
|
|
30154
30610
|
return new TypeError('Expected "string" but received "' + typeof obj_queryId + '" (at "' + path_queryId + '")');
|
|
30155
30611
|
}
|
|
30612
|
+
const obj_searchObjectOptions = obj.searchObjectOptions;
|
|
30613
|
+
const path_searchObjectOptions = path + '.searchObjectOptions';
|
|
30614
|
+
if (typeof obj_searchObjectOptions !== 'object' || ArrayIsArray(obj_searchObjectOptions) || obj_searchObjectOptions === null) {
|
|
30615
|
+
return new TypeError('Expected "object" but received "' + typeof obj_searchObjectOptions + '" (at "' + path_searchObjectOptions + '")');
|
|
30616
|
+
}
|
|
30617
|
+
const obj_searchObjectOptions_keys = ObjectKeys(obj_searchObjectOptions);
|
|
30618
|
+
for (let i = 0; i < obj_searchObjectOptions_keys.length; i++) {
|
|
30619
|
+
const key = obj_searchObjectOptions_keys[i];
|
|
30620
|
+
const obj_searchObjectOptions_prop = obj_searchObjectOptions[key];
|
|
30621
|
+
const path_searchObjectOptions_prop = path_searchObjectOptions + '["' + key + '"]';
|
|
30622
|
+
const referencepath_searchObjectOptions_propValidationError = validate$g(obj_searchObjectOptions_prop, path_searchObjectOptions_prop);
|
|
30623
|
+
if (referencepath_searchObjectOptions_propValidationError !== null) {
|
|
30624
|
+
let message = 'Object doesn\'t match SearchObjectOptionsOutputRepresentation (at "' + path_searchObjectOptions_prop + '")\n';
|
|
30625
|
+
message += referencepath_searchObjectOptions_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
30626
|
+
return new TypeError(message);
|
|
30627
|
+
}
|
|
30628
|
+
}
|
|
30156
30629
|
})();
|
|
30157
30630
|
return v_error === undefined ? null : v_error;
|
|
30158
30631
|
}
|
|
@@ -30186,7 +30659,7 @@ function equals$d(existing, incoming) {
|
|
|
30186
30659
|
}
|
|
30187
30660
|
const ingest$1d = function SearchResultsSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
30188
30661
|
if (process.env.NODE_ENV !== 'production') {
|
|
30189
|
-
const validateError = validate$
|
|
30662
|
+
const validateError = validate$f(input);
|
|
30190
30663
|
if (validateError !== null) {
|
|
30191
30664
|
throw validateError;
|
|
30192
30665
|
}
|
|
@@ -30267,6 +30740,7 @@ const getSearchResults_ConfigPropertyMetadata = [
|
|
|
30267
30740
|
generateParamConfigMetadata('answerTypes', false, 2 /* Body */, 0 /* String */, true),
|
|
30268
30741
|
generateParamConfigMetadata('configurationName', false, 2 /* Body */, 0 /* String */),
|
|
30269
30742
|
generateParamConfigMetadata('objectApiNames', false, 2 /* Body */, 0 /* String */, true),
|
|
30743
|
+
generateParamConfigMetadata('searchObjectOptions', false, 2 /* Body */, 4 /* Unsupported */),
|
|
30270
30744
|
];
|
|
30271
30745
|
const getSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSearchResults_ConfigPropertyMetadata);
|
|
30272
30746
|
const createResourceParams$f = /*#__PURE__*/ createResourceParams$13(getSearchResults_ConfigPropertyMetadata);
|
|
@@ -30277,6 +30751,24 @@ function keyBuilder$1k(luvio, config) {
|
|
|
30277
30751
|
function typeCheckConfig$h(untrustedConfig) {
|
|
30278
30752
|
const config = {};
|
|
30279
30753
|
typeCheckConfig$18(untrustedConfig, config, getSearchResults_ConfigPropertyMetadata);
|
|
30754
|
+
const untrustedConfig_searchObjectOptions = untrustedConfig.searchObjectOptions;
|
|
30755
|
+
if (untrustedIsObject(untrustedConfig_searchObjectOptions)) {
|
|
30756
|
+
const untrustedConfig_searchObjectOptions_object = {};
|
|
30757
|
+
const untrustedConfig_searchObjectOptions_keys = Object.keys(untrustedConfig_searchObjectOptions);
|
|
30758
|
+
for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
|
|
30759
|
+
const key = untrustedConfig_searchObjectOptions_keys[i];
|
|
30760
|
+
const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
|
|
30761
|
+
const referenceSearchObjectOptionsRepresentationValidationError = validate$o(untrustedConfig_searchObjectOptions_prop);
|
|
30762
|
+
if (referenceSearchObjectOptionsRepresentationValidationError === null) {
|
|
30763
|
+
if (untrustedConfig_searchObjectOptions_object !== undefined) {
|
|
30764
|
+
untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
|
|
30765
|
+
}
|
|
30766
|
+
}
|
|
30767
|
+
}
|
|
30768
|
+
if (untrustedConfig_searchObjectOptions_object !== undefined && Object.keys(untrustedConfig_searchObjectOptions_object).length >= 0) {
|
|
30769
|
+
config.searchObjectOptions = untrustedConfig_searchObjectOptions_object;
|
|
30770
|
+
}
|
|
30771
|
+
}
|
|
30280
30772
|
return config;
|
|
30281
30773
|
}
|
|
30282
30774
|
function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
|
|
@@ -30350,75 +30842,6 @@ const getSearchResultsAdapterFactory = (luvio) => function UiApi__getSearchResul
|
|
|
30350
30842
|
buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
|
|
30351
30843
|
};
|
|
30352
30844
|
|
|
30353
|
-
function validate$f(obj, path = 'SearchFilterInputRepresentation') {
|
|
30354
|
-
const v_error = (() => {
|
|
30355
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30356
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30357
|
-
}
|
|
30358
|
-
const obj_fieldPath = obj.fieldPath;
|
|
30359
|
-
const path_fieldPath = path + '.fieldPath';
|
|
30360
|
-
if (typeof obj_fieldPath !== 'string') {
|
|
30361
|
-
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
30362
|
-
}
|
|
30363
|
-
if (obj.objectApiName !== undefined) {
|
|
30364
|
-
const obj_objectApiName = obj.objectApiName;
|
|
30365
|
-
const path_objectApiName = path + '.objectApiName';
|
|
30366
|
-
if (typeof obj_objectApiName !== 'string') {
|
|
30367
|
-
return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
|
|
30368
|
-
}
|
|
30369
|
-
}
|
|
30370
|
-
const obj_operator = obj.operator;
|
|
30371
|
-
const path_operator = path + '.operator';
|
|
30372
|
-
if (typeof obj_operator !== 'string') {
|
|
30373
|
-
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
30374
|
-
}
|
|
30375
|
-
const obj_values = obj.values;
|
|
30376
|
-
const path_values = path + '.values';
|
|
30377
|
-
if (!ArrayIsArray(obj_values)) {
|
|
30378
|
-
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
30379
|
-
}
|
|
30380
|
-
for (let i = 0; i < obj_values.length; i++) {
|
|
30381
|
-
const obj_values_item = obj_values[i];
|
|
30382
|
-
const path_values_item = path_values + '[' + i + ']';
|
|
30383
|
-
let obj_values_item_union0 = null;
|
|
30384
|
-
const obj_values_item_union0_error = (() => {
|
|
30385
|
-
if (typeof obj_values_item !== 'string') {
|
|
30386
|
-
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
30387
|
-
}
|
|
30388
|
-
})();
|
|
30389
|
-
if (obj_values_item_union0_error != null) {
|
|
30390
|
-
obj_values_item_union0 = obj_values_item_union0_error.message;
|
|
30391
|
-
}
|
|
30392
|
-
let obj_values_item_union1 = null;
|
|
30393
|
-
const obj_values_item_union1_error = (() => {
|
|
30394
|
-
if (typeof obj_values_item !== 'number') {
|
|
30395
|
-
return new TypeError('Expected "number" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
30396
|
-
}
|
|
30397
|
-
})();
|
|
30398
|
-
if (obj_values_item_union1_error != null) {
|
|
30399
|
-
obj_values_item_union1 = obj_values_item_union1_error.message;
|
|
30400
|
-
}
|
|
30401
|
-
let obj_values_item_union2 = null;
|
|
30402
|
-
const obj_values_item_union2_error = (() => {
|
|
30403
|
-
if (typeof obj_values_item !== 'boolean') {
|
|
30404
|
-
return new TypeError('Expected "boolean" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
30405
|
-
}
|
|
30406
|
-
})();
|
|
30407
|
-
if (obj_values_item_union2_error != null) {
|
|
30408
|
-
obj_values_item_union2 = obj_values_item_union2_error.message;
|
|
30409
|
-
}
|
|
30410
|
-
if (obj_values_item_union0 && obj_values_item_union1 && obj_values_item_union2) {
|
|
30411
|
-
let message = 'Object doesn\'t match union (at "' + path_values_item + '")';
|
|
30412
|
-
message += '\n' + obj_values_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
30413
|
-
message += '\n' + obj_values_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
30414
|
-
message += '\n' + obj_values_item_union2.split('\n').map((line) => '\t' + line).join('\n');
|
|
30415
|
-
return new TypeError(message);
|
|
30416
|
-
}
|
|
30417
|
-
}
|
|
30418
|
-
})();
|
|
30419
|
-
return v_error === undefined ? null : v_error;
|
|
30420
|
-
}
|
|
30421
|
-
|
|
30422
30845
|
const TTL$a = 200;
|
|
30423
30846
|
const VERSION$1g = "3102453bf10ea449d9665914d5f5febf";
|
|
30424
30847
|
function validate$e(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
@@ -30454,7 +30877,7 @@ function validate$e(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
|
30454
30877
|
}
|
|
30455
30878
|
const obj_keywordSearchResult = obj.keywordSearchResult;
|
|
30456
30879
|
const path_keywordSearchResult = path + '.keywordSearchResult';
|
|
30457
|
-
const referencepath_keywordSearchResultValidationError = validate$
|
|
30880
|
+
const referencepath_keywordSearchResultValidationError = validate$m(obj_keywordSearchResult, path_keywordSearchResult);
|
|
30458
30881
|
if (referencepath_keywordSearchResultValidationError !== null) {
|
|
30459
30882
|
let message = 'Object doesn\'t match SearchResultCollectionRepresentation (at "' + path_keywordSearchResult + '")\n';
|
|
30460
30883
|
message += referencepath_keywordSearchResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30609,7 +31032,7 @@ function typeCheckConfig$g(untrustedConfig) {
|
|
|
30609
31032
|
const untrustedConfig_filters_array = [];
|
|
30610
31033
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
30611
31034
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
30612
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
31035
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$p(untrustedConfig_filters_item);
|
|
30613
31036
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
30614
31037
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
30615
31038
|
}
|
|
@@ -49144,7 +49567,7 @@ function validate$a(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
49144
49567
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
49145
49568
|
let obj_recordTypeInfo_union0 = null;
|
|
49146
49569
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
49147
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
49570
|
+
const referencepath_recordTypeInfoValidationError = validate$1P(obj_recordTypeInfo, path_recordTypeInfo);
|
|
49148
49571
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
49149
49572
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
49150
49573
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|