@salesforce/lds-adapters-cdp-semantic-authoring 1.354.0-dev4 → 1.354.0-dev6
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 +447 -601
- package/dist/es/es2018/types/src/generated/types/SemanticDependencyCollectionOutputRepresentation.d.ts +5 -4
- package/dist/es/es2018/types/src/generated/types/SemanticDependencyInnerCollectionOutputRepresentation.d.ts +12 -3
- package/dist/es/es2018/types/src/generated/types/SemanticDependencyOutputRepresentation.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/types/SemanticFilterInputRepresentation.d.ts +5 -2
- package/dist/es/es2018/types/src/generated/types/SemanticFilterOutputRepresentation.d.ts +5 -2
- package/package.json +3 -3
- package/sfdc/index.js +460 -613
- package/src/raml/api.raml +16 -2
- package/src/raml/luvio.raml +6 -0
package/sfdc/index.js
CHANGED
|
@@ -102,7 +102,7 @@ function createLink(ref) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
function validate$
|
|
105
|
+
function validate$19(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
|
|
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 + '")');
|
|
@@ -125,7 +125,7 @@ function validate$1a(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
|
|
|
125
125
|
return v_error === undefined ? null : v_error;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
function validate$
|
|
128
|
+
function validate$18(obj, path = 'SemanticGoalStatusConditionInputRepresentation') {
|
|
129
129
|
const v_error = (() => {
|
|
130
130
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
131
131
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -176,7 +176,7 @@ function validate$19(obj, path = 'SemanticGoalStatusConditionInputRepresentation
|
|
|
176
176
|
return v_error === undefined ? null : v_error;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
function validate$
|
|
179
|
+
function validate$17(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
|
|
180
180
|
const v_error = (() => {
|
|
181
181
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
182
182
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -195,7 +195,7 @@ function validate$18(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
|
|
|
195
195
|
return v_error === undefined ? null : v_error;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
function validate$
|
|
198
|
+
function validate$16(obj, path = 'SemanticGoalStatusConditionOutputRepresentation') {
|
|
199
199
|
const v_error = (() => {
|
|
200
200
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
201
201
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -236,8 +236,8 @@ function validate$17(obj, path = 'SemanticGoalStatusConditionOutputRepresentatio
|
|
|
236
236
|
return v_error === undefined ? null : v_error;
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
const VERSION$
|
|
240
|
-
function validate$
|
|
239
|
+
const VERSION$z = "a6367e92be7c02cf72fcdd9bad3cf81d";
|
|
240
|
+
function validate$15(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
241
241
|
const v_error = (() => {
|
|
242
242
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
243
243
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -273,7 +273,7 @@ function validate$16(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
|
273
273
|
}
|
|
274
274
|
const obj_dateRange = obj.dateRange;
|
|
275
275
|
const path_dateRange = path + '.dateRange';
|
|
276
|
-
const referencepath_dateRangeValidationError = validate$
|
|
276
|
+
const referencepath_dateRangeValidationError = validate$17(obj_dateRange, path_dateRange);
|
|
277
277
|
if (referencepath_dateRangeValidationError !== null) {
|
|
278
278
|
let message = 'Object doesn\'t match SemanticGoalDateRangeOutputRepresentation (at "' + path_dateRange + '")\n';
|
|
279
279
|
message += referencepath_dateRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -325,7 +325,7 @@ function validate$16(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
|
325
325
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
326
326
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
327
327
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
328
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
328
|
+
const referencepath_statusConditions_itemValidationError = validate$16(obj_statusConditions_item, path_statusConditions_item);
|
|
329
329
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
330
330
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
331
331
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -355,15 +355,15 @@ function keyBuilderFromType$c(luvio, object) {
|
|
|
355
355
|
function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
356
356
|
return input;
|
|
357
357
|
}
|
|
358
|
-
const select$
|
|
358
|
+
const select$Q = function SemanticGoalOutputRepresentationSelect() {
|
|
359
359
|
return {
|
|
360
360
|
kind: 'Fragment',
|
|
361
|
-
version: VERSION$
|
|
361
|
+
version: VERSION$z,
|
|
362
362
|
private: [],
|
|
363
363
|
opaque: true
|
|
364
364
|
};
|
|
365
365
|
};
|
|
366
|
-
function equals$
|
|
366
|
+
function equals$z(existing, incoming) {
|
|
367
367
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
368
368
|
return false;
|
|
369
369
|
}
|
|
@@ -371,14 +371,14 @@ function equals$B(existing, incoming) {
|
|
|
371
371
|
}
|
|
372
372
|
const ingest$i = function SemanticGoalOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
373
373
|
if (process.env.NODE_ENV !== 'production') {
|
|
374
|
-
const validateError = validate$
|
|
374
|
+
const validateError = validate$15(input);
|
|
375
375
|
if (validateError !== null) {
|
|
376
376
|
throw validateError;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
const key = keyBuilderFromType$c(luvio, input);
|
|
380
380
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
381
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$
|
|
381
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$z, RepresentationType$i, equals$z);
|
|
382
382
|
return createLink(key);
|
|
383
383
|
};
|
|
384
384
|
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -391,8 +391,8 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
391
391
|
});
|
|
392
392
|
}
|
|
393
393
|
|
|
394
|
-
function select$
|
|
395
|
-
return select$
|
|
394
|
+
function select$P(luvio, params) {
|
|
395
|
+
return select$Q();
|
|
396
396
|
}
|
|
397
397
|
function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
|
|
398
398
|
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
@@ -403,7 +403,7 @@ function ingestSuccess$g(luvio, resourceParams, response) {
|
|
|
403
403
|
luvio.storeIngest(key, ingest$i, body);
|
|
404
404
|
const snapshot = luvio.storeLookup({
|
|
405
405
|
recordId: key,
|
|
406
|
-
node: select$
|
|
406
|
+
node: select$P(),
|
|
407
407
|
variables: {},
|
|
408
408
|
});
|
|
409
409
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -445,7 +445,7 @@ function typeCheckConfig$j(untrustedConfig) {
|
|
|
445
445
|
const config = {};
|
|
446
446
|
typeCheckConfig$k(untrustedConfig, config, createSemanticGoal_ConfigPropertyMetadata);
|
|
447
447
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
448
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
448
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$19(untrustedConfig_dateRange);
|
|
449
449
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
450
450
|
config.dateRange = untrustedConfig_dateRange;
|
|
451
451
|
}
|
|
@@ -454,7 +454,7 @@ function typeCheckConfig$j(untrustedConfig) {
|
|
|
454
454
|
const untrustedConfig_statusConditions_array = [];
|
|
455
455
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
456
456
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
457
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
457
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$18(untrustedConfig_statusConditions_item);
|
|
458
458
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
459
459
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
460
460
|
}
|
|
@@ -505,7 +505,7 @@ const createSemanticGoalAdapterFactory = (luvio) => {
|
|
|
505
505
|
};
|
|
506
506
|
};
|
|
507
507
|
|
|
508
|
-
function validate$
|
|
508
|
+
function validate$14(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
509
509
|
const v_error = (() => {
|
|
510
510
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
511
511
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -521,7 +521,7 @@ function validate$15(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
521
521
|
return v_error === undefined ? null : v_error;
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
function validate$
|
|
524
|
+
function validate$13(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation') {
|
|
525
525
|
const v_error = (() => {
|
|
526
526
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
527
527
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -550,7 +550,7 @@ function validate$14(obj, path = 'SemanticModelExternalConnectionTableauPublishe
|
|
|
550
550
|
return v_error === undefined ? null : v_error;
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
function validate$
|
|
553
|
+
function validate$12(obj, path = 'SemanticModelExternalConnectionInputRepresentation') {
|
|
554
554
|
const v_error = (() => {
|
|
555
555
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
556
556
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -570,7 +570,7 @@ function validate$13(obj, path = 'SemanticModelExternalConnectionInputRepresenta
|
|
|
570
570
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
571
571
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
572
572
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
573
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
573
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$13(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
574
574
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
575
575
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
576
576
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -586,7 +586,7 @@ function validate$13(obj, path = 'SemanticModelExternalConnectionInputRepresenta
|
|
|
586
586
|
return v_error === undefined ? null : v_error;
|
|
587
587
|
}
|
|
588
588
|
|
|
589
|
-
function validate$
|
|
589
|
+
function validate$11(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
590
590
|
const v_error = (() => {
|
|
591
591
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
592
592
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -616,7 +616,7 @@ function validate$12(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
|
616
616
|
return v_error === undefined ? null : v_error;
|
|
617
617
|
}
|
|
618
618
|
|
|
619
|
-
function validate$
|
|
619
|
+
function validate$10(obj, path = 'SemanticFilterInputRepresentation') {
|
|
620
620
|
const v_error = (() => {
|
|
621
621
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
622
622
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -642,11 +642,25 @@ function validate$11(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
642
642
|
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
|
+
if (obj.values !== undefined) {
|
|
646
|
+
const obj_values = obj.values;
|
|
647
|
+
const path_values = path + '.values';
|
|
648
|
+
if (!ArrayIsArray(obj_values)) {
|
|
649
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
650
|
+
}
|
|
651
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
652
|
+
const obj_values_item = obj_values[i];
|
|
653
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
654
|
+
if (typeof obj_values_item !== 'string') {
|
|
655
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
}
|
|
645
659
|
})();
|
|
646
660
|
return v_error === undefined ? null : v_error;
|
|
647
661
|
}
|
|
648
662
|
|
|
649
|
-
function validate
|
|
663
|
+
function validate$$(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
650
664
|
const v_error = (() => {
|
|
651
665
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
652
666
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -709,7 +723,7 @@ function validate$10(obj, path = 'SemanticCalculatedDimensionInputRepresentation
|
|
|
709
723
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
710
724
|
const obj_filters_item = obj_filters[i];
|
|
711
725
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
712
|
-
const referencepath_filters_itemValidationError = validate$
|
|
726
|
+
const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
|
|
713
727
|
if (referencepath_filters_itemValidationError !== null) {
|
|
714
728
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
715
729
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -763,7 +777,7 @@ function validate$10(obj, path = 'SemanticCalculatedDimensionInputRepresentation
|
|
|
763
777
|
return v_error === undefined ? null : v_error;
|
|
764
778
|
}
|
|
765
779
|
|
|
766
|
-
function validate
|
|
780
|
+
function validate$_(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
767
781
|
const v_error = (() => {
|
|
768
782
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
769
783
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -840,7 +854,7 @@ function validate$$(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
840
854
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
841
855
|
const obj_filters_item = obj_filters[i];
|
|
842
856
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
843
|
-
const referencepath_filters_itemValidationError = validate$
|
|
857
|
+
const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
|
|
844
858
|
if (referencepath_filters_itemValidationError !== null) {
|
|
845
859
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
846
860
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -915,7 +929,7 @@ function validate$$(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
915
929
|
return v_error === undefined ? null : v_error;
|
|
916
930
|
}
|
|
917
931
|
|
|
918
|
-
function validate$
|
|
932
|
+
function validate$Z(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
919
933
|
const v_error = (() => {
|
|
920
934
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
921
935
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -994,7 +1008,7 @@ function validate$_(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
994
1008
|
return v_error === undefined ? null : v_error;
|
|
995
1009
|
}
|
|
996
1010
|
|
|
997
|
-
function validate$
|
|
1011
|
+
function validate$Y(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
998
1012
|
const v_error = (() => {
|
|
999
1013
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1000
1014
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1101,7 +1115,7 @@ function validate$Z(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
1101
1115
|
return v_error === undefined ? null : v_error;
|
|
1102
1116
|
}
|
|
1103
1117
|
|
|
1104
|
-
function validate$
|
|
1118
|
+
function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
1105
1119
|
const v_error = (() => {
|
|
1106
1120
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1107
1121
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1150,7 +1164,7 @@ function validate$Y(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1150
1164
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1151
1165
|
const obj_filters_item = obj_filters[i];
|
|
1152
1166
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1153
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1167
|
+
const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
|
|
1154
1168
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1155
1169
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1156
1170
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1181,7 +1195,7 @@ function validate$Y(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1181
1195
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
1182
1196
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
1183
1197
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
1184
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
1198
|
+
const referencepath_semanticDimensions_itemValidationError = validate$Z(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
1185
1199
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
1186
1200
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
1187
1201
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1198,7 +1212,7 @@ function validate$Y(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1198
1212
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
1199
1213
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
1200
1214
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
1201
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
1215
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$Y(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
1202
1216
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
1203
1217
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
1204
1218
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1224,7 +1238,7 @@ function validate$Y(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1224
1238
|
return v_error === undefined ? null : v_error;
|
|
1225
1239
|
}
|
|
1226
1240
|
|
|
1227
|
-
function validate$
|
|
1241
|
+
function validate$W(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
1228
1242
|
const v_error = (() => {
|
|
1229
1243
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1230
1244
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1236,7 +1250,7 @@ function validate$X(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
1236
1250
|
return v_error === undefined ? null : v_error;
|
|
1237
1251
|
}
|
|
1238
1252
|
|
|
1239
|
-
function validate$
|
|
1253
|
+
function validate$V(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
1240
1254
|
const v_error = (() => {
|
|
1241
1255
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1242
1256
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1266,7 +1280,7 @@ function validate$W(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
1266
1280
|
return v_error === undefined ? null : v_error;
|
|
1267
1281
|
}
|
|
1268
1282
|
|
|
1269
|
-
function validate$
|
|
1283
|
+
function validate$U(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
1270
1284
|
const v_error = (() => {
|
|
1271
1285
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1272
1286
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1280,7 +1294,7 @@ function validate$V(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1280
1294
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
1281
1295
|
const obj_groups_item = obj_groups[i];
|
|
1282
1296
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
1283
|
-
const referencepath_groups_itemValidationError = validate$
|
|
1297
|
+
const referencepath_groups_itemValidationError = validate$V(obj_groups_item, path_groups_item);
|
|
1284
1298
|
if (referencepath_groups_itemValidationError !== null) {
|
|
1285
1299
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
1286
1300
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1299,7 +1313,7 @@ function validate$V(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1299
1313
|
return v_error === undefined ? null : v_error;
|
|
1300
1314
|
}
|
|
1301
1315
|
|
|
1302
|
-
function validate$
|
|
1316
|
+
function validate$T(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
1303
1317
|
const v_error = (() => {
|
|
1304
1318
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1305
1319
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1307,7 +1321,7 @@ function validate$U(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1307
1321
|
if (obj.binDimension !== undefined) {
|
|
1308
1322
|
const obj_binDimension = obj.binDimension;
|
|
1309
1323
|
const path_binDimension = path + '.binDimension';
|
|
1310
|
-
const referencepath_binDimensionValidationError = validate$
|
|
1324
|
+
const referencepath_binDimensionValidationError = validate$W(obj_binDimension, path_binDimension);
|
|
1311
1325
|
if (referencepath_binDimensionValidationError !== null) {
|
|
1312
1326
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
1313
1327
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1317,7 +1331,7 @@ function validate$U(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1317
1331
|
if (obj.groupDimension !== undefined) {
|
|
1318
1332
|
const obj_groupDimension = obj.groupDimension;
|
|
1319
1333
|
const path_groupDimension = path + '.groupDimension';
|
|
1320
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
1334
|
+
const referencepath_groupDimensionValidationError = validate$U(obj_groupDimension, path_groupDimension);
|
|
1321
1335
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
1322
1336
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
1323
1337
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1328,7 +1342,7 @@ function validate$U(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1328
1342
|
return v_error === undefined ? null : v_error;
|
|
1329
1343
|
}
|
|
1330
1344
|
|
|
1331
|
-
function validate$
|
|
1345
|
+
function validate$S(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
1332
1346
|
const v_error = (() => {
|
|
1333
1347
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1334
1348
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1351,7 +1365,7 @@ function validate$T(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
1351
1365
|
return v_error === undefined ? null : v_error;
|
|
1352
1366
|
}
|
|
1353
1367
|
|
|
1354
|
-
function validate$
|
|
1368
|
+
function validate$R(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
1355
1369
|
const v_error = (() => {
|
|
1356
1370
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1357
1371
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1366,7 +1380,7 @@ function validate$S(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1366
1380
|
if (obj.tableFieldReference !== undefined) {
|
|
1367
1381
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
1368
1382
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
1369
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
1383
|
+
const referencepath_tableFieldReferenceValidationError = validate$S(obj_tableFieldReference, path_tableFieldReference);
|
|
1370
1384
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
1371
1385
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
1372
1386
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1377,7 +1391,7 @@ function validate$S(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1377
1391
|
return v_error === undefined ? null : v_error;
|
|
1378
1392
|
}
|
|
1379
1393
|
|
|
1380
|
-
function validate$
|
|
1394
|
+
function validate$Q(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
1381
1395
|
const v_error = (() => {
|
|
1382
1396
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1383
1397
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1392,7 +1406,7 @@ function validate$R(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1392
1406
|
if (obj.configuration !== undefined) {
|
|
1393
1407
|
const obj_configuration = obj.configuration;
|
|
1394
1408
|
const path_configuration = path + '.configuration';
|
|
1395
|
-
const referencepath_configurationValidationError = validate$
|
|
1409
|
+
const referencepath_configurationValidationError = validate$T(obj_configuration, path_configuration);
|
|
1396
1410
|
if (referencepath_configurationValidationError !== null) {
|
|
1397
1411
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
1398
1412
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1409,7 +1423,7 @@ function validate$R(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1409
1423
|
if (obj.fieldReference !== undefined) {
|
|
1410
1424
|
const obj_fieldReference = obj.fieldReference;
|
|
1411
1425
|
const path_fieldReference = path + '.fieldReference';
|
|
1412
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
1426
|
+
const referencepath_fieldReferenceValidationError = validate$R(obj_fieldReference, path_fieldReference);
|
|
1413
1427
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
1414
1428
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
1415
1429
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1434,7 +1448,7 @@ function validate$R(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1434
1448
|
return v_error === undefined ? null : v_error;
|
|
1435
1449
|
}
|
|
1436
1450
|
|
|
1437
|
-
function validate$
|
|
1451
|
+
function validate$P(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
1438
1452
|
const v_error = (() => {
|
|
1439
1453
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1440
1454
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1478,7 +1492,7 @@ function validate$Q(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
1478
1492
|
return v_error === undefined ? null : v_error;
|
|
1479
1493
|
}
|
|
1480
1494
|
|
|
1481
|
-
function validate$
|
|
1495
|
+
function validate$O(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
1482
1496
|
const v_error = (() => {
|
|
1483
1497
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1484
1498
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1506,7 +1520,7 @@ function validate$P(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1506
1520
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
1507
1521
|
const obj_criteria_item = obj_criteria[i];
|
|
1508
1522
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
1509
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
1523
|
+
const referencepath_criteria_itemValidationError = validate$P(obj_criteria_item, path_criteria_item);
|
|
1510
1524
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
1511
1525
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
1512
1526
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1567,7 +1581,7 @@ function validate$P(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1567
1581
|
return v_error === undefined ? null : v_error;
|
|
1568
1582
|
}
|
|
1569
1583
|
|
|
1570
|
-
function validate$
|
|
1584
|
+
function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
1571
1585
|
const v_error = (() => {
|
|
1572
1586
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1573
1587
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1595,7 +1609,7 @@ function validate$O(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1595
1609
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
1596
1610
|
const obj_fields_item = obj_fields[i];
|
|
1597
1611
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
1598
|
-
const referencepath_fields_itemValidationError = validate$
|
|
1612
|
+
const referencepath_fields_itemValidationError = validate$S(obj_fields_item, path_fields_item);
|
|
1599
1613
|
if (referencepath_fields_itemValidationError !== null) {
|
|
1600
1614
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
1601
1615
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1620,7 +1634,7 @@ function validate$O(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1620
1634
|
if (obj.semanticDimension !== undefined) {
|
|
1621
1635
|
const obj_semanticDimension = obj.semanticDimension;
|
|
1622
1636
|
const path_semanticDimension = path + '.semanticDimension';
|
|
1623
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
1637
|
+
const referencepath_semanticDimensionValidationError = validate$Z(obj_semanticDimension, path_semanticDimension);
|
|
1624
1638
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
1625
1639
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
1626
1640
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1630,7 +1644,7 @@ function validate$O(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1630
1644
|
if (obj.semanticMeasurement !== undefined) {
|
|
1631
1645
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
1632
1646
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
1633
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
1647
|
+
const referencepath_semanticMeasurementValidationError = validate$Y(obj_semanticMeasurement, path_semanticMeasurement);
|
|
1634
1648
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
1635
1649
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
1636
1650
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1641,7 +1655,7 @@ function validate$O(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1641
1655
|
return v_error === undefined ? null : v_error;
|
|
1642
1656
|
}
|
|
1643
1657
|
|
|
1644
|
-
function validate$
|
|
1658
|
+
function validate$M(obj, path = 'SemanticUnionInputRepresentation') {
|
|
1645
1659
|
const v_error = (() => {
|
|
1646
1660
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1647
1661
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1676,7 +1690,7 @@ function validate$N(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1676
1690
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1677
1691
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1678
1692
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1679
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1693
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$X(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1680
1694
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1681
1695
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1682
1696
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1693,7 +1707,7 @@ function validate$N(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1693
1707
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
1694
1708
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
1695
1709
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
1696
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
1710
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$N(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
1697
1711
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
1698
1712
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
1699
1713
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1705,7 +1719,7 @@ function validate$N(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1705
1719
|
return v_error === undefined ? null : v_error;
|
|
1706
1720
|
}
|
|
1707
1721
|
|
|
1708
|
-
function validate$
|
|
1722
|
+
function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
1709
1723
|
const v_error = (() => {
|
|
1710
1724
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1711
1725
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1747,7 +1761,7 @@ function validate$M(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1747
1761
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1748
1762
|
const obj_filters_item = obj_filters[i];
|
|
1749
1763
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1750
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1764
|
+
const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
|
|
1751
1765
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1752
1766
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1753
1767
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1771,7 +1785,7 @@ function validate$M(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1771
1785
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1772
1786
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1773
1787
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1774
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1788
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$X(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1775
1789
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1776
1790
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1777
1791
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1788,7 +1802,7 @@ function validate$M(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1788
1802
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
1789
1803
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
1790
1804
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
1791
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
1805
|
+
const referencepath_semanticRelationships_itemValidationError = validate$O(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
1792
1806
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
1793
1807
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
1794
1808
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1805,7 +1819,7 @@ function validate$M(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1805
1819
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
1806
1820
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
1807
1821
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
1808
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
1822
|
+
const referencepath_semanticUnions_itemValidationError = validate$M(obj_semanticUnions_item, path_semanticUnions_item);
|
|
1809
1823
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
1810
1824
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
1811
1825
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1824,7 +1838,7 @@ function validate$M(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1824
1838
|
return v_error === undefined ? null : v_error;
|
|
1825
1839
|
}
|
|
1826
1840
|
|
|
1827
|
-
function validate$
|
|
1841
|
+
function validate$K(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
1828
1842
|
const v_error = (() => {
|
|
1829
1843
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1830
1844
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1832,7 +1846,7 @@ function validate$L(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1832
1846
|
if (obj.identifierDimensionReference !== undefined) {
|
|
1833
1847
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
1834
1848
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
1835
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
1849
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$R(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
1836
1850
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
1837
1851
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
1838
1852
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1842,7 +1856,7 @@ function validate$L(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1842
1856
|
if (obj.namingDimensionReference !== undefined) {
|
|
1843
1857
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
1844
1858
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
1845
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
1859
|
+
const referencepath_namingDimensionReferenceValidationError = validate$R(obj_namingDimensionReference, path_namingDimensionReference);
|
|
1846
1860
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
1847
1861
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
1848
1862
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1853,7 +1867,7 @@ function validate$L(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1853
1867
|
return v_error === undefined ? null : v_error;
|
|
1854
1868
|
}
|
|
1855
1869
|
|
|
1856
|
-
function validate$
|
|
1870
|
+
function validate$J(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
1857
1871
|
const v_error = (() => {
|
|
1858
1872
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1859
1873
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1876,7 +1890,7 @@ function validate$K(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
1876
1890
|
return v_error === undefined ? null : v_error;
|
|
1877
1891
|
}
|
|
1878
1892
|
|
|
1879
|
-
function validate$
|
|
1893
|
+
function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
1880
1894
|
const v_error = (() => {
|
|
1881
1895
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1882
1896
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1884,7 +1898,7 @@ function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1884
1898
|
if (obj.identifyingDimension !== undefined) {
|
|
1885
1899
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
1886
1900
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
1887
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
1901
|
+
const referencepath_identifyingDimensionValidationError = validate$K(obj_identifyingDimension, path_identifyingDimension);
|
|
1888
1902
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
1889
1903
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
1890
1904
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1900,7 +1914,7 @@ function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1900
1914
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
1901
1915
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
1902
1916
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
1903
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
1917
|
+
const referencepath_insightTypes_itemValidationError = validate$J(obj_insightTypes_item, path_insightTypes_item);
|
|
1904
1918
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
1905
1919
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
1906
1920
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1917,7 +1931,7 @@ function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1917
1931
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
1918
1932
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
1919
1933
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
1920
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
1934
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$R(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
1921
1935
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
1922
1936
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
1923
1937
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1950,7 +1964,7 @@ function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1950
1964
|
return v_error === undefined ? null : v_error;
|
|
1951
1965
|
}
|
|
1952
1966
|
|
|
1953
|
-
function validate$
|
|
1967
|
+
function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
1954
1968
|
const v_error = (() => {
|
|
1955
1969
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1956
1970
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1964,7 +1978,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1964
1978
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
1965
1979
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
1966
1980
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
1967
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
1981
|
+
const referencepath_additionalDimensions_itemValidationError = validate$R(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
1968
1982
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
1969
1983
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
1970
1984
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2009,7 +2023,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2009
2023
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2010
2024
|
const obj_filters_item = obj_filters[i];
|
|
2011
2025
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2012
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2026
|
+
const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
|
|
2013
2027
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2014
2028
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2015
2029
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2020,7 +2034,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2020
2034
|
if (obj.insightsSettings !== undefined) {
|
|
2021
2035
|
const obj_insightsSettings = obj.insightsSettings;
|
|
2022
2036
|
const path_insightsSettings = path + '.insightsSettings';
|
|
2023
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
2037
|
+
const referencepath_insightsSettingsValidationError = validate$I(obj_insightsSettings, path_insightsSettings);
|
|
2024
2038
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
2025
2039
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
2026
2040
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2044,7 +2058,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2044
2058
|
if (obj.measurementReference !== undefined) {
|
|
2045
2059
|
const obj_measurementReference = obj.measurementReference;
|
|
2046
2060
|
const path_measurementReference = path + '.measurementReference';
|
|
2047
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
2061
|
+
const referencepath_measurementReferenceValidationError = validate$R(obj_measurementReference, path_measurementReference);
|
|
2048
2062
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
2049
2063
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
2050
2064
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2054,7 +2068,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2054
2068
|
if (obj.timeDimensionReference !== undefined) {
|
|
2055
2069
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
2056
2070
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
2057
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
2071
|
+
const referencepath_timeDimensionReferenceValidationError = validate$R(obj_timeDimensionReference, path_timeDimensionReference);
|
|
2058
2072
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
2059
2073
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
2060
2074
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2079,7 +2093,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2079
2093
|
return v_error === undefined ? null : v_error;
|
|
2080
2094
|
}
|
|
2081
2095
|
|
|
2082
|
-
function validate$
|
|
2096
|
+
function validate$G(obj, path = 'SemanticParameterInputRepresentation') {
|
|
2083
2097
|
const v_error = (() => {
|
|
2084
2098
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2085
2099
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2179,8 +2193,8 @@ function validate$H(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
2179
2193
|
return v_error === undefined ? null : v_error;
|
|
2180
2194
|
}
|
|
2181
2195
|
|
|
2182
|
-
const VERSION$
|
|
2183
|
-
function validate$
|
|
2196
|
+
const VERSION$y = "3a32d382e7a2268096278aa8e5c6761a";
|
|
2197
|
+
function validate$F(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
2184
2198
|
const v_error = (() => {
|
|
2185
2199
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2186
2200
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2200,10 +2214,10 @@ function validate$G(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
|
2200
2214
|
})();
|
|
2201
2215
|
return v_error === undefined ? null : v_error;
|
|
2202
2216
|
}
|
|
2203
|
-
const select$
|
|
2217
|
+
const select$O = function SemanticBaseModelOutputRepresentationSelect() {
|
|
2204
2218
|
return {
|
|
2205
2219
|
kind: 'Fragment',
|
|
2206
|
-
version: VERSION$
|
|
2220
|
+
version: VERSION$y,
|
|
2207
2221
|
private: [],
|
|
2208
2222
|
selections: [
|
|
2209
2223
|
{
|
|
@@ -2218,7 +2232,7 @@ const select$Q = function SemanticBaseModelOutputRepresentationSelect() {
|
|
|
2218
2232
|
]
|
|
2219
2233
|
};
|
|
2220
2234
|
};
|
|
2221
|
-
function equals$
|
|
2235
|
+
function equals$y(existing, incoming) {
|
|
2222
2236
|
const existing_apiName = existing.apiName;
|
|
2223
2237
|
const incoming_apiName = incoming.apiName;
|
|
2224
2238
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -2240,8 +2254,8 @@ function equals$A(existing, incoming) {
|
|
|
2240
2254
|
return true;
|
|
2241
2255
|
}
|
|
2242
2256
|
|
|
2243
|
-
const VERSION$
|
|
2244
|
-
function validate$
|
|
2257
|
+
const VERSION$x = "221b0931360d7fcb0a1402b0b82071bd";
|
|
2258
|
+
function validate$E(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation') {
|
|
2245
2259
|
const v_error = (() => {
|
|
2246
2260
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2247
2261
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2269,10 +2283,10 @@ function validate$F(obj, path = 'SemanticModelExternalConnectionTableauPublished
|
|
|
2269
2283
|
})();
|
|
2270
2284
|
return v_error === undefined ? null : v_error;
|
|
2271
2285
|
}
|
|
2272
|
-
const select$
|
|
2286
|
+
const select$N = function SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentationSelect() {
|
|
2273
2287
|
return {
|
|
2274
2288
|
kind: 'Fragment',
|
|
2275
|
-
version: VERSION$
|
|
2289
|
+
version: VERSION$x,
|
|
2276
2290
|
private: [],
|
|
2277
2291
|
selections: [
|
|
2278
2292
|
{
|
|
@@ -2294,7 +2308,7 @@ const select$P = function SemanticModelExternalConnectionTableauPublishedDataSou
|
|
|
2294
2308
|
]
|
|
2295
2309
|
};
|
|
2296
2310
|
};
|
|
2297
|
-
function equals$
|
|
2311
|
+
function equals$x(existing, incoming) {
|
|
2298
2312
|
const existing_dataSourceId = existing.dataSourceId;
|
|
2299
2313
|
const incoming_dataSourceId = incoming.dataSourceId;
|
|
2300
2314
|
if (!(existing_dataSourceId === incoming_dataSourceId)) {
|
|
@@ -2318,8 +2332,8 @@ function equals$z(existing, incoming) {
|
|
|
2318
2332
|
return true;
|
|
2319
2333
|
}
|
|
2320
2334
|
|
|
2321
|
-
const VERSION$
|
|
2322
|
-
function validate$
|
|
2335
|
+
const VERSION$w = "e760a2becca995f7bd15e714d50c088c";
|
|
2336
|
+
function validate$D(obj, path = 'SemanticModelExternalConnectionOutputRepresentation') {
|
|
2323
2337
|
const v_error = (() => {
|
|
2324
2338
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2325
2339
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2351,7 +2365,7 @@ function validate$E(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
2351
2365
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
2352
2366
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
2353
2367
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
2354
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
2368
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$E(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
2355
2369
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
2356
2370
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
2357
2371
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2366,11 +2380,11 @@ function validate$E(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
2366
2380
|
})();
|
|
2367
2381
|
return v_error === undefined ? null : v_error;
|
|
2368
2382
|
}
|
|
2369
|
-
const select$
|
|
2370
|
-
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$
|
|
2383
|
+
const select$M = function SemanticModelExternalConnectionOutputRepresentationSelect() {
|
|
2384
|
+
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$N();
|
|
2371
2385
|
return {
|
|
2372
2386
|
kind: 'Fragment',
|
|
2373
|
-
version: VERSION$
|
|
2387
|
+
version: VERSION$w,
|
|
2374
2388
|
private: [],
|
|
2375
2389
|
selections: [
|
|
2376
2390
|
{
|
|
@@ -2404,7 +2418,7 @@ const select$O = function SemanticModelExternalConnectionOutputRepresentationSel
|
|
|
2404
2418
|
]
|
|
2405
2419
|
};
|
|
2406
2420
|
};
|
|
2407
|
-
function equals$
|
|
2421
|
+
function equals$w(existing, incoming) {
|
|
2408
2422
|
const existing_apiName = existing.apiName;
|
|
2409
2423
|
const incoming_apiName = incoming.apiName;
|
|
2410
2424
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -2455,15 +2469,15 @@ function equals$y(existing, incoming) {
|
|
|
2455
2469
|
if (existing_tableauPublishedDataSource === undefined || incoming_tableauPublishedDataSource === undefined) {
|
|
2456
2470
|
return false;
|
|
2457
2471
|
}
|
|
2458
|
-
if (!(equals$
|
|
2472
|
+
if (!(equals$x(existing_tableauPublishedDataSource, incoming_tableauPublishedDataSource))) {
|
|
2459
2473
|
return false;
|
|
2460
2474
|
}
|
|
2461
2475
|
}
|
|
2462
2476
|
return true;
|
|
2463
2477
|
}
|
|
2464
2478
|
|
|
2465
|
-
const VERSION$
|
|
2466
|
-
function validate$
|
|
2479
|
+
const VERSION$v = "6f06bef394bf9744da80affc7b8109c6";
|
|
2480
|
+
function validate$C(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
2467
2481
|
const v_error = (() => {
|
|
2468
2482
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2469
2483
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2503,10 +2517,10 @@ function validate$D(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
|
2503
2517
|
})();
|
|
2504
2518
|
return v_error === undefined ? null : v_error;
|
|
2505
2519
|
}
|
|
2506
|
-
const select$
|
|
2520
|
+
const select$L = function SemanticOverrideOutputRepresentationSelect() {
|
|
2507
2521
|
return {
|
|
2508
2522
|
kind: 'Fragment',
|
|
2509
|
-
version: VERSION$
|
|
2523
|
+
version: VERSION$v,
|
|
2510
2524
|
private: [],
|
|
2511
2525
|
selections: [
|
|
2512
2526
|
{
|
|
@@ -2537,7 +2551,7 @@ const select$N = function SemanticOverrideOutputRepresentationSelect() {
|
|
|
2537
2551
|
]
|
|
2538
2552
|
};
|
|
2539
2553
|
};
|
|
2540
|
-
function equals$
|
|
2554
|
+
function equals$v(existing, incoming) {
|
|
2541
2555
|
const existing_entityFqn = existing.entityFqn;
|
|
2542
2556
|
const incoming_entityFqn = incoming.entityFqn;
|
|
2543
2557
|
if (!(existing_entityFqn === incoming_entityFqn)) {
|
|
@@ -2579,8 +2593,8 @@ function equals$x(existing, incoming) {
|
|
|
2579
2593
|
return true;
|
|
2580
2594
|
}
|
|
2581
2595
|
|
|
2582
|
-
const VERSION$
|
|
2583
|
-
function validate$
|
|
2596
|
+
const VERSION$u = "358bb714d100a35ad75fc928fa462760";
|
|
2597
|
+
function validate$B(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
2584
2598
|
const v_error = (() => {
|
|
2585
2599
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2586
2600
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2606,13 +2620,27 @@ function validate$C(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
|
2606
2620
|
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
2607
2621
|
}
|
|
2608
2622
|
}
|
|
2623
|
+
if (obj.values !== undefined) {
|
|
2624
|
+
const obj_values = obj.values;
|
|
2625
|
+
const path_values = path + '.values';
|
|
2626
|
+
if (!ArrayIsArray(obj_values)) {
|
|
2627
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
2628
|
+
}
|
|
2629
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
2630
|
+
const obj_values_item = obj_values[i];
|
|
2631
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
2632
|
+
if (typeof obj_values_item !== 'string') {
|
|
2633
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
2634
|
+
}
|
|
2635
|
+
}
|
|
2636
|
+
}
|
|
2609
2637
|
})();
|
|
2610
2638
|
return v_error === undefined ? null : v_error;
|
|
2611
2639
|
}
|
|
2612
|
-
const select$
|
|
2640
|
+
const select$K = function SemanticFilterOutputRepresentationSelect() {
|
|
2613
2641
|
return {
|
|
2614
2642
|
kind: 'Fragment',
|
|
2615
|
-
version: VERSION$
|
|
2643
|
+
version: VERSION$u,
|
|
2616
2644
|
private: [],
|
|
2617
2645
|
selections: [
|
|
2618
2646
|
{
|
|
@@ -2629,11 +2657,17 @@ const select$M = function SemanticFilterOutputRepresentationSelect() {
|
|
|
2629
2657
|
name: 'value',
|
|
2630
2658
|
kind: 'Scalar',
|
|
2631
2659
|
required: false
|
|
2660
|
+
},
|
|
2661
|
+
{
|
|
2662
|
+
name: 'values',
|
|
2663
|
+
kind: 'Scalar',
|
|
2664
|
+
plural: true,
|
|
2665
|
+
required: false
|
|
2632
2666
|
}
|
|
2633
2667
|
]
|
|
2634
2668
|
};
|
|
2635
2669
|
};
|
|
2636
|
-
function equals$
|
|
2670
|
+
function equals$u(existing, incoming) {
|
|
2637
2671
|
const existing_fieldName = existing.fieldName;
|
|
2638
2672
|
const incoming_fieldName = incoming.fieldName;
|
|
2639
2673
|
// if at least one of these optionals is defined
|
|
@@ -2673,11 +2707,29 @@ function equals$w(existing, incoming) {
|
|
|
2673
2707
|
return false;
|
|
2674
2708
|
}
|
|
2675
2709
|
}
|
|
2710
|
+
const existing_values = existing.values;
|
|
2711
|
+
const incoming_values = incoming.values;
|
|
2712
|
+
// if at least one of these optionals is defined
|
|
2713
|
+
if (existing_values !== undefined || incoming_values !== undefined) {
|
|
2714
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2715
|
+
// not equal
|
|
2716
|
+
if (existing_values === undefined || incoming_values === undefined) {
|
|
2717
|
+
return false;
|
|
2718
|
+
}
|
|
2719
|
+
const equals_values_items = equalsArray(existing_values, incoming_values, (existing_values_item, incoming_values_item) => {
|
|
2720
|
+
if (!(existing_values_item === incoming_values_item)) {
|
|
2721
|
+
return false;
|
|
2722
|
+
}
|
|
2723
|
+
});
|
|
2724
|
+
if (equals_values_items === false) {
|
|
2725
|
+
return false;
|
|
2726
|
+
}
|
|
2727
|
+
}
|
|
2676
2728
|
return true;
|
|
2677
2729
|
}
|
|
2678
2730
|
|
|
2679
|
-
const VERSION$
|
|
2680
|
-
function validate$
|
|
2731
|
+
const VERSION$t = "2ad1227d8439240d2dfe130b651f8a81";
|
|
2732
|
+
function validate$A(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
2681
2733
|
const v_error = (() => {
|
|
2682
2734
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2683
2735
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2776,7 +2828,7 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2776
2828
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2777
2829
|
const obj_filters_item = obj_filters[i];
|
|
2778
2830
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2779
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2831
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
2780
2832
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2781
2833
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
2782
2834
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2882,11 +2934,11 @@ function keyBuilderFromType$b(luvio, object) {
|
|
|
2882
2934
|
function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
2883
2935
|
return input;
|
|
2884
2936
|
}
|
|
2885
|
-
const select$
|
|
2886
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
2937
|
+
const select$J = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
2938
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
2887
2939
|
return {
|
|
2888
2940
|
kind: 'Fragment',
|
|
2889
|
-
version: VERSION$
|
|
2941
|
+
version: VERSION$t,
|
|
2890
2942
|
private: [],
|
|
2891
2943
|
selections: [
|
|
2892
2944
|
{
|
|
@@ -3020,7 +3072,7 @@ const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
3020
3072
|
]
|
|
3021
3073
|
};
|
|
3022
3074
|
};
|
|
3023
|
-
function equals$
|
|
3075
|
+
function equals$t(existing, incoming) {
|
|
3024
3076
|
const existing_isOverrideBase = existing.isOverrideBase;
|
|
3025
3077
|
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
3026
3078
|
// if at least one of these optionals is defined
|
|
@@ -3324,7 +3376,7 @@ function equals$v(existing, incoming) {
|
|
|
3324
3376
|
return false;
|
|
3325
3377
|
}
|
|
3326
3378
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
3327
|
-
if (!(equals$
|
|
3379
|
+
if (!(equals$u(existing_filters_item, incoming_filters_item))) {
|
|
3328
3380
|
return false;
|
|
3329
3381
|
}
|
|
3330
3382
|
});
|
|
@@ -3336,14 +3388,14 @@ function equals$v(existing, incoming) {
|
|
|
3336
3388
|
}
|
|
3337
3389
|
const ingest$h = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3338
3390
|
if (process.env.NODE_ENV !== 'production') {
|
|
3339
|
-
const validateError = validate$
|
|
3391
|
+
const validateError = validate$A(input);
|
|
3340
3392
|
if (validateError !== null) {
|
|
3341
3393
|
throw validateError;
|
|
3342
3394
|
}
|
|
3343
3395
|
}
|
|
3344
3396
|
const key = keyBuilderFromType$b(luvio, input);
|
|
3345
3397
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
3346
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$
|
|
3398
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$t, RepresentationType$h, equals$t);
|
|
3347
3399
|
return createLink(key);
|
|
3348
3400
|
};
|
|
3349
3401
|
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3356,8 +3408,8 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3356
3408
|
});
|
|
3357
3409
|
}
|
|
3358
3410
|
|
|
3359
|
-
const VERSION$
|
|
3360
|
-
function validate$
|
|
3411
|
+
const VERSION$s = "f905fd3431f6d5d1f883c03af48eb1b3";
|
|
3412
|
+
function validate$z(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
3361
3413
|
const v_error = (() => {
|
|
3362
3414
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3363
3415
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3470,7 +3522,7 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3470
3522
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3471
3523
|
const obj_filters_item = obj_filters[i];
|
|
3472
3524
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3473
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3525
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
3474
3526
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3475
3527
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
3476
3528
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3604,11 +3656,11 @@ function keyBuilderFromType$a(luvio, object) {
|
|
|
3604
3656
|
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
3605
3657
|
return input;
|
|
3606
3658
|
}
|
|
3607
|
-
const select$
|
|
3608
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
3659
|
+
const select$I = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
3660
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
3609
3661
|
return {
|
|
3610
3662
|
kind: 'Fragment',
|
|
3611
|
-
version: VERSION$
|
|
3663
|
+
version: VERSION$s,
|
|
3612
3664
|
private: [],
|
|
3613
3665
|
selections: [
|
|
3614
3666
|
{
|
|
@@ -3772,7 +3824,7 @@ const select$K = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3772
3824
|
]
|
|
3773
3825
|
};
|
|
3774
3826
|
};
|
|
3775
|
-
function equals$
|
|
3827
|
+
function equals$s(existing, incoming) {
|
|
3776
3828
|
const existing_isAggregatable = existing.isAggregatable;
|
|
3777
3829
|
const incoming_isAggregatable = incoming.isAggregatable;
|
|
3778
3830
|
// if at least one of these optionals is defined
|
|
@@ -4154,7 +4206,7 @@ function equals$u(existing, incoming) {
|
|
|
4154
4206
|
return false;
|
|
4155
4207
|
}
|
|
4156
4208
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
4157
|
-
if (!(equals$
|
|
4209
|
+
if (!(equals$u(existing_filters_item, incoming_filters_item))) {
|
|
4158
4210
|
return false;
|
|
4159
4211
|
}
|
|
4160
4212
|
});
|
|
@@ -4166,14 +4218,14 @@ function equals$u(existing, incoming) {
|
|
|
4166
4218
|
}
|
|
4167
4219
|
const ingest$g = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4168
4220
|
if (process.env.NODE_ENV !== 'production') {
|
|
4169
|
-
const validateError = validate$
|
|
4221
|
+
const validateError = validate$z(input);
|
|
4170
4222
|
if (validateError !== null) {
|
|
4171
4223
|
throw validateError;
|
|
4172
4224
|
}
|
|
4173
4225
|
}
|
|
4174
4226
|
const key = keyBuilderFromType$a(luvio, input);
|
|
4175
4227
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4176
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$
|
|
4228
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$s, RepresentationType$g, equals$s);
|
|
4177
4229
|
return createLink(key);
|
|
4178
4230
|
};
|
|
4179
4231
|
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4186,7 +4238,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4186
4238
|
});
|
|
4187
4239
|
}
|
|
4188
4240
|
|
|
4189
|
-
function validate$
|
|
4241
|
+
function validate$y(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
4190
4242
|
const v_error = (() => {
|
|
4191
4243
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4192
4244
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4355,7 +4407,7 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
4355
4407
|
return v_error === undefined ? null : v_error;
|
|
4356
4408
|
}
|
|
4357
4409
|
|
|
4358
|
-
function validate$
|
|
4410
|
+
function validate$x(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
4359
4411
|
const v_error = (() => {
|
|
4360
4412
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4361
4413
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4559,8 +4611,8 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4559
4611
|
return v_error === undefined ? null : v_error;
|
|
4560
4612
|
}
|
|
4561
4613
|
|
|
4562
|
-
const VERSION$
|
|
4563
|
-
function validate$
|
|
4614
|
+
const VERSION$r = "c33583da925793f049a2e6e5269d7846";
|
|
4615
|
+
function validate$w(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
4564
4616
|
const v_error = (() => {
|
|
4565
4617
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4566
4618
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4638,7 +4690,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4638
4690
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4639
4691
|
const obj_filters_item = obj_filters[i];
|
|
4640
4692
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4641
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4693
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
4642
4694
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4643
4695
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4644
4696
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4695,7 +4747,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4695
4747
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
4696
4748
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
4697
4749
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
4698
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
4750
|
+
const referencepath_semanticDimensions_itemValidationError = validate$y(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
4699
4751
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
4700
4752
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
4701
4753
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4719,7 +4771,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4719
4771
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
4720
4772
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
4721
4773
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
4722
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
4774
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$x(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
4723
4775
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
4724
4776
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
4725
4777
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4771,15 +4823,15 @@ function keyBuilderFromType$9(luvio, object) {
|
|
|
4771
4823
|
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
4772
4824
|
return input;
|
|
4773
4825
|
}
|
|
4774
|
-
const select$
|
|
4826
|
+
const select$H = function SemanticDataObjectOutputRepresentationSelect() {
|
|
4775
4827
|
return {
|
|
4776
4828
|
kind: 'Fragment',
|
|
4777
|
-
version: VERSION$
|
|
4829
|
+
version: VERSION$r,
|
|
4778
4830
|
private: [],
|
|
4779
4831
|
opaque: true
|
|
4780
4832
|
};
|
|
4781
4833
|
};
|
|
4782
|
-
function equals$
|
|
4834
|
+
function equals$r(existing, incoming) {
|
|
4783
4835
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
4784
4836
|
return false;
|
|
4785
4837
|
}
|
|
@@ -4787,14 +4839,14 @@ function equals$t(existing, incoming) {
|
|
|
4787
4839
|
}
|
|
4788
4840
|
const ingest$f = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4789
4841
|
if (process.env.NODE_ENV !== 'production') {
|
|
4790
|
-
const validateError = validate$
|
|
4842
|
+
const validateError = validate$w(input);
|
|
4791
4843
|
if (validateError !== null) {
|
|
4792
4844
|
throw validateError;
|
|
4793
4845
|
}
|
|
4794
4846
|
}
|
|
4795
4847
|
const key = keyBuilderFromType$9(luvio, input);
|
|
4796
4848
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4797
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$
|
|
4849
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$r, RepresentationType$f, equals$r);
|
|
4798
4850
|
return createLink(key);
|
|
4799
4851
|
};
|
|
4800
4852
|
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4807,8 +4859,8 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4807
4859
|
});
|
|
4808
4860
|
}
|
|
4809
4861
|
|
|
4810
|
-
const VERSION$
|
|
4811
|
-
function validate$
|
|
4862
|
+
const VERSION$q = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
4863
|
+
function validate$v(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
4812
4864
|
const v_error = (() => {
|
|
4813
4865
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4814
4866
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4817,10 +4869,10 @@ function validate$w(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
4817
4869
|
})();
|
|
4818
4870
|
return v_error === undefined ? null : v_error;
|
|
4819
4871
|
}
|
|
4820
|
-
const select$
|
|
4872
|
+
const select$G = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
4821
4873
|
return {
|
|
4822
4874
|
kind: 'Fragment',
|
|
4823
|
-
version: VERSION$
|
|
4875
|
+
version: VERSION$q,
|
|
4824
4876
|
private: [],
|
|
4825
4877
|
selections: [
|
|
4826
4878
|
{
|
|
@@ -4830,7 +4882,7 @@ const select$I = function BinDimensionConfigurationOutputRepresentationSelect()
|
|
|
4830
4882
|
]
|
|
4831
4883
|
};
|
|
4832
4884
|
};
|
|
4833
|
-
function equals$
|
|
4885
|
+
function equals$q(existing, incoming) {
|
|
4834
4886
|
const existing_constantBinSize = existing.constantBinSize;
|
|
4835
4887
|
const incoming_constantBinSize = incoming.constantBinSize;
|
|
4836
4888
|
if (!(existing_constantBinSize === incoming_constantBinSize)) {
|
|
@@ -4839,8 +4891,8 @@ function equals$s(existing, incoming) {
|
|
|
4839
4891
|
return true;
|
|
4840
4892
|
}
|
|
4841
4893
|
|
|
4842
|
-
const VERSION$
|
|
4843
|
-
function validate$
|
|
4894
|
+
const VERSION$p = "2cdadcd630abb7b981b2d131880a68c0";
|
|
4895
|
+
function validate$u(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
4844
4896
|
const v_error = (() => {
|
|
4845
4897
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4846
4898
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4867,10 +4919,10 @@ function validate$v(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
4867
4919
|
})();
|
|
4868
4920
|
return v_error === undefined ? null : v_error;
|
|
4869
4921
|
}
|
|
4870
|
-
const select$
|
|
4922
|
+
const select$F = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
4871
4923
|
return {
|
|
4872
4924
|
kind: 'Fragment',
|
|
4873
|
-
version: VERSION$
|
|
4925
|
+
version: VERSION$p,
|
|
4874
4926
|
private: [],
|
|
4875
4927
|
selections: [
|
|
4876
4928
|
{
|
|
@@ -4886,7 +4938,7 @@ const select$H = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
|
4886
4938
|
]
|
|
4887
4939
|
};
|
|
4888
4940
|
};
|
|
4889
|
-
function equals$
|
|
4941
|
+
function equals$p(existing, incoming) {
|
|
4890
4942
|
const existing_name = existing.name;
|
|
4891
4943
|
const incoming_name = incoming.name;
|
|
4892
4944
|
if (!(existing_name === incoming_name)) {
|
|
@@ -4913,8 +4965,8 @@ function equals$r(existing, incoming) {
|
|
|
4913
4965
|
return true;
|
|
4914
4966
|
}
|
|
4915
4967
|
|
|
4916
|
-
const VERSION$
|
|
4917
|
-
function validate$
|
|
4968
|
+
const VERSION$o = "55c60b6207985632192cb4e419822a86";
|
|
4969
|
+
function validate$t(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
4918
4970
|
const v_error = (() => {
|
|
4919
4971
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4920
4972
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4928,7 +4980,7 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
4928
4980
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
4929
4981
|
const obj_groups_item = obj_groups[i];
|
|
4930
4982
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
4931
|
-
const referencepath_groups_itemValidationError = validate$
|
|
4983
|
+
const referencepath_groups_itemValidationError = validate$u(obj_groups_item, path_groups_item);
|
|
4932
4984
|
if (referencepath_groups_itemValidationError !== null) {
|
|
4933
4985
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
4934
4986
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4946,11 +4998,11 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
4946
4998
|
})();
|
|
4947
4999
|
return v_error === undefined ? null : v_error;
|
|
4948
5000
|
}
|
|
4949
|
-
const select$
|
|
4950
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
5001
|
+
const select$E = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
5002
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$F();
|
|
4951
5003
|
return {
|
|
4952
5004
|
kind: 'Fragment',
|
|
4953
|
-
version: VERSION$
|
|
5005
|
+
version: VERSION$o,
|
|
4954
5006
|
private: [],
|
|
4955
5007
|
selections: [
|
|
4956
5008
|
{
|
|
@@ -4968,7 +5020,7 @@ const select$G = function GroupDimensionConfigurationOutputRepresentationSelect(
|
|
|
4968
5020
|
]
|
|
4969
5021
|
};
|
|
4970
5022
|
};
|
|
4971
|
-
function equals$
|
|
5023
|
+
function equals$o(existing, incoming) {
|
|
4972
5024
|
const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
|
|
4973
5025
|
const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
|
|
4974
5026
|
// if at least one of these optionals is defined
|
|
@@ -4992,7 +5044,7 @@ function equals$q(existing, incoming) {
|
|
|
4992
5044
|
return false;
|
|
4993
5045
|
}
|
|
4994
5046
|
const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
|
|
4995
|
-
if (!(equals$
|
|
5047
|
+
if (!(equals$p(existing_groups_item, incoming_groups_item))) {
|
|
4996
5048
|
return false;
|
|
4997
5049
|
}
|
|
4998
5050
|
});
|
|
@@ -5003,8 +5055,8 @@ function equals$q(existing, incoming) {
|
|
|
5003
5055
|
return true;
|
|
5004
5056
|
}
|
|
5005
5057
|
|
|
5006
|
-
const VERSION$
|
|
5007
|
-
function validate$
|
|
5058
|
+
const VERSION$n = "50dc390b159159afb1945b9a811c9f80";
|
|
5059
|
+
function validate$s(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
5008
5060
|
const v_error = (() => {
|
|
5009
5061
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5010
5062
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5012,7 +5064,7 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5012
5064
|
if (obj.binDimension !== undefined) {
|
|
5013
5065
|
const obj_binDimension = obj.binDimension;
|
|
5014
5066
|
const path_binDimension = path + '.binDimension';
|
|
5015
|
-
const referencepath_binDimensionValidationError = validate$
|
|
5067
|
+
const referencepath_binDimensionValidationError = validate$v(obj_binDimension, path_binDimension);
|
|
5016
5068
|
if (referencepath_binDimensionValidationError !== null) {
|
|
5017
5069
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
5018
5070
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5022,7 +5074,7 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5022
5074
|
if (obj.groupDimension !== undefined) {
|
|
5023
5075
|
const obj_groupDimension = obj.groupDimension;
|
|
5024
5076
|
const path_groupDimension = path + '.groupDimension';
|
|
5025
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
5077
|
+
const referencepath_groupDimensionValidationError = validate$t(obj_groupDimension, path_groupDimension);
|
|
5026
5078
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
5027
5079
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
5028
5080
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5032,12 +5084,12 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5032
5084
|
})();
|
|
5033
5085
|
return v_error === undefined ? null : v_error;
|
|
5034
5086
|
}
|
|
5035
|
-
const select$
|
|
5036
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
5037
|
-
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
5087
|
+
const select$D = function SemanticGroupingConfigurationOutputRepresentationSelect() {
|
|
5088
|
+
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$G();
|
|
5089
|
+
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$E();
|
|
5038
5090
|
return {
|
|
5039
5091
|
kind: 'Fragment',
|
|
5040
|
-
version: VERSION$
|
|
5092
|
+
version: VERSION$n,
|
|
5041
5093
|
private: [],
|
|
5042
5094
|
selections: [
|
|
5043
5095
|
{
|
|
@@ -5055,7 +5107,7 @@ const select$F = function SemanticGroupingConfigurationOutputRepresentationSelec
|
|
|
5055
5107
|
]
|
|
5056
5108
|
};
|
|
5057
5109
|
};
|
|
5058
|
-
function equals$
|
|
5110
|
+
function equals$n(existing, incoming) {
|
|
5059
5111
|
const existing_binDimension = existing.binDimension;
|
|
5060
5112
|
const incoming_binDimension = incoming.binDimension;
|
|
5061
5113
|
// if at least one of these optionals is defined
|
|
@@ -5065,7 +5117,7 @@ function equals$p(existing, incoming) {
|
|
|
5065
5117
|
if (existing_binDimension === undefined || incoming_binDimension === undefined) {
|
|
5066
5118
|
return false;
|
|
5067
5119
|
}
|
|
5068
|
-
if (!(equals$
|
|
5120
|
+
if (!(equals$q(existing_binDimension, incoming_binDimension))) {
|
|
5069
5121
|
return false;
|
|
5070
5122
|
}
|
|
5071
5123
|
}
|
|
@@ -5078,15 +5130,15 @@ function equals$p(existing, incoming) {
|
|
|
5078
5130
|
if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
|
|
5079
5131
|
return false;
|
|
5080
5132
|
}
|
|
5081
|
-
if (!(equals$
|
|
5133
|
+
if (!(equals$o(existing_groupDimension, incoming_groupDimension))) {
|
|
5082
5134
|
return false;
|
|
5083
5135
|
}
|
|
5084
5136
|
}
|
|
5085
5137
|
return true;
|
|
5086
5138
|
}
|
|
5087
5139
|
|
|
5088
|
-
const VERSION$
|
|
5089
|
-
function validate$
|
|
5140
|
+
const VERSION$m = "a2976cd68e629a917463a3b690cf2527";
|
|
5141
|
+
function validate$r(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
5090
5142
|
const v_error = (() => {
|
|
5091
5143
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5092
5144
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5108,10 +5160,10 @@ function validate$s(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
|
|
|
5108
5160
|
})();
|
|
5109
5161
|
return v_error === undefined ? null : v_error;
|
|
5110
5162
|
}
|
|
5111
|
-
const select$
|
|
5163
|
+
const select$C = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
5112
5164
|
return {
|
|
5113
5165
|
kind: 'Fragment',
|
|
5114
|
-
version: VERSION$
|
|
5166
|
+
version: VERSION$m,
|
|
5115
5167
|
private: [],
|
|
5116
5168
|
selections: [
|
|
5117
5169
|
{
|
|
@@ -5127,7 +5179,7 @@ const select$E = function SemanticTableFieldReferenceOutputRepresentationSelect(
|
|
|
5127
5179
|
]
|
|
5128
5180
|
};
|
|
5129
5181
|
};
|
|
5130
|
-
function equals$
|
|
5182
|
+
function equals$m(existing, incoming) {
|
|
5131
5183
|
const existing_fieldApiName = existing.fieldApiName;
|
|
5132
5184
|
const incoming_fieldApiName = incoming.fieldApiName;
|
|
5133
5185
|
// if at least one of these optionals is defined
|
|
@@ -5157,8 +5209,8 @@ function equals$o(existing, incoming) {
|
|
|
5157
5209
|
return true;
|
|
5158
5210
|
}
|
|
5159
5211
|
|
|
5160
|
-
const VERSION$
|
|
5161
|
-
function validate$
|
|
5212
|
+
const VERSION$l = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
5213
|
+
function validate$q(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
5162
5214
|
const v_error = (() => {
|
|
5163
5215
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5164
5216
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5173,7 +5225,7 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
5173
5225
|
if (obj.tableFieldReference !== undefined) {
|
|
5174
5226
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
5175
5227
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
5176
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
5228
|
+
const referencepath_tableFieldReferenceValidationError = validate$r(obj_tableFieldReference, path_tableFieldReference);
|
|
5177
5229
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
5178
5230
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
5179
5231
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5183,11 +5235,11 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
5183
5235
|
})();
|
|
5184
5236
|
return v_error === undefined ? null : v_error;
|
|
5185
5237
|
}
|
|
5186
|
-
const select$
|
|
5187
|
-
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$
|
|
5238
|
+
const select$B = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
5239
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
5188
5240
|
return {
|
|
5189
5241
|
kind: 'Fragment',
|
|
5190
|
-
version: VERSION$
|
|
5242
|
+
version: VERSION$l,
|
|
5191
5243
|
private: [],
|
|
5192
5244
|
selections: [
|
|
5193
5245
|
{
|
|
@@ -5204,7 +5256,7 @@ const select$D = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
|
5204
5256
|
]
|
|
5205
5257
|
};
|
|
5206
5258
|
};
|
|
5207
|
-
function equals$
|
|
5259
|
+
function equals$l(existing, incoming) {
|
|
5208
5260
|
const existing_calculatedFieldApiName = existing.calculatedFieldApiName;
|
|
5209
5261
|
const incoming_calculatedFieldApiName = incoming.calculatedFieldApiName;
|
|
5210
5262
|
// if at least one of these optionals is defined
|
|
@@ -5227,15 +5279,15 @@ function equals$n(existing, incoming) {
|
|
|
5227
5279
|
if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
|
|
5228
5280
|
return false;
|
|
5229
5281
|
}
|
|
5230
|
-
if (!(equals$
|
|
5282
|
+
if (!(equals$m(existing_tableFieldReference, incoming_tableFieldReference))) {
|
|
5231
5283
|
return false;
|
|
5232
5284
|
}
|
|
5233
5285
|
}
|
|
5234
5286
|
return true;
|
|
5235
5287
|
}
|
|
5236
5288
|
|
|
5237
|
-
const VERSION$
|
|
5238
|
-
function validate$
|
|
5289
|
+
const VERSION$k = "5ea5deda92fee8aa624509290ef6cf1c";
|
|
5290
|
+
function validate$p(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
5239
5291
|
const v_error = (() => {
|
|
5240
5292
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5241
5293
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5261,7 +5313,7 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5261
5313
|
}
|
|
5262
5314
|
const obj_configuration = obj.configuration;
|
|
5263
5315
|
const path_configuration = path + '.configuration';
|
|
5264
|
-
const referencepath_configurationValidationError = validate$
|
|
5316
|
+
const referencepath_configurationValidationError = validate$s(obj_configuration, path_configuration);
|
|
5265
5317
|
if (referencepath_configurationValidationError !== null) {
|
|
5266
5318
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
5267
5319
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5286,7 +5338,7 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5286
5338
|
}
|
|
5287
5339
|
const obj_fieldReference = obj.fieldReference;
|
|
5288
5340
|
const path_fieldReference = path + '.fieldReference';
|
|
5289
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
5341
|
+
const referencepath_fieldReferenceValidationError = validate$q(obj_fieldReference, path_fieldReference);
|
|
5290
5342
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
5291
5343
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
5292
5344
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5353,12 +5405,12 @@ function keyBuilderFromType$8(luvio, object) {
|
|
|
5353
5405
|
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
5354
5406
|
return input;
|
|
5355
5407
|
}
|
|
5356
|
-
const select$
|
|
5357
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
5358
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
5408
|
+
const select$A = function SemanticGroupingOutputRepresentationSelect() {
|
|
5409
|
+
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$D();
|
|
5410
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
5359
5411
|
return {
|
|
5360
5412
|
kind: 'Fragment',
|
|
5361
|
-
version: VERSION$
|
|
5413
|
+
version: VERSION$k,
|
|
5362
5414
|
private: [],
|
|
5363
5415
|
selections: [
|
|
5364
5416
|
{
|
|
@@ -5434,7 +5486,7 @@ const select$C = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
5434
5486
|
]
|
|
5435
5487
|
};
|
|
5436
5488
|
};
|
|
5437
|
-
function equals$
|
|
5489
|
+
function equals$k(existing, incoming) {
|
|
5438
5490
|
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
5439
5491
|
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
5440
5492
|
// if at least one of these optionals is defined
|
|
@@ -5566,26 +5618,26 @@ function equals$m(existing, incoming) {
|
|
|
5566
5618
|
}
|
|
5567
5619
|
const existing_configuration = existing.configuration;
|
|
5568
5620
|
const incoming_configuration = incoming.configuration;
|
|
5569
|
-
if (!(equals$
|
|
5621
|
+
if (!(equals$n(existing_configuration, incoming_configuration))) {
|
|
5570
5622
|
return false;
|
|
5571
5623
|
}
|
|
5572
5624
|
const existing_fieldReference = existing.fieldReference;
|
|
5573
5625
|
const incoming_fieldReference = incoming.fieldReference;
|
|
5574
|
-
if (!(equals$
|
|
5626
|
+
if (!(equals$l(existing_fieldReference, incoming_fieldReference))) {
|
|
5575
5627
|
return false;
|
|
5576
5628
|
}
|
|
5577
5629
|
return true;
|
|
5578
5630
|
}
|
|
5579
5631
|
const ingest$e = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5580
5632
|
if (process.env.NODE_ENV !== 'production') {
|
|
5581
|
-
const validateError = validate$
|
|
5633
|
+
const validateError = validate$p(input);
|
|
5582
5634
|
if (validateError !== null) {
|
|
5583
5635
|
throw validateError;
|
|
5584
5636
|
}
|
|
5585
5637
|
}
|
|
5586
5638
|
const key = keyBuilderFromType$8(luvio, input);
|
|
5587
5639
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5588
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$
|
|
5640
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$k, RepresentationType$e, equals$k);
|
|
5589
5641
|
return createLink(key);
|
|
5590
5642
|
};
|
|
5591
5643
|
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5598,8 +5650,8 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5598
5650
|
});
|
|
5599
5651
|
}
|
|
5600
5652
|
|
|
5601
|
-
const VERSION$
|
|
5602
|
-
function validate$
|
|
5653
|
+
const VERSION$j = "c5144c317ac72b60d580cab803514b8d";
|
|
5654
|
+
function validate$o(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
5603
5655
|
const v_error = (() => {
|
|
5604
5656
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5605
5657
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5642,10 +5694,10 @@ function validate$p(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
5642
5694
|
})();
|
|
5643
5695
|
return v_error === undefined ? null : v_error;
|
|
5644
5696
|
}
|
|
5645
|
-
const select$
|
|
5697
|
+
const select$z = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
5646
5698
|
return {
|
|
5647
5699
|
kind: 'Fragment',
|
|
5648
|
-
version: VERSION$
|
|
5700
|
+
version: VERSION$j,
|
|
5649
5701
|
private: [],
|
|
5650
5702
|
selections: [
|
|
5651
5703
|
{
|
|
@@ -5676,7 +5728,7 @@ const select$B = function SemanticRelationshipCriteriaOutputRepresentationSelect
|
|
|
5676
5728
|
]
|
|
5677
5729
|
};
|
|
5678
5730
|
};
|
|
5679
|
-
function equals$
|
|
5731
|
+
function equals$j(existing, incoming) {
|
|
5680
5732
|
const existing_joinOperator = existing.joinOperator;
|
|
5681
5733
|
const incoming_joinOperator = incoming.joinOperator;
|
|
5682
5734
|
// if at least one of these optionals is defined
|
|
@@ -5745,8 +5797,8 @@ function equals$l(existing, incoming) {
|
|
|
5745
5797
|
return true;
|
|
5746
5798
|
}
|
|
5747
5799
|
|
|
5748
|
-
const VERSION$
|
|
5749
|
-
function validate$
|
|
5800
|
+
const VERSION$i = "8c02af844319b9d5bd1c08e30e3ca8dd";
|
|
5801
|
+
function validate$n(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
5750
5802
|
const v_error = (() => {
|
|
5751
5803
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5752
5804
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5796,7 +5848,7 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5796
5848
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
5797
5849
|
const obj_criteria_item = obj_criteria[i];
|
|
5798
5850
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
5799
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
5851
|
+
const referencepath_criteria_itemValidationError = validate$o(obj_criteria_item, path_criteria_item);
|
|
5800
5852
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
5801
5853
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
5802
5854
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5902,11 +5954,11 @@ function keyBuilderFromType$7(luvio, object) {
|
|
|
5902
5954
|
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
5903
5955
|
return input;
|
|
5904
5956
|
}
|
|
5905
|
-
const select$
|
|
5906
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
5957
|
+
const select$y = function SemanticRelationshipOutputRepresentationSelect() {
|
|
5958
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$z();
|
|
5907
5959
|
return {
|
|
5908
5960
|
kind: 'Fragment',
|
|
5909
|
-
version: VERSION$
|
|
5961
|
+
version: VERSION$i,
|
|
5910
5962
|
private: [],
|
|
5911
5963
|
selections: [
|
|
5912
5964
|
{
|
|
@@ -6005,7 +6057,7 @@ const select$A = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
6005
6057
|
]
|
|
6006
6058
|
};
|
|
6007
6059
|
};
|
|
6008
|
-
function equals$
|
|
6060
|
+
function equals$i(existing, incoming) {
|
|
6009
6061
|
const existing_isEnabled = existing.isEnabled;
|
|
6010
6062
|
const incoming_isEnabled = incoming.isEnabled;
|
|
6011
6063
|
// if at least one of these optionals is defined
|
|
@@ -6218,7 +6270,7 @@ function equals$k(existing, incoming) {
|
|
|
6218
6270
|
return false;
|
|
6219
6271
|
}
|
|
6220
6272
|
const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
|
|
6221
|
-
if (!(equals$
|
|
6273
|
+
if (!(equals$j(existing_criteria_item, incoming_criteria_item))) {
|
|
6222
6274
|
return false;
|
|
6223
6275
|
}
|
|
6224
6276
|
});
|
|
@@ -6230,14 +6282,14 @@ function equals$k(existing, incoming) {
|
|
|
6230
6282
|
}
|
|
6231
6283
|
const ingest$d = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6232
6284
|
if (process.env.NODE_ENV !== 'production') {
|
|
6233
|
-
const validateError = validate$
|
|
6285
|
+
const validateError = validate$n(input);
|
|
6234
6286
|
if (validateError !== null) {
|
|
6235
6287
|
throw validateError;
|
|
6236
6288
|
}
|
|
6237
6289
|
}
|
|
6238
6290
|
const key = keyBuilderFromType$7(luvio, input);
|
|
6239
6291
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6240
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$
|
|
6292
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$i, RepresentationType$d, equals$i);
|
|
6241
6293
|
return createLink(key);
|
|
6242
6294
|
};
|
|
6243
6295
|
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6250,8 +6302,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6250
6302
|
});
|
|
6251
6303
|
}
|
|
6252
6304
|
|
|
6253
|
-
const VERSION$
|
|
6254
|
-
function validate$
|
|
6305
|
+
const VERSION$h = "fddfb9284fc64c70f7d0debf4af30c95";
|
|
6306
|
+
function validate$m(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
6255
6307
|
const v_error = (() => {
|
|
6256
6308
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6257
6309
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6301,7 +6353,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6301
6353
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
6302
6354
|
const obj_fields_item = obj_fields[i];
|
|
6303
6355
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
6304
|
-
const referencepath_fields_itemValidationError = validate$
|
|
6356
|
+
const referencepath_fields_itemValidationError = validate$r(obj_fields_item, path_fields_item);
|
|
6305
6357
|
if (referencepath_fields_itemValidationError !== null) {
|
|
6306
6358
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
6307
6359
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6352,7 +6404,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6352
6404
|
if (obj.semanticDimension !== undefined) {
|
|
6353
6405
|
const obj_semanticDimension = obj.semanticDimension;
|
|
6354
6406
|
const path_semanticDimension = path + '.semanticDimension';
|
|
6355
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
6407
|
+
const referencepath_semanticDimensionValidationError = validate$y(obj_semanticDimension, path_semanticDimension);
|
|
6356
6408
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
6357
6409
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
6358
6410
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6362,7 +6414,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6362
6414
|
if (obj.semanticMeasurement !== undefined) {
|
|
6363
6415
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
6364
6416
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
6365
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
6417
|
+
const referencepath_semanticMeasurementValidationError = validate$x(obj_semanticMeasurement, path_semanticMeasurement);
|
|
6366
6418
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
6367
6419
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
6368
6420
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6392,15 +6444,15 @@ function keyBuilderFromType$6(luvio, object) {
|
|
|
6392
6444
|
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
6393
6445
|
return input;
|
|
6394
6446
|
}
|
|
6395
|
-
const select$
|
|
6447
|
+
const select$x = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
6396
6448
|
return {
|
|
6397
6449
|
kind: 'Fragment',
|
|
6398
|
-
version: VERSION$
|
|
6450
|
+
version: VERSION$h,
|
|
6399
6451
|
private: [],
|
|
6400
6452
|
opaque: true
|
|
6401
6453
|
};
|
|
6402
6454
|
};
|
|
6403
|
-
function equals$
|
|
6455
|
+
function equals$h(existing, incoming) {
|
|
6404
6456
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
6405
6457
|
return false;
|
|
6406
6458
|
}
|
|
@@ -6408,14 +6460,14 @@ function equals$j(existing, incoming) {
|
|
|
6408
6460
|
}
|
|
6409
6461
|
const ingest$c = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6410
6462
|
if (process.env.NODE_ENV !== 'production') {
|
|
6411
|
-
const validateError = validate$
|
|
6463
|
+
const validateError = validate$m(input);
|
|
6412
6464
|
if (validateError !== null) {
|
|
6413
6465
|
throw validateError;
|
|
6414
6466
|
}
|
|
6415
6467
|
}
|
|
6416
6468
|
const key = keyBuilderFromType$6(luvio, input);
|
|
6417
6469
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6418
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$
|
|
6470
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$h, RepresentationType$c, equals$h);
|
|
6419
6471
|
return createLink(key);
|
|
6420
6472
|
};
|
|
6421
6473
|
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6428,8 +6480,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6428
6480
|
});
|
|
6429
6481
|
}
|
|
6430
6482
|
|
|
6431
|
-
const VERSION$
|
|
6432
|
-
function validate$
|
|
6483
|
+
const VERSION$g = "69fe23112140e9fae50135dcb15c24c2";
|
|
6484
|
+
function validate$l(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
6433
6485
|
const v_error = (() => {
|
|
6434
6486
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6435
6487
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6604,10 +6656,10 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
|
6604
6656
|
}
|
|
6605
6657
|
return input;
|
|
6606
6658
|
}
|
|
6607
|
-
const select$
|
|
6659
|
+
const select$w = function SemanticUnionOutputRepresentationSelect() {
|
|
6608
6660
|
return {
|
|
6609
6661
|
kind: 'Fragment',
|
|
6610
|
-
version: VERSION$
|
|
6662
|
+
version: VERSION$g,
|
|
6611
6663
|
private: [],
|
|
6612
6664
|
selections: [
|
|
6613
6665
|
{
|
|
@@ -6666,19 +6718,19 @@ const select$y = function SemanticUnionOutputRepresentationSelect() {
|
|
|
6666
6718
|
kind: 'Link',
|
|
6667
6719
|
plural: true,
|
|
6668
6720
|
required: false,
|
|
6669
|
-
fragment: select$
|
|
6721
|
+
fragment: select$H()
|
|
6670
6722
|
},
|
|
6671
6723
|
{
|
|
6672
6724
|
name: 'semanticMappedFields',
|
|
6673
6725
|
kind: 'Link',
|
|
6674
6726
|
plural: true,
|
|
6675
6727
|
required: false,
|
|
6676
|
-
fragment: select$
|
|
6728
|
+
fragment: select$x()
|
|
6677
6729
|
}
|
|
6678
6730
|
]
|
|
6679
6731
|
};
|
|
6680
6732
|
};
|
|
6681
|
-
function equals$
|
|
6733
|
+
function equals$g(existing, incoming) {
|
|
6682
6734
|
const existing_apiName = existing.apiName;
|
|
6683
6735
|
const incoming_apiName = incoming.apiName;
|
|
6684
6736
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -6830,14 +6882,14 @@ function equals$i(existing, incoming) {
|
|
|
6830
6882
|
}
|
|
6831
6883
|
const ingest$b = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6832
6884
|
if (process.env.NODE_ENV !== 'production') {
|
|
6833
|
-
const validateError = validate$
|
|
6885
|
+
const validateError = validate$l(input);
|
|
6834
6886
|
if (validateError !== null) {
|
|
6835
6887
|
throw validateError;
|
|
6836
6888
|
}
|
|
6837
6889
|
}
|
|
6838
6890
|
const key = keyBuilderFromType$5(luvio, input);
|
|
6839
6891
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6840
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$
|
|
6892
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$g, RepresentationType$b, equals$g);
|
|
6841
6893
|
return createLink(key);
|
|
6842
6894
|
};
|
|
6843
6895
|
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6862,8 +6914,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6862
6914
|
}
|
|
6863
6915
|
}
|
|
6864
6916
|
|
|
6865
|
-
const VERSION$
|
|
6866
|
-
function validate$
|
|
6917
|
+
const VERSION$f = "5056fdb7575699f2bc25f1d504ec499a";
|
|
6918
|
+
function validate$k(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
6867
6919
|
const v_error = (() => {
|
|
6868
6920
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6869
6921
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6927,7 +6979,7 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6927
6979
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
6928
6980
|
const obj_filters_item = obj_filters[i];
|
|
6929
6981
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
6930
|
-
const referencepath_filters_itemValidationError = validate$
|
|
6982
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
6931
6983
|
if (referencepath_filters_itemValidationError !== null) {
|
|
6932
6984
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
6933
6985
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7101,11 +7153,11 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
7101
7153
|
}
|
|
7102
7154
|
return input;
|
|
7103
7155
|
}
|
|
7104
|
-
const select$
|
|
7105
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
7156
|
+
const select$v = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
7157
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
7106
7158
|
return {
|
|
7107
7159
|
kind: 'Fragment',
|
|
7108
|
-
version: VERSION$
|
|
7160
|
+
version: VERSION$f,
|
|
7109
7161
|
private: [],
|
|
7110
7162
|
selections: [
|
|
7111
7163
|
{
|
|
@@ -7181,21 +7233,21 @@ const select$x = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7181
7233
|
kind: 'Link',
|
|
7182
7234
|
plural: true,
|
|
7183
7235
|
required: false,
|
|
7184
|
-
fragment: select$
|
|
7236
|
+
fragment: select$H()
|
|
7185
7237
|
},
|
|
7186
7238
|
{
|
|
7187
7239
|
name: 'semanticRelationships',
|
|
7188
7240
|
kind: 'Link',
|
|
7189
7241
|
plural: true,
|
|
7190
7242
|
required: false,
|
|
7191
|
-
fragment: select$
|
|
7243
|
+
fragment: select$y()
|
|
7192
7244
|
},
|
|
7193
7245
|
{
|
|
7194
7246
|
name: 'semanticUnions',
|
|
7195
7247
|
kind: 'Link',
|
|
7196
7248
|
plural: true,
|
|
7197
7249
|
required: false,
|
|
7198
|
-
fragment: select$
|
|
7250
|
+
fragment: select$w()
|
|
7199
7251
|
},
|
|
7200
7252
|
{
|
|
7201
7253
|
name: 'semanticViewTypeEnum',
|
|
@@ -7215,7 +7267,7 @@ const select$x = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7215
7267
|
]
|
|
7216
7268
|
};
|
|
7217
7269
|
};
|
|
7218
|
-
function equals$
|
|
7270
|
+
function equals$f(existing, incoming) {
|
|
7219
7271
|
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
7220
7272
|
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
7221
7273
|
// if at least one of these optionals is defined
|
|
@@ -7402,7 +7454,7 @@ function equals$h(existing, incoming) {
|
|
|
7402
7454
|
return false;
|
|
7403
7455
|
}
|
|
7404
7456
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
7405
|
-
if (!(equals$
|
|
7457
|
+
if (!(equals$u(existing_filters_item, incoming_filters_item))) {
|
|
7406
7458
|
return false;
|
|
7407
7459
|
}
|
|
7408
7460
|
});
|
|
@@ -7468,14 +7520,14 @@ function equals$h(existing, incoming) {
|
|
|
7468
7520
|
}
|
|
7469
7521
|
const ingest$a = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7470
7522
|
if (process.env.NODE_ENV !== 'production') {
|
|
7471
|
-
const validateError = validate$
|
|
7523
|
+
const validateError = validate$k(input);
|
|
7472
7524
|
if (validateError !== null) {
|
|
7473
7525
|
throw validateError;
|
|
7474
7526
|
}
|
|
7475
7527
|
}
|
|
7476
7528
|
const key = keyBuilderFromType$4(luvio, input);
|
|
7477
7529
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7478
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$
|
|
7530
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$f, RepresentationType$a, equals$f);
|
|
7479
7531
|
return createLink(key);
|
|
7480
7532
|
};
|
|
7481
7533
|
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7506,8 +7558,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7506
7558
|
}
|
|
7507
7559
|
}
|
|
7508
7560
|
|
|
7509
|
-
const VERSION$
|
|
7510
|
-
function validate$
|
|
7561
|
+
const VERSION$e = "a50848c632bb205d5e910bb726d9219e";
|
|
7562
|
+
function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
7511
7563
|
const v_error = (() => {
|
|
7512
7564
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7513
7565
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7515,7 +7567,7 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7515
7567
|
if (obj.identifierDimensionReference !== undefined) {
|
|
7516
7568
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
7517
7569
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
7518
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
7570
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$q(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
7519
7571
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
7520
7572
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
7521
7573
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7525,7 +7577,7 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7525
7577
|
if (obj.namingDimensionReference !== undefined) {
|
|
7526
7578
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
7527
7579
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
7528
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
7580
|
+
const referencepath_namingDimensionReferenceValidationError = validate$q(obj_namingDimensionReference, path_namingDimensionReference);
|
|
7529
7581
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
7530
7582
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
7531
7583
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7535,11 +7587,11 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7535
7587
|
})();
|
|
7536
7588
|
return v_error === undefined ? null : v_error;
|
|
7537
7589
|
}
|
|
7538
|
-
const select$
|
|
7539
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
7590
|
+
const select$u = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
7591
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
7540
7592
|
return {
|
|
7541
7593
|
kind: 'Fragment',
|
|
7542
|
-
version: VERSION$
|
|
7594
|
+
version: VERSION$e,
|
|
7543
7595
|
private: [],
|
|
7544
7596
|
selections: [
|
|
7545
7597
|
{
|
|
@@ -7557,7 +7609,7 @@ const select$w = function SemanticIdentifyingDimensionOutputRepresentationSelect
|
|
|
7557
7609
|
]
|
|
7558
7610
|
};
|
|
7559
7611
|
};
|
|
7560
|
-
function equals$
|
|
7612
|
+
function equals$e(existing, incoming) {
|
|
7561
7613
|
const existing_identifierDimensionReference = existing.identifierDimensionReference;
|
|
7562
7614
|
const incoming_identifierDimensionReference = incoming.identifierDimensionReference;
|
|
7563
7615
|
// if at least one of these optionals is defined
|
|
@@ -7567,7 +7619,7 @@ function equals$g(existing, incoming) {
|
|
|
7567
7619
|
if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
|
|
7568
7620
|
return false;
|
|
7569
7621
|
}
|
|
7570
|
-
if (!(equals$
|
|
7622
|
+
if (!(equals$l(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
|
|
7571
7623
|
return false;
|
|
7572
7624
|
}
|
|
7573
7625
|
}
|
|
@@ -7580,15 +7632,15 @@ function equals$g(existing, incoming) {
|
|
|
7580
7632
|
if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
|
|
7581
7633
|
return false;
|
|
7582
7634
|
}
|
|
7583
|
-
if (!(equals$
|
|
7635
|
+
if (!(equals$l(existing_namingDimensionReference, incoming_namingDimensionReference))) {
|
|
7584
7636
|
return false;
|
|
7585
7637
|
}
|
|
7586
7638
|
}
|
|
7587
7639
|
return true;
|
|
7588
7640
|
}
|
|
7589
7641
|
|
|
7590
|
-
const VERSION$
|
|
7591
|
-
function validate$
|
|
7642
|
+
const VERSION$d = "1b8cf2283d5d5c480459506274f0604c";
|
|
7643
|
+
function validate$i(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
7592
7644
|
const v_error = (() => {
|
|
7593
7645
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7594
7646
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7610,10 +7662,10 @@ function validate$j(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
|
7610
7662
|
})();
|
|
7611
7663
|
return v_error === undefined ? null : v_error;
|
|
7612
7664
|
}
|
|
7613
|
-
const select$
|
|
7665
|
+
const select$t = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
7614
7666
|
return {
|
|
7615
7667
|
kind: 'Fragment',
|
|
7616
|
-
version: VERSION$
|
|
7668
|
+
version: VERSION$d,
|
|
7617
7669
|
private: [],
|
|
7618
7670
|
selections: [
|
|
7619
7671
|
{
|
|
@@ -7629,7 +7681,7 @@ const select$v = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
|
7629
7681
|
]
|
|
7630
7682
|
};
|
|
7631
7683
|
};
|
|
7632
|
-
function equals$
|
|
7684
|
+
function equals$d(existing, incoming) {
|
|
7633
7685
|
const existing_enabled = existing.enabled;
|
|
7634
7686
|
const incoming_enabled = incoming.enabled;
|
|
7635
7687
|
// if at least one of these optionals is defined
|
|
@@ -7659,8 +7711,8 @@ function equals$f(existing, incoming) {
|
|
|
7659
7711
|
return true;
|
|
7660
7712
|
}
|
|
7661
7713
|
|
|
7662
|
-
const VERSION$
|
|
7663
|
-
function validate$
|
|
7714
|
+
const VERSION$c = "a3f5972287be7bcf9ca205af56046a58";
|
|
7715
|
+
function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
7664
7716
|
const v_error = (() => {
|
|
7665
7717
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7666
7718
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7668,7 +7720,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7668
7720
|
if (obj.identifyingDimension !== undefined) {
|
|
7669
7721
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
7670
7722
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
7671
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
7723
|
+
const referencepath_identifyingDimensionValidationError = validate$j(obj_identifyingDimension, path_identifyingDimension);
|
|
7672
7724
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
7673
7725
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
7674
7726
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7684,7 +7736,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7684
7736
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
7685
7737
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
7686
7738
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
7687
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
7739
|
+
const referencepath_insightTypes_itemValidationError = validate$i(obj_insightTypes_item, path_insightTypes_item);
|
|
7688
7740
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
7689
7741
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
7690
7742
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7701,7 +7753,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7701
7753
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
7702
7754
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
7703
7755
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
7704
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
7756
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$q(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
7705
7757
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
7706
7758
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
7707
7759
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7733,13 +7785,13 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7733
7785
|
})();
|
|
7734
7786
|
return v_error === undefined ? null : v_error;
|
|
7735
7787
|
}
|
|
7736
|
-
const select$
|
|
7737
|
-
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$
|
|
7738
|
-
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$
|
|
7739
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
7788
|
+
const select$s = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
7789
|
+
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$u();
|
|
7790
|
+
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$t();
|
|
7791
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
7740
7792
|
return {
|
|
7741
7793
|
kind: 'Fragment',
|
|
7742
|
-
version: VERSION$
|
|
7794
|
+
version: VERSION$c,
|
|
7743
7795
|
private: [],
|
|
7744
7796
|
selections: [
|
|
7745
7797
|
{
|
|
@@ -7780,7 +7832,7 @@ const select$u = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
|
7780
7832
|
]
|
|
7781
7833
|
};
|
|
7782
7834
|
};
|
|
7783
|
-
function equals$
|
|
7835
|
+
function equals$c(existing, incoming) {
|
|
7784
7836
|
const existing_pluralNoun = existing.pluralNoun;
|
|
7785
7837
|
const incoming_pluralNoun = incoming.pluralNoun;
|
|
7786
7838
|
// if at least one of these optionals is defined
|
|
@@ -7829,7 +7881,7 @@ function equals$e(existing, incoming) {
|
|
|
7829
7881
|
if (existing_identifyingDimension === undefined || incoming_identifyingDimension === undefined) {
|
|
7830
7882
|
return false;
|
|
7831
7883
|
}
|
|
7832
|
-
if (!(equals$
|
|
7884
|
+
if (!(equals$e(existing_identifyingDimension, incoming_identifyingDimension))) {
|
|
7833
7885
|
return false;
|
|
7834
7886
|
}
|
|
7835
7887
|
}
|
|
@@ -7843,7 +7895,7 @@ function equals$e(existing, incoming) {
|
|
|
7843
7895
|
return false;
|
|
7844
7896
|
}
|
|
7845
7897
|
const equals_insightTypes_items = equalsArray(existing_insightTypes, incoming_insightTypes, (existing_insightTypes_item, incoming_insightTypes_item) => {
|
|
7846
|
-
if (!(equals$
|
|
7898
|
+
if (!(equals$d(existing_insightTypes_item, incoming_insightTypes_item))) {
|
|
7847
7899
|
return false;
|
|
7848
7900
|
}
|
|
7849
7901
|
});
|
|
@@ -7861,7 +7913,7 @@ function equals$e(existing, incoming) {
|
|
|
7861
7913
|
return false;
|
|
7862
7914
|
}
|
|
7863
7915
|
const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
|
|
7864
|
-
if (!(equals$
|
|
7916
|
+
if (!(equals$l(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
|
|
7865
7917
|
return false;
|
|
7866
7918
|
}
|
|
7867
7919
|
});
|
|
@@ -7872,8 +7924,8 @@ function equals$e(existing, incoming) {
|
|
|
7872
7924
|
return true;
|
|
7873
7925
|
}
|
|
7874
7926
|
|
|
7875
|
-
const VERSION$
|
|
7876
|
-
function validate$
|
|
7927
|
+
const VERSION$b = "a9c4c21f041ebd0ad373f8e53e345e6a";
|
|
7928
|
+
function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
7877
7929
|
const v_error = (() => {
|
|
7878
7930
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7879
7931
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7887,7 +7939,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7887
7939
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
7888
7940
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
7889
7941
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
7890
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
7942
|
+
const referencepath_additionalDimensions_itemValidationError = validate$q(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
7891
7943
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
7892
7944
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
7893
7945
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7954,7 +8006,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7954
8006
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7955
8007
|
const obj_filters_item = obj_filters[i];
|
|
7956
8008
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7957
|
-
const referencepath_filters_itemValidationError = validate$
|
|
8009
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
7958
8010
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7959
8011
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7960
8012
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7970,7 +8022,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7970
8022
|
if (obj.insightsSettings !== undefined) {
|
|
7971
8023
|
const obj_insightsSettings = obj.insightsSettings;
|
|
7972
8024
|
const path_insightsSettings = path + '.insightsSettings';
|
|
7973
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
8025
|
+
const referencepath_insightsSettingsValidationError = validate$h(obj_insightsSettings, path_insightsSettings);
|
|
7974
8026
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
7975
8027
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
7976
8028
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8015,7 +8067,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8015
8067
|
if (obj.measurementReference !== undefined) {
|
|
8016
8068
|
const obj_measurementReference = obj.measurementReference;
|
|
8017
8069
|
const path_measurementReference = path + '.measurementReference';
|
|
8018
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
8070
|
+
const referencepath_measurementReferenceValidationError = validate$q(obj_measurementReference, path_measurementReference);
|
|
8019
8071
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
8020
8072
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
8021
8073
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8025,7 +8077,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8025
8077
|
if (obj.timeDimensionReference !== undefined) {
|
|
8026
8078
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
8027
8079
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
8028
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
8080
|
+
const referencepath_timeDimensionReferenceValidationError = validate$q(obj_timeDimensionReference, path_timeDimensionReference);
|
|
8029
8081
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
8030
8082
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
8031
8083
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8069,13 +8121,13 @@ function keyBuilderFromType$3(luvio, object) {
|
|
|
8069
8121
|
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
8070
8122
|
return input;
|
|
8071
8123
|
}
|
|
8072
|
-
const select$
|
|
8073
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
8074
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
8075
|
-
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$
|
|
8124
|
+
const select$r = function SemanticMetricOutputRepresentationSelect() {
|
|
8125
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
8126
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
8127
|
+
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$s();
|
|
8076
8128
|
return {
|
|
8077
8129
|
kind: 'Fragment',
|
|
8078
|
-
version: VERSION$
|
|
8130
|
+
version: VERSION$b,
|
|
8079
8131
|
private: [],
|
|
8080
8132
|
selections: [
|
|
8081
8133
|
{
|
|
@@ -8190,7 +8242,7 @@ const select$t = function SemanticMetricOutputRepresentationSelect() {
|
|
|
8190
8242
|
]
|
|
8191
8243
|
};
|
|
8192
8244
|
};
|
|
8193
|
-
function equals$
|
|
8245
|
+
function equals$b(existing, incoming) {
|
|
8194
8246
|
const existing_isCumulative = existing.isCumulative;
|
|
8195
8247
|
const incoming_isCumulative = incoming.isCumulative;
|
|
8196
8248
|
// if at least one of these optionals is defined
|
|
@@ -8364,7 +8416,7 @@ function equals$d(existing, incoming) {
|
|
|
8364
8416
|
return false;
|
|
8365
8417
|
}
|
|
8366
8418
|
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
8367
|
-
if (!(equals$
|
|
8419
|
+
if (!(equals$l(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
8368
8420
|
return false;
|
|
8369
8421
|
}
|
|
8370
8422
|
});
|
|
@@ -8382,7 +8434,7 @@ function equals$d(existing, incoming) {
|
|
|
8382
8434
|
return false;
|
|
8383
8435
|
}
|
|
8384
8436
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
8385
|
-
if (!(equals$
|
|
8437
|
+
if (!(equals$u(existing_filters_item, incoming_filters_item))) {
|
|
8386
8438
|
return false;
|
|
8387
8439
|
}
|
|
8388
8440
|
});
|
|
@@ -8399,7 +8451,7 @@ function equals$d(existing, incoming) {
|
|
|
8399
8451
|
if (existing_insightsSettings === undefined || incoming_insightsSettings === undefined) {
|
|
8400
8452
|
return false;
|
|
8401
8453
|
}
|
|
8402
|
-
if (!(equals$
|
|
8454
|
+
if (!(equals$c(existing_insightsSettings, incoming_insightsSettings))) {
|
|
8403
8455
|
return false;
|
|
8404
8456
|
}
|
|
8405
8457
|
}
|
|
@@ -8412,7 +8464,7 @@ function equals$d(existing, incoming) {
|
|
|
8412
8464
|
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
8413
8465
|
return false;
|
|
8414
8466
|
}
|
|
8415
|
-
if (!(equals$
|
|
8467
|
+
if (!(equals$l(existing_measurementReference, incoming_measurementReference))) {
|
|
8416
8468
|
return false;
|
|
8417
8469
|
}
|
|
8418
8470
|
}
|
|
@@ -8425,7 +8477,7 @@ function equals$d(existing, incoming) {
|
|
|
8425
8477
|
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
8426
8478
|
return false;
|
|
8427
8479
|
}
|
|
8428
|
-
if (!(equals$
|
|
8480
|
+
if (!(equals$l(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
8429
8481
|
return false;
|
|
8430
8482
|
}
|
|
8431
8483
|
}
|
|
@@ -8451,14 +8503,14 @@ function equals$d(existing, incoming) {
|
|
|
8451
8503
|
}
|
|
8452
8504
|
const ingest$9 = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8453
8505
|
if (process.env.NODE_ENV !== 'production') {
|
|
8454
|
-
const validateError = validate$
|
|
8506
|
+
const validateError = validate$g(input);
|
|
8455
8507
|
if (validateError !== null) {
|
|
8456
8508
|
throw validateError;
|
|
8457
8509
|
}
|
|
8458
8510
|
}
|
|
8459
8511
|
const key = keyBuilderFromType$3(luvio, input);
|
|
8460
8512
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
8461
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$
|
|
8513
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$b, RepresentationType$9, equals$b);
|
|
8462
8514
|
return createLink(key);
|
|
8463
8515
|
};
|
|
8464
8516
|
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -8471,8 +8523,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8471
8523
|
});
|
|
8472
8524
|
}
|
|
8473
8525
|
|
|
8474
|
-
const VERSION$
|
|
8475
|
-
function validate$
|
|
8526
|
+
const VERSION$a = "158d115be773406f841e4351d481d398";
|
|
8527
|
+
function validate$f(obj, path = 'SemanticParameterListValueOutputRepresentation') {
|
|
8476
8528
|
const v_error = (() => {
|
|
8477
8529
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8478
8530
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8494,10 +8546,10 @@ function validate$g(obj, path = 'SemanticParameterListValueOutputRepresentation'
|
|
|
8494
8546
|
})();
|
|
8495
8547
|
return v_error === undefined ? null : v_error;
|
|
8496
8548
|
}
|
|
8497
|
-
const select$
|
|
8549
|
+
const select$q = function SemanticParameterListValueOutputRepresentationSelect() {
|
|
8498
8550
|
return {
|
|
8499
8551
|
kind: 'Fragment',
|
|
8500
|
-
version: VERSION$
|
|
8552
|
+
version: VERSION$a,
|
|
8501
8553
|
private: [],
|
|
8502
8554
|
selections: [
|
|
8503
8555
|
{
|
|
@@ -8513,7 +8565,7 @@ const select$s = function SemanticParameterListValueOutputRepresentationSelect()
|
|
|
8513
8565
|
]
|
|
8514
8566
|
};
|
|
8515
8567
|
};
|
|
8516
|
-
function equals$
|
|
8568
|
+
function equals$a(existing, incoming) {
|
|
8517
8569
|
const existing_displayName = existing.displayName;
|
|
8518
8570
|
const incoming_displayName = incoming.displayName;
|
|
8519
8571
|
// if at least one of these optionals is defined
|
|
@@ -8543,8 +8595,8 @@ function equals$c(existing, incoming) {
|
|
|
8543
8595
|
return true;
|
|
8544
8596
|
}
|
|
8545
8597
|
|
|
8546
|
-
const VERSION$
|
|
8547
|
-
function validate$
|
|
8598
|
+
const VERSION$9 = "1463471c69296e6727623faee2cbfe0c";
|
|
8599
|
+
function validate$e(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
8548
8600
|
const v_error = (() => {
|
|
8549
8601
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8550
8602
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8558,7 +8610,7 @@ function validate$f(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
8558
8610
|
for (let i = 0; i < obj_allowedValues.length; i++) {
|
|
8559
8611
|
const obj_allowedValues_item = obj_allowedValues[i];
|
|
8560
8612
|
const path_allowedValues_item = path_allowedValues + '[' + i + ']';
|
|
8561
|
-
const referencepath_allowedValues_itemValidationError = validate$
|
|
8613
|
+
const referencepath_allowedValues_itemValidationError = validate$f(obj_allowedValues_item, path_allowedValues_item);
|
|
8562
8614
|
if (referencepath_allowedValues_itemValidationError !== null) {
|
|
8563
8615
|
let message = 'Object doesn\'t match SemanticParameterListValueOutputRepresentation (at "' + path_allowedValues_item + '")\n';
|
|
8564
8616
|
message += referencepath_allowedValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8714,11 +8766,11 @@ function keyBuilderFromType$2(luvio, object) {
|
|
|
8714
8766
|
function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
8715
8767
|
return input;
|
|
8716
8768
|
}
|
|
8717
|
-
const select$
|
|
8718
|
-
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$
|
|
8769
|
+
const select$p = function SemanticParameterOutputRepresentationSelect() {
|
|
8770
|
+
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$q();
|
|
8719
8771
|
return {
|
|
8720
8772
|
kind: 'Fragment',
|
|
8721
|
-
version: VERSION$
|
|
8773
|
+
version: VERSION$9,
|
|
8722
8774
|
private: [],
|
|
8723
8775
|
selections: [
|
|
8724
8776
|
{
|
|
@@ -8823,7 +8875,7 @@ const select$r = function SemanticParameterOutputRepresentationSelect() {
|
|
|
8823
8875
|
]
|
|
8824
8876
|
};
|
|
8825
8877
|
};
|
|
8826
|
-
function equals$
|
|
8878
|
+
function equals$9(existing, incoming) {
|
|
8827
8879
|
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
8828
8880
|
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
8829
8881
|
// if at least one of these optionals is defined
|
|
@@ -9036,7 +9088,7 @@ function equals$b(existing, incoming) {
|
|
|
9036
9088
|
return false;
|
|
9037
9089
|
}
|
|
9038
9090
|
const equals_allowedValues_items = equalsArray(existing_allowedValues, incoming_allowedValues, (existing_allowedValues_item, incoming_allowedValues_item) => {
|
|
9039
|
-
if (!(equals$
|
|
9091
|
+
if (!(equals$a(existing_allowedValues_item, incoming_allowedValues_item))) {
|
|
9040
9092
|
return false;
|
|
9041
9093
|
}
|
|
9042
9094
|
});
|
|
@@ -9066,14 +9118,14 @@ function equals$b(existing, incoming) {
|
|
|
9066
9118
|
}
|
|
9067
9119
|
const ingest$8 = function SemanticParameterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9068
9120
|
if (process.env.NODE_ENV !== 'production') {
|
|
9069
|
-
const validateError = validate$
|
|
9121
|
+
const validateError = validate$e(input);
|
|
9070
9122
|
if (validateError !== null) {
|
|
9071
9123
|
throw validateError;
|
|
9072
9124
|
}
|
|
9073
9125
|
}
|
|
9074
9126
|
const key = keyBuilderFromType$2(luvio, input);
|
|
9075
9127
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
9076
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$
|
|
9128
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$9, RepresentationType$8, equals$9);
|
|
9077
9129
|
return createLink(key);
|
|
9078
9130
|
};
|
|
9079
9131
|
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -9086,8 +9138,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9086
9138
|
});
|
|
9087
9139
|
}
|
|
9088
9140
|
|
|
9089
|
-
const VERSION$
|
|
9090
|
-
function validate$
|
|
9141
|
+
const VERSION$8 = "384950eda90c1492434fc4519368df85";
|
|
9142
|
+
function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
9091
9143
|
const v_error = (() => {
|
|
9092
9144
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9093
9145
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9120,7 +9172,7 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9120
9172
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
9121
9173
|
const obj_baseModels_item = obj_baseModels[i];
|
|
9122
9174
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
9123
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
9175
|
+
const referencepath_baseModels_itemValidationError = validate$F(obj_baseModels_item, path_baseModels_item);
|
|
9124
9176
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
9125
9177
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
9126
9178
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9180,7 +9232,7 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9180
9232
|
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
9181
9233
|
const obj_externalConnections_item = obj_externalConnections[i];
|
|
9182
9234
|
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
9183
|
-
const referencepath_externalConnections_itemValidationError = validate$
|
|
9235
|
+
const referencepath_externalConnections_itemValidationError = validate$D(obj_externalConnections_item, path_externalConnections_item);
|
|
9184
9236
|
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
9185
9237
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
9186
9238
|
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9197,7 +9249,7 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9197
9249
|
for (let i = 0; i < obj_fieldsOverrides.length; i++) {
|
|
9198
9250
|
const obj_fieldsOverrides_item = obj_fieldsOverrides[i];
|
|
9199
9251
|
const path_fieldsOverrides_item = path_fieldsOverrides + '[' + i + ']';
|
|
9200
|
-
const referencepath_fieldsOverrides_itemValidationError = validate$
|
|
9252
|
+
const referencepath_fieldsOverrides_itemValidationError = validate$C(obj_fieldsOverrides_item, path_fieldsOverrides_item);
|
|
9201
9253
|
if (referencepath_fieldsOverrides_itemValidationError !== null) {
|
|
9202
9254
|
let message = 'Object doesn\'t match SemanticOverrideOutputRepresentation (at "' + path_fieldsOverrides_item + '")\n';
|
|
9203
9255
|
message += referencepath_fieldsOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9594,13 +9646,13 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
9594
9646
|
}
|
|
9595
9647
|
return input;
|
|
9596
9648
|
}
|
|
9597
|
-
const select$
|
|
9598
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
9599
|
-
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$
|
|
9600
|
-
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$
|
|
9649
|
+
const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
9650
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$O();
|
|
9651
|
+
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$M();
|
|
9652
|
+
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$L();
|
|
9601
9653
|
return {
|
|
9602
9654
|
kind: 'Fragment',
|
|
9603
|
-
version: VERSION$
|
|
9655
|
+
version: VERSION$8,
|
|
9604
9656
|
private: [],
|
|
9605
9657
|
selections: [
|
|
9606
9658
|
{
|
|
@@ -9700,7 +9752,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9700
9752
|
kind: 'Link',
|
|
9701
9753
|
plural: true,
|
|
9702
9754
|
required: false,
|
|
9703
|
-
fragment: select$
|
|
9755
|
+
fragment: select$J()
|
|
9704
9756
|
},
|
|
9705
9757
|
{
|
|
9706
9758
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -9712,7 +9764,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9712
9764
|
kind: 'Link',
|
|
9713
9765
|
plural: true,
|
|
9714
9766
|
required: false,
|
|
9715
|
-
fragment: select$
|
|
9767
|
+
fragment: select$I()
|
|
9716
9768
|
},
|
|
9717
9769
|
{
|
|
9718
9770
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -9724,7 +9776,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9724
9776
|
kind: 'Link',
|
|
9725
9777
|
plural: true,
|
|
9726
9778
|
required: false,
|
|
9727
|
-
fragment: select$
|
|
9779
|
+
fragment: select$H()
|
|
9728
9780
|
},
|
|
9729
9781
|
{
|
|
9730
9782
|
name: 'semanticDataObjectsUrl',
|
|
@@ -9736,7 +9788,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9736
9788
|
kind: 'Link',
|
|
9737
9789
|
plural: true,
|
|
9738
9790
|
required: false,
|
|
9739
|
-
fragment: select$
|
|
9791
|
+
fragment: select$A()
|
|
9740
9792
|
},
|
|
9741
9793
|
{
|
|
9742
9794
|
name: 'semanticGroupingsUrl',
|
|
@@ -9748,21 +9800,21 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9748
9800
|
kind: 'Link',
|
|
9749
9801
|
plural: true,
|
|
9750
9802
|
required: false,
|
|
9751
|
-
fragment: select$
|
|
9803
|
+
fragment: select$v()
|
|
9752
9804
|
},
|
|
9753
9805
|
{
|
|
9754
9806
|
name: 'semanticMetrics',
|
|
9755
9807
|
kind: 'Link',
|
|
9756
9808
|
plural: true,
|
|
9757
9809
|
required: false,
|
|
9758
|
-
fragment: select$
|
|
9810
|
+
fragment: select$r()
|
|
9759
9811
|
},
|
|
9760
9812
|
{
|
|
9761
9813
|
name: 'semanticParameters',
|
|
9762
9814
|
kind: 'Link',
|
|
9763
9815
|
plural: true,
|
|
9764
9816
|
required: false,
|
|
9765
|
-
fragment: select$
|
|
9817
|
+
fragment: select$p()
|
|
9766
9818
|
},
|
|
9767
9819
|
{
|
|
9768
9820
|
name: 'semanticParametersUrl',
|
|
@@ -9774,7 +9826,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9774
9826
|
kind: 'Link',
|
|
9775
9827
|
plural: true,
|
|
9776
9828
|
required: false,
|
|
9777
|
-
fragment: select$
|
|
9829
|
+
fragment: select$y()
|
|
9778
9830
|
},
|
|
9779
9831
|
{
|
|
9780
9832
|
name: 'semanticRelationshipsUrl',
|
|
@@ -9794,7 +9846,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9794
9846
|
]
|
|
9795
9847
|
};
|
|
9796
9848
|
};
|
|
9797
|
-
function equals$
|
|
9849
|
+
function equals$8(existing, incoming) {
|
|
9798
9850
|
const existing_isLocked = existing.isLocked;
|
|
9799
9851
|
const incoming_isLocked = incoming.isLocked;
|
|
9800
9852
|
// if at least one of these optionals is defined
|
|
@@ -10038,7 +10090,7 @@ function equals$a(existing, incoming) {
|
|
|
10038
10090
|
return false;
|
|
10039
10091
|
}
|
|
10040
10092
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
10041
|
-
if (!(equals$
|
|
10093
|
+
if (!(equals$y(existing_baseModels_item, incoming_baseModels_item))) {
|
|
10042
10094
|
return false;
|
|
10043
10095
|
}
|
|
10044
10096
|
});
|
|
@@ -10074,7 +10126,7 @@ function equals$a(existing, incoming) {
|
|
|
10074
10126
|
return false;
|
|
10075
10127
|
}
|
|
10076
10128
|
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
10077
|
-
if (!(equals$
|
|
10129
|
+
if (!(equals$w(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
10078
10130
|
return false;
|
|
10079
10131
|
}
|
|
10080
10132
|
});
|
|
@@ -10092,7 +10144,7 @@ function equals$a(existing, incoming) {
|
|
|
10092
10144
|
return false;
|
|
10093
10145
|
}
|
|
10094
10146
|
const equals_fieldsOverrides_items = equalsArray(existing_fieldsOverrides, incoming_fieldsOverrides, (existing_fieldsOverrides_item, incoming_fieldsOverrides_item) => {
|
|
10095
|
-
if (!(equals$
|
|
10147
|
+
if (!(equals$v(existing_fieldsOverrides_item, incoming_fieldsOverrides_item))) {
|
|
10096
10148
|
return false;
|
|
10097
10149
|
}
|
|
10098
10150
|
});
|
|
@@ -10261,14 +10313,14 @@ function equals$a(existing, incoming) {
|
|
|
10261
10313
|
}
|
|
10262
10314
|
const ingest$7 = function SemanticModelOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10263
10315
|
if (process.env.NODE_ENV !== 'production') {
|
|
10264
|
-
const validateError = validate$
|
|
10316
|
+
const validateError = validate$d(input);
|
|
10265
10317
|
if (validateError !== null) {
|
|
10266
10318
|
throw validateError;
|
|
10267
10319
|
}
|
|
10268
10320
|
}
|
|
10269
10321
|
const key = keyBuilderFromType$1(luvio, input);
|
|
10270
10322
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
10271
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SemanticAuthoring", VERSION$
|
|
10323
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SemanticAuthoring", VERSION$8, RepresentationType$7, equals$8);
|
|
10272
10324
|
return createLink(key);
|
|
10273
10325
|
};
|
|
10274
10326
|
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -10329,8 +10381,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10329
10381
|
}
|
|
10330
10382
|
}
|
|
10331
10383
|
|
|
10332
|
-
function select$
|
|
10333
|
-
return select$
|
|
10384
|
+
function select$n(luvio, params) {
|
|
10385
|
+
return select$o();
|
|
10334
10386
|
}
|
|
10335
10387
|
function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
|
|
10336
10388
|
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
@@ -10341,7 +10393,7 @@ function ingestSuccess$f(luvio, resourceParams, response) {
|
|
|
10341
10393
|
luvio.storeIngest(key, ingest$7, body);
|
|
10342
10394
|
const snapshot = luvio.storeLookup({
|
|
10343
10395
|
recordId: key,
|
|
10344
|
-
node: select$
|
|
10396
|
+
node: select$n(),
|
|
10345
10397
|
variables: {},
|
|
10346
10398
|
});
|
|
10347
10399
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -10399,7 +10451,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10399
10451
|
const untrustedConfig_baseModels_array = [];
|
|
10400
10452
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
10401
10453
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
10402
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
10454
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$14(untrustedConfig_baseModels_item);
|
|
10403
10455
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
10404
10456
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
10405
10457
|
}
|
|
@@ -10411,7 +10463,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10411
10463
|
const untrustedConfig_externalConnections_array = [];
|
|
10412
10464
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
10413
10465
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
10414
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
10466
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$12(untrustedConfig_externalConnections_item);
|
|
10415
10467
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
10416
10468
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
10417
10469
|
}
|
|
@@ -10423,7 +10475,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10423
10475
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
10424
10476
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
10425
10477
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
10426
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
10478
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$11(untrustedConfig_fieldsOverrides_item);
|
|
10427
10479
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
10428
10480
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
10429
10481
|
}
|
|
@@ -10435,7 +10487,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10435
10487
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10436
10488
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10437
10489
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10438
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
10490
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10439
10491
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10440
10492
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10441
10493
|
}
|
|
@@ -10447,7 +10499,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10447
10499
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10448
10500
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10449
10501
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10450
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate
|
|
10502
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10451
10503
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10452
10504
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10453
10505
|
}
|
|
@@ -10459,7 +10511,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10459
10511
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10460
10512
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
10461
10513
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
10462
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10514
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$X(untrustedConfig_semanticDataObjects_item);
|
|
10463
10515
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
10464
10516
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
10465
10517
|
}
|
|
@@ -10471,7 +10523,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10471
10523
|
const untrustedConfig_semanticGroupings_array = [];
|
|
10472
10524
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
10473
10525
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
10474
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10526
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$Q(untrustedConfig_semanticGroupings_item);
|
|
10475
10527
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
10476
10528
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
10477
10529
|
}
|
|
@@ -10483,7 +10535,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10483
10535
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
10484
10536
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
10485
10537
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
10486
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10538
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$L(untrustedConfig_semanticLogicalViews_item);
|
|
10487
10539
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
10488
10540
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
10489
10541
|
}
|
|
@@ -10495,7 +10547,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10495
10547
|
const untrustedConfig_semanticMetrics_array = [];
|
|
10496
10548
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
10497
10549
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
10498
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10550
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$H(untrustedConfig_semanticMetrics_item);
|
|
10499
10551
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
10500
10552
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
10501
10553
|
}
|
|
@@ -10507,7 +10559,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10507
10559
|
const untrustedConfig_semanticParameters_array = [];
|
|
10508
10560
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
10509
10561
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
10510
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10562
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$G(untrustedConfig_semanticParameters_item);
|
|
10511
10563
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
10512
10564
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
10513
10565
|
}
|
|
@@ -10519,7 +10571,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10519
10571
|
const untrustedConfig_semanticRelationships_array = [];
|
|
10520
10572
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
10521
10573
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
10522
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10574
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$O(untrustedConfig_semanticRelationships_item);
|
|
10523
10575
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
10524
10576
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
10525
10577
|
}
|
|
@@ -10570,7 +10622,7 @@ const createSemanticModelAdapterFactory = (luvio) => {
|
|
|
10570
10622
|
};
|
|
10571
10623
|
};
|
|
10572
10624
|
|
|
10573
|
-
function validate$
|
|
10625
|
+
function validate$c(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
10574
10626
|
const v_error = (() => {
|
|
10575
10627
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10576
10628
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10591,7 +10643,7 @@ function validate$d(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
10591
10643
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
10592
10644
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
10593
10645
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
10594
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
10646
|
+
const referencepath_statusConditions_itemValidationError = validate$18(obj_statusConditions_item, path_statusConditions_item);
|
|
10595
10647
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
10596
10648
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionInputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
10597
10649
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10603,7 +10655,7 @@ function validate$d(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
10603
10655
|
return v_error === undefined ? null : v_error;
|
|
10604
10656
|
}
|
|
10605
10657
|
|
|
10606
|
-
function validate$
|
|
10658
|
+
function validate$b(obj, path = 'SemanticTimeRangeInputRepresentation') {
|
|
10607
10659
|
const v_error = (() => {
|
|
10608
10660
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10609
10661
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10633,7 +10685,7 @@ function validate$c(obj, path = 'SemanticTimeRangeInputRepresentation') {
|
|
|
10633
10685
|
return v_error === undefined ? null : v_error;
|
|
10634
10686
|
}
|
|
10635
10687
|
|
|
10636
|
-
function validate$
|
|
10688
|
+
function validate$a(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
10637
10689
|
const v_error = (() => {
|
|
10638
10690
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10639
10691
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10651,7 +10703,7 @@ function validate$b(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
10651
10703
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
10652
10704
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
10653
10705
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
10654
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
10706
|
+
const referencepath_statusConditions_itemValidationError = validate$16(obj_statusConditions_item, path_statusConditions_item);
|
|
10655
10707
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
10656
10708
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
10657
10709
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10662,7 +10714,7 @@ function validate$b(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
10662
10714
|
return v_error === undefined ? null : v_error;
|
|
10663
10715
|
}
|
|
10664
10716
|
|
|
10665
|
-
function validate$
|
|
10717
|
+
function validate$9(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
10666
10718
|
const v_error = (() => {
|
|
10667
10719
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10668
10720
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10692,8 +10744,8 @@ function validate$a(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
|
10692
10744
|
return v_error === undefined ? null : v_error;
|
|
10693
10745
|
}
|
|
10694
10746
|
|
|
10695
|
-
const VERSION$
|
|
10696
|
-
function validate$
|
|
10747
|
+
const VERSION$7 = "34ece37408ddd80874097c87b829ae97";
|
|
10748
|
+
function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
10697
10749
|
const v_error = (() => {
|
|
10698
10750
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10699
10751
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10750,7 +10802,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10750
10802
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
10751
10803
|
const obj_filters_item = obj_filters[i];
|
|
10752
10804
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
10753
|
-
const referencepath_filters_itemValidationError = validate$
|
|
10805
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
10754
10806
|
if (referencepath_filters_itemValidationError !== null) {
|
|
10755
10807
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
10756
10808
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10761,7 +10813,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10761
10813
|
if (obj.goal !== undefined) {
|
|
10762
10814
|
const obj_goal = obj.goal;
|
|
10763
10815
|
const path_goal = path + '.goal';
|
|
10764
|
-
const referencepath_goalValidationError = validate$
|
|
10816
|
+
const referencepath_goalValidationError = validate$a(obj_goal, path_goal);
|
|
10765
10817
|
if (referencepath_goalValidationError !== null) {
|
|
10766
10818
|
let message = 'Object doesn\'t match SemanticMetricGoalOutputRepresentation (at "' + path_goal + '")\n';
|
|
10767
10819
|
message += referencepath_goalValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10804,7 +10856,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10804
10856
|
if (obj.semanticMetric !== undefined) {
|
|
10805
10857
|
const obj_semanticMetric = obj.semanticMetric;
|
|
10806
10858
|
const path_semanticMetric = path + '.semanticMetric';
|
|
10807
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
10859
|
+
const referencepath_semanticMetricValidationError = validate$g(obj_semanticMetric, path_semanticMetric);
|
|
10808
10860
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
10809
10861
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
10810
10862
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10814,7 +10866,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10814
10866
|
if (obj.timeRange !== undefined) {
|
|
10815
10867
|
const obj_timeRange = obj.timeRange;
|
|
10816
10868
|
const path_timeRange = path + '.timeRange';
|
|
10817
|
-
const referencepath_timeRangeValidationError = validate$
|
|
10869
|
+
const referencepath_timeRangeValidationError = validate$9(obj_timeRange, path_timeRange);
|
|
10818
10870
|
if (referencepath_timeRangeValidationError !== null) {
|
|
10819
10871
|
let message = 'Object doesn\'t match SemanticTimeRangeOutputRepresentation (at "' + path_timeRange + '")\n';
|
|
10820
10872
|
message += referencepath_timeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10837,15 +10889,15 @@ function keyBuilderFromType(luvio, object) {
|
|
|
10837
10889
|
function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
10838
10890
|
return input;
|
|
10839
10891
|
}
|
|
10840
|
-
const select$
|
|
10892
|
+
const select$m = function SemanticSubMetricOutputRepresentationSelect() {
|
|
10841
10893
|
return {
|
|
10842
10894
|
kind: 'Fragment',
|
|
10843
|
-
version: VERSION$
|
|
10895
|
+
version: VERSION$7,
|
|
10844
10896
|
private: [],
|
|
10845
10897
|
opaque: true
|
|
10846
10898
|
};
|
|
10847
10899
|
};
|
|
10848
|
-
function equals$
|
|
10900
|
+
function equals$7(existing, incoming) {
|
|
10849
10901
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
10850
10902
|
return false;
|
|
10851
10903
|
}
|
|
@@ -10853,14 +10905,14 @@ function equals$9(existing, incoming) {
|
|
|
10853
10905
|
}
|
|
10854
10906
|
const ingest$6 = function SemanticSubMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10855
10907
|
if (process.env.NODE_ENV !== 'production') {
|
|
10856
|
-
const validateError = validate$
|
|
10908
|
+
const validateError = validate$8(input);
|
|
10857
10909
|
if (validateError !== null) {
|
|
10858
10910
|
throw validateError;
|
|
10859
10911
|
}
|
|
10860
10912
|
}
|
|
10861
10913
|
const key = keyBuilderFromType(luvio, input);
|
|
10862
10914
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
10863
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SemanticAuthoring", VERSION$
|
|
10915
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SemanticAuthoring", VERSION$7, RepresentationType$6, equals$7);
|
|
10864
10916
|
return createLink(key);
|
|
10865
10917
|
};
|
|
10866
10918
|
function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -10873,8 +10925,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10873
10925
|
});
|
|
10874
10926
|
}
|
|
10875
10927
|
|
|
10876
|
-
function select$
|
|
10877
|
-
return select$
|
|
10928
|
+
function select$l(luvio, params) {
|
|
10929
|
+
return select$m();
|
|
10878
10930
|
}
|
|
10879
10931
|
function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
|
|
10880
10932
|
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
@@ -10885,7 +10937,7 @@ function ingestSuccess$e(luvio, resourceParams, response) {
|
|
|
10885
10937
|
luvio.storeIngest(key, ingest$6, body);
|
|
10886
10938
|
const snapshot = luvio.storeLookup({
|
|
10887
10939
|
recordId: key,
|
|
10888
|
-
node: select$
|
|
10940
|
+
node: select$l(),
|
|
10889
10941
|
variables: {},
|
|
10890
10942
|
});
|
|
10891
10943
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -10932,7 +10984,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10932
10984
|
const untrustedConfig_filters_array = [];
|
|
10933
10985
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
10934
10986
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
10935
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
10987
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$10(untrustedConfig_filters_item);
|
|
10936
10988
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
10937
10989
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
10938
10990
|
}
|
|
@@ -10940,12 +10992,12 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10940
10992
|
config.filters = untrustedConfig_filters_array;
|
|
10941
10993
|
}
|
|
10942
10994
|
const untrustedConfig_goal = untrustedConfig.goal;
|
|
10943
|
-
const referenceSemanticMetricGoalInputRepresentationValidationError = validate$
|
|
10995
|
+
const referenceSemanticMetricGoalInputRepresentationValidationError = validate$c(untrustedConfig_goal);
|
|
10944
10996
|
if (referenceSemanticMetricGoalInputRepresentationValidationError === null) {
|
|
10945
10997
|
config.goal = untrustedConfig_goal;
|
|
10946
10998
|
}
|
|
10947
10999
|
const untrustedConfig_timeRange = untrustedConfig.timeRange;
|
|
10948
|
-
const referenceSemanticTimeRangeInputRepresentationValidationError = validate$
|
|
11000
|
+
const referenceSemanticTimeRangeInputRepresentationValidationError = validate$b(untrustedConfig_timeRange);
|
|
10949
11001
|
if (referenceSemanticTimeRangeInputRepresentationValidationError === null) {
|
|
10950
11002
|
config.timeRange = untrustedConfig_timeRange;
|
|
10951
11003
|
}
|
|
@@ -11252,118 +11304,6 @@ const deleteSemanticSubMetricAdapterFactory = (luvio) => {
|
|
|
11252
11304
|
};
|
|
11253
11305
|
};
|
|
11254
11306
|
|
|
11255
|
-
const VERSION$8 = "e96f6d15d947eadd33aeb16dd9222420";
|
|
11256
|
-
function validate$8(obj, path = 'SemanticDependencyOutputRepresentation') {
|
|
11257
|
-
const v_error = (() => {
|
|
11258
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11259
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
11260
|
-
}
|
|
11261
|
-
const obj_apiName = obj.apiName;
|
|
11262
|
-
const path_apiName = path + '.apiName';
|
|
11263
|
-
if (typeof obj_apiName !== 'string') {
|
|
11264
|
-
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
11265
|
-
}
|
|
11266
|
-
if (obj.definitionType !== undefined) {
|
|
11267
|
-
const obj_definitionType = obj.definitionType;
|
|
11268
|
-
const path_definitionType = path + '.definitionType';
|
|
11269
|
-
if (typeof obj_definitionType !== 'string') {
|
|
11270
|
-
return new TypeError('Expected "string" but received "' + typeof obj_definitionType + '" (at "' + path_definitionType + '")');
|
|
11271
|
-
}
|
|
11272
|
-
}
|
|
11273
|
-
if (obj.label !== undefined) {
|
|
11274
|
-
const obj_label = obj.label;
|
|
11275
|
-
const path_label = path + '.label';
|
|
11276
|
-
if (typeof obj_label !== 'string') {
|
|
11277
|
-
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
11278
|
-
}
|
|
11279
|
-
}
|
|
11280
|
-
if (obj.modelApiName !== undefined) {
|
|
11281
|
-
const obj_modelApiName = obj.modelApiName;
|
|
11282
|
-
const path_modelApiName = path + '.modelApiName';
|
|
11283
|
-
if (typeof obj_modelApiName !== 'string') {
|
|
11284
|
-
return new TypeError('Expected "string" but received "' + typeof obj_modelApiName + '" (at "' + path_modelApiName + '")');
|
|
11285
|
-
}
|
|
11286
|
-
}
|
|
11287
|
-
})();
|
|
11288
|
-
return v_error === undefined ? null : v_error;
|
|
11289
|
-
}
|
|
11290
|
-
const select$m = function SemanticDependencyOutputRepresentationSelect() {
|
|
11291
|
-
return {
|
|
11292
|
-
kind: 'Fragment',
|
|
11293
|
-
version: VERSION$8,
|
|
11294
|
-
private: [],
|
|
11295
|
-
selections: [
|
|
11296
|
-
{
|
|
11297
|
-
name: 'apiName',
|
|
11298
|
-
kind: 'Scalar'
|
|
11299
|
-
},
|
|
11300
|
-
{
|
|
11301
|
-
name: 'definitionType',
|
|
11302
|
-
kind: 'Scalar',
|
|
11303
|
-
required: false
|
|
11304
|
-
},
|
|
11305
|
-
{
|
|
11306
|
-
name: 'label',
|
|
11307
|
-
kind: 'Scalar',
|
|
11308
|
-
required: false
|
|
11309
|
-
},
|
|
11310
|
-
{
|
|
11311
|
-
name: 'modelApiName',
|
|
11312
|
-
kind: 'Scalar',
|
|
11313
|
-
required: false
|
|
11314
|
-
}
|
|
11315
|
-
]
|
|
11316
|
-
};
|
|
11317
|
-
};
|
|
11318
|
-
function equals$8(existing, incoming) {
|
|
11319
|
-
const existing_apiName = existing.apiName;
|
|
11320
|
-
const incoming_apiName = incoming.apiName;
|
|
11321
|
-
if (!(existing_apiName === incoming_apiName)) {
|
|
11322
|
-
return false;
|
|
11323
|
-
}
|
|
11324
|
-
const existing_definitionType = existing.definitionType;
|
|
11325
|
-
const incoming_definitionType = incoming.definitionType;
|
|
11326
|
-
// if at least one of these optionals is defined
|
|
11327
|
-
if (existing_definitionType !== undefined || incoming_definitionType !== undefined) {
|
|
11328
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11329
|
-
// not equal
|
|
11330
|
-
if (existing_definitionType === undefined || incoming_definitionType === undefined) {
|
|
11331
|
-
return false;
|
|
11332
|
-
}
|
|
11333
|
-
if (!(existing_definitionType === incoming_definitionType)) {
|
|
11334
|
-
return false;
|
|
11335
|
-
}
|
|
11336
|
-
}
|
|
11337
|
-
const existing_label = existing.label;
|
|
11338
|
-
const incoming_label = incoming.label;
|
|
11339
|
-
// if at least one of these optionals is defined
|
|
11340
|
-
if (existing_label !== undefined || incoming_label !== undefined) {
|
|
11341
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11342
|
-
// not equal
|
|
11343
|
-
if (existing_label === undefined || incoming_label === undefined) {
|
|
11344
|
-
return false;
|
|
11345
|
-
}
|
|
11346
|
-
if (!(existing_label === incoming_label)) {
|
|
11347
|
-
return false;
|
|
11348
|
-
}
|
|
11349
|
-
}
|
|
11350
|
-
const existing_modelApiName = existing.modelApiName;
|
|
11351
|
-
const incoming_modelApiName = incoming.modelApiName;
|
|
11352
|
-
// if at least one of these optionals is defined
|
|
11353
|
-
if (existing_modelApiName !== undefined || incoming_modelApiName !== undefined) {
|
|
11354
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11355
|
-
// not equal
|
|
11356
|
-
if (existing_modelApiName === undefined || incoming_modelApiName === undefined) {
|
|
11357
|
-
return false;
|
|
11358
|
-
}
|
|
11359
|
-
if (!(existing_modelApiName === incoming_modelApiName)) {
|
|
11360
|
-
return false;
|
|
11361
|
-
}
|
|
11362
|
-
}
|
|
11363
|
-
return true;
|
|
11364
|
-
}
|
|
11365
|
-
|
|
11366
|
-
const VERSION$7 = "62e5e0ffeb783cdde37da72d400b0869";
|
|
11367
11307
|
function validate$7(obj, path = 'SemanticDependencyInnerCollectionOutputRepresentation') {
|
|
11368
11308
|
const v_error = (() => {
|
|
11369
11309
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -11385,11 +11325,8 @@ function validate$7(obj, path = 'SemanticDependencyInnerCollectionOutputRepresen
|
|
|
11385
11325
|
for (let i = 0; i < obj_dependencies.length; i++) {
|
|
11386
11326
|
const obj_dependencies_item = obj_dependencies[i];
|
|
11387
11327
|
const path_dependencies_item = path_dependencies + '[' + i + ']';
|
|
11388
|
-
|
|
11389
|
-
|
|
11390
|
-
let message = 'Object doesn\'t match SemanticDependencyOutputRepresentation (at "' + path_dependencies_item + '")\n';
|
|
11391
|
-
message += referencepath_dependencies_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
11392
|
-
return new TypeError(message);
|
|
11328
|
+
if (typeof obj_dependencies_item !== 'object') {
|
|
11329
|
+
return new TypeError('Expected "object" but received "' + typeof obj_dependencies_item + '" (at "' + path_dependencies_item + '")');
|
|
11393
11330
|
}
|
|
11394
11331
|
}
|
|
11395
11332
|
}
|
|
@@ -11403,82 +11340,9 @@ function validate$7(obj, path = 'SemanticDependencyInnerCollectionOutputRepresen
|
|
|
11403
11340
|
})();
|
|
11404
11341
|
return v_error === undefined ? null : v_error;
|
|
11405
11342
|
}
|
|
11406
|
-
const select$l = function SemanticDependencyInnerCollectionOutputRepresentationSelect() {
|
|
11407
|
-
const { selections: SemanticDependencyOutputRepresentation__selections, opaque: SemanticDependencyOutputRepresentation__opaque, } = select$m();
|
|
11408
|
-
return {
|
|
11409
|
-
kind: 'Fragment',
|
|
11410
|
-
version: VERSION$7,
|
|
11411
|
-
private: [],
|
|
11412
|
-
selections: [
|
|
11413
|
-
{
|
|
11414
|
-
name: 'definitionApiName',
|
|
11415
|
-
kind: 'Scalar',
|
|
11416
|
-
required: false
|
|
11417
|
-
},
|
|
11418
|
-
{
|
|
11419
|
-
name: 'dependencies',
|
|
11420
|
-
kind: 'Object',
|
|
11421
|
-
plural: true,
|
|
11422
|
-
selections: SemanticDependencyOutputRepresentation__selections,
|
|
11423
|
-
required: false
|
|
11424
|
-
},
|
|
11425
|
-
{
|
|
11426
|
-
name: 'fieldApiName',
|
|
11427
|
-
kind: 'Scalar',
|
|
11428
|
-
required: false
|
|
11429
|
-
}
|
|
11430
|
-
]
|
|
11431
|
-
};
|
|
11432
|
-
};
|
|
11433
|
-
function equals$7(existing, incoming) {
|
|
11434
|
-
const existing_definitionApiName = existing.definitionApiName;
|
|
11435
|
-
const incoming_definitionApiName = incoming.definitionApiName;
|
|
11436
|
-
// if at least one of these optionals is defined
|
|
11437
|
-
if (existing_definitionApiName !== undefined || incoming_definitionApiName !== undefined) {
|
|
11438
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11439
|
-
// not equal
|
|
11440
|
-
if (existing_definitionApiName === undefined || incoming_definitionApiName === undefined) {
|
|
11441
|
-
return false;
|
|
11442
|
-
}
|
|
11443
|
-
if (!(existing_definitionApiName === incoming_definitionApiName)) {
|
|
11444
|
-
return false;
|
|
11445
|
-
}
|
|
11446
|
-
}
|
|
11447
|
-
const existing_fieldApiName = existing.fieldApiName;
|
|
11448
|
-
const incoming_fieldApiName = incoming.fieldApiName;
|
|
11449
|
-
// if at least one of these optionals is defined
|
|
11450
|
-
if (existing_fieldApiName !== undefined || incoming_fieldApiName !== undefined) {
|
|
11451
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11452
|
-
// not equal
|
|
11453
|
-
if (existing_fieldApiName === undefined || incoming_fieldApiName === undefined) {
|
|
11454
|
-
return false;
|
|
11455
|
-
}
|
|
11456
|
-
if (!(existing_fieldApiName === incoming_fieldApiName)) {
|
|
11457
|
-
return false;
|
|
11458
|
-
}
|
|
11459
|
-
}
|
|
11460
|
-
const existing_dependencies = existing.dependencies;
|
|
11461
|
-
const incoming_dependencies = incoming.dependencies;
|
|
11462
|
-
// if at least one of these optionals is defined
|
|
11463
|
-
if (existing_dependencies !== undefined || incoming_dependencies !== undefined) {
|
|
11464
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11465
|
-
// not equal
|
|
11466
|
-
if (existing_dependencies === undefined || incoming_dependencies === undefined) {
|
|
11467
|
-
return false;
|
|
11468
|
-
}
|
|
11469
|
-
const equals_dependencies_items = equalsArray(existing_dependencies, incoming_dependencies, (existing_dependencies_item, incoming_dependencies_item) => {
|
|
11470
|
-
if (!(equals$8(existing_dependencies_item, incoming_dependencies_item))) {
|
|
11471
|
-
return false;
|
|
11472
|
-
}
|
|
11473
|
-
});
|
|
11474
|
-
if (equals_dependencies_items === false) {
|
|
11475
|
-
return false;
|
|
11476
|
-
}
|
|
11477
|
-
}
|
|
11478
|
-
return true;
|
|
11479
|
-
}
|
|
11480
11343
|
|
|
11481
|
-
const
|
|
11344
|
+
const TTL = 100;
|
|
11345
|
+
const VERSION$6 = "9d47b2b8e7223a9d5ff7a0fea7e030e6";
|
|
11482
11346
|
function validate$6(obj, path = 'SemanticDependencyCollectionOutputRepresentation') {
|
|
11483
11347
|
const v_error = (() => {
|
|
11484
11348
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -11509,40 +11373,16 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
|
11509
11373
|
return input;
|
|
11510
11374
|
}
|
|
11511
11375
|
const select$k = function SemanticDependencyCollectionOutputRepresentationSelect() {
|
|
11512
|
-
const { selections: SemanticDependencyInnerCollectionOutputRepresentation__selections, opaque: SemanticDependencyInnerCollectionOutputRepresentation__opaque, } = select$l();
|
|
11513
11376
|
return {
|
|
11514
11377
|
kind: 'Fragment',
|
|
11515
11378
|
version: VERSION$6,
|
|
11516
11379
|
private: [],
|
|
11517
|
-
|
|
11518
|
-
{
|
|
11519
|
-
name: 'item',
|
|
11520
|
-
kind: 'Object',
|
|
11521
|
-
plural: true,
|
|
11522
|
-
selections: SemanticDependencyInnerCollectionOutputRepresentation__selections,
|
|
11523
|
-
required: false
|
|
11524
|
-
}
|
|
11525
|
-
]
|
|
11380
|
+
opaque: true
|
|
11526
11381
|
};
|
|
11527
11382
|
};
|
|
11528
11383
|
function equals$6(existing, incoming) {
|
|
11529
|
-
|
|
11530
|
-
|
|
11531
|
-
// if at least one of these optionals is defined
|
|
11532
|
-
if (existing_item !== undefined || incoming_item !== undefined) {
|
|
11533
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11534
|
-
// not equal
|
|
11535
|
-
if (existing_item === undefined || incoming_item === undefined) {
|
|
11536
|
-
return false;
|
|
11537
|
-
}
|
|
11538
|
-
const equals_item_items = equalsArray(existing_item, incoming_item, (existing_item_item, incoming_item_item) => {
|
|
11539
|
-
if (!(equals$7(existing_item_item, incoming_item_item))) {
|
|
11540
|
-
return false;
|
|
11541
|
-
}
|
|
11542
|
-
});
|
|
11543
|
-
if (equals_item_items === false) {
|
|
11544
|
-
return false;
|
|
11545
|
-
}
|
|
11384
|
+
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
11385
|
+
return false;
|
|
11546
11386
|
}
|
|
11547
11387
|
return true;
|
|
11548
11388
|
}
|
|
@@ -11554,7 +11394,7 @@ const ingest$5 = function SemanticDependencyCollectionOutputRepresentationIngest
|
|
|
11554
11394
|
}
|
|
11555
11395
|
}
|
|
11556
11396
|
const key = path.fullPath;
|
|
11557
|
-
const ttlToUse =
|
|
11397
|
+
const ttlToUse = TTL;
|
|
11558
11398
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SemanticAuthoring", VERSION$6, RepresentationType$5, equals$6);
|
|
11559
11399
|
return createLink(key);
|
|
11560
11400
|
};
|
|
@@ -11597,7 +11437,13 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
11597
11437
|
function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
11598
11438
|
const key = keyBuilder$l(luvio, params);
|
|
11599
11439
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
11600
|
-
|
|
11440
|
+
const storeMetadataParams = {
|
|
11441
|
+
ttl: TTL,
|
|
11442
|
+
namespace: keyPrefix,
|
|
11443
|
+
version: VERSION$6,
|
|
11444
|
+
representationName: RepresentationType$5
|
|
11445
|
+
};
|
|
11446
|
+
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
11601
11447
|
return errorSnapshot;
|
|
11602
11448
|
}
|
|
11603
11449
|
function createResourceRequest$d(config) {
|
|
@@ -11702,7 +11548,7 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
|
|
|
11702
11548
|
};
|
|
11703
11549
|
|
|
11704
11550
|
function select$i(luvio, params) {
|
|
11705
|
-
return select$
|
|
11551
|
+
return select$Q();
|
|
11706
11552
|
}
|
|
11707
11553
|
function keyBuilder$j(luvio, params) {
|
|
11708
11554
|
return keyBuilder$B(luvio, {
|
|
@@ -11880,7 +11726,7 @@ const notifyChangeFactory$3 = (luvio, options) => {
|
|
|
11880
11726
|
};
|
|
11881
11727
|
|
|
11882
11728
|
function select$h(luvio, params) {
|
|
11883
|
-
return select$
|
|
11729
|
+
return select$r();
|
|
11884
11730
|
}
|
|
11885
11731
|
function keyBuilder$h(luvio, params) {
|
|
11886
11732
|
return keyBuilder$s(luvio, {
|
|
@@ -12106,7 +11952,7 @@ const select$g = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
|
12106
11952
|
kind: 'Link',
|
|
12107
11953
|
plural: true,
|
|
12108
11954
|
required: false,
|
|
12109
|
-
fragment: select$
|
|
11955
|
+
fragment: select$r()
|
|
12110
11956
|
}
|
|
12111
11957
|
]
|
|
12112
11958
|
};
|
|
@@ -12494,7 +12340,7 @@ const select$d = function SemanticSubMetricsByMetricOutputRepresentationSelect()
|
|
|
12494
12340
|
kind: 'Link',
|
|
12495
12341
|
plural: true,
|
|
12496
12342
|
required: false,
|
|
12497
|
-
fragment: select$
|
|
12343
|
+
fragment: select$m()
|
|
12498
12344
|
}
|
|
12499
12345
|
]
|
|
12500
12346
|
};
|
|
@@ -12805,7 +12651,7 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
12805
12651
|
};
|
|
12806
12652
|
|
|
12807
12653
|
function select$a(luvio, params) {
|
|
12808
|
-
return select$
|
|
12654
|
+
return select$o();
|
|
12809
12655
|
}
|
|
12810
12656
|
function keyBuilder$9(luvio, params) {
|
|
12811
12657
|
return keyBuilder$q(luvio, {
|
|
@@ -13012,7 +12858,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
13012
12858
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
13013
12859
|
const obj_baseModels_item = obj_baseModels[i];
|
|
13014
12860
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
13015
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
12861
|
+
const referencepath_baseModels_itemValidationError = validate$F(obj_baseModels_item, path_baseModels_item);
|
|
13016
12862
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
13017
12863
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
13018
12864
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13184,7 +13030,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
13184
13030
|
return v_error === undefined ? null : v_error;
|
|
13185
13031
|
}
|
|
13186
13032
|
const select$9 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
13187
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
13033
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$O();
|
|
13188
13034
|
return {
|
|
13189
13035
|
kind: 'Fragment',
|
|
13190
13036
|
version: VERSION$2,
|
|
@@ -13555,7 +13401,7 @@ function equals$2(existing, incoming) {
|
|
|
13555
13401
|
return false;
|
|
13556
13402
|
}
|
|
13557
13403
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
13558
|
-
if (!(equals$
|
|
13404
|
+
if (!(equals$y(existing_baseModels_item, incoming_baseModels_item))) {
|
|
13559
13405
|
return false;
|
|
13560
13406
|
}
|
|
13561
13407
|
});
|
|
@@ -13994,7 +13840,7 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
13994
13840
|
};
|
|
13995
13841
|
|
|
13996
13842
|
function select$6(luvio, params) {
|
|
13997
|
-
return select$
|
|
13843
|
+
return select$m();
|
|
13998
13844
|
}
|
|
13999
13845
|
function keyBuilder$5(luvio, params) {
|
|
14000
13846
|
return keyBuilder$p(luvio, {
|
|
@@ -14220,7 +14066,7 @@ const select$5 = function SemanticSubMetricCollectionOutputRepresentationSelect(
|
|
|
14220
14066
|
kind: 'Link',
|
|
14221
14067
|
plural: true,
|
|
14222
14068
|
required: false,
|
|
14223
|
-
fragment: select$
|
|
14069
|
+
fragment: select$m()
|
|
14224
14070
|
}
|
|
14225
14071
|
]
|
|
14226
14072
|
};
|
|
@@ -14541,7 +14387,7 @@ const getSemanticSubMetricsByIdAdapterFactory = (luvio) => function SemanticAuth
|
|
|
14541
14387
|
};
|
|
14542
14388
|
|
|
14543
14389
|
function select$2(luvio, params) {
|
|
14544
|
-
return select$
|
|
14390
|
+
return select$m();
|
|
14545
14391
|
}
|
|
14546
14392
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
14547
14393
|
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
@@ -14594,7 +14440,7 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
14594
14440
|
const untrustedConfig_statusConditions_array = [];
|
|
14595
14441
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
14596
14442
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
14597
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
14443
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$18(untrustedConfig_statusConditions_item);
|
|
14598
14444
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
14599
14445
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
14600
14446
|
}
|
|
@@ -14646,7 +14492,7 @@ const patchSemanticMetricGoalAdapterFactory = (luvio) => {
|
|
|
14646
14492
|
};
|
|
14647
14493
|
|
|
14648
14494
|
function select$1(luvio, params) {
|
|
14649
|
-
return select$
|
|
14495
|
+
return select$o();
|
|
14650
14496
|
}
|
|
14651
14497
|
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
14652
14498
|
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
@@ -14716,7 +14562,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14716
14562
|
const untrustedConfig_baseModels_array = [];
|
|
14717
14563
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
14718
14564
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
14719
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
14565
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$14(untrustedConfig_baseModels_item);
|
|
14720
14566
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
14721
14567
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
14722
14568
|
}
|
|
@@ -14728,7 +14574,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14728
14574
|
const untrustedConfig_externalConnections_array = [];
|
|
14729
14575
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
14730
14576
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
14731
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
14577
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$12(untrustedConfig_externalConnections_item);
|
|
14732
14578
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
14733
14579
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
14734
14580
|
}
|
|
@@ -14740,7 +14586,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14740
14586
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
14741
14587
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
14742
14588
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
14743
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
14589
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$11(untrustedConfig_fieldsOverrides_item);
|
|
14744
14590
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
14745
14591
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
14746
14592
|
}
|
|
@@ -14752,7 +14598,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14752
14598
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
14753
14599
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
14754
14600
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
14755
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
14601
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedDimensions_item);
|
|
14756
14602
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
14757
14603
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
14758
14604
|
}
|
|
@@ -14764,7 +14610,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14764
14610
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
14765
14611
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
14766
14612
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
14767
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate
|
|
14613
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
14768
14614
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
14769
14615
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
14770
14616
|
}
|
|
@@ -14776,7 +14622,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14776
14622
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
14777
14623
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
14778
14624
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
14779
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
14625
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$X(untrustedConfig_semanticDataObjects_item);
|
|
14780
14626
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
14781
14627
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
14782
14628
|
}
|
|
@@ -14788,7 +14634,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14788
14634
|
const untrustedConfig_semanticGroupings_array = [];
|
|
14789
14635
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
14790
14636
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
14791
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
14637
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$Q(untrustedConfig_semanticGroupings_item);
|
|
14792
14638
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
14793
14639
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
14794
14640
|
}
|
|
@@ -14800,7 +14646,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14800
14646
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
14801
14647
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
14802
14648
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
14803
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
14649
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$L(untrustedConfig_semanticLogicalViews_item);
|
|
14804
14650
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
14805
14651
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
14806
14652
|
}
|
|
@@ -14812,7 +14658,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14812
14658
|
const untrustedConfig_semanticMetrics_array = [];
|
|
14813
14659
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
14814
14660
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
14815
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
14661
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$H(untrustedConfig_semanticMetrics_item);
|
|
14816
14662
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
14817
14663
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
14818
14664
|
}
|
|
@@ -14824,7 +14670,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14824
14670
|
const untrustedConfig_semanticParameters_array = [];
|
|
14825
14671
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
14826
14672
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
14827
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
14673
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$G(untrustedConfig_semanticParameters_item);
|
|
14828
14674
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
14829
14675
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
14830
14676
|
}
|
|
@@ -14836,7 +14682,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14836
14682
|
const untrustedConfig_semanticRelationships_array = [];
|
|
14837
14683
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
14838
14684
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
14839
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
14685
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$O(untrustedConfig_semanticRelationships_item);
|
|
14840
14686
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
14841
14687
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
14842
14688
|
}
|
|
@@ -14888,7 +14734,7 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
14888
14734
|
};
|
|
14889
14735
|
|
|
14890
14736
|
function select(luvio, params) {
|
|
14891
|
-
return select$
|
|
14737
|
+
return select$Q();
|
|
14892
14738
|
}
|
|
14893
14739
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
14894
14740
|
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
@@ -14944,7 +14790,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
14944
14790
|
const config = {};
|
|
14945
14791
|
typeCheckConfig$k(untrustedConfig, config, updateSemanticGoal_ConfigPropertyMetadata);
|
|
14946
14792
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
14947
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
14793
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$19(untrustedConfig_dateRange);
|
|
14948
14794
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
14949
14795
|
config.dateRange = untrustedConfig_dateRange;
|
|
14950
14796
|
}
|
|
@@ -14953,7 +14799,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
14953
14799
|
const untrustedConfig_statusConditions_array = [];
|
|
14954
14800
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
14955
14801
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
14956
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
14802
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$18(untrustedConfig_statusConditions_item);
|
|
14957
14803
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
14958
14804
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
14959
14805
|
}
|
|
@@ -15043,6 +14889,7 @@ let getSemanticSubMetricsById_imperative;
|
|
|
15043
14889
|
const getLeafDependenciesByTypesMetadata = {
|
|
15044
14890
|
apiFamily: 'SemanticAuthoring',
|
|
15045
14891
|
name: 'getLeafDependenciesByTypes',
|
|
14892
|
+
ttl: 100,
|
|
15046
14893
|
};
|
|
15047
14894
|
const getSemanticGoalMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticGoal' };
|
|
15048
14895
|
const getSemanticMetricMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticMetric' };
|
|
@@ -15168,4 +15015,4 @@ withDefaultLuvio((luvio) => {
|
|
|
15168
15015
|
});
|
|
15169
15016
|
|
|
15170
15017
|
export { createSemanticGoal, createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticGoal, deleteSemanticSubMetric, getLeafDependenciesByTypes, getLeafDependenciesByTypes_imperative, getSemanticGoal, getSemanticGoalNotifyChange, getSemanticGoal_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, updateSemanticGoal };
|
|
15171
|
-
// version: 1.354.0-
|
|
15018
|
+
// version: 1.354.0-dev6-efb2ef03dd
|