@salesforce/lds-adapters-cdp-semantic-authoring 1.358.0 → 1.359.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cdp-semantic-authoring.js +860 -608
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDataObjectOutputRepresentation.d.ts +7 -1
- 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/SemanticDimensionOutputRepresentation.d.ts +7 -1
- 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/dist/es/es2018/types/src/generated/types/SemanticGroupingOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMappedFieldOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMetricOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticParameterOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticRelationshipOutputRepresentation.d.ts +7 -1
- package/package.json +3 -3
- package/sfdc/index.js +866 -613
- package/src/raml/api.raml +126 -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');
|
|
@@ -2796,6 +2848,13 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2796
2848
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
2797
2849
|
}
|
|
2798
2850
|
}
|
|
2851
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
2852
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
2853
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
2854
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
2855
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
2856
|
+
}
|
|
2857
|
+
}
|
|
2799
2858
|
if (obj.isVisible !== undefined) {
|
|
2800
2859
|
const obj_isVisible = obj.isVisible;
|
|
2801
2860
|
const path_isVisible = path + '.isVisible';
|
|
@@ -2852,6 +2911,13 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2852
2911
|
return new TypeError('Expected "string" but received "' + typeof obj_syntax + '" (at "' + path_syntax + '")');
|
|
2853
2912
|
}
|
|
2854
2913
|
}
|
|
2914
|
+
if (obj.unmapped !== undefined) {
|
|
2915
|
+
const obj_unmapped = obj.unmapped;
|
|
2916
|
+
const path_unmapped = path + '.unmapped';
|
|
2917
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
2918
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
2919
|
+
}
|
|
2920
|
+
}
|
|
2855
2921
|
})();
|
|
2856
2922
|
return v_error === undefined ? null : v_error;
|
|
2857
2923
|
}
|
|
@@ -2868,11 +2934,11 @@ function keyBuilderFromType$b(luvio, object) {
|
|
|
2868
2934
|
function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
2869
2935
|
return input;
|
|
2870
2936
|
}
|
|
2871
|
-
const select$
|
|
2872
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
2937
|
+
const select$J = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
2938
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
2873
2939
|
return {
|
|
2874
2940
|
kind: 'Fragment',
|
|
2875
|
-
version: VERSION$
|
|
2941
|
+
version: VERSION$t,
|
|
2876
2942
|
private: [],
|
|
2877
2943
|
selections: [
|
|
2878
2944
|
{
|
|
@@ -2953,6 +3019,11 @@ const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2953
3019
|
kind: 'Scalar',
|
|
2954
3020
|
required: false
|
|
2955
3021
|
},
|
|
3022
|
+
{
|
|
3023
|
+
name: 'isSystemDefinition',
|
|
3024
|
+
kind: 'Scalar',
|
|
3025
|
+
required: false
|
|
3026
|
+
},
|
|
2956
3027
|
{
|
|
2957
3028
|
name: 'isVisible',
|
|
2958
3029
|
kind: 'Scalar',
|
|
@@ -2992,11 +3063,16 @@ const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2992
3063
|
name: 'syntax',
|
|
2993
3064
|
kind: 'Scalar',
|
|
2994
3065
|
required: false
|
|
3066
|
+
},
|
|
3067
|
+
{
|
|
3068
|
+
name: 'unmapped',
|
|
3069
|
+
kind: 'Scalar',
|
|
3070
|
+
required: false
|
|
2995
3071
|
}
|
|
2996
3072
|
]
|
|
2997
3073
|
};
|
|
2998
3074
|
};
|
|
2999
|
-
function equals$
|
|
3075
|
+
function equals$t(existing, incoming) {
|
|
3000
3076
|
const existing_isOverrideBase = existing.isOverrideBase;
|
|
3001
3077
|
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
3002
3078
|
// if at least one of these optionals is defined
|
|
@@ -3010,6 +3086,19 @@ function equals$v(existing, incoming) {
|
|
|
3010
3086
|
return false;
|
|
3011
3087
|
}
|
|
3012
3088
|
}
|
|
3089
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
3090
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
3091
|
+
// if at least one of these optionals is defined
|
|
3092
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
3093
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3094
|
+
// not equal
|
|
3095
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
3096
|
+
return false;
|
|
3097
|
+
}
|
|
3098
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
3099
|
+
return false;
|
|
3100
|
+
}
|
|
3101
|
+
}
|
|
3013
3102
|
const existing_isVisible = existing.isVisible;
|
|
3014
3103
|
const incoming_isVisible = incoming.isVisible;
|
|
3015
3104
|
// if at least one of these optionals is defined
|
|
@@ -3023,6 +3112,19 @@ function equals$v(existing, incoming) {
|
|
|
3023
3112
|
return false;
|
|
3024
3113
|
}
|
|
3025
3114
|
}
|
|
3115
|
+
const existing_unmapped = existing.unmapped;
|
|
3116
|
+
const incoming_unmapped = incoming.unmapped;
|
|
3117
|
+
// if at least one of these optionals is defined
|
|
3118
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
3119
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3120
|
+
// not equal
|
|
3121
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
3122
|
+
return false;
|
|
3123
|
+
}
|
|
3124
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
3125
|
+
return false;
|
|
3126
|
+
}
|
|
3127
|
+
}
|
|
3026
3128
|
const existing_decimalPlace = existing.decimalPlace;
|
|
3027
3129
|
const incoming_decimalPlace = incoming.decimalPlace;
|
|
3028
3130
|
// if at least one of these optionals is defined
|
|
@@ -3274,7 +3376,7 @@ function equals$v(existing, incoming) {
|
|
|
3274
3376
|
return false;
|
|
3275
3377
|
}
|
|
3276
3378
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
3277
|
-
if (!(equals$
|
|
3379
|
+
if (!(equals$u(existing_filters_item, incoming_filters_item))) {
|
|
3278
3380
|
return false;
|
|
3279
3381
|
}
|
|
3280
3382
|
});
|
|
@@ -3286,14 +3388,14 @@ function equals$v(existing, incoming) {
|
|
|
3286
3388
|
}
|
|
3287
3389
|
const ingest$h = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3288
3390
|
if (process.env.NODE_ENV !== 'production') {
|
|
3289
|
-
const validateError = validate$
|
|
3391
|
+
const validateError = validate$A(input);
|
|
3290
3392
|
if (validateError !== null) {
|
|
3291
3393
|
throw validateError;
|
|
3292
3394
|
}
|
|
3293
3395
|
}
|
|
3294
3396
|
const key = keyBuilderFromType$b(luvio, input);
|
|
3295
3397
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
3296
|
-
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);
|
|
3297
3399
|
return createLink(key);
|
|
3298
3400
|
};
|
|
3299
3401
|
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3306,8 +3408,8 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3306
3408
|
});
|
|
3307
3409
|
}
|
|
3308
3410
|
|
|
3309
|
-
const VERSION$
|
|
3310
|
-
function validate$
|
|
3411
|
+
const VERSION$s = "f905fd3431f6d5d1f883c03af48eb1b3";
|
|
3412
|
+
function validate$z(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
3311
3413
|
const v_error = (() => {
|
|
3312
3414
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3313
3415
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3420,7 +3522,7 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3420
3522
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3421
3523
|
const obj_filters_item = obj_filters[i];
|
|
3422
3524
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3423
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3525
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
3424
3526
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3425
3527
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
3426
3528
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3447,6 +3549,13 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3447
3549
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
3448
3550
|
}
|
|
3449
3551
|
}
|
|
3552
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
3553
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
3554
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
3555
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
3556
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
3557
|
+
}
|
|
3558
|
+
}
|
|
3450
3559
|
if (obj.isVisible !== undefined) {
|
|
3451
3560
|
const obj_isVisible = obj.isVisible;
|
|
3452
3561
|
const path_isVisible = path + '.isVisible';
|
|
@@ -3524,6 +3633,13 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3524
3633
|
return new TypeError('Expected "string" but received "' + typeof obj_totalAggregationType + '" (at "' + path_totalAggregationType + '")');
|
|
3525
3634
|
}
|
|
3526
3635
|
}
|
|
3636
|
+
if (obj.unmapped !== undefined) {
|
|
3637
|
+
const obj_unmapped = obj.unmapped;
|
|
3638
|
+
const path_unmapped = path + '.unmapped';
|
|
3639
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
3640
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
3641
|
+
}
|
|
3642
|
+
}
|
|
3527
3643
|
})();
|
|
3528
3644
|
return v_error === undefined ? null : v_error;
|
|
3529
3645
|
}
|
|
@@ -3540,11 +3656,11 @@ function keyBuilderFromType$a(luvio, object) {
|
|
|
3540
3656
|
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
3541
3657
|
return input;
|
|
3542
3658
|
}
|
|
3543
|
-
const select$
|
|
3544
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
3659
|
+
const select$I = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
3660
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
3545
3661
|
return {
|
|
3546
3662
|
kind: 'Fragment',
|
|
3547
|
-
version: VERSION$
|
|
3663
|
+
version: VERSION$s,
|
|
3548
3664
|
private: [],
|
|
3549
3665
|
selections: [
|
|
3550
3666
|
{
|
|
@@ -3640,6 +3756,11 @@ const select$K = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3640
3756
|
kind: 'Scalar',
|
|
3641
3757
|
required: false
|
|
3642
3758
|
},
|
|
3759
|
+
{
|
|
3760
|
+
name: 'isSystemDefinition',
|
|
3761
|
+
kind: 'Scalar',
|
|
3762
|
+
required: false
|
|
3763
|
+
},
|
|
3643
3764
|
{
|
|
3644
3765
|
name: 'isVisible',
|
|
3645
3766
|
kind: 'Scalar',
|
|
@@ -3694,11 +3815,16 @@ const select$K = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3694
3815
|
name: 'totalAggregationType',
|
|
3695
3816
|
kind: 'Scalar',
|
|
3696
3817
|
required: false
|
|
3818
|
+
},
|
|
3819
|
+
{
|
|
3820
|
+
name: 'unmapped',
|
|
3821
|
+
kind: 'Scalar',
|
|
3822
|
+
required: false
|
|
3697
3823
|
}
|
|
3698
3824
|
]
|
|
3699
3825
|
};
|
|
3700
3826
|
};
|
|
3701
|
-
function equals$
|
|
3827
|
+
function equals$s(existing, incoming) {
|
|
3702
3828
|
const existing_isAggregatable = existing.isAggregatable;
|
|
3703
3829
|
const incoming_isAggregatable = incoming.isAggregatable;
|
|
3704
3830
|
// if at least one of these optionals is defined
|
|
@@ -3725,6 +3851,19 @@ function equals$u(existing, incoming) {
|
|
|
3725
3851
|
return false;
|
|
3726
3852
|
}
|
|
3727
3853
|
}
|
|
3854
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
3855
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
3856
|
+
// if at least one of these optionals is defined
|
|
3857
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
3858
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3859
|
+
// not equal
|
|
3860
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
3861
|
+
return false;
|
|
3862
|
+
}
|
|
3863
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
3864
|
+
return false;
|
|
3865
|
+
}
|
|
3866
|
+
}
|
|
3728
3867
|
const existing_isVisible = existing.isVisible;
|
|
3729
3868
|
const incoming_isVisible = incoming.isVisible;
|
|
3730
3869
|
// if at least one of these optionals is defined
|
|
@@ -3751,6 +3890,19 @@ function equals$u(existing, incoming) {
|
|
|
3751
3890
|
return false;
|
|
3752
3891
|
}
|
|
3753
3892
|
}
|
|
3893
|
+
const existing_unmapped = existing.unmapped;
|
|
3894
|
+
const incoming_unmapped = incoming.unmapped;
|
|
3895
|
+
// if at least one of these optionals is defined
|
|
3896
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
3897
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3898
|
+
// not equal
|
|
3899
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
3900
|
+
return false;
|
|
3901
|
+
}
|
|
3902
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
3903
|
+
return false;
|
|
3904
|
+
}
|
|
3905
|
+
}
|
|
3754
3906
|
const existing_decimalPlace = existing.decimalPlace;
|
|
3755
3907
|
const incoming_decimalPlace = incoming.decimalPlace;
|
|
3756
3908
|
// if at least one of these optionals is defined
|
|
@@ -4054,7 +4206,7 @@ function equals$u(existing, incoming) {
|
|
|
4054
4206
|
return false;
|
|
4055
4207
|
}
|
|
4056
4208
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
4057
|
-
if (!(equals$
|
|
4209
|
+
if (!(equals$u(existing_filters_item, incoming_filters_item))) {
|
|
4058
4210
|
return false;
|
|
4059
4211
|
}
|
|
4060
4212
|
});
|
|
@@ -4066,14 +4218,14 @@ function equals$u(existing, incoming) {
|
|
|
4066
4218
|
}
|
|
4067
4219
|
const ingest$g = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4068
4220
|
if (process.env.NODE_ENV !== 'production') {
|
|
4069
|
-
const validateError = validate$
|
|
4221
|
+
const validateError = validate$z(input);
|
|
4070
4222
|
if (validateError !== null) {
|
|
4071
4223
|
throw validateError;
|
|
4072
4224
|
}
|
|
4073
4225
|
}
|
|
4074
4226
|
const key = keyBuilderFromType$a(luvio, input);
|
|
4075
4227
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4076
|
-
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);
|
|
4077
4229
|
return createLink(key);
|
|
4078
4230
|
};
|
|
4079
4231
|
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4086,7 +4238,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4086
4238
|
});
|
|
4087
4239
|
}
|
|
4088
4240
|
|
|
4089
|
-
function validate$
|
|
4241
|
+
function validate$y(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
4090
4242
|
const v_error = (() => {
|
|
4091
4243
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4092
4244
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4181,6 +4333,13 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
4181
4333
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
4182
4334
|
}
|
|
4183
4335
|
}
|
|
4336
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
4337
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
4338
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
4339
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
4340
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
4341
|
+
}
|
|
4342
|
+
}
|
|
4184
4343
|
if (obj.isVisible !== undefined) {
|
|
4185
4344
|
const obj_isVisible = obj.isVisible;
|
|
4186
4345
|
const path_isVisible = path + '.isVisible';
|
|
@@ -4237,11 +4396,18 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
4237
4396
|
return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
|
|
4238
4397
|
}
|
|
4239
4398
|
}
|
|
4399
|
+
if (obj.unmapped !== undefined) {
|
|
4400
|
+
const obj_unmapped = obj.unmapped;
|
|
4401
|
+
const path_unmapped = path + '.unmapped';
|
|
4402
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
4403
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
4404
|
+
}
|
|
4405
|
+
}
|
|
4240
4406
|
})();
|
|
4241
4407
|
return v_error === undefined ? null : v_error;
|
|
4242
4408
|
}
|
|
4243
4409
|
|
|
4244
|
-
function validate$
|
|
4410
|
+
function validate$x(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
4245
4411
|
const v_error = (() => {
|
|
4246
4412
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4247
4413
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4357,6 +4523,13 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4357
4523
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
4358
4524
|
}
|
|
4359
4525
|
}
|
|
4526
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
4527
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
4528
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
4529
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
4530
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
4531
|
+
}
|
|
4532
|
+
}
|
|
4360
4533
|
if (obj.isVisible !== undefined) {
|
|
4361
4534
|
const obj_isVisible = obj.isVisible;
|
|
4362
4535
|
const path_isVisible = path + '.isVisible';
|
|
@@ -4427,12 +4600,19 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4427
4600
|
return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
|
|
4428
4601
|
}
|
|
4429
4602
|
}
|
|
4603
|
+
if (obj.unmapped !== undefined) {
|
|
4604
|
+
const obj_unmapped = obj.unmapped;
|
|
4605
|
+
const path_unmapped = path + '.unmapped';
|
|
4606
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
4607
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
4608
|
+
}
|
|
4609
|
+
}
|
|
4430
4610
|
})();
|
|
4431
4611
|
return v_error === undefined ? null : v_error;
|
|
4432
4612
|
}
|
|
4433
4613
|
|
|
4434
|
-
const VERSION$
|
|
4435
|
-
function validate$
|
|
4614
|
+
const VERSION$r = "c33583da925793f049a2e6e5269d7846";
|
|
4615
|
+
function validate$w(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
4436
4616
|
const v_error = (() => {
|
|
4437
4617
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4438
4618
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4510,7 +4690,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4510
4690
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4511
4691
|
const obj_filters_item = obj_filters[i];
|
|
4512
4692
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4513
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4693
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
4514
4694
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4515
4695
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4516
4696
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4523,6 +4703,13 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4523
4703
|
if (typeof obj_id !== 'string') {
|
|
4524
4704
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
4525
4705
|
}
|
|
4706
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
4707
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
4708
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
4709
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
4710
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
4711
|
+
}
|
|
4712
|
+
}
|
|
4526
4713
|
if (obj.label !== undefined) {
|
|
4527
4714
|
const obj_label = obj.label;
|
|
4528
4715
|
const path_label = path + '.label';
|
|
@@ -4560,7 +4747,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4560
4747
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
4561
4748
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
4562
4749
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
4563
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
4750
|
+
const referencepath_semanticDimensions_itemValidationError = validate$y(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
4564
4751
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
4565
4752
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
4566
4753
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4584,7 +4771,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4584
4771
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
4585
4772
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
4586
4773
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
4587
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
4774
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$x(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
4588
4775
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
4589
4776
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
4590
4777
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4613,6 +4800,13 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4613
4800
|
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
4614
4801
|
}
|
|
4615
4802
|
}
|
|
4803
|
+
if (obj.unmapped !== undefined) {
|
|
4804
|
+
const obj_unmapped = obj.unmapped;
|
|
4805
|
+
const path_unmapped = path + '.unmapped';
|
|
4806
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
4807
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
4808
|
+
}
|
|
4809
|
+
}
|
|
4616
4810
|
})();
|
|
4617
4811
|
return v_error === undefined ? null : v_error;
|
|
4618
4812
|
}
|
|
@@ -4629,15 +4823,15 @@ function keyBuilderFromType$9(luvio, object) {
|
|
|
4629
4823
|
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
4630
4824
|
return input;
|
|
4631
4825
|
}
|
|
4632
|
-
const select$
|
|
4826
|
+
const select$H = function SemanticDataObjectOutputRepresentationSelect() {
|
|
4633
4827
|
return {
|
|
4634
4828
|
kind: 'Fragment',
|
|
4635
|
-
version: VERSION$
|
|
4829
|
+
version: VERSION$r,
|
|
4636
4830
|
private: [],
|
|
4637
4831
|
opaque: true
|
|
4638
4832
|
};
|
|
4639
4833
|
};
|
|
4640
|
-
function equals$
|
|
4834
|
+
function equals$r(existing, incoming) {
|
|
4641
4835
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
4642
4836
|
return false;
|
|
4643
4837
|
}
|
|
@@ -4645,14 +4839,14 @@ function equals$t(existing, incoming) {
|
|
|
4645
4839
|
}
|
|
4646
4840
|
const ingest$f = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4647
4841
|
if (process.env.NODE_ENV !== 'production') {
|
|
4648
|
-
const validateError = validate$
|
|
4842
|
+
const validateError = validate$w(input);
|
|
4649
4843
|
if (validateError !== null) {
|
|
4650
4844
|
throw validateError;
|
|
4651
4845
|
}
|
|
4652
4846
|
}
|
|
4653
4847
|
const key = keyBuilderFromType$9(luvio, input);
|
|
4654
4848
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4655
|
-
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);
|
|
4656
4850
|
return createLink(key);
|
|
4657
4851
|
};
|
|
4658
4852
|
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4665,8 +4859,8 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4665
4859
|
});
|
|
4666
4860
|
}
|
|
4667
4861
|
|
|
4668
|
-
const VERSION$
|
|
4669
|
-
function validate$
|
|
4862
|
+
const VERSION$q = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
4863
|
+
function validate$v(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
4670
4864
|
const v_error = (() => {
|
|
4671
4865
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4672
4866
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4675,10 +4869,10 @@ function validate$w(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
4675
4869
|
})();
|
|
4676
4870
|
return v_error === undefined ? null : v_error;
|
|
4677
4871
|
}
|
|
4678
|
-
const select$
|
|
4872
|
+
const select$G = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
4679
4873
|
return {
|
|
4680
4874
|
kind: 'Fragment',
|
|
4681
|
-
version: VERSION$
|
|
4875
|
+
version: VERSION$q,
|
|
4682
4876
|
private: [],
|
|
4683
4877
|
selections: [
|
|
4684
4878
|
{
|
|
@@ -4688,7 +4882,7 @@ const select$I = function BinDimensionConfigurationOutputRepresentationSelect()
|
|
|
4688
4882
|
]
|
|
4689
4883
|
};
|
|
4690
4884
|
};
|
|
4691
|
-
function equals$
|
|
4885
|
+
function equals$q(existing, incoming) {
|
|
4692
4886
|
const existing_constantBinSize = existing.constantBinSize;
|
|
4693
4887
|
const incoming_constantBinSize = incoming.constantBinSize;
|
|
4694
4888
|
if (!(existing_constantBinSize === incoming_constantBinSize)) {
|
|
@@ -4697,8 +4891,8 @@ function equals$s(existing, incoming) {
|
|
|
4697
4891
|
return true;
|
|
4698
4892
|
}
|
|
4699
4893
|
|
|
4700
|
-
const VERSION$
|
|
4701
|
-
function validate$
|
|
4894
|
+
const VERSION$p = "2cdadcd630abb7b981b2d131880a68c0";
|
|
4895
|
+
function validate$u(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
4702
4896
|
const v_error = (() => {
|
|
4703
4897
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4704
4898
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4725,10 +4919,10 @@ function validate$v(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
4725
4919
|
})();
|
|
4726
4920
|
return v_error === undefined ? null : v_error;
|
|
4727
4921
|
}
|
|
4728
|
-
const select$
|
|
4922
|
+
const select$F = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
4729
4923
|
return {
|
|
4730
4924
|
kind: 'Fragment',
|
|
4731
|
-
version: VERSION$
|
|
4925
|
+
version: VERSION$p,
|
|
4732
4926
|
private: [],
|
|
4733
4927
|
selections: [
|
|
4734
4928
|
{
|
|
@@ -4744,7 +4938,7 @@ const select$H = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
|
4744
4938
|
]
|
|
4745
4939
|
};
|
|
4746
4940
|
};
|
|
4747
|
-
function equals$
|
|
4941
|
+
function equals$p(existing, incoming) {
|
|
4748
4942
|
const existing_name = existing.name;
|
|
4749
4943
|
const incoming_name = incoming.name;
|
|
4750
4944
|
if (!(existing_name === incoming_name)) {
|
|
@@ -4771,8 +4965,8 @@ function equals$r(existing, incoming) {
|
|
|
4771
4965
|
return true;
|
|
4772
4966
|
}
|
|
4773
4967
|
|
|
4774
|
-
const VERSION$
|
|
4775
|
-
function validate$
|
|
4968
|
+
const VERSION$o = "55c60b6207985632192cb4e419822a86";
|
|
4969
|
+
function validate$t(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
4776
4970
|
const v_error = (() => {
|
|
4777
4971
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4778
4972
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4786,7 +4980,7 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
4786
4980
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
4787
4981
|
const obj_groups_item = obj_groups[i];
|
|
4788
4982
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
4789
|
-
const referencepath_groups_itemValidationError = validate$
|
|
4983
|
+
const referencepath_groups_itemValidationError = validate$u(obj_groups_item, path_groups_item);
|
|
4790
4984
|
if (referencepath_groups_itemValidationError !== null) {
|
|
4791
4985
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
4792
4986
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4804,11 +4998,11 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
4804
4998
|
})();
|
|
4805
4999
|
return v_error === undefined ? null : v_error;
|
|
4806
5000
|
}
|
|
4807
|
-
const select$
|
|
4808
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
5001
|
+
const select$E = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
5002
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$F();
|
|
4809
5003
|
return {
|
|
4810
5004
|
kind: 'Fragment',
|
|
4811
|
-
version: VERSION$
|
|
5005
|
+
version: VERSION$o,
|
|
4812
5006
|
private: [],
|
|
4813
5007
|
selections: [
|
|
4814
5008
|
{
|
|
@@ -4826,7 +5020,7 @@ const select$G = function GroupDimensionConfigurationOutputRepresentationSelect(
|
|
|
4826
5020
|
]
|
|
4827
5021
|
};
|
|
4828
5022
|
};
|
|
4829
|
-
function equals$
|
|
5023
|
+
function equals$o(existing, incoming) {
|
|
4830
5024
|
const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
|
|
4831
5025
|
const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
|
|
4832
5026
|
// if at least one of these optionals is defined
|
|
@@ -4850,7 +5044,7 @@ function equals$q(existing, incoming) {
|
|
|
4850
5044
|
return false;
|
|
4851
5045
|
}
|
|
4852
5046
|
const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
|
|
4853
|
-
if (!(equals$
|
|
5047
|
+
if (!(equals$p(existing_groups_item, incoming_groups_item))) {
|
|
4854
5048
|
return false;
|
|
4855
5049
|
}
|
|
4856
5050
|
});
|
|
@@ -4861,8 +5055,8 @@ function equals$q(existing, incoming) {
|
|
|
4861
5055
|
return true;
|
|
4862
5056
|
}
|
|
4863
5057
|
|
|
4864
|
-
const VERSION$
|
|
4865
|
-
function validate$
|
|
5058
|
+
const VERSION$n = "50dc390b159159afb1945b9a811c9f80";
|
|
5059
|
+
function validate$s(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
4866
5060
|
const v_error = (() => {
|
|
4867
5061
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4868
5062
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4870,7 +5064,7 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
4870
5064
|
if (obj.binDimension !== undefined) {
|
|
4871
5065
|
const obj_binDimension = obj.binDimension;
|
|
4872
5066
|
const path_binDimension = path + '.binDimension';
|
|
4873
|
-
const referencepath_binDimensionValidationError = validate$
|
|
5067
|
+
const referencepath_binDimensionValidationError = validate$v(obj_binDimension, path_binDimension);
|
|
4874
5068
|
if (referencepath_binDimensionValidationError !== null) {
|
|
4875
5069
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
4876
5070
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4880,7 +5074,7 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
4880
5074
|
if (obj.groupDimension !== undefined) {
|
|
4881
5075
|
const obj_groupDimension = obj.groupDimension;
|
|
4882
5076
|
const path_groupDimension = path + '.groupDimension';
|
|
4883
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
5077
|
+
const referencepath_groupDimensionValidationError = validate$t(obj_groupDimension, path_groupDimension);
|
|
4884
5078
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
4885
5079
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
4886
5080
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4890,12 +5084,12 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
4890
5084
|
})();
|
|
4891
5085
|
return v_error === undefined ? null : v_error;
|
|
4892
5086
|
}
|
|
4893
|
-
const select$
|
|
4894
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
4895
|
-
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();
|
|
4896
5090
|
return {
|
|
4897
5091
|
kind: 'Fragment',
|
|
4898
|
-
version: VERSION$
|
|
5092
|
+
version: VERSION$n,
|
|
4899
5093
|
private: [],
|
|
4900
5094
|
selections: [
|
|
4901
5095
|
{
|
|
@@ -4913,7 +5107,7 @@ const select$F = function SemanticGroupingConfigurationOutputRepresentationSelec
|
|
|
4913
5107
|
]
|
|
4914
5108
|
};
|
|
4915
5109
|
};
|
|
4916
|
-
function equals$
|
|
5110
|
+
function equals$n(existing, incoming) {
|
|
4917
5111
|
const existing_binDimension = existing.binDimension;
|
|
4918
5112
|
const incoming_binDimension = incoming.binDimension;
|
|
4919
5113
|
// if at least one of these optionals is defined
|
|
@@ -4923,7 +5117,7 @@ function equals$p(existing, incoming) {
|
|
|
4923
5117
|
if (existing_binDimension === undefined || incoming_binDimension === undefined) {
|
|
4924
5118
|
return false;
|
|
4925
5119
|
}
|
|
4926
|
-
if (!(equals$
|
|
5120
|
+
if (!(equals$q(existing_binDimension, incoming_binDimension))) {
|
|
4927
5121
|
return false;
|
|
4928
5122
|
}
|
|
4929
5123
|
}
|
|
@@ -4936,15 +5130,15 @@ function equals$p(existing, incoming) {
|
|
|
4936
5130
|
if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
|
|
4937
5131
|
return false;
|
|
4938
5132
|
}
|
|
4939
|
-
if (!(equals$
|
|
5133
|
+
if (!(equals$o(existing_groupDimension, incoming_groupDimension))) {
|
|
4940
5134
|
return false;
|
|
4941
5135
|
}
|
|
4942
5136
|
}
|
|
4943
5137
|
return true;
|
|
4944
5138
|
}
|
|
4945
5139
|
|
|
4946
|
-
const VERSION$
|
|
4947
|
-
function validate$
|
|
5140
|
+
const VERSION$m = "a2976cd68e629a917463a3b690cf2527";
|
|
5141
|
+
function validate$r(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
4948
5142
|
const v_error = (() => {
|
|
4949
5143
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4950
5144
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4966,10 +5160,10 @@ function validate$s(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
|
|
|
4966
5160
|
})();
|
|
4967
5161
|
return v_error === undefined ? null : v_error;
|
|
4968
5162
|
}
|
|
4969
|
-
const select$
|
|
5163
|
+
const select$C = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
4970
5164
|
return {
|
|
4971
5165
|
kind: 'Fragment',
|
|
4972
|
-
version: VERSION$
|
|
5166
|
+
version: VERSION$m,
|
|
4973
5167
|
private: [],
|
|
4974
5168
|
selections: [
|
|
4975
5169
|
{
|
|
@@ -4985,7 +5179,7 @@ const select$E = function SemanticTableFieldReferenceOutputRepresentationSelect(
|
|
|
4985
5179
|
]
|
|
4986
5180
|
};
|
|
4987
5181
|
};
|
|
4988
|
-
function equals$
|
|
5182
|
+
function equals$m(existing, incoming) {
|
|
4989
5183
|
const existing_fieldApiName = existing.fieldApiName;
|
|
4990
5184
|
const incoming_fieldApiName = incoming.fieldApiName;
|
|
4991
5185
|
// if at least one of these optionals is defined
|
|
@@ -5015,8 +5209,8 @@ function equals$o(existing, incoming) {
|
|
|
5015
5209
|
return true;
|
|
5016
5210
|
}
|
|
5017
5211
|
|
|
5018
|
-
const VERSION$
|
|
5019
|
-
function validate$
|
|
5212
|
+
const VERSION$l = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
5213
|
+
function validate$q(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
5020
5214
|
const v_error = (() => {
|
|
5021
5215
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5022
5216
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5031,7 +5225,7 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
5031
5225
|
if (obj.tableFieldReference !== undefined) {
|
|
5032
5226
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
5033
5227
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
5034
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
5228
|
+
const referencepath_tableFieldReferenceValidationError = validate$r(obj_tableFieldReference, path_tableFieldReference);
|
|
5035
5229
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
5036
5230
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
5037
5231
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5041,11 +5235,11 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
5041
5235
|
})();
|
|
5042
5236
|
return v_error === undefined ? null : v_error;
|
|
5043
5237
|
}
|
|
5044
|
-
const select$
|
|
5045
|
-
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$
|
|
5238
|
+
const select$B = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
5239
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
5046
5240
|
return {
|
|
5047
5241
|
kind: 'Fragment',
|
|
5048
|
-
version: VERSION$
|
|
5242
|
+
version: VERSION$l,
|
|
5049
5243
|
private: [],
|
|
5050
5244
|
selections: [
|
|
5051
5245
|
{
|
|
@@ -5062,7 +5256,7 @@ const select$D = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
|
5062
5256
|
]
|
|
5063
5257
|
};
|
|
5064
5258
|
};
|
|
5065
|
-
function equals$
|
|
5259
|
+
function equals$l(existing, incoming) {
|
|
5066
5260
|
const existing_calculatedFieldApiName = existing.calculatedFieldApiName;
|
|
5067
5261
|
const incoming_calculatedFieldApiName = incoming.calculatedFieldApiName;
|
|
5068
5262
|
// if at least one of these optionals is defined
|
|
@@ -5085,15 +5279,15 @@ function equals$n(existing, incoming) {
|
|
|
5085
5279
|
if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
|
|
5086
5280
|
return false;
|
|
5087
5281
|
}
|
|
5088
|
-
if (!(equals$
|
|
5282
|
+
if (!(equals$m(existing_tableFieldReference, incoming_tableFieldReference))) {
|
|
5089
5283
|
return false;
|
|
5090
5284
|
}
|
|
5091
5285
|
}
|
|
5092
5286
|
return true;
|
|
5093
5287
|
}
|
|
5094
5288
|
|
|
5095
|
-
const VERSION$
|
|
5096
|
-
function validate$
|
|
5289
|
+
const VERSION$k = "5ea5deda92fee8aa624509290ef6cf1c";
|
|
5290
|
+
function validate$p(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
5097
5291
|
const v_error = (() => {
|
|
5098
5292
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5099
5293
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5119,7 +5313,7 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5119
5313
|
}
|
|
5120
5314
|
const obj_configuration = obj.configuration;
|
|
5121
5315
|
const path_configuration = path + '.configuration';
|
|
5122
|
-
const referencepath_configurationValidationError = validate$
|
|
5316
|
+
const referencepath_configurationValidationError = validate$s(obj_configuration, path_configuration);
|
|
5123
5317
|
if (referencepath_configurationValidationError !== null) {
|
|
5124
5318
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
5125
5319
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5144,7 +5338,7 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5144
5338
|
}
|
|
5145
5339
|
const obj_fieldReference = obj.fieldReference;
|
|
5146
5340
|
const path_fieldReference = path + '.fieldReference';
|
|
5147
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
5341
|
+
const referencepath_fieldReferenceValidationError = validate$q(obj_fieldReference, path_fieldReference);
|
|
5148
5342
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
5149
5343
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
5150
5344
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5155,6 +5349,13 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5155
5349
|
if (typeof obj_id !== 'string') {
|
|
5156
5350
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
5157
5351
|
}
|
|
5352
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
5353
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
5354
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
5355
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
5356
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
5357
|
+
}
|
|
5358
|
+
}
|
|
5158
5359
|
if (obj.label !== undefined) {
|
|
5159
5360
|
const obj_label = obj.label;
|
|
5160
5361
|
const path_label = path + '.label';
|
|
@@ -5181,6 +5382,13 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5181
5382
|
if (typeof obj_type !== 'string') {
|
|
5182
5383
|
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
5183
5384
|
}
|
|
5385
|
+
if (obj.unmapped !== undefined) {
|
|
5386
|
+
const obj_unmapped = obj.unmapped;
|
|
5387
|
+
const path_unmapped = path + '.unmapped';
|
|
5388
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
5389
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
5390
|
+
}
|
|
5391
|
+
}
|
|
5184
5392
|
})();
|
|
5185
5393
|
return v_error === undefined ? null : v_error;
|
|
5186
5394
|
}
|
|
@@ -5197,12 +5405,12 @@ function keyBuilderFromType$8(luvio, object) {
|
|
|
5197
5405
|
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
5198
5406
|
return input;
|
|
5199
5407
|
}
|
|
5200
|
-
const select$
|
|
5201
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
5202
|
-
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();
|
|
5203
5411
|
return {
|
|
5204
5412
|
kind: 'Fragment',
|
|
5205
|
-
version: VERSION$
|
|
5413
|
+
version: VERSION$k,
|
|
5206
5414
|
private: [],
|
|
5207
5415
|
selections: [
|
|
5208
5416
|
{
|
|
@@ -5246,6 +5454,11 @@ const select$C = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
5246
5454
|
name: 'id',
|
|
5247
5455
|
kind: 'Scalar'
|
|
5248
5456
|
},
|
|
5457
|
+
{
|
|
5458
|
+
name: 'isSystemDefinition',
|
|
5459
|
+
kind: 'Scalar',
|
|
5460
|
+
required: false
|
|
5461
|
+
},
|
|
5249
5462
|
{
|
|
5250
5463
|
name: 'label',
|
|
5251
5464
|
kind: 'Scalar',
|
|
@@ -5264,11 +5477,42 @@ const select$C = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
5264
5477
|
{
|
|
5265
5478
|
name: 'type',
|
|
5266
5479
|
kind: 'Scalar'
|
|
5480
|
+
},
|
|
5481
|
+
{
|
|
5482
|
+
name: 'unmapped',
|
|
5483
|
+
kind: 'Scalar',
|
|
5484
|
+
required: false
|
|
5267
5485
|
}
|
|
5268
5486
|
]
|
|
5269
5487
|
};
|
|
5270
5488
|
};
|
|
5271
|
-
function equals$
|
|
5489
|
+
function equals$k(existing, incoming) {
|
|
5490
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
5491
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
5492
|
+
// if at least one of these optionals is defined
|
|
5493
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
5494
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5495
|
+
// not equal
|
|
5496
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
5497
|
+
return false;
|
|
5498
|
+
}
|
|
5499
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
5500
|
+
return false;
|
|
5501
|
+
}
|
|
5502
|
+
}
|
|
5503
|
+
const existing_unmapped = existing.unmapped;
|
|
5504
|
+
const incoming_unmapped = incoming.unmapped;
|
|
5505
|
+
// if at least one of these optionals is defined
|
|
5506
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
5507
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5508
|
+
// not equal
|
|
5509
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
5510
|
+
return false;
|
|
5511
|
+
}
|
|
5512
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
5513
|
+
return false;
|
|
5514
|
+
}
|
|
5515
|
+
}
|
|
5272
5516
|
const existing_apiName = existing.apiName;
|
|
5273
5517
|
const incoming_apiName = incoming.apiName;
|
|
5274
5518
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -5374,26 +5618,26 @@ function equals$m(existing, incoming) {
|
|
|
5374
5618
|
}
|
|
5375
5619
|
const existing_configuration = existing.configuration;
|
|
5376
5620
|
const incoming_configuration = incoming.configuration;
|
|
5377
|
-
if (!(equals$
|
|
5621
|
+
if (!(equals$n(existing_configuration, incoming_configuration))) {
|
|
5378
5622
|
return false;
|
|
5379
5623
|
}
|
|
5380
5624
|
const existing_fieldReference = existing.fieldReference;
|
|
5381
5625
|
const incoming_fieldReference = incoming.fieldReference;
|
|
5382
|
-
if (!(equals$
|
|
5626
|
+
if (!(equals$l(existing_fieldReference, incoming_fieldReference))) {
|
|
5383
5627
|
return false;
|
|
5384
5628
|
}
|
|
5385
5629
|
return true;
|
|
5386
5630
|
}
|
|
5387
5631
|
const ingest$e = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5388
5632
|
if (process.env.NODE_ENV !== 'production') {
|
|
5389
|
-
const validateError = validate$
|
|
5633
|
+
const validateError = validate$p(input);
|
|
5390
5634
|
if (validateError !== null) {
|
|
5391
5635
|
throw validateError;
|
|
5392
5636
|
}
|
|
5393
5637
|
}
|
|
5394
5638
|
const key = keyBuilderFromType$8(luvio, input);
|
|
5395
5639
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5396
|
-
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);
|
|
5397
5641
|
return createLink(key);
|
|
5398
5642
|
};
|
|
5399
5643
|
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5406,8 +5650,8 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5406
5650
|
});
|
|
5407
5651
|
}
|
|
5408
5652
|
|
|
5409
|
-
const VERSION$
|
|
5410
|
-
function validate$
|
|
5653
|
+
const VERSION$j = "c5144c317ac72b60d580cab803514b8d";
|
|
5654
|
+
function validate$o(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
5411
5655
|
const v_error = (() => {
|
|
5412
5656
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5413
5657
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5450,10 +5694,10 @@ function validate$p(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
5450
5694
|
})();
|
|
5451
5695
|
return v_error === undefined ? null : v_error;
|
|
5452
5696
|
}
|
|
5453
|
-
const select$
|
|
5697
|
+
const select$z = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
5454
5698
|
return {
|
|
5455
5699
|
kind: 'Fragment',
|
|
5456
|
-
version: VERSION$
|
|
5700
|
+
version: VERSION$j,
|
|
5457
5701
|
private: [],
|
|
5458
5702
|
selections: [
|
|
5459
5703
|
{
|
|
@@ -5484,7 +5728,7 @@ const select$B = function SemanticRelationshipCriteriaOutputRepresentationSelect
|
|
|
5484
5728
|
]
|
|
5485
5729
|
};
|
|
5486
5730
|
};
|
|
5487
|
-
function equals$
|
|
5731
|
+
function equals$j(existing, incoming) {
|
|
5488
5732
|
const existing_joinOperator = existing.joinOperator;
|
|
5489
5733
|
const incoming_joinOperator = incoming.joinOperator;
|
|
5490
5734
|
// if at least one of these optionals is defined
|
|
@@ -5553,8 +5797,8 @@ function equals$l(existing, incoming) {
|
|
|
5553
5797
|
return true;
|
|
5554
5798
|
}
|
|
5555
5799
|
|
|
5556
|
-
const VERSION$
|
|
5557
|
-
function validate$
|
|
5800
|
+
const VERSION$i = "8c02af844319b9d5bd1c08e30e3ca8dd";
|
|
5801
|
+
function validate$n(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
5558
5802
|
const v_error = (() => {
|
|
5559
5803
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5560
5804
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5604,7 +5848,7 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5604
5848
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
5605
5849
|
const obj_criteria_item = obj_criteria[i];
|
|
5606
5850
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
5607
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
5851
|
+
const referencepath_criteria_itemValidationError = validate$o(obj_criteria_item, path_criteria_item);
|
|
5608
5852
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
5609
5853
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
5610
5854
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5631,6 +5875,13 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5631
5875
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isEnabled + '" (at "' + path_isEnabled + '")');
|
|
5632
5876
|
}
|
|
5633
5877
|
}
|
|
5878
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
5879
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
5880
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
5881
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
5882
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
5883
|
+
}
|
|
5884
|
+
}
|
|
5634
5885
|
if (obj.joinType !== undefined) {
|
|
5635
5886
|
const obj_joinType = obj.joinType;
|
|
5636
5887
|
const path_joinType = path + '.joinType';
|
|
@@ -5680,6 +5931,13 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5680
5931
|
return new TypeError('Expected "string" but received "' + typeof obj_rightSemanticDefinitionApiName + '" (at "' + path_rightSemanticDefinitionApiName + '")');
|
|
5681
5932
|
}
|
|
5682
5933
|
}
|
|
5934
|
+
if (obj.unmapped !== undefined) {
|
|
5935
|
+
const obj_unmapped = obj.unmapped;
|
|
5936
|
+
const path_unmapped = path + '.unmapped';
|
|
5937
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
5938
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
5939
|
+
}
|
|
5940
|
+
}
|
|
5683
5941
|
})();
|
|
5684
5942
|
return v_error === undefined ? null : v_error;
|
|
5685
5943
|
}
|
|
@@ -5696,11 +5954,11 @@ function keyBuilderFromType$7(luvio, object) {
|
|
|
5696
5954
|
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
5697
5955
|
return input;
|
|
5698
5956
|
}
|
|
5699
|
-
const select$
|
|
5700
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
5957
|
+
const select$y = function SemanticRelationshipOutputRepresentationSelect() {
|
|
5958
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$z();
|
|
5701
5959
|
return {
|
|
5702
5960
|
kind: 'Fragment',
|
|
5703
|
-
version: VERSION$
|
|
5961
|
+
version: VERSION$i,
|
|
5704
5962
|
private: [],
|
|
5705
5963
|
selections: [
|
|
5706
5964
|
{
|
|
@@ -5751,6 +6009,11 @@ const select$A = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
5751
6009
|
kind: 'Scalar',
|
|
5752
6010
|
required: false
|
|
5753
6011
|
},
|
|
6012
|
+
{
|
|
6013
|
+
name: 'isSystemDefinition',
|
|
6014
|
+
kind: 'Scalar',
|
|
6015
|
+
required: false
|
|
6016
|
+
},
|
|
5754
6017
|
{
|
|
5755
6018
|
name: 'joinType',
|
|
5756
6019
|
kind: 'Scalar',
|
|
@@ -5785,11 +6048,16 @@ const select$A = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
5785
6048
|
name: 'rightSemanticDefinitionApiName',
|
|
5786
6049
|
kind: 'Scalar',
|
|
5787
6050
|
required: false
|
|
6051
|
+
},
|
|
6052
|
+
{
|
|
6053
|
+
name: 'unmapped',
|
|
6054
|
+
kind: 'Scalar',
|
|
6055
|
+
required: false
|
|
5788
6056
|
}
|
|
5789
6057
|
]
|
|
5790
6058
|
};
|
|
5791
6059
|
};
|
|
5792
|
-
function equals$
|
|
6060
|
+
function equals$i(existing, incoming) {
|
|
5793
6061
|
const existing_isEnabled = existing.isEnabled;
|
|
5794
6062
|
const incoming_isEnabled = incoming.isEnabled;
|
|
5795
6063
|
// if at least one of these optionals is defined
|
|
@@ -5803,6 +6071,32 @@ function equals$k(existing, incoming) {
|
|
|
5803
6071
|
return false;
|
|
5804
6072
|
}
|
|
5805
6073
|
}
|
|
6074
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
6075
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
6076
|
+
// if at least one of these optionals is defined
|
|
6077
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
6078
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6079
|
+
// not equal
|
|
6080
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
6081
|
+
return false;
|
|
6082
|
+
}
|
|
6083
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
6084
|
+
return false;
|
|
6085
|
+
}
|
|
6086
|
+
}
|
|
6087
|
+
const existing_unmapped = existing.unmapped;
|
|
6088
|
+
const incoming_unmapped = incoming.unmapped;
|
|
6089
|
+
// if at least one of these optionals is defined
|
|
6090
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
6091
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6092
|
+
// not equal
|
|
6093
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
6094
|
+
return false;
|
|
6095
|
+
}
|
|
6096
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
6097
|
+
return false;
|
|
6098
|
+
}
|
|
6099
|
+
}
|
|
5806
6100
|
const existing_apiName = existing.apiName;
|
|
5807
6101
|
const incoming_apiName = incoming.apiName;
|
|
5808
6102
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -5976,7 +6270,7 @@ function equals$k(existing, incoming) {
|
|
|
5976
6270
|
return false;
|
|
5977
6271
|
}
|
|
5978
6272
|
const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
|
|
5979
|
-
if (!(equals$
|
|
6273
|
+
if (!(equals$j(existing_criteria_item, incoming_criteria_item))) {
|
|
5980
6274
|
return false;
|
|
5981
6275
|
}
|
|
5982
6276
|
});
|
|
@@ -5988,14 +6282,14 @@ function equals$k(existing, incoming) {
|
|
|
5988
6282
|
}
|
|
5989
6283
|
const ingest$d = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5990
6284
|
if (process.env.NODE_ENV !== 'production') {
|
|
5991
|
-
const validateError = validate$
|
|
6285
|
+
const validateError = validate$n(input);
|
|
5992
6286
|
if (validateError !== null) {
|
|
5993
6287
|
throw validateError;
|
|
5994
6288
|
}
|
|
5995
6289
|
}
|
|
5996
6290
|
const key = keyBuilderFromType$7(luvio, input);
|
|
5997
6291
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5998
|
-
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);
|
|
5999
6293
|
return createLink(key);
|
|
6000
6294
|
};
|
|
6001
6295
|
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6008,8 +6302,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6008
6302
|
});
|
|
6009
6303
|
}
|
|
6010
6304
|
|
|
6011
|
-
const VERSION$
|
|
6012
|
-
function validate$
|
|
6305
|
+
const VERSION$h = "fddfb9284fc64c70f7d0debf4af30c95";
|
|
6306
|
+
function validate$m(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
6013
6307
|
const v_error = (() => {
|
|
6014
6308
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6015
6309
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6059,7 +6353,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6059
6353
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
6060
6354
|
const obj_fields_item = obj_fields[i];
|
|
6061
6355
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
6062
|
-
const referencepath_fields_itemValidationError = validate$
|
|
6356
|
+
const referencepath_fields_itemValidationError = validate$r(obj_fields_item, path_fields_item);
|
|
6063
6357
|
if (referencepath_fields_itemValidationError !== null) {
|
|
6064
6358
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
6065
6359
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6072,6 +6366,13 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6072
6366
|
if (typeof obj_id !== 'string') {
|
|
6073
6367
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
6074
6368
|
}
|
|
6369
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
6370
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
6371
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
6372
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
6373
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
6374
|
+
}
|
|
6375
|
+
}
|
|
6075
6376
|
if (obj.label !== undefined) {
|
|
6076
6377
|
const obj_label = obj.label;
|
|
6077
6378
|
const path_label = path + '.label';
|
|
@@ -6103,7 +6404,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6103
6404
|
if (obj.semanticDimension !== undefined) {
|
|
6104
6405
|
const obj_semanticDimension = obj.semanticDimension;
|
|
6105
6406
|
const path_semanticDimension = path + '.semanticDimension';
|
|
6106
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
6407
|
+
const referencepath_semanticDimensionValidationError = validate$y(obj_semanticDimension, path_semanticDimension);
|
|
6107
6408
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
6108
6409
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
6109
6410
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6113,13 +6414,20 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6113
6414
|
if (obj.semanticMeasurement !== undefined) {
|
|
6114
6415
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
6115
6416
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
6116
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
6417
|
+
const referencepath_semanticMeasurementValidationError = validate$x(obj_semanticMeasurement, path_semanticMeasurement);
|
|
6117
6418
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
6118
6419
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
6119
6420
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
6120
6421
|
return new TypeError(message);
|
|
6121
6422
|
}
|
|
6122
6423
|
}
|
|
6424
|
+
if (obj.unmapped !== undefined) {
|
|
6425
|
+
const obj_unmapped = obj.unmapped;
|
|
6426
|
+
const path_unmapped = path + '.unmapped';
|
|
6427
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
6428
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
6429
|
+
}
|
|
6430
|
+
}
|
|
6123
6431
|
})();
|
|
6124
6432
|
return v_error === undefined ? null : v_error;
|
|
6125
6433
|
}
|
|
@@ -6136,15 +6444,15 @@ function keyBuilderFromType$6(luvio, object) {
|
|
|
6136
6444
|
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
6137
6445
|
return input;
|
|
6138
6446
|
}
|
|
6139
|
-
const select$
|
|
6447
|
+
const select$x = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
6140
6448
|
return {
|
|
6141
6449
|
kind: 'Fragment',
|
|
6142
|
-
version: VERSION$
|
|
6450
|
+
version: VERSION$h,
|
|
6143
6451
|
private: [],
|
|
6144
6452
|
opaque: true
|
|
6145
6453
|
};
|
|
6146
6454
|
};
|
|
6147
|
-
function equals$
|
|
6455
|
+
function equals$h(existing, incoming) {
|
|
6148
6456
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
6149
6457
|
return false;
|
|
6150
6458
|
}
|
|
@@ -6152,14 +6460,14 @@ function equals$j(existing, incoming) {
|
|
|
6152
6460
|
}
|
|
6153
6461
|
const ingest$c = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6154
6462
|
if (process.env.NODE_ENV !== 'production') {
|
|
6155
|
-
const validateError = validate$
|
|
6463
|
+
const validateError = validate$m(input);
|
|
6156
6464
|
if (validateError !== null) {
|
|
6157
6465
|
throw validateError;
|
|
6158
6466
|
}
|
|
6159
6467
|
}
|
|
6160
6468
|
const key = keyBuilderFromType$6(luvio, input);
|
|
6161
6469
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6162
|
-
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);
|
|
6163
6471
|
return createLink(key);
|
|
6164
6472
|
};
|
|
6165
6473
|
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6172,8 +6480,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6172
6480
|
});
|
|
6173
6481
|
}
|
|
6174
6482
|
|
|
6175
|
-
const VERSION$
|
|
6176
|
-
function validate$
|
|
6483
|
+
const VERSION$g = "69fe23112140e9fae50135dcb15c24c2";
|
|
6484
|
+
function validate$l(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
6177
6485
|
const v_error = (() => {
|
|
6178
6486
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6179
6487
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6348,10 +6656,10 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
|
6348
6656
|
}
|
|
6349
6657
|
return input;
|
|
6350
6658
|
}
|
|
6351
|
-
const select$
|
|
6659
|
+
const select$w = function SemanticUnionOutputRepresentationSelect() {
|
|
6352
6660
|
return {
|
|
6353
6661
|
kind: 'Fragment',
|
|
6354
|
-
version: VERSION$
|
|
6662
|
+
version: VERSION$g,
|
|
6355
6663
|
private: [],
|
|
6356
6664
|
selections: [
|
|
6357
6665
|
{
|
|
@@ -6410,19 +6718,19 @@ const select$y = function SemanticUnionOutputRepresentationSelect() {
|
|
|
6410
6718
|
kind: 'Link',
|
|
6411
6719
|
plural: true,
|
|
6412
6720
|
required: false,
|
|
6413
|
-
fragment: select$
|
|
6721
|
+
fragment: select$H()
|
|
6414
6722
|
},
|
|
6415
6723
|
{
|
|
6416
6724
|
name: 'semanticMappedFields',
|
|
6417
6725
|
kind: 'Link',
|
|
6418
6726
|
plural: true,
|
|
6419
6727
|
required: false,
|
|
6420
|
-
fragment: select$
|
|
6728
|
+
fragment: select$x()
|
|
6421
6729
|
}
|
|
6422
6730
|
]
|
|
6423
6731
|
};
|
|
6424
6732
|
};
|
|
6425
|
-
function equals$
|
|
6733
|
+
function equals$g(existing, incoming) {
|
|
6426
6734
|
const existing_apiName = existing.apiName;
|
|
6427
6735
|
const incoming_apiName = incoming.apiName;
|
|
6428
6736
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -6574,14 +6882,14 @@ function equals$i(existing, incoming) {
|
|
|
6574
6882
|
}
|
|
6575
6883
|
const ingest$b = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6576
6884
|
if (process.env.NODE_ENV !== 'production') {
|
|
6577
|
-
const validateError = validate$
|
|
6885
|
+
const validateError = validate$l(input);
|
|
6578
6886
|
if (validateError !== null) {
|
|
6579
6887
|
throw validateError;
|
|
6580
6888
|
}
|
|
6581
6889
|
}
|
|
6582
6890
|
const key = keyBuilderFromType$5(luvio, input);
|
|
6583
6891
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6584
|
-
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);
|
|
6585
6893
|
return createLink(key);
|
|
6586
6894
|
};
|
|
6587
6895
|
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6606,8 +6914,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6606
6914
|
}
|
|
6607
6915
|
}
|
|
6608
6916
|
|
|
6609
|
-
const VERSION$
|
|
6610
|
-
function validate$
|
|
6917
|
+
const VERSION$f = "5056fdb7575699f2bc25f1d504ec499a";
|
|
6918
|
+
function validate$k(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
6611
6919
|
const v_error = (() => {
|
|
6612
6920
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6613
6921
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6671,7 +6979,7 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6671
6979
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
6672
6980
|
const obj_filters_item = obj_filters[i];
|
|
6673
6981
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
6674
|
-
const referencepath_filters_itemValidationError = validate$
|
|
6982
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
6675
6983
|
if (referencepath_filters_itemValidationError !== null) {
|
|
6676
6984
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
6677
6985
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6684,6 +6992,13 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6684
6992
|
if (typeof obj_id !== 'string') {
|
|
6685
6993
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
6686
6994
|
}
|
|
6995
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
6996
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
6997
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
6998
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
6999
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
7000
|
+
}
|
|
7001
|
+
}
|
|
6687
7002
|
if (obj.label !== undefined) {
|
|
6688
7003
|
const obj_label = obj.label;
|
|
6689
7004
|
const path_label = path + '.label';
|
|
@@ -6761,6 +7076,13 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6761
7076
|
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
6762
7077
|
}
|
|
6763
7078
|
}
|
|
7079
|
+
if (obj.unmapped !== undefined) {
|
|
7080
|
+
const obj_unmapped = obj.unmapped;
|
|
7081
|
+
const path_unmapped = path + '.unmapped';
|
|
7082
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
7083
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
7084
|
+
}
|
|
7085
|
+
}
|
|
6764
7086
|
})();
|
|
6765
7087
|
return v_error === undefined ? null : v_error;
|
|
6766
7088
|
}
|
|
@@ -6831,11 +7153,11 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
6831
7153
|
}
|
|
6832
7154
|
return input;
|
|
6833
7155
|
}
|
|
6834
|
-
const select$
|
|
6835
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
7156
|
+
const select$v = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
7157
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
6836
7158
|
return {
|
|
6837
7159
|
kind: 'Fragment',
|
|
6838
|
-
version: VERSION$
|
|
7160
|
+
version: VERSION$f,
|
|
6839
7161
|
private: [],
|
|
6840
7162
|
selections: [
|
|
6841
7163
|
{
|
|
@@ -6886,6 +7208,11 @@ const select$x = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
6886
7208
|
name: 'id',
|
|
6887
7209
|
kind: 'Scalar'
|
|
6888
7210
|
},
|
|
7211
|
+
{
|
|
7212
|
+
name: 'isSystemDefinition',
|
|
7213
|
+
kind: 'Scalar',
|
|
7214
|
+
required: false
|
|
7215
|
+
},
|
|
6889
7216
|
{
|
|
6890
7217
|
name: 'label',
|
|
6891
7218
|
kind: 'Scalar',
|
|
@@ -6906,21 +7233,21 @@ const select$x = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
6906
7233
|
kind: 'Link',
|
|
6907
7234
|
plural: true,
|
|
6908
7235
|
required: false,
|
|
6909
|
-
fragment: select$
|
|
7236
|
+
fragment: select$H()
|
|
6910
7237
|
},
|
|
6911
7238
|
{
|
|
6912
7239
|
name: 'semanticRelationships',
|
|
6913
7240
|
kind: 'Link',
|
|
6914
7241
|
plural: true,
|
|
6915
7242
|
required: false,
|
|
6916
|
-
fragment: select$
|
|
7243
|
+
fragment: select$y()
|
|
6917
7244
|
},
|
|
6918
7245
|
{
|
|
6919
7246
|
name: 'semanticUnions',
|
|
6920
7247
|
kind: 'Link',
|
|
6921
7248
|
plural: true,
|
|
6922
7249
|
required: false,
|
|
6923
|
-
fragment: select$
|
|
7250
|
+
fragment: select$w()
|
|
6924
7251
|
},
|
|
6925
7252
|
{
|
|
6926
7253
|
name: 'semanticViewTypeEnum',
|
|
@@ -6931,11 +7258,42 @@ const select$x = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
6931
7258
|
name: 'tableType',
|
|
6932
7259
|
kind: 'Scalar',
|
|
6933
7260
|
required: false
|
|
7261
|
+
},
|
|
7262
|
+
{
|
|
7263
|
+
name: 'unmapped',
|
|
7264
|
+
kind: 'Scalar',
|
|
7265
|
+
required: false
|
|
6934
7266
|
}
|
|
6935
7267
|
]
|
|
6936
7268
|
};
|
|
6937
7269
|
};
|
|
6938
|
-
function equals$
|
|
7270
|
+
function equals$f(existing, incoming) {
|
|
7271
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
7272
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
7273
|
+
// if at least one of these optionals is defined
|
|
7274
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
7275
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7276
|
+
// not equal
|
|
7277
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
7278
|
+
return false;
|
|
7279
|
+
}
|
|
7280
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
7281
|
+
return false;
|
|
7282
|
+
}
|
|
7283
|
+
}
|
|
7284
|
+
const existing_unmapped = existing.unmapped;
|
|
7285
|
+
const incoming_unmapped = incoming.unmapped;
|
|
7286
|
+
// if at least one of these optionals is defined
|
|
7287
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
7288
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7289
|
+
// not equal
|
|
7290
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
7291
|
+
return false;
|
|
7292
|
+
}
|
|
7293
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
7294
|
+
return false;
|
|
7295
|
+
}
|
|
7296
|
+
}
|
|
6939
7297
|
const existing_apiName = existing.apiName;
|
|
6940
7298
|
const incoming_apiName = incoming.apiName;
|
|
6941
7299
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -7096,7 +7454,7 @@ function equals$h(existing, incoming) {
|
|
|
7096
7454
|
return false;
|
|
7097
7455
|
}
|
|
7098
7456
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
7099
|
-
if (!(equals$
|
|
7457
|
+
if (!(equals$u(existing_filters_item, incoming_filters_item))) {
|
|
7100
7458
|
return false;
|
|
7101
7459
|
}
|
|
7102
7460
|
});
|
|
@@ -7162,14 +7520,14 @@ function equals$h(existing, incoming) {
|
|
|
7162
7520
|
}
|
|
7163
7521
|
const ingest$a = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7164
7522
|
if (process.env.NODE_ENV !== 'production') {
|
|
7165
|
-
const validateError = validate$
|
|
7523
|
+
const validateError = validate$k(input);
|
|
7166
7524
|
if (validateError !== null) {
|
|
7167
7525
|
throw validateError;
|
|
7168
7526
|
}
|
|
7169
7527
|
}
|
|
7170
7528
|
const key = keyBuilderFromType$4(luvio, input);
|
|
7171
7529
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7172
|
-
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);
|
|
7173
7531
|
return createLink(key);
|
|
7174
7532
|
};
|
|
7175
7533
|
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7200,8 +7558,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7200
7558
|
}
|
|
7201
7559
|
}
|
|
7202
7560
|
|
|
7203
|
-
const VERSION$
|
|
7204
|
-
function validate$
|
|
7561
|
+
const VERSION$e = "a50848c632bb205d5e910bb726d9219e";
|
|
7562
|
+
function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
7205
7563
|
const v_error = (() => {
|
|
7206
7564
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7207
7565
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7209,7 +7567,7 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7209
7567
|
if (obj.identifierDimensionReference !== undefined) {
|
|
7210
7568
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
7211
7569
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
7212
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
7570
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$q(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
7213
7571
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
7214
7572
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
7215
7573
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7219,7 +7577,7 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7219
7577
|
if (obj.namingDimensionReference !== undefined) {
|
|
7220
7578
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
7221
7579
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
7222
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
7580
|
+
const referencepath_namingDimensionReferenceValidationError = validate$q(obj_namingDimensionReference, path_namingDimensionReference);
|
|
7223
7581
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
7224
7582
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
7225
7583
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7229,11 +7587,11 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7229
7587
|
})();
|
|
7230
7588
|
return v_error === undefined ? null : v_error;
|
|
7231
7589
|
}
|
|
7232
|
-
const select$
|
|
7233
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
7590
|
+
const select$u = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
7591
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
7234
7592
|
return {
|
|
7235
7593
|
kind: 'Fragment',
|
|
7236
|
-
version: VERSION$
|
|
7594
|
+
version: VERSION$e,
|
|
7237
7595
|
private: [],
|
|
7238
7596
|
selections: [
|
|
7239
7597
|
{
|
|
@@ -7251,7 +7609,7 @@ const select$w = function SemanticIdentifyingDimensionOutputRepresentationSelect
|
|
|
7251
7609
|
]
|
|
7252
7610
|
};
|
|
7253
7611
|
};
|
|
7254
|
-
function equals$
|
|
7612
|
+
function equals$e(existing, incoming) {
|
|
7255
7613
|
const existing_identifierDimensionReference = existing.identifierDimensionReference;
|
|
7256
7614
|
const incoming_identifierDimensionReference = incoming.identifierDimensionReference;
|
|
7257
7615
|
// if at least one of these optionals is defined
|
|
@@ -7261,7 +7619,7 @@ function equals$g(existing, incoming) {
|
|
|
7261
7619
|
if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
|
|
7262
7620
|
return false;
|
|
7263
7621
|
}
|
|
7264
|
-
if (!(equals$
|
|
7622
|
+
if (!(equals$l(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
|
|
7265
7623
|
return false;
|
|
7266
7624
|
}
|
|
7267
7625
|
}
|
|
@@ -7274,15 +7632,15 @@ function equals$g(existing, incoming) {
|
|
|
7274
7632
|
if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
|
|
7275
7633
|
return false;
|
|
7276
7634
|
}
|
|
7277
|
-
if (!(equals$
|
|
7635
|
+
if (!(equals$l(existing_namingDimensionReference, incoming_namingDimensionReference))) {
|
|
7278
7636
|
return false;
|
|
7279
7637
|
}
|
|
7280
7638
|
}
|
|
7281
7639
|
return true;
|
|
7282
7640
|
}
|
|
7283
7641
|
|
|
7284
|
-
const VERSION$
|
|
7285
|
-
function validate$
|
|
7642
|
+
const VERSION$d = "1b8cf2283d5d5c480459506274f0604c";
|
|
7643
|
+
function validate$i(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
7286
7644
|
const v_error = (() => {
|
|
7287
7645
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7288
7646
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7304,10 +7662,10 @@ function validate$j(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
|
7304
7662
|
})();
|
|
7305
7663
|
return v_error === undefined ? null : v_error;
|
|
7306
7664
|
}
|
|
7307
|
-
const select$
|
|
7665
|
+
const select$t = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
7308
7666
|
return {
|
|
7309
7667
|
kind: 'Fragment',
|
|
7310
|
-
version: VERSION$
|
|
7668
|
+
version: VERSION$d,
|
|
7311
7669
|
private: [],
|
|
7312
7670
|
selections: [
|
|
7313
7671
|
{
|
|
@@ -7323,7 +7681,7 @@ const select$v = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
|
7323
7681
|
]
|
|
7324
7682
|
};
|
|
7325
7683
|
};
|
|
7326
|
-
function equals$
|
|
7684
|
+
function equals$d(existing, incoming) {
|
|
7327
7685
|
const existing_enabled = existing.enabled;
|
|
7328
7686
|
const incoming_enabled = incoming.enabled;
|
|
7329
7687
|
// if at least one of these optionals is defined
|
|
@@ -7353,8 +7711,8 @@ function equals$f(existing, incoming) {
|
|
|
7353
7711
|
return true;
|
|
7354
7712
|
}
|
|
7355
7713
|
|
|
7356
|
-
const VERSION$
|
|
7357
|
-
function validate$
|
|
7714
|
+
const VERSION$c = "a3f5972287be7bcf9ca205af56046a58";
|
|
7715
|
+
function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
7358
7716
|
const v_error = (() => {
|
|
7359
7717
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7360
7718
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7362,7 +7720,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7362
7720
|
if (obj.identifyingDimension !== undefined) {
|
|
7363
7721
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
7364
7722
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
7365
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
7723
|
+
const referencepath_identifyingDimensionValidationError = validate$j(obj_identifyingDimension, path_identifyingDimension);
|
|
7366
7724
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
7367
7725
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
7368
7726
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7378,7 +7736,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7378
7736
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
7379
7737
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
7380
7738
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
7381
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
7739
|
+
const referencepath_insightTypes_itemValidationError = validate$i(obj_insightTypes_item, path_insightTypes_item);
|
|
7382
7740
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
7383
7741
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
7384
7742
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7395,7 +7753,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7395
7753
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
7396
7754
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
7397
7755
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
7398
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
7756
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$q(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
7399
7757
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
7400
7758
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
7401
7759
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7427,13 +7785,13 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7427
7785
|
})();
|
|
7428
7786
|
return v_error === undefined ? null : v_error;
|
|
7429
7787
|
}
|
|
7430
|
-
const select$
|
|
7431
|
-
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$
|
|
7432
|
-
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$
|
|
7433
|
-
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();
|
|
7434
7792
|
return {
|
|
7435
7793
|
kind: 'Fragment',
|
|
7436
|
-
version: VERSION$
|
|
7794
|
+
version: VERSION$c,
|
|
7437
7795
|
private: [],
|
|
7438
7796
|
selections: [
|
|
7439
7797
|
{
|
|
@@ -7474,7 +7832,7 @@ const select$u = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
|
7474
7832
|
]
|
|
7475
7833
|
};
|
|
7476
7834
|
};
|
|
7477
|
-
function equals$
|
|
7835
|
+
function equals$c(existing, incoming) {
|
|
7478
7836
|
const existing_pluralNoun = existing.pluralNoun;
|
|
7479
7837
|
const incoming_pluralNoun = incoming.pluralNoun;
|
|
7480
7838
|
// if at least one of these optionals is defined
|
|
@@ -7523,7 +7881,7 @@ function equals$e(existing, incoming) {
|
|
|
7523
7881
|
if (existing_identifyingDimension === undefined || incoming_identifyingDimension === undefined) {
|
|
7524
7882
|
return false;
|
|
7525
7883
|
}
|
|
7526
|
-
if (!(equals$
|
|
7884
|
+
if (!(equals$e(existing_identifyingDimension, incoming_identifyingDimension))) {
|
|
7527
7885
|
return false;
|
|
7528
7886
|
}
|
|
7529
7887
|
}
|
|
@@ -7537,7 +7895,7 @@ function equals$e(existing, incoming) {
|
|
|
7537
7895
|
return false;
|
|
7538
7896
|
}
|
|
7539
7897
|
const equals_insightTypes_items = equalsArray(existing_insightTypes, incoming_insightTypes, (existing_insightTypes_item, incoming_insightTypes_item) => {
|
|
7540
|
-
if (!(equals$
|
|
7898
|
+
if (!(equals$d(existing_insightTypes_item, incoming_insightTypes_item))) {
|
|
7541
7899
|
return false;
|
|
7542
7900
|
}
|
|
7543
7901
|
});
|
|
@@ -7555,7 +7913,7 @@ function equals$e(existing, incoming) {
|
|
|
7555
7913
|
return false;
|
|
7556
7914
|
}
|
|
7557
7915
|
const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
|
|
7558
|
-
if (!(equals$
|
|
7916
|
+
if (!(equals$l(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
|
|
7559
7917
|
return false;
|
|
7560
7918
|
}
|
|
7561
7919
|
});
|
|
@@ -7566,8 +7924,8 @@ function equals$e(existing, incoming) {
|
|
|
7566
7924
|
return true;
|
|
7567
7925
|
}
|
|
7568
7926
|
|
|
7569
|
-
const VERSION$
|
|
7570
|
-
function validate$
|
|
7927
|
+
const VERSION$b = "a9c4c21f041ebd0ad373f8e53e345e6a";
|
|
7928
|
+
function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
7571
7929
|
const v_error = (() => {
|
|
7572
7930
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7573
7931
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7581,7 +7939,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7581
7939
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
7582
7940
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
7583
7941
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
7584
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
7942
|
+
const referencepath_additionalDimensions_itemValidationError = validate$q(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
7585
7943
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
7586
7944
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
7587
7945
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7648,7 +8006,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7648
8006
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7649
8007
|
const obj_filters_item = obj_filters[i];
|
|
7650
8008
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7651
|
-
const referencepath_filters_itemValidationError = validate$
|
|
8009
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
7652
8010
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7653
8011
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7654
8012
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7664,7 +8022,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7664
8022
|
if (obj.insightsSettings !== undefined) {
|
|
7665
8023
|
const obj_insightsSettings = obj.insightsSettings;
|
|
7666
8024
|
const path_insightsSettings = path + '.insightsSettings';
|
|
7667
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
8025
|
+
const referencepath_insightsSettingsValidationError = validate$h(obj_insightsSettings, path_insightsSettings);
|
|
7668
8026
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
7669
8027
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
7670
8028
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7678,6 +8036,13 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7678
8036
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isCumulative + '" (at "' + path_isCumulative + '")');
|
|
7679
8037
|
}
|
|
7680
8038
|
}
|
|
8039
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
8040
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
8041
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
8042
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
8043
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
8044
|
+
}
|
|
8045
|
+
}
|
|
7681
8046
|
if (obj.label !== undefined) {
|
|
7682
8047
|
const obj_label = obj.label;
|
|
7683
8048
|
const path_label = path + '.label';
|
|
@@ -7702,7 +8067,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7702
8067
|
if (obj.measurementReference !== undefined) {
|
|
7703
8068
|
const obj_measurementReference = obj.measurementReference;
|
|
7704
8069
|
const path_measurementReference = path + '.measurementReference';
|
|
7705
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
8070
|
+
const referencepath_measurementReferenceValidationError = validate$q(obj_measurementReference, path_measurementReference);
|
|
7706
8071
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
7707
8072
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
7708
8073
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7712,7 +8077,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7712
8077
|
if (obj.timeDimensionReference !== undefined) {
|
|
7713
8078
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
7714
8079
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
7715
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
8080
|
+
const referencepath_timeDimensionReferenceValidationError = validate$q(obj_timeDimensionReference, path_timeDimensionReference);
|
|
7716
8081
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
7717
8082
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
7718
8083
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7733,6 +8098,13 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7733
8098
|
}
|
|
7734
8099
|
}
|
|
7735
8100
|
}
|
|
8101
|
+
if (obj.unmapped !== undefined) {
|
|
8102
|
+
const obj_unmapped = obj.unmapped;
|
|
8103
|
+
const path_unmapped = path + '.unmapped';
|
|
8104
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
8105
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
8106
|
+
}
|
|
8107
|
+
}
|
|
7736
8108
|
})();
|
|
7737
8109
|
return v_error === undefined ? null : v_error;
|
|
7738
8110
|
}
|
|
@@ -7749,13 +8121,13 @@ function keyBuilderFromType$3(luvio, object) {
|
|
|
7749
8121
|
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
7750
8122
|
return input;
|
|
7751
8123
|
}
|
|
7752
|
-
const select$
|
|
7753
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
7754
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
7755
|
-
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();
|
|
7756
8128
|
return {
|
|
7757
8129
|
kind: 'Fragment',
|
|
7758
|
-
version: VERSION$
|
|
8130
|
+
version: VERSION$b,
|
|
7759
8131
|
private: [],
|
|
7760
8132
|
selections: [
|
|
7761
8133
|
{
|
|
@@ -7824,6 +8196,11 @@ const select$t = function SemanticMetricOutputRepresentationSelect() {
|
|
|
7824
8196
|
kind: 'Scalar',
|
|
7825
8197
|
required: false
|
|
7826
8198
|
},
|
|
8199
|
+
{
|
|
8200
|
+
name: 'isSystemDefinition',
|
|
8201
|
+
kind: 'Scalar',
|
|
8202
|
+
required: false
|
|
8203
|
+
},
|
|
7827
8204
|
{
|
|
7828
8205
|
name: 'label',
|
|
7829
8206
|
kind: 'Scalar',
|
|
@@ -7856,11 +8233,16 @@ const select$t = function SemanticMetricOutputRepresentationSelect() {
|
|
|
7856
8233
|
kind: 'Scalar',
|
|
7857
8234
|
plural: true,
|
|
7858
8235
|
required: false
|
|
8236
|
+
},
|
|
8237
|
+
{
|
|
8238
|
+
name: 'unmapped',
|
|
8239
|
+
kind: 'Scalar',
|
|
8240
|
+
required: false
|
|
7859
8241
|
}
|
|
7860
8242
|
]
|
|
7861
8243
|
};
|
|
7862
8244
|
};
|
|
7863
|
-
function equals$
|
|
8245
|
+
function equals$b(existing, incoming) {
|
|
7864
8246
|
const existing_isCumulative = existing.isCumulative;
|
|
7865
8247
|
const incoming_isCumulative = incoming.isCumulative;
|
|
7866
8248
|
// if at least one of these optionals is defined
|
|
@@ -7874,6 +8256,32 @@ function equals$d(existing, incoming) {
|
|
|
7874
8256
|
return false;
|
|
7875
8257
|
}
|
|
7876
8258
|
}
|
|
8259
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
8260
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
8261
|
+
// if at least one of these optionals is defined
|
|
8262
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
8263
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8264
|
+
// not equal
|
|
8265
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
8266
|
+
return false;
|
|
8267
|
+
}
|
|
8268
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
8269
|
+
return false;
|
|
8270
|
+
}
|
|
8271
|
+
}
|
|
8272
|
+
const existing_unmapped = existing.unmapped;
|
|
8273
|
+
const incoming_unmapped = incoming.unmapped;
|
|
8274
|
+
// if at least one of these optionals is defined
|
|
8275
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
8276
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8277
|
+
// not equal
|
|
8278
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
8279
|
+
return false;
|
|
8280
|
+
}
|
|
8281
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
8282
|
+
return false;
|
|
8283
|
+
}
|
|
8284
|
+
}
|
|
7877
8285
|
const existing_aggregationType = existing.aggregationType;
|
|
7878
8286
|
const incoming_aggregationType = incoming.aggregationType;
|
|
7879
8287
|
// if at least one of these optionals is defined
|
|
@@ -8008,7 +8416,7 @@ function equals$d(existing, incoming) {
|
|
|
8008
8416
|
return false;
|
|
8009
8417
|
}
|
|
8010
8418
|
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
8011
|
-
if (!(equals$
|
|
8419
|
+
if (!(equals$l(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
8012
8420
|
return false;
|
|
8013
8421
|
}
|
|
8014
8422
|
});
|
|
@@ -8026,7 +8434,7 @@ function equals$d(existing, incoming) {
|
|
|
8026
8434
|
return false;
|
|
8027
8435
|
}
|
|
8028
8436
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
8029
|
-
if (!(equals$
|
|
8437
|
+
if (!(equals$u(existing_filters_item, incoming_filters_item))) {
|
|
8030
8438
|
return false;
|
|
8031
8439
|
}
|
|
8032
8440
|
});
|
|
@@ -8043,7 +8451,7 @@ function equals$d(existing, incoming) {
|
|
|
8043
8451
|
if (existing_insightsSettings === undefined || incoming_insightsSettings === undefined) {
|
|
8044
8452
|
return false;
|
|
8045
8453
|
}
|
|
8046
|
-
if (!(equals$
|
|
8454
|
+
if (!(equals$c(existing_insightsSettings, incoming_insightsSettings))) {
|
|
8047
8455
|
return false;
|
|
8048
8456
|
}
|
|
8049
8457
|
}
|
|
@@ -8056,7 +8464,7 @@ function equals$d(existing, incoming) {
|
|
|
8056
8464
|
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
8057
8465
|
return false;
|
|
8058
8466
|
}
|
|
8059
|
-
if (!(equals$
|
|
8467
|
+
if (!(equals$l(existing_measurementReference, incoming_measurementReference))) {
|
|
8060
8468
|
return false;
|
|
8061
8469
|
}
|
|
8062
8470
|
}
|
|
@@ -8069,7 +8477,7 @@ function equals$d(existing, incoming) {
|
|
|
8069
8477
|
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
8070
8478
|
return false;
|
|
8071
8479
|
}
|
|
8072
|
-
if (!(equals$
|
|
8480
|
+
if (!(equals$l(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
8073
8481
|
return false;
|
|
8074
8482
|
}
|
|
8075
8483
|
}
|
|
@@ -8095,14 +8503,14 @@ function equals$d(existing, incoming) {
|
|
|
8095
8503
|
}
|
|
8096
8504
|
const ingest$9 = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8097
8505
|
if (process.env.NODE_ENV !== 'production') {
|
|
8098
|
-
const validateError = validate$
|
|
8506
|
+
const validateError = validate$g(input);
|
|
8099
8507
|
if (validateError !== null) {
|
|
8100
8508
|
throw validateError;
|
|
8101
8509
|
}
|
|
8102
8510
|
}
|
|
8103
8511
|
const key = keyBuilderFromType$3(luvio, input);
|
|
8104
8512
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
8105
|
-
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);
|
|
8106
8514
|
return createLink(key);
|
|
8107
8515
|
};
|
|
8108
8516
|
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -8115,8 +8523,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8115
8523
|
});
|
|
8116
8524
|
}
|
|
8117
8525
|
|
|
8118
|
-
const VERSION$
|
|
8119
|
-
function validate$
|
|
8526
|
+
const VERSION$a = "158d115be773406f841e4351d481d398";
|
|
8527
|
+
function validate$f(obj, path = 'SemanticParameterListValueOutputRepresentation') {
|
|
8120
8528
|
const v_error = (() => {
|
|
8121
8529
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8122
8530
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8138,10 +8546,10 @@ function validate$g(obj, path = 'SemanticParameterListValueOutputRepresentation'
|
|
|
8138
8546
|
})();
|
|
8139
8547
|
return v_error === undefined ? null : v_error;
|
|
8140
8548
|
}
|
|
8141
|
-
const select$
|
|
8549
|
+
const select$q = function SemanticParameterListValueOutputRepresentationSelect() {
|
|
8142
8550
|
return {
|
|
8143
8551
|
kind: 'Fragment',
|
|
8144
|
-
version: VERSION$
|
|
8552
|
+
version: VERSION$a,
|
|
8145
8553
|
private: [],
|
|
8146
8554
|
selections: [
|
|
8147
8555
|
{
|
|
@@ -8157,7 +8565,7 @@ const select$s = function SemanticParameterListValueOutputRepresentationSelect()
|
|
|
8157
8565
|
]
|
|
8158
8566
|
};
|
|
8159
8567
|
};
|
|
8160
|
-
function equals$
|
|
8568
|
+
function equals$a(existing, incoming) {
|
|
8161
8569
|
const existing_displayName = existing.displayName;
|
|
8162
8570
|
const incoming_displayName = incoming.displayName;
|
|
8163
8571
|
// if at least one of these optionals is defined
|
|
@@ -8187,8 +8595,8 @@ function equals$c(existing, incoming) {
|
|
|
8187
8595
|
return true;
|
|
8188
8596
|
}
|
|
8189
8597
|
|
|
8190
|
-
const VERSION$
|
|
8191
|
-
function validate$
|
|
8598
|
+
const VERSION$9 = "1463471c69296e6727623faee2cbfe0c";
|
|
8599
|
+
function validate$e(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
8192
8600
|
const v_error = (() => {
|
|
8193
8601
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8194
8602
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8202,7 +8610,7 @@ function validate$f(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
8202
8610
|
for (let i = 0; i < obj_allowedValues.length; i++) {
|
|
8203
8611
|
const obj_allowedValues_item = obj_allowedValues[i];
|
|
8204
8612
|
const path_allowedValues_item = path_allowedValues + '[' + i + ']';
|
|
8205
|
-
const referencepath_allowedValues_itemValidationError = validate$
|
|
8613
|
+
const referencepath_allowedValues_itemValidationError = validate$f(obj_allowedValues_item, path_allowedValues_item);
|
|
8206
8614
|
if (referencepath_allowedValues_itemValidationError !== null) {
|
|
8207
8615
|
let message = 'Object doesn\'t match SemanticParameterListValueOutputRepresentation (at "' + path_allowedValues_item + '")\n';
|
|
8208
8616
|
message += referencepath_allowedValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8265,6 +8673,13 @@ function validate$f(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
8265
8673
|
if (typeof obj_id !== 'string') {
|
|
8266
8674
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8267
8675
|
}
|
|
8676
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
8677
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
8678
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
8679
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
8680
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
8681
|
+
}
|
|
8682
|
+
}
|
|
8268
8683
|
if (obj.label !== undefined) {
|
|
8269
8684
|
const obj_label = obj.label;
|
|
8270
8685
|
const path_label = path + '.label';
|
|
@@ -8314,6 +8729,13 @@ function validate$f(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
8314
8729
|
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
8315
8730
|
}
|
|
8316
8731
|
}
|
|
8732
|
+
if (obj.unmapped !== undefined) {
|
|
8733
|
+
const obj_unmapped = obj.unmapped;
|
|
8734
|
+
const path_unmapped = path + '.unmapped';
|
|
8735
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
8736
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
8737
|
+
}
|
|
8738
|
+
}
|
|
8317
8739
|
if (obj.values !== undefined) {
|
|
8318
8740
|
const obj_values = obj.values;
|
|
8319
8741
|
const path_values = path + '.values';
|
|
@@ -8344,11 +8766,11 @@ function keyBuilderFromType$2(luvio, object) {
|
|
|
8344
8766
|
function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
8345
8767
|
return input;
|
|
8346
8768
|
}
|
|
8347
|
-
const select$
|
|
8348
|
-
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$
|
|
8769
|
+
const select$p = function SemanticParameterOutputRepresentationSelect() {
|
|
8770
|
+
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$q();
|
|
8349
8771
|
return {
|
|
8350
8772
|
kind: 'Fragment',
|
|
8351
|
-
version: VERSION$
|
|
8773
|
+
version: VERSION$9,
|
|
8352
8774
|
private: [],
|
|
8353
8775
|
selections: [
|
|
8354
8776
|
{
|
|
@@ -8399,6 +8821,11 @@ const select$r = function SemanticParameterOutputRepresentationSelect() {
|
|
|
8399
8821
|
name: 'id',
|
|
8400
8822
|
kind: 'Scalar'
|
|
8401
8823
|
},
|
|
8824
|
+
{
|
|
8825
|
+
name: 'isSystemDefinition',
|
|
8826
|
+
kind: 'Scalar',
|
|
8827
|
+
required: false
|
|
8828
|
+
},
|
|
8402
8829
|
{
|
|
8403
8830
|
name: 'label',
|
|
8404
8831
|
kind: 'Scalar',
|
|
@@ -8434,6 +8861,11 @@ const select$r = function SemanticParameterOutputRepresentationSelect() {
|
|
|
8434
8861
|
kind: 'Scalar',
|
|
8435
8862
|
required: false
|
|
8436
8863
|
},
|
|
8864
|
+
{
|
|
8865
|
+
name: 'unmapped',
|
|
8866
|
+
kind: 'Scalar',
|
|
8867
|
+
required: false
|
|
8868
|
+
},
|
|
8437
8869
|
{
|
|
8438
8870
|
name: 'values',
|
|
8439
8871
|
kind: 'Scalar',
|
|
@@ -8443,7 +8875,33 @@ const select$r = function SemanticParameterOutputRepresentationSelect() {
|
|
|
8443
8875
|
]
|
|
8444
8876
|
};
|
|
8445
8877
|
};
|
|
8446
|
-
function equals$
|
|
8878
|
+
function equals$9(existing, incoming) {
|
|
8879
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
8880
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
8881
|
+
// if at least one of these optionals is defined
|
|
8882
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
8883
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8884
|
+
// not equal
|
|
8885
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
8886
|
+
return false;
|
|
8887
|
+
}
|
|
8888
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
8889
|
+
return false;
|
|
8890
|
+
}
|
|
8891
|
+
}
|
|
8892
|
+
const existing_unmapped = existing.unmapped;
|
|
8893
|
+
const incoming_unmapped = incoming.unmapped;
|
|
8894
|
+
// if at least one of these optionals is defined
|
|
8895
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
8896
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8897
|
+
// not equal
|
|
8898
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
8899
|
+
return false;
|
|
8900
|
+
}
|
|
8901
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
8902
|
+
return false;
|
|
8903
|
+
}
|
|
8904
|
+
}
|
|
8447
8905
|
const existing_apiName = existing.apiName;
|
|
8448
8906
|
const incoming_apiName = incoming.apiName;
|
|
8449
8907
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -8630,7 +9088,7 @@ function equals$b(existing, incoming) {
|
|
|
8630
9088
|
return false;
|
|
8631
9089
|
}
|
|
8632
9090
|
const equals_allowedValues_items = equalsArray(existing_allowedValues, incoming_allowedValues, (existing_allowedValues_item, incoming_allowedValues_item) => {
|
|
8633
|
-
if (!(equals$
|
|
9091
|
+
if (!(equals$a(existing_allowedValues_item, incoming_allowedValues_item))) {
|
|
8634
9092
|
return false;
|
|
8635
9093
|
}
|
|
8636
9094
|
});
|
|
@@ -8660,14 +9118,14 @@ function equals$b(existing, incoming) {
|
|
|
8660
9118
|
}
|
|
8661
9119
|
const ingest$8 = function SemanticParameterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8662
9120
|
if (process.env.NODE_ENV !== 'production') {
|
|
8663
|
-
const validateError = validate$
|
|
9121
|
+
const validateError = validate$e(input);
|
|
8664
9122
|
if (validateError !== null) {
|
|
8665
9123
|
throw validateError;
|
|
8666
9124
|
}
|
|
8667
9125
|
}
|
|
8668
9126
|
const key = keyBuilderFromType$2(luvio, input);
|
|
8669
9127
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
8670
|
-
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);
|
|
8671
9129
|
return createLink(key);
|
|
8672
9130
|
};
|
|
8673
9131
|
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -8680,8 +9138,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8680
9138
|
});
|
|
8681
9139
|
}
|
|
8682
9140
|
|
|
8683
|
-
const VERSION$
|
|
8684
|
-
function validate$
|
|
9141
|
+
const VERSION$8 = "384950eda90c1492434fc4519368df85";
|
|
9142
|
+
function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
8685
9143
|
const v_error = (() => {
|
|
8686
9144
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8687
9145
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8714,7 +9172,7 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8714
9172
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
8715
9173
|
const obj_baseModels_item = obj_baseModels[i];
|
|
8716
9174
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
8717
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
9175
|
+
const referencepath_baseModels_itemValidationError = validate$F(obj_baseModels_item, path_baseModels_item);
|
|
8718
9176
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
8719
9177
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
8720
9178
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8774,7 +9232,7 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8774
9232
|
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
8775
9233
|
const obj_externalConnections_item = obj_externalConnections[i];
|
|
8776
9234
|
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
8777
|
-
const referencepath_externalConnections_itemValidationError = validate$
|
|
9235
|
+
const referencepath_externalConnections_itemValidationError = validate$D(obj_externalConnections_item, path_externalConnections_item);
|
|
8778
9236
|
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
8779
9237
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
8780
9238
|
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8791,7 +9249,7 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8791
9249
|
for (let i = 0; i < obj_fieldsOverrides.length; i++) {
|
|
8792
9250
|
const obj_fieldsOverrides_item = obj_fieldsOverrides[i];
|
|
8793
9251
|
const path_fieldsOverrides_item = path_fieldsOverrides + '[' + i + ']';
|
|
8794
|
-
const referencepath_fieldsOverrides_itemValidationError = validate$
|
|
9252
|
+
const referencepath_fieldsOverrides_itemValidationError = validate$C(obj_fieldsOverrides_item, path_fieldsOverrides_item);
|
|
8795
9253
|
if (referencepath_fieldsOverrides_itemValidationError !== null) {
|
|
8796
9254
|
let message = 'Object doesn\'t match SemanticOverrideOutputRepresentation (at "' + path_fieldsOverrides_item + '")\n';
|
|
8797
9255
|
message += referencepath_fieldsOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9188,13 +9646,13 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
9188
9646
|
}
|
|
9189
9647
|
return input;
|
|
9190
9648
|
}
|
|
9191
|
-
const select$
|
|
9192
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
9193
|
-
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$
|
|
9194
|
-
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();
|
|
9195
9653
|
return {
|
|
9196
9654
|
kind: 'Fragment',
|
|
9197
|
-
version: VERSION$
|
|
9655
|
+
version: VERSION$8,
|
|
9198
9656
|
private: [],
|
|
9199
9657
|
selections: [
|
|
9200
9658
|
{
|
|
@@ -9294,7 +9752,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9294
9752
|
kind: 'Link',
|
|
9295
9753
|
plural: true,
|
|
9296
9754
|
required: false,
|
|
9297
|
-
fragment: select$
|
|
9755
|
+
fragment: select$J()
|
|
9298
9756
|
},
|
|
9299
9757
|
{
|
|
9300
9758
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -9306,7 +9764,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9306
9764
|
kind: 'Link',
|
|
9307
9765
|
plural: true,
|
|
9308
9766
|
required: false,
|
|
9309
|
-
fragment: select$
|
|
9767
|
+
fragment: select$I()
|
|
9310
9768
|
},
|
|
9311
9769
|
{
|
|
9312
9770
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -9318,7 +9776,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9318
9776
|
kind: 'Link',
|
|
9319
9777
|
plural: true,
|
|
9320
9778
|
required: false,
|
|
9321
|
-
fragment: select$
|
|
9779
|
+
fragment: select$H()
|
|
9322
9780
|
},
|
|
9323
9781
|
{
|
|
9324
9782
|
name: 'semanticDataObjectsUrl',
|
|
@@ -9330,7 +9788,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9330
9788
|
kind: 'Link',
|
|
9331
9789
|
plural: true,
|
|
9332
9790
|
required: false,
|
|
9333
|
-
fragment: select$
|
|
9791
|
+
fragment: select$A()
|
|
9334
9792
|
},
|
|
9335
9793
|
{
|
|
9336
9794
|
name: 'semanticGroupingsUrl',
|
|
@@ -9342,21 +9800,21 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9342
9800
|
kind: 'Link',
|
|
9343
9801
|
plural: true,
|
|
9344
9802
|
required: false,
|
|
9345
|
-
fragment: select$
|
|
9803
|
+
fragment: select$v()
|
|
9346
9804
|
},
|
|
9347
9805
|
{
|
|
9348
9806
|
name: 'semanticMetrics',
|
|
9349
9807
|
kind: 'Link',
|
|
9350
9808
|
plural: true,
|
|
9351
9809
|
required: false,
|
|
9352
|
-
fragment: select$
|
|
9810
|
+
fragment: select$r()
|
|
9353
9811
|
},
|
|
9354
9812
|
{
|
|
9355
9813
|
name: 'semanticParameters',
|
|
9356
9814
|
kind: 'Link',
|
|
9357
9815
|
plural: true,
|
|
9358
9816
|
required: false,
|
|
9359
|
-
fragment: select$
|
|
9817
|
+
fragment: select$p()
|
|
9360
9818
|
},
|
|
9361
9819
|
{
|
|
9362
9820
|
name: 'semanticParametersUrl',
|
|
@@ -9368,7 +9826,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9368
9826
|
kind: 'Link',
|
|
9369
9827
|
plural: true,
|
|
9370
9828
|
required: false,
|
|
9371
|
-
fragment: select$
|
|
9829
|
+
fragment: select$y()
|
|
9372
9830
|
},
|
|
9373
9831
|
{
|
|
9374
9832
|
name: 'semanticRelationshipsUrl',
|
|
@@ -9388,7 +9846,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9388
9846
|
]
|
|
9389
9847
|
};
|
|
9390
9848
|
};
|
|
9391
|
-
function equals$
|
|
9849
|
+
function equals$8(existing, incoming) {
|
|
9392
9850
|
const existing_isLocked = existing.isLocked;
|
|
9393
9851
|
const incoming_isLocked = incoming.isLocked;
|
|
9394
9852
|
// if at least one of these optionals is defined
|
|
@@ -9632,7 +10090,7 @@ function equals$a(existing, incoming) {
|
|
|
9632
10090
|
return false;
|
|
9633
10091
|
}
|
|
9634
10092
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
9635
|
-
if (!(equals$
|
|
10093
|
+
if (!(equals$y(existing_baseModels_item, incoming_baseModels_item))) {
|
|
9636
10094
|
return false;
|
|
9637
10095
|
}
|
|
9638
10096
|
});
|
|
@@ -9668,7 +10126,7 @@ function equals$a(existing, incoming) {
|
|
|
9668
10126
|
return false;
|
|
9669
10127
|
}
|
|
9670
10128
|
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
9671
|
-
if (!(equals$
|
|
10129
|
+
if (!(equals$w(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
9672
10130
|
return false;
|
|
9673
10131
|
}
|
|
9674
10132
|
});
|
|
@@ -9686,7 +10144,7 @@ function equals$a(existing, incoming) {
|
|
|
9686
10144
|
return false;
|
|
9687
10145
|
}
|
|
9688
10146
|
const equals_fieldsOverrides_items = equalsArray(existing_fieldsOverrides, incoming_fieldsOverrides, (existing_fieldsOverrides_item, incoming_fieldsOverrides_item) => {
|
|
9689
|
-
if (!(equals$
|
|
10147
|
+
if (!(equals$v(existing_fieldsOverrides_item, incoming_fieldsOverrides_item))) {
|
|
9690
10148
|
return false;
|
|
9691
10149
|
}
|
|
9692
10150
|
});
|
|
@@ -9855,14 +10313,14 @@ function equals$a(existing, incoming) {
|
|
|
9855
10313
|
}
|
|
9856
10314
|
const ingest$7 = function SemanticModelOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9857
10315
|
if (process.env.NODE_ENV !== 'production') {
|
|
9858
|
-
const validateError = validate$
|
|
10316
|
+
const validateError = validate$d(input);
|
|
9859
10317
|
if (validateError !== null) {
|
|
9860
10318
|
throw validateError;
|
|
9861
10319
|
}
|
|
9862
10320
|
}
|
|
9863
10321
|
const key = keyBuilderFromType$1(luvio, input);
|
|
9864
10322
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
9865
|
-
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);
|
|
9866
10324
|
return createLink(key);
|
|
9867
10325
|
};
|
|
9868
10326
|
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -9923,8 +10381,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9923
10381
|
}
|
|
9924
10382
|
}
|
|
9925
10383
|
|
|
9926
|
-
function select$
|
|
9927
|
-
return select$
|
|
10384
|
+
function select$n(luvio, params) {
|
|
10385
|
+
return select$o();
|
|
9928
10386
|
}
|
|
9929
10387
|
function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
|
|
9930
10388
|
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
@@ -9935,7 +10393,7 @@ function ingestSuccess$f(luvio, resourceParams, response) {
|
|
|
9935
10393
|
luvio.storeIngest(key, ingest$7, body);
|
|
9936
10394
|
const snapshot = luvio.storeLookup({
|
|
9937
10395
|
recordId: key,
|
|
9938
|
-
node: select$
|
|
10396
|
+
node: select$n(),
|
|
9939
10397
|
variables: {},
|
|
9940
10398
|
});
|
|
9941
10399
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -9993,7 +10451,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9993
10451
|
const untrustedConfig_baseModels_array = [];
|
|
9994
10452
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
9995
10453
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
9996
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
10454
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$14(untrustedConfig_baseModels_item);
|
|
9997
10455
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
9998
10456
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
9999
10457
|
}
|
|
@@ -10005,7 +10463,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10005
10463
|
const untrustedConfig_externalConnections_array = [];
|
|
10006
10464
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
10007
10465
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
10008
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
10466
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$12(untrustedConfig_externalConnections_item);
|
|
10009
10467
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
10010
10468
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
10011
10469
|
}
|
|
@@ -10017,7 +10475,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10017
10475
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
10018
10476
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
10019
10477
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
10020
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
10478
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$11(untrustedConfig_fieldsOverrides_item);
|
|
10021
10479
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
10022
10480
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
10023
10481
|
}
|
|
@@ -10029,7 +10487,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10029
10487
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10030
10488
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10031
10489
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10032
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
10490
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10033
10491
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10034
10492
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10035
10493
|
}
|
|
@@ -10041,7 +10499,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10041
10499
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10042
10500
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10043
10501
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10044
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate
|
|
10502
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10045
10503
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10046
10504
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10047
10505
|
}
|
|
@@ -10053,7 +10511,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10053
10511
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10054
10512
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
10055
10513
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
10056
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10514
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$X(untrustedConfig_semanticDataObjects_item);
|
|
10057
10515
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
10058
10516
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
10059
10517
|
}
|
|
@@ -10065,7 +10523,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10065
10523
|
const untrustedConfig_semanticGroupings_array = [];
|
|
10066
10524
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
10067
10525
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
10068
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10526
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$Q(untrustedConfig_semanticGroupings_item);
|
|
10069
10527
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
10070
10528
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
10071
10529
|
}
|
|
@@ -10077,7 +10535,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10077
10535
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
10078
10536
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
10079
10537
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
10080
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10538
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$L(untrustedConfig_semanticLogicalViews_item);
|
|
10081
10539
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
10082
10540
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
10083
10541
|
}
|
|
@@ -10089,7 +10547,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10089
10547
|
const untrustedConfig_semanticMetrics_array = [];
|
|
10090
10548
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
10091
10549
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
10092
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10550
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$H(untrustedConfig_semanticMetrics_item);
|
|
10093
10551
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
10094
10552
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
10095
10553
|
}
|
|
@@ -10101,7 +10559,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10101
10559
|
const untrustedConfig_semanticParameters_array = [];
|
|
10102
10560
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
10103
10561
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
10104
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10562
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$G(untrustedConfig_semanticParameters_item);
|
|
10105
10563
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
10106
10564
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
10107
10565
|
}
|
|
@@ -10113,7 +10571,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10113
10571
|
const untrustedConfig_semanticRelationships_array = [];
|
|
10114
10572
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
10115
10573
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
10116
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10574
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$O(untrustedConfig_semanticRelationships_item);
|
|
10117
10575
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
10118
10576
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
10119
10577
|
}
|
|
@@ -10164,7 +10622,7 @@ const createSemanticModelAdapterFactory = (luvio) => {
|
|
|
10164
10622
|
};
|
|
10165
10623
|
};
|
|
10166
10624
|
|
|
10167
|
-
function validate$
|
|
10625
|
+
function validate$c(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
10168
10626
|
const v_error = (() => {
|
|
10169
10627
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10170
10628
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10185,7 +10643,7 @@ function validate$d(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
10185
10643
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
10186
10644
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
10187
10645
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
10188
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
10646
|
+
const referencepath_statusConditions_itemValidationError = validate$18(obj_statusConditions_item, path_statusConditions_item);
|
|
10189
10647
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
10190
10648
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionInputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
10191
10649
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10197,7 +10655,7 @@ function validate$d(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
10197
10655
|
return v_error === undefined ? null : v_error;
|
|
10198
10656
|
}
|
|
10199
10657
|
|
|
10200
|
-
function validate$
|
|
10658
|
+
function validate$b(obj, path = 'SemanticTimeRangeInputRepresentation') {
|
|
10201
10659
|
const v_error = (() => {
|
|
10202
10660
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10203
10661
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10227,7 +10685,7 @@ function validate$c(obj, path = 'SemanticTimeRangeInputRepresentation') {
|
|
|
10227
10685
|
return v_error === undefined ? null : v_error;
|
|
10228
10686
|
}
|
|
10229
10687
|
|
|
10230
|
-
function validate$
|
|
10688
|
+
function validate$a(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
10231
10689
|
const v_error = (() => {
|
|
10232
10690
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10233
10691
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10245,7 +10703,7 @@ function validate$b(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
10245
10703
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
10246
10704
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
10247
10705
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
10248
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
10706
|
+
const referencepath_statusConditions_itemValidationError = validate$16(obj_statusConditions_item, path_statusConditions_item);
|
|
10249
10707
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
10250
10708
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
10251
10709
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10256,7 +10714,7 @@ function validate$b(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
10256
10714
|
return v_error === undefined ? null : v_error;
|
|
10257
10715
|
}
|
|
10258
10716
|
|
|
10259
|
-
function validate$
|
|
10717
|
+
function validate$9(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
10260
10718
|
const v_error = (() => {
|
|
10261
10719
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10262
10720
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10286,8 +10744,8 @@ function validate$a(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
|
10286
10744
|
return v_error === undefined ? null : v_error;
|
|
10287
10745
|
}
|
|
10288
10746
|
|
|
10289
|
-
const VERSION$
|
|
10290
|
-
function validate$
|
|
10747
|
+
const VERSION$7 = "34ece37408ddd80874097c87b829ae97";
|
|
10748
|
+
function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
10291
10749
|
const v_error = (() => {
|
|
10292
10750
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10293
10751
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10344,7 +10802,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10344
10802
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
10345
10803
|
const obj_filters_item = obj_filters[i];
|
|
10346
10804
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
10347
|
-
const referencepath_filters_itemValidationError = validate$
|
|
10805
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
10348
10806
|
if (referencepath_filters_itemValidationError !== null) {
|
|
10349
10807
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
10350
10808
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10355,7 +10813,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10355
10813
|
if (obj.goal !== undefined) {
|
|
10356
10814
|
const obj_goal = obj.goal;
|
|
10357
10815
|
const path_goal = path + '.goal';
|
|
10358
|
-
const referencepath_goalValidationError = validate$
|
|
10816
|
+
const referencepath_goalValidationError = validate$a(obj_goal, path_goal);
|
|
10359
10817
|
if (referencepath_goalValidationError !== null) {
|
|
10360
10818
|
let message = 'Object doesn\'t match SemanticMetricGoalOutputRepresentation (at "' + path_goal + '")\n';
|
|
10361
10819
|
message += referencepath_goalValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10398,7 +10856,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10398
10856
|
if (obj.semanticMetric !== undefined) {
|
|
10399
10857
|
const obj_semanticMetric = obj.semanticMetric;
|
|
10400
10858
|
const path_semanticMetric = path + '.semanticMetric';
|
|
10401
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
10859
|
+
const referencepath_semanticMetricValidationError = validate$g(obj_semanticMetric, path_semanticMetric);
|
|
10402
10860
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
10403
10861
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
10404
10862
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10408,7 +10866,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10408
10866
|
if (obj.timeRange !== undefined) {
|
|
10409
10867
|
const obj_timeRange = obj.timeRange;
|
|
10410
10868
|
const path_timeRange = path + '.timeRange';
|
|
10411
|
-
const referencepath_timeRangeValidationError = validate$
|
|
10869
|
+
const referencepath_timeRangeValidationError = validate$9(obj_timeRange, path_timeRange);
|
|
10412
10870
|
if (referencepath_timeRangeValidationError !== null) {
|
|
10413
10871
|
let message = 'Object doesn\'t match SemanticTimeRangeOutputRepresentation (at "' + path_timeRange + '")\n';
|
|
10414
10872
|
message += referencepath_timeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10431,15 +10889,15 @@ function keyBuilderFromType(luvio, object) {
|
|
|
10431
10889
|
function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
10432
10890
|
return input;
|
|
10433
10891
|
}
|
|
10434
|
-
const select$
|
|
10892
|
+
const select$m = function SemanticSubMetricOutputRepresentationSelect() {
|
|
10435
10893
|
return {
|
|
10436
10894
|
kind: 'Fragment',
|
|
10437
|
-
version: VERSION$
|
|
10895
|
+
version: VERSION$7,
|
|
10438
10896
|
private: [],
|
|
10439
10897
|
opaque: true
|
|
10440
10898
|
};
|
|
10441
10899
|
};
|
|
10442
|
-
function equals$
|
|
10900
|
+
function equals$7(existing, incoming) {
|
|
10443
10901
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
10444
10902
|
return false;
|
|
10445
10903
|
}
|
|
@@ -10447,14 +10905,14 @@ function equals$9(existing, incoming) {
|
|
|
10447
10905
|
}
|
|
10448
10906
|
const ingest$6 = function SemanticSubMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10449
10907
|
if (process.env.NODE_ENV !== 'production') {
|
|
10450
|
-
const validateError = validate$
|
|
10908
|
+
const validateError = validate$8(input);
|
|
10451
10909
|
if (validateError !== null) {
|
|
10452
10910
|
throw validateError;
|
|
10453
10911
|
}
|
|
10454
10912
|
}
|
|
10455
10913
|
const key = keyBuilderFromType(luvio, input);
|
|
10456
10914
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
10457
|
-
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);
|
|
10458
10916
|
return createLink(key);
|
|
10459
10917
|
};
|
|
10460
10918
|
function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -10467,8 +10925,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10467
10925
|
});
|
|
10468
10926
|
}
|
|
10469
10927
|
|
|
10470
|
-
function select$
|
|
10471
|
-
return select$
|
|
10928
|
+
function select$l(luvio, params) {
|
|
10929
|
+
return select$m();
|
|
10472
10930
|
}
|
|
10473
10931
|
function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
|
|
10474
10932
|
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
@@ -10479,7 +10937,7 @@ function ingestSuccess$e(luvio, resourceParams, response) {
|
|
|
10479
10937
|
luvio.storeIngest(key, ingest$6, body);
|
|
10480
10938
|
const snapshot = luvio.storeLookup({
|
|
10481
10939
|
recordId: key,
|
|
10482
|
-
node: select$
|
|
10940
|
+
node: select$l(),
|
|
10483
10941
|
variables: {},
|
|
10484
10942
|
});
|
|
10485
10943
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -10526,7 +10984,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10526
10984
|
const untrustedConfig_filters_array = [];
|
|
10527
10985
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
10528
10986
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
10529
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
10987
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$10(untrustedConfig_filters_item);
|
|
10530
10988
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
10531
10989
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
10532
10990
|
}
|
|
@@ -10534,12 +10992,12 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10534
10992
|
config.filters = untrustedConfig_filters_array;
|
|
10535
10993
|
}
|
|
10536
10994
|
const untrustedConfig_goal = untrustedConfig.goal;
|
|
10537
|
-
const referenceSemanticMetricGoalInputRepresentationValidationError = validate$
|
|
10995
|
+
const referenceSemanticMetricGoalInputRepresentationValidationError = validate$c(untrustedConfig_goal);
|
|
10538
10996
|
if (referenceSemanticMetricGoalInputRepresentationValidationError === null) {
|
|
10539
10997
|
config.goal = untrustedConfig_goal;
|
|
10540
10998
|
}
|
|
10541
10999
|
const untrustedConfig_timeRange = untrustedConfig.timeRange;
|
|
10542
|
-
const referenceSemanticTimeRangeInputRepresentationValidationError = validate$
|
|
11000
|
+
const referenceSemanticTimeRangeInputRepresentationValidationError = validate$b(untrustedConfig_timeRange);
|
|
10543
11001
|
if (referenceSemanticTimeRangeInputRepresentationValidationError === null) {
|
|
10544
11002
|
config.timeRange = untrustedConfig_timeRange;
|
|
10545
11003
|
}
|
|
@@ -10846,118 +11304,6 @@ const deleteSemanticSubMetricAdapterFactory = (luvio) => {
|
|
|
10846
11304
|
};
|
|
10847
11305
|
};
|
|
10848
11306
|
|
|
10849
|
-
const VERSION$8 = "e96f6d15d947eadd33aeb16dd9222420";
|
|
10850
|
-
function validate$8(obj, path = 'SemanticDependencyOutputRepresentation') {
|
|
10851
|
-
const v_error = (() => {
|
|
10852
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10853
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10854
|
-
}
|
|
10855
|
-
const obj_apiName = obj.apiName;
|
|
10856
|
-
const path_apiName = path + '.apiName';
|
|
10857
|
-
if (typeof obj_apiName !== 'string') {
|
|
10858
|
-
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
10859
|
-
}
|
|
10860
|
-
if (obj.definitionType !== undefined) {
|
|
10861
|
-
const obj_definitionType = obj.definitionType;
|
|
10862
|
-
const path_definitionType = path + '.definitionType';
|
|
10863
|
-
if (typeof obj_definitionType !== 'string') {
|
|
10864
|
-
return new TypeError('Expected "string" but received "' + typeof obj_definitionType + '" (at "' + path_definitionType + '")');
|
|
10865
|
-
}
|
|
10866
|
-
}
|
|
10867
|
-
if (obj.label !== undefined) {
|
|
10868
|
-
const obj_label = obj.label;
|
|
10869
|
-
const path_label = path + '.label';
|
|
10870
|
-
if (typeof obj_label !== 'string') {
|
|
10871
|
-
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
10872
|
-
}
|
|
10873
|
-
}
|
|
10874
|
-
if (obj.modelApiName !== undefined) {
|
|
10875
|
-
const obj_modelApiName = obj.modelApiName;
|
|
10876
|
-
const path_modelApiName = path + '.modelApiName';
|
|
10877
|
-
if (typeof obj_modelApiName !== 'string') {
|
|
10878
|
-
return new TypeError('Expected "string" but received "' + typeof obj_modelApiName + '" (at "' + path_modelApiName + '")');
|
|
10879
|
-
}
|
|
10880
|
-
}
|
|
10881
|
-
})();
|
|
10882
|
-
return v_error === undefined ? null : v_error;
|
|
10883
|
-
}
|
|
10884
|
-
const select$m = function SemanticDependencyOutputRepresentationSelect() {
|
|
10885
|
-
return {
|
|
10886
|
-
kind: 'Fragment',
|
|
10887
|
-
version: VERSION$8,
|
|
10888
|
-
private: [],
|
|
10889
|
-
selections: [
|
|
10890
|
-
{
|
|
10891
|
-
name: 'apiName',
|
|
10892
|
-
kind: 'Scalar'
|
|
10893
|
-
},
|
|
10894
|
-
{
|
|
10895
|
-
name: 'definitionType',
|
|
10896
|
-
kind: 'Scalar',
|
|
10897
|
-
required: false
|
|
10898
|
-
},
|
|
10899
|
-
{
|
|
10900
|
-
name: 'label',
|
|
10901
|
-
kind: 'Scalar',
|
|
10902
|
-
required: false
|
|
10903
|
-
},
|
|
10904
|
-
{
|
|
10905
|
-
name: 'modelApiName',
|
|
10906
|
-
kind: 'Scalar',
|
|
10907
|
-
required: false
|
|
10908
|
-
}
|
|
10909
|
-
]
|
|
10910
|
-
};
|
|
10911
|
-
};
|
|
10912
|
-
function equals$8(existing, incoming) {
|
|
10913
|
-
const existing_apiName = existing.apiName;
|
|
10914
|
-
const incoming_apiName = incoming.apiName;
|
|
10915
|
-
if (!(existing_apiName === incoming_apiName)) {
|
|
10916
|
-
return false;
|
|
10917
|
-
}
|
|
10918
|
-
const existing_definitionType = existing.definitionType;
|
|
10919
|
-
const incoming_definitionType = incoming.definitionType;
|
|
10920
|
-
// if at least one of these optionals is defined
|
|
10921
|
-
if (existing_definitionType !== undefined || incoming_definitionType !== undefined) {
|
|
10922
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
10923
|
-
// not equal
|
|
10924
|
-
if (existing_definitionType === undefined || incoming_definitionType === undefined) {
|
|
10925
|
-
return false;
|
|
10926
|
-
}
|
|
10927
|
-
if (!(existing_definitionType === incoming_definitionType)) {
|
|
10928
|
-
return false;
|
|
10929
|
-
}
|
|
10930
|
-
}
|
|
10931
|
-
const existing_label = existing.label;
|
|
10932
|
-
const incoming_label = incoming.label;
|
|
10933
|
-
// if at least one of these optionals is defined
|
|
10934
|
-
if (existing_label !== undefined || incoming_label !== undefined) {
|
|
10935
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
10936
|
-
// not equal
|
|
10937
|
-
if (existing_label === undefined || incoming_label === undefined) {
|
|
10938
|
-
return false;
|
|
10939
|
-
}
|
|
10940
|
-
if (!(existing_label === incoming_label)) {
|
|
10941
|
-
return false;
|
|
10942
|
-
}
|
|
10943
|
-
}
|
|
10944
|
-
const existing_modelApiName = existing.modelApiName;
|
|
10945
|
-
const incoming_modelApiName = incoming.modelApiName;
|
|
10946
|
-
// if at least one of these optionals is defined
|
|
10947
|
-
if (existing_modelApiName !== undefined || incoming_modelApiName !== undefined) {
|
|
10948
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
10949
|
-
// not equal
|
|
10950
|
-
if (existing_modelApiName === undefined || incoming_modelApiName === undefined) {
|
|
10951
|
-
return false;
|
|
10952
|
-
}
|
|
10953
|
-
if (!(existing_modelApiName === incoming_modelApiName)) {
|
|
10954
|
-
return false;
|
|
10955
|
-
}
|
|
10956
|
-
}
|
|
10957
|
-
return true;
|
|
10958
|
-
}
|
|
10959
|
-
|
|
10960
|
-
const VERSION$7 = "62e5e0ffeb783cdde37da72d400b0869";
|
|
10961
11307
|
function validate$7(obj, path = 'SemanticDependencyInnerCollectionOutputRepresentation') {
|
|
10962
11308
|
const v_error = (() => {
|
|
10963
11309
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -10979,11 +11325,8 @@ function validate$7(obj, path = 'SemanticDependencyInnerCollectionOutputRepresen
|
|
|
10979
11325
|
for (let i = 0; i < obj_dependencies.length; i++) {
|
|
10980
11326
|
const obj_dependencies_item = obj_dependencies[i];
|
|
10981
11327
|
const path_dependencies_item = path_dependencies + '[' + i + ']';
|
|
10982
|
-
|
|
10983
|
-
|
|
10984
|
-
let message = 'Object doesn\'t match SemanticDependencyOutputRepresentation (at "' + path_dependencies_item + '")\n';
|
|
10985
|
-
message += referencepath_dependencies_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
10986
|
-
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 + '")');
|
|
10987
11330
|
}
|
|
10988
11331
|
}
|
|
10989
11332
|
}
|
|
@@ -10997,82 +11340,9 @@ function validate$7(obj, path = 'SemanticDependencyInnerCollectionOutputRepresen
|
|
|
10997
11340
|
})();
|
|
10998
11341
|
return v_error === undefined ? null : v_error;
|
|
10999
11342
|
}
|
|
11000
|
-
const select$l = function SemanticDependencyInnerCollectionOutputRepresentationSelect() {
|
|
11001
|
-
const { selections: SemanticDependencyOutputRepresentation__selections, opaque: SemanticDependencyOutputRepresentation__opaque, } = select$m();
|
|
11002
|
-
return {
|
|
11003
|
-
kind: 'Fragment',
|
|
11004
|
-
version: VERSION$7,
|
|
11005
|
-
private: [],
|
|
11006
|
-
selections: [
|
|
11007
|
-
{
|
|
11008
|
-
name: 'definitionApiName',
|
|
11009
|
-
kind: 'Scalar',
|
|
11010
|
-
required: false
|
|
11011
|
-
},
|
|
11012
|
-
{
|
|
11013
|
-
name: 'dependencies',
|
|
11014
|
-
kind: 'Object',
|
|
11015
|
-
plural: true,
|
|
11016
|
-
selections: SemanticDependencyOutputRepresentation__selections,
|
|
11017
|
-
required: false
|
|
11018
|
-
},
|
|
11019
|
-
{
|
|
11020
|
-
name: 'fieldApiName',
|
|
11021
|
-
kind: 'Scalar',
|
|
11022
|
-
required: false
|
|
11023
|
-
}
|
|
11024
|
-
]
|
|
11025
|
-
};
|
|
11026
|
-
};
|
|
11027
|
-
function equals$7(existing, incoming) {
|
|
11028
|
-
const existing_definitionApiName = existing.definitionApiName;
|
|
11029
|
-
const incoming_definitionApiName = incoming.definitionApiName;
|
|
11030
|
-
// if at least one of these optionals is defined
|
|
11031
|
-
if (existing_definitionApiName !== undefined || incoming_definitionApiName !== undefined) {
|
|
11032
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11033
|
-
// not equal
|
|
11034
|
-
if (existing_definitionApiName === undefined || incoming_definitionApiName === undefined) {
|
|
11035
|
-
return false;
|
|
11036
|
-
}
|
|
11037
|
-
if (!(existing_definitionApiName === incoming_definitionApiName)) {
|
|
11038
|
-
return false;
|
|
11039
|
-
}
|
|
11040
|
-
}
|
|
11041
|
-
const existing_fieldApiName = existing.fieldApiName;
|
|
11042
|
-
const incoming_fieldApiName = incoming.fieldApiName;
|
|
11043
|
-
// if at least one of these optionals is defined
|
|
11044
|
-
if (existing_fieldApiName !== undefined || incoming_fieldApiName !== undefined) {
|
|
11045
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11046
|
-
// not equal
|
|
11047
|
-
if (existing_fieldApiName === undefined || incoming_fieldApiName === undefined) {
|
|
11048
|
-
return false;
|
|
11049
|
-
}
|
|
11050
|
-
if (!(existing_fieldApiName === incoming_fieldApiName)) {
|
|
11051
|
-
return false;
|
|
11052
|
-
}
|
|
11053
|
-
}
|
|
11054
|
-
const existing_dependencies = existing.dependencies;
|
|
11055
|
-
const incoming_dependencies = incoming.dependencies;
|
|
11056
|
-
// if at least one of these optionals is defined
|
|
11057
|
-
if (existing_dependencies !== undefined || incoming_dependencies !== undefined) {
|
|
11058
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11059
|
-
// not equal
|
|
11060
|
-
if (existing_dependencies === undefined || incoming_dependencies === undefined) {
|
|
11061
|
-
return false;
|
|
11062
|
-
}
|
|
11063
|
-
const equals_dependencies_items = equalsArray(existing_dependencies, incoming_dependencies, (existing_dependencies_item, incoming_dependencies_item) => {
|
|
11064
|
-
if (!(equals$8(existing_dependencies_item, incoming_dependencies_item))) {
|
|
11065
|
-
return false;
|
|
11066
|
-
}
|
|
11067
|
-
});
|
|
11068
|
-
if (equals_dependencies_items === false) {
|
|
11069
|
-
return false;
|
|
11070
|
-
}
|
|
11071
|
-
}
|
|
11072
|
-
return true;
|
|
11073
|
-
}
|
|
11074
11343
|
|
|
11075
|
-
const
|
|
11344
|
+
const TTL = 100;
|
|
11345
|
+
const VERSION$6 = "9d47b2b8e7223a9d5ff7a0fea7e030e6";
|
|
11076
11346
|
function validate$6(obj, path = 'SemanticDependencyCollectionOutputRepresentation') {
|
|
11077
11347
|
const v_error = (() => {
|
|
11078
11348
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -11103,40 +11373,16 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
|
11103
11373
|
return input;
|
|
11104
11374
|
}
|
|
11105
11375
|
const select$k = function SemanticDependencyCollectionOutputRepresentationSelect() {
|
|
11106
|
-
const { selections: SemanticDependencyInnerCollectionOutputRepresentation__selections, opaque: SemanticDependencyInnerCollectionOutputRepresentation__opaque, } = select$l();
|
|
11107
11376
|
return {
|
|
11108
11377
|
kind: 'Fragment',
|
|
11109
11378
|
version: VERSION$6,
|
|
11110
11379
|
private: [],
|
|
11111
|
-
|
|
11112
|
-
{
|
|
11113
|
-
name: 'item',
|
|
11114
|
-
kind: 'Object',
|
|
11115
|
-
plural: true,
|
|
11116
|
-
selections: SemanticDependencyInnerCollectionOutputRepresentation__selections,
|
|
11117
|
-
required: false
|
|
11118
|
-
}
|
|
11119
|
-
]
|
|
11380
|
+
opaque: true
|
|
11120
11381
|
};
|
|
11121
11382
|
};
|
|
11122
11383
|
function equals$6(existing, incoming) {
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
// if at least one of these optionals is defined
|
|
11126
|
-
if (existing_item !== undefined || incoming_item !== undefined) {
|
|
11127
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11128
|
-
// not equal
|
|
11129
|
-
if (existing_item === undefined || incoming_item === undefined) {
|
|
11130
|
-
return false;
|
|
11131
|
-
}
|
|
11132
|
-
const equals_item_items = equalsArray(existing_item, incoming_item, (existing_item_item, incoming_item_item) => {
|
|
11133
|
-
if (!(equals$7(existing_item_item, incoming_item_item))) {
|
|
11134
|
-
return false;
|
|
11135
|
-
}
|
|
11136
|
-
});
|
|
11137
|
-
if (equals_item_items === false) {
|
|
11138
|
-
return false;
|
|
11139
|
-
}
|
|
11384
|
+
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
11385
|
+
return false;
|
|
11140
11386
|
}
|
|
11141
11387
|
return true;
|
|
11142
11388
|
}
|
|
@@ -11148,7 +11394,7 @@ const ingest$5 = function SemanticDependencyCollectionOutputRepresentationIngest
|
|
|
11148
11394
|
}
|
|
11149
11395
|
}
|
|
11150
11396
|
const key = path.fullPath;
|
|
11151
|
-
const ttlToUse =
|
|
11397
|
+
const ttlToUse = TTL;
|
|
11152
11398
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SemanticAuthoring", VERSION$6, RepresentationType$5, equals$6);
|
|
11153
11399
|
return createLink(key);
|
|
11154
11400
|
};
|
|
@@ -11191,7 +11437,13 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
11191
11437
|
function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
11192
11438
|
const key = keyBuilder$l(luvio, params);
|
|
11193
11439
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
11194
|
-
|
|
11440
|
+
const storeMetadataParams = {
|
|
11441
|
+
ttl: TTL,
|
|
11442
|
+
namespace: keyPrefix,
|
|
11443
|
+
version: VERSION$6,
|
|
11444
|
+
representationName: RepresentationType$5
|
|
11445
|
+
};
|
|
11446
|
+
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
11195
11447
|
return errorSnapshot;
|
|
11196
11448
|
}
|
|
11197
11449
|
function createResourceRequest$d(config) {
|
|
@@ -11296,7 +11548,7 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
|
|
|
11296
11548
|
};
|
|
11297
11549
|
|
|
11298
11550
|
function select$i(luvio, params) {
|
|
11299
|
-
return select$
|
|
11551
|
+
return select$Q();
|
|
11300
11552
|
}
|
|
11301
11553
|
function keyBuilder$j(luvio, params) {
|
|
11302
11554
|
return keyBuilder$B(luvio, {
|
|
@@ -11474,7 +11726,7 @@ const notifyChangeFactory$3 = (luvio, options) => {
|
|
|
11474
11726
|
};
|
|
11475
11727
|
|
|
11476
11728
|
function select$h(luvio, params) {
|
|
11477
|
-
return select$
|
|
11729
|
+
return select$r();
|
|
11478
11730
|
}
|
|
11479
11731
|
function keyBuilder$h(luvio, params) {
|
|
11480
11732
|
return keyBuilder$s(luvio, {
|
|
@@ -11700,7 +11952,7 @@ const select$g = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
|
11700
11952
|
kind: 'Link',
|
|
11701
11953
|
plural: true,
|
|
11702
11954
|
required: false,
|
|
11703
|
-
fragment: select$
|
|
11955
|
+
fragment: select$r()
|
|
11704
11956
|
}
|
|
11705
11957
|
]
|
|
11706
11958
|
};
|
|
@@ -12088,7 +12340,7 @@ const select$d = function SemanticSubMetricsByMetricOutputRepresentationSelect()
|
|
|
12088
12340
|
kind: 'Link',
|
|
12089
12341
|
plural: true,
|
|
12090
12342
|
required: false,
|
|
12091
|
-
fragment: select$
|
|
12343
|
+
fragment: select$m()
|
|
12092
12344
|
}
|
|
12093
12345
|
]
|
|
12094
12346
|
};
|
|
@@ -12399,7 +12651,7 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
12399
12651
|
};
|
|
12400
12652
|
|
|
12401
12653
|
function select$a(luvio, params) {
|
|
12402
|
-
return select$
|
|
12654
|
+
return select$o();
|
|
12403
12655
|
}
|
|
12404
12656
|
function keyBuilder$9(luvio, params) {
|
|
12405
12657
|
return keyBuilder$q(luvio, {
|
|
@@ -12606,7 +12858,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
12606
12858
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
12607
12859
|
const obj_baseModels_item = obj_baseModels[i];
|
|
12608
12860
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
12609
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
12861
|
+
const referencepath_baseModels_itemValidationError = validate$F(obj_baseModels_item, path_baseModels_item);
|
|
12610
12862
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
12611
12863
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
12612
12864
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12778,7 +13030,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
12778
13030
|
return v_error === undefined ? null : v_error;
|
|
12779
13031
|
}
|
|
12780
13032
|
const select$9 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
12781
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
13033
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$O();
|
|
12782
13034
|
return {
|
|
12783
13035
|
kind: 'Fragment',
|
|
12784
13036
|
version: VERSION$2,
|
|
@@ -13149,7 +13401,7 @@ function equals$2(existing, incoming) {
|
|
|
13149
13401
|
return false;
|
|
13150
13402
|
}
|
|
13151
13403
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
13152
|
-
if (!(equals$
|
|
13404
|
+
if (!(equals$y(existing_baseModels_item, incoming_baseModels_item))) {
|
|
13153
13405
|
return false;
|
|
13154
13406
|
}
|
|
13155
13407
|
});
|
|
@@ -13588,7 +13840,7 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
13588
13840
|
};
|
|
13589
13841
|
|
|
13590
13842
|
function select$6(luvio, params) {
|
|
13591
|
-
return select$
|
|
13843
|
+
return select$m();
|
|
13592
13844
|
}
|
|
13593
13845
|
function keyBuilder$5(luvio, params) {
|
|
13594
13846
|
return keyBuilder$p(luvio, {
|
|
@@ -13814,7 +14066,7 @@ const select$5 = function SemanticSubMetricCollectionOutputRepresentationSelect(
|
|
|
13814
14066
|
kind: 'Link',
|
|
13815
14067
|
plural: true,
|
|
13816
14068
|
required: false,
|
|
13817
|
-
fragment: select$
|
|
14069
|
+
fragment: select$m()
|
|
13818
14070
|
}
|
|
13819
14071
|
]
|
|
13820
14072
|
};
|
|
@@ -14135,7 +14387,7 @@ const getSemanticSubMetricsByIdAdapterFactory = (luvio) => function SemanticAuth
|
|
|
14135
14387
|
};
|
|
14136
14388
|
|
|
14137
14389
|
function select$2(luvio, params) {
|
|
14138
|
-
return select$
|
|
14390
|
+
return select$m();
|
|
14139
14391
|
}
|
|
14140
14392
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
14141
14393
|
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
@@ -14188,7 +14440,7 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
14188
14440
|
const untrustedConfig_statusConditions_array = [];
|
|
14189
14441
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
14190
14442
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
14191
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
14443
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$18(untrustedConfig_statusConditions_item);
|
|
14192
14444
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
14193
14445
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
14194
14446
|
}
|
|
@@ -14240,7 +14492,7 @@ const patchSemanticMetricGoalAdapterFactory = (luvio) => {
|
|
|
14240
14492
|
};
|
|
14241
14493
|
|
|
14242
14494
|
function select$1(luvio, params) {
|
|
14243
|
-
return select$
|
|
14495
|
+
return select$o();
|
|
14244
14496
|
}
|
|
14245
14497
|
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
14246
14498
|
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
@@ -14310,7 +14562,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14310
14562
|
const untrustedConfig_baseModels_array = [];
|
|
14311
14563
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
14312
14564
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
14313
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
14565
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$14(untrustedConfig_baseModels_item);
|
|
14314
14566
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
14315
14567
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
14316
14568
|
}
|
|
@@ -14322,7 +14574,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14322
14574
|
const untrustedConfig_externalConnections_array = [];
|
|
14323
14575
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
14324
14576
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
14325
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
14577
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$12(untrustedConfig_externalConnections_item);
|
|
14326
14578
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
14327
14579
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
14328
14580
|
}
|
|
@@ -14334,7 +14586,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14334
14586
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
14335
14587
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
14336
14588
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
14337
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
14589
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$11(untrustedConfig_fieldsOverrides_item);
|
|
14338
14590
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
14339
14591
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
14340
14592
|
}
|
|
@@ -14346,7 +14598,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14346
14598
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
14347
14599
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
14348
14600
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
14349
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
14601
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedDimensions_item);
|
|
14350
14602
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
14351
14603
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
14352
14604
|
}
|
|
@@ -14358,7 +14610,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14358
14610
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
14359
14611
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
14360
14612
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
14361
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate
|
|
14613
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
14362
14614
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
14363
14615
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
14364
14616
|
}
|
|
@@ -14370,7 +14622,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14370
14622
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
14371
14623
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
14372
14624
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
14373
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
14625
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$X(untrustedConfig_semanticDataObjects_item);
|
|
14374
14626
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
14375
14627
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
14376
14628
|
}
|
|
@@ -14382,7 +14634,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14382
14634
|
const untrustedConfig_semanticGroupings_array = [];
|
|
14383
14635
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
14384
14636
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
14385
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
14637
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$Q(untrustedConfig_semanticGroupings_item);
|
|
14386
14638
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
14387
14639
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
14388
14640
|
}
|
|
@@ -14394,7 +14646,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14394
14646
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
14395
14647
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
14396
14648
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
14397
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
14649
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$L(untrustedConfig_semanticLogicalViews_item);
|
|
14398
14650
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
14399
14651
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
14400
14652
|
}
|
|
@@ -14406,7 +14658,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14406
14658
|
const untrustedConfig_semanticMetrics_array = [];
|
|
14407
14659
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
14408
14660
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
14409
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
14661
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$H(untrustedConfig_semanticMetrics_item);
|
|
14410
14662
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
14411
14663
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
14412
14664
|
}
|
|
@@ -14418,7 +14670,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14418
14670
|
const untrustedConfig_semanticParameters_array = [];
|
|
14419
14671
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
14420
14672
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
14421
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
14673
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$G(untrustedConfig_semanticParameters_item);
|
|
14422
14674
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
14423
14675
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
14424
14676
|
}
|
|
@@ -14430,7 +14682,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14430
14682
|
const untrustedConfig_semanticRelationships_array = [];
|
|
14431
14683
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
14432
14684
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
14433
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
14685
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$O(untrustedConfig_semanticRelationships_item);
|
|
14434
14686
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
14435
14687
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
14436
14688
|
}
|
|
@@ -14482,7 +14734,7 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
14482
14734
|
};
|
|
14483
14735
|
|
|
14484
14736
|
function select(luvio, params) {
|
|
14485
|
-
return select$
|
|
14737
|
+
return select$Q();
|
|
14486
14738
|
}
|
|
14487
14739
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
14488
14740
|
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
@@ -14538,7 +14790,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
14538
14790
|
const config = {};
|
|
14539
14791
|
typeCheckConfig$k(untrustedConfig, config, updateSemanticGoal_ConfigPropertyMetadata);
|
|
14540
14792
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
14541
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
14793
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$19(untrustedConfig_dateRange);
|
|
14542
14794
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
14543
14795
|
config.dateRange = untrustedConfig_dateRange;
|
|
14544
14796
|
}
|
|
@@ -14547,7 +14799,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
14547
14799
|
const untrustedConfig_statusConditions_array = [];
|
|
14548
14800
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
14549
14801
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
14550
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
14802
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$18(untrustedConfig_statusConditions_item);
|
|
14551
14803
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
14552
14804
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
14553
14805
|
}
|
|
@@ -14637,6 +14889,7 @@ let getSemanticSubMetricsById_imperative;
|
|
|
14637
14889
|
const getLeafDependenciesByTypesMetadata = {
|
|
14638
14890
|
apiFamily: 'SemanticAuthoring',
|
|
14639
14891
|
name: 'getLeafDependenciesByTypes',
|
|
14892
|
+
ttl: 100,
|
|
14640
14893
|
};
|
|
14641
14894
|
const getSemanticGoalMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticGoal' };
|
|
14642
14895
|
const getSemanticMetricMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticMetric' };
|
|
@@ -14762,4 +15015,4 @@ withDefaultLuvio((luvio) => {
|
|
|
14762
15015
|
});
|
|
14763
15016
|
|
|
14764
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 };
|
|
14765
|
-
// version: 1.
|
|
15018
|
+
// version: 1.359.0-0fa7873931
|