@salesforce/lds-adapters-cdp-semantic-authoring 1.337.0 → 1.339.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/cdp-semantic-authoring.js +445 -316
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsParametersByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsParametersByModelApiNameOrIdAndParameterApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/SemanticParameterInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticParameterListValueInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SemanticParameterListValueOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SemanticParameterOutputRepresentation.d.ts +5 -1
- package/package.json +3 -3
- package/sfdc/index.js +415 -286
- package/src/raml/api.raml +34 -0
package/sfdc/index.js
CHANGED
|
@@ -102,7 +102,7 @@ function createLink(ref) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
function validate
|
|
105
|
+
function validate$10(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
106
106
|
const v_error = (() => {
|
|
107
107
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
108
108
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -118,7 +118,7 @@ function validate$$(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
118
118
|
return v_error === undefined ? null : v_error;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
function validate
|
|
121
|
+
function validate$$(obj, path = 'SemanticFilterInputRepresentation') {
|
|
122
122
|
const v_error = (() => {
|
|
123
123
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
124
124
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -148,7 +148,7 @@ function validate$_(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
148
148
|
return v_error === undefined ? null : v_error;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
function validate$
|
|
151
|
+
function validate$_(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
152
152
|
const v_error = (() => {
|
|
153
153
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
154
154
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -211,7 +211,7 @@ function validate$Z(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
211
211
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
212
212
|
const obj_filters_item = obj_filters[i];
|
|
213
213
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
214
|
-
const referencepath_filters_itemValidationError = validate
|
|
214
|
+
const referencepath_filters_itemValidationError = validate$$(obj_filters_item, path_filters_item);
|
|
215
215
|
if (referencepath_filters_itemValidationError !== null) {
|
|
216
216
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
217
217
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -258,7 +258,7 @@ function validate$Z(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
258
258
|
return v_error === undefined ? null : v_error;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
function validate$
|
|
261
|
+
function validate$Z(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
262
262
|
const v_error = (() => {
|
|
263
263
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
264
264
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -335,7 +335,7 @@ function validate$Y(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
335
335
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
336
336
|
const obj_filters_item = obj_filters[i];
|
|
337
337
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
338
|
-
const referencepath_filters_itemValidationError = validate
|
|
338
|
+
const referencepath_filters_itemValidationError = validate$$(obj_filters_item, path_filters_item);
|
|
339
339
|
if (referencepath_filters_itemValidationError !== null) {
|
|
340
340
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
341
341
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -403,7 +403,7 @@ function validate$Y(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
403
403
|
return v_error === undefined ? null : v_error;
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
function validate$
|
|
406
|
+
function validate$Y(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
407
407
|
const v_error = (() => {
|
|
408
408
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
409
409
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -482,7 +482,7 @@ function validate$X(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
482
482
|
return v_error === undefined ? null : v_error;
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
function validate$
|
|
485
|
+
function validate$X(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
486
486
|
const v_error = (() => {
|
|
487
487
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
488
488
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -589,7 +589,7 @@ function validate$W(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
589
589
|
return v_error === undefined ? null : v_error;
|
|
590
590
|
}
|
|
591
591
|
|
|
592
|
-
function validate$
|
|
592
|
+
function validate$W(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
593
593
|
const v_error = (() => {
|
|
594
594
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
595
595
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -638,7 +638,7 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
638
638
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
639
639
|
const obj_filters_item = obj_filters[i];
|
|
640
640
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
641
|
-
const referencepath_filters_itemValidationError = validate
|
|
641
|
+
const referencepath_filters_itemValidationError = validate$$(obj_filters_item, path_filters_item);
|
|
642
642
|
if (referencepath_filters_itemValidationError !== null) {
|
|
643
643
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
644
644
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -669,7 +669,7 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
669
669
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
670
670
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
671
671
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
672
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
672
|
+
const referencepath_semanticDimensions_itemValidationError = validate$Y(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
673
673
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
674
674
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
675
675
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -686,7 +686,7 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
686
686
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
687
687
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
688
688
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
689
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
689
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$X(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
690
690
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
691
691
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
692
692
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -705,7 +705,7 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
705
705
|
return v_error === undefined ? null : v_error;
|
|
706
706
|
}
|
|
707
707
|
|
|
708
|
-
function validate$
|
|
708
|
+
function validate$V(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
709
709
|
const v_error = (() => {
|
|
710
710
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
711
711
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -717,7 +717,7 @@ function validate$U(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
717
717
|
return v_error === undefined ? null : v_error;
|
|
718
718
|
}
|
|
719
719
|
|
|
720
|
-
function validate$
|
|
720
|
+
function validate$U(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
721
721
|
const v_error = (() => {
|
|
722
722
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
723
723
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -747,7 +747,7 @@ function validate$T(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
747
747
|
return v_error === undefined ? null : v_error;
|
|
748
748
|
}
|
|
749
749
|
|
|
750
|
-
function validate$
|
|
750
|
+
function validate$T(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
751
751
|
const v_error = (() => {
|
|
752
752
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
753
753
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -761,7 +761,7 @@ function validate$S(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
761
761
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
762
762
|
const obj_groups_item = obj_groups[i];
|
|
763
763
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
764
|
-
const referencepath_groups_itemValidationError = validate$
|
|
764
|
+
const referencepath_groups_itemValidationError = validate$U(obj_groups_item, path_groups_item);
|
|
765
765
|
if (referencepath_groups_itemValidationError !== null) {
|
|
766
766
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
767
767
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -780,7 +780,7 @@ function validate$S(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
780
780
|
return v_error === undefined ? null : v_error;
|
|
781
781
|
}
|
|
782
782
|
|
|
783
|
-
function validate$
|
|
783
|
+
function validate$S(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
784
784
|
const v_error = (() => {
|
|
785
785
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
786
786
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -788,7 +788,7 @@ function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
788
788
|
if (obj.binDimension !== undefined) {
|
|
789
789
|
const obj_binDimension = obj.binDimension;
|
|
790
790
|
const path_binDimension = path + '.binDimension';
|
|
791
|
-
const referencepath_binDimensionValidationError = validate$
|
|
791
|
+
const referencepath_binDimensionValidationError = validate$V(obj_binDimension, path_binDimension);
|
|
792
792
|
if (referencepath_binDimensionValidationError !== null) {
|
|
793
793
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
794
794
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -798,7 +798,7 @@ function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
798
798
|
if (obj.groupDimension !== undefined) {
|
|
799
799
|
const obj_groupDimension = obj.groupDimension;
|
|
800
800
|
const path_groupDimension = path + '.groupDimension';
|
|
801
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
801
|
+
const referencepath_groupDimensionValidationError = validate$T(obj_groupDimension, path_groupDimension);
|
|
802
802
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
803
803
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
804
804
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -809,7 +809,7 @@ function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
809
809
|
return v_error === undefined ? null : v_error;
|
|
810
810
|
}
|
|
811
811
|
|
|
812
|
-
function validate$
|
|
812
|
+
function validate$R(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
813
813
|
const v_error = (() => {
|
|
814
814
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
815
815
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -832,7 +832,7 @@ function validate$Q(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
832
832
|
return v_error === undefined ? null : v_error;
|
|
833
833
|
}
|
|
834
834
|
|
|
835
|
-
function validate$
|
|
835
|
+
function validate$Q(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
836
836
|
const v_error = (() => {
|
|
837
837
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
838
838
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -847,7 +847,7 @@ function validate$P(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
847
847
|
if (obj.tableFieldReference !== undefined) {
|
|
848
848
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
849
849
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
850
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
850
|
+
const referencepath_tableFieldReferenceValidationError = validate$R(obj_tableFieldReference, path_tableFieldReference);
|
|
851
851
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
852
852
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
853
853
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -858,7 +858,7 @@ function validate$P(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
858
858
|
return v_error === undefined ? null : v_error;
|
|
859
859
|
}
|
|
860
860
|
|
|
861
|
-
function validate$
|
|
861
|
+
function validate$P(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
862
862
|
const v_error = (() => {
|
|
863
863
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
864
864
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -873,7 +873,7 @@ function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
873
873
|
if (obj.configuration !== undefined) {
|
|
874
874
|
const obj_configuration = obj.configuration;
|
|
875
875
|
const path_configuration = path + '.configuration';
|
|
876
|
-
const referencepath_configurationValidationError = validate$
|
|
876
|
+
const referencepath_configurationValidationError = validate$S(obj_configuration, path_configuration);
|
|
877
877
|
if (referencepath_configurationValidationError !== null) {
|
|
878
878
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
879
879
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -890,7 +890,7 @@ function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
890
890
|
if (obj.fieldReference !== undefined) {
|
|
891
891
|
const obj_fieldReference = obj.fieldReference;
|
|
892
892
|
const path_fieldReference = path + '.fieldReference';
|
|
893
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
893
|
+
const referencepath_fieldReferenceValidationError = validate$Q(obj_fieldReference, path_fieldReference);
|
|
894
894
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
895
895
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
896
896
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -915,7 +915,7 @@ function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
915
915
|
return v_error === undefined ? null : v_error;
|
|
916
916
|
}
|
|
917
917
|
|
|
918
|
-
function validate$
|
|
918
|
+
function validate$O(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
919
919
|
const v_error = (() => {
|
|
920
920
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
921
921
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -959,7 +959,7 @@ function validate$N(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
959
959
|
return v_error === undefined ? null : v_error;
|
|
960
960
|
}
|
|
961
961
|
|
|
962
|
-
function validate$
|
|
962
|
+
function validate$N(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
963
963
|
const v_error = (() => {
|
|
964
964
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
965
965
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -987,7 +987,7 @@ function validate$M(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
987
987
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
988
988
|
const obj_criteria_item = obj_criteria[i];
|
|
989
989
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
990
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
990
|
+
const referencepath_criteria_itemValidationError = validate$O(obj_criteria_item, path_criteria_item);
|
|
991
991
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
992
992
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
993
993
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1048,7 +1048,7 @@ function validate$M(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1048
1048
|
return v_error === undefined ? null : v_error;
|
|
1049
1049
|
}
|
|
1050
1050
|
|
|
1051
|
-
function validate$
|
|
1051
|
+
function validate$M(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
1052
1052
|
const v_error = (() => {
|
|
1053
1053
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1054
1054
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1076,7 +1076,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1076
1076
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
1077
1077
|
const obj_fields_item = obj_fields[i];
|
|
1078
1078
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
1079
|
-
const referencepath_fields_itemValidationError = validate$
|
|
1079
|
+
const referencepath_fields_itemValidationError = validate$R(obj_fields_item, path_fields_item);
|
|
1080
1080
|
if (referencepath_fields_itemValidationError !== null) {
|
|
1081
1081
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
1082
1082
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1101,7 +1101,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1101
1101
|
if (obj.semanticDimension !== undefined) {
|
|
1102
1102
|
const obj_semanticDimension = obj.semanticDimension;
|
|
1103
1103
|
const path_semanticDimension = path + '.semanticDimension';
|
|
1104
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
1104
|
+
const referencepath_semanticDimensionValidationError = validate$Y(obj_semanticDimension, path_semanticDimension);
|
|
1105
1105
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
1106
1106
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
1107
1107
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1111,7 +1111,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1111
1111
|
if (obj.semanticMeasurement !== undefined) {
|
|
1112
1112
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
1113
1113
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
1114
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
1114
|
+
const referencepath_semanticMeasurementValidationError = validate$X(obj_semanticMeasurement, path_semanticMeasurement);
|
|
1115
1115
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
1116
1116
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
1117
1117
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1122,7 +1122,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1122
1122
|
return v_error === undefined ? null : v_error;
|
|
1123
1123
|
}
|
|
1124
1124
|
|
|
1125
|
-
function validate$
|
|
1125
|
+
function validate$L(obj, path = 'SemanticUnionInputRepresentation') {
|
|
1126
1126
|
const v_error = (() => {
|
|
1127
1127
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1128
1128
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1157,7 +1157,7 @@ function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1157
1157
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1158
1158
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1159
1159
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1160
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1160
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$W(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1161
1161
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1162
1162
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1163
1163
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1174,7 +1174,7 @@ function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1174
1174
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
1175
1175
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
1176
1176
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
1177
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
1177
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$M(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
1178
1178
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
1179
1179
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
1180
1180
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1186,7 +1186,7 @@ function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1186
1186
|
return v_error === undefined ? null : v_error;
|
|
1187
1187
|
}
|
|
1188
1188
|
|
|
1189
|
-
function validate$
|
|
1189
|
+
function validate$K(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
1190
1190
|
const v_error = (() => {
|
|
1191
1191
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1192
1192
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1228,7 +1228,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1228
1228
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1229
1229
|
const obj_filters_item = obj_filters[i];
|
|
1230
1230
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1231
|
-
const referencepath_filters_itemValidationError = validate
|
|
1231
|
+
const referencepath_filters_itemValidationError = validate$$(obj_filters_item, path_filters_item);
|
|
1232
1232
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1233
1233
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1234
1234
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1252,7 +1252,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1252
1252
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1253
1253
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1254
1254
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1255
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1255
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$W(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1256
1256
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1257
1257
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1258
1258
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1269,7 +1269,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1269
1269
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
1270
1270
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
1271
1271
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
1272
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
1272
|
+
const referencepath_semanticRelationships_itemValidationError = validate$N(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
1273
1273
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
1274
1274
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
1275
1275
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1286,7 +1286,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1286
1286
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
1287
1287
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
1288
1288
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
1289
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
1289
|
+
const referencepath_semanticUnions_itemValidationError = validate$L(obj_semanticUnions_item, path_semanticUnions_item);
|
|
1290
1290
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
1291
1291
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
1292
1292
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1298,7 +1298,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1298
1298
|
return v_error === undefined ? null : v_error;
|
|
1299
1299
|
}
|
|
1300
1300
|
|
|
1301
|
-
function validate$
|
|
1301
|
+
function validate$J(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
1302
1302
|
const v_error = (() => {
|
|
1303
1303
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1304
1304
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1306,7 +1306,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1306
1306
|
if (obj.identifierDimensionReference !== undefined) {
|
|
1307
1307
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
1308
1308
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
1309
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
1309
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$Q(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
1310
1310
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
1311
1311
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
1312
1312
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1316,7 +1316,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1316
1316
|
if (obj.namingDimensionReference !== undefined) {
|
|
1317
1317
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
1318
1318
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
1319
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
1319
|
+
const referencepath_namingDimensionReferenceValidationError = validate$Q(obj_namingDimensionReference, path_namingDimensionReference);
|
|
1320
1320
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
1321
1321
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
1322
1322
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1327,7 +1327,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1327
1327
|
return v_error === undefined ? null : v_error;
|
|
1328
1328
|
}
|
|
1329
1329
|
|
|
1330
|
-
function validate$
|
|
1330
|
+
function validate$I(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
1331
1331
|
const v_error = (() => {
|
|
1332
1332
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1333
1333
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1350,7 +1350,7 @@ function validate$H(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
1350
1350
|
return v_error === undefined ? null : v_error;
|
|
1351
1351
|
}
|
|
1352
1352
|
|
|
1353
|
-
function validate$
|
|
1353
|
+
function validate$H(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
1354
1354
|
const v_error = (() => {
|
|
1355
1355
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1356
1356
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1358,7 +1358,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1358
1358
|
if (obj.identifyingDimension !== undefined) {
|
|
1359
1359
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
1360
1360
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
1361
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
1361
|
+
const referencepath_identifyingDimensionValidationError = validate$J(obj_identifyingDimension, path_identifyingDimension);
|
|
1362
1362
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
1363
1363
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
1364
1364
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1374,7 +1374,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1374
1374
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
1375
1375
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
1376
1376
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
1377
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
1377
|
+
const referencepath_insightTypes_itemValidationError = validate$I(obj_insightTypes_item, path_insightTypes_item);
|
|
1378
1378
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
1379
1379
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
1380
1380
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1391,7 +1391,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1391
1391
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
1392
1392
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
1393
1393
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
1394
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
1394
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$Q(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
1395
1395
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
1396
1396
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
1397
1397
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1424,7 +1424,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1424
1424
|
return v_error === undefined ? null : v_error;
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
|
-
function validate$
|
|
1427
|
+
function validate$G(obj, path = 'SemanticMetricInputRepresentation') {
|
|
1428
1428
|
const v_error = (() => {
|
|
1429
1429
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1430
1430
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1438,7 +1438,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1438
1438
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
1439
1439
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
1440
1440
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
1441
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
1441
|
+
const referencepath_additionalDimensions_itemValidationError = validate$Q(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
1442
1442
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
1443
1443
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
1444
1444
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1483,7 +1483,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1483
1483
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1484
1484
|
const obj_filters_item = obj_filters[i];
|
|
1485
1485
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1486
|
-
const referencepath_filters_itemValidationError = validate
|
|
1486
|
+
const referencepath_filters_itemValidationError = validate$$(obj_filters_item, path_filters_item);
|
|
1487
1487
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1488
1488
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1489
1489
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1494,7 +1494,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1494
1494
|
if (obj.insightsSettings !== undefined) {
|
|
1495
1495
|
const obj_insightsSettings = obj.insightsSettings;
|
|
1496
1496
|
const path_insightsSettings = path + '.insightsSettings';
|
|
1497
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
1497
|
+
const referencepath_insightsSettingsValidationError = validate$H(obj_insightsSettings, path_insightsSettings);
|
|
1498
1498
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
1499
1499
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
1500
1500
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1518,7 +1518,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1518
1518
|
if (obj.measurementReference !== undefined) {
|
|
1519
1519
|
const obj_measurementReference = obj.measurementReference;
|
|
1520
1520
|
const path_measurementReference = path + '.measurementReference';
|
|
1521
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
1521
|
+
const referencepath_measurementReferenceValidationError = validate$Q(obj_measurementReference, path_measurementReference);
|
|
1522
1522
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
1523
1523
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
1524
1524
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1528,7 +1528,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1528
1528
|
if (obj.timeDimensionReference !== undefined) {
|
|
1529
1529
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
1530
1530
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
1531
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
1531
|
+
const referencepath_timeDimensionReferenceValidationError = validate$Q(obj_timeDimensionReference, path_timeDimensionReference);
|
|
1532
1532
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
1533
1533
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
1534
1534
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1553,11 +1553,25 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1553
1553
|
return v_error === undefined ? null : v_error;
|
|
1554
1554
|
}
|
|
1555
1555
|
|
|
1556
|
-
function validate$
|
|
1556
|
+
function validate$F(obj, path = 'SemanticParameterInputRepresentation') {
|
|
1557
1557
|
const v_error = (() => {
|
|
1558
1558
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1559
1559
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1560
1560
|
}
|
|
1561
|
+
if (obj.allowedValues !== undefined) {
|
|
1562
|
+
const obj_allowedValues = obj.allowedValues;
|
|
1563
|
+
const path_allowedValues = path + '.allowedValues';
|
|
1564
|
+
if (!ArrayIsArray(obj_allowedValues)) {
|
|
1565
|
+
return new TypeError('Expected "array" but received "' + typeof obj_allowedValues + '" (at "' + path_allowedValues + '")');
|
|
1566
|
+
}
|
|
1567
|
+
for (let i = 0; i < obj_allowedValues.length; i++) {
|
|
1568
|
+
const obj_allowedValues_item = obj_allowedValues[i];
|
|
1569
|
+
const path_allowedValues_item = path_allowedValues + '[' + i + ']';
|
|
1570
|
+
if (typeof obj_allowedValues_item !== 'object' || ArrayIsArray(obj_allowedValues_item) || obj_allowedValues_item === null) {
|
|
1571
|
+
return new TypeError('Expected "object" but received "' + typeof obj_allowedValues_item + '" (at "' + path_allowedValues_item + '")');
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1561
1575
|
if (obj.apiName !== undefined) {
|
|
1562
1576
|
const obj_apiName = obj.apiName;
|
|
1563
1577
|
const path_apiName = path + '.apiName';
|
|
@@ -1639,8 +1653,8 @@ function validate$E(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
1639
1653
|
return v_error === undefined ? null : v_error;
|
|
1640
1654
|
}
|
|
1641
1655
|
|
|
1642
|
-
const VERSION$
|
|
1643
|
-
function validate$
|
|
1656
|
+
const VERSION$x = "3a32d382e7a2268096278aa8e5c6761a";
|
|
1657
|
+
function validate$E(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
1644
1658
|
const v_error = (() => {
|
|
1645
1659
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1646
1660
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1660,10 +1674,10 @@ function validate$D(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
|
1660
1674
|
})();
|
|
1661
1675
|
return v_error === undefined ? null : v_error;
|
|
1662
1676
|
}
|
|
1663
|
-
const select$
|
|
1677
|
+
const select$L = function SemanticBaseModelOutputRepresentationSelect() {
|
|
1664
1678
|
return {
|
|
1665
1679
|
kind: 'Fragment',
|
|
1666
|
-
version: VERSION$
|
|
1680
|
+
version: VERSION$x,
|
|
1667
1681
|
private: [],
|
|
1668
1682
|
selections: [
|
|
1669
1683
|
{
|
|
@@ -1678,7 +1692,7 @@ const select$K = function SemanticBaseModelOutputRepresentationSelect() {
|
|
|
1678
1692
|
]
|
|
1679
1693
|
};
|
|
1680
1694
|
};
|
|
1681
|
-
function equals$
|
|
1695
|
+
function equals$x(existing, incoming) {
|
|
1682
1696
|
const existing_apiName = existing.apiName;
|
|
1683
1697
|
const incoming_apiName = incoming.apiName;
|
|
1684
1698
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -1700,8 +1714,8 @@ function equals$w(existing, incoming) {
|
|
|
1700
1714
|
return true;
|
|
1701
1715
|
}
|
|
1702
1716
|
|
|
1703
|
-
const VERSION$
|
|
1704
|
-
function validate$
|
|
1717
|
+
const VERSION$w = "9b5a0e85af6a943c95625e2dfe81ab96";
|
|
1718
|
+
function validate$D(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
1705
1719
|
const v_error = (() => {
|
|
1706
1720
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1707
1721
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1730,10 +1744,10 @@ function validate$C(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
|
1730
1744
|
})();
|
|
1731
1745
|
return v_error === undefined ? null : v_error;
|
|
1732
1746
|
}
|
|
1733
|
-
const select$
|
|
1747
|
+
const select$K = function SemanticFilterOutputRepresentationSelect() {
|
|
1734
1748
|
return {
|
|
1735
1749
|
kind: 'Fragment',
|
|
1736
|
-
version: VERSION$
|
|
1750
|
+
version: VERSION$w,
|
|
1737
1751
|
private: [],
|
|
1738
1752
|
selections: [
|
|
1739
1753
|
{
|
|
@@ -1754,7 +1768,7 @@ const select$J = function SemanticFilterOutputRepresentationSelect() {
|
|
|
1754
1768
|
]
|
|
1755
1769
|
};
|
|
1756
1770
|
};
|
|
1757
|
-
function equals$
|
|
1771
|
+
function equals$w(existing, incoming) {
|
|
1758
1772
|
const existing_fieldName = existing.fieldName;
|
|
1759
1773
|
const incoming_fieldName = incoming.fieldName;
|
|
1760
1774
|
// if at least one of these optionals is defined
|
|
@@ -1797,8 +1811,8 @@ function equals$v(existing, incoming) {
|
|
|
1797
1811
|
return true;
|
|
1798
1812
|
}
|
|
1799
1813
|
|
|
1800
|
-
const VERSION$
|
|
1801
|
-
function validate$
|
|
1814
|
+
const VERSION$v = "51514a172af5e420504a2143725b4528";
|
|
1815
|
+
function validate$C(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
1802
1816
|
const v_error = (() => {
|
|
1803
1817
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1804
1818
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1883,7 +1897,7 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
1883
1897
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1884
1898
|
const obj_filters_item = obj_filters[i];
|
|
1885
1899
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1886
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1900
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
1887
1901
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1888
1902
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
1889
1903
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1961,11 +1975,11 @@ function keyBuilderFromType$b(luvio, object) {
|
|
|
1961
1975
|
function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
1962
1976
|
return input;
|
|
1963
1977
|
}
|
|
1964
|
-
const select$
|
|
1965
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
1978
|
+
const select$J = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
1979
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
1966
1980
|
return {
|
|
1967
1981
|
kind: 'Fragment',
|
|
1968
|
-
version: VERSION$
|
|
1982
|
+
version: VERSION$v,
|
|
1969
1983
|
private: [],
|
|
1970
1984
|
selections: [
|
|
1971
1985
|
{
|
|
@@ -2069,7 +2083,7 @@ const select$I = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2069
2083
|
]
|
|
2070
2084
|
};
|
|
2071
2085
|
};
|
|
2072
|
-
function equals$
|
|
2086
|
+
function equals$v(existing, incoming) {
|
|
2073
2087
|
const existing_isVisible = existing.isVisible;
|
|
2074
2088
|
const incoming_isVisible = incoming.isVisible;
|
|
2075
2089
|
// if at least one of these optionals is defined
|
|
@@ -2295,7 +2309,7 @@ function equals$u(existing, incoming) {
|
|
|
2295
2309
|
return false;
|
|
2296
2310
|
}
|
|
2297
2311
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
2298
|
-
if (!(equals$
|
|
2312
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
2299
2313
|
return false;
|
|
2300
2314
|
}
|
|
2301
2315
|
});
|
|
@@ -2307,14 +2321,14 @@ function equals$u(existing, incoming) {
|
|
|
2307
2321
|
}
|
|
2308
2322
|
const ingest$h = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2309
2323
|
if (process.env.NODE_ENV !== 'production') {
|
|
2310
|
-
const validateError = validate$
|
|
2324
|
+
const validateError = validate$C(input);
|
|
2311
2325
|
if (validateError !== null) {
|
|
2312
2326
|
throw validateError;
|
|
2313
2327
|
}
|
|
2314
2328
|
}
|
|
2315
2329
|
const key = keyBuilderFromType$b(luvio, input);
|
|
2316
2330
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
2317
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$
|
|
2331
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$v, RepresentationType$h, equals$v);
|
|
2318
2332
|
return createLink(key);
|
|
2319
2333
|
};
|
|
2320
2334
|
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2327,8 +2341,8 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2327
2341
|
});
|
|
2328
2342
|
}
|
|
2329
2343
|
|
|
2330
|
-
const VERSION$
|
|
2331
|
-
function validate$
|
|
2344
|
+
const VERSION$u = "6c8d910667cf399d3aa6e5a57e1fdd61";
|
|
2345
|
+
function validate$B(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
2332
2346
|
const v_error = (() => {
|
|
2333
2347
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2334
2348
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2427,7 +2441,7 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
2427
2441
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2428
2442
|
const obj_filters_item = obj_filters[i];
|
|
2429
2443
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2430
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2444
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
2431
2445
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2432
2446
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
2433
2447
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2533,11 +2547,11 @@ function keyBuilderFromType$a(luvio, object) {
|
|
|
2533
2547
|
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
2534
2548
|
return input;
|
|
2535
2549
|
}
|
|
2536
|
-
const select$
|
|
2537
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
2550
|
+
const select$I = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
2551
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
2538
2552
|
return {
|
|
2539
2553
|
kind: 'Fragment',
|
|
2540
|
-
version: VERSION$
|
|
2554
|
+
version: VERSION$u,
|
|
2541
2555
|
private: [],
|
|
2542
2556
|
selections: [
|
|
2543
2557
|
{
|
|
@@ -2671,7 +2685,7 @@ const select$H = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
2671
2685
|
]
|
|
2672
2686
|
};
|
|
2673
2687
|
};
|
|
2674
|
-
function equals$
|
|
2688
|
+
function equals$u(existing, incoming) {
|
|
2675
2689
|
const existing_isAggregatable = existing.isAggregatable;
|
|
2676
2690
|
const incoming_isAggregatable = incoming.isAggregatable;
|
|
2677
2691
|
// if at least one of these optionals is defined
|
|
@@ -2975,7 +2989,7 @@ function equals$t(existing, incoming) {
|
|
|
2975
2989
|
return false;
|
|
2976
2990
|
}
|
|
2977
2991
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
2978
|
-
if (!(equals$
|
|
2992
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
2979
2993
|
return false;
|
|
2980
2994
|
}
|
|
2981
2995
|
});
|
|
@@ -2987,14 +3001,14 @@ function equals$t(existing, incoming) {
|
|
|
2987
3001
|
}
|
|
2988
3002
|
const ingest$g = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2989
3003
|
if (process.env.NODE_ENV !== 'production') {
|
|
2990
|
-
const validateError = validate$
|
|
3004
|
+
const validateError = validate$B(input);
|
|
2991
3005
|
if (validateError !== null) {
|
|
2992
3006
|
throw validateError;
|
|
2993
3007
|
}
|
|
2994
3008
|
}
|
|
2995
3009
|
const key = keyBuilderFromType$a(luvio, input);
|
|
2996
3010
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
2997
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$
|
|
3011
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$u, RepresentationType$g, equals$u);
|
|
2998
3012
|
return createLink(key);
|
|
2999
3013
|
};
|
|
3000
3014
|
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3007,7 +3021,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3007
3021
|
});
|
|
3008
3022
|
}
|
|
3009
3023
|
|
|
3010
|
-
function validate$
|
|
3024
|
+
function validate$A(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
3011
3025
|
const v_error = (() => {
|
|
3012
3026
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3013
3027
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3148,7 +3162,7 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
3148
3162
|
return v_error === undefined ? null : v_error;
|
|
3149
3163
|
}
|
|
3150
3164
|
|
|
3151
|
-
function validate$
|
|
3165
|
+
function validate$z(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
3152
3166
|
const v_error = (() => {
|
|
3153
3167
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3154
3168
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3324,8 +3338,8 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
3324
3338
|
return v_error === undefined ? null : v_error;
|
|
3325
3339
|
}
|
|
3326
3340
|
|
|
3327
|
-
const VERSION$
|
|
3328
|
-
function validate$
|
|
3341
|
+
const VERSION$t = "4f111b93807b811179eb310384efdc35";
|
|
3342
|
+
function validate$y(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
3329
3343
|
const v_error = (() => {
|
|
3330
3344
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3331
3345
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3396,7 +3410,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3396
3410
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3397
3411
|
const obj_filters_item = obj_filters[i];
|
|
3398
3412
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3399
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3413
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
3400
3414
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3401
3415
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
3402
3416
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3446,7 +3460,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3446
3460
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
3447
3461
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
3448
3462
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
3449
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
3463
|
+
const referencepath_semanticDimensions_itemValidationError = validate$A(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
3450
3464
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
3451
3465
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
3452
3466
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3470,7 +3484,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3470
3484
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
3471
3485
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
3472
3486
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
3473
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
3487
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$z(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
3474
3488
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
3475
3489
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
3476
3490
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3508,15 +3522,15 @@ function keyBuilderFromType$9(luvio, object) {
|
|
|
3508
3522
|
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
3509
3523
|
return input;
|
|
3510
3524
|
}
|
|
3511
|
-
const select$
|
|
3525
|
+
const select$H = function SemanticDataObjectOutputRepresentationSelect() {
|
|
3512
3526
|
return {
|
|
3513
3527
|
kind: 'Fragment',
|
|
3514
|
-
version: VERSION$
|
|
3528
|
+
version: VERSION$t,
|
|
3515
3529
|
private: [],
|
|
3516
3530
|
opaque: true
|
|
3517
3531
|
};
|
|
3518
3532
|
};
|
|
3519
|
-
function equals$
|
|
3533
|
+
function equals$t(existing, incoming) {
|
|
3520
3534
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
3521
3535
|
return false;
|
|
3522
3536
|
}
|
|
@@ -3524,14 +3538,14 @@ function equals$s(existing, incoming) {
|
|
|
3524
3538
|
}
|
|
3525
3539
|
const ingest$f = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3526
3540
|
if (process.env.NODE_ENV !== 'production') {
|
|
3527
|
-
const validateError = validate$
|
|
3541
|
+
const validateError = validate$y(input);
|
|
3528
3542
|
if (validateError !== null) {
|
|
3529
3543
|
throw validateError;
|
|
3530
3544
|
}
|
|
3531
3545
|
}
|
|
3532
3546
|
const key = keyBuilderFromType$9(luvio, input);
|
|
3533
3547
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
3534
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$
|
|
3548
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$t, RepresentationType$f, equals$t);
|
|
3535
3549
|
return createLink(key);
|
|
3536
3550
|
};
|
|
3537
3551
|
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3544,8 +3558,8 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3544
3558
|
});
|
|
3545
3559
|
}
|
|
3546
3560
|
|
|
3547
|
-
const VERSION$
|
|
3548
|
-
function validate$
|
|
3561
|
+
const VERSION$s = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
3562
|
+
function validate$x(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
3549
3563
|
const v_error = (() => {
|
|
3550
3564
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3551
3565
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3554,10 +3568,10 @@ function validate$w(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
3554
3568
|
})();
|
|
3555
3569
|
return v_error === undefined ? null : v_error;
|
|
3556
3570
|
}
|
|
3557
|
-
const select$
|
|
3571
|
+
const select$G = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
3558
3572
|
return {
|
|
3559
3573
|
kind: 'Fragment',
|
|
3560
|
-
version: VERSION$
|
|
3574
|
+
version: VERSION$s,
|
|
3561
3575
|
private: [],
|
|
3562
3576
|
selections: [
|
|
3563
3577
|
{
|
|
@@ -3567,7 +3581,7 @@ const select$F = function BinDimensionConfigurationOutputRepresentationSelect()
|
|
|
3567
3581
|
]
|
|
3568
3582
|
};
|
|
3569
3583
|
};
|
|
3570
|
-
function equals$
|
|
3584
|
+
function equals$s(existing, incoming) {
|
|
3571
3585
|
const existing_constantBinSize = existing.constantBinSize;
|
|
3572
3586
|
const incoming_constantBinSize = incoming.constantBinSize;
|
|
3573
3587
|
if (!(existing_constantBinSize === incoming_constantBinSize)) {
|
|
@@ -3576,8 +3590,8 @@ function equals$r(existing, incoming) {
|
|
|
3576
3590
|
return true;
|
|
3577
3591
|
}
|
|
3578
3592
|
|
|
3579
|
-
const VERSION$
|
|
3580
|
-
function validate$
|
|
3593
|
+
const VERSION$r = "2cdadcd630abb7b981b2d131880a68c0";
|
|
3594
|
+
function validate$w(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
3581
3595
|
const v_error = (() => {
|
|
3582
3596
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3583
3597
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3604,10 +3618,10 @@ function validate$v(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
3604
3618
|
})();
|
|
3605
3619
|
return v_error === undefined ? null : v_error;
|
|
3606
3620
|
}
|
|
3607
|
-
const select$
|
|
3621
|
+
const select$F = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
3608
3622
|
return {
|
|
3609
3623
|
kind: 'Fragment',
|
|
3610
|
-
version: VERSION$
|
|
3624
|
+
version: VERSION$r,
|
|
3611
3625
|
private: [],
|
|
3612
3626
|
selections: [
|
|
3613
3627
|
{
|
|
@@ -3623,7 +3637,7 @@ const select$E = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
|
3623
3637
|
]
|
|
3624
3638
|
};
|
|
3625
3639
|
};
|
|
3626
|
-
function equals$
|
|
3640
|
+
function equals$r(existing, incoming) {
|
|
3627
3641
|
const existing_name = existing.name;
|
|
3628
3642
|
const incoming_name = incoming.name;
|
|
3629
3643
|
if (!(existing_name === incoming_name)) {
|
|
@@ -3650,8 +3664,8 @@ function equals$q(existing, incoming) {
|
|
|
3650
3664
|
return true;
|
|
3651
3665
|
}
|
|
3652
3666
|
|
|
3653
|
-
const VERSION$
|
|
3654
|
-
function validate$
|
|
3667
|
+
const VERSION$q = "55c60b6207985632192cb4e419822a86";
|
|
3668
|
+
function validate$v(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
3655
3669
|
const v_error = (() => {
|
|
3656
3670
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3657
3671
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3665,7 +3679,7 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
3665
3679
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
3666
3680
|
const obj_groups_item = obj_groups[i];
|
|
3667
3681
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
3668
|
-
const referencepath_groups_itemValidationError = validate$
|
|
3682
|
+
const referencepath_groups_itemValidationError = validate$w(obj_groups_item, path_groups_item);
|
|
3669
3683
|
if (referencepath_groups_itemValidationError !== null) {
|
|
3670
3684
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
3671
3685
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3683,11 +3697,11 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
3683
3697
|
})();
|
|
3684
3698
|
return v_error === undefined ? null : v_error;
|
|
3685
3699
|
}
|
|
3686
|
-
const select$
|
|
3687
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
3700
|
+
const select$E = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
3701
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$F();
|
|
3688
3702
|
return {
|
|
3689
3703
|
kind: 'Fragment',
|
|
3690
|
-
version: VERSION$
|
|
3704
|
+
version: VERSION$q,
|
|
3691
3705
|
private: [],
|
|
3692
3706
|
selections: [
|
|
3693
3707
|
{
|
|
@@ -3705,7 +3719,7 @@ const select$D = function GroupDimensionConfigurationOutputRepresentationSelect(
|
|
|
3705
3719
|
]
|
|
3706
3720
|
};
|
|
3707
3721
|
};
|
|
3708
|
-
function equals$
|
|
3722
|
+
function equals$q(existing, incoming) {
|
|
3709
3723
|
const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
|
|
3710
3724
|
const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
|
|
3711
3725
|
// if at least one of these optionals is defined
|
|
@@ -3729,7 +3743,7 @@ function equals$p(existing, incoming) {
|
|
|
3729
3743
|
return false;
|
|
3730
3744
|
}
|
|
3731
3745
|
const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
|
|
3732
|
-
if (!(equals$
|
|
3746
|
+
if (!(equals$r(existing_groups_item, incoming_groups_item))) {
|
|
3733
3747
|
return false;
|
|
3734
3748
|
}
|
|
3735
3749
|
});
|
|
@@ -3740,8 +3754,8 @@ function equals$p(existing, incoming) {
|
|
|
3740
3754
|
return true;
|
|
3741
3755
|
}
|
|
3742
3756
|
|
|
3743
|
-
const VERSION$
|
|
3744
|
-
function validate$
|
|
3757
|
+
const VERSION$p = "50dc390b159159afb1945b9a811c9f80";
|
|
3758
|
+
function validate$u(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
3745
3759
|
const v_error = (() => {
|
|
3746
3760
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3747
3761
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3749,7 +3763,7 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
3749
3763
|
if (obj.binDimension !== undefined) {
|
|
3750
3764
|
const obj_binDimension = obj.binDimension;
|
|
3751
3765
|
const path_binDimension = path + '.binDimension';
|
|
3752
|
-
const referencepath_binDimensionValidationError = validate$
|
|
3766
|
+
const referencepath_binDimensionValidationError = validate$x(obj_binDimension, path_binDimension);
|
|
3753
3767
|
if (referencepath_binDimensionValidationError !== null) {
|
|
3754
3768
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
3755
3769
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3759,7 +3773,7 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
3759
3773
|
if (obj.groupDimension !== undefined) {
|
|
3760
3774
|
const obj_groupDimension = obj.groupDimension;
|
|
3761
3775
|
const path_groupDimension = path + '.groupDimension';
|
|
3762
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
3776
|
+
const referencepath_groupDimensionValidationError = validate$v(obj_groupDimension, path_groupDimension);
|
|
3763
3777
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
3764
3778
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
3765
3779
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3769,12 +3783,12 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
3769
3783
|
})();
|
|
3770
3784
|
return v_error === undefined ? null : v_error;
|
|
3771
3785
|
}
|
|
3772
|
-
const select$
|
|
3773
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
3774
|
-
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
3786
|
+
const select$D = function SemanticGroupingConfigurationOutputRepresentationSelect() {
|
|
3787
|
+
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$G();
|
|
3788
|
+
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$E();
|
|
3775
3789
|
return {
|
|
3776
3790
|
kind: 'Fragment',
|
|
3777
|
-
version: VERSION$
|
|
3791
|
+
version: VERSION$p,
|
|
3778
3792
|
private: [],
|
|
3779
3793
|
selections: [
|
|
3780
3794
|
{
|
|
@@ -3792,7 +3806,7 @@ const select$C = function SemanticGroupingConfigurationOutputRepresentationSelec
|
|
|
3792
3806
|
]
|
|
3793
3807
|
};
|
|
3794
3808
|
};
|
|
3795
|
-
function equals$
|
|
3809
|
+
function equals$p(existing, incoming) {
|
|
3796
3810
|
const existing_binDimension = existing.binDimension;
|
|
3797
3811
|
const incoming_binDimension = incoming.binDimension;
|
|
3798
3812
|
// if at least one of these optionals is defined
|
|
@@ -3802,7 +3816,7 @@ function equals$o(existing, incoming) {
|
|
|
3802
3816
|
if (existing_binDimension === undefined || incoming_binDimension === undefined) {
|
|
3803
3817
|
return false;
|
|
3804
3818
|
}
|
|
3805
|
-
if (!(equals$
|
|
3819
|
+
if (!(equals$s(existing_binDimension, incoming_binDimension))) {
|
|
3806
3820
|
return false;
|
|
3807
3821
|
}
|
|
3808
3822
|
}
|
|
@@ -3815,15 +3829,15 @@ function equals$o(existing, incoming) {
|
|
|
3815
3829
|
if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
|
|
3816
3830
|
return false;
|
|
3817
3831
|
}
|
|
3818
|
-
if (!(equals$
|
|
3832
|
+
if (!(equals$q(existing_groupDimension, incoming_groupDimension))) {
|
|
3819
3833
|
return false;
|
|
3820
3834
|
}
|
|
3821
3835
|
}
|
|
3822
3836
|
return true;
|
|
3823
3837
|
}
|
|
3824
3838
|
|
|
3825
|
-
const VERSION$
|
|
3826
|
-
function validate$
|
|
3839
|
+
const VERSION$o = "a2976cd68e629a917463a3b690cf2527";
|
|
3840
|
+
function validate$t(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
3827
3841
|
const v_error = (() => {
|
|
3828
3842
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3829
3843
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3845,10 +3859,10 @@ function validate$s(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
|
|
|
3845
3859
|
})();
|
|
3846
3860
|
return v_error === undefined ? null : v_error;
|
|
3847
3861
|
}
|
|
3848
|
-
const select$
|
|
3862
|
+
const select$C = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
3849
3863
|
return {
|
|
3850
3864
|
kind: 'Fragment',
|
|
3851
|
-
version: VERSION$
|
|
3865
|
+
version: VERSION$o,
|
|
3852
3866
|
private: [],
|
|
3853
3867
|
selections: [
|
|
3854
3868
|
{
|
|
@@ -3864,7 +3878,7 @@ const select$B = function SemanticTableFieldReferenceOutputRepresentationSelect(
|
|
|
3864
3878
|
]
|
|
3865
3879
|
};
|
|
3866
3880
|
};
|
|
3867
|
-
function equals$
|
|
3881
|
+
function equals$o(existing, incoming) {
|
|
3868
3882
|
const existing_fieldApiName = existing.fieldApiName;
|
|
3869
3883
|
const incoming_fieldApiName = incoming.fieldApiName;
|
|
3870
3884
|
// if at least one of these optionals is defined
|
|
@@ -3894,8 +3908,8 @@ function equals$n(existing, incoming) {
|
|
|
3894
3908
|
return true;
|
|
3895
3909
|
}
|
|
3896
3910
|
|
|
3897
|
-
const VERSION$
|
|
3898
|
-
function validate$
|
|
3911
|
+
const VERSION$n = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
3912
|
+
function validate$s(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
3899
3913
|
const v_error = (() => {
|
|
3900
3914
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3901
3915
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3910,7 +3924,7 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
3910
3924
|
if (obj.tableFieldReference !== undefined) {
|
|
3911
3925
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
3912
3926
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
3913
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
3927
|
+
const referencepath_tableFieldReferenceValidationError = validate$t(obj_tableFieldReference, path_tableFieldReference);
|
|
3914
3928
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
3915
3929
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
3916
3930
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3920,11 +3934,11 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
3920
3934
|
})();
|
|
3921
3935
|
return v_error === undefined ? null : v_error;
|
|
3922
3936
|
}
|
|
3923
|
-
const select$
|
|
3924
|
-
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$
|
|
3937
|
+
const select$B = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
3938
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
3925
3939
|
return {
|
|
3926
3940
|
kind: 'Fragment',
|
|
3927
|
-
version: VERSION$
|
|
3941
|
+
version: VERSION$n,
|
|
3928
3942
|
private: [],
|
|
3929
3943
|
selections: [
|
|
3930
3944
|
{
|
|
@@ -3941,7 +3955,7 @@ const select$A = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
|
3941
3955
|
]
|
|
3942
3956
|
};
|
|
3943
3957
|
};
|
|
3944
|
-
function equals$
|
|
3958
|
+
function equals$n(existing, incoming) {
|
|
3945
3959
|
const existing_calculatedFieldApiName = existing.calculatedFieldApiName;
|
|
3946
3960
|
const incoming_calculatedFieldApiName = incoming.calculatedFieldApiName;
|
|
3947
3961
|
// if at least one of these optionals is defined
|
|
@@ -3964,15 +3978,15 @@ function equals$m(existing, incoming) {
|
|
|
3964
3978
|
if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
|
|
3965
3979
|
return false;
|
|
3966
3980
|
}
|
|
3967
|
-
if (!(equals$
|
|
3981
|
+
if (!(equals$o(existing_tableFieldReference, incoming_tableFieldReference))) {
|
|
3968
3982
|
return false;
|
|
3969
3983
|
}
|
|
3970
3984
|
}
|
|
3971
3985
|
return true;
|
|
3972
3986
|
}
|
|
3973
3987
|
|
|
3974
|
-
const VERSION$
|
|
3975
|
-
function validate$
|
|
3988
|
+
const VERSION$m = "1daec40706bf767c719fa58831fad462";
|
|
3989
|
+
function validate$r(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
3976
3990
|
const v_error = (() => {
|
|
3977
3991
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3978
3992
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3998,7 +4012,7 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
3998
4012
|
}
|
|
3999
4013
|
const obj_configuration = obj.configuration;
|
|
4000
4014
|
const path_configuration = path + '.configuration';
|
|
4001
|
-
const referencepath_configurationValidationError = validate$
|
|
4015
|
+
const referencepath_configurationValidationError = validate$u(obj_configuration, path_configuration);
|
|
4002
4016
|
if (referencepath_configurationValidationError !== null) {
|
|
4003
4017
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
4004
4018
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4023,7 +4037,7 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
4023
4037
|
}
|
|
4024
4038
|
const obj_fieldReference = obj.fieldReference;
|
|
4025
4039
|
const path_fieldReference = path + '.fieldReference';
|
|
4026
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
4040
|
+
const referencepath_fieldReferenceValidationError = validate$s(obj_fieldReference, path_fieldReference);
|
|
4027
4041
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
4028
4042
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
4029
4043
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4076,12 +4090,12 @@ function keyBuilderFromType$8(luvio, object) {
|
|
|
4076
4090
|
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
4077
4091
|
return input;
|
|
4078
4092
|
}
|
|
4079
|
-
const select$
|
|
4080
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
4081
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
4093
|
+
const select$A = function SemanticGroupingOutputRepresentationSelect() {
|
|
4094
|
+
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$D();
|
|
4095
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
4082
4096
|
return {
|
|
4083
4097
|
kind: 'Fragment',
|
|
4084
|
-
version: VERSION$
|
|
4098
|
+
version: VERSION$m,
|
|
4085
4099
|
private: [],
|
|
4086
4100
|
selections: [
|
|
4087
4101
|
{
|
|
@@ -4147,7 +4161,7 @@ const select$z = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
4147
4161
|
]
|
|
4148
4162
|
};
|
|
4149
4163
|
};
|
|
4150
|
-
function equals$
|
|
4164
|
+
function equals$m(existing, incoming) {
|
|
4151
4165
|
const existing_apiName = existing.apiName;
|
|
4152
4166
|
const incoming_apiName = incoming.apiName;
|
|
4153
4167
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -4253,26 +4267,26 @@ function equals$l(existing, incoming) {
|
|
|
4253
4267
|
}
|
|
4254
4268
|
const existing_configuration = existing.configuration;
|
|
4255
4269
|
const incoming_configuration = incoming.configuration;
|
|
4256
|
-
if (!(equals$
|
|
4270
|
+
if (!(equals$p(existing_configuration, incoming_configuration))) {
|
|
4257
4271
|
return false;
|
|
4258
4272
|
}
|
|
4259
4273
|
const existing_fieldReference = existing.fieldReference;
|
|
4260
4274
|
const incoming_fieldReference = incoming.fieldReference;
|
|
4261
|
-
if (!(equals$
|
|
4275
|
+
if (!(equals$n(existing_fieldReference, incoming_fieldReference))) {
|
|
4262
4276
|
return false;
|
|
4263
4277
|
}
|
|
4264
4278
|
return true;
|
|
4265
4279
|
}
|
|
4266
4280
|
const ingest$e = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4267
4281
|
if (process.env.NODE_ENV !== 'production') {
|
|
4268
|
-
const validateError = validate$
|
|
4282
|
+
const validateError = validate$r(input);
|
|
4269
4283
|
if (validateError !== null) {
|
|
4270
4284
|
throw validateError;
|
|
4271
4285
|
}
|
|
4272
4286
|
}
|
|
4273
4287
|
const key = keyBuilderFromType$8(luvio, input);
|
|
4274
4288
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4275
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$
|
|
4289
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$m, RepresentationType$e, equals$m);
|
|
4276
4290
|
return createLink(key);
|
|
4277
4291
|
};
|
|
4278
4292
|
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4285,8 +4299,8 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4285
4299
|
});
|
|
4286
4300
|
}
|
|
4287
4301
|
|
|
4288
|
-
const VERSION$
|
|
4289
|
-
function validate$
|
|
4302
|
+
const VERSION$l = "c5144c317ac72b60d580cab803514b8d";
|
|
4303
|
+
function validate$q(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
4290
4304
|
const v_error = (() => {
|
|
4291
4305
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4292
4306
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4329,10 +4343,10 @@ function validate$p(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
4329
4343
|
})();
|
|
4330
4344
|
return v_error === undefined ? null : v_error;
|
|
4331
4345
|
}
|
|
4332
|
-
const select$
|
|
4346
|
+
const select$z = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
4333
4347
|
return {
|
|
4334
4348
|
kind: 'Fragment',
|
|
4335
|
-
version: VERSION$
|
|
4349
|
+
version: VERSION$l,
|
|
4336
4350
|
private: [],
|
|
4337
4351
|
selections: [
|
|
4338
4352
|
{
|
|
@@ -4363,7 +4377,7 @@ const select$y = function SemanticRelationshipCriteriaOutputRepresentationSelect
|
|
|
4363
4377
|
]
|
|
4364
4378
|
};
|
|
4365
4379
|
};
|
|
4366
|
-
function equals$
|
|
4380
|
+
function equals$l(existing, incoming) {
|
|
4367
4381
|
const existing_joinOperator = existing.joinOperator;
|
|
4368
4382
|
const incoming_joinOperator = incoming.joinOperator;
|
|
4369
4383
|
// if at least one of these optionals is defined
|
|
@@ -4432,8 +4446,8 @@ function equals$k(existing, incoming) {
|
|
|
4432
4446
|
return true;
|
|
4433
4447
|
}
|
|
4434
4448
|
|
|
4435
|
-
const VERSION$
|
|
4436
|
-
function validate$
|
|
4449
|
+
const VERSION$k = "b9778dace5726fcb57804d3afd529246";
|
|
4450
|
+
function validate$p(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
4437
4451
|
const v_error = (() => {
|
|
4438
4452
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4439
4453
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4483,7 +4497,7 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
4483
4497
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
4484
4498
|
const obj_criteria_item = obj_criteria[i];
|
|
4485
4499
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
4486
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
4500
|
+
const referencepath_criteria_itemValidationError = validate$q(obj_criteria_item, path_criteria_item);
|
|
4487
4501
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
4488
4502
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
4489
4503
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4575,11 +4589,11 @@ function keyBuilderFromType$7(luvio, object) {
|
|
|
4575
4589
|
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
4576
4590
|
return input;
|
|
4577
4591
|
}
|
|
4578
|
-
const select$
|
|
4579
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
4592
|
+
const select$y = function SemanticRelationshipOutputRepresentationSelect() {
|
|
4593
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$z();
|
|
4580
4594
|
return {
|
|
4581
4595
|
kind: 'Fragment',
|
|
4582
|
-
version: VERSION$
|
|
4596
|
+
version: VERSION$k,
|
|
4583
4597
|
private: [],
|
|
4584
4598
|
selections: [
|
|
4585
4599
|
{
|
|
@@ -4668,7 +4682,7 @@ const select$x = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
4668
4682
|
]
|
|
4669
4683
|
};
|
|
4670
4684
|
};
|
|
4671
|
-
function equals$
|
|
4685
|
+
function equals$k(existing, incoming) {
|
|
4672
4686
|
const existing_isEnabled = existing.isEnabled;
|
|
4673
4687
|
const incoming_isEnabled = incoming.isEnabled;
|
|
4674
4688
|
// if at least one of these optionals is defined
|
|
@@ -4855,7 +4869,7 @@ function equals$j(existing, incoming) {
|
|
|
4855
4869
|
return false;
|
|
4856
4870
|
}
|
|
4857
4871
|
const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
|
|
4858
|
-
if (!(equals$
|
|
4872
|
+
if (!(equals$l(existing_criteria_item, incoming_criteria_item))) {
|
|
4859
4873
|
return false;
|
|
4860
4874
|
}
|
|
4861
4875
|
});
|
|
@@ -4867,14 +4881,14 @@ function equals$j(existing, incoming) {
|
|
|
4867
4881
|
}
|
|
4868
4882
|
const ingest$d = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4869
4883
|
if (process.env.NODE_ENV !== 'production') {
|
|
4870
|
-
const validateError = validate$
|
|
4884
|
+
const validateError = validate$p(input);
|
|
4871
4885
|
if (validateError !== null) {
|
|
4872
4886
|
throw validateError;
|
|
4873
4887
|
}
|
|
4874
4888
|
}
|
|
4875
4889
|
const key = keyBuilderFromType$7(luvio, input);
|
|
4876
4890
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4877
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$
|
|
4891
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$k, RepresentationType$d, equals$k);
|
|
4878
4892
|
return createLink(key);
|
|
4879
4893
|
};
|
|
4880
4894
|
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4887,8 +4901,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4887
4901
|
});
|
|
4888
4902
|
}
|
|
4889
4903
|
|
|
4890
|
-
const VERSION$
|
|
4891
|
-
function validate$
|
|
4904
|
+
const VERSION$j = "eaf9b57a92e764fb2b5c27b6e031cfe1";
|
|
4905
|
+
function validate$o(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
4892
4906
|
const v_error = (() => {
|
|
4893
4907
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4894
4908
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4938,7 +4952,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
4938
4952
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
4939
4953
|
const obj_fields_item = obj_fields[i];
|
|
4940
4954
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
4941
|
-
const referencepath_fields_itemValidationError = validate$
|
|
4955
|
+
const referencepath_fields_itemValidationError = validate$t(obj_fields_item, path_fields_item);
|
|
4942
4956
|
if (referencepath_fields_itemValidationError !== null) {
|
|
4943
4957
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
4944
4958
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4982,7 +4996,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
4982
4996
|
if (obj.semanticDimension !== undefined) {
|
|
4983
4997
|
const obj_semanticDimension = obj.semanticDimension;
|
|
4984
4998
|
const path_semanticDimension = path + '.semanticDimension';
|
|
4985
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
4999
|
+
const referencepath_semanticDimensionValidationError = validate$A(obj_semanticDimension, path_semanticDimension);
|
|
4986
5000
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
4987
5001
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
4988
5002
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4992,7 +5006,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
4992
5006
|
if (obj.semanticMeasurement !== undefined) {
|
|
4993
5007
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
4994
5008
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
4995
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
5009
|
+
const referencepath_semanticMeasurementValidationError = validate$z(obj_semanticMeasurement, path_semanticMeasurement);
|
|
4996
5010
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
4997
5011
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
4998
5012
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5015,15 +5029,15 @@ function keyBuilderFromType$6(luvio, object) {
|
|
|
5015
5029
|
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
5016
5030
|
return input;
|
|
5017
5031
|
}
|
|
5018
|
-
const select$
|
|
5032
|
+
const select$x = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
5019
5033
|
return {
|
|
5020
5034
|
kind: 'Fragment',
|
|
5021
|
-
version: VERSION$
|
|
5035
|
+
version: VERSION$j,
|
|
5022
5036
|
private: [],
|
|
5023
5037
|
opaque: true
|
|
5024
5038
|
};
|
|
5025
5039
|
};
|
|
5026
|
-
function equals$
|
|
5040
|
+
function equals$j(existing, incoming) {
|
|
5027
5041
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
5028
5042
|
return false;
|
|
5029
5043
|
}
|
|
@@ -5031,14 +5045,14 @@ function equals$i(existing, incoming) {
|
|
|
5031
5045
|
}
|
|
5032
5046
|
const ingest$c = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5033
5047
|
if (process.env.NODE_ENV !== 'production') {
|
|
5034
|
-
const validateError = validate$
|
|
5048
|
+
const validateError = validate$o(input);
|
|
5035
5049
|
if (validateError !== null) {
|
|
5036
5050
|
throw validateError;
|
|
5037
5051
|
}
|
|
5038
5052
|
}
|
|
5039
5053
|
const key = keyBuilderFromType$6(luvio, input);
|
|
5040
5054
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5041
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$
|
|
5055
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$j, RepresentationType$c, equals$j);
|
|
5042
5056
|
return createLink(key);
|
|
5043
5057
|
};
|
|
5044
5058
|
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5051,8 +5065,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5051
5065
|
});
|
|
5052
5066
|
}
|
|
5053
5067
|
|
|
5054
|
-
const VERSION$
|
|
5055
|
-
function validate$
|
|
5068
|
+
const VERSION$i = "69fe23112140e9fae50135dcb15c24c2";
|
|
5069
|
+
function validate$n(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
5056
5070
|
const v_error = (() => {
|
|
5057
5071
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5058
5072
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5227,10 +5241,10 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
|
5227
5241
|
}
|
|
5228
5242
|
return input;
|
|
5229
5243
|
}
|
|
5230
|
-
const select$
|
|
5244
|
+
const select$w = function SemanticUnionOutputRepresentationSelect() {
|
|
5231
5245
|
return {
|
|
5232
5246
|
kind: 'Fragment',
|
|
5233
|
-
version: VERSION$
|
|
5247
|
+
version: VERSION$i,
|
|
5234
5248
|
private: [],
|
|
5235
5249
|
selections: [
|
|
5236
5250
|
{
|
|
@@ -5289,19 +5303,19 @@ const select$v = function SemanticUnionOutputRepresentationSelect() {
|
|
|
5289
5303
|
kind: 'Link',
|
|
5290
5304
|
plural: true,
|
|
5291
5305
|
required: false,
|
|
5292
|
-
fragment: select$
|
|
5306
|
+
fragment: select$H()
|
|
5293
5307
|
},
|
|
5294
5308
|
{
|
|
5295
5309
|
name: 'semanticMappedFields',
|
|
5296
5310
|
kind: 'Link',
|
|
5297
5311
|
plural: true,
|
|
5298
5312
|
required: false,
|
|
5299
|
-
fragment: select$
|
|
5313
|
+
fragment: select$x()
|
|
5300
5314
|
}
|
|
5301
5315
|
]
|
|
5302
5316
|
};
|
|
5303
5317
|
};
|
|
5304
|
-
function equals$
|
|
5318
|
+
function equals$i(existing, incoming) {
|
|
5305
5319
|
const existing_apiName = existing.apiName;
|
|
5306
5320
|
const incoming_apiName = incoming.apiName;
|
|
5307
5321
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -5453,14 +5467,14 @@ function equals$h(existing, incoming) {
|
|
|
5453
5467
|
}
|
|
5454
5468
|
const ingest$b = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5455
5469
|
if (process.env.NODE_ENV !== 'production') {
|
|
5456
|
-
const validateError = validate$
|
|
5470
|
+
const validateError = validate$n(input);
|
|
5457
5471
|
if (validateError !== null) {
|
|
5458
5472
|
throw validateError;
|
|
5459
5473
|
}
|
|
5460
5474
|
}
|
|
5461
5475
|
const key = keyBuilderFromType$5(luvio, input);
|
|
5462
5476
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5463
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$
|
|
5477
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$i, RepresentationType$b, equals$i);
|
|
5464
5478
|
return createLink(key);
|
|
5465
5479
|
};
|
|
5466
5480
|
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5485,8 +5499,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5485
5499
|
}
|
|
5486
5500
|
}
|
|
5487
5501
|
|
|
5488
|
-
const VERSION$
|
|
5489
|
-
function validate$
|
|
5502
|
+
const VERSION$h = "281e0163ea1fc7d956974394f5310216";
|
|
5503
|
+
function validate$m(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
5490
5504
|
const v_error = (() => {
|
|
5491
5505
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5492
5506
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5550,7 +5564,7 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
5550
5564
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5551
5565
|
const obj_filters_item = obj_filters[i];
|
|
5552
5566
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5553
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5567
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
5554
5568
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5555
5569
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5556
5570
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5703,11 +5717,11 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
5703
5717
|
}
|
|
5704
5718
|
return input;
|
|
5705
5719
|
}
|
|
5706
|
-
const select$
|
|
5707
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
5720
|
+
const select$v = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
5721
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
5708
5722
|
return {
|
|
5709
5723
|
kind: 'Fragment',
|
|
5710
|
-
version: VERSION$
|
|
5724
|
+
version: VERSION$h,
|
|
5711
5725
|
private: [],
|
|
5712
5726
|
selections: [
|
|
5713
5727
|
{
|
|
@@ -5778,21 +5792,21 @@ const select$u = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
5778
5792
|
kind: 'Link',
|
|
5779
5793
|
plural: true,
|
|
5780
5794
|
required: false,
|
|
5781
|
-
fragment: select$
|
|
5795
|
+
fragment: select$H()
|
|
5782
5796
|
},
|
|
5783
5797
|
{
|
|
5784
5798
|
name: 'semanticRelationships',
|
|
5785
5799
|
kind: 'Link',
|
|
5786
5800
|
plural: true,
|
|
5787
5801
|
required: false,
|
|
5788
|
-
fragment: select$
|
|
5802
|
+
fragment: select$y()
|
|
5789
5803
|
},
|
|
5790
5804
|
{
|
|
5791
5805
|
name: 'semanticUnions',
|
|
5792
5806
|
kind: 'Link',
|
|
5793
5807
|
plural: true,
|
|
5794
5808
|
required: false,
|
|
5795
|
-
fragment: select$
|
|
5809
|
+
fragment: select$w()
|
|
5796
5810
|
},
|
|
5797
5811
|
{
|
|
5798
5812
|
name: 'semanticViewTypeEnum',
|
|
@@ -5802,7 +5816,7 @@ const select$u = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
5802
5816
|
]
|
|
5803
5817
|
};
|
|
5804
5818
|
};
|
|
5805
|
-
function equals$
|
|
5819
|
+
function equals$h(existing, incoming) {
|
|
5806
5820
|
const existing_apiName = existing.apiName;
|
|
5807
5821
|
const incoming_apiName = incoming.apiName;
|
|
5808
5822
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -5950,7 +5964,7 @@ function equals$g(existing, incoming) {
|
|
|
5950
5964
|
return false;
|
|
5951
5965
|
}
|
|
5952
5966
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
5953
|
-
if (!(equals$
|
|
5967
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
5954
5968
|
return false;
|
|
5955
5969
|
}
|
|
5956
5970
|
});
|
|
@@ -6016,14 +6030,14 @@ function equals$g(existing, incoming) {
|
|
|
6016
6030
|
}
|
|
6017
6031
|
const ingest$a = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6018
6032
|
if (process.env.NODE_ENV !== 'production') {
|
|
6019
|
-
const validateError = validate$
|
|
6033
|
+
const validateError = validate$m(input);
|
|
6020
6034
|
if (validateError !== null) {
|
|
6021
6035
|
throw validateError;
|
|
6022
6036
|
}
|
|
6023
6037
|
}
|
|
6024
6038
|
const key = keyBuilderFromType$4(luvio, input);
|
|
6025
6039
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6026
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$
|
|
6040
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$h, RepresentationType$a, equals$h);
|
|
6027
6041
|
return createLink(key);
|
|
6028
6042
|
};
|
|
6029
6043
|
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6054,8 +6068,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6054
6068
|
}
|
|
6055
6069
|
}
|
|
6056
6070
|
|
|
6057
|
-
const VERSION$
|
|
6058
|
-
function validate$
|
|
6071
|
+
const VERSION$g = "a50848c632bb205d5e910bb726d9219e";
|
|
6072
|
+
function validate$l(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
6059
6073
|
const v_error = (() => {
|
|
6060
6074
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6061
6075
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6063,7 +6077,7 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
6063
6077
|
if (obj.identifierDimensionReference !== undefined) {
|
|
6064
6078
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
6065
6079
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
6066
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
6080
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$s(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
6067
6081
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
6068
6082
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
6069
6083
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6073,7 +6087,7 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
6073
6087
|
if (obj.namingDimensionReference !== undefined) {
|
|
6074
6088
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
6075
6089
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
6076
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
6090
|
+
const referencepath_namingDimensionReferenceValidationError = validate$s(obj_namingDimensionReference, path_namingDimensionReference);
|
|
6077
6091
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
6078
6092
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
6079
6093
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6083,11 +6097,11 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
6083
6097
|
})();
|
|
6084
6098
|
return v_error === undefined ? null : v_error;
|
|
6085
6099
|
}
|
|
6086
|
-
const select$
|
|
6087
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
6100
|
+
const select$u = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
6101
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
6088
6102
|
return {
|
|
6089
6103
|
kind: 'Fragment',
|
|
6090
|
-
version: VERSION$
|
|
6104
|
+
version: VERSION$g,
|
|
6091
6105
|
private: [],
|
|
6092
6106
|
selections: [
|
|
6093
6107
|
{
|
|
@@ -6105,7 +6119,7 @@ const select$t = function SemanticIdentifyingDimensionOutputRepresentationSelect
|
|
|
6105
6119
|
]
|
|
6106
6120
|
};
|
|
6107
6121
|
};
|
|
6108
|
-
function equals$
|
|
6122
|
+
function equals$g(existing, incoming) {
|
|
6109
6123
|
const existing_identifierDimensionReference = existing.identifierDimensionReference;
|
|
6110
6124
|
const incoming_identifierDimensionReference = incoming.identifierDimensionReference;
|
|
6111
6125
|
// if at least one of these optionals is defined
|
|
@@ -6115,7 +6129,7 @@ function equals$f(existing, incoming) {
|
|
|
6115
6129
|
if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
|
|
6116
6130
|
return false;
|
|
6117
6131
|
}
|
|
6118
|
-
if (!(equals$
|
|
6132
|
+
if (!(equals$n(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
|
|
6119
6133
|
return false;
|
|
6120
6134
|
}
|
|
6121
6135
|
}
|
|
@@ -6128,15 +6142,15 @@ function equals$f(existing, incoming) {
|
|
|
6128
6142
|
if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
|
|
6129
6143
|
return false;
|
|
6130
6144
|
}
|
|
6131
|
-
if (!(equals$
|
|
6145
|
+
if (!(equals$n(existing_namingDimensionReference, incoming_namingDimensionReference))) {
|
|
6132
6146
|
return false;
|
|
6133
6147
|
}
|
|
6134
6148
|
}
|
|
6135
6149
|
return true;
|
|
6136
6150
|
}
|
|
6137
6151
|
|
|
6138
|
-
const VERSION$
|
|
6139
|
-
function validate$
|
|
6152
|
+
const VERSION$f = "1b8cf2283d5d5c480459506274f0604c";
|
|
6153
|
+
function validate$k(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
6140
6154
|
const v_error = (() => {
|
|
6141
6155
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6142
6156
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6158,10 +6172,10 @@ function validate$j(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
|
6158
6172
|
})();
|
|
6159
6173
|
return v_error === undefined ? null : v_error;
|
|
6160
6174
|
}
|
|
6161
|
-
const select$
|
|
6175
|
+
const select$t = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
6162
6176
|
return {
|
|
6163
6177
|
kind: 'Fragment',
|
|
6164
|
-
version: VERSION$
|
|
6178
|
+
version: VERSION$f,
|
|
6165
6179
|
private: [],
|
|
6166
6180
|
selections: [
|
|
6167
6181
|
{
|
|
@@ -6177,7 +6191,7 @@ const select$s = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
|
6177
6191
|
]
|
|
6178
6192
|
};
|
|
6179
6193
|
};
|
|
6180
|
-
function equals$
|
|
6194
|
+
function equals$f(existing, incoming) {
|
|
6181
6195
|
const existing_enabled = existing.enabled;
|
|
6182
6196
|
const incoming_enabled = incoming.enabled;
|
|
6183
6197
|
// if at least one of these optionals is defined
|
|
@@ -6207,8 +6221,8 @@ function equals$e(existing, incoming) {
|
|
|
6207
6221
|
return true;
|
|
6208
6222
|
}
|
|
6209
6223
|
|
|
6210
|
-
const VERSION$
|
|
6211
|
-
function validate$
|
|
6224
|
+
const VERSION$e = "a3f5972287be7bcf9ca205af56046a58";
|
|
6225
|
+
function validate$j(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
6212
6226
|
const v_error = (() => {
|
|
6213
6227
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6214
6228
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6216,7 +6230,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6216
6230
|
if (obj.identifyingDimension !== undefined) {
|
|
6217
6231
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
6218
6232
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
6219
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
6233
|
+
const referencepath_identifyingDimensionValidationError = validate$l(obj_identifyingDimension, path_identifyingDimension);
|
|
6220
6234
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
6221
6235
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
6222
6236
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6232,7 +6246,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6232
6246
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
6233
6247
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
6234
6248
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
6235
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
6249
|
+
const referencepath_insightTypes_itemValidationError = validate$k(obj_insightTypes_item, path_insightTypes_item);
|
|
6236
6250
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
6237
6251
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
6238
6252
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6249,7 +6263,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6249
6263
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
6250
6264
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
6251
6265
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
6252
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
6266
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$s(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
6253
6267
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
6254
6268
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
6255
6269
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6281,13 +6295,13 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6281
6295
|
})();
|
|
6282
6296
|
return v_error === undefined ? null : v_error;
|
|
6283
6297
|
}
|
|
6284
|
-
const select$
|
|
6285
|
-
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$
|
|
6286
|
-
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$
|
|
6287
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
6298
|
+
const select$s = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
6299
|
+
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$u();
|
|
6300
|
+
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$t();
|
|
6301
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
6288
6302
|
return {
|
|
6289
6303
|
kind: 'Fragment',
|
|
6290
|
-
version: VERSION$
|
|
6304
|
+
version: VERSION$e,
|
|
6291
6305
|
private: [],
|
|
6292
6306
|
selections: [
|
|
6293
6307
|
{
|
|
@@ -6328,7 +6342,7 @@ const select$r = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
|
6328
6342
|
]
|
|
6329
6343
|
};
|
|
6330
6344
|
};
|
|
6331
|
-
function equals$
|
|
6345
|
+
function equals$e(existing, incoming) {
|
|
6332
6346
|
const existing_pluralNoun = existing.pluralNoun;
|
|
6333
6347
|
const incoming_pluralNoun = incoming.pluralNoun;
|
|
6334
6348
|
// if at least one of these optionals is defined
|
|
@@ -6377,7 +6391,7 @@ function equals$d(existing, incoming) {
|
|
|
6377
6391
|
if (existing_identifyingDimension === undefined || incoming_identifyingDimension === undefined) {
|
|
6378
6392
|
return false;
|
|
6379
6393
|
}
|
|
6380
|
-
if (!(equals$
|
|
6394
|
+
if (!(equals$g(existing_identifyingDimension, incoming_identifyingDimension))) {
|
|
6381
6395
|
return false;
|
|
6382
6396
|
}
|
|
6383
6397
|
}
|
|
@@ -6391,7 +6405,7 @@ function equals$d(existing, incoming) {
|
|
|
6391
6405
|
return false;
|
|
6392
6406
|
}
|
|
6393
6407
|
const equals_insightTypes_items = equalsArray(existing_insightTypes, incoming_insightTypes, (existing_insightTypes_item, incoming_insightTypes_item) => {
|
|
6394
|
-
if (!(equals$
|
|
6408
|
+
if (!(equals$f(existing_insightTypes_item, incoming_insightTypes_item))) {
|
|
6395
6409
|
return false;
|
|
6396
6410
|
}
|
|
6397
6411
|
});
|
|
@@ -6409,7 +6423,7 @@ function equals$d(existing, incoming) {
|
|
|
6409
6423
|
return false;
|
|
6410
6424
|
}
|
|
6411
6425
|
const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
|
|
6412
|
-
if (!(equals$
|
|
6426
|
+
if (!(equals$n(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
|
|
6413
6427
|
return false;
|
|
6414
6428
|
}
|
|
6415
6429
|
});
|
|
@@ -6420,8 +6434,8 @@ function equals$d(existing, incoming) {
|
|
|
6420
6434
|
return true;
|
|
6421
6435
|
}
|
|
6422
6436
|
|
|
6423
|
-
const VERSION$
|
|
6424
|
-
function validate$
|
|
6437
|
+
const VERSION$d = "0873ccd85b32d14c753931243d20ac8b";
|
|
6438
|
+
function validate$i(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
6425
6439
|
const v_error = (() => {
|
|
6426
6440
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6427
6441
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6435,7 +6449,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6435
6449
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
6436
6450
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
6437
6451
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
6438
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
6452
|
+
const referencepath_additionalDimensions_itemValidationError = validate$s(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
6439
6453
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
6440
6454
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
6441
6455
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6502,7 +6516,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6502
6516
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
6503
6517
|
const obj_filters_item = obj_filters[i];
|
|
6504
6518
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
6505
|
-
const referencepath_filters_itemValidationError = validate$
|
|
6519
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
6506
6520
|
if (referencepath_filters_itemValidationError !== null) {
|
|
6507
6521
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
6508
6522
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6518,7 +6532,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6518
6532
|
if (obj.insightsSettings !== undefined) {
|
|
6519
6533
|
const obj_insightsSettings = obj.insightsSettings;
|
|
6520
6534
|
const path_insightsSettings = path + '.insightsSettings';
|
|
6521
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
6535
|
+
const referencepath_insightsSettingsValidationError = validate$j(obj_insightsSettings, path_insightsSettings);
|
|
6522
6536
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
6523
6537
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
6524
6538
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6556,7 +6570,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6556
6570
|
if (obj.measurementReference !== undefined) {
|
|
6557
6571
|
const obj_measurementReference = obj.measurementReference;
|
|
6558
6572
|
const path_measurementReference = path + '.measurementReference';
|
|
6559
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
6573
|
+
const referencepath_measurementReferenceValidationError = validate$s(obj_measurementReference, path_measurementReference);
|
|
6560
6574
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
6561
6575
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
6562
6576
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6566,7 +6580,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6566
6580
|
if (obj.timeDimensionReference !== undefined) {
|
|
6567
6581
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
6568
6582
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
6569
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
6583
|
+
const referencepath_timeDimensionReferenceValidationError = validate$s(obj_timeDimensionReference, path_timeDimensionReference);
|
|
6570
6584
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
6571
6585
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
6572
6586
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6603,13 +6617,13 @@ function keyBuilderFromType$3(luvio, object) {
|
|
|
6603
6617
|
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
6604
6618
|
return input;
|
|
6605
6619
|
}
|
|
6606
|
-
const select$
|
|
6607
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
6608
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
6609
|
-
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$
|
|
6620
|
+
const select$r = function SemanticMetricOutputRepresentationSelect() {
|
|
6621
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
6622
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
6623
|
+
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$s();
|
|
6610
6624
|
return {
|
|
6611
6625
|
kind: 'Fragment',
|
|
6612
|
-
version: VERSION$
|
|
6626
|
+
version: VERSION$d,
|
|
6613
6627
|
private: [],
|
|
6614
6628
|
selections: [
|
|
6615
6629
|
{
|
|
@@ -6714,7 +6728,7 @@ const select$q = function SemanticMetricOutputRepresentationSelect() {
|
|
|
6714
6728
|
]
|
|
6715
6729
|
};
|
|
6716
6730
|
};
|
|
6717
|
-
function equals$
|
|
6731
|
+
function equals$d(existing, incoming) {
|
|
6718
6732
|
const existing_isCumulative = existing.isCumulative;
|
|
6719
6733
|
const incoming_isCumulative = incoming.isCumulative;
|
|
6720
6734
|
// if at least one of these optionals is defined
|
|
@@ -6862,7 +6876,7 @@ function equals$c(existing, incoming) {
|
|
|
6862
6876
|
return false;
|
|
6863
6877
|
}
|
|
6864
6878
|
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
6865
|
-
if (!(equals$
|
|
6879
|
+
if (!(equals$n(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
6866
6880
|
return false;
|
|
6867
6881
|
}
|
|
6868
6882
|
});
|
|
@@ -6880,7 +6894,7 @@ function equals$c(existing, incoming) {
|
|
|
6880
6894
|
return false;
|
|
6881
6895
|
}
|
|
6882
6896
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
6883
|
-
if (!(equals$
|
|
6897
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
6884
6898
|
return false;
|
|
6885
6899
|
}
|
|
6886
6900
|
});
|
|
@@ -6897,7 +6911,7 @@ function equals$c(existing, incoming) {
|
|
|
6897
6911
|
if (existing_insightsSettings === undefined || incoming_insightsSettings === undefined) {
|
|
6898
6912
|
return false;
|
|
6899
6913
|
}
|
|
6900
|
-
if (!(equals$
|
|
6914
|
+
if (!(equals$e(existing_insightsSettings, incoming_insightsSettings))) {
|
|
6901
6915
|
return false;
|
|
6902
6916
|
}
|
|
6903
6917
|
}
|
|
@@ -6910,7 +6924,7 @@ function equals$c(existing, incoming) {
|
|
|
6910
6924
|
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
6911
6925
|
return false;
|
|
6912
6926
|
}
|
|
6913
|
-
if (!(equals$
|
|
6927
|
+
if (!(equals$n(existing_measurementReference, incoming_measurementReference))) {
|
|
6914
6928
|
return false;
|
|
6915
6929
|
}
|
|
6916
6930
|
}
|
|
@@ -6923,7 +6937,7 @@ function equals$c(existing, incoming) {
|
|
|
6923
6937
|
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
6924
6938
|
return false;
|
|
6925
6939
|
}
|
|
6926
|
-
if (!(equals$
|
|
6940
|
+
if (!(equals$n(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
6927
6941
|
return false;
|
|
6928
6942
|
}
|
|
6929
6943
|
}
|
|
@@ -6949,14 +6963,14 @@ function equals$c(existing, incoming) {
|
|
|
6949
6963
|
}
|
|
6950
6964
|
const ingest$9 = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6951
6965
|
if (process.env.NODE_ENV !== 'production') {
|
|
6952
|
-
const validateError = validate$
|
|
6966
|
+
const validateError = validate$i(input);
|
|
6953
6967
|
if (validateError !== null) {
|
|
6954
6968
|
throw validateError;
|
|
6955
6969
|
}
|
|
6956
6970
|
}
|
|
6957
6971
|
const key = keyBuilderFromType$3(luvio, input);
|
|
6958
6972
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6959
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$
|
|
6973
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$d, RepresentationType$9, equals$d);
|
|
6960
6974
|
return createLink(key);
|
|
6961
6975
|
};
|
|
6962
6976
|
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6969,12 +6983,101 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6969
6983
|
});
|
|
6970
6984
|
}
|
|
6971
6985
|
|
|
6972
|
-
const VERSION$
|
|
6986
|
+
const VERSION$c = "158d115be773406f841e4351d481d398";
|
|
6987
|
+
function validate$h(obj, path = 'SemanticParameterListValueOutputRepresentation') {
|
|
6988
|
+
const v_error = (() => {
|
|
6989
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6990
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
6991
|
+
}
|
|
6992
|
+
if (obj.displayName !== undefined) {
|
|
6993
|
+
const obj_displayName = obj.displayName;
|
|
6994
|
+
const path_displayName = path + '.displayName';
|
|
6995
|
+
if (typeof obj_displayName !== 'string') {
|
|
6996
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
6997
|
+
}
|
|
6998
|
+
}
|
|
6999
|
+
if (obj.value !== undefined) {
|
|
7000
|
+
const obj_value = obj.value;
|
|
7001
|
+
const path_value = path + '.value';
|
|
7002
|
+
if (typeof obj_value !== 'string') {
|
|
7003
|
+
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
7004
|
+
}
|
|
7005
|
+
}
|
|
7006
|
+
})();
|
|
7007
|
+
return v_error === undefined ? null : v_error;
|
|
7008
|
+
}
|
|
7009
|
+
const select$q = function SemanticParameterListValueOutputRepresentationSelect() {
|
|
7010
|
+
return {
|
|
7011
|
+
kind: 'Fragment',
|
|
7012
|
+
version: VERSION$c,
|
|
7013
|
+
private: [],
|
|
7014
|
+
selections: [
|
|
7015
|
+
{
|
|
7016
|
+
name: 'displayName',
|
|
7017
|
+
kind: 'Scalar',
|
|
7018
|
+
required: false
|
|
7019
|
+
},
|
|
7020
|
+
{
|
|
7021
|
+
name: 'value',
|
|
7022
|
+
kind: 'Scalar',
|
|
7023
|
+
required: false
|
|
7024
|
+
}
|
|
7025
|
+
]
|
|
7026
|
+
};
|
|
7027
|
+
};
|
|
7028
|
+
function equals$c(existing, incoming) {
|
|
7029
|
+
const existing_displayName = existing.displayName;
|
|
7030
|
+
const incoming_displayName = incoming.displayName;
|
|
7031
|
+
// if at least one of these optionals is defined
|
|
7032
|
+
if (existing_displayName !== undefined || incoming_displayName !== undefined) {
|
|
7033
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7034
|
+
// not equal
|
|
7035
|
+
if (existing_displayName === undefined || incoming_displayName === undefined) {
|
|
7036
|
+
return false;
|
|
7037
|
+
}
|
|
7038
|
+
if (!(existing_displayName === incoming_displayName)) {
|
|
7039
|
+
return false;
|
|
7040
|
+
}
|
|
7041
|
+
}
|
|
7042
|
+
const existing_value = existing.value;
|
|
7043
|
+
const incoming_value = incoming.value;
|
|
7044
|
+
// if at least one of these optionals is defined
|
|
7045
|
+
if (existing_value !== undefined || incoming_value !== undefined) {
|
|
7046
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7047
|
+
// not equal
|
|
7048
|
+
if (existing_value === undefined || incoming_value === undefined) {
|
|
7049
|
+
return false;
|
|
7050
|
+
}
|
|
7051
|
+
if (!(existing_value === incoming_value)) {
|
|
7052
|
+
return false;
|
|
7053
|
+
}
|
|
7054
|
+
}
|
|
7055
|
+
return true;
|
|
7056
|
+
}
|
|
7057
|
+
|
|
7058
|
+
const VERSION$b = "6ed89c4ce77235d13ce6bb395ae49d8e";
|
|
6973
7059
|
function validate$g(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
6974
7060
|
const v_error = (() => {
|
|
6975
7061
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6976
7062
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
6977
7063
|
}
|
|
7064
|
+
if (obj.allowedValues !== undefined) {
|
|
7065
|
+
const obj_allowedValues = obj.allowedValues;
|
|
7066
|
+
const path_allowedValues = path + '.allowedValues';
|
|
7067
|
+
if (!ArrayIsArray(obj_allowedValues)) {
|
|
7068
|
+
return new TypeError('Expected "array" but received "' + typeof obj_allowedValues + '" (at "' + path_allowedValues + '")');
|
|
7069
|
+
}
|
|
7070
|
+
for (let i = 0; i < obj_allowedValues.length; i++) {
|
|
7071
|
+
const obj_allowedValues_item = obj_allowedValues[i];
|
|
7072
|
+
const path_allowedValues_item = path_allowedValues + '[' + i + ']';
|
|
7073
|
+
const referencepath_allowedValues_itemValidationError = validate$h(obj_allowedValues_item, path_allowedValues_item);
|
|
7074
|
+
if (referencepath_allowedValues_itemValidationError !== null) {
|
|
7075
|
+
let message = 'Object doesn\'t match SemanticParameterListValueOutputRepresentation (at "' + path_allowedValues_item + '")\n';
|
|
7076
|
+
message += referencepath_allowedValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
7077
|
+
return new TypeError(message);
|
|
7078
|
+
}
|
|
7079
|
+
}
|
|
7080
|
+
}
|
|
6978
7081
|
const obj_apiName = obj.apiName;
|
|
6979
7082
|
const path_apiName = path + '.apiName';
|
|
6980
7083
|
if (typeof obj_apiName !== 'string') {
|
|
@@ -7110,11 +7213,19 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
7110
7213
|
return input;
|
|
7111
7214
|
}
|
|
7112
7215
|
const select$p = function SemanticParameterOutputRepresentationSelect() {
|
|
7216
|
+
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$q();
|
|
7113
7217
|
return {
|
|
7114
7218
|
kind: 'Fragment',
|
|
7115
7219
|
version: VERSION$b,
|
|
7116
7220
|
private: [],
|
|
7117
7221
|
selections: [
|
|
7222
|
+
{
|
|
7223
|
+
name: 'allowedValues',
|
|
7224
|
+
kind: 'Object',
|
|
7225
|
+
plural: true,
|
|
7226
|
+
selections: SemanticParameterListValueOutputRepresentation__selections,
|
|
7227
|
+
required: false
|
|
7228
|
+
},
|
|
7118
7229
|
{
|
|
7119
7230
|
name: 'apiName',
|
|
7120
7231
|
kind: 'Scalar'
|
|
@@ -7377,6 +7488,24 @@ function equals$b(existing, incoming) {
|
|
|
7377
7488
|
return false;
|
|
7378
7489
|
}
|
|
7379
7490
|
}
|
|
7491
|
+
const existing_allowedValues = existing.allowedValues;
|
|
7492
|
+
const incoming_allowedValues = incoming.allowedValues;
|
|
7493
|
+
// if at least one of these optionals is defined
|
|
7494
|
+
if (existing_allowedValues !== undefined || incoming_allowedValues !== undefined) {
|
|
7495
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7496
|
+
// not equal
|
|
7497
|
+
if (existing_allowedValues === undefined || incoming_allowedValues === undefined) {
|
|
7498
|
+
return false;
|
|
7499
|
+
}
|
|
7500
|
+
const equals_allowedValues_items = equalsArray(existing_allowedValues, incoming_allowedValues, (existing_allowedValues_item, incoming_allowedValues_item) => {
|
|
7501
|
+
if (!(equals$c(existing_allowedValues_item, incoming_allowedValues_item))) {
|
|
7502
|
+
return false;
|
|
7503
|
+
}
|
|
7504
|
+
});
|
|
7505
|
+
if (equals_allowedValues_items === false) {
|
|
7506
|
+
return false;
|
|
7507
|
+
}
|
|
7508
|
+
}
|
|
7380
7509
|
const existing_values = existing.values;
|
|
7381
7510
|
const incoming_values = incoming.values;
|
|
7382
7511
|
// if at least one of these optionals is defined
|
|
@@ -7453,7 +7582,7 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
7453
7582
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
7454
7583
|
const obj_baseModels_item = obj_baseModels[i];
|
|
7455
7584
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
7456
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
7585
|
+
const referencepath_baseModels_itemValidationError = validate$E(obj_baseModels_item, path_baseModels_item);
|
|
7457
7586
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
7458
7587
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
7459
7588
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7894,7 +8023,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
7894
8023
|
return input;
|
|
7895
8024
|
}
|
|
7896
8025
|
const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
7897
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
8026
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$L();
|
|
7898
8027
|
return {
|
|
7899
8028
|
kind: 'Fragment',
|
|
7900
8029
|
version: VERSION$a,
|
|
@@ -7983,7 +8112,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
7983
8112
|
kind: 'Link',
|
|
7984
8113
|
plural: true,
|
|
7985
8114
|
required: false,
|
|
7986
|
-
fragment: select$
|
|
8115
|
+
fragment: select$J()
|
|
7987
8116
|
},
|
|
7988
8117
|
{
|
|
7989
8118
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -7995,7 +8124,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
7995
8124
|
kind: 'Link',
|
|
7996
8125
|
plural: true,
|
|
7997
8126
|
required: false,
|
|
7998
|
-
fragment: select$
|
|
8127
|
+
fragment: select$I()
|
|
7999
8128
|
},
|
|
8000
8129
|
{
|
|
8001
8130
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -8007,7 +8136,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8007
8136
|
kind: 'Link',
|
|
8008
8137
|
plural: true,
|
|
8009
8138
|
required: false,
|
|
8010
|
-
fragment: select$
|
|
8139
|
+
fragment: select$H()
|
|
8011
8140
|
},
|
|
8012
8141
|
{
|
|
8013
8142
|
name: 'semanticDataObjectsUrl',
|
|
@@ -8019,7 +8148,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8019
8148
|
kind: 'Link',
|
|
8020
8149
|
plural: true,
|
|
8021
8150
|
required: false,
|
|
8022
|
-
fragment: select$
|
|
8151
|
+
fragment: select$A()
|
|
8023
8152
|
},
|
|
8024
8153
|
{
|
|
8025
8154
|
name: 'semanticGroupingsUrl',
|
|
@@ -8031,14 +8160,14 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8031
8160
|
kind: 'Link',
|
|
8032
8161
|
plural: true,
|
|
8033
8162
|
required: false,
|
|
8034
|
-
fragment: select$
|
|
8163
|
+
fragment: select$v()
|
|
8035
8164
|
},
|
|
8036
8165
|
{
|
|
8037
8166
|
name: 'semanticMetrics',
|
|
8038
8167
|
kind: 'Link',
|
|
8039
8168
|
plural: true,
|
|
8040
8169
|
required: false,
|
|
8041
|
-
fragment: select$
|
|
8170
|
+
fragment: select$r()
|
|
8042
8171
|
},
|
|
8043
8172
|
{
|
|
8044
8173
|
name: 'semanticParameters',
|
|
@@ -8057,7 +8186,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8057
8186
|
kind: 'Link',
|
|
8058
8187
|
plural: true,
|
|
8059
8188
|
required: false,
|
|
8060
|
-
fragment: select$
|
|
8189
|
+
fragment: select$y()
|
|
8061
8190
|
},
|
|
8062
8191
|
{
|
|
8063
8192
|
name: 'semanticRelationshipsUrl',
|
|
@@ -8321,7 +8450,7 @@ function equals$a(existing, incoming) {
|
|
|
8321
8450
|
return false;
|
|
8322
8451
|
}
|
|
8323
8452
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
8324
|
-
if (!(equals$
|
|
8453
|
+
if (!(equals$x(existing_baseModels_item, incoming_baseModels_item))) {
|
|
8325
8454
|
return false;
|
|
8326
8455
|
}
|
|
8327
8456
|
});
|
|
@@ -8644,7 +8773,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8644
8773
|
const untrustedConfig_baseModels_array = [];
|
|
8645
8774
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
8646
8775
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
8647
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
8776
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$10(untrustedConfig_baseModels_item);
|
|
8648
8777
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
8649
8778
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
8650
8779
|
}
|
|
@@ -8656,7 +8785,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8656
8785
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
8657
8786
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
8658
8787
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
8659
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
8788
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedDimensions_item);
|
|
8660
8789
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
8661
8790
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
8662
8791
|
}
|
|
@@ -8668,7 +8797,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8668
8797
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
8669
8798
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
8670
8799
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
8671
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
8800
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$Z(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
8672
8801
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
8673
8802
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
8674
8803
|
}
|
|
@@ -8680,7 +8809,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8680
8809
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
8681
8810
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
8682
8811
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
8683
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
8812
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$W(untrustedConfig_semanticDataObjects_item);
|
|
8684
8813
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
8685
8814
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
8686
8815
|
}
|
|
@@ -8692,7 +8821,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8692
8821
|
const untrustedConfig_semanticGroupings_array = [];
|
|
8693
8822
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
8694
8823
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
8695
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
8824
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$P(untrustedConfig_semanticGroupings_item);
|
|
8696
8825
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
8697
8826
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
8698
8827
|
}
|
|
@@ -8704,7 +8833,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8704
8833
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
8705
8834
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
8706
8835
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
8707
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
8836
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$K(untrustedConfig_semanticLogicalViews_item);
|
|
8708
8837
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
8709
8838
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
8710
8839
|
}
|
|
@@ -8716,7 +8845,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8716
8845
|
const untrustedConfig_semanticMetrics_array = [];
|
|
8717
8846
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
8718
8847
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
8719
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
8848
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$G(untrustedConfig_semanticMetrics_item);
|
|
8720
8849
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
8721
8850
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
8722
8851
|
}
|
|
@@ -8728,7 +8857,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8728
8857
|
const untrustedConfig_semanticParameters_array = [];
|
|
8729
8858
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
8730
8859
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
8731
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
8860
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$F(untrustedConfig_semanticParameters_item);
|
|
8732
8861
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
8733
8862
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
8734
8863
|
}
|
|
@@ -8740,7 +8869,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8740
8869
|
const untrustedConfig_semanticRelationships_array = [];
|
|
8741
8870
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
8742
8871
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
8743
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
8872
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$N(untrustedConfig_semanticRelationships_item);
|
|
8744
8873
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
8745
8874
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
8746
8875
|
}
|
|
@@ -9007,7 +9136,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9007
9136
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
9008
9137
|
const obj_filters_item = obj_filters[i];
|
|
9009
9138
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
9010
|
-
const referencepath_filters_itemValidationError = validate$
|
|
9139
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
9011
9140
|
if (referencepath_filters_itemValidationError !== null) {
|
|
9012
9141
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
9013
9142
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9061,7 +9190,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9061
9190
|
if (obj.semanticMetric !== undefined) {
|
|
9062
9191
|
const obj_semanticMetric = obj.semanticMetric;
|
|
9063
9192
|
const path_semanticMetric = path + '.semanticMetric';
|
|
9064
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
9193
|
+
const referencepath_semanticMetricValidationError = validate$i(obj_semanticMetric, path_semanticMetric);
|
|
9065
9194
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
9066
9195
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
9067
9196
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9189,7 +9318,7 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
9189
9318
|
const untrustedConfig_filters_array = [];
|
|
9190
9319
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
9191
9320
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
9192
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate
|
|
9321
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$$(untrustedConfig_filters_item);
|
|
9193
9322
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
9194
9323
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
9195
9324
|
}
|
|
@@ -9870,7 +9999,7 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
|
|
|
9870
9999
|
};
|
|
9871
10000
|
|
|
9872
10001
|
function select$g(luvio, params) {
|
|
9873
|
-
return select$
|
|
10002
|
+
return select$r();
|
|
9874
10003
|
}
|
|
9875
10004
|
function keyBuilder$h(luvio, params) {
|
|
9876
10005
|
return keyBuilder$p(luvio, {
|
|
@@ -10096,7 +10225,7 @@ const select$f = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
|
10096
10225
|
kind: 'Link',
|
|
10097
10226
|
plural: true,
|
|
10098
10227
|
required: false,
|
|
10099
|
-
fragment: select$
|
|
10228
|
+
fragment: select$r()
|
|
10100
10229
|
}
|
|
10101
10230
|
]
|
|
10102
10231
|
};
|
|
@@ -11002,7 +11131,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
11002
11131
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
11003
11132
|
const obj_baseModels_item = obj_baseModels[i];
|
|
11004
11133
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
11005
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
11134
|
+
const referencepath_baseModels_itemValidationError = validate$E(obj_baseModels_item, path_baseModels_item);
|
|
11006
11135
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
11007
11136
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
11008
11137
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11174,7 +11303,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
11174
11303
|
return v_error === undefined ? null : v_error;
|
|
11175
11304
|
}
|
|
11176
11305
|
const select$8 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
11177
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
11306
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$L();
|
|
11178
11307
|
return {
|
|
11179
11308
|
kind: 'Fragment',
|
|
11180
11309
|
version: VERSION$2,
|
|
@@ -11545,7 +11674,7 @@ function equals$2(existing, incoming) {
|
|
|
11545
11674
|
return false;
|
|
11546
11675
|
}
|
|
11547
11676
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
11548
|
-
if (!(equals$
|
|
11677
|
+
if (!(equals$x(existing_baseModels_item, incoming_baseModels_item))) {
|
|
11549
11678
|
return false;
|
|
11550
11679
|
}
|
|
11551
11680
|
});
|
|
@@ -12704,7 +12833,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12704
12833
|
const untrustedConfig_baseModels_array = [];
|
|
12705
12834
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
12706
12835
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
12707
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
12836
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$10(untrustedConfig_baseModels_item);
|
|
12708
12837
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
12709
12838
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
12710
12839
|
}
|
|
@@ -12716,7 +12845,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12716
12845
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
12717
12846
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
12718
12847
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
12719
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
12848
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedDimensions_item);
|
|
12720
12849
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
12721
12850
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
12722
12851
|
}
|
|
@@ -12728,7 +12857,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12728
12857
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
12729
12858
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
12730
12859
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
12731
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
12860
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$Z(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12732
12861
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
12733
12862
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12734
12863
|
}
|
|
@@ -12740,7 +12869,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12740
12869
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
12741
12870
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
12742
12871
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
12743
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
12872
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$W(untrustedConfig_semanticDataObjects_item);
|
|
12744
12873
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
12745
12874
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
12746
12875
|
}
|
|
@@ -12752,7 +12881,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12752
12881
|
const untrustedConfig_semanticGroupings_array = [];
|
|
12753
12882
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
12754
12883
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
12755
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
12884
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$P(untrustedConfig_semanticGroupings_item);
|
|
12756
12885
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
12757
12886
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
12758
12887
|
}
|
|
@@ -12764,7 +12893,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12764
12893
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
12765
12894
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
12766
12895
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
12767
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
12896
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$K(untrustedConfig_semanticLogicalViews_item);
|
|
12768
12897
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
12769
12898
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
12770
12899
|
}
|
|
@@ -12776,7 +12905,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12776
12905
|
const untrustedConfig_semanticMetrics_array = [];
|
|
12777
12906
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
12778
12907
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
12779
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
12908
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$G(untrustedConfig_semanticMetrics_item);
|
|
12780
12909
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
12781
12910
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
12782
12911
|
}
|
|
@@ -12788,7 +12917,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12788
12917
|
const untrustedConfig_semanticParameters_array = [];
|
|
12789
12918
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
12790
12919
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
12791
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
12920
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$F(untrustedConfig_semanticParameters_item);
|
|
12792
12921
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
12793
12922
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
12794
12923
|
}
|
|
@@ -12800,7 +12929,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12800
12929
|
const untrustedConfig_semanticRelationships_array = [];
|
|
12801
12930
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
12802
12931
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
12803
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
12932
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$N(untrustedConfig_semanticRelationships_item);
|
|
12804
12933
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
12805
12934
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
12806
12935
|
}
|
|
@@ -12995,4 +13124,4 @@ withDefaultLuvio((luvio) => {
|
|
|
12995
13124
|
});
|
|
12996
13125
|
|
|
12997
13126
|
export { createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticSubMetric, getLeafDependenciesByTypes, getLeafDependenciesByTypes_imperative, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticMetricGoal, patchSemanticModel };
|
|
12998
|
-
// version: 1.
|
|
13127
|
+
// version: 1.339.0-f273f846cc
|