@salesforce/lds-adapters-cdp-semantic-authoring 1.332.0-dev6 → 1.332.0-dev8
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 +1245 -665
- package/dist/es/es2018/types/src/generated/adapters/getLeafDependenciesByTypes.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getSemanticSubMetricsById.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsDependenciesByModelApiNameOrId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticSubMetricsBySubMetricIds.d.ts +4 -0
- 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 +1190 -599
- package/src/raml/api.raml +71 -0
- package/src/raml/luvio.raml +4 -0
package/sfdc/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
|
|
16
16
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$
|
|
17
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$g, typeCheckConfig as typeCheckConfig$g, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$a } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -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$Z(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$Y(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$X(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$X(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$W(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$W(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$V(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$U(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$T(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$T(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$T(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$T(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$S(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$R(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$Q(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$Q(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$P(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$P(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$P(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$O(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$N(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$N(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$M(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$M(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$M(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$L(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$K(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$K(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$J(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$J(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$J(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$J(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$I(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$I(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$I(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$H(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$H(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$H(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$H(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$H(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$G(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$G(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$G(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$F(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$E(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$E(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$E(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$E(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$D(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$D(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$D(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$D(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$D(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$D(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$C(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$B(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$G = 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$t(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$A(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$F = 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$s(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$z(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');
|
|
@@ -1955,24 +1969,24 @@ function validate$z(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
1955
1969
|
})();
|
|
1956
1970
|
return v_error === undefined ? null : v_error;
|
|
1957
1971
|
}
|
|
1958
|
-
const RepresentationType$
|
|
1959
|
-
function keyBuilder$
|
|
1960
|
-
return keyPrefix + '::' + RepresentationType$
|
|
1972
|
+
const RepresentationType$h = 'SemanticCalculatedDimensionOutputRepresentation';
|
|
1973
|
+
function keyBuilder$x(luvio, config) {
|
|
1974
|
+
return keyPrefix + '::' + RepresentationType$h + ':' + config.name;
|
|
1961
1975
|
}
|
|
1962
1976
|
function keyBuilderFromType$b(luvio, object) {
|
|
1963
1977
|
const keyParams = {
|
|
1964
1978
|
name: object.id
|
|
1965
1979
|
};
|
|
1966
|
-
return keyBuilder$
|
|
1980
|
+
return keyBuilder$x(luvio, keyParams);
|
|
1967
1981
|
}
|
|
1968
|
-
function normalize$
|
|
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$E = 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$r(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
|
});
|
|
@@ -2330,30 +2344,30 @@ function equals$r(existing, incoming) {
|
|
|
2330
2344
|
}
|
|
2331
2345
|
return true;
|
|
2332
2346
|
}
|
|
2333
|
-
const ingest$
|
|
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$
|
|
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
|
-
function getTypeCacheKeys$
|
|
2359
|
+
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
2346
2360
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
2347
2361
|
const rootKey = keyBuilderFromType$b(luvio, input);
|
|
2348
2362
|
rootKeySet.set(rootKey, {
|
|
2349
2363
|
namespace: keyPrefix,
|
|
2350
|
-
representationName: RepresentationType$
|
|
2364
|
+
representationName: RepresentationType$h,
|
|
2351
2365
|
mergeable: false
|
|
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$y(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');
|
|
@@ -2552,24 +2566,24 @@ function validate$y(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
2552
2566
|
})();
|
|
2553
2567
|
return v_error === undefined ? null : v_error;
|
|
2554
2568
|
}
|
|
2555
|
-
const RepresentationType$
|
|
2556
|
-
function keyBuilder$
|
|
2557
|
-
return keyPrefix + '::' + RepresentationType$
|
|
2569
|
+
const RepresentationType$g = 'SemanticCalculatedMeasurementOutputRepresentation';
|
|
2570
|
+
function keyBuilder$w(luvio, config) {
|
|
2571
|
+
return keyPrefix + '::' + RepresentationType$g + ':' + config.name;
|
|
2558
2572
|
}
|
|
2559
2573
|
function keyBuilderFromType$a(luvio, object) {
|
|
2560
2574
|
const keyParams = {
|
|
2561
2575
|
name: object.id
|
|
2562
2576
|
};
|
|
2563
|
-
return keyBuilder$
|
|
2577
|
+
return keyBuilder$w(luvio, keyParams);
|
|
2564
2578
|
}
|
|
2565
|
-
function normalize$
|
|
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$D = 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$q(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
|
});
|
|
@@ -3035,29 +3049,29 @@ function equals$q(existing, incoming) {
|
|
|
3035
3049
|
}
|
|
3036
3050
|
return true;
|
|
3037
3051
|
}
|
|
3038
|
-
const ingest$
|
|
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$
|
|
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
|
-
function getTypeCacheKeys$
|
|
3064
|
+
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
3051
3065
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
3052
3066
|
const rootKey = keyBuilderFromType$a(luvio, input);
|
|
3053
3067
|
rootKeySet.set(rootKey, {
|
|
3054
3068
|
namespace: keyPrefix,
|
|
3055
|
-
representationName: RepresentationType$
|
|
3069
|
+
representationName: RepresentationType$g,
|
|
3056
3070
|
mergeable: false
|
|
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$x(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$w(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$v(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$v(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$v(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');
|
|
@@ -3545,57 +3559,57 @@ function validate$v(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3545
3559
|
})();
|
|
3546
3560
|
return v_error === undefined ? null : v_error;
|
|
3547
3561
|
}
|
|
3548
|
-
const RepresentationType$
|
|
3549
|
-
function keyBuilder$
|
|
3550
|
-
return keyPrefix + '::' + RepresentationType$
|
|
3562
|
+
const RepresentationType$f = 'SemanticDataObjectOutputRepresentation';
|
|
3563
|
+
function keyBuilder$v(luvio, config) {
|
|
3564
|
+
return keyPrefix + '::' + RepresentationType$f + ':' + config.name;
|
|
3551
3565
|
}
|
|
3552
3566
|
function keyBuilderFromType$9(luvio, object) {
|
|
3553
3567
|
const keyParams = {
|
|
3554
3568
|
name: object.id
|
|
3555
3569
|
};
|
|
3556
|
-
return keyBuilder$
|
|
3570
|
+
return keyBuilder$v(luvio, keyParams);
|
|
3557
3571
|
}
|
|
3558
|
-
function normalize$
|
|
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
|
}
|
|
3573
3587
|
return true;
|
|
3574
3588
|
}
|
|
3575
|
-
const ingest$
|
|
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$
|
|
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
|
-
function getTypeCacheKeys$
|
|
3601
|
+
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
3588
3602
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
3589
3603
|
const rootKey = keyBuilderFromType$9(luvio, input);
|
|
3590
3604
|
rootKeySet.set(rootKey, {
|
|
3591
3605
|
namespace: keyPrefix,
|
|
3592
|
-
representationName: RepresentationType$
|
|
3606
|
+
representationName: RepresentationType$f,
|
|
3593
3607
|
mergeable: false
|
|
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$u(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$B = 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$o(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$t(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$A = 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$n(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$s(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$s(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$z = 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$m(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$m(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$r(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$r(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$r(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$y = 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$l(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$l(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$q(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$x = 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$k(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$p(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$p(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$w = 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$j(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$o(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$o(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');
|
|
@@ -4113,25 +4127,25 @@ function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
4113
4127
|
})();
|
|
4114
4128
|
return v_error === undefined ? null : v_error;
|
|
4115
4129
|
}
|
|
4116
|
-
const RepresentationType$
|
|
4117
|
-
function keyBuilder$
|
|
4118
|
-
return keyPrefix + '::' + RepresentationType$
|
|
4130
|
+
const RepresentationType$e = 'SemanticGroupingOutputRepresentation';
|
|
4131
|
+
function keyBuilder$u(luvio, config) {
|
|
4132
|
+
return keyPrefix + '::' + RepresentationType$e + ':' + config.name;
|
|
4119
4133
|
}
|
|
4120
4134
|
function keyBuilderFromType$8(luvio, object) {
|
|
4121
4135
|
const keyParams = {
|
|
4122
4136
|
name: object.id
|
|
4123
4137
|
};
|
|
4124
|
-
return keyBuilder$
|
|
4138
|
+
return keyBuilder$u(luvio, keyParams);
|
|
4125
4139
|
}
|
|
4126
|
-
function normalize$
|
|
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$v = 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,40 +4317,40 @@ function equals$i(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
|
-
const ingest$
|
|
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$
|
|
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
|
-
function getTypeCacheKeys$
|
|
4342
|
+
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
4329
4343
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
4330
4344
|
const rootKey = keyBuilderFromType$8(luvio, input);
|
|
4331
4345
|
rootKeySet.set(rootKey, {
|
|
4332
4346
|
namespace: keyPrefix,
|
|
4333
|
-
representationName: RepresentationType$
|
|
4347
|
+
representationName: RepresentationType$e,
|
|
4334
4348
|
mergeable: false
|
|
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$n(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$u = 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$h(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$m(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');
|
|
@@ -4612,24 +4626,24 @@ function validate$m(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
4612
4626
|
})();
|
|
4613
4627
|
return v_error === undefined ? null : v_error;
|
|
4614
4628
|
}
|
|
4615
|
-
const RepresentationType$
|
|
4616
|
-
function keyBuilder$
|
|
4617
|
-
return keyPrefix + '::' + RepresentationType$
|
|
4629
|
+
const RepresentationType$d = 'SemanticRelationshipOutputRepresentation';
|
|
4630
|
+
function keyBuilder$t(luvio, config) {
|
|
4631
|
+
return keyPrefix + '::' + RepresentationType$d + ':' + config.name;
|
|
4618
4632
|
}
|
|
4619
4633
|
function keyBuilderFromType$7(luvio, object) {
|
|
4620
4634
|
const keyParams = {
|
|
4621
4635
|
name: object.id
|
|
4622
4636
|
};
|
|
4623
|
-
return keyBuilder$
|
|
4637
|
+
return keyBuilder$t(luvio, keyParams);
|
|
4624
4638
|
}
|
|
4625
|
-
function normalize$
|
|
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$t = 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$g(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
|
});
|
|
@@ -4915,30 +4929,30 @@ function equals$g(existing, incoming) {
|
|
|
4915
4929
|
}
|
|
4916
4930
|
return true;
|
|
4917
4931
|
}
|
|
4918
|
-
const ingest$
|
|
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$
|
|
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
|
-
function getTypeCacheKeys$
|
|
4944
|
+
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
4931
4945
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
4932
4946
|
const rootKey = keyBuilderFromType$7(luvio, input);
|
|
4933
4947
|
rootKeySet.set(rootKey, {
|
|
4934
4948
|
namespace: keyPrefix,
|
|
4935
|
-
representationName: RepresentationType$
|
|
4949
|
+
representationName: RepresentationType$d,
|
|
4936
4950
|
mergeable: false
|
|
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$l(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$l(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$l(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');
|
|
@@ -5052,57 +5066,57 @@ function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
5052
5066
|
})();
|
|
5053
5067
|
return v_error === undefined ? null : v_error;
|
|
5054
5068
|
}
|
|
5055
|
-
const RepresentationType$
|
|
5056
|
-
function keyBuilder$
|
|
5057
|
-
return keyPrefix + '::' + RepresentationType$
|
|
5069
|
+
const RepresentationType$c = 'SemanticMappedFieldOutputRepresentation';
|
|
5070
|
+
function keyBuilder$s(luvio, config) {
|
|
5071
|
+
return keyPrefix + '::' + RepresentationType$c + ':' + config.name;
|
|
5058
5072
|
}
|
|
5059
5073
|
function keyBuilderFromType$6(luvio, object) {
|
|
5060
5074
|
const keyParams = {
|
|
5061
5075
|
name: object.id
|
|
5062
5076
|
};
|
|
5063
|
-
return keyBuilder$
|
|
5077
|
+
return keyBuilder$s(luvio, keyParams);
|
|
5064
5078
|
}
|
|
5065
|
-
function normalize$
|
|
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
|
}
|
|
5080
5094
|
return true;
|
|
5081
5095
|
}
|
|
5082
|
-
const ingest$
|
|
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$
|
|
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
|
-
function getTypeCacheKeys$
|
|
5108
|
+
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
5095
5109
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
5096
5110
|
const rootKey = keyBuilderFromType$6(luvio, input);
|
|
5097
5111
|
rootKeySet.set(rootKey, {
|
|
5098
5112
|
namespace: keyPrefix,
|
|
5099
|
-
representationName: RepresentationType$
|
|
5113
|
+
representationName: RepresentationType$c,
|
|
5100
5114
|
mergeable: false
|
|
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 + '")');
|
|
@@ -5228,24 +5242,24 @@ function validate$k(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
|
5228
5242
|
})();
|
|
5229
5243
|
return v_error === undefined ? null : v_error;
|
|
5230
5244
|
}
|
|
5231
|
-
const RepresentationType$
|
|
5232
|
-
function keyBuilder$
|
|
5233
|
-
return keyPrefix + '::' + RepresentationType$
|
|
5245
|
+
const RepresentationType$b = 'SemanticUnionOutputRepresentation';
|
|
5246
|
+
function keyBuilder$r(luvio, config) {
|
|
5247
|
+
return keyPrefix + '::' + RepresentationType$b + ':' + config.name;
|
|
5234
5248
|
}
|
|
5235
5249
|
function keyBuilderFromType$5(luvio, object) {
|
|
5236
5250
|
const keyParams = {
|
|
5237
5251
|
name: object.id
|
|
5238
5252
|
};
|
|
5239
|
-
return keyBuilder$
|
|
5253
|
+
return keyBuilder$r(luvio, keyParams);
|
|
5240
5254
|
}
|
|
5241
|
-
function normalize$
|
|
5255
|
+
function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
5242
5256
|
const input_semanticDataObjects = input.semanticDataObjects;
|
|
5243
5257
|
const input_semanticDataObjects_id = path.fullPath + '__semanticDataObjects';
|
|
5244
5258
|
if (input_semanticDataObjects !== undefined) {
|
|
5245
5259
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
5246
5260
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
5247
5261
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
5248
|
-
input_semanticDataObjects[i] = ingest$
|
|
5262
|
+
input_semanticDataObjects[i] = ingest$f(input_semanticDataObjects_item, {
|
|
5249
5263
|
fullPath: input_semanticDataObjects_item_id,
|
|
5250
5264
|
propertyName: i,
|
|
5251
5265
|
parent: {
|
|
@@ -5263,7 +5277,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
5263
5277
|
for (let i = 0; i < input_semanticMappedFields.length; i++) {
|
|
5264
5278
|
const input_semanticMappedFields_item = input_semanticMappedFields[i];
|
|
5265
5279
|
let input_semanticMappedFields_item_id = input_semanticMappedFields_id + '__' + i;
|
|
5266
|
-
input_semanticMappedFields[i] = ingest$
|
|
5280
|
+
input_semanticMappedFields[i] = ingest$c(input_semanticMappedFields_item, {
|
|
5267
5281
|
fullPath: input_semanticMappedFields_item_id,
|
|
5268
5282
|
propertyName: i,
|
|
5269
5283
|
parent: {
|
|
@@ -5277,10 +5291,10 @@ function normalize$a(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$r = 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)) {
|
|
@@ -5501,42 +5515,42 @@ function equals$e(existing, incoming) {
|
|
|
5501
5515
|
}
|
|
5502
5516
|
return true;
|
|
5503
5517
|
}
|
|
5504
|
-
const ingest$
|
|
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$
|
|
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
|
-
function getTypeCacheKeys$
|
|
5530
|
+
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
5517
5531
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
5518
5532
|
const rootKey = keyBuilderFromType$5(luvio, input);
|
|
5519
5533
|
rootKeySet.set(rootKey, {
|
|
5520
5534
|
namespace: keyPrefix,
|
|
5521
|
-
representationName: RepresentationType$
|
|
5535
|
+
representationName: RepresentationType$b,
|
|
5522
5536
|
mergeable: false
|
|
5523
5537
|
});
|
|
5524
5538
|
if (input.semanticDataObjects !== undefined) {
|
|
5525
5539
|
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
5526
5540
|
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
5527
|
-
getTypeCacheKeys$
|
|
5541
|
+
getTypeCacheKeys$f(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
5528
5542
|
}
|
|
5529
5543
|
}
|
|
5530
5544
|
if (input.semanticMappedFields !== undefined) {
|
|
5531
5545
|
const input_semanticMappedFields_length = input.semanticMappedFields.length;
|
|
5532
5546
|
for (let i = 0; i < input_semanticMappedFields_length; i++) {
|
|
5533
|
-
getTypeCacheKeys$
|
|
5547
|
+
getTypeCacheKeys$c(rootKeySet, luvio, input.semanticMappedFields[i]);
|
|
5534
5548
|
}
|
|
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$j(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');
|
|
@@ -5686,24 +5700,24 @@ function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
5686
5700
|
})();
|
|
5687
5701
|
return v_error === undefined ? null : v_error;
|
|
5688
5702
|
}
|
|
5689
|
-
const RepresentationType$
|
|
5690
|
-
function keyBuilder$
|
|
5691
|
-
return keyPrefix + '::' + RepresentationType$
|
|
5703
|
+
const RepresentationType$a = 'SemanticLogicalViewOutputRepresentation';
|
|
5704
|
+
function keyBuilder$q(luvio, config) {
|
|
5705
|
+
return keyPrefix + '::' + RepresentationType$a + ':' + config.name;
|
|
5692
5706
|
}
|
|
5693
5707
|
function keyBuilderFromType$4(luvio, object) {
|
|
5694
5708
|
const keyParams = {
|
|
5695
5709
|
name: object.id
|
|
5696
5710
|
};
|
|
5697
|
-
return keyBuilder$
|
|
5711
|
+
return keyBuilder$q(luvio, keyParams);
|
|
5698
5712
|
}
|
|
5699
|
-
function normalize$
|
|
5713
|
+
function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
5700
5714
|
const input_semanticDataObjects = input.semanticDataObjects;
|
|
5701
5715
|
const input_semanticDataObjects_id = path.fullPath + '__semanticDataObjects';
|
|
5702
5716
|
if (input_semanticDataObjects !== undefined) {
|
|
5703
5717
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
5704
5718
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
5705
5719
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
5706
|
-
input_semanticDataObjects[i] = ingest$
|
|
5720
|
+
input_semanticDataObjects[i] = ingest$f(input_semanticDataObjects_item, {
|
|
5707
5721
|
fullPath: input_semanticDataObjects_item_id,
|
|
5708
5722
|
propertyName: i,
|
|
5709
5723
|
parent: {
|
|
@@ -5721,7 +5735,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
|
5721
5735
|
for (let i = 0; i < input_semanticRelationships.length; i++) {
|
|
5722
5736
|
const input_semanticRelationships_item = input_semanticRelationships[i];
|
|
5723
5737
|
let input_semanticRelationships_item_id = input_semanticRelationships_id + '__' + i;
|
|
5724
|
-
input_semanticRelationships[i] = ingest$
|
|
5738
|
+
input_semanticRelationships[i] = ingest$d(input_semanticRelationships_item, {
|
|
5725
5739
|
fullPath: input_semanticRelationships_item_id,
|
|
5726
5740
|
propertyName: i,
|
|
5727
5741
|
parent: {
|
|
@@ -5739,7 +5753,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
|
5739
5753
|
for (let i = 0; i < input_semanticUnions.length; i++) {
|
|
5740
5754
|
const input_semanticUnions_item = input_semanticUnions[i];
|
|
5741
5755
|
let input_semanticUnions_item_id = input_semanticUnions_id + '__' + i;
|
|
5742
|
-
input_semanticUnions[i] = ingest$
|
|
5756
|
+
input_semanticUnions[i] = ingest$b(input_semanticUnions_item, {
|
|
5743
5757
|
fullPath: input_semanticUnions_item_id,
|
|
5744
5758
|
propertyName: i,
|
|
5745
5759
|
parent: {
|
|
@@ -5753,11 +5767,11 @@ function normalize$9(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$q = 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$q = 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$d(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
|
});
|
|
@@ -6064,48 +6078,48 @@ function equals$d(existing, incoming) {
|
|
|
6064
6078
|
}
|
|
6065
6079
|
return true;
|
|
6066
6080
|
}
|
|
6067
|
-
const ingest$
|
|
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$
|
|
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
|
-
function getTypeCacheKeys$
|
|
6093
|
+
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
6080
6094
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
6081
6095
|
const rootKey = keyBuilderFromType$4(luvio, input);
|
|
6082
6096
|
rootKeySet.set(rootKey, {
|
|
6083
6097
|
namespace: keyPrefix,
|
|
6084
|
-
representationName: RepresentationType$
|
|
6098
|
+
representationName: RepresentationType$a,
|
|
6085
6099
|
mergeable: false
|
|
6086
6100
|
});
|
|
6087
6101
|
if (input.semanticDataObjects !== undefined) {
|
|
6088
6102
|
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
6089
6103
|
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
6090
|
-
getTypeCacheKeys$
|
|
6104
|
+
getTypeCacheKeys$f(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
6091
6105
|
}
|
|
6092
6106
|
}
|
|
6093
6107
|
if (input.semanticRelationships !== undefined) {
|
|
6094
6108
|
const input_semanticRelationships_length = input.semanticRelationships.length;
|
|
6095
6109
|
for (let i = 0; i < input_semanticRelationships_length; i++) {
|
|
6096
|
-
getTypeCacheKeys$
|
|
6110
|
+
getTypeCacheKeys$d(rootKeySet, luvio, input.semanticRelationships[i]);
|
|
6097
6111
|
}
|
|
6098
6112
|
}
|
|
6099
6113
|
if (input.semanticUnions !== undefined) {
|
|
6100
6114
|
const input_semanticUnions_length = input.semanticUnions.length;
|
|
6101
6115
|
for (let i = 0; i < input_semanticUnions_length; i++) {
|
|
6102
|
-
getTypeCacheKeys$
|
|
6116
|
+
getTypeCacheKeys$b(rootKeySet, luvio, input.semanticUnions[i]);
|
|
6103
6117
|
}
|
|
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$i(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$i(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$i(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$p = 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$c(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$c(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$h(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$o = 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$b(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$g(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$g(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$g(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$g(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$n = 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$a(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$a(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$a(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$a(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$f(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$f(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$f(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$f(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$f(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');
|
|
@@ -6640,26 +6654,26 @@ function validate$f(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6640
6654
|
})();
|
|
6641
6655
|
return v_error === undefined ? null : v_error;
|
|
6642
6656
|
}
|
|
6643
|
-
const RepresentationType$
|
|
6644
|
-
function keyBuilder$
|
|
6645
|
-
return keyPrefix + '::' + RepresentationType$
|
|
6657
|
+
const RepresentationType$9 = 'SemanticMetricOutputRepresentation';
|
|
6658
|
+
function keyBuilder$p(luvio, config) {
|
|
6659
|
+
return keyPrefix + '::' + RepresentationType$9 + ':' + config.name;
|
|
6646
6660
|
}
|
|
6647
6661
|
function keyBuilderFromType$3(luvio, object) {
|
|
6648
6662
|
const keyParams = {
|
|
6649
6663
|
name: object.id
|
|
6650
6664
|
};
|
|
6651
|
-
return keyBuilder$
|
|
6665
|
+
return keyBuilder$p(luvio, keyParams);
|
|
6652
6666
|
}
|
|
6653
|
-
function normalize$
|
|
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$m = 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$9(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$9(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$9(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$9(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$9(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
|
}
|
|
@@ -6997,34 +7011,123 @@ function equals$9(existing, incoming) {
|
|
|
6997
7011
|
}
|
|
6998
7012
|
return true;
|
|
6999
7013
|
}
|
|
7000
|
-
const ingest$
|
|
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$
|
|
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
|
-
function getTypeCacheKeys$
|
|
7026
|
+
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
7013
7027
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
7014
7028
|
const rootKey = keyBuilderFromType$3(luvio, input);
|
|
7015
7029
|
rootKeySet.set(rootKey, {
|
|
7016
7030
|
namespace: keyPrefix,
|
|
7017
|
-
representationName: RepresentationType$
|
|
7031
|
+
representationName: RepresentationType$9,
|
|
7018
7032
|
mergeable: false
|
|
7019
7033
|
});
|
|
7020
7034
|
}
|
|
7021
7035
|
|
|
7022
|
-
const VERSION$
|
|
7023
|
-
function validate$
|
|
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";
|
|
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') {
|
|
@@ -7146,25 +7249,33 @@ function validate$e(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
7146
7249
|
})();
|
|
7147
7250
|
return v_error === undefined ? null : v_error;
|
|
7148
7251
|
}
|
|
7149
|
-
const RepresentationType$
|
|
7150
|
-
function keyBuilder$
|
|
7151
|
-
return keyPrefix + '::' + RepresentationType$
|
|
7252
|
+
const RepresentationType$8 = 'SemanticParameterOutputRepresentation';
|
|
7253
|
+
function keyBuilder$o(luvio, config) {
|
|
7254
|
+
return keyPrefix + '::' + RepresentationType$8 + ':' + config.name;
|
|
7152
7255
|
}
|
|
7153
7256
|
function keyBuilderFromType$2(luvio, object) {
|
|
7154
7257
|
const keyParams = {
|
|
7155
7258
|
name: object.id
|
|
7156
7259
|
};
|
|
7157
|
-
return keyBuilder$
|
|
7260
|
+
return keyBuilder$o(luvio, keyParams);
|
|
7158
7261
|
}
|
|
7159
|
-
function normalize$
|
|
7262
|
+
function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
7160
7263
|
return input;
|
|
7161
7264
|
}
|
|
7162
|
-
const select$
|
|
7265
|
+
const select$p = function SemanticParameterOutputRepresentationSelect() {
|
|
7266
|
+
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$q();
|
|
7163
7267
|
return {
|
|
7164
7268
|
kind: 'Fragment',
|
|
7165
|
-
version: VERSION$
|
|
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'
|
|
@@ -7250,7 +7361,7 @@ const select$l = function SemanticParameterOutputRepresentationSelect() {
|
|
|
7250
7361
|
]
|
|
7251
7362
|
};
|
|
7252
7363
|
};
|
|
7253
|
-
function equals$
|
|
7364
|
+
function equals$b(existing, incoming) {
|
|
7254
7365
|
const existing_apiName = existing.apiName;
|
|
7255
7366
|
const incoming_apiName = incoming.apiName;
|
|
7256
7367
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -7427,6 +7538,24 @@ function equals$8(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
|
|
@@ -7447,30 +7576,30 @@ function equals$8(existing, incoming) {
|
|
|
7447
7576
|
}
|
|
7448
7577
|
return true;
|
|
7449
7578
|
}
|
|
7450
|
-
const ingest$
|
|
7579
|
+
const ingest$8 = function SemanticParameterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7451
7580
|
if (process.env.NODE_ENV !== 'production') {
|
|
7452
|
-
const validateError = validate$
|
|
7581
|
+
const validateError = validate$h(input);
|
|
7453
7582
|
if (validateError !== null) {
|
|
7454
7583
|
throw validateError;
|
|
7455
7584
|
}
|
|
7456
7585
|
}
|
|
7457
7586
|
const key = keyBuilderFromType$2(luvio, input);
|
|
7458
7587
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7459
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
7588
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$b, RepresentationType$8, equals$b);
|
|
7460
7589
|
return createLink(key);
|
|
7461
7590
|
};
|
|
7462
|
-
function getTypeCacheKeys$
|
|
7591
|
+
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
7463
7592
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
7464
7593
|
const rootKey = keyBuilderFromType$2(luvio, input);
|
|
7465
7594
|
rootKeySet.set(rootKey, {
|
|
7466
7595
|
namespace: keyPrefix,
|
|
7467
|
-
representationName: RepresentationType$
|
|
7596
|
+
representationName: RepresentationType$8,
|
|
7468
7597
|
mergeable: false
|
|
7469
7598
|
});
|
|
7470
7599
|
}
|
|
7471
7600
|
|
|
7472
|
-
const VERSION$
|
|
7473
|
-
function validate$
|
|
7601
|
+
const VERSION$a = "5cda82e85d7322d459ba16b10b81ee96";
|
|
7602
|
+
function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
7474
7603
|
const v_error = (() => {
|
|
7475
7604
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7476
7605
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7503,7 +7632,7 @@ function validate$d(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');
|
|
@@ -7786,24 +7915,24 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
7786
7915
|
})();
|
|
7787
7916
|
return v_error === undefined ? null : v_error;
|
|
7788
7917
|
}
|
|
7789
|
-
const RepresentationType$
|
|
7790
|
-
function keyBuilder$
|
|
7791
|
-
return keyPrefix + '::' + RepresentationType$
|
|
7918
|
+
const RepresentationType$7 = 'SemanticModelOutputRepresentation';
|
|
7919
|
+
function keyBuilder$n(luvio, config) {
|
|
7920
|
+
return keyPrefix + '::' + RepresentationType$7 + ':' + config.name;
|
|
7792
7921
|
}
|
|
7793
7922
|
function keyBuilderFromType$1(luvio, object) {
|
|
7794
7923
|
const keyParams = {
|
|
7795
7924
|
name: object.id
|
|
7796
7925
|
};
|
|
7797
|
-
return keyBuilder$
|
|
7926
|
+
return keyBuilder$n(luvio, keyParams);
|
|
7798
7927
|
}
|
|
7799
|
-
function normalize$
|
|
7928
|
+
function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
7800
7929
|
const input_semanticCalculatedDimensions = input.semanticCalculatedDimensions;
|
|
7801
7930
|
const input_semanticCalculatedDimensions_id = path.fullPath + '__semanticCalculatedDimensions';
|
|
7802
7931
|
if (input_semanticCalculatedDimensions !== undefined) {
|
|
7803
7932
|
for (let i = 0; i < input_semanticCalculatedDimensions.length; i++) {
|
|
7804
7933
|
const input_semanticCalculatedDimensions_item = input_semanticCalculatedDimensions[i];
|
|
7805
7934
|
let input_semanticCalculatedDimensions_item_id = input_semanticCalculatedDimensions_id + '__' + i;
|
|
7806
|
-
input_semanticCalculatedDimensions[i] = ingest$
|
|
7935
|
+
input_semanticCalculatedDimensions[i] = ingest$h(input_semanticCalculatedDimensions_item, {
|
|
7807
7936
|
fullPath: input_semanticCalculatedDimensions_item_id,
|
|
7808
7937
|
propertyName: i,
|
|
7809
7938
|
parent: {
|
|
@@ -7821,7 +7950,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
7821
7950
|
for (let i = 0; i < input_semanticCalculatedMeasurements.length; i++) {
|
|
7822
7951
|
const input_semanticCalculatedMeasurements_item = input_semanticCalculatedMeasurements[i];
|
|
7823
7952
|
let input_semanticCalculatedMeasurements_item_id = input_semanticCalculatedMeasurements_id + '__' + i;
|
|
7824
|
-
input_semanticCalculatedMeasurements[i] = ingest$
|
|
7953
|
+
input_semanticCalculatedMeasurements[i] = ingest$g(input_semanticCalculatedMeasurements_item, {
|
|
7825
7954
|
fullPath: input_semanticCalculatedMeasurements_item_id,
|
|
7826
7955
|
propertyName: i,
|
|
7827
7956
|
parent: {
|
|
@@ -7839,7 +7968,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
7839
7968
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
7840
7969
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
7841
7970
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
7842
|
-
input_semanticDataObjects[i] = ingest$
|
|
7971
|
+
input_semanticDataObjects[i] = ingest$f(input_semanticDataObjects_item, {
|
|
7843
7972
|
fullPath: input_semanticDataObjects_item_id,
|
|
7844
7973
|
propertyName: i,
|
|
7845
7974
|
parent: {
|
|
@@ -7857,7 +7986,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
7857
7986
|
for (let i = 0; i < input_semanticGroupings.length; i++) {
|
|
7858
7987
|
const input_semanticGroupings_item = input_semanticGroupings[i];
|
|
7859
7988
|
let input_semanticGroupings_item_id = input_semanticGroupings_id + '__' + i;
|
|
7860
|
-
input_semanticGroupings[i] = ingest$
|
|
7989
|
+
input_semanticGroupings[i] = ingest$e(input_semanticGroupings_item, {
|
|
7861
7990
|
fullPath: input_semanticGroupings_item_id,
|
|
7862
7991
|
propertyName: i,
|
|
7863
7992
|
parent: {
|
|
@@ -7875,7 +8004,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
7875
8004
|
for (let i = 0; i < input_semanticLogicalViews.length; i++) {
|
|
7876
8005
|
const input_semanticLogicalViews_item = input_semanticLogicalViews[i];
|
|
7877
8006
|
let input_semanticLogicalViews_item_id = input_semanticLogicalViews_id + '__' + i;
|
|
7878
|
-
input_semanticLogicalViews[i] = ingest$
|
|
8007
|
+
input_semanticLogicalViews[i] = ingest$a(input_semanticLogicalViews_item, {
|
|
7879
8008
|
fullPath: input_semanticLogicalViews_item_id,
|
|
7880
8009
|
propertyName: i,
|
|
7881
8010
|
parent: {
|
|
@@ -7893,7 +8022,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
7893
8022
|
for (let i = 0; i < input_semanticMetrics.length; i++) {
|
|
7894
8023
|
const input_semanticMetrics_item = input_semanticMetrics[i];
|
|
7895
8024
|
let input_semanticMetrics_item_id = input_semanticMetrics_id + '__' + i;
|
|
7896
|
-
input_semanticMetrics[i] = ingest$
|
|
8025
|
+
input_semanticMetrics[i] = ingest$9(input_semanticMetrics_item, {
|
|
7897
8026
|
fullPath: input_semanticMetrics_item_id,
|
|
7898
8027
|
propertyName: i,
|
|
7899
8028
|
parent: {
|
|
@@ -7911,7 +8040,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
7911
8040
|
for (let i = 0; i < input_semanticParameters.length; i++) {
|
|
7912
8041
|
const input_semanticParameters_item = input_semanticParameters[i];
|
|
7913
8042
|
let input_semanticParameters_item_id = input_semanticParameters_id + '__' + i;
|
|
7914
|
-
input_semanticParameters[i] = ingest$
|
|
8043
|
+
input_semanticParameters[i] = ingest$8(input_semanticParameters_item, {
|
|
7915
8044
|
fullPath: input_semanticParameters_item_id,
|
|
7916
8045
|
propertyName: i,
|
|
7917
8046
|
parent: {
|
|
@@ -7929,7 +8058,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
7929
8058
|
for (let i = 0; i < input_semanticRelationships.length; i++) {
|
|
7930
8059
|
const input_semanticRelationships_item = input_semanticRelationships[i];
|
|
7931
8060
|
let input_semanticRelationships_item_id = input_semanticRelationships_id + '__' + i;
|
|
7932
|
-
input_semanticRelationships[i] = ingest$
|
|
8061
|
+
input_semanticRelationships[i] = ingest$d(input_semanticRelationships_item, {
|
|
7933
8062
|
fullPath: input_semanticRelationships_item_id,
|
|
7934
8063
|
propertyName: i,
|
|
7935
8064
|
parent: {
|
|
@@ -7943,11 +8072,11 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
7943
8072
|
}
|
|
7944
8073
|
return input;
|
|
7945
8074
|
}
|
|
7946
|
-
const select$
|
|
7947
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
8075
|
+
const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
8076
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$L();
|
|
7948
8077
|
return {
|
|
7949
8078
|
kind: 'Fragment',
|
|
7950
|
-
version: VERSION$
|
|
8079
|
+
version: VERSION$a,
|
|
7951
8080
|
private: [],
|
|
7952
8081
|
selections: [
|
|
7953
8082
|
{
|
|
@@ -8033,7 +8162,7 @@ const select$k = 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$k = 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$k = 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$k = 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,21 +8210,21 @@ const select$k = 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',
|
|
8095
8224
|
kind: 'Link',
|
|
8096
8225
|
plural: true,
|
|
8097
8226
|
required: false,
|
|
8098
|
-
fragment: select$
|
|
8227
|
+
fragment: select$p()
|
|
8099
8228
|
},
|
|
8100
8229
|
{
|
|
8101
8230
|
name: 'semanticParametersUrl',
|
|
@@ -8107,7 +8236,7 @@ const select$k = 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',
|
|
@@ -8127,7 +8256,7 @@ const select$k = function SemanticModelOutputRepresentationSelect() {
|
|
|
8127
8256
|
]
|
|
8128
8257
|
};
|
|
8129
8258
|
};
|
|
8130
|
-
function equals$
|
|
8259
|
+
function equals$a(existing, incoming) {
|
|
8131
8260
|
const existing_isLocked = existing.isLocked;
|
|
8132
8261
|
const incoming_isLocked = incoming.isLocked;
|
|
8133
8262
|
// if at least one of these optionals is defined
|
|
@@ -8371,7 +8500,7 @@ function equals$7(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
|
});
|
|
@@ -8556,89 +8685,89 @@ function equals$7(existing, incoming) {
|
|
|
8556
8685
|
}
|
|
8557
8686
|
return true;
|
|
8558
8687
|
}
|
|
8559
|
-
const ingest$
|
|
8688
|
+
const ingest$7 = function SemanticModelOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8560
8689
|
if (process.env.NODE_ENV !== 'production') {
|
|
8561
|
-
const validateError = validate$
|
|
8690
|
+
const validateError = validate$g(input);
|
|
8562
8691
|
if (validateError !== null) {
|
|
8563
8692
|
throw validateError;
|
|
8564
8693
|
}
|
|
8565
8694
|
}
|
|
8566
8695
|
const key = keyBuilderFromType$1(luvio, input);
|
|
8567
8696
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
8568
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
8697
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SemanticAuthoring", VERSION$a, RepresentationType$7, equals$a);
|
|
8569
8698
|
return createLink(key);
|
|
8570
8699
|
};
|
|
8571
|
-
function getTypeCacheKeys$
|
|
8700
|
+
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
8572
8701
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
8573
8702
|
const rootKey = keyBuilderFromType$1(luvio, input);
|
|
8574
8703
|
rootKeySet.set(rootKey, {
|
|
8575
8704
|
namespace: keyPrefix,
|
|
8576
|
-
representationName: RepresentationType$
|
|
8705
|
+
representationName: RepresentationType$7,
|
|
8577
8706
|
mergeable: false
|
|
8578
8707
|
});
|
|
8579
8708
|
if (input.semanticCalculatedDimensions !== undefined) {
|
|
8580
8709
|
const input_semanticCalculatedDimensions_length = input.semanticCalculatedDimensions.length;
|
|
8581
8710
|
for (let i = 0; i < input_semanticCalculatedDimensions_length; i++) {
|
|
8582
|
-
getTypeCacheKeys$
|
|
8711
|
+
getTypeCacheKeys$h(rootKeySet, luvio, input.semanticCalculatedDimensions[i]);
|
|
8583
8712
|
}
|
|
8584
8713
|
}
|
|
8585
8714
|
if (input.semanticCalculatedMeasurements !== undefined) {
|
|
8586
8715
|
const input_semanticCalculatedMeasurements_length = input.semanticCalculatedMeasurements.length;
|
|
8587
8716
|
for (let i = 0; i < input_semanticCalculatedMeasurements_length; i++) {
|
|
8588
|
-
getTypeCacheKeys$
|
|
8717
|
+
getTypeCacheKeys$g(rootKeySet, luvio, input.semanticCalculatedMeasurements[i]);
|
|
8589
8718
|
}
|
|
8590
8719
|
}
|
|
8591
8720
|
if (input.semanticDataObjects !== undefined) {
|
|
8592
8721
|
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
8593
8722
|
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
8594
|
-
getTypeCacheKeys$
|
|
8723
|
+
getTypeCacheKeys$f(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
8595
8724
|
}
|
|
8596
8725
|
}
|
|
8597
8726
|
if (input.semanticGroupings !== undefined) {
|
|
8598
8727
|
const input_semanticGroupings_length = input.semanticGroupings.length;
|
|
8599
8728
|
for (let i = 0; i < input_semanticGroupings_length; i++) {
|
|
8600
|
-
getTypeCacheKeys$
|
|
8729
|
+
getTypeCacheKeys$e(rootKeySet, luvio, input.semanticGroupings[i]);
|
|
8601
8730
|
}
|
|
8602
8731
|
}
|
|
8603
8732
|
if (input.semanticLogicalViews !== undefined) {
|
|
8604
8733
|
const input_semanticLogicalViews_length = input.semanticLogicalViews.length;
|
|
8605
8734
|
for (let i = 0; i < input_semanticLogicalViews_length; i++) {
|
|
8606
|
-
getTypeCacheKeys$
|
|
8735
|
+
getTypeCacheKeys$a(rootKeySet, luvio, input.semanticLogicalViews[i]);
|
|
8607
8736
|
}
|
|
8608
8737
|
}
|
|
8609
8738
|
if (input.semanticMetrics !== undefined) {
|
|
8610
8739
|
const input_semanticMetrics_length = input.semanticMetrics.length;
|
|
8611
8740
|
for (let i = 0; i < input_semanticMetrics_length; i++) {
|
|
8612
|
-
getTypeCacheKeys$
|
|
8741
|
+
getTypeCacheKeys$9(rootKeySet, luvio, input.semanticMetrics[i]);
|
|
8613
8742
|
}
|
|
8614
8743
|
}
|
|
8615
8744
|
if (input.semanticParameters !== undefined) {
|
|
8616
8745
|
const input_semanticParameters_length = input.semanticParameters.length;
|
|
8617
8746
|
for (let i = 0; i < input_semanticParameters_length; i++) {
|
|
8618
|
-
getTypeCacheKeys$
|
|
8747
|
+
getTypeCacheKeys$8(rootKeySet, luvio, input.semanticParameters[i]);
|
|
8619
8748
|
}
|
|
8620
8749
|
}
|
|
8621
8750
|
if (input.semanticRelationships !== undefined) {
|
|
8622
8751
|
const input_semanticRelationships_length = input.semanticRelationships.length;
|
|
8623
8752
|
for (let i = 0; i < input_semanticRelationships_length; i++) {
|
|
8624
|
-
getTypeCacheKeys$
|
|
8753
|
+
getTypeCacheKeys$d(rootKeySet, luvio, input.semanticRelationships[i]);
|
|
8625
8754
|
}
|
|
8626
8755
|
}
|
|
8627
8756
|
}
|
|
8628
8757
|
|
|
8629
|
-
function select$
|
|
8630
|
-
return select$
|
|
8758
|
+
function select$n(luvio, params) {
|
|
8759
|
+
return select$o();
|
|
8631
8760
|
}
|
|
8632
|
-
function getResponseCacheKeys$
|
|
8633
|
-
getTypeCacheKeys$
|
|
8761
|
+
function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
|
|
8762
|
+
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
8634
8763
|
}
|
|
8635
|
-
function ingestSuccess$
|
|
8764
|
+
function ingestSuccess$d(luvio, resourceParams, response) {
|
|
8636
8765
|
const { body } = response;
|
|
8637
8766
|
const key = keyBuilderFromType$1(luvio, body);
|
|
8638
|
-
luvio.storeIngest(key, ingest$
|
|
8767
|
+
luvio.storeIngest(key, ingest$7, body);
|
|
8639
8768
|
const snapshot = luvio.storeLookup({
|
|
8640
8769
|
recordId: key,
|
|
8641
|
-
node: select$
|
|
8770
|
+
node: select$n(),
|
|
8642
8771
|
variables: {},
|
|
8643
8772
|
});
|
|
8644
8773
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -8649,7 +8778,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
|
|
|
8649
8778
|
deepFreeze(snapshot.data);
|
|
8650
8779
|
return snapshot;
|
|
8651
8780
|
}
|
|
8652
|
-
function createResourceRequest$
|
|
8781
|
+
function createResourceRequest$f(config) {
|
|
8653
8782
|
const headers = {};
|
|
8654
8783
|
return {
|
|
8655
8784
|
baseUri: '/services/data/v63.0',
|
|
@@ -8663,7 +8792,7 @@ function createResourceRequest$e(config) {
|
|
|
8663
8792
|
};
|
|
8664
8793
|
}
|
|
8665
8794
|
|
|
8666
|
-
const adapterName$
|
|
8795
|
+
const adapterName$f = 'createSemanticModel';
|
|
8667
8796
|
const createSemanticModel_ConfigPropertyMetadata = [
|
|
8668
8797
|
generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
|
|
8669
8798
|
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
@@ -8684,17 +8813,17 @@ const createSemanticModel_ConfigPropertyMetadata = [
|
|
|
8684
8813
|
generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
8685
8814
|
generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
8686
8815
|
];
|
|
8687
|
-
const createSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
8688
|
-
const createResourceParams$
|
|
8689
|
-
function typeCheckConfig$
|
|
8816
|
+
const createSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, createSemanticModel_ConfigPropertyMetadata);
|
|
8817
|
+
const createResourceParams$f = /*#__PURE__*/ createResourceParams$g(createSemanticModel_ConfigPropertyMetadata);
|
|
8818
|
+
function typeCheckConfig$f(untrustedConfig) {
|
|
8690
8819
|
const config = {};
|
|
8691
|
-
typeCheckConfig$
|
|
8820
|
+
typeCheckConfig$g(untrustedConfig, config, createSemanticModel_ConfigPropertyMetadata);
|
|
8692
8821
|
const untrustedConfig_baseModels = untrustedConfig.baseModels;
|
|
8693
8822
|
if (ArrayIsArray$1(untrustedConfig_baseModels)) {
|
|
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$e(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$e(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$e(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$e(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$e(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$e(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$e(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$e(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
|
}
|
|
@@ -8799,30 +8928,30 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
8799
8928
|
}
|
|
8800
8929
|
return config;
|
|
8801
8930
|
}
|
|
8802
|
-
function validateAdapterConfig$
|
|
8931
|
+
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
8803
8932
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
8804
8933
|
return null;
|
|
8805
8934
|
}
|
|
8806
8935
|
if (process.env.NODE_ENV !== 'production') {
|
|
8807
8936
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
8808
8937
|
}
|
|
8809
|
-
const config = typeCheckConfig$
|
|
8938
|
+
const config = typeCheckConfig$f(untrustedConfig);
|
|
8810
8939
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
8811
8940
|
return null;
|
|
8812
8941
|
}
|
|
8813
8942
|
return config;
|
|
8814
8943
|
}
|
|
8815
|
-
function buildNetworkSnapshot$
|
|
8816
|
-
const resourceParams = createResourceParams$
|
|
8817
|
-
const request = createResourceRequest$
|
|
8944
|
+
function buildNetworkSnapshot$f(luvio, config, options) {
|
|
8945
|
+
const resourceParams = createResourceParams$f(config);
|
|
8946
|
+
const request = createResourceRequest$f(resourceParams);
|
|
8818
8947
|
return luvio.dispatchResourceRequest(request, options)
|
|
8819
8948
|
.then((response) => {
|
|
8820
8949
|
return luvio.handleSuccessResponse(() => {
|
|
8821
|
-
const snapshot = ingestSuccess$
|
|
8950
|
+
const snapshot = ingestSuccess$d(luvio, resourceParams, response);
|
|
8822
8951
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
8823
8952
|
}, () => {
|
|
8824
8953
|
const cache = new StoreKeyMap();
|
|
8825
|
-
getResponseCacheKeys$
|
|
8954
|
+
getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
|
|
8826
8955
|
return cache;
|
|
8827
8956
|
});
|
|
8828
8957
|
}, (response) => {
|
|
@@ -8832,16 +8961,16 @@ function buildNetworkSnapshot$e(luvio, config, options) {
|
|
|
8832
8961
|
}
|
|
8833
8962
|
const createSemanticModelAdapterFactory = (luvio) => {
|
|
8834
8963
|
return function createSemanticModel(untrustedConfig) {
|
|
8835
|
-
const config = validateAdapterConfig$
|
|
8964
|
+
const config = validateAdapterConfig$f(untrustedConfig, createSemanticModel_ConfigPropertyNames);
|
|
8836
8965
|
// Invalid or incomplete config
|
|
8837
8966
|
if (config === null) {
|
|
8838
8967
|
throw new Error('Invalid config for "createSemanticModel"');
|
|
8839
8968
|
}
|
|
8840
|
-
return buildNetworkSnapshot$
|
|
8969
|
+
return buildNetworkSnapshot$f(luvio, config);
|
|
8841
8970
|
};
|
|
8842
8971
|
};
|
|
8843
8972
|
|
|
8844
|
-
function validate$
|
|
8973
|
+
function validate$f(obj, path = 'SemanticGoalStatusConditionInputRepresentation') {
|
|
8845
8974
|
const v_error = (() => {
|
|
8846
8975
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8847
8976
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8892,7 +9021,7 @@ function validate$c(obj, path = 'SemanticGoalStatusConditionInputRepresentation'
|
|
|
8892
9021
|
return v_error === undefined ? null : v_error;
|
|
8893
9022
|
}
|
|
8894
9023
|
|
|
8895
|
-
function validate$
|
|
9024
|
+
function validate$e(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
8896
9025
|
const v_error = (() => {
|
|
8897
9026
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8898
9027
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8913,7 +9042,7 @@ function validate$b(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
8913
9042
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
8914
9043
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
8915
9044
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
8916
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
9045
|
+
const referencepath_statusConditions_itemValidationError = validate$f(obj_statusConditions_item, path_statusConditions_item);
|
|
8917
9046
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
8918
9047
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionInputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
8919
9048
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8925,7 +9054,7 @@ function validate$b(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
8925
9054
|
return v_error === undefined ? null : v_error;
|
|
8926
9055
|
}
|
|
8927
9056
|
|
|
8928
|
-
function validate$
|
|
9057
|
+
function validate$d(obj, path = 'SemanticTimeRangeInputRepresentation') {
|
|
8929
9058
|
const v_error = (() => {
|
|
8930
9059
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8931
9060
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8955,7 +9084,7 @@ function validate$a(obj, path = 'SemanticTimeRangeInputRepresentation') {
|
|
|
8955
9084
|
return v_error === undefined ? null : v_error;
|
|
8956
9085
|
}
|
|
8957
9086
|
|
|
8958
|
-
function validate$
|
|
9087
|
+
function validate$c(obj, path = 'SemanticGoalStatusConditionOutputRepresentation') {
|
|
8959
9088
|
const v_error = (() => {
|
|
8960
9089
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8961
9090
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8996,7 +9125,7 @@ function validate$9(obj, path = 'SemanticGoalStatusConditionOutputRepresentation
|
|
|
8996
9125
|
return v_error === undefined ? null : v_error;
|
|
8997
9126
|
}
|
|
8998
9127
|
|
|
8999
|
-
function validate$
|
|
9128
|
+
function validate$b(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
9000
9129
|
const v_error = (() => {
|
|
9001
9130
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9002
9131
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9014,7 +9143,7 @@ function validate$8(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
9014
9143
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
9015
9144
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
9016
9145
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
9017
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
9146
|
+
const referencepath_statusConditions_itemValidationError = validate$c(obj_statusConditions_item, path_statusConditions_item);
|
|
9018
9147
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
9019
9148
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
9020
9149
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9025,7 +9154,7 @@ function validate$8(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
9025
9154
|
return v_error === undefined ? null : v_error;
|
|
9026
9155
|
}
|
|
9027
9156
|
|
|
9028
|
-
function validate$
|
|
9157
|
+
function validate$a(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
9029
9158
|
const v_error = (() => {
|
|
9030
9159
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9031
9160
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9055,8 +9184,8 @@ function validate$7(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
|
9055
9184
|
return v_error === undefined ? null : v_error;
|
|
9056
9185
|
}
|
|
9057
9186
|
|
|
9058
|
-
const VERSION$
|
|
9059
|
-
function validate$
|
|
9187
|
+
const VERSION$9 = "34ece37408ddd80874097c87b829ae97";
|
|
9188
|
+
function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
9060
9189
|
const v_error = (() => {
|
|
9061
9190
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9062
9191
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9113,7 +9242,7 @@ function validate$6(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');
|
|
@@ -9124,7 +9253,7 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9124
9253
|
if (obj.goal !== undefined) {
|
|
9125
9254
|
const obj_goal = obj.goal;
|
|
9126
9255
|
const path_goal = path + '.goal';
|
|
9127
|
-
const referencepath_goalValidationError = validate$
|
|
9256
|
+
const referencepath_goalValidationError = validate$b(obj_goal, path_goal);
|
|
9128
9257
|
if (referencepath_goalValidationError !== null) {
|
|
9129
9258
|
let message = 'Object doesn\'t match SemanticMetricGoalOutputRepresentation (at "' + path_goal + '")\n';
|
|
9130
9259
|
message += referencepath_goalValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9167,7 +9296,7 @@ function validate$6(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');
|
|
@@ -9177,7 +9306,7 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9177
9306
|
if (obj.timeRange !== undefined) {
|
|
9178
9307
|
const obj_timeRange = obj.timeRange;
|
|
9179
9308
|
const path_timeRange = path + '.timeRange';
|
|
9180
|
-
const referencepath_timeRangeValidationError = validate$
|
|
9309
|
+
const referencepath_timeRangeValidationError = validate$a(obj_timeRange, path_timeRange);
|
|
9181
9310
|
if (referencepath_timeRangeValidationError !== null) {
|
|
9182
9311
|
let message = 'Object doesn\'t match SemanticTimeRangeOutputRepresentation (at "' + path_timeRange + '")\n';
|
|
9183
9312
|
message += referencepath_timeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9187,68 +9316,68 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9187
9316
|
})();
|
|
9188
9317
|
return v_error === undefined ? null : v_error;
|
|
9189
9318
|
}
|
|
9190
|
-
const RepresentationType$
|
|
9191
|
-
function keyBuilder$
|
|
9192
|
-
return keyPrefix + '::' + RepresentationType$
|
|
9319
|
+
const RepresentationType$6 = 'SemanticSubMetricOutputRepresentation';
|
|
9320
|
+
function keyBuilder$m(luvio, config) {
|
|
9321
|
+
return keyPrefix + '::' + RepresentationType$6 + ':' + config.name;
|
|
9193
9322
|
}
|
|
9194
9323
|
function keyBuilderFromType(luvio, object) {
|
|
9195
9324
|
const keyParams = {
|
|
9196
9325
|
name: object.id
|
|
9197
9326
|
};
|
|
9198
|
-
return keyBuilder$
|
|
9327
|
+
return keyBuilder$m(luvio, keyParams);
|
|
9199
9328
|
}
|
|
9200
|
-
function normalize$
|
|
9329
|
+
function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
9201
9330
|
return input;
|
|
9202
9331
|
}
|
|
9203
|
-
const select$
|
|
9332
|
+
const select$m = function SemanticSubMetricOutputRepresentationSelect() {
|
|
9204
9333
|
return {
|
|
9205
9334
|
kind: 'Fragment',
|
|
9206
|
-
version: VERSION$
|
|
9335
|
+
version: VERSION$9,
|
|
9207
9336
|
private: [],
|
|
9208
9337
|
opaque: true
|
|
9209
9338
|
};
|
|
9210
9339
|
};
|
|
9211
|
-
function equals$
|
|
9340
|
+
function equals$9(existing, incoming) {
|
|
9212
9341
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
9213
9342
|
return false;
|
|
9214
9343
|
}
|
|
9215
9344
|
return true;
|
|
9216
9345
|
}
|
|
9217
|
-
const ingest$
|
|
9346
|
+
const ingest$6 = function SemanticSubMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9218
9347
|
if (process.env.NODE_ENV !== 'production') {
|
|
9219
|
-
const validateError = validate$
|
|
9348
|
+
const validateError = validate$9(input);
|
|
9220
9349
|
if (validateError !== null) {
|
|
9221
9350
|
throw validateError;
|
|
9222
9351
|
}
|
|
9223
9352
|
}
|
|
9224
9353
|
const key = keyBuilderFromType(luvio, input);
|
|
9225
9354
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
9226
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
9355
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SemanticAuthoring", VERSION$9, RepresentationType$6, equals$9);
|
|
9227
9356
|
return createLink(key);
|
|
9228
9357
|
};
|
|
9229
|
-
function getTypeCacheKeys$
|
|
9358
|
+
function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
9230
9359
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
9231
9360
|
const rootKey = keyBuilderFromType(luvio, input);
|
|
9232
9361
|
rootKeySet.set(rootKey, {
|
|
9233
9362
|
namespace: keyPrefix,
|
|
9234
|
-
representationName: RepresentationType$
|
|
9363
|
+
representationName: RepresentationType$6,
|
|
9235
9364
|
mergeable: false
|
|
9236
9365
|
});
|
|
9237
9366
|
}
|
|
9238
9367
|
|
|
9239
|
-
function select$
|
|
9240
|
-
return select$
|
|
9368
|
+
function select$l(luvio, params) {
|
|
9369
|
+
return select$m();
|
|
9241
9370
|
}
|
|
9242
|
-
function getResponseCacheKeys$
|
|
9243
|
-
getTypeCacheKeys$
|
|
9371
|
+
function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
|
|
9372
|
+
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
9244
9373
|
}
|
|
9245
|
-
function ingestSuccess$
|
|
9374
|
+
function ingestSuccess$c(luvio, resourceParams, response) {
|
|
9246
9375
|
const { body } = response;
|
|
9247
9376
|
const key = keyBuilderFromType(luvio, body);
|
|
9248
|
-
luvio.storeIngest(key, ingest$
|
|
9377
|
+
luvio.storeIngest(key, ingest$6, body);
|
|
9249
9378
|
const snapshot = luvio.storeLookup({
|
|
9250
9379
|
recordId: key,
|
|
9251
|
-
node: select$
|
|
9380
|
+
node: select$l(),
|
|
9252
9381
|
variables: {},
|
|
9253
9382
|
});
|
|
9254
9383
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -9259,7 +9388,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
|
|
|
9259
9388
|
deepFreeze(snapshot.data);
|
|
9260
9389
|
return snapshot;
|
|
9261
9390
|
}
|
|
9262
|
-
function createResourceRequest$
|
|
9391
|
+
function createResourceRequest$e(config) {
|
|
9263
9392
|
const headers = {};
|
|
9264
9393
|
return {
|
|
9265
9394
|
baseUri: '/services/data/v63.0',
|
|
@@ -9273,7 +9402,7 @@ function createResourceRequest$d(config) {
|
|
|
9273
9402
|
};
|
|
9274
9403
|
}
|
|
9275
9404
|
|
|
9276
|
-
const adapterName$
|
|
9405
|
+
const adapterName$e = 'createSemanticSubMetric';
|
|
9277
9406
|
const createSemanticSubMetric_ConfigPropertyMetadata = [
|
|
9278
9407
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9279
9408
|
generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
|
|
@@ -9285,17 +9414,17 @@ const createSemanticSubMetric_ConfigPropertyMetadata = [
|
|
|
9285
9414
|
generateParamConfigMetadata('semanticMetricDefinitionApiName', false, 2 /* Body */, 0 /* String */),
|
|
9286
9415
|
generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
|
|
9287
9416
|
];
|
|
9288
|
-
const createSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
9289
|
-
const createResourceParams$
|
|
9290
|
-
function typeCheckConfig$
|
|
9417
|
+
const createSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, createSemanticSubMetric_ConfigPropertyMetadata);
|
|
9418
|
+
const createResourceParams$e = /*#__PURE__*/ createResourceParams$g(createSemanticSubMetric_ConfigPropertyMetadata);
|
|
9419
|
+
function typeCheckConfig$e(untrustedConfig) {
|
|
9291
9420
|
const config = {};
|
|
9292
|
-
typeCheckConfig$
|
|
9421
|
+
typeCheckConfig$g(untrustedConfig, config, createSemanticSubMetric_ConfigPropertyMetadata);
|
|
9293
9422
|
const untrustedConfig_filters = untrustedConfig.filters;
|
|
9294
9423
|
if (ArrayIsArray$1(untrustedConfig_filters)) {
|
|
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
|
}
|
|
@@ -9303,41 +9432,41 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9303
9432
|
config.filters = untrustedConfig_filters_array;
|
|
9304
9433
|
}
|
|
9305
9434
|
const untrustedConfig_goal = untrustedConfig.goal;
|
|
9306
|
-
const referenceSemanticMetricGoalInputRepresentationValidationError = validate$
|
|
9435
|
+
const referenceSemanticMetricGoalInputRepresentationValidationError = validate$e(untrustedConfig_goal);
|
|
9307
9436
|
if (referenceSemanticMetricGoalInputRepresentationValidationError === null) {
|
|
9308
9437
|
config.goal = untrustedConfig_goal;
|
|
9309
9438
|
}
|
|
9310
9439
|
const untrustedConfig_timeRange = untrustedConfig.timeRange;
|
|
9311
|
-
const referenceSemanticTimeRangeInputRepresentationValidationError = validate$
|
|
9440
|
+
const referenceSemanticTimeRangeInputRepresentationValidationError = validate$d(untrustedConfig_timeRange);
|
|
9312
9441
|
if (referenceSemanticTimeRangeInputRepresentationValidationError === null) {
|
|
9313
9442
|
config.timeRange = untrustedConfig_timeRange;
|
|
9314
9443
|
}
|
|
9315
9444
|
return config;
|
|
9316
9445
|
}
|
|
9317
|
-
function validateAdapterConfig$
|
|
9446
|
+
function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
9318
9447
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
9319
9448
|
return null;
|
|
9320
9449
|
}
|
|
9321
9450
|
if (process.env.NODE_ENV !== 'production') {
|
|
9322
9451
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
9323
9452
|
}
|
|
9324
|
-
const config = typeCheckConfig$
|
|
9453
|
+
const config = typeCheckConfig$e(untrustedConfig);
|
|
9325
9454
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
9326
9455
|
return null;
|
|
9327
9456
|
}
|
|
9328
9457
|
return config;
|
|
9329
9458
|
}
|
|
9330
|
-
function buildNetworkSnapshot$
|
|
9331
|
-
const resourceParams = createResourceParams$
|
|
9332
|
-
const request = createResourceRequest$
|
|
9459
|
+
function buildNetworkSnapshot$e(luvio, config, options) {
|
|
9460
|
+
const resourceParams = createResourceParams$e(config);
|
|
9461
|
+
const request = createResourceRequest$e(resourceParams);
|
|
9333
9462
|
return luvio.dispatchResourceRequest(request, options)
|
|
9334
9463
|
.then((response) => {
|
|
9335
9464
|
return luvio.handleSuccessResponse(() => {
|
|
9336
|
-
const snapshot = ingestSuccess$
|
|
9465
|
+
const snapshot = ingestSuccess$c(luvio, resourceParams, response);
|
|
9337
9466
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
9338
9467
|
}, () => {
|
|
9339
9468
|
const cache = new StoreKeyMap();
|
|
9340
|
-
getResponseCacheKeys$
|
|
9469
|
+
getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
|
|
9341
9470
|
return cache;
|
|
9342
9471
|
});
|
|
9343
9472
|
}, (response) => {
|
|
@@ -9347,33 +9476,33 @@ function buildNetworkSnapshot$d(luvio, config, options) {
|
|
|
9347
9476
|
}
|
|
9348
9477
|
const createSemanticSubMetricAdapterFactory = (luvio) => {
|
|
9349
9478
|
return function createSemanticSubMetric(untrustedConfig) {
|
|
9350
|
-
const config = validateAdapterConfig$
|
|
9479
|
+
const config = validateAdapterConfig$e(untrustedConfig, createSemanticSubMetric_ConfigPropertyNames);
|
|
9351
9480
|
// Invalid or incomplete config
|
|
9352
9481
|
if (config === null) {
|
|
9353
9482
|
throw new Error('Invalid config for "createSemanticSubMetric"');
|
|
9354
9483
|
}
|
|
9355
|
-
return buildNetworkSnapshot$
|
|
9484
|
+
return buildNetworkSnapshot$e(luvio, config);
|
|
9356
9485
|
};
|
|
9357
9486
|
};
|
|
9358
9487
|
|
|
9359
|
-
function keyBuilder$
|
|
9360
|
-
return keyBuilder$
|
|
9488
|
+
function keyBuilder$l(luvio, params) {
|
|
9489
|
+
return keyBuilder$m(luvio, {
|
|
9361
9490
|
name: params.urlParams.subMetricNameOrId
|
|
9362
9491
|
});
|
|
9363
9492
|
}
|
|
9364
|
-
function getResponseCacheKeys$
|
|
9365
|
-
const key = keyBuilder$
|
|
9493
|
+
function getResponseCacheKeys$d(cacheKeyMap, luvio, resourceParams) {
|
|
9494
|
+
const key = keyBuilder$l(luvio, resourceParams);
|
|
9366
9495
|
cacheKeyMap.set(key, {
|
|
9367
9496
|
namespace: keyPrefix,
|
|
9368
|
-
representationName: RepresentationType$
|
|
9497
|
+
representationName: RepresentationType$6,
|
|
9369
9498
|
mergeable: false
|
|
9370
9499
|
});
|
|
9371
9500
|
}
|
|
9372
9501
|
function evictSuccess$1(luvio, resourceParams) {
|
|
9373
|
-
const key = keyBuilder$
|
|
9502
|
+
const key = keyBuilder$l(luvio, resourceParams);
|
|
9374
9503
|
luvio.storeEvict(key);
|
|
9375
9504
|
}
|
|
9376
|
-
function createResourceRequest$
|
|
9505
|
+
function createResourceRequest$d(config) {
|
|
9377
9506
|
const headers = {};
|
|
9378
9507
|
return {
|
|
9379
9508
|
baseUri: '/services/data/v63.0',
|
|
@@ -9387,34 +9516,34 @@ function createResourceRequest$c(config) {
|
|
|
9387
9516
|
};
|
|
9388
9517
|
}
|
|
9389
9518
|
|
|
9390
|
-
const adapterName$
|
|
9519
|
+
const adapterName$d = 'deleteGoalFromSubMetric';
|
|
9391
9520
|
const deleteGoalFromSubMetric_ConfigPropertyMetadata = [
|
|
9392
9521
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9393
9522
|
generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9394
9523
|
];
|
|
9395
|
-
const deleteGoalFromSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
9396
|
-
const createResourceParams$
|
|
9397
|
-
function typeCheckConfig$
|
|
9524
|
+
const deleteGoalFromSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, deleteGoalFromSubMetric_ConfigPropertyMetadata);
|
|
9525
|
+
const createResourceParams$d = /*#__PURE__*/ createResourceParams$g(deleteGoalFromSubMetric_ConfigPropertyMetadata);
|
|
9526
|
+
function typeCheckConfig$d(untrustedConfig) {
|
|
9398
9527
|
const config = {};
|
|
9399
|
-
typeCheckConfig$
|
|
9528
|
+
typeCheckConfig$g(untrustedConfig, config, deleteGoalFromSubMetric_ConfigPropertyMetadata);
|
|
9400
9529
|
return config;
|
|
9401
9530
|
}
|
|
9402
|
-
function validateAdapterConfig$
|
|
9531
|
+
function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|
|
9403
9532
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
9404
9533
|
return null;
|
|
9405
9534
|
}
|
|
9406
9535
|
if (process.env.NODE_ENV !== 'production') {
|
|
9407
9536
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
9408
9537
|
}
|
|
9409
|
-
const config = typeCheckConfig$
|
|
9538
|
+
const config = typeCheckConfig$d(untrustedConfig);
|
|
9410
9539
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
9411
9540
|
return null;
|
|
9412
9541
|
}
|
|
9413
9542
|
return config;
|
|
9414
9543
|
}
|
|
9415
|
-
function buildNetworkSnapshot$
|
|
9416
|
-
const resourceParams = createResourceParams$
|
|
9417
|
-
const request = createResourceRequest$
|
|
9544
|
+
function buildNetworkSnapshot$d(luvio, config, options) {
|
|
9545
|
+
const resourceParams = createResourceParams$d(config);
|
|
9546
|
+
const request = createResourceRequest$d(resourceParams);
|
|
9418
9547
|
return luvio.dispatchResourceRequest(request, options)
|
|
9419
9548
|
.then(() => {
|
|
9420
9549
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -9422,7 +9551,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
|
|
|
9422
9551
|
return luvio.storeBroadcast();
|
|
9423
9552
|
}, () => {
|
|
9424
9553
|
const cache = new StoreKeyMap();
|
|
9425
|
-
getResponseCacheKeys$
|
|
9554
|
+
getResponseCacheKeys$d(cache, luvio, resourceParams);
|
|
9426
9555
|
return cache;
|
|
9427
9556
|
});
|
|
9428
9557
|
}, (response) => {
|
|
@@ -9432,33 +9561,33 @@ function buildNetworkSnapshot$c(luvio, config, options) {
|
|
|
9432
9561
|
}
|
|
9433
9562
|
const deleteGoalFromSubMetricAdapterFactory = (luvio) => {
|
|
9434
9563
|
return function SemanticAuthoringdeleteGoalFromSubMetric(untrustedConfig) {
|
|
9435
|
-
const config = validateAdapterConfig$
|
|
9564
|
+
const config = validateAdapterConfig$d(untrustedConfig, deleteGoalFromSubMetric_ConfigPropertyNames);
|
|
9436
9565
|
// Invalid or incomplete config
|
|
9437
9566
|
if (config === null) {
|
|
9438
|
-
throw new Error(`Invalid config for "${adapterName$
|
|
9567
|
+
throw new Error(`Invalid config for "${adapterName$d}"`);
|
|
9439
9568
|
}
|
|
9440
|
-
return buildNetworkSnapshot$
|
|
9569
|
+
return buildNetworkSnapshot$d(luvio, config);
|
|
9441
9570
|
};
|
|
9442
9571
|
};
|
|
9443
9572
|
|
|
9444
|
-
function keyBuilder$
|
|
9445
|
-
return keyBuilder$
|
|
9573
|
+
function keyBuilder$k(luvio, params) {
|
|
9574
|
+
return keyBuilder$m(luvio, {
|
|
9446
9575
|
name: params.urlParams.subMetricNameOrId
|
|
9447
9576
|
});
|
|
9448
9577
|
}
|
|
9449
|
-
function getResponseCacheKeys$
|
|
9450
|
-
const key = keyBuilder$
|
|
9578
|
+
function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
|
|
9579
|
+
const key = keyBuilder$k(luvio, resourceParams);
|
|
9451
9580
|
cacheKeyMap.set(key, {
|
|
9452
9581
|
namespace: keyPrefix,
|
|
9453
|
-
representationName: RepresentationType$
|
|
9582
|
+
representationName: RepresentationType$6,
|
|
9454
9583
|
mergeable: false
|
|
9455
9584
|
});
|
|
9456
9585
|
}
|
|
9457
9586
|
function evictSuccess(luvio, resourceParams) {
|
|
9458
|
-
const key = keyBuilder$
|
|
9587
|
+
const key = keyBuilder$k(luvio, resourceParams);
|
|
9459
9588
|
luvio.storeEvict(key);
|
|
9460
9589
|
}
|
|
9461
|
-
function createResourceRequest$
|
|
9590
|
+
function createResourceRequest$c(config) {
|
|
9462
9591
|
const headers = {};
|
|
9463
9592
|
return {
|
|
9464
9593
|
baseUri: '/services/data/v63.0',
|
|
@@ -9472,34 +9601,34 @@ function createResourceRequest$b(config) {
|
|
|
9472
9601
|
};
|
|
9473
9602
|
}
|
|
9474
9603
|
|
|
9475
|
-
const adapterName$
|
|
9604
|
+
const adapterName$c = 'deleteSemanticSubMetric';
|
|
9476
9605
|
const deleteSemanticSubMetric_ConfigPropertyMetadata = [
|
|
9477
9606
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9478
9607
|
generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9479
9608
|
];
|
|
9480
|
-
const deleteSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
9481
|
-
const createResourceParams$
|
|
9482
|
-
function typeCheckConfig$
|
|
9609
|
+
const deleteSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deleteSemanticSubMetric_ConfigPropertyMetadata);
|
|
9610
|
+
const createResourceParams$c = /*#__PURE__*/ createResourceParams$g(deleteSemanticSubMetric_ConfigPropertyMetadata);
|
|
9611
|
+
function typeCheckConfig$c(untrustedConfig) {
|
|
9483
9612
|
const config = {};
|
|
9484
|
-
typeCheckConfig$
|
|
9613
|
+
typeCheckConfig$g(untrustedConfig, config, deleteSemanticSubMetric_ConfigPropertyMetadata);
|
|
9485
9614
|
return config;
|
|
9486
9615
|
}
|
|
9487
|
-
function validateAdapterConfig$
|
|
9616
|
+
function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
9488
9617
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
9489
9618
|
return null;
|
|
9490
9619
|
}
|
|
9491
9620
|
if (process.env.NODE_ENV !== 'production') {
|
|
9492
9621
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
9493
9622
|
}
|
|
9494
|
-
const config = typeCheckConfig$
|
|
9623
|
+
const config = typeCheckConfig$c(untrustedConfig);
|
|
9495
9624
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
9496
9625
|
return null;
|
|
9497
9626
|
}
|
|
9498
9627
|
return config;
|
|
9499
9628
|
}
|
|
9500
|
-
function buildNetworkSnapshot$
|
|
9501
|
-
const resourceParams = createResourceParams$
|
|
9502
|
-
const request = createResourceRequest$
|
|
9629
|
+
function buildNetworkSnapshot$c(luvio, config, options) {
|
|
9630
|
+
const resourceParams = createResourceParams$c(config);
|
|
9631
|
+
const request = createResourceRequest$c(resourceParams);
|
|
9503
9632
|
return luvio.dispatchResourceRequest(request, options)
|
|
9504
9633
|
.then(() => {
|
|
9505
9634
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -9507,7 +9636,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
|
|
|
9507
9636
|
return luvio.storeBroadcast();
|
|
9508
9637
|
}, () => {
|
|
9509
9638
|
const cache = new StoreKeyMap();
|
|
9510
|
-
getResponseCacheKeys$
|
|
9639
|
+
getResponseCacheKeys$c(cache, luvio, resourceParams);
|
|
9511
9640
|
return cache;
|
|
9512
9641
|
});
|
|
9513
9642
|
}, (response) => {
|
|
@@ -9517,30 +9646,479 @@ function buildNetworkSnapshot$b(luvio, config, options) {
|
|
|
9517
9646
|
}
|
|
9518
9647
|
const deleteSemanticSubMetricAdapterFactory = (luvio) => {
|
|
9519
9648
|
return function SemanticAuthoringdeleteSemanticSubMetric(untrustedConfig) {
|
|
9520
|
-
const config = validateAdapterConfig$
|
|
9649
|
+
const config = validateAdapterConfig$c(untrustedConfig, deleteSemanticSubMetric_ConfigPropertyNames);
|
|
9521
9650
|
// Invalid or incomplete config
|
|
9522
9651
|
if (config === null) {
|
|
9523
|
-
throw new Error(`Invalid config for "${adapterName$
|
|
9652
|
+
throw new Error(`Invalid config for "${adapterName$c}"`);
|
|
9653
|
+
}
|
|
9654
|
+
return buildNetworkSnapshot$c(luvio, config);
|
|
9655
|
+
};
|
|
9656
|
+
};
|
|
9657
|
+
|
|
9658
|
+
const VERSION$8 = "e96f6d15d947eadd33aeb16dd9222420";
|
|
9659
|
+
function validate$8(obj, path = 'SemanticDependencyOutputRepresentation') {
|
|
9660
|
+
const v_error = (() => {
|
|
9661
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9662
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
9663
|
+
}
|
|
9664
|
+
const obj_apiName = obj.apiName;
|
|
9665
|
+
const path_apiName = path + '.apiName';
|
|
9666
|
+
if (typeof obj_apiName !== 'string') {
|
|
9667
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
9668
|
+
}
|
|
9669
|
+
if (obj.definitionType !== undefined) {
|
|
9670
|
+
const obj_definitionType = obj.definitionType;
|
|
9671
|
+
const path_definitionType = path + '.definitionType';
|
|
9672
|
+
if (typeof obj_definitionType !== 'string') {
|
|
9673
|
+
return new TypeError('Expected "string" but received "' + typeof obj_definitionType + '" (at "' + path_definitionType + '")');
|
|
9674
|
+
}
|
|
9675
|
+
}
|
|
9676
|
+
if (obj.label !== undefined) {
|
|
9677
|
+
const obj_label = obj.label;
|
|
9678
|
+
const path_label = path + '.label';
|
|
9679
|
+
if (typeof obj_label !== 'string') {
|
|
9680
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
9681
|
+
}
|
|
9682
|
+
}
|
|
9683
|
+
if (obj.modelApiName !== undefined) {
|
|
9684
|
+
const obj_modelApiName = obj.modelApiName;
|
|
9685
|
+
const path_modelApiName = path + '.modelApiName';
|
|
9686
|
+
if (typeof obj_modelApiName !== 'string') {
|
|
9687
|
+
return new TypeError('Expected "string" but received "' + typeof obj_modelApiName + '" (at "' + path_modelApiName + '")');
|
|
9688
|
+
}
|
|
9689
|
+
}
|
|
9690
|
+
})();
|
|
9691
|
+
return v_error === undefined ? null : v_error;
|
|
9692
|
+
}
|
|
9693
|
+
const select$k = function SemanticDependencyOutputRepresentationSelect() {
|
|
9694
|
+
return {
|
|
9695
|
+
kind: 'Fragment',
|
|
9696
|
+
version: VERSION$8,
|
|
9697
|
+
private: [],
|
|
9698
|
+
selections: [
|
|
9699
|
+
{
|
|
9700
|
+
name: 'apiName',
|
|
9701
|
+
kind: 'Scalar'
|
|
9702
|
+
},
|
|
9703
|
+
{
|
|
9704
|
+
name: 'definitionType',
|
|
9705
|
+
kind: 'Scalar',
|
|
9706
|
+
required: false
|
|
9707
|
+
},
|
|
9708
|
+
{
|
|
9709
|
+
name: 'label',
|
|
9710
|
+
kind: 'Scalar',
|
|
9711
|
+
required: false
|
|
9712
|
+
},
|
|
9713
|
+
{
|
|
9714
|
+
name: 'modelApiName',
|
|
9715
|
+
kind: 'Scalar',
|
|
9716
|
+
required: false
|
|
9717
|
+
}
|
|
9718
|
+
]
|
|
9719
|
+
};
|
|
9720
|
+
};
|
|
9721
|
+
function equals$8(existing, incoming) {
|
|
9722
|
+
const existing_apiName = existing.apiName;
|
|
9723
|
+
const incoming_apiName = incoming.apiName;
|
|
9724
|
+
if (!(existing_apiName === incoming_apiName)) {
|
|
9725
|
+
return false;
|
|
9726
|
+
}
|
|
9727
|
+
const existing_definitionType = existing.definitionType;
|
|
9728
|
+
const incoming_definitionType = incoming.definitionType;
|
|
9729
|
+
// if at least one of these optionals is defined
|
|
9730
|
+
if (existing_definitionType !== undefined || incoming_definitionType !== undefined) {
|
|
9731
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9732
|
+
// not equal
|
|
9733
|
+
if (existing_definitionType === undefined || incoming_definitionType === undefined) {
|
|
9734
|
+
return false;
|
|
9735
|
+
}
|
|
9736
|
+
if (!(existing_definitionType === incoming_definitionType)) {
|
|
9737
|
+
return false;
|
|
9738
|
+
}
|
|
9739
|
+
}
|
|
9740
|
+
const existing_label = existing.label;
|
|
9741
|
+
const incoming_label = incoming.label;
|
|
9742
|
+
// if at least one of these optionals is defined
|
|
9743
|
+
if (existing_label !== undefined || incoming_label !== undefined) {
|
|
9744
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9745
|
+
// not equal
|
|
9746
|
+
if (existing_label === undefined || incoming_label === undefined) {
|
|
9747
|
+
return false;
|
|
9748
|
+
}
|
|
9749
|
+
if (!(existing_label === incoming_label)) {
|
|
9750
|
+
return false;
|
|
9751
|
+
}
|
|
9752
|
+
}
|
|
9753
|
+
const existing_modelApiName = existing.modelApiName;
|
|
9754
|
+
const incoming_modelApiName = incoming.modelApiName;
|
|
9755
|
+
// if at least one of these optionals is defined
|
|
9756
|
+
if (existing_modelApiName !== undefined || incoming_modelApiName !== undefined) {
|
|
9757
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9758
|
+
// not equal
|
|
9759
|
+
if (existing_modelApiName === undefined || incoming_modelApiName === undefined) {
|
|
9760
|
+
return false;
|
|
9761
|
+
}
|
|
9762
|
+
if (!(existing_modelApiName === incoming_modelApiName)) {
|
|
9763
|
+
return false;
|
|
9764
|
+
}
|
|
9765
|
+
}
|
|
9766
|
+
return true;
|
|
9767
|
+
}
|
|
9768
|
+
|
|
9769
|
+
const VERSION$7 = "62e5e0ffeb783cdde37da72d400b0869";
|
|
9770
|
+
function validate$7(obj, path = 'SemanticDependencyInnerCollectionOutputRepresentation') {
|
|
9771
|
+
const v_error = (() => {
|
|
9772
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9773
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
9774
|
+
}
|
|
9775
|
+
if (obj.definitionApiName !== undefined) {
|
|
9776
|
+
const obj_definitionApiName = obj.definitionApiName;
|
|
9777
|
+
const path_definitionApiName = path + '.definitionApiName';
|
|
9778
|
+
if (typeof obj_definitionApiName !== 'string') {
|
|
9779
|
+
return new TypeError('Expected "string" but received "' + typeof obj_definitionApiName + '" (at "' + path_definitionApiName + '")');
|
|
9780
|
+
}
|
|
9781
|
+
}
|
|
9782
|
+
if (obj.dependencies !== undefined) {
|
|
9783
|
+
const obj_dependencies = obj.dependencies;
|
|
9784
|
+
const path_dependencies = path + '.dependencies';
|
|
9785
|
+
if (!ArrayIsArray(obj_dependencies)) {
|
|
9786
|
+
return new TypeError('Expected "array" but received "' + typeof obj_dependencies + '" (at "' + path_dependencies + '")');
|
|
9787
|
+
}
|
|
9788
|
+
for (let i = 0; i < obj_dependencies.length; i++) {
|
|
9789
|
+
const obj_dependencies_item = obj_dependencies[i];
|
|
9790
|
+
const path_dependencies_item = path_dependencies + '[' + i + ']';
|
|
9791
|
+
const referencepath_dependencies_itemValidationError = validate$8(obj_dependencies_item, path_dependencies_item);
|
|
9792
|
+
if (referencepath_dependencies_itemValidationError !== null) {
|
|
9793
|
+
let message = 'Object doesn\'t match SemanticDependencyOutputRepresentation (at "' + path_dependencies_item + '")\n';
|
|
9794
|
+
message += referencepath_dependencies_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
9795
|
+
return new TypeError(message);
|
|
9796
|
+
}
|
|
9797
|
+
}
|
|
9798
|
+
}
|
|
9799
|
+
if (obj.fieldApiName !== undefined) {
|
|
9800
|
+
const obj_fieldApiName = obj.fieldApiName;
|
|
9801
|
+
const path_fieldApiName = path + '.fieldApiName';
|
|
9802
|
+
if (typeof obj_fieldApiName !== 'string') {
|
|
9803
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldApiName + '" (at "' + path_fieldApiName + '")');
|
|
9804
|
+
}
|
|
9805
|
+
}
|
|
9806
|
+
})();
|
|
9807
|
+
return v_error === undefined ? null : v_error;
|
|
9808
|
+
}
|
|
9809
|
+
const select$j = function SemanticDependencyInnerCollectionOutputRepresentationSelect() {
|
|
9810
|
+
const { selections: SemanticDependencyOutputRepresentation__selections, opaque: SemanticDependencyOutputRepresentation__opaque, } = select$k();
|
|
9811
|
+
return {
|
|
9812
|
+
kind: 'Fragment',
|
|
9813
|
+
version: VERSION$7,
|
|
9814
|
+
private: [],
|
|
9815
|
+
selections: [
|
|
9816
|
+
{
|
|
9817
|
+
name: 'definitionApiName',
|
|
9818
|
+
kind: 'Scalar',
|
|
9819
|
+
required: false
|
|
9820
|
+
},
|
|
9821
|
+
{
|
|
9822
|
+
name: 'dependencies',
|
|
9823
|
+
kind: 'Object',
|
|
9824
|
+
plural: true,
|
|
9825
|
+
selections: SemanticDependencyOutputRepresentation__selections,
|
|
9826
|
+
required: false
|
|
9827
|
+
},
|
|
9828
|
+
{
|
|
9829
|
+
name: 'fieldApiName',
|
|
9830
|
+
kind: 'Scalar',
|
|
9831
|
+
required: false
|
|
9832
|
+
}
|
|
9833
|
+
]
|
|
9834
|
+
};
|
|
9835
|
+
};
|
|
9836
|
+
function equals$7(existing, incoming) {
|
|
9837
|
+
const existing_definitionApiName = existing.definitionApiName;
|
|
9838
|
+
const incoming_definitionApiName = incoming.definitionApiName;
|
|
9839
|
+
// if at least one of these optionals is defined
|
|
9840
|
+
if (existing_definitionApiName !== undefined || incoming_definitionApiName !== undefined) {
|
|
9841
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9842
|
+
// not equal
|
|
9843
|
+
if (existing_definitionApiName === undefined || incoming_definitionApiName === undefined) {
|
|
9844
|
+
return false;
|
|
9845
|
+
}
|
|
9846
|
+
if (!(existing_definitionApiName === incoming_definitionApiName)) {
|
|
9847
|
+
return false;
|
|
9524
9848
|
}
|
|
9525
|
-
|
|
9849
|
+
}
|
|
9850
|
+
const existing_fieldApiName = existing.fieldApiName;
|
|
9851
|
+
const incoming_fieldApiName = incoming.fieldApiName;
|
|
9852
|
+
// if at least one of these optionals is defined
|
|
9853
|
+
if (existing_fieldApiName !== undefined || incoming_fieldApiName !== undefined) {
|
|
9854
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9855
|
+
// not equal
|
|
9856
|
+
if (existing_fieldApiName === undefined || incoming_fieldApiName === undefined) {
|
|
9857
|
+
return false;
|
|
9858
|
+
}
|
|
9859
|
+
if (!(existing_fieldApiName === incoming_fieldApiName)) {
|
|
9860
|
+
return false;
|
|
9861
|
+
}
|
|
9862
|
+
}
|
|
9863
|
+
const existing_dependencies = existing.dependencies;
|
|
9864
|
+
const incoming_dependencies = incoming.dependencies;
|
|
9865
|
+
// if at least one of these optionals is defined
|
|
9866
|
+
if (existing_dependencies !== undefined || incoming_dependencies !== undefined) {
|
|
9867
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9868
|
+
// not equal
|
|
9869
|
+
if (existing_dependencies === undefined || incoming_dependencies === undefined) {
|
|
9870
|
+
return false;
|
|
9871
|
+
}
|
|
9872
|
+
const equals_dependencies_items = equalsArray(existing_dependencies, incoming_dependencies, (existing_dependencies_item, incoming_dependencies_item) => {
|
|
9873
|
+
if (!(equals$8(existing_dependencies_item, incoming_dependencies_item))) {
|
|
9874
|
+
return false;
|
|
9875
|
+
}
|
|
9876
|
+
});
|
|
9877
|
+
if (equals_dependencies_items === false) {
|
|
9878
|
+
return false;
|
|
9879
|
+
}
|
|
9880
|
+
}
|
|
9881
|
+
return true;
|
|
9882
|
+
}
|
|
9883
|
+
|
|
9884
|
+
const VERSION$6 = "e710141192798ab103ce7e9b469baad4";
|
|
9885
|
+
function validate$6(obj, path = 'SemanticDependencyCollectionOutputRepresentation') {
|
|
9886
|
+
const v_error = (() => {
|
|
9887
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9888
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
9889
|
+
}
|
|
9890
|
+
if (obj.item !== undefined) {
|
|
9891
|
+
const obj_item = obj.item;
|
|
9892
|
+
const path_item = path + '.item';
|
|
9893
|
+
if (!ArrayIsArray(obj_item)) {
|
|
9894
|
+
return new TypeError('Expected "array" but received "' + typeof obj_item + '" (at "' + path_item + '")');
|
|
9895
|
+
}
|
|
9896
|
+
for (let i = 0; i < obj_item.length; i++) {
|
|
9897
|
+
const obj_item_item = obj_item[i];
|
|
9898
|
+
const path_item_item = path_item + '[' + i + ']';
|
|
9899
|
+
const referencepath_item_itemValidationError = validate$7(obj_item_item, path_item_item);
|
|
9900
|
+
if (referencepath_item_itemValidationError !== null) {
|
|
9901
|
+
let message = 'Object doesn\'t match SemanticDependencyInnerCollectionOutputRepresentation (at "' + path_item_item + '")\n';
|
|
9902
|
+
message += referencepath_item_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
9903
|
+
return new TypeError(message);
|
|
9904
|
+
}
|
|
9905
|
+
}
|
|
9906
|
+
}
|
|
9907
|
+
})();
|
|
9908
|
+
return v_error === undefined ? null : v_error;
|
|
9909
|
+
}
|
|
9910
|
+
const RepresentationType$5 = 'SemanticDependencyCollectionOutputRepresentation';
|
|
9911
|
+
function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
9912
|
+
return input;
|
|
9913
|
+
}
|
|
9914
|
+
const select$i = function SemanticDependencyCollectionOutputRepresentationSelect() {
|
|
9915
|
+
const { selections: SemanticDependencyInnerCollectionOutputRepresentation__selections, opaque: SemanticDependencyInnerCollectionOutputRepresentation__opaque, } = select$j();
|
|
9916
|
+
return {
|
|
9917
|
+
kind: 'Fragment',
|
|
9918
|
+
version: VERSION$6,
|
|
9919
|
+
private: [],
|
|
9920
|
+
selections: [
|
|
9921
|
+
{
|
|
9922
|
+
name: 'item',
|
|
9923
|
+
kind: 'Object',
|
|
9924
|
+
plural: true,
|
|
9925
|
+
selections: SemanticDependencyInnerCollectionOutputRepresentation__selections,
|
|
9926
|
+
required: false
|
|
9927
|
+
}
|
|
9928
|
+
]
|
|
9526
9929
|
};
|
|
9527
9930
|
};
|
|
9931
|
+
function equals$6(existing, incoming) {
|
|
9932
|
+
const existing_item = existing.item;
|
|
9933
|
+
const incoming_item = incoming.item;
|
|
9934
|
+
// if at least one of these optionals is defined
|
|
9935
|
+
if (existing_item !== undefined || incoming_item !== undefined) {
|
|
9936
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9937
|
+
// not equal
|
|
9938
|
+
if (existing_item === undefined || incoming_item === undefined) {
|
|
9939
|
+
return false;
|
|
9940
|
+
}
|
|
9941
|
+
const equals_item_items = equalsArray(existing_item, incoming_item, (existing_item_item, incoming_item_item) => {
|
|
9942
|
+
if (!(equals$7(existing_item_item, incoming_item_item))) {
|
|
9943
|
+
return false;
|
|
9944
|
+
}
|
|
9945
|
+
});
|
|
9946
|
+
if (equals_item_items === false) {
|
|
9947
|
+
return false;
|
|
9948
|
+
}
|
|
9949
|
+
}
|
|
9950
|
+
return true;
|
|
9951
|
+
}
|
|
9952
|
+
const ingest$5 = function SemanticDependencyCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9953
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
9954
|
+
const validateError = validate$6(input);
|
|
9955
|
+
if (validateError !== null) {
|
|
9956
|
+
throw validateError;
|
|
9957
|
+
}
|
|
9958
|
+
}
|
|
9959
|
+
const key = path.fullPath;
|
|
9960
|
+
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
9961
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SemanticAuthoring", VERSION$6, RepresentationType$5, equals$6);
|
|
9962
|
+
return createLink(key);
|
|
9963
|
+
};
|
|
9964
|
+
function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
9965
|
+
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
9966
|
+
const rootKey = fullPathFactory();
|
|
9967
|
+
rootKeySet.set(rootKey, {
|
|
9968
|
+
namespace: keyPrefix,
|
|
9969
|
+
representationName: RepresentationType$5,
|
|
9970
|
+
mergeable: false
|
|
9971
|
+
});
|
|
9972
|
+
}
|
|
9973
|
+
|
|
9974
|
+
function select$h(luvio, params) {
|
|
9975
|
+
return select$i();
|
|
9976
|
+
}
|
|
9977
|
+
function keyBuilder$j(luvio, params) {
|
|
9978
|
+
return keyPrefix + '::SemanticDependencyCollectionOutputRepresentation:(' + 'types:' + params.queryParams.types + ',' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
|
|
9979
|
+
}
|
|
9980
|
+
function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
|
|
9981
|
+
getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$j(luvio, resourceParams));
|
|
9982
|
+
}
|
|
9983
|
+
function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
|
|
9984
|
+
const { body } = response;
|
|
9985
|
+
const key = keyBuilder$j(luvio, resourceParams);
|
|
9986
|
+
luvio.storeIngest(key, ingest$5, body);
|
|
9987
|
+
const snapshot = luvio.storeLookup({
|
|
9988
|
+
recordId: key,
|
|
9989
|
+
node: select$h(),
|
|
9990
|
+
variables: {},
|
|
9991
|
+
}, snapshotRefresh);
|
|
9992
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
9993
|
+
if (snapshot.state !== 'Fulfilled') {
|
|
9994
|
+
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
9995
|
+
}
|
|
9996
|
+
}
|
|
9997
|
+
deepFreeze(snapshot.data);
|
|
9998
|
+
return snapshot;
|
|
9999
|
+
}
|
|
10000
|
+
function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
10001
|
+
const key = keyBuilder$j(luvio, params);
|
|
10002
|
+
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
10003
|
+
luvio.storeIngestError(key, errorSnapshot);
|
|
10004
|
+
return errorSnapshot;
|
|
10005
|
+
}
|
|
10006
|
+
function createResourceRequest$b(config) {
|
|
10007
|
+
const headers = {};
|
|
10008
|
+
return {
|
|
10009
|
+
baseUri: '/services/data/v63.0',
|
|
10010
|
+
basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/dependencies',
|
|
10011
|
+
method: 'get',
|
|
10012
|
+
body: null,
|
|
10013
|
+
urlParams: config.urlParams,
|
|
10014
|
+
queryParams: config.queryParams,
|
|
10015
|
+
headers,
|
|
10016
|
+
priority: 'normal',
|
|
10017
|
+
};
|
|
10018
|
+
}
|
|
10019
|
+
|
|
10020
|
+
const adapterName$b = 'getLeafDependenciesByTypes';
|
|
10021
|
+
const getLeafDependenciesByTypes_ConfigPropertyMetadata = [
|
|
10022
|
+
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
10023
|
+
generateParamConfigMetadata('types', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
10024
|
+
];
|
|
10025
|
+
const getLeafDependenciesByTypes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getLeafDependenciesByTypes_ConfigPropertyMetadata);
|
|
10026
|
+
const createResourceParams$b = /*#__PURE__*/ createResourceParams$g(getLeafDependenciesByTypes_ConfigPropertyMetadata);
|
|
10027
|
+
function keyBuilder$i(luvio, config) {
|
|
10028
|
+
const resourceParams = createResourceParams$b(config);
|
|
10029
|
+
return keyBuilder$j(luvio, resourceParams);
|
|
10030
|
+
}
|
|
10031
|
+
function typeCheckConfig$b(untrustedConfig) {
|
|
10032
|
+
const config = {};
|
|
10033
|
+
typeCheckConfig$g(untrustedConfig, config, getLeafDependenciesByTypes_ConfigPropertyMetadata);
|
|
10034
|
+
return config;
|
|
10035
|
+
}
|
|
10036
|
+
function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
|
|
10037
|
+
if (!untrustedIsObject(untrustedConfig)) {
|
|
10038
|
+
return null;
|
|
10039
|
+
}
|
|
10040
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
10041
|
+
validateConfig(untrustedConfig, configPropertyNames);
|
|
10042
|
+
}
|
|
10043
|
+
const config = typeCheckConfig$b(untrustedConfig);
|
|
10044
|
+
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
10045
|
+
return null;
|
|
10046
|
+
}
|
|
10047
|
+
return config;
|
|
10048
|
+
}
|
|
10049
|
+
function adapterFragment$9(luvio, config) {
|
|
10050
|
+
createResourceParams$b(config);
|
|
10051
|
+
return select$h();
|
|
10052
|
+
}
|
|
10053
|
+
function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
|
|
10054
|
+
const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
|
|
10055
|
+
config,
|
|
10056
|
+
resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
|
|
10057
|
+
});
|
|
10058
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
10059
|
+
}
|
|
10060
|
+
function onFetchResponseError$9(luvio, config, resourceParams, response) {
|
|
10061
|
+
const snapshot = ingestError$9(luvio, resourceParams, response, {
|
|
10062
|
+
config,
|
|
10063
|
+
resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
|
|
10064
|
+
});
|
|
10065
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
10066
|
+
}
|
|
10067
|
+
function buildNetworkSnapshot$b(luvio, config, options) {
|
|
10068
|
+
const resourceParams = createResourceParams$b(config);
|
|
10069
|
+
const request = createResourceRequest$b(resourceParams);
|
|
10070
|
+
return luvio.dispatchResourceRequest(request, options)
|
|
10071
|
+
.then((response) => {
|
|
10072
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
|
|
10073
|
+
const cache = new StoreKeyMap();
|
|
10074
|
+
getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
|
|
10075
|
+
return cache;
|
|
10076
|
+
});
|
|
10077
|
+
}, (response) => {
|
|
10078
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$9(luvio, config, resourceParams, response));
|
|
10079
|
+
});
|
|
10080
|
+
}
|
|
10081
|
+
function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
|
|
10082
|
+
return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
|
|
10083
|
+
}
|
|
10084
|
+
function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
|
|
10085
|
+
const { luvio, config } = context;
|
|
10086
|
+
const selector = {
|
|
10087
|
+
recordId: keyBuilder$i(luvio, config),
|
|
10088
|
+
node: adapterFragment$9(luvio, config),
|
|
10089
|
+
variables: {},
|
|
10090
|
+
};
|
|
10091
|
+
const cacheSnapshot = storeLookup(selector, {
|
|
10092
|
+
config,
|
|
10093
|
+
resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
|
|
10094
|
+
});
|
|
10095
|
+
return cacheSnapshot;
|
|
10096
|
+
}
|
|
10097
|
+
const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAuthoring__getLeafDependenciesByTypes(untrustedConfig, requestContext) {
|
|
10098
|
+
const config = validateAdapterConfig$b(untrustedConfig, getLeafDependenciesByTypes_ConfigPropertyNames);
|
|
10099
|
+
// Invalid or incomplete config
|
|
10100
|
+
if (config === null) {
|
|
10101
|
+
return null;
|
|
10102
|
+
}
|
|
10103
|
+
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
10104
|
+
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
|
|
10105
|
+
};
|
|
9528
10106
|
|
|
9529
10107
|
function select$g(luvio, params) {
|
|
9530
|
-
return select$
|
|
10108
|
+
return select$r();
|
|
9531
10109
|
}
|
|
9532
10110
|
function keyBuilder$h(luvio, params) {
|
|
9533
|
-
return keyBuilder$
|
|
10111
|
+
return keyBuilder$p(luvio, {
|
|
9534
10112
|
name: params.urlParams.metricNameOrId
|
|
9535
10113
|
});
|
|
9536
10114
|
}
|
|
9537
10115
|
function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
|
|
9538
|
-
getTypeCacheKeys$
|
|
10116
|
+
getTypeCacheKeys$9(storeKeyMap, luvio, response);
|
|
9539
10117
|
}
|
|
9540
10118
|
function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
|
|
9541
10119
|
const { body } = response;
|
|
9542
10120
|
const key = keyBuilder$h(luvio, resourceParams);
|
|
9543
|
-
luvio.storeIngest(key, ingest$
|
|
10121
|
+
luvio.storeIngest(key, ingest$9, body);
|
|
9544
10122
|
const snapshot = luvio.storeLookup({
|
|
9545
10123
|
recordId: key,
|
|
9546
10124
|
node: select$g(),
|
|
@@ -9587,14 +10165,14 @@ const getSemanticMetric_ConfigPropertyMetadata = [
|
|
|
9587
10165
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9588
10166
|
];
|
|
9589
10167
|
const getSemanticMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSemanticMetric_ConfigPropertyMetadata);
|
|
9590
|
-
const createResourceParams$a = /*#__PURE__*/ createResourceParams$
|
|
10168
|
+
const createResourceParams$a = /*#__PURE__*/ createResourceParams$g(getSemanticMetric_ConfigPropertyMetadata);
|
|
9591
10169
|
function keyBuilder$g(luvio, config) {
|
|
9592
10170
|
const resourceParams = createResourceParams$a(config);
|
|
9593
10171
|
return keyBuilder$h(luvio, resourceParams);
|
|
9594
10172
|
}
|
|
9595
10173
|
function typeCheckConfig$a(untrustedConfig) {
|
|
9596
10174
|
const config = {};
|
|
9597
|
-
typeCheckConfig$
|
|
10175
|
+
typeCheckConfig$g(untrustedConfig, config, getSemanticMetric_ConfigPropertyMetadata);
|
|
9598
10176
|
return config;
|
|
9599
10177
|
}
|
|
9600
10178
|
function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
@@ -9643,7 +10221,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
|
|
|
9643
10221
|
});
|
|
9644
10222
|
}
|
|
9645
10223
|
function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
|
|
9646
|
-
return buildNetworkSnapshotCachePolicy$
|
|
10224
|
+
return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
|
|
9647
10225
|
}
|
|
9648
10226
|
function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
|
|
9649
10227
|
const { luvio, config } = context;
|
|
@@ -9669,7 +10247,7 @@ const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
9669
10247
|
};
|
|
9670
10248
|
const notifyChangeFactory$2 = (luvio, options) => {
|
|
9671
10249
|
return function getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrIdNotifyChange(configs) {
|
|
9672
|
-
const keys = configs.map(c => keyBuilder$
|
|
10250
|
+
const keys = configs.map(c => keyBuilder$p(luvio, c));
|
|
9673
10251
|
luvio.getNotifyChangeStoreEntries(keys).then(entries => {
|
|
9674
10252
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
9675
10253
|
const { key, record: val } = entries[i];
|
|
@@ -9678,11 +10256,11 @@ const notifyChangeFactory$2 = (luvio, options) => {
|
|
|
9678
10256
|
.then((response) => {
|
|
9679
10257
|
return luvio.handleSuccessResponse(() => {
|
|
9680
10258
|
const { body } = response;
|
|
9681
|
-
luvio.storeIngest(key, ingest$
|
|
10259
|
+
luvio.storeIngest(key, ingest$9, body);
|
|
9682
10260
|
return luvio.storeBroadcast();
|
|
9683
10261
|
}, () => {
|
|
9684
10262
|
const cache = new StoreKeyMap();
|
|
9685
|
-
getTypeCacheKeys$
|
|
10263
|
+
getTypeCacheKeys$9(cache, luvio, response.body);
|
|
9686
10264
|
return cache;
|
|
9687
10265
|
});
|
|
9688
10266
|
}, (error) => {
|
|
@@ -9728,7 +10306,7 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
|
9728
10306
|
for (let i = 0; i < input_metrics.length; i++) {
|
|
9729
10307
|
const input_metrics_item = input_metrics[i];
|
|
9730
10308
|
let input_metrics_item_id = input_metrics_id + '__' + i;
|
|
9731
|
-
input_metrics[i] = ingest$
|
|
10309
|
+
input_metrics[i] = ingest$9(input_metrics_item, {
|
|
9732
10310
|
fullPath: input_metrics_item_id,
|
|
9733
10311
|
propertyName: i,
|
|
9734
10312
|
parent: {
|
|
@@ -9753,7 +10331,7 @@ const select$f = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
|
9753
10331
|
kind: 'Link',
|
|
9754
10332
|
plural: true,
|
|
9755
10333
|
required: false,
|
|
9756
|
-
fragment: select$
|
|
10334
|
+
fragment: select$r()
|
|
9757
10335
|
}
|
|
9758
10336
|
]
|
|
9759
10337
|
};
|
|
@@ -9802,7 +10380,7 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9802
10380
|
if (input.metrics !== undefined) {
|
|
9803
10381
|
const input_metrics_length = input.metrics.length;
|
|
9804
10382
|
for (let i = 0; i < input_metrics_length; i++) {
|
|
9805
|
-
getTypeCacheKeys$
|
|
10383
|
+
getTypeCacheKeys$9(rootKeySet, luvio, input.metrics[i]);
|
|
9806
10384
|
}
|
|
9807
10385
|
}
|
|
9808
10386
|
}
|
|
@@ -9858,14 +10436,14 @@ const getSemanticMetrics_ConfigPropertyMetadata = [
|
|
|
9858
10436
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9859
10437
|
];
|
|
9860
10438
|
const getSemanticMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSemanticMetrics_ConfigPropertyMetadata);
|
|
9861
|
-
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$
|
|
10439
|
+
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$g(getSemanticMetrics_ConfigPropertyMetadata);
|
|
9862
10440
|
function keyBuilder$e(luvio, config) {
|
|
9863
10441
|
const resourceParams = createResourceParams$9(config);
|
|
9864
10442
|
return keyBuilder$f(luvio, resourceParams);
|
|
9865
10443
|
}
|
|
9866
10444
|
function typeCheckConfig$9(untrustedConfig) {
|
|
9867
10445
|
const config = {};
|
|
9868
|
-
typeCheckConfig$
|
|
10446
|
+
typeCheckConfig$g(untrustedConfig, config, getSemanticMetrics_ConfigPropertyMetadata);
|
|
9869
10447
|
return config;
|
|
9870
10448
|
}
|
|
9871
10449
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -9914,7 +10492,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
|
|
|
9914
10492
|
});
|
|
9915
10493
|
}
|
|
9916
10494
|
function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
|
|
9917
|
-
return buildNetworkSnapshotCachePolicy$
|
|
10495
|
+
return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
|
|
9918
10496
|
}
|
|
9919
10497
|
function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
|
|
9920
10498
|
const { luvio, config } = context;
|
|
@@ -9992,14 +10570,14 @@ const getSemanticMetricsByIds_ConfigPropertyMetadata = [
|
|
|
9992
10570
|
generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9993
10571
|
];
|
|
9994
10572
|
const getSemanticMetricsByIds_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSemanticMetricsByIds_ConfigPropertyMetadata);
|
|
9995
|
-
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$
|
|
10573
|
+
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$g(getSemanticMetricsByIds_ConfigPropertyMetadata);
|
|
9996
10574
|
function keyBuilder$c(luvio, config) {
|
|
9997
10575
|
const resourceParams = createResourceParams$8(config);
|
|
9998
10576
|
return keyBuilder$d(luvio, resourceParams);
|
|
9999
10577
|
}
|
|
10000
10578
|
function typeCheckConfig$8(untrustedConfig) {
|
|
10001
10579
|
const config = {};
|
|
10002
|
-
typeCheckConfig$
|
|
10580
|
+
typeCheckConfig$g(untrustedConfig, config, getSemanticMetricsByIds_ConfigPropertyMetadata);
|
|
10003
10581
|
return config;
|
|
10004
10582
|
}
|
|
10005
10583
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -10048,7 +10626,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
|
|
|
10048
10626
|
});
|
|
10049
10627
|
}
|
|
10050
10628
|
function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
|
|
10051
|
-
return buildNetworkSnapshotCachePolicy$
|
|
10629
|
+
return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
|
|
10052
10630
|
}
|
|
10053
10631
|
function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
|
|
10054
10632
|
const { luvio, config } = context;
|
|
@@ -10111,7 +10689,7 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
|
10111
10689
|
for (let i = 0; i < input_subMetrics.length; i++) {
|
|
10112
10690
|
const input_subMetrics_item = input_subMetrics[i];
|
|
10113
10691
|
let input_subMetrics_item_id = input_subMetrics_id + '__' + i;
|
|
10114
|
-
input_subMetrics[i] = ingest$
|
|
10692
|
+
input_subMetrics[i] = ingest$6(input_subMetrics_item, {
|
|
10115
10693
|
fullPath: input_subMetrics_item_id,
|
|
10116
10694
|
propertyName: i,
|
|
10117
10695
|
parent: {
|
|
@@ -10141,7 +10719,7 @@ const select$c = function SemanticSubMetricsByMetricOutputRepresentationSelect()
|
|
|
10141
10719
|
kind: 'Link',
|
|
10142
10720
|
plural: true,
|
|
10143
10721
|
required: false,
|
|
10144
|
-
fragment: select$
|
|
10722
|
+
fragment: select$m()
|
|
10145
10723
|
}
|
|
10146
10724
|
]
|
|
10147
10725
|
};
|
|
@@ -10203,7 +10781,7 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10203
10781
|
if (input.subMetrics !== undefined) {
|
|
10204
10782
|
const input_subMetrics_length = input.subMetrics.length;
|
|
10205
10783
|
for (let i = 0; i < input_subMetrics_length; i++) {
|
|
10206
|
-
getTypeCacheKeys$
|
|
10784
|
+
getTypeCacheKeys$6(rootKeySet, luvio, input.subMetrics[i]);
|
|
10207
10785
|
}
|
|
10208
10786
|
}
|
|
10209
10787
|
}
|
|
@@ -10370,14 +10948,14 @@ const getSemanticMetricsToSubMetrics_ConfigPropertyMetadata = [
|
|
|
10370
10948
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
10371
10949
|
];
|
|
10372
10950
|
const getSemanticMetricsToSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
|
|
10373
|
-
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$
|
|
10951
|
+
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$g(getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
|
|
10374
10952
|
function keyBuilder$a(luvio, config) {
|
|
10375
10953
|
const resourceParams = createResourceParams$7(config);
|
|
10376
10954
|
return keyBuilder$b(luvio, resourceParams);
|
|
10377
10955
|
}
|
|
10378
10956
|
function typeCheckConfig$7(untrustedConfig) {
|
|
10379
10957
|
const config = {};
|
|
10380
|
-
typeCheckConfig$
|
|
10958
|
+
typeCheckConfig$g(untrustedConfig, config, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
|
|
10381
10959
|
return config;
|
|
10382
10960
|
}
|
|
10383
10961
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -10426,7 +11004,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
|
|
|
10426
11004
|
});
|
|
10427
11005
|
}
|
|
10428
11006
|
function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
|
|
10429
|
-
return buildNetworkSnapshotCachePolicy$
|
|
11007
|
+
return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
|
|
10430
11008
|
}
|
|
10431
11009
|
function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
|
|
10432
11010
|
const { luvio, config } = context;
|
|
@@ -10452,20 +11030,20 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
10452
11030
|
};
|
|
10453
11031
|
|
|
10454
11032
|
function select$9(luvio, params) {
|
|
10455
|
-
return select$
|
|
11033
|
+
return select$o();
|
|
10456
11034
|
}
|
|
10457
11035
|
function keyBuilder$9(luvio, params) {
|
|
10458
|
-
return keyBuilder$
|
|
11036
|
+
return keyBuilder$n(luvio, {
|
|
10459
11037
|
name: params.urlParams.modelApiNameOrId
|
|
10460
11038
|
});
|
|
10461
11039
|
}
|
|
10462
11040
|
function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
10463
|
-
getTypeCacheKeys$
|
|
11041
|
+
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
10464
11042
|
}
|
|
10465
11043
|
function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
|
|
10466
11044
|
const { body } = response;
|
|
10467
11045
|
const key = keyBuilder$9(luvio, resourceParams);
|
|
10468
|
-
luvio.storeIngest(key, ingest$
|
|
11046
|
+
luvio.storeIngest(key, ingest$7, body);
|
|
10469
11047
|
const snapshot = luvio.storeLookup({
|
|
10470
11048
|
recordId: key,
|
|
10471
11049
|
node: select$9(),
|
|
@@ -10515,14 +11093,14 @@ const getSemanticModel_ConfigPropertyMetadata = [
|
|
|
10515
11093
|
generateParamConfigMetadata('includeTableKeys', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
10516
11094
|
];
|
|
10517
11095
|
const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSemanticModel_ConfigPropertyMetadata);
|
|
10518
|
-
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$
|
|
11096
|
+
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$g(getSemanticModel_ConfigPropertyMetadata);
|
|
10519
11097
|
function keyBuilder$8(luvio, config) {
|
|
10520
11098
|
const resourceParams = createResourceParams$6(config);
|
|
10521
11099
|
return keyBuilder$9(luvio, resourceParams);
|
|
10522
11100
|
}
|
|
10523
11101
|
function typeCheckConfig$6(untrustedConfig) {
|
|
10524
11102
|
const config = {};
|
|
10525
|
-
typeCheckConfig$
|
|
11103
|
+
typeCheckConfig$g(untrustedConfig, config, getSemanticModel_ConfigPropertyMetadata);
|
|
10526
11104
|
return config;
|
|
10527
11105
|
}
|
|
10528
11106
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -10571,7 +11149,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
|
|
|
10571
11149
|
});
|
|
10572
11150
|
}
|
|
10573
11151
|
function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
|
|
10574
|
-
return buildNetworkSnapshotCachePolicy$
|
|
11152
|
+
return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
|
|
10575
11153
|
}
|
|
10576
11154
|
function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
|
|
10577
11155
|
const { luvio, config } = context;
|
|
@@ -10597,7 +11175,7 @@ const getSemanticModelAdapterFactory = (luvio) => function SemanticAuthoring__ge
|
|
|
10597
11175
|
};
|
|
10598
11176
|
const notifyChangeFactory$1 = (luvio, options) => {
|
|
10599
11177
|
return function getSsotSemanticModelsByModelApiNameOrIdNotifyChange(configs) {
|
|
10600
|
-
const keys = configs.map(c => keyBuilder$
|
|
11178
|
+
const keys = configs.map(c => keyBuilder$n(luvio, c));
|
|
10601
11179
|
luvio.getNotifyChangeStoreEntries(keys).then(entries => {
|
|
10602
11180
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
10603
11181
|
const { key, record: val } = entries[i];
|
|
@@ -10606,11 +11184,11 @@ const notifyChangeFactory$1 = (luvio, options) => {
|
|
|
10606
11184
|
.then((response) => {
|
|
10607
11185
|
return luvio.handleSuccessResponse(() => {
|
|
10608
11186
|
const { body } = response;
|
|
10609
|
-
luvio.storeIngest(key, ingest$
|
|
11187
|
+
luvio.storeIngest(key, ingest$7, body);
|
|
10610
11188
|
return luvio.storeBroadcast();
|
|
10611
11189
|
}, () => {
|
|
10612
11190
|
const cache = new StoreKeyMap();
|
|
10613
|
-
getTypeCacheKeys$
|
|
11191
|
+
getTypeCacheKeys$7(cache, luvio, response.body);
|
|
10614
11192
|
return cache;
|
|
10615
11193
|
});
|
|
10616
11194
|
}, (error) => {
|
|
@@ -10659,7 +11237,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
10659
11237
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
10660
11238
|
const obj_baseModels_item = obj_baseModels[i];
|
|
10661
11239
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
10662
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
11240
|
+
const referencepath_baseModels_itemValidationError = validate$F(obj_baseModels_item, path_baseModels_item);
|
|
10663
11241
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
10664
11242
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
10665
11243
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10831,7 +11409,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
10831
11409
|
return v_error === undefined ? null : v_error;
|
|
10832
11410
|
}
|
|
10833
11411
|
const select$8 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
10834
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
11412
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$L();
|
|
10835
11413
|
return {
|
|
10836
11414
|
kind: 'Fragment',
|
|
10837
11415
|
version: VERSION$2,
|
|
@@ -11202,7 +11780,7 @@ function equals$2(existing, incoming) {
|
|
|
11202
11780
|
return false;
|
|
11203
11781
|
}
|
|
11204
11782
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
11205
|
-
if (!(equals$
|
|
11783
|
+
if (!(equals$x(existing_baseModels_item, incoming_baseModels_item))) {
|
|
11206
11784
|
return false;
|
|
11207
11785
|
}
|
|
11208
11786
|
});
|
|
@@ -11559,14 +12137,14 @@ const getSemanticModels_ConfigPropertyMetadata = [
|
|
|
11559
12137
|
generateParamConfigMetadata('sourceCreationName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
11560
12138
|
];
|
|
11561
12139
|
const getSemanticModels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSemanticModels_ConfigPropertyMetadata);
|
|
11562
|
-
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$
|
|
12140
|
+
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$g(getSemanticModels_ConfigPropertyMetadata);
|
|
11563
12141
|
function keyBuilder$6(luvio, config) {
|
|
11564
12142
|
const resourceParams = createResourceParams$5(config);
|
|
11565
12143
|
return keyBuilder$7(luvio, resourceParams);
|
|
11566
12144
|
}
|
|
11567
12145
|
function typeCheckConfig$5(untrustedConfig) {
|
|
11568
12146
|
const config = {};
|
|
11569
|
-
typeCheckConfig$
|
|
12147
|
+
typeCheckConfig$g(untrustedConfig, config, getSemanticModels_ConfigPropertyMetadata);
|
|
11570
12148
|
return config;
|
|
11571
12149
|
}
|
|
11572
12150
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -11615,7 +12193,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
|
|
|
11615
12193
|
});
|
|
11616
12194
|
}
|
|
11617
12195
|
function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
|
|
11618
|
-
return buildNetworkSnapshotCachePolicy$
|
|
12196
|
+
return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
|
|
11619
12197
|
}
|
|
11620
12198
|
function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
11621
12199
|
const { luvio, config } = context;
|
|
@@ -11641,20 +12219,20 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
11641
12219
|
};
|
|
11642
12220
|
|
|
11643
12221
|
function select$5(luvio, params) {
|
|
11644
|
-
return select$
|
|
12222
|
+
return select$m();
|
|
11645
12223
|
}
|
|
11646
12224
|
function keyBuilder$5(luvio, params) {
|
|
11647
|
-
return keyBuilder$
|
|
12225
|
+
return keyBuilder$m(luvio, {
|
|
11648
12226
|
name: params.urlParams.subMetricNameOrId
|
|
11649
12227
|
});
|
|
11650
12228
|
}
|
|
11651
12229
|
function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
|
|
11652
|
-
getTypeCacheKeys$
|
|
12230
|
+
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
11653
12231
|
}
|
|
11654
12232
|
function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
|
|
11655
12233
|
const { body } = response;
|
|
11656
12234
|
const key = keyBuilder$5(luvio, resourceParams);
|
|
11657
|
-
luvio.storeIngest(key, ingest$
|
|
12235
|
+
luvio.storeIngest(key, ingest$6, body);
|
|
11658
12236
|
const snapshot = luvio.storeLookup({
|
|
11659
12237
|
recordId: key,
|
|
11660
12238
|
node: select$5(),
|
|
@@ -11701,14 +12279,14 @@ const getSemanticSubMetric_ConfigPropertyMetadata = [
|
|
|
11701
12279
|
generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
11702
12280
|
];
|
|
11703
12281
|
const getSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSemanticSubMetric_ConfigPropertyMetadata);
|
|
11704
|
-
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$
|
|
12282
|
+
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$g(getSemanticSubMetric_ConfigPropertyMetadata);
|
|
11705
12283
|
function keyBuilder$4(luvio, config) {
|
|
11706
12284
|
const resourceParams = createResourceParams$4(config);
|
|
11707
12285
|
return keyBuilder$5(luvio, resourceParams);
|
|
11708
12286
|
}
|
|
11709
12287
|
function typeCheckConfig$4(untrustedConfig) {
|
|
11710
12288
|
const config = {};
|
|
11711
|
-
typeCheckConfig$
|
|
12289
|
+
typeCheckConfig$g(untrustedConfig, config, getSemanticSubMetric_ConfigPropertyMetadata);
|
|
11712
12290
|
return config;
|
|
11713
12291
|
}
|
|
11714
12292
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -11757,7 +12335,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
|
|
|
11757
12335
|
});
|
|
11758
12336
|
}
|
|
11759
12337
|
function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
|
|
11760
|
-
return buildNetworkSnapshotCachePolicy$
|
|
12338
|
+
return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
|
|
11761
12339
|
}
|
|
11762
12340
|
function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
|
|
11763
12341
|
const { luvio, config } = context;
|
|
@@ -11783,7 +12361,7 @@ const getSemanticSubMetricAdapterFactory = (luvio) => function SemanticAuthoring
|
|
|
11783
12361
|
};
|
|
11784
12362
|
const notifyChangeFactory = (luvio, options) => {
|
|
11785
12363
|
return function getSsotSemanticModelsSubMetricsByModelApiNameOrIdAndSubMetricNameOrIdNotifyChange(configs) {
|
|
11786
|
-
const keys = configs.map(c => keyBuilder$
|
|
12364
|
+
const keys = configs.map(c => keyBuilder$m(luvio, c));
|
|
11787
12365
|
luvio.getNotifyChangeStoreEntries(keys).then(entries => {
|
|
11788
12366
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
11789
12367
|
const { key, record: val } = entries[i];
|
|
@@ -11792,11 +12370,11 @@ const notifyChangeFactory = (luvio, options) => {
|
|
|
11792
12370
|
.then((response) => {
|
|
11793
12371
|
return luvio.handleSuccessResponse(() => {
|
|
11794
12372
|
const { body } = response;
|
|
11795
|
-
luvio.storeIngest(key, ingest$
|
|
12373
|
+
luvio.storeIngest(key, ingest$6, body);
|
|
11796
12374
|
return luvio.storeBroadcast();
|
|
11797
12375
|
}, () => {
|
|
11798
12376
|
const cache = new StoreKeyMap();
|
|
11799
|
-
getTypeCacheKeys$
|
|
12377
|
+
getTypeCacheKeys$6(cache, luvio, response.body);
|
|
11800
12378
|
return cache;
|
|
11801
12379
|
});
|
|
11802
12380
|
}, (error) => {
|
|
@@ -11842,7 +12420,7 @@ function normalize(input, existing, path, luvio, store, timestamp) {
|
|
|
11842
12420
|
for (let i = 0; i < input_items.length; i++) {
|
|
11843
12421
|
const input_items_item = input_items[i];
|
|
11844
12422
|
let input_items_item_id = input_items_id + '__' + i;
|
|
11845
|
-
input_items[i] = ingest$
|
|
12423
|
+
input_items[i] = ingest$6(input_items_item, {
|
|
11846
12424
|
fullPath: input_items_item_id,
|
|
11847
12425
|
propertyName: i,
|
|
11848
12426
|
parent: {
|
|
@@ -11867,7 +12445,7 @@ const select$4 = function SemanticSubMetricCollectionOutputRepresentationSelect(
|
|
|
11867
12445
|
kind: 'Link',
|
|
11868
12446
|
plural: true,
|
|
11869
12447
|
required: false,
|
|
11870
|
-
fragment: select$
|
|
12448
|
+
fragment: select$m()
|
|
11871
12449
|
}
|
|
11872
12450
|
]
|
|
11873
12451
|
};
|
|
@@ -11916,7 +12494,7 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
11916
12494
|
if (input.items !== undefined) {
|
|
11917
12495
|
const input_items_length = input.items.length;
|
|
11918
12496
|
for (let i = 0; i < input_items_length; i++) {
|
|
11919
|
-
getTypeCacheKeys$
|
|
12497
|
+
getTypeCacheKeys$6(rootKeySet, luvio, input.items[i]);
|
|
11920
12498
|
}
|
|
11921
12499
|
}
|
|
11922
12500
|
}
|
|
@@ -11973,14 +12551,14 @@ const getSemanticSubMetrics_ConfigPropertyMetadata = [
|
|
|
11973
12551
|
generateParamConfigMetadata('hasGoal', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
11974
12552
|
];
|
|
11975
12553
|
const getSemanticSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSemanticSubMetrics_ConfigPropertyMetadata);
|
|
11976
|
-
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$
|
|
12554
|
+
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$g(getSemanticSubMetrics_ConfigPropertyMetadata);
|
|
11977
12555
|
function keyBuilder$2(luvio, config) {
|
|
11978
12556
|
const resourceParams = createResourceParams$3(config);
|
|
11979
12557
|
return keyBuilder$3(luvio, resourceParams);
|
|
11980
12558
|
}
|
|
11981
12559
|
function typeCheckConfig$3(untrustedConfig) {
|
|
11982
12560
|
const config = {};
|
|
11983
|
-
typeCheckConfig$
|
|
12561
|
+
typeCheckConfig$g(untrustedConfig, config, getSemanticSubMetrics_ConfigPropertyMetadata);
|
|
11984
12562
|
return config;
|
|
11985
12563
|
}
|
|
11986
12564
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -12029,7 +12607,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
|
|
|
12029
12607
|
});
|
|
12030
12608
|
}
|
|
12031
12609
|
function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
|
|
12032
|
-
return buildNetworkSnapshotCachePolicy$
|
|
12610
|
+
return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
|
|
12033
12611
|
}
|
|
12034
12612
|
function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
|
|
12035
12613
|
const { luvio, config } = context;
|
|
@@ -12058,7 +12636,7 @@ function select$2(luvio, params) {
|
|
|
12058
12636
|
return select$4();
|
|
12059
12637
|
}
|
|
12060
12638
|
function keyBuilder$1(luvio, params) {
|
|
12061
|
-
return keyPrefix + '::SemanticSubMetricCollectionOutputRepresentation:(' + 'subMetricIds:' + params.urlParams.subMetricIds + ')';
|
|
12639
|
+
return keyPrefix + '::SemanticSubMetricCollectionOutputRepresentation:(' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'subMetricIds:' + params.urlParams.subMetricIds + ')';
|
|
12062
12640
|
}
|
|
12063
12641
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
12064
12642
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -12094,7 +12672,7 @@ function createResourceRequest$2(config) {
|
|
|
12094
12672
|
method: 'get',
|
|
12095
12673
|
body: null,
|
|
12096
12674
|
urlParams: config.urlParams,
|
|
12097
|
-
queryParams:
|
|
12675
|
+
queryParams: config.queryParams,
|
|
12098
12676
|
headers,
|
|
12099
12677
|
priority: 'normal',
|
|
12100
12678
|
};
|
|
@@ -12103,16 +12681,18 @@ function createResourceRequest$2(config) {
|
|
|
12103
12681
|
const adapterName$2 = 'getSemanticSubMetricsById';
|
|
12104
12682
|
const getSemanticSubMetricsById_ConfigPropertyMetadata = [
|
|
12105
12683
|
generateParamConfigMetadata('subMetricIds', true, 0 /* UrlParameter */, 0 /* String */),
|
|
12684
|
+
generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
12685
|
+
generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
|
|
12106
12686
|
];
|
|
12107
12687
|
const getSemanticSubMetricsById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSemanticSubMetricsById_ConfigPropertyMetadata);
|
|
12108
|
-
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$
|
|
12688
|
+
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$g(getSemanticSubMetricsById_ConfigPropertyMetadata);
|
|
12109
12689
|
function keyBuilder(luvio, config) {
|
|
12110
12690
|
const resourceParams = createResourceParams$2(config);
|
|
12111
12691
|
return keyBuilder$1(luvio, resourceParams);
|
|
12112
12692
|
}
|
|
12113
12693
|
function typeCheckConfig$2(untrustedConfig) {
|
|
12114
12694
|
const config = {};
|
|
12115
|
-
typeCheckConfig$
|
|
12695
|
+
typeCheckConfig$g(untrustedConfig, config, getSemanticSubMetricsById_ConfigPropertyMetadata);
|
|
12116
12696
|
return config;
|
|
12117
12697
|
}
|
|
12118
12698
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -12161,7 +12741,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
|
|
|
12161
12741
|
});
|
|
12162
12742
|
}
|
|
12163
12743
|
function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
|
|
12164
|
-
return buildNetworkSnapshotCachePolicy$
|
|
12744
|
+
return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
|
|
12165
12745
|
}
|
|
12166
12746
|
function buildCachedSnapshotCachePolicy(context, storeLookup) {
|
|
12167
12747
|
const { luvio, config } = context;
|
|
@@ -12187,15 +12767,15 @@ const getSemanticSubMetricsByIdAdapterFactory = (luvio) => function SemanticAuth
|
|
|
12187
12767
|
};
|
|
12188
12768
|
|
|
12189
12769
|
function select$1(luvio, params) {
|
|
12190
|
-
return select$
|
|
12770
|
+
return select$m();
|
|
12191
12771
|
}
|
|
12192
12772
|
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
12193
|
-
getTypeCacheKeys$
|
|
12773
|
+
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
12194
12774
|
}
|
|
12195
12775
|
function ingestSuccess$1(luvio, resourceParams, response) {
|
|
12196
12776
|
const { body } = response;
|
|
12197
12777
|
const key = keyBuilderFromType(luvio, body);
|
|
12198
|
-
luvio.storeIngest(key, ingest$
|
|
12778
|
+
luvio.storeIngest(key, ingest$6, body);
|
|
12199
12779
|
const snapshot = luvio.storeLookup({
|
|
12200
12780
|
recordId: key,
|
|
12201
12781
|
node: select$1(),
|
|
@@ -12231,16 +12811,16 @@ const patchSemanticMetricGoal_ConfigPropertyMetadata = [
|
|
|
12231
12811
|
generateParamConfigMetadata('statusConditions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12232
12812
|
];
|
|
12233
12813
|
const patchSemanticMetricGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, patchSemanticMetricGoal_ConfigPropertyMetadata);
|
|
12234
|
-
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$
|
|
12814
|
+
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$g(patchSemanticMetricGoal_ConfigPropertyMetadata);
|
|
12235
12815
|
function typeCheckConfig$1(untrustedConfig) {
|
|
12236
12816
|
const config = {};
|
|
12237
|
-
typeCheckConfig$
|
|
12817
|
+
typeCheckConfig$g(untrustedConfig, config, patchSemanticMetricGoal_ConfigPropertyMetadata);
|
|
12238
12818
|
const untrustedConfig_statusConditions = untrustedConfig.statusConditions;
|
|
12239
12819
|
if (ArrayIsArray$1(untrustedConfig_statusConditions)) {
|
|
12240
12820
|
const untrustedConfig_statusConditions_array = [];
|
|
12241
12821
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
12242
12822
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
12243
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
12823
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$f(untrustedConfig_statusConditions_item);
|
|
12244
12824
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
12245
12825
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
12246
12826
|
}
|
|
@@ -12292,15 +12872,15 @@ const patchSemanticMetricGoalAdapterFactory = (luvio) => {
|
|
|
12292
12872
|
};
|
|
12293
12873
|
|
|
12294
12874
|
function select(luvio, params) {
|
|
12295
|
-
return select$
|
|
12875
|
+
return select$o();
|
|
12296
12876
|
}
|
|
12297
12877
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
12298
|
-
getTypeCacheKeys$
|
|
12878
|
+
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
12299
12879
|
}
|
|
12300
12880
|
function ingestSuccess(luvio, resourceParams, response) {
|
|
12301
12881
|
const { body } = response;
|
|
12302
12882
|
const key = keyBuilderFromType$1(luvio, body);
|
|
12303
|
-
luvio.storeIngest(key, ingest$
|
|
12883
|
+
luvio.storeIngest(key, ingest$7, body);
|
|
12304
12884
|
const snapshot = luvio.storeLookup({
|
|
12305
12885
|
recordId: key,
|
|
12306
12886
|
node: select(),
|
|
@@ -12351,16 +12931,16 @@ const patchSemanticModel_ConfigPropertyMetadata = [
|
|
|
12351
12931
|
generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12352
12932
|
];
|
|
12353
12933
|
const patchSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, patchSemanticModel_ConfigPropertyMetadata);
|
|
12354
|
-
const createResourceParams = /*#__PURE__*/ createResourceParams$
|
|
12934
|
+
const createResourceParams = /*#__PURE__*/ createResourceParams$g(patchSemanticModel_ConfigPropertyMetadata);
|
|
12355
12935
|
function typeCheckConfig(untrustedConfig) {
|
|
12356
12936
|
const config = {};
|
|
12357
|
-
typeCheckConfig$
|
|
12937
|
+
typeCheckConfig$g(untrustedConfig, config, patchSemanticModel_ConfigPropertyMetadata);
|
|
12358
12938
|
const untrustedConfig_baseModels = untrustedConfig.baseModels;
|
|
12359
12939
|
if (ArrayIsArray$1(untrustedConfig_baseModels)) {
|
|
12360
12940
|
const untrustedConfig_baseModels_array = [];
|
|
12361
12941
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
12362
12942
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
12363
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
12943
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$11(untrustedConfig_baseModels_item);
|
|
12364
12944
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
12365
12945
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
12366
12946
|
}
|
|
@@ -12372,7 +12952,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12372
12952
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
12373
12953
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
12374
12954
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
12375
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
12955
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedDimensions_item);
|
|
12376
12956
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
12377
12957
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
12378
12958
|
}
|
|
@@ -12384,7 +12964,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12384
12964
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
12385
12965
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
12386
12966
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
12387
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
12967
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12388
12968
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
12389
12969
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12390
12970
|
}
|
|
@@ -12396,7 +12976,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12396
12976
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
12397
12977
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
12398
12978
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
12399
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
12979
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$X(untrustedConfig_semanticDataObjects_item);
|
|
12400
12980
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
12401
12981
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
12402
12982
|
}
|
|
@@ -12408,7 +12988,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12408
12988
|
const untrustedConfig_semanticGroupings_array = [];
|
|
12409
12989
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
12410
12990
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
12411
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
12991
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$Q(untrustedConfig_semanticGroupings_item);
|
|
12412
12992
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
12413
12993
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
12414
12994
|
}
|
|
@@ -12420,7 +13000,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12420
13000
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
12421
13001
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
12422
13002
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
12423
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
13003
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$L(untrustedConfig_semanticLogicalViews_item);
|
|
12424
13004
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
12425
13005
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
12426
13006
|
}
|
|
@@ -12432,7 +13012,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12432
13012
|
const untrustedConfig_semanticMetrics_array = [];
|
|
12433
13013
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
12434
13014
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
12435
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
13015
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$H(untrustedConfig_semanticMetrics_item);
|
|
12436
13016
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
12437
13017
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
12438
13018
|
}
|
|
@@ -12444,7 +13024,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12444
13024
|
const untrustedConfig_semanticParameters_array = [];
|
|
12445
13025
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
12446
13026
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
12447
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
13027
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$G(untrustedConfig_semanticParameters_item);
|
|
12448
13028
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
12449
13029
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
12450
13030
|
}
|
|
@@ -12456,7 +13036,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12456
13036
|
const untrustedConfig_semanticRelationships_array = [];
|
|
12457
13037
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
12458
13038
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
12459
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
13039
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$O(untrustedConfig_semanticRelationships_item);
|
|
12460
13040
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
12461
13041
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
12462
13042
|
}
|
|
@@ -12511,6 +13091,7 @@ let createSemanticModel;
|
|
|
12511
13091
|
let createSemanticSubMetric;
|
|
12512
13092
|
let deleteGoalFromSubMetric;
|
|
12513
13093
|
let deleteSemanticSubMetric;
|
|
13094
|
+
let getLeafDependenciesByTypes;
|
|
12514
13095
|
let getSemanticMetric;
|
|
12515
13096
|
let getSemanticMetricNotifyChange;
|
|
12516
13097
|
let getSemanticMetrics;
|
|
@@ -12526,6 +13107,7 @@ let getSemanticSubMetricsById;
|
|
|
12526
13107
|
let patchSemanticMetricGoal;
|
|
12527
13108
|
let patchSemanticModel;
|
|
12528
13109
|
// Imperative GET Adapters
|
|
13110
|
+
let getLeafDependenciesByTypes_imperative;
|
|
12529
13111
|
let getSemanticMetric_imperative;
|
|
12530
13112
|
let getSemanticMetrics_imperative;
|
|
12531
13113
|
let getSemanticMetricsByIds_imperative;
|
|
@@ -12535,6 +13117,10 @@ let getSemanticModels_imperative;
|
|
|
12535
13117
|
let getSemanticSubMetric_imperative;
|
|
12536
13118
|
let getSemanticSubMetrics_imperative;
|
|
12537
13119
|
let getSemanticSubMetricsById_imperative;
|
|
13120
|
+
const getLeafDependenciesByTypesMetadata = {
|
|
13121
|
+
apiFamily: 'SemanticAuthoring',
|
|
13122
|
+
name: 'getLeafDependenciesByTypes',
|
|
13123
|
+
};
|
|
12538
13124
|
const getSemanticMetricMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticMetric' };
|
|
12539
13125
|
const getSemanticMetricsMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticMetrics' };
|
|
12540
13126
|
const getSemanticMetricsByIdsMetadata = {
|
|
@@ -12562,6 +13148,7 @@ const getSemanticSubMetricsByIdMetadata = {
|
|
|
12562
13148
|
// Notify Update Available
|
|
12563
13149
|
function bindExportsTo(luvio) {
|
|
12564
13150
|
// LDS Adapters
|
|
13151
|
+
const getLeafDependenciesByTypes_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLeafDependenciesByTypes', getLeafDependenciesByTypesAdapterFactory), getLeafDependenciesByTypesMetadata);
|
|
12565
13152
|
const getSemanticMetric_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticMetric', getSemanticMetricAdapterFactory), getSemanticMetricMetadata);
|
|
12566
13153
|
const getSemanticMetrics_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticMetrics', getSemanticMetricsAdapterFactory), getSemanticMetricsMetadata);
|
|
12567
13154
|
const getSemanticMetricsByIds_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticMetricsByIds', getSemanticMetricsByIdsAdapterFactory), getSemanticMetricsByIdsMetadata);
|
|
@@ -12578,8 +13165,9 @@ function bindExportsTo(luvio) {
|
|
|
12578
13165
|
return {
|
|
12579
13166
|
createSemanticModel: unwrapSnapshotData(createSemanticModelAdapterFactory),
|
|
12580
13167
|
createSemanticSubMetric: unwrapSnapshotData(createSemanticSubMetricAdapterFactory),
|
|
12581
|
-
deleteGoalFromSubMetric: createLDSAdapter(luvio, adapterName$
|
|
12582
|
-
deleteSemanticSubMetric: createLDSAdapter(luvio, adapterName$
|
|
13168
|
+
deleteGoalFromSubMetric: createLDSAdapter(luvio, adapterName$d, deleteGoalFromSubMetricAdapterFactory),
|
|
13169
|
+
deleteSemanticSubMetric: createLDSAdapter(luvio, adapterName$c, deleteSemanticSubMetricAdapterFactory),
|
|
13170
|
+
getLeafDependenciesByTypes: createWireAdapterConstructor(luvio, getLeafDependenciesByTypes_ldsAdapter, getLeafDependenciesByTypesMetadata),
|
|
12583
13171
|
getSemanticMetric: createWireAdapterConstructor(luvio, getSemanticMetric_ldsAdapter, getSemanticMetricMetadata),
|
|
12584
13172
|
getSemanticMetricNotifyChange: createLDSAdapter(luvio, 'getSemanticMetricNotifyChange', notifyChangeFactory$2),
|
|
12585
13173
|
getSemanticMetrics: createWireAdapterConstructor(luvio, getSemanticMetrics_ldsAdapter, getSemanticMetricsMetadata),
|
|
@@ -12595,6 +13183,7 @@ function bindExportsTo(luvio) {
|
|
|
12595
13183
|
patchSemanticMetricGoal: unwrapSnapshotData(patchSemanticMetricGoalAdapterFactory),
|
|
12596
13184
|
patchSemanticModel: unwrapSnapshotData(patchSemanticModelAdapterFactory),
|
|
12597
13185
|
// Imperative GET Adapters
|
|
13186
|
+
getLeafDependenciesByTypes_imperative: createImperativeAdapter(luvio, getLeafDependenciesByTypes_ldsAdapter, getLeafDependenciesByTypesMetadata),
|
|
12598
13187
|
getSemanticMetric_imperative: createImperativeAdapter(luvio, getSemanticMetric_ldsAdapter, getSemanticMetricMetadata),
|
|
12599
13188
|
getSemanticMetrics_imperative: createImperativeAdapter(luvio, getSemanticMetrics_ldsAdapter, getSemanticMetricsMetadata),
|
|
12600
13189
|
getSemanticMetricsByIds_imperative: createImperativeAdapter(luvio, getSemanticMetricsByIds_ldsAdapter, getSemanticMetricsByIdsMetadata),
|
|
@@ -12613,6 +13202,7 @@ withDefaultLuvio((luvio) => {
|
|
|
12613
13202
|
createSemanticSubMetric,
|
|
12614
13203
|
deleteGoalFromSubMetric,
|
|
12615
13204
|
deleteSemanticSubMetric,
|
|
13205
|
+
getLeafDependenciesByTypes,
|
|
12616
13206
|
getSemanticMetric,
|
|
12617
13207
|
getSemanticMetricNotifyChange,
|
|
12618
13208
|
getSemanticMetrics,
|
|
@@ -12627,6 +13217,7 @@ withDefaultLuvio((luvio) => {
|
|
|
12627
13217
|
getSemanticSubMetricsById,
|
|
12628
13218
|
patchSemanticMetricGoal,
|
|
12629
13219
|
patchSemanticModel,
|
|
13220
|
+
getLeafDependenciesByTypes_imperative,
|
|
12630
13221
|
getSemanticMetric_imperative,
|
|
12631
13222
|
getSemanticMetrics_imperative,
|
|
12632
13223
|
getSemanticMetricsByIds_imperative,
|
|
@@ -12639,5 +13230,5 @@ withDefaultLuvio((luvio) => {
|
|
|
12639
13230
|
} = bindExportsTo(luvio));
|
|
12640
13231
|
});
|
|
12641
13232
|
|
|
12642
|
-
export { createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticSubMetric, 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 };
|
|
12643
|
-
// version: 1.332.0-
|
|
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 };
|
|
13234
|
+
// version: 1.332.0-dev8-41f1196a17
|