@salesforce/lds-adapters-cdp-semantic-authoring 1.332.0-dev7 → 1.332.0-dev9
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$11(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$10(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
118
118
|
return v_error === undefined ? null : v_error;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
function validate
|
|
121
|
+
function validate$10(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$_(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$10(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$_(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
258
258
|
return v_error === undefined ? null : v_error;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
function validate$
|
|
261
|
+
function validate$_(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$Z(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$10(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$Z(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
403
403
|
return v_error === undefined ? null : v_error;
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
function validate$
|
|
406
|
+
function validate$Z(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$Y(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
482
482
|
return v_error === undefined ? null : v_error;
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
function validate$
|
|
485
|
+
function validate$Y(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$X(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
589
589
|
return v_error === undefined ? null : v_error;
|
|
590
590
|
}
|
|
591
591
|
|
|
592
|
-
function validate$
|
|
592
|
+
function validate$X(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$W(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$10(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$W(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$Z(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$W(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$Y(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$W(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
705
705
|
return v_error === undefined ? null : v_error;
|
|
706
706
|
}
|
|
707
707
|
|
|
708
|
-
function validate$
|
|
708
|
+
function validate$W(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$V(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
717
717
|
return v_error === undefined ? null : v_error;
|
|
718
718
|
}
|
|
719
719
|
|
|
720
|
-
function validate$
|
|
720
|
+
function validate$V(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$U(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
747
747
|
return v_error === undefined ? null : v_error;
|
|
748
748
|
}
|
|
749
749
|
|
|
750
|
-
function validate$
|
|
750
|
+
function validate$U(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$T(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$V(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$T(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
780
780
|
return v_error === undefined ? null : v_error;
|
|
781
781
|
}
|
|
782
782
|
|
|
783
|
-
function validate$
|
|
783
|
+
function validate$T(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$S(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$W(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$S(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$U(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$S(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
809
809
|
return v_error === undefined ? null : v_error;
|
|
810
810
|
}
|
|
811
811
|
|
|
812
|
-
function validate$
|
|
812
|
+
function validate$S(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$R(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
832
832
|
return v_error === undefined ? null : v_error;
|
|
833
833
|
}
|
|
834
834
|
|
|
835
|
-
function validate$
|
|
835
|
+
function validate$R(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$Q(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$S(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$Q(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
858
858
|
return v_error === undefined ? null : v_error;
|
|
859
859
|
}
|
|
860
860
|
|
|
861
|
-
function validate$
|
|
861
|
+
function validate$Q(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$P(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$T(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$P(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$R(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$P(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
915
915
|
return v_error === undefined ? null : v_error;
|
|
916
916
|
}
|
|
917
917
|
|
|
918
|
-
function validate$
|
|
918
|
+
function validate$P(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$O(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
959
959
|
return v_error === undefined ? null : v_error;
|
|
960
960
|
}
|
|
961
961
|
|
|
962
|
-
function validate$
|
|
962
|
+
function validate$O(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$N(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$P(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$N(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1048
1048
|
return v_error === undefined ? null : v_error;
|
|
1049
1049
|
}
|
|
1050
1050
|
|
|
1051
|
-
function validate$
|
|
1051
|
+
function validate$N(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$M(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$S(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$M(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$Z(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$M(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$Y(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$M(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1122
1122
|
return v_error === undefined ? null : v_error;
|
|
1123
1123
|
}
|
|
1124
1124
|
|
|
1125
|
-
function validate$
|
|
1125
|
+
function validate$M(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$L(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$X(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$L(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$N(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$L(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1186
1186
|
return v_error === undefined ? null : v_error;
|
|
1187
1187
|
}
|
|
1188
1188
|
|
|
1189
|
-
function validate$
|
|
1189
|
+
function validate$L(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$K(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$10(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$K(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$X(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$K(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$O(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$K(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$M(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$K(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1298
1298
|
return v_error === undefined ? null : v_error;
|
|
1299
1299
|
}
|
|
1300
1300
|
|
|
1301
|
-
function validate$
|
|
1301
|
+
function validate$K(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$J(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$R(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$J(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$R(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$J(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1327
1327
|
return v_error === undefined ? null : v_error;
|
|
1328
1328
|
}
|
|
1329
1329
|
|
|
1330
|
-
function validate$
|
|
1330
|
+
function validate$J(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$I(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
1350
1350
|
return v_error === undefined ? null : v_error;
|
|
1351
1351
|
}
|
|
1352
1352
|
|
|
1353
|
-
function validate$
|
|
1353
|
+
function validate$I(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$H(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$K(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$H(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$J(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$H(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$R(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$H(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1424
1424
|
return v_error === undefined ? null : v_error;
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
|
-
function validate$
|
|
1427
|
+
function validate$H(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$G(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$R(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$G(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$10(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$G(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$I(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$G(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$R(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$G(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$R(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$G(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1553
1553
|
return v_error === undefined ? null : v_error;
|
|
1554
1554
|
}
|
|
1555
1555
|
|
|
1556
|
-
function validate$
|
|
1556
|
+
function validate$G(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$F(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$F(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$E(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$E(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$D(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 = "8137018d7bcc1592081ebddf74ddd42a";
|
|
1815
|
+
function validate$D(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$C(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$E(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');
|
|
@@ -1968,11 +1982,11 @@ function keyBuilderFromType$b(luvio, object) {
|
|
|
1968
1982
|
function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
1969
1983
|
return input;
|
|
1970
1984
|
}
|
|
1971
|
-
const select$
|
|
1972
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
1985
|
+
const select$J = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
1986
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
1973
1987
|
return {
|
|
1974
1988
|
kind: 'Fragment',
|
|
1975
|
-
version: VERSION$
|
|
1989
|
+
version: VERSION$v,
|
|
1976
1990
|
private: [],
|
|
1977
1991
|
selections: [
|
|
1978
1992
|
{
|
|
@@ -2081,7 +2095,7 @@ const select$I = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2081
2095
|
]
|
|
2082
2096
|
};
|
|
2083
2097
|
};
|
|
2084
|
-
function equals$
|
|
2098
|
+
function equals$v(existing, incoming) {
|
|
2085
2099
|
const existing_isVisible = existing.isVisible;
|
|
2086
2100
|
const incoming_isVisible = incoming.isVisible;
|
|
2087
2101
|
// if at least one of these optionals is defined
|
|
@@ -2320,7 +2334,7 @@ function equals$u(existing, incoming) {
|
|
|
2320
2334
|
return false;
|
|
2321
2335
|
}
|
|
2322
2336
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
2323
|
-
if (!(equals$
|
|
2337
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
2324
2338
|
return false;
|
|
2325
2339
|
}
|
|
2326
2340
|
});
|
|
@@ -2332,14 +2346,14 @@ function equals$u(existing, incoming) {
|
|
|
2332
2346
|
}
|
|
2333
2347
|
const ingest$h = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2334
2348
|
if (process.env.NODE_ENV !== 'production') {
|
|
2335
|
-
const validateError = validate$
|
|
2349
|
+
const validateError = validate$D(input);
|
|
2336
2350
|
if (validateError !== null) {
|
|
2337
2351
|
throw validateError;
|
|
2338
2352
|
}
|
|
2339
2353
|
}
|
|
2340
2354
|
const key = keyBuilderFromType$b(luvio, input);
|
|
2341
2355
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
2342
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$
|
|
2356
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$v, RepresentationType$h, equals$v);
|
|
2343
2357
|
return createLink(key);
|
|
2344
2358
|
};
|
|
2345
2359
|
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2352,8 +2366,8 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2352
2366
|
});
|
|
2353
2367
|
}
|
|
2354
2368
|
|
|
2355
|
-
const VERSION$
|
|
2356
|
-
function validate$
|
|
2369
|
+
const VERSION$u = "4dc83d3583b0937db8808447abe03505";
|
|
2370
|
+
function validate$C(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
2357
2371
|
const v_error = (() => {
|
|
2358
2372
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2359
2373
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2452,7 +2466,7 @@ function validate$B(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
2452
2466
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2453
2467
|
const obj_filters_item = obj_filters[i];
|
|
2454
2468
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2455
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2469
|
+
const referencepath_filters_itemValidationError = validate$E(obj_filters_item, path_filters_item);
|
|
2456
2470
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2457
2471
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
2458
2472
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2565,11 +2579,11 @@ function keyBuilderFromType$a(luvio, object) {
|
|
|
2565
2579
|
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
2566
2580
|
return input;
|
|
2567
2581
|
}
|
|
2568
|
-
const select$
|
|
2569
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
2582
|
+
const select$I = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
2583
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
2570
2584
|
return {
|
|
2571
2585
|
kind: 'Fragment',
|
|
2572
|
-
version: VERSION$
|
|
2586
|
+
version: VERSION$u,
|
|
2573
2587
|
private: [],
|
|
2574
2588
|
selections: [
|
|
2575
2589
|
{
|
|
@@ -2708,7 +2722,7 @@ const select$H = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
2708
2722
|
]
|
|
2709
2723
|
};
|
|
2710
2724
|
};
|
|
2711
|
-
function equals$
|
|
2725
|
+
function equals$u(existing, incoming) {
|
|
2712
2726
|
const existing_isAggregatable = existing.isAggregatable;
|
|
2713
2727
|
const incoming_isAggregatable = incoming.isAggregatable;
|
|
2714
2728
|
// if at least one of these optionals is defined
|
|
@@ -3025,7 +3039,7 @@ function equals$t(existing, incoming) {
|
|
|
3025
3039
|
return false;
|
|
3026
3040
|
}
|
|
3027
3041
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
3028
|
-
if (!(equals$
|
|
3042
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
3029
3043
|
return false;
|
|
3030
3044
|
}
|
|
3031
3045
|
});
|
|
@@ -3037,14 +3051,14 @@ function equals$t(existing, incoming) {
|
|
|
3037
3051
|
}
|
|
3038
3052
|
const ingest$g = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3039
3053
|
if (process.env.NODE_ENV !== 'production') {
|
|
3040
|
-
const validateError = validate$
|
|
3054
|
+
const validateError = validate$C(input);
|
|
3041
3055
|
if (validateError !== null) {
|
|
3042
3056
|
throw validateError;
|
|
3043
3057
|
}
|
|
3044
3058
|
}
|
|
3045
3059
|
const key = keyBuilderFromType$a(luvio, input);
|
|
3046
3060
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
3047
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$
|
|
3061
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$u, RepresentationType$g, equals$u);
|
|
3048
3062
|
return createLink(key);
|
|
3049
3063
|
};
|
|
3050
3064
|
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3057,7 +3071,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3057
3071
|
});
|
|
3058
3072
|
}
|
|
3059
3073
|
|
|
3060
|
-
function validate$
|
|
3074
|
+
function validate$B(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
3061
3075
|
const v_error = (() => {
|
|
3062
3076
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3063
3077
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3198,7 +3212,7 @@ function validate$A(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
3198
3212
|
return v_error === undefined ? null : v_error;
|
|
3199
3213
|
}
|
|
3200
3214
|
|
|
3201
|
-
function validate$
|
|
3215
|
+
function validate$A(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
3202
3216
|
const v_error = (() => {
|
|
3203
3217
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3204
3218
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3374,8 +3388,8 @@ function validate$z(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
3374
3388
|
return v_error === undefined ? null : v_error;
|
|
3375
3389
|
}
|
|
3376
3390
|
|
|
3377
|
-
const VERSION$
|
|
3378
|
-
function validate$
|
|
3391
|
+
const VERSION$t = "4f111b93807b811179eb310384efdc35";
|
|
3392
|
+
function validate$z(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
3379
3393
|
const v_error = (() => {
|
|
3380
3394
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3381
3395
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3446,7 +3460,7 @@ function validate$y(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3446
3460
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3447
3461
|
const obj_filters_item = obj_filters[i];
|
|
3448
3462
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3449
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3463
|
+
const referencepath_filters_itemValidationError = validate$E(obj_filters_item, path_filters_item);
|
|
3450
3464
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3451
3465
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
3452
3466
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3496,7 +3510,7 @@ function validate$y(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3496
3510
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
3497
3511
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
3498
3512
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
3499
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
3513
|
+
const referencepath_semanticDimensions_itemValidationError = validate$B(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
3500
3514
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
3501
3515
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
3502
3516
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3520,7 +3534,7 @@ function validate$y(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3520
3534
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
3521
3535
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
3522
3536
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
3523
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
3537
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$A(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
3524
3538
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
3525
3539
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
3526
3540
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3558,15 +3572,15 @@ function keyBuilderFromType$9(luvio, object) {
|
|
|
3558
3572
|
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
3559
3573
|
return input;
|
|
3560
3574
|
}
|
|
3561
|
-
const select$
|
|
3575
|
+
const select$H = function SemanticDataObjectOutputRepresentationSelect() {
|
|
3562
3576
|
return {
|
|
3563
3577
|
kind: 'Fragment',
|
|
3564
|
-
version: VERSION$
|
|
3578
|
+
version: VERSION$t,
|
|
3565
3579
|
private: [],
|
|
3566
3580
|
opaque: true
|
|
3567
3581
|
};
|
|
3568
3582
|
};
|
|
3569
|
-
function equals$
|
|
3583
|
+
function equals$t(existing, incoming) {
|
|
3570
3584
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
3571
3585
|
return false;
|
|
3572
3586
|
}
|
|
@@ -3574,14 +3588,14 @@ function equals$s(existing, incoming) {
|
|
|
3574
3588
|
}
|
|
3575
3589
|
const ingest$f = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3576
3590
|
if (process.env.NODE_ENV !== 'production') {
|
|
3577
|
-
const validateError = validate$
|
|
3591
|
+
const validateError = validate$z(input);
|
|
3578
3592
|
if (validateError !== null) {
|
|
3579
3593
|
throw validateError;
|
|
3580
3594
|
}
|
|
3581
3595
|
}
|
|
3582
3596
|
const key = keyBuilderFromType$9(luvio, input);
|
|
3583
3597
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
3584
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$
|
|
3598
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$t, RepresentationType$f, equals$t);
|
|
3585
3599
|
return createLink(key);
|
|
3586
3600
|
};
|
|
3587
3601
|
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3594,8 +3608,8 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3594
3608
|
});
|
|
3595
3609
|
}
|
|
3596
3610
|
|
|
3597
|
-
const VERSION$
|
|
3598
|
-
function validate$
|
|
3611
|
+
const VERSION$s = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
3612
|
+
function validate$y(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
3599
3613
|
const v_error = (() => {
|
|
3600
3614
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3601
3615
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3604,10 +3618,10 @@ function validate$x(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
3604
3618
|
})();
|
|
3605
3619
|
return v_error === undefined ? null : v_error;
|
|
3606
3620
|
}
|
|
3607
|
-
const select$
|
|
3621
|
+
const select$G = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
3608
3622
|
return {
|
|
3609
3623
|
kind: 'Fragment',
|
|
3610
|
-
version: VERSION$
|
|
3624
|
+
version: VERSION$s,
|
|
3611
3625
|
private: [],
|
|
3612
3626
|
selections: [
|
|
3613
3627
|
{
|
|
@@ -3617,7 +3631,7 @@ const select$F = function BinDimensionConfigurationOutputRepresentationSelect()
|
|
|
3617
3631
|
]
|
|
3618
3632
|
};
|
|
3619
3633
|
};
|
|
3620
|
-
function equals$
|
|
3634
|
+
function equals$s(existing, incoming) {
|
|
3621
3635
|
const existing_constantBinSize = existing.constantBinSize;
|
|
3622
3636
|
const incoming_constantBinSize = incoming.constantBinSize;
|
|
3623
3637
|
if (!(existing_constantBinSize === incoming_constantBinSize)) {
|
|
@@ -3626,8 +3640,8 @@ function equals$r(existing, incoming) {
|
|
|
3626
3640
|
return true;
|
|
3627
3641
|
}
|
|
3628
3642
|
|
|
3629
|
-
const VERSION$
|
|
3630
|
-
function validate$
|
|
3643
|
+
const VERSION$r = "2cdadcd630abb7b981b2d131880a68c0";
|
|
3644
|
+
function validate$x(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
3631
3645
|
const v_error = (() => {
|
|
3632
3646
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3633
3647
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3654,10 +3668,10 @@ function validate$w(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
3654
3668
|
})();
|
|
3655
3669
|
return v_error === undefined ? null : v_error;
|
|
3656
3670
|
}
|
|
3657
|
-
const select$
|
|
3671
|
+
const select$F = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
3658
3672
|
return {
|
|
3659
3673
|
kind: 'Fragment',
|
|
3660
|
-
version: VERSION$
|
|
3674
|
+
version: VERSION$r,
|
|
3661
3675
|
private: [],
|
|
3662
3676
|
selections: [
|
|
3663
3677
|
{
|
|
@@ -3673,7 +3687,7 @@ const select$E = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
|
3673
3687
|
]
|
|
3674
3688
|
};
|
|
3675
3689
|
};
|
|
3676
|
-
function equals$
|
|
3690
|
+
function equals$r(existing, incoming) {
|
|
3677
3691
|
const existing_name = existing.name;
|
|
3678
3692
|
const incoming_name = incoming.name;
|
|
3679
3693
|
if (!(existing_name === incoming_name)) {
|
|
@@ -3700,8 +3714,8 @@ function equals$q(existing, incoming) {
|
|
|
3700
3714
|
return true;
|
|
3701
3715
|
}
|
|
3702
3716
|
|
|
3703
|
-
const VERSION$
|
|
3704
|
-
function validate$
|
|
3717
|
+
const VERSION$q = "55c60b6207985632192cb4e419822a86";
|
|
3718
|
+
function validate$w(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
3705
3719
|
const v_error = (() => {
|
|
3706
3720
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3707
3721
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3715,7 +3729,7 @@ function validate$v(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
3715
3729
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
3716
3730
|
const obj_groups_item = obj_groups[i];
|
|
3717
3731
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
3718
|
-
const referencepath_groups_itemValidationError = validate$
|
|
3732
|
+
const referencepath_groups_itemValidationError = validate$x(obj_groups_item, path_groups_item);
|
|
3719
3733
|
if (referencepath_groups_itemValidationError !== null) {
|
|
3720
3734
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
3721
3735
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3733,11 +3747,11 @@ function validate$v(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
3733
3747
|
})();
|
|
3734
3748
|
return v_error === undefined ? null : v_error;
|
|
3735
3749
|
}
|
|
3736
|
-
const select$
|
|
3737
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
3750
|
+
const select$E = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
3751
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$F();
|
|
3738
3752
|
return {
|
|
3739
3753
|
kind: 'Fragment',
|
|
3740
|
-
version: VERSION$
|
|
3754
|
+
version: VERSION$q,
|
|
3741
3755
|
private: [],
|
|
3742
3756
|
selections: [
|
|
3743
3757
|
{
|
|
@@ -3755,7 +3769,7 @@ const select$D = function GroupDimensionConfigurationOutputRepresentationSelect(
|
|
|
3755
3769
|
]
|
|
3756
3770
|
};
|
|
3757
3771
|
};
|
|
3758
|
-
function equals$
|
|
3772
|
+
function equals$q(existing, incoming) {
|
|
3759
3773
|
const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
|
|
3760
3774
|
const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
|
|
3761
3775
|
// if at least one of these optionals is defined
|
|
@@ -3779,7 +3793,7 @@ function equals$p(existing, incoming) {
|
|
|
3779
3793
|
return false;
|
|
3780
3794
|
}
|
|
3781
3795
|
const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
|
|
3782
|
-
if (!(equals$
|
|
3796
|
+
if (!(equals$r(existing_groups_item, incoming_groups_item))) {
|
|
3783
3797
|
return false;
|
|
3784
3798
|
}
|
|
3785
3799
|
});
|
|
@@ -3790,8 +3804,8 @@ function equals$p(existing, incoming) {
|
|
|
3790
3804
|
return true;
|
|
3791
3805
|
}
|
|
3792
3806
|
|
|
3793
|
-
const VERSION$
|
|
3794
|
-
function validate$
|
|
3807
|
+
const VERSION$p = "50dc390b159159afb1945b9a811c9f80";
|
|
3808
|
+
function validate$v(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
3795
3809
|
const v_error = (() => {
|
|
3796
3810
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3797
3811
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3799,7 +3813,7 @@ function validate$u(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
3799
3813
|
if (obj.binDimension !== undefined) {
|
|
3800
3814
|
const obj_binDimension = obj.binDimension;
|
|
3801
3815
|
const path_binDimension = path + '.binDimension';
|
|
3802
|
-
const referencepath_binDimensionValidationError = validate$
|
|
3816
|
+
const referencepath_binDimensionValidationError = validate$y(obj_binDimension, path_binDimension);
|
|
3803
3817
|
if (referencepath_binDimensionValidationError !== null) {
|
|
3804
3818
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
3805
3819
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3809,7 +3823,7 @@ function validate$u(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
3809
3823
|
if (obj.groupDimension !== undefined) {
|
|
3810
3824
|
const obj_groupDimension = obj.groupDimension;
|
|
3811
3825
|
const path_groupDimension = path + '.groupDimension';
|
|
3812
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
3826
|
+
const referencepath_groupDimensionValidationError = validate$w(obj_groupDimension, path_groupDimension);
|
|
3813
3827
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
3814
3828
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
3815
3829
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3819,12 +3833,12 @@ function validate$u(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
3819
3833
|
})();
|
|
3820
3834
|
return v_error === undefined ? null : v_error;
|
|
3821
3835
|
}
|
|
3822
|
-
const select$
|
|
3823
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
3824
|
-
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
3836
|
+
const select$D = function SemanticGroupingConfigurationOutputRepresentationSelect() {
|
|
3837
|
+
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$G();
|
|
3838
|
+
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$E();
|
|
3825
3839
|
return {
|
|
3826
3840
|
kind: 'Fragment',
|
|
3827
|
-
version: VERSION$
|
|
3841
|
+
version: VERSION$p,
|
|
3828
3842
|
private: [],
|
|
3829
3843
|
selections: [
|
|
3830
3844
|
{
|
|
@@ -3842,7 +3856,7 @@ const select$C = function SemanticGroupingConfigurationOutputRepresentationSelec
|
|
|
3842
3856
|
]
|
|
3843
3857
|
};
|
|
3844
3858
|
};
|
|
3845
|
-
function equals$
|
|
3859
|
+
function equals$p(existing, incoming) {
|
|
3846
3860
|
const existing_binDimension = existing.binDimension;
|
|
3847
3861
|
const incoming_binDimension = incoming.binDimension;
|
|
3848
3862
|
// if at least one of these optionals is defined
|
|
@@ -3852,7 +3866,7 @@ function equals$o(existing, incoming) {
|
|
|
3852
3866
|
if (existing_binDimension === undefined || incoming_binDimension === undefined) {
|
|
3853
3867
|
return false;
|
|
3854
3868
|
}
|
|
3855
|
-
if (!(equals$
|
|
3869
|
+
if (!(equals$s(existing_binDimension, incoming_binDimension))) {
|
|
3856
3870
|
return false;
|
|
3857
3871
|
}
|
|
3858
3872
|
}
|
|
@@ -3865,15 +3879,15 @@ function equals$o(existing, incoming) {
|
|
|
3865
3879
|
if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
|
|
3866
3880
|
return false;
|
|
3867
3881
|
}
|
|
3868
|
-
if (!(equals$
|
|
3882
|
+
if (!(equals$q(existing_groupDimension, incoming_groupDimension))) {
|
|
3869
3883
|
return false;
|
|
3870
3884
|
}
|
|
3871
3885
|
}
|
|
3872
3886
|
return true;
|
|
3873
3887
|
}
|
|
3874
3888
|
|
|
3875
|
-
const VERSION$
|
|
3876
|
-
function validate$
|
|
3889
|
+
const VERSION$o = "a2976cd68e629a917463a3b690cf2527";
|
|
3890
|
+
function validate$u(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
3877
3891
|
const v_error = (() => {
|
|
3878
3892
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3879
3893
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3895,10 +3909,10 @@ function validate$t(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
|
|
|
3895
3909
|
})();
|
|
3896
3910
|
return v_error === undefined ? null : v_error;
|
|
3897
3911
|
}
|
|
3898
|
-
const select$
|
|
3912
|
+
const select$C = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
3899
3913
|
return {
|
|
3900
3914
|
kind: 'Fragment',
|
|
3901
|
-
version: VERSION$
|
|
3915
|
+
version: VERSION$o,
|
|
3902
3916
|
private: [],
|
|
3903
3917
|
selections: [
|
|
3904
3918
|
{
|
|
@@ -3914,7 +3928,7 @@ const select$B = function SemanticTableFieldReferenceOutputRepresentationSelect(
|
|
|
3914
3928
|
]
|
|
3915
3929
|
};
|
|
3916
3930
|
};
|
|
3917
|
-
function equals$
|
|
3931
|
+
function equals$o(existing, incoming) {
|
|
3918
3932
|
const existing_fieldApiName = existing.fieldApiName;
|
|
3919
3933
|
const incoming_fieldApiName = incoming.fieldApiName;
|
|
3920
3934
|
// if at least one of these optionals is defined
|
|
@@ -3944,8 +3958,8 @@ function equals$n(existing, incoming) {
|
|
|
3944
3958
|
return true;
|
|
3945
3959
|
}
|
|
3946
3960
|
|
|
3947
|
-
const VERSION$
|
|
3948
|
-
function validate$
|
|
3961
|
+
const VERSION$n = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
3962
|
+
function validate$t(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
3949
3963
|
const v_error = (() => {
|
|
3950
3964
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3951
3965
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3960,7 +3974,7 @@ function validate$s(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
3960
3974
|
if (obj.tableFieldReference !== undefined) {
|
|
3961
3975
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
3962
3976
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
3963
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
3977
|
+
const referencepath_tableFieldReferenceValidationError = validate$u(obj_tableFieldReference, path_tableFieldReference);
|
|
3964
3978
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
3965
3979
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
3966
3980
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3970,11 +3984,11 @@ function validate$s(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
3970
3984
|
})();
|
|
3971
3985
|
return v_error === undefined ? null : v_error;
|
|
3972
3986
|
}
|
|
3973
|
-
const select$
|
|
3974
|
-
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$
|
|
3987
|
+
const select$B = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
3988
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
3975
3989
|
return {
|
|
3976
3990
|
kind: 'Fragment',
|
|
3977
|
-
version: VERSION$
|
|
3991
|
+
version: VERSION$n,
|
|
3978
3992
|
private: [],
|
|
3979
3993
|
selections: [
|
|
3980
3994
|
{
|
|
@@ -3991,7 +4005,7 @@ const select$A = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
|
3991
4005
|
]
|
|
3992
4006
|
};
|
|
3993
4007
|
};
|
|
3994
|
-
function equals$
|
|
4008
|
+
function equals$n(existing, incoming) {
|
|
3995
4009
|
const existing_calculatedFieldApiName = existing.calculatedFieldApiName;
|
|
3996
4010
|
const incoming_calculatedFieldApiName = incoming.calculatedFieldApiName;
|
|
3997
4011
|
// if at least one of these optionals is defined
|
|
@@ -4014,15 +4028,15 @@ function equals$m(existing, incoming) {
|
|
|
4014
4028
|
if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
|
|
4015
4029
|
return false;
|
|
4016
4030
|
}
|
|
4017
|
-
if (!(equals$
|
|
4031
|
+
if (!(equals$o(existing_tableFieldReference, incoming_tableFieldReference))) {
|
|
4018
4032
|
return false;
|
|
4019
4033
|
}
|
|
4020
4034
|
}
|
|
4021
4035
|
return true;
|
|
4022
4036
|
}
|
|
4023
4037
|
|
|
4024
|
-
const VERSION$
|
|
4025
|
-
function validate$
|
|
4038
|
+
const VERSION$m = "1daec40706bf767c719fa58831fad462";
|
|
4039
|
+
function validate$s(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
4026
4040
|
const v_error = (() => {
|
|
4027
4041
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4028
4042
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4048,7 +4062,7 @@ function validate$r(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
4048
4062
|
}
|
|
4049
4063
|
const obj_configuration = obj.configuration;
|
|
4050
4064
|
const path_configuration = path + '.configuration';
|
|
4051
|
-
const referencepath_configurationValidationError = validate$
|
|
4065
|
+
const referencepath_configurationValidationError = validate$v(obj_configuration, path_configuration);
|
|
4052
4066
|
if (referencepath_configurationValidationError !== null) {
|
|
4053
4067
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
4054
4068
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4073,7 +4087,7 @@ function validate$r(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
4073
4087
|
}
|
|
4074
4088
|
const obj_fieldReference = obj.fieldReference;
|
|
4075
4089
|
const path_fieldReference = path + '.fieldReference';
|
|
4076
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
4090
|
+
const referencepath_fieldReferenceValidationError = validate$t(obj_fieldReference, path_fieldReference);
|
|
4077
4091
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
4078
4092
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
4079
4093
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4126,12 +4140,12 @@ function keyBuilderFromType$8(luvio, object) {
|
|
|
4126
4140
|
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
4127
4141
|
return input;
|
|
4128
4142
|
}
|
|
4129
|
-
const select$
|
|
4130
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
4131
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
4143
|
+
const select$A = function SemanticGroupingOutputRepresentationSelect() {
|
|
4144
|
+
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$D();
|
|
4145
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
4132
4146
|
return {
|
|
4133
4147
|
kind: 'Fragment',
|
|
4134
|
-
version: VERSION$
|
|
4148
|
+
version: VERSION$m,
|
|
4135
4149
|
private: [],
|
|
4136
4150
|
selections: [
|
|
4137
4151
|
{
|
|
@@ -4197,7 +4211,7 @@ const select$z = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
4197
4211
|
]
|
|
4198
4212
|
};
|
|
4199
4213
|
};
|
|
4200
|
-
function equals$
|
|
4214
|
+
function equals$m(existing, incoming) {
|
|
4201
4215
|
const existing_apiName = existing.apiName;
|
|
4202
4216
|
const incoming_apiName = incoming.apiName;
|
|
4203
4217
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -4303,26 +4317,26 @@ function equals$l(existing, incoming) {
|
|
|
4303
4317
|
}
|
|
4304
4318
|
const existing_configuration = existing.configuration;
|
|
4305
4319
|
const incoming_configuration = incoming.configuration;
|
|
4306
|
-
if (!(equals$
|
|
4320
|
+
if (!(equals$p(existing_configuration, incoming_configuration))) {
|
|
4307
4321
|
return false;
|
|
4308
4322
|
}
|
|
4309
4323
|
const existing_fieldReference = existing.fieldReference;
|
|
4310
4324
|
const incoming_fieldReference = incoming.fieldReference;
|
|
4311
|
-
if (!(equals$
|
|
4325
|
+
if (!(equals$n(existing_fieldReference, incoming_fieldReference))) {
|
|
4312
4326
|
return false;
|
|
4313
4327
|
}
|
|
4314
4328
|
return true;
|
|
4315
4329
|
}
|
|
4316
4330
|
const ingest$e = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4317
4331
|
if (process.env.NODE_ENV !== 'production') {
|
|
4318
|
-
const validateError = validate$
|
|
4332
|
+
const validateError = validate$s(input);
|
|
4319
4333
|
if (validateError !== null) {
|
|
4320
4334
|
throw validateError;
|
|
4321
4335
|
}
|
|
4322
4336
|
}
|
|
4323
4337
|
const key = keyBuilderFromType$8(luvio, input);
|
|
4324
4338
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4325
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$
|
|
4339
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$m, RepresentationType$e, equals$m);
|
|
4326
4340
|
return createLink(key);
|
|
4327
4341
|
};
|
|
4328
4342
|
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4335,8 +4349,8 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4335
4349
|
});
|
|
4336
4350
|
}
|
|
4337
4351
|
|
|
4338
|
-
const VERSION$
|
|
4339
|
-
function validate$
|
|
4352
|
+
const VERSION$l = "c5144c317ac72b60d580cab803514b8d";
|
|
4353
|
+
function validate$r(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
4340
4354
|
const v_error = (() => {
|
|
4341
4355
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4342
4356
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4379,10 +4393,10 @@ function validate$q(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
4379
4393
|
})();
|
|
4380
4394
|
return v_error === undefined ? null : v_error;
|
|
4381
4395
|
}
|
|
4382
|
-
const select$
|
|
4396
|
+
const select$z = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
4383
4397
|
return {
|
|
4384
4398
|
kind: 'Fragment',
|
|
4385
|
-
version: VERSION$
|
|
4399
|
+
version: VERSION$l,
|
|
4386
4400
|
private: [],
|
|
4387
4401
|
selections: [
|
|
4388
4402
|
{
|
|
@@ -4413,7 +4427,7 @@ const select$y = function SemanticRelationshipCriteriaOutputRepresentationSelect
|
|
|
4413
4427
|
]
|
|
4414
4428
|
};
|
|
4415
4429
|
};
|
|
4416
|
-
function equals$
|
|
4430
|
+
function equals$l(existing, incoming) {
|
|
4417
4431
|
const existing_joinOperator = existing.joinOperator;
|
|
4418
4432
|
const incoming_joinOperator = incoming.joinOperator;
|
|
4419
4433
|
// if at least one of these optionals is defined
|
|
@@ -4482,8 +4496,8 @@ function equals$k(existing, incoming) {
|
|
|
4482
4496
|
return true;
|
|
4483
4497
|
}
|
|
4484
4498
|
|
|
4485
|
-
const VERSION$
|
|
4486
|
-
function validate$
|
|
4499
|
+
const VERSION$k = "b9778dace5726fcb57804d3afd529246";
|
|
4500
|
+
function validate$q(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
4487
4501
|
const v_error = (() => {
|
|
4488
4502
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4489
4503
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4533,7 +4547,7 @@ function validate$p(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
4533
4547
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
4534
4548
|
const obj_criteria_item = obj_criteria[i];
|
|
4535
4549
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
4536
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
4550
|
+
const referencepath_criteria_itemValidationError = validate$r(obj_criteria_item, path_criteria_item);
|
|
4537
4551
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
4538
4552
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
4539
4553
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4625,11 +4639,11 @@ function keyBuilderFromType$7(luvio, object) {
|
|
|
4625
4639
|
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
4626
4640
|
return input;
|
|
4627
4641
|
}
|
|
4628
|
-
const select$
|
|
4629
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
4642
|
+
const select$y = function SemanticRelationshipOutputRepresentationSelect() {
|
|
4643
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$z();
|
|
4630
4644
|
return {
|
|
4631
4645
|
kind: 'Fragment',
|
|
4632
|
-
version: VERSION$
|
|
4646
|
+
version: VERSION$k,
|
|
4633
4647
|
private: [],
|
|
4634
4648
|
selections: [
|
|
4635
4649
|
{
|
|
@@ -4718,7 +4732,7 @@ const select$x = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
4718
4732
|
]
|
|
4719
4733
|
};
|
|
4720
4734
|
};
|
|
4721
|
-
function equals$
|
|
4735
|
+
function equals$k(existing, incoming) {
|
|
4722
4736
|
const existing_isEnabled = existing.isEnabled;
|
|
4723
4737
|
const incoming_isEnabled = incoming.isEnabled;
|
|
4724
4738
|
// if at least one of these optionals is defined
|
|
@@ -4905,7 +4919,7 @@ function equals$j(existing, incoming) {
|
|
|
4905
4919
|
return false;
|
|
4906
4920
|
}
|
|
4907
4921
|
const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
|
|
4908
|
-
if (!(equals$
|
|
4922
|
+
if (!(equals$l(existing_criteria_item, incoming_criteria_item))) {
|
|
4909
4923
|
return false;
|
|
4910
4924
|
}
|
|
4911
4925
|
});
|
|
@@ -4917,14 +4931,14 @@ function equals$j(existing, incoming) {
|
|
|
4917
4931
|
}
|
|
4918
4932
|
const ingest$d = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4919
4933
|
if (process.env.NODE_ENV !== 'production') {
|
|
4920
|
-
const validateError = validate$
|
|
4934
|
+
const validateError = validate$q(input);
|
|
4921
4935
|
if (validateError !== null) {
|
|
4922
4936
|
throw validateError;
|
|
4923
4937
|
}
|
|
4924
4938
|
}
|
|
4925
4939
|
const key = keyBuilderFromType$7(luvio, input);
|
|
4926
4940
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4927
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$
|
|
4941
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$k, RepresentationType$d, equals$k);
|
|
4928
4942
|
return createLink(key);
|
|
4929
4943
|
};
|
|
4930
4944
|
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4937,8 +4951,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4937
4951
|
});
|
|
4938
4952
|
}
|
|
4939
4953
|
|
|
4940
|
-
const VERSION$
|
|
4941
|
-
function validate$
|
|
4954
|
+
const VERSION$j = "eaf9b57a92e764fb2b5c27b6e031cfe1";
|
|
4955
|
+
function validate$p(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
4942
4956
|
const v_error = (() => {
|
|
4943
4957
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4944
4958
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4988,7 +5002,7 @@ function validate$o(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
4988
5002
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
4989
5003
|
const obj_fields_item = obj_fields[i];
|
|
4990
5004
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
4991
|
-
const referencepath_fields_itemValidationError = validate$
|
|
5005
|
+
const referencepath_fields_itemValidationError = validate$u(obj_fields_item, path_fields_item);
|
|
4992
5006
|
if (referencepath_fields_itemValidationError !== null) {
|
|
4993
5007
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
4994
5008
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5032,7 +5046,7 @@ function validate$o(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
5032
5046
|
if (obj.semanticDimension !== undefined) {
|
|
5033
5047
|
const obj_semanticDimension = obj.semanticDimension;
|
|
5034
5048
|
const path_semanticDimension = path + '.semanticDimension';
|
|
5035
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
5049
|
+
const referencepath_semanticDimensionValidationError = validate$B(obj_semanticDimension, path_semanticDimension);
|
|
5036
5050
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
5037
5051
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
5038
5052
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5042,7 +5056,7 @@ function validate$o(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
5042
5056
|
if (obj.semanticMeasurement !== undefined) {
|
|
5043
5057
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
5044
5058
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
5045
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
5059
|
+
const referencepath_semanticMeasurementValidationError = validate$A(obj_semanticMeasurement, path_semanticMeasurement);
|
|
5046
5060
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
5047
5061
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
5048
5062
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5065,15 +5079,15 @@ function keyBuilderFromType$6(luvio, object) {
|
|
|
5065
5079
|
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
5066
5080
|
return input;
|
|
5067
5081
|
}
|
|
5068
|
-
const select$
|
|
5082
|
+
const select$x = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
5069
5083
|
return {
|
|
5070
5084
|
kind: 'Fragment',
|
|
5071
|
-
version: VERSION$
|
|
5085
|
+
version: VERSION$j,
|
|
5072
5086
|
private: [],
|
|
5073
5087
|
opaque: true
|
|
5074
5088
|
};
|
|
5075
5089
|
};
|
|
5076
|
-
function equals$
|
|
5090
|
+
function equals$j(existing, incoming) {
|
|
5077
5091
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
5078
5092
|
return false;
|
|
5079
5093
|
}
|
|
@@ -5081,14 +5095,14 @@ function equals$i(existing, incoming) {
|
|
|
5081
5095
|
}
|
|
5082
5096
|
const ingest$c = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5083
5097
|
if (process.env.NODE_ENV !== 'production') {
|
|
5084
|
-
const validateError = validate$
|
|
5098
|
+
const validateError = validate$p(input);
|
|
5085
5099
|
if (validateError !== null) {
|
|
5086
5100
|
throw validateError;
|
|
5087
5101
|
}
|
|
5088
5102
|
}
|
|
5089
5103
|
const key = keyBuilderFromType$6(luvio, input);
|
|
5090
5104
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5091
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$
|
|
5105
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$j, RepresentationType$c, equals$j);
|
|
5092
5106
|
return createLink(key);
|
|
5093
5107
|
};
|
|
5094
5108
|
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5101,8 +5115,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5101
5115
|
});
|
|
5102
5116
|
}
|
|
5103
5117
|
|
|
5104
|
-
const VERSION$
|
|
5105
|
-
function validate$
|
|
5118
|
+
const VERSION$i = "69fe23112140e9fae50135dcb15c24c2";
|
|
5119
|
+
function validate$o(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
5106
5120
|
const v_error = (() => {
|
|
5107
5121
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5108
5122
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5277,10 +5291,10 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
|
5277
5291
|
}
|
|
5278
5292
|
return input;
|
|
5279
5293
|
}
|
|
5280
|
-
const select$
|
|
5294
|
+
const select$w = function SemanticUnionOutputRepresentationSelect() {
|
|
5281
5295
|
return {
|
|
5282
5296
|
kind: 'Fragment',
|
|
5283
|
-
version: VERSION$
|
|
5297
|
+
version: VERSION$i,
|
|
5284
5298
|
private: [],
|
|
5285
5299
|
selections: [
|
|
5286
5300
|
{
|
|
@@ -5339,19 +5353,19 @@ const select$v = function SemanticUnionOutputRepresentationSelect() {
|
|
|
5339
5353
|
kind: 'Link',
|
|
5340
5354
|
plural: true,
|
|
5341
5355
|
required: false,
|
|
5342
|
-
fragment: select$
|
|
5356
|
+
fragment: select$H()
|
|
5343
5357
|
},
|
|
5344
5358
|
{
|
|
5345
5359
|
name: 'semanticMappedFields',
|
|
5346
5360
|
kind: 'Link',
|
|
5347
5361
|
plural: true,
|
|
5348
5362
|
required: false,
|
|
5349
|
-
fragment: select$
|
|
5363
|
+
fragment: select$x()
|
|
5350
5364
|
}
|
|
5351
5365
|
]
|
|
5352
5366
|
};
|
|
5353
5367
|
};
|
|
5354
|
-
function equals$
|
|
5368
|
+
function equals$i(existing, incoming) {
|
|
5355
5369
|
const existing_apiName = existing.apiName;
|
|
5356
5370
|
const incoming_apiName = incoming.apiName;
|
|
5357
5371
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -5503,14 +5517,14 @@ function equals$h(existing, incoming) {
|
|
|
5503
5517
|
}
|
|
5504
5518
|
const ingest$b = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5505
5519
|
if (process.env.NODE_ENV !== 'production') {
|
|
5506
|
-
const validateError = validate$
|
|
5520
|
+
const validateError = validate$o(input);
|
|
5507
5521
|
if (validateError !== null) {
|
|
5508
5522
|
throw validateError;
|
|
5509
5523
|
}
|
|
5510
5524
|
}
|
|
5511
5525
|
const key = keyBuilderFromType$5(luvio, input);
|
|
5512
5526
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5513
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$
|
|
5527
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$i, RepresentationType$b, equals$i);
|
|
5514
5528
|
return createLink(key);
|
|
5515
5529
|
};
|
|
5516
5530
|
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5535,8 +5549,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5535
5549
|
}
|
|
5536
5550
|
}
|
|
5537
5551
|
|
|
5538
|
-
const VERSION$
|
|
5539
|
-
function validate$
|
|
5552
|
+
const VERSION$h = "f186bf0514421e7f42e284136d60ea6c";
|
|
5553
|
+
function validate$n(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
5540
5554
|
const v_error = (() => {
|
|
5541
5555
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5542
5556
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5600,7 +5614,7 @@ function validate$m(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
5600
5614
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5601
5615
|
const obj_filters_item = obj_filters[i];
|
|
5602
5616
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5603
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5617
|
+
const referencepath_filters_itemValidationError = validate$E(obj_filters_item, path_filters_item);
|
|
5604
5618
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5605
5619
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5606
5620
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5753,11 +5767,11 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
5753
5767
|
}
|
|
5754
5768
|
return input;
|
|
5755
5769
|
}
|
|
5756
|
-
const select$
|
|
5757
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
5770
|
+
const select$v = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
5771
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
5758
5772
|
return {
|
|
5759
5773
|
kind: 'Fragment',
|
|
5760
|
-
version: VERSION$
|
|
5774
|
+
version: VERSION$h,
|
|
5761
5775
|
private: [],
|
|
5762
5776
|
selections: [
|
|
5763
5777
|
{
|
|
@@ -5828,21 +5842,21 @@ const select$u = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
5828
5842
|
kind: 'Link',
|
|
5829
5843
|
plural: true,
|
|
5830
5844
|
required: false,
|
|
5831
|
-
fragment: select$
|
|
5845
|
+
fragment: select$H()
|
|
5832
5846
|
},
|
|
5833
5847
|
{
|
|
5834
5848
|
name: 'semanticRelationships',
|
|
5835
5849
|
kind: 'Link',
|
|
5836
5850
|
plural: true,
|
|
5837
5851
|
required: false,
|
|
5838
|
-
fragment: select$
|
|
5852
|
+
fragment: select$y()
|
|
5839
5853
|
},
|
|
5840
5854
|
{
|
|
5841
5855
|
name: 'semanticUnions',
|
|
5842
5856
|
kind: 'Link',
|
|
5843
5857
|
plural: true,
|
|
5844
5858
|
required: false,
|
|
5845
|
-
fragment: select$
|
|
5859
|
+
fragment: select$w()
|
|
5846
5860
|
},
|
|
5847
5861
|
{
|
|
5848
5862
|
name: 'semanticViewTypeEnum',
|
|
@@ -5852,7 +5866,7 @@ const select$u = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
5852
5866
|
]
|
|
5853
5867
|
};
|
|
5854
5868
|
};
|
|
5855
|
-
function equals$
|
|
5869
|
+
function equals$h(existing, incoming) {
|
|
5856
5870
|
const existing_apiName = existing.apiName;
|
|
5857
5871
|
const incoming_apiName = incoming.apiName;
|
|
5858
5872
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -6000,7 +6014,7 @@ function equals$g(existing, incoming) {
|
|
|
6000
6014
|
return false;
|
|
6001
6015
|
}
|
|
6002
6016
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
6003
|
-
if (!(equals$
|
|
6017
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
6004
6018
|
return false;
|
|
6005
6019
|
}
|
|
6006
6020
|
});
|
|
@@ -6066,14 +6080,14 @@ function equals$g(existing, incoming) {
|
|
|
6066
6080
|
}
|
|
6067
6081
|
const ingest$a = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6068
6082
|
if (process.env.NODE_ENV !== 'production') {
|
|
6069
|
-
const validateError = validate$
|
|
6083
|
+
const validateError = validate$n(input);
|
|
6070
6084
|
if (validateError !== null) {
|
|
6071
6085
|
throw validateError;
|
|
6072
6086
|
}
|
|
6073
6087
|
}
|
|
6074
6088
|
const key = keyBuilderFromType$4(luvio, input);
|
|
6075
6089
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6076
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$
|
|
6090
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$h, RepresentationType$a, equals$h);
|
|
6077
6091
|
return createLink(key);
|
|
6078
6092
|
};
|
|
6079
6093
|
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6104,8 +6118,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6104
6118
|
}
|
|
6105
6119
|
}
|
|
6106
6120
|
|
|
6107
|
-
const VERSION$
|
|
6108
|
-
function validate$
|
|
6121
|
+
const VERSION$g = "a50848c632bb205d5e910bb726d9219e";
|
|
6122
|
+
function validate$m(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
6109
6123
|
const v_error = (() => {
|
|
6110
6124
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6111
6125
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6113,7 +6127,7 @@ function validate$l(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
6113
6127
|
if (obj.identifierDimensionReference !== undefined) {
|
|
6114
6128
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
6115
6129
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
6116
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
6130
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$t(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
6117
6131
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
6118
6132
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
6119
6133
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6123,7 +6137,7 @@ function validate$l(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
6123
6137
|
if (obj.namingDimensionReference !== undefined) {
|
|
6124
6138
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
6125
6139
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
6126
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
6140
|
+
const referencepath_namingDimensionReferenceValidationError = validate$t(obj_namingDimensionReference, path_namingDimensionReference);
|
|
6127
6141
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
6128
6142
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
6129
6143
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6133,11 +6147,11 @@ function validate$l(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
6133
6147
|
})();
|
|
6134
6148
|
return v_error === undefined ? null : v_error;
|
|
6135
6149
|
}
|
|
6136
|
-
const select$
|
|
6137
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
6150
|
+
const select$u = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
6151
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
6138
6152
|
return {
|
|
6139
6153
|
kind: 'Fragment',
|
|
6140
|
-
version: VERSION$
|
|
6154
|
+
version: VERSION$g,
|
|
6141
6155
|
private: [],
|
|
6142
6156
|
selections: [
|
|
6143
6157
|
{
|
|
@@ -6155,7 +6169,7 @@ const select$t = function SemanticIdentifyingDimensionOutputRepresentationSelect
|
|
|
6155
6169
|
]
|
|
6156
6170
|
};
|
|
6157
6171
|
};
|
|
6158
|
-
function equals$
|
|
6172
|
+
function equals$g(existing, incoming) {
|
|
6159
6173
|
const existing_identifierDimensionReference = existing.identifierDimensionReference;
|
|
6160
6174
|
const incoming_identifierDimensionReference = incoming.identifierDimensionReference;
|
|
6161
6175
|
// if at least one of these optionals is defined
|
|
@@ -6165,7 +6179,7 @@ function equals$f(existing, incoming) {
|
|
|
6165
6179
|
if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
|
|
6166
6180
|
return false;
|
|
6167
6181
|
}
|
|
6168
|
-
if (!(equals$
|
|
6182
|
+
if (!(equals$n(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
|
|
6169
6183
|
return false;
|
|
6170
6184
|
}
|
|
6171
6185
|
}
|
|
@@ -6178,15 +6192,15 @@ function equals$f(existing, incoming) {
|
|
|
6178
6192
|
if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
|
|
6179
6193
|
return false;
|
|
6180
6194
|
}
|
|
6181
|
-
if (!(equals$
|
|
6195
|
+
if (!(equals$n(existing_namingDimensionReference, incoming_namingDimensionReference))) {
|
|
6182
6196
|
return false;
|
|
6183
6197
|
}
|
|
6184
6198
|
}
|
|
6185
6199
|
return true;
|
|
6186
6200
|
}
|
|
6187
6201
|
|
|
6188
|
-
const VERSION$
|
|
6189
|
-
function validate$
|
|
6202
|
+
const VERSION$f = "1b8cf2283d5d5c480459506274f0604c";
|
|
6203
|
+
function validate$l(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
6190
6204
|
const v_error = (() => {
|
|
6191
6205
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6192
6206
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6208,10 +6222,10 @@ function validate$k(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
|
6208
6222
|
})();
|
|
6209
6223
|
return v_error === undefined ? null : v_error;
|
|
6210
6224
|
}
|
|
6211
|
-
const select$
|
|
6225
|
+
const select$t = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
6212
6226
|
return {
|
|
6213
6227
|
kind: 'Fragment',
|
|
6214
|
-
version: VERSION$
|
|
6228
|
+
version: VERSION$f,
|
|
6215
6229
|
private: [],
|
|
6216
6230
|
selections: [
|
|
6217
6231
|
{
|
|
@@ -6227,7 +6241,7 @@ const select$s = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
|
6227
6241
|
]
|
|
6228
6242
|
};
|
|
6229
6243
|
};
|
|
6230
|
-
function equals$
|
|
6244
|
+
function equals$f(existing, incoming) {
|
|
6231
6245
|
const existing_enabled = existing.enabled;
|
|
6232
6246
|
const incoming_enabled = incoming.enabled;
|
|
6233
6247
|
// if at least one of these optionals is defined
|
|
@@ -6257,8 +6271,8 @@ function equals$e(existing, incoming) {
|
|
|
6257
6271
|
return true;
|
|
6258
6272
|
}
|
|
6259
6273
|
|
|
6260
|
-
const VERSION$
|
|
6261
|
-
function validate$
|
|
6274
|
+
const VERSION$e = "a3f5972287be7bcf9ca205af56046a58";
|
|
6275
|
+
function validate$k(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
6262
6276
|
const v_error = (() => {
|
|
6263
6277
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6264
6278
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6266,7 +6280,7 @@ function validate$j(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6266
6280
|
if (obj.identifyingDimension !== undefined) {
|
|
6267
6281
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
6268
6282
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
6269
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
6283
|
+
const referencepath_identifyingDimensionValidationError = validate$m(obj_identifyingDimension, path_identifyingDimension);
|
|
6270
6284
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
6271
6285
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
6272
6286
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6282,7 +6296,7 @@ function validate$j(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6282
6296
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
6283
6297
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
6284
6298
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
6285
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
6299
|
+
const referencepath_insightTypes_itemValidationError = validate$l(obj_insightTypes_item, path_insightTypes_item);
|
|
6286
6300
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
6287
6301
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
6288
6302
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6299,7 +6313,7 @@ function validate$j(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6299
6313
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
6300
6314
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
6301
6315
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
6302
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
6316
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$t(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
6303
6317
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
6304
6318
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
6305
6319
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6331,13 +6345,13 @@ function validate$j(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6331
6345
|
})();
|
|
6332
6346
|
return v_error === undefined ? null : v_error;
|
|
6333
6347
|
}
|
|
6334
|
-
const select$
|
|
6335
|
-
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$
|
|
6336
|
-
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$
|
|
6337
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
6348
|
+
const select$s = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
6349
|
+
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$u();
|
|
6350
|
+
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$t();
|
|
6351
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
6338
6352
|
return {
|
|
6339
6353
|
kind: 'Fragment',
|
|
6340
|
-
version: VERSION$
|
|
6354
|
+
version: VERSION$e,
|
|
6341
6355
|
private: [],
|
|
6342
6356
|
selections: [
|
|
6343
6357
|
{
|
|
@@ -6378,7 +6392,7 @@ const select$r = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
|
6378
6392
|
]
|
|
6379
6393
|
};
|
|
6380
6394
|
};
|
|
6381
|
-
function equals$
|
|
6395
|
+
function equals$e(existing, incoming) {
|
|
6382
6396
|
const existing_pluralNoun = existing.pluralNoun;
|
|
6383
6397
|
const incoming_pluralNoun = incoming.pluralNoun;
|
|
6384
6398
|
// if at least one of these optionals is defined
|
|
@@ -6427,7 +6441,7 @@ function equals$d(existing, incoming) {
|
|
|
6427
6441
|
if (existing_identifyingDimension === undefined || incoming_identifyingDimension === undefined) {
|
|
6428
6442
|
return false;
|
|
6429
6443
|
}
|
|
6430
|
-
if (!(equals$
|
|
6444
|
+
if (!(equals$g(existing_identifyingDimension, incoming_identifyingDimension))) {
|
|
6431
6445
|
return false;
|
|
6432
6446
|
}
|
|
6433
6447
|
}
|
|
@@ -6441,7 +6455,7 @@ function equals$d(existing, incoming) {
|
|
|
6441
6455
|
return false;
|
|
6442
6456
|
}
|
|
6443
6457
|
const equals_insightTypes_items = equalsArray(existing_insightTypes, incoming_insightTypes, (existing_insightTypes_item, incoming_insightTypes_item) => {
|
|
6444
|
-
if (!(equals$
|
|
6458
|
+
if (!(equals$f(existing_insightTypes_item, incoming_insightTypes_item))) {
|
|
6445
6459
|
return false;
|
|
6446
6460
|
}
|
|
6447
6461
|
});
|
|
@@ -6459,7 +6473,7 @@ function equals$d(existing, incoming) {
|
|
|
6459
6473
|
return false;
|
|
6460
6474
|
}
|
|
6461
6475
|
const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
|
|
6462
|
-
if (!(equals$
|
|
6476
|
+
if (!(equals$n(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
|
|
6463
6477
|
return false;
|
|
6464
6478
|
}
|
|
6465
6479
|
});
|
|
@@ -6470,8 +6484,8 @@ function equals$d(existing, incoming) {
|
|
|
6470
6484
|
return true;
|
|
6471
6485
|
}
|
|
6472
6486
|
|
|
6473
|
-
const VERSION$
|
|
6474
|
-
function validate$
|
|
6487
|
+
const VERSION$d = "0873ccd85b32d14c753931243d20ac8b";
|
|
6488
|
+
function validate$j(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
6475
6489
|
const v_error = (() => {
|
|
6476
6490
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6477
6491
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6485,7 +6499,7 @@ function validate$i(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6485
6499
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
6486
6500
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
6487
6501
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
6488
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
6502
|
+
const referencepath_additionalDimensions_itemValidationError = validate$t(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
6489
6503
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
6490
6504
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
6491
6505
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6552,7 +6566,7 @@ function validate$i(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6552
6566
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
6553
6567
|
const obj_filters_item = obj_filters[i];
|
|
6554
6568
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
6555
|
-
const referencepath_filters_itemValidationError = validate$
|
|
6569
|
+
const referencepath_filters_itemValidationError = validate$E(obj_filters_item, path_filters_item);
|
|
6556
6570
|
if (referencepath_filters_itemValidationError !== null) {
|
|
6557
6571
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
6558
6572
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6568,7 +6582,7 @@ function validate$i(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6568
6582
|
if (obj.insightsSettings !== undefined) {
|
|
6569
6583
|
const obj_insightsSettings = obj.insightsSettings;
|
|
6570
6584
|
const path_insightsSettings = path + '.insightsSettings';
|
|
6571
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
6585
|
+
const referencepath_insightsSettingsValidationError = validate$k(obj_insightsSettings, path_insightsSettings);
|
|
6572
6586
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
6573
6587
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
6574
6588
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6606,7 +6620,7 @@ function validate$i(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6606
6620
|
if (obj.measurementReference !== undefined) {
|
|
6607
6621
|
const obj_measurementReference = obj.measurementReference;
|
|
6608
6622
|
const path_measurementReference = path + '.measurementReference';
|
|
6609
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
6623
|
+
const referencepath_measurementReferenceValidationError = validate$t(obj_measurementReference, path_measurementReference);
|
|
6610
6624
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
6611
6625
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
6612
6626
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6616,7 +6630,7 @@ function validate$i(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6616
6630
|
if (obj.timeDimensionReference !== undefined) {
|
|
6617
6631
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
6618
6632
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
6619
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
6633
|
+
const referencepath_timeDimensionReferenceValidationError = validate$t(obj_timeDimensionReference, path_timeDimensionReference);
|
|
6620
6634
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
6621
6635
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
6622
6636
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6653,13 +6667,13 @@ function keyBuilderFromType$3(luvio, object) {
|
|
|
6653
6667
|
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
6654
6668
|
return input;
|
|
6655
6669
|
}
|
|
6656
|
-
const select$
|
|
6657
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
6658
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
6659
|
-
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$
|
|
6670
|
+
const select$r = function SemanticMetricOutputRepresentationSelect() {
|
|
6671
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
6672
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
6673
|
+
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$s();
|
|
6660
6674
|
return {
|
|
6661
6675
|
kind: 'Fragment',
|
|
6662
|
-
version: VERSION$
|
|
6676
|
+
version: VERSION$d,
|
|
6663
6677
|
private: [],
|
|
6664
6678
|
selections: [
|
|
6665
6679
|
{
|
|
@@ -6764,7 +6778,7 @@ const select$q = function SemanticMetricOutputRepresentationSelect() {
|
|
|
6764
6778
|
]
|
|
6765
6779
|
};
|
|
6766
6780
|
};
|
|
6767
|
-
function equals$
|
|
6781
|
+
function equals$d(existing, incoming) {
|
|
6768
6782
|
const existing_isCumulative = existing.isCumulative;
|
|
6769
6783
|
const incoming_isCumulative = incoming.isCumulative;
|
|
6770
6784
|
// if at least one of these optionals is defined
|
|
@@ -6912,7 +6926,7 @@ function equals$c(existing, incoming) {
|
|
|
6912
6926
|
return false;
|
|
6913
6927
|
}
|
|
6914
6928
|
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
6915
|
-
if (!(equals$
|
|
6929
|
+
if (!(equals$n(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
6916
6930
|
return false;
|
|
6917
6931
|
}
|
|
6918
6932
|
});
|
|
@@ -6930,7 +6944,7 @@ function equals$c(existing, incoming) {
|
|
|
6930
6944
|
return false;
|
|
6931
6945
|
}
|
|
6932
6946
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
6933
|
-
if (!(equals$
|
|
6947
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
6934
6948
|
return false;
|
|
6935
6949
|
}
|
|
6936
6950
|
});
|
|
@@ -6947,7 +6961,7 @@ function equals$c(existing, incoming) {
|
|
|
6947
6961
|
if (existing_insightsSettings === undefined || incoming_insightsSettings === undefined) {
|
|
6948
6962
|
return false;
|
|
6949
6963
|
}
|
|
6950
|
-
if (!(equals$
|
|
6964
|
+
if (!(equals$e(existing_insightsSettings, incoming_insightsSettings))) {
|
|
6951
6965
|
return false;
|
|
6952
6966
|
}
|
|
6953
6967
|
}
|
|
@@ -6960,7 +6974,7 @@ function equals$c(existing, incoming) {
|
|
|
6960
6974
|
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
6961
6975
|
return false;
|
|
6962
6976
|
}
|
|
6963
|
-
if (!(equals$
|
|
6977
|
+
if (!(equals$n(existing_measurementReference, incoming_measurementReference))) {
|
|
6964
6978
|
return false;
|
|
6965
6979
|
}
|
|
6966
6980
|
}
|
|
@@ -6973,7 +6987,7 @@ function equals$c(existing, incoming) {
|
|
|
6973
6987
|
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
6974
6988
|
return false;
|
|
6975
6989
|
}
|
|
6976
|
-
if (!(equals$
|
|
6990
|
+
if (!(equals$n(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
6977
6991
|
return false;
|
|
6978
6992
|
}
|
|
6979
6993
|
}
|
|
@@ -6999,14 +7013,14 @@ function equals$c(existing, incoming) {
|
|
|
6999
7013
|
}
|
|
7000
7014
|
const ingest$9 = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7001
7015
|
if (process.env.NODE_ENV !== 'production') {
|
|
7002
|
-
const validateError = validate$
|
|
7016
|
+
const validateError = validate$j(input);
|
|
7003
7017
|
if (validateError !== null) {
|
|
7004
7018
|
throw validateError;
|
|
7005
7019
|
}
|
|
7006
7020
|
}
|
|
7007
7021
|
const key = keyBuilderFromType$3(luvio, input);
|
|
7008
7022
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7009
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$
|
|
7023
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$d, RepresentationType$9, equals$d);
|
|
7010
7024
|
return createLink(key);
|
|
7011
7025
|
};
|
|
7012
7026
|
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7019,12 +7033,101 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7019
7033
|
});
|
|
7020
7034
|
}
|
|
7021
7035
|
|
|
7022
|
-
const VERSION$
|
|
7036
|
+
const VERSION$c = "158d115be773406f841e4351d481d398";
|
|
7037
|
+
function validate$i(obj, path = 'SemanticParameterListValueOutputRepresentation') {
|
|
7038
|
+
const v_error = (() => {
|
|
7039
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7040
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7041
|
+
}
|
|
7042
|
+
if (obj.displayName !== undefined) {
|
|
7043
|
+
const obj_displayName = obj.displayName;
|
|
7044
|
+
const path_displayName = path + '.displayName';
|
|
7045
|
+
if (typeof obj_displayName !== 'string') {
|
|
7046
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
7047
|
+
}
|
|
7048
|
+
}
|
|
7049
|
+
if (obj.value !== undefined) {
|
|
7050
|
+
const obj_value = obj.value;
|
|
7051
|
+
const path_value = path + '.value';
|
|
7052
|
+
if (typeof obj_value !== 'string') {
|
|
7053
|
+
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
7054
|
+
}
|
|
7055
|
+
}
|
|
7056
|
+
})();
|
|
7057
|
+
return v_error === undefined ? null : v_error;
|
|
7058
|
+
}
|
|
7059
|
+
const select$q = function SemanticParameterListValueOutputRepresentationSelect() {
|
|
7060
|
+
return {
|
|
7061
|
+
kind: 'Fragment',
|
|
7062
|
+
version: VERSION$c,
|
|
7063
|
+
private: [],
|
|
7064
|
+
selections: [
|
|
7065
|
+
{
|
|
7066
|
+
name: 'displayName',
|
|
7067
|
+
kind: 'Scalar',
|
|
7068
|
+
required: false
|
|
7069
|
+
},
|
|
7070
|
+
{
|
|
7071
|
+
name: 'value',
|
|
7072
|
+
kind: 'Scalar',
|
|
7073
|
+
required: false
|
|
7074
|
+
}
|
|
7075
|
+
]
|
|
7076
|
+
};
|
|
7077
|
+
};
|
|
7078
|
+
function equals$c(existing, incoming) {
|
|
7079
|
+
const existing_displayName = existing.displayName;
|
|
7080
|
+
const incoming_displayName = incoming.displayName;
|
|
7081
|
+
// if at least one of these optionals is defined
|
|
7082
|
+
if (existing_displayName !== undefined || incoming_displayName !== undefined) {
|
|
7083
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7084
|
+
// not equal
|
|
7085
|
+
if (existing_displayName === undefined || incoming_displayName === undefined) {
|
|
7086
|
+
return false;
|
|
7087
|
+
}
|
|
7088
|
+
if (!(existing_displayName === incoming_displayName)) {
|
|
7089
|
+
return false;
|
|
7090
|
+
}
|
|
7091
|
+
}
|
|
7092
|
+
const existing_value = existing.value;
|
|
7093
|
+
const incoming_value = incoming.value;
|
|
7094
|
+
// if at least one of these optionals is defined
|
|
7095
|
+
if (existing_value !== undefined || incoming_value !== undefined) {
|
|
7096
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7097
|
+
// not equal
|
|
7098
|
+
if (existing_value === undefined || incoming_value === undefined) {
|
|
7099
|
+
return false;
|
|
7100
|
+
}
|
|
7101
|
+
if (!(existing_value === incoming_value)) {
|
|
7102
|
+
return false;
|
|
7103
|
+
}
|
|
7104
|
+
}
|
|
7105
|
+
return true;
|
|
7106
|
+
}
|
|
7107
|
+
|
|
7108
|
+
const VERSION$b = "6ed89c4ce77235d13ce6bb395ae49d8e";
|
|
7023
7109
|
function validate$h(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
7024
7110
|
const v_error = (() => {
|
|
7025
7111
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7026
7112
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7027
7113
|
}
|
|
7114
|
+
if (obj.allowedValues !== undefined) {
|
|
7115
|
+
const obj_allowedValues = obj.allowedValues;
|
|
7116
|
+
const path_allowedValues = path + '.allowedValues';
|
|
7117
|
+
if (!ArrayIsArray(obj_allowedValues)) {
|
|
7118
|
+
return new TypeError('Expected "array" but received "' + typeof obj_allowedValues + '" (at "' + path_allowedValues + '")');
|
|
7119
|
+
}
|
|
7120
|
+
for (let i = 0; i < obj_allowedValues.length; i++) {
|
|
7121
|
+
const obj_allowedValues_item = obj_allowedValues[i];
|
|
7122
|
+
const path_allowedValues_item = path_allowedValues + '[' + i + ']';
|
|
7123
|
+
const referencepath_allowedValues_itemValidationError = validate$i(obj_allowedValues_item, path_allowedValues_item);
|
|
7124
|
+
if (referencepath_allowedValues_itemValidationError !== null) {
|
|
7125
|
+
let message = 'Object doesn\'t match SemanticParameterListValueOutputRepresentation (at "' + path_allowedValues_item + '")\n';
|
|
7126
|
+
message += referencepath_allowedValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
7127
|
+
return new TypeError(message);
|
|
7128
|
+
}
|
|
7129
|
+
}
|
|
7130
|
+
}
|
|
7028
7131
|
const obj_apiName = obj.apiName;
|
|
7029
7132
|
const path_apiName = path + '.apiName';
|
|
7030
7133
|
if (typeof obj_apiName !== 'string') {
|
|
@@ -7160,11 +7263,19 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
7160
7263
|
return input;
|
|
7161
7264
|
}
|
|
7162
7265
|
const select$p = function SemanticParameterOutputRepresentationSelect() {
|
|
7266
|
+
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$q();
|
|
7163
7267
|
return {
|
|
7164
7268
|
kind: 'Fragment',
|
|
7165
7269
|
version: VERSION$b,
|
|
7166
7270
|
private: [],
|
|
7167
7271
|
selections: [
|
|
7272
|
+
{
|
|
7273
|
+
name: 'allowedValues',
|
|
7274
|
+
kind: 'Object',
|
|
7275
|
+
plural: true,
|
|
7276
|
+
selections: SemanticParameterListValueOutputRepresentation__selections,
|
|
7277
|
+
required: false
|
|
7278
|
+
},
|
|
7168
7279
|
{
|
|
7169
7280
|
name: 'apiName',
|
|
7170
7281
|
kind: 'Scalar'
|
|
@@ -7427,6 +7538,24 @@ function equals$b(existing, incoming) {
|
|
|
7427
7538
|
return false;
|
|
7428
7539
|
}
|
|
7429
7540
|
}
|
|
7541
|
+
const existing_allowedValues = existing.allowedValues;
|
|
7542
|
+
const incoming_allowedValues = incoming.allowedValues;
|
|
7543
|
+
// if at least one of these optionals is defined
|
|
7544
|
+
if (existing_allowedValues !== undefined || incoming_allowedValues !== undefined) {
|
|
7545
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7546
|
+
// not equal
|
|
7547
|
+
if (existing_allowedValues === undefined || incoming_allowedValues === undefined) {
|
|
7548
|
+
return false;
|
|
7549
|
+
}
|
|
7550
|
+
const equals_allowedValues_items = equalsArray(existing_allowedValues, incoming_allowedValues, (existing_allowedValues_item, incoming_allowedValues_item) => {
|
|
7551
|
+
if (!(equals$c(existing_allowedValues_item, incoming_allowedValues_item))) {
|
|
7552
|
+
return false;
|
|
7553
|
+
}
|
|
7554
|
+
});
|
|
7555
|
+
if (equals_allowedValues_items === false) {
|
|
7556
|
+
return false;
|
|
7557
|
+
}
|
|
7558
|
+
}
|
|
7430
7559
|
const existing_values = existing.values;
|
|
7431
7560
|
const incoming_values = incoming.values;
|
|
7432
7561
|
// if at least one of these optionals is defined
|
|
@@ -7503,7 +7632,7 @@ function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
7503
7632
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
7504
7633
|
const obj_baseModels_item = obj_baseModels[i];
|
|
7505
7634
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
7506
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
7635
|
+
const referencepath_baseModels_itemValidationError = validate$F(obj_baseModels_item, path_baseModels_item);
|
|
7507
7636
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
7508
7637
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
7509
7638
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7944,7 +8073,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
7944
8073
|
return input;
|
|
7945
8074
|
}
|
|
7946
8075
|
const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
7947
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
8076
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$L();
|
|
7948
8077
|
return {
|
|
7949
8078
|
kind: 'Fragment',
|
|
7950
8079
|
version: VERSION$a,
|
|
@@ -8033,7 +8162,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8033
8162
|
kind: 'Link',
|
|
8034
8163
|
plural: true,
|
|
8035
8164
|
required: false,
|
|
8036
|
-
fragment: select$
|
|
8165
|
+
fragment: select$J()
|
|
8037
8166
|
},
|
|
8038
8167
|
{
|
|
8039
8168
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -8045,7 +8174,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8045
8174
|
kind: 'Link',
|
|
8046
8175
|
plural: true,
|
|
8047
8176
|
required: false,
|
|
8048
|
-
fragment: select$
|
|
8177
|
+
fragment: select$I()
|
|
8049
8178
|
},
|
|
8050
8179
|
{
|
|
8051
8180
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -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$H()
|
|
8061
8190
|
},
|
|
8062
8191
|
{
|
|
8063
8192
|
name: 'semanticDataObjectsUrl',
|
|
@@ -8069,7 +8198,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8069
8198
|
kind: 'Link',
|
|
8070
8199
|
plural: true,
|
|
8071
8200
|
required: false,
|
|
8072
|
-
fragment: select$
|
|
8201
|
+
fragment: select$A()
|
|
8073
8202
|
},
|
|
8074
8203
|
{
|
|
8075
8204
|
name: 'semanticGroupingsUrl',
|
|
@@ -8081,14 +8210,14 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8081
8210
|
kind: 'Link',
|
|
8082
8211
|
plural: true,
|
|
8083
8212
|
required: false,
|
|
8084
|
-
fragment: select$
|
|
8213
|
+
fragment: select$v()
|
|
8085
8214
|
},
|
|
8086
8215
|
{
|
|
8087
8216
|
name: 'semanticMetrics',
|
|
8088
8217
|
kind: 'Link',
|
|
8089
8218
|
plural: true,
|
|
8090
8219
|
required: false,
|
|
8091
|
-
fragment: select$
|
|
8220
|
+
fragment: select$r()
|
|
8092
8221
|
},
|
|
8093
8222
|
{
|
|
8094
8223
|
name: 'semanticParameters',
|
|
@@ -8107,7 +8236,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8107
8236
|
kind: 'Link',
|
|
8108
8237
|
plural: true,
|
|
8109
8238
|
required: false,
|
|
8110
|
-
fragment: select$
|
|
8239
|
+
fragment: select$y()
|
|
8111
8240
|
},
|
|
8112
8241
|
{
|
|
8113
8242
|
name: 'semanticRelationshipsUrl',
|
|
@@ -8371,7 +8500,7 @@ function equals$a(existing, incoming) {
|
|
|
8371
8500
|
return false;
|
|
8372
8501
|
}
|
|
8373
8502
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
8374
|
-
if (!(equals$
|
|
8503
|
+
if (!(equals$x(existing_baseModels_item, incoming_baseModels_item))) {
|
|
8375
8504
|
return false;
|
|
8376
8505
|
}
|
|
8377
8506
|
});
|
|
@@ -8694,7 +8823,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8694
8823
|
const untrustedConfig_baseModels_array = [];
|
|
8695
8824
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
8696
8825
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
8697
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
8826
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$11(untrustedConfig_baseModels_item);
|
|
8698
8827
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
8699
8828
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
8700
8829
|
}
|
|
@@ -8706,7 +8835,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8706
8835
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
8707
8836
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
8708
8837
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
8709
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
8838
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedDimensions_item);
|
|
8710
8839
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
8711
8840
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
8712
8841
|
}
|
|
@@ -8718,7 +8847,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8718
8847
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
8719
8848
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
8720
8849
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
8721
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
8850
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
8722
8851
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
8723
8852
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
8724
8853
|
}
|
|
@@ -8730,7 +8859,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8730
8859
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
8731
8860
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
8732
8861
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
8733
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
8862
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$X(untrustedConfig_semanticDataObjects_item);
|
|
8734
8863
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
8735
8864
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
8736
8865
|
}
|
|
@@ -8742,7 +8871,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8742
8871
|
const untrustedConfig_semanticGroupings_array = [];
|
|
8743
8872
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
8744
8873
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
8745
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
8874
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$Q(untrustedConfig_semanticGroupings_item);
|
|
8746
8875
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
8747
8876
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
8748
8877
|
}
|
|
@@ -8754,7 +8883,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8754
8883
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
8755
8884
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
8756
8885
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
8757
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
8886
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$L(untrustedConfig_semanticLogicalViews_item);
|
|
8758
8887
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
8759
8888
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
8760
8889
|
}
|
|
@@ -8766,7 +8895,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8766
8895
|
const untrustedConfig_semanticMetrics_array = [];
|
|
8767
8896
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
8768
8897
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
8769
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
8898
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$H(untrustedConfig_semanticMetrics_item);
|
|
8770
8899
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
8771
8900
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
8772
8901
|
}
|
|
@@ -8778,7 +8907,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8778
8907
|
const untrustedConfig_semanticParameters_array = [];
|
|
8779
8908
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
8780
8909
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
8781
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
8910
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$G(untrustedConfig_semanticParameters_item);
|
|
8782
8911
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
8783
8912
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
8784
8913
|
}
|
|
@@ -8790,7 +8919,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8790
8919
|
const untrustedConfig_semanticRelationships_array = [];
|
|
8791
8920
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
8792
8921
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
8793
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
8922
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$O(untrustedConfig_semanticRelationships_item);
|
|
8794
8923
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
8795
8924
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
8796
8925
|
}
|
|
@@ -9113,7 +9242,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9113
9242
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
9114
9243
|
const obj_filters_item = obj_filters[i];
|
|
9115
9244
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
9116
|
-
const referencepath_filters_itemValidationError = validate$
|
|
9245
|
+
const referencepath_filters_itemValidationError = validate$E(obj_filters_item, path_filters_item);
|
|
9117
9246
|
if (referencepath_filters_itemValidationError !== null) {
|
|
9118
9247
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
9119
9248
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9167,7 +9296,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9167
9296
|
if (obj.semanticMetric !== undefined) {
|
|
9168
9297
|
const obj_semanticMetric = obj.semanticMetric;
|
|
9169
9298
|
const path_semanticMetric = path + '.semanticMetric';
|
|
9170
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
9299
|
+
const referencepath_semanticMetricValidationError = validate$j(obj_semanticMetric, path_semanticMetric);
|
|
9171
9300
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
9172
9301
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
9173
9302
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9295,7 +9424,7 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
9295
9424
|
const untrustedConfig_filters_array = [];
|
|
9296
9425
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
9297
9426
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
9298
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate
|
|
9427
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$10(untrustedConfig_filters_item);
|
|
9299
9428
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
9300
9429
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
9301
9430
|
}
|
|
@@ -9976,7 +10105,7 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
|
|
|
9976
10105
|
};
|
|
9977
10106
|
|
|
9978
10107
|
function select$g(luvio, params) {
|
|
9979
|
-
return select$
|
|
10108
|
+
return select$r();
|
|
9980
10109
|
}
|
|
9981
10110
|
function keyBuilder$h(luvio, params) {
|
|
9982
10111
|
return keyBuilder$p(luvio, {
|
|
@@ -10202,7 +10331,7 @@ const select$f = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
|
10202
10331
|
kind: 'Link',
|
|
10203
10332
|
plural: true,
|
|
10204
10333
|
required: false,
|
|
10205
|
-
fragment: select$
|
|
10334
|
+
fragment: select$r()
|
|
10206
10335
|
}
|
|
10207
10336
|
]
|
|
10208
10337
|
};
|
|
@@ -11108,7 +11237,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
11108
11237
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
11109
11238
|
const obj_baseModels_item = obj_baseModels[i];
|
|
11110
11239
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
11111
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
11240
|
+
const referencepath_baseModels_itemValidationError = validate$F(obj_baseModels_item, path_baseModels_item);
|
|
11112
11241
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
11113
11242
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
11114
11243
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11280,7 +11409,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
11280
11409
|
return v_error === undefined ? null : v_error;
|
|
11281
11410
|
}
|
|
11282
11411
|
const select$8 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
11283
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
11412
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$L();
|
|
11284
11413
|
return {
|
|
11285
11414
|
kind: 'Fragment',
|
|
11286
11415
|
version: VERSION$2,
|
|
@@ -11651,7 +11780,7 @@ function equals$2(existing, incoming) {
|
|
|
11651
11780
|
return false;
|
|
11652
11781
|
}
|
|
11653
11782
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
11654
|
-
if (!(equals$
|
|
11783
|
+
if (!(equals$x(existing_baseModels_item, incoming_baseModels_item))) {
|
|
11655
11784
|
return false;
|
|
11656
11785
|
}
|
|
11657
11786
|
});
|
|
@@ -12811,7 +12940,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12811
12940
|
const untrustedConfig_baseModels_array = [];
|
|
12812
12941
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
12813
12942
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
12814
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
12943
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$11(untrustedConfig_baseModels_item);
|
|
12815
12944
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
12816
12945
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
12817
12946
|
}
|
|
@@ -12823,7 +12952,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12823
12952
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
12824
12953
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
12825
12954
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
12826
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
12955
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedDimensions_item);
|
|
12827
12956
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
12828
12957
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
12829
12958
|
}
|
|
@@ -12835,7 +12964,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12835
12964
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
12836
12965
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
12837
12966
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
12838
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
12967
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12839
12968
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
12840
12969
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12841
12970
|
}
|
|
@@ -12847,7 +12976,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12847
12976
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
12848
12977
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
12849
12978
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
12850
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
12979
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$X(untrustedConfig_semanticDataObjects_item);
|
|
12851
12980
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
12852
12981
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
12853
12982
|
}
|
|
@@ -12859,7 +12988,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12859
12988
|
const untrustedConfig_semanticGroupings_array = [];
|
|
12860
12989
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
12861
12990
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
12862
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
12991
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$Q(untrustedConfig_semanticGroupings_item);
|
|
12863
12992
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
12864
12993
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
12865
12994
|
}
|
|
@@ -12871,7 +13000,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12871
13000
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
12872
13001
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
12873
13002
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
12874
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
13003
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$L(untrustedConfig_semanticLogicalViews_item);
|
|
12875
13004
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
12876
13005
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
12877
13006
|
}
|
|
@@ -12883,7 +13012,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12883
13012
|
const untrustedConfig_semanticMetrics_array = [];
|
|
12884
13013
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
12885
13014
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
12886
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
13015
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$H(untrustedConfig_semanticMetrics_item);
|
|
12887
13016
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
12888
13017
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
12889
13018
|
}
|
|
@@ -12895,7 +13024,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12895
13024
|
const untrustedConfig_semanticParameters_array = [];
|
|
12896
13025
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
12897
13026
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
12898
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
13027
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$G(untrustedConfig_semanticParameters_item);
|
|
12899
13028
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
12900
13029
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
12901
13030
|
}
|
|
@@ -12907,7 +13036,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12907
13036
|
const untrustedConfig_semanticRelationships_array = [];
|
|
12908
13037
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
12909
13038
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
12910
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
13039
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$O(untrustedConfig_semanticRelationships_item);
|
|
12911
13040
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
12912
13041
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
12913
13042
|
}
|
|
@@ -13102,4 +13231,4 @@ withDefaultLuvio((luvio) => {
|
|
|
13102
13231
|
});
|
|
13103
13232
|
|
|
13104
13233
|
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 };
|
|
13105
|
-
// version: 1.332.0-
|
|
13234
|
+
// version: 1.332.0-dev9-1981b1cf7c
|