@salesforce/lds-adapters-cdp-semantic-authoring 1.354.0-dev2 → 1.354.0-dev20
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 +949 -601
- package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsDataObjectsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsByDataObjectNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
- 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/SemanticDataObjectInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDataObjectOutputRepresentation.d.ts +10 -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/SemanticLogicalViewInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +10 -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/SemanticModelPartialInputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelPartialOutputRepresentation.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 +963 -614
- package/src/raml/api.raml +158 -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');
|
|
@@ -1172,6 +1186,13 @@ function validate$Y(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1172
1186
|
return new TypeError('Expected "string" but received "' + typeof obj_logicalViewId + '" (at "' + path_logicalViewId + '")');
|
|
1173
1187
|
}
|
|
1174
1188
|
}
|
|
1189
|
+
if (obj.primaryNameField !== undefined) {
|
|
1190
|
+
const obj_primaryNameField = obj.primaryNameField;
|
|
1191
|
+
const path_primaryNameField = path + '.primaryNameField';
|
|
1192
|
+
if (typeof obj_primaryNameField !== 'string') {
|
|
1193
|
+
return new TypeError('Expected "string" but received "' + typeof obj_primaryNameField + '" (at "' + path_primaryNameField + '")');
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1175
1196
|
if (obj.semanticDimensions !== undefined) {
|
|
1176
1197
|
const obj_semanticDimensions = obj.semanticDimensions;
|
|
1177
1198
|
const path_semanticDimensions = path + '.semanticDimensions';
|
|
@@ -1181,7 +1202,7 @@ function validate$Y(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1181
1202
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
1182
1203
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
1183
1204
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
1184
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
1205
|
+
const referencepath_semanticDimensions_itemValidationError = validate$Z(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
1185
1206
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
1186
1207
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
1187
1208
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1198,7 +1219,7 @@ function validate$Y(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1198
1219
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
1199
1220
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
1200
1221
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
1201
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
1222
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$Y(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
1202
1223
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
1203
1224
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
1204
1225
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1224,7 +1245,7 @@ function validate$Y(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1224
1245
|
return v_error === undefined ? null : v_error;
|
|
1225
1246
|
}
|
|
1226
1247
|
|
|
1227
|
-
function validate$
|
|
1248
|
+
function validate$W(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
1228
1249
|
const v_error = (() => {
|
|
1229
1250
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1230
1251
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1236,7 +1257,7 @@ function validate$X(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
1236
1257
|
return v_error === undefined ? null : v_error;
|
|
1237
1258
|
}
|
|
1238
1259
|
|
|
1239
|
-
function validate$
|
|
1260
|
+
function validate$V(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
1240
1261
|
const v_error = (() => {
|
|
1241
1262
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1242
1263
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1266,7 +1287,7 @@ function validate$W(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
1266
1287
|
return v_error === undefined ? null : v_error;
|
|
1267
1288
|
}
|
|
1268
1289
|
|
|
1269
|
-
function validate$
|
|
1290
|
+
function validate$U(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
1270
1291
|
const v_error = (() => {
|
|
1271
1292
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1272
1293
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1280,7 +1301,7 @@ function validate$V(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1280
1301
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
1281
1302
|
const obj_groups_item = obj_groups[i];
|
|
1282
1303
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
1283
|
-
const referencepath_groups_itemValidationError = validate$
|
|
1304
|
+
const referencepath_groups_itemValidationError = validate$V(obj_groups_item, path_groups_item);
|
|
1284
1305
|
if (referencepath_groups_itemValidationError !== null) {
|
|
1285
1306
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
1286
1307
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1299,7 +1320,7 @@ function validate$V(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1299
1320
|
return v_error === undefined ? null : v_error;
|
|
1300
1321
|
}
|
|
1301
1322
|
|
|
1302
|
-
function validate$
|
|
1323
|
+
function validate$T(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
1303
1324
|
const v_error = (() => {
|
|
1304
1325
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1305
1326
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1307,7 +1328,7 @@ function validate$U(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1307
1328
|
if (obj.binDimension !== undefined) {
|
|
1308
1329
|
const obj_binDimension = obj.binDimension;
|
|
1309
1330
|
const path_binDimension = path + '.binDimension';
|
|
1310
|
-
const referencepath_binDimensionValidationError = validate$
|
|
1331
|
+
const referencepath_binDimensionValidationError = validate$W(obj_binDimension, path_binDimension);
|
|
1311
1332
|
if (referencepath_binDimensionValidationError !== null) {
|
|
1312
1333
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
1313
1334
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1317,7 +1338,7 @@ function validate$U(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1317
1338
|
if (obj.groupDimension !== undefined) {
|
|
1318
1339
|
const obj_groupDimension = obj.groupDimension;
|
|
1319
1340
|
const path_groupDimension = path + '.groupDimension';
|
|
1320
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
1341
|
+
const referencepath_groupDimensionValidationError = validate$U(obj_groupDimension, path_groupDimension);
|
|
1321
1342
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
1322
1343
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
1323
1344
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1328,7 +1349,7 @@ function validate$U(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1328
1349
|
return v_error === undefined ? null : v_error;
|
|
1329
1350
|
}
|
|
1330
1351
|
|
|
1331
|
-
function validate$
|
|
1352
|
+
function validate$S(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
1332
1353
|
const v_error = (() => {
|
|
1333
1354
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1334
1355
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1351,7 +1372,7 @@ function validate$T(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
1351
1372
|
return v_error === undefined ? null : v_error;
|
|
1352
1373
|
}
|
|
1353
1374
|
|
|
1354
|
-
function validate$
|
|
1375
|
+
function validate$R(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
1355
1376
|
const v_error = (() => {
|
|
1356
1377
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1357
1378
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1366,7 +1387,7 @@ function validate$S(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1366
1387
|
if (obj.tableFieldReference !== undefined) {
|
|
1367
1388
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
1368
1389
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
1369
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
1390
|
+
const referencepath_tableFieldReferenceValidationError = validate$S(obj_tableFieldReference, path_tableFieldReference);
|
|
1370
1391
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
1371
1392
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
1372
1393
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1377,7 +1398,7 @@ function validate$S(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1377
1398
|
return v_error === undefined ? null : v_error;
|
|
1378
1399
|
}
|
|
1379
1400
|
|
|
1380
|
-
function validate$
|
|
1401
|
+
function validate$Q(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
1381
1402
|
const v_error = (() => {
|
|
1382
1403
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1383
1404
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1392,7 +1413,7 @@ function validate$R(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1392
1413
|
if (obj.configuration !== undefined) {
|
|
1393
1414
|
const obj_configuration = obj.configuration;
|
|
1394
1415
|
const path_configuration = path + '.configuration';
|
|
1395
|
-
const referencepath_configurationValidationError = validate$
|
|
1416
|
+
const referencepath_configurationValidationError = validate$T(obj_configuration, path_configuration);
|
|
1396
1417
|
if (referencepath_configurationValidationError !== null) {
|
|
1397
1418
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
1398
1419
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1409,7 +1430,7 @@ function validate$R(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1409
1430
|
if (obj.fieldReference !== undefined) {
|
|
1410
1431
|
const obj_fieldReference = obj.fieldReference;
|
|
1411
1432
|
const path_fieldReference = path + '.fieldReference';
|
|
1412
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
1433
|
+
const referencepath_fieldReferenceValidationError = validate$R(obj_fieldReference, path_fieldReference);
|
|
1413
1434
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
1414
1435
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
1415
1436
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1434,7 +1455,7 @@ function validate$R(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1434
1455
|
return v_error === undefined ? null : v_error;
|
|
1435
1456
|
}
|
|
1436
1457
|
|
|
1437
|
-
function validate$
|
|
1458
|
+
function validate$P(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
1438
1459
|
const v_error = (() => {
|
|
1439
1460
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1440
1461
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1478,7 +1499,7 @@ function validate$Q(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
1478
1499
|
return v_error === undefined ? null : v_error;
|
|
1479
1500
|
}
|
|
1480
1501
|
|
|
1481
|
-
function validate$
|
|
1502
|
+
function validate$O(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
1482
1503
|
const v_error = (() => {
|
|
1483
1504
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1484
1505
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1506,7 +1527,7 @@ function validate$P(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1506
1527
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
1507
1528
|
const obj_criteria_item = obj_criteria[i];
|
|
1508
1529
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
1509
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
1530
|
+
const referencepath_criteria_itemValidationError = validate$P(obj_criteria_item, path_criteria_item);
|
|
1510
1531
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
1511
1532
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
1512
1533
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1567,7 +1588,7 @@ function validate$P(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1567
1588
|
return v_error === undefined ? null : v_error;
|
|
1568
1589
|
}
|
|
1569
1590
|
|
|
1570
|
-
function validate$
|
|
1591
|
+
function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
1571
1592
|
const v_error = (() => {
|
|
1572
1593
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1573
1594
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1595,7 +1616,7 @@ function validate$O(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1595
1616
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
1596
1617
|
const obj_fields_item = obj_fields[i];
|
|
1597
1618
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
1598
|
-
const referencepath_fields_itemValidationError = validate$
|
|
1619
|
+
const referencepath_fields_itemValidationError = validate$S(obj_fields_item, path_fields_item);
|
|
1599
1620
|
if (referencepath_fields_itemValidationError !== null) {
|
|
1600
1621
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
1601
1622
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1620,7 +1641,7 @@ function validate$O(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1620
1641
|
if (obj.semanticDimension !== undefined) {
|
|
1621
1642
|
const obj_semanticDimension = obj.semanticDimension;
|
|
1622
1643
|
const path_semanticDimension = path + '.semanticDimension';
|
|
1623
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
1644
|
+
const referencepath_semanticDimensionValidationError = validate$Z(obj_semanticDimension, path_semanticDimension);
|
|
1624
1645
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
1625
1646
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
1626
1647
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1630,7 +1651,7 @@ function validate$O(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1630
1651
|
if (obj.semanticMeasurement !== undefined) {
|
|
1631
1652
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
1632
1653
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
1633
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
1654
|
+
const referencepath_semanticMeasurementValidationError = validate$Y(obj_semanticMeasurement, path_semanticMeasurement);
|
|
1634
1655
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
1635
1656
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
1636
1657
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1641,7 +1662,7 @@ function validate$O(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1641
1662
|
return v_error === undefined ? null : v_error;
|
|
1642
1663
|
}
|
|
1643
1664
|
|
|
1644
|
-
function validate$
|
|
1665
|
+
function validate$M(obj, path = 'SemanticUnionInputRepresentation') {
|
|
1645
1666
|
const v_error = (() => {
|
|
1646
1667
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1647
1668
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1676,7 +1697,7 @@ function validate$N(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1676
1697
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1677
1698
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1678
1699
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1679
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1700
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$X(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1680
1701
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1681
1702
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1682
1703
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1693,7 +1714,7 @@ function validate$N(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1693
1714
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
1694
1715
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
1695
1716
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
1696
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
1717
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$N(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
1697
1718
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
1698
1719
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
1699
1720
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1705,7 +1726,7 @@ function validate$N(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1705
1726
|
return v_error === undefined ? null : v_error;
|
|
1706
1727
|
}
|
|
1707
1728
|
|
|
1708
|
-
function validate$
|
|
1729
|
+
function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
1709
1730
|
const v_error = (() => {
|
|
1710
1731
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1711
1732
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1747,7 +1768,7 @@ function validate$M(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1747
1768
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1748
1769
|
const obj_filters_item = obj_filters[i];
|
|
1749
1770
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1750
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1771
|
+
const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
|
|
1751
1772
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1752
1773
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1753
1774
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1762,6 +1783,13 @@ function validate$M(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1762
1783
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
1763
1784
|
}
|
|
1764
1785
|
}
|
|
1786
|
+
if (obj.primaryNameField !== undefined) {
|
|
1787
|
+
const obj_primaryNameField = obj.primaryNameField;
|
|
1788
|
+
const path_primaryNameField = path + '.primaryNameField';
|
|
1789
|
+
if (typeof obj_primaryNameField !== 'string') {
|
|
1790
|
+
return new TypeError('Expected "string" but received "' + typeof obj_primaryNameField + '" (at "' + path_primaryNameField + '")');
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1765
1793
|
if (obj.semanticDataObjects !== undefined) {
|
|
1766
1794
|
const obj_semanticDataObjects = obj.semanticDataObjects;
|
|
1767
1795
|
const path_semanticDataObjects = path + '.semanticDataObjects';
|
|
@@ -1771,7 +1799,7 @@ function validate$M(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1771
1799
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1772
1800
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1773
1801
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1774
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1802
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$X(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1775
1803
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1776
1804
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1777
1805
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1788,7 +1816,7 @@ function validate$M(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1788
1816
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
1789
1817
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
1790
1818
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
1791
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
1819
|
+
const referencepath_semanticRelationships_itemValidationError = validate$O(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
1792
1820
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
1793
1821
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
1794
1822
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1805,7 +1833,7 @@ function validate$M(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1805
1833
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
1806
1834
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
1807
1835
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
1808
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
1836
|
+
const referencepath_semanticUnions_itemValidationError = validate$M(obj_semanticUnions_item, path_semanticUnions_item);
|
|
1809
1837
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
1810
1838
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
1811
1839
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1824,7 +1852,7 @@ function validate$M(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1824
1852
|
return v_error === undefined ? null : v_error;
|
|
1825
1853
|
}
|
|
1826
1854
|
|
|
1827
|
-
function validate$
|
|
1855
|
+
function validate$K(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
1828
1856
|
const v_error = (() => {
|
|
1829
1857
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1830
1858
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1832,7 +1860,7 @@ function validate$L(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1832
1860
|
if (obj.identifierDimensionReference !== undefined) {
|
|
1833
1861
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
1834
1862
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
1835
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
1863
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$R(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
1836
1864
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
1837
1865
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
1838
1866
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1842,7 +1870,7 @@ function validate$L(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1842
1870
|
if (obj.namingDimensionReference !== undefined) {
|
|
1843
1871
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
1844
1872
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
1845
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
1873
|
+
const referencepath_namingDimensionReferenceValidationError = validate$R(obj_namingDimensionReference, path_namingDimensionReference);
|
|
1846
1874
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
1847
1875
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
1848
1876
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1853,7 +1881,7 @@ function validate$L(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1853
1881
|
return v_error === undefined ? null : v_error;
|
|
1854
1882
|
}
|
|
1855
1883
|
|
|
1856
|
-
function validate$
|
|
1884
|
+
function validate$J(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
1857
1885
|
const v_error = (() => {
|
|
1858
1886
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1859
1887
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1876,7 +1904,7 @@ function validate$K(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
1876
1904
|
return v_error === undefined ? null : v_error;
|
|
1877
1905
|
}
|
|
1878
1906
|
|
|
1879
|
-
function validate$
|
|
1907
|
+
function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
1880
1908
|
const v_error = (() => {
|
|
1881
1909
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1882
1910
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1884,7 +1912,7 @@ function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1884
1912
|
if (obj.identifyingDimension !== undefined) {
|
|
1885
1913
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
1886
1914
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
1887
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
1915
|
+
const referencepath_identifyingDimensionValidationError = validate$K(obj_identifyingDimension, path_identifyingDimension);
|
|
1888
1916
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
1889
1917
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
1890
1918
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1900,7 +1928,7 @@ function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1900
1928
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
1901
1929
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
1902
1930
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
1903
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
1931
|
+
const referencepath_insightTypes_itemValidationError = validate$J(obj_insightTypes_item, path_insightTypes_item);
|
|
1904
1932
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
1905
1933
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
1906
1934
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1917,7 +1945,7 @@ function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1917
1945
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
1918
1946
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
1919
1947
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
1920
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
1948
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$R(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
1921
1949
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
1922
1950
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
1923
1951
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1950,7 +1978,7 @@ function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1950
1978
|
return v_error === undefined ? null : v_error;
|
|
1951
1979
|
}
|
|
1952
1980
|
|
|
1953
|
-
function validate$
|
|
1981
|
+
function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
1954
1982
|
const v_error = (() => {
|
|
1955
1983
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1956
1984
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1964,7 +1992,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1964
1992
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
1965
1993
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
1966
1994
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
1967
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
1995
|
+
const referencepath_additionalDimensions_itemValidationError = validate$R(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
1968
1996
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
1969
1997
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
1970
1998
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2009,7 +2037,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2009
2037
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2010
2038
|
const obj_filters_item = obj_filters[i];
|
|
2011
2039
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2012
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2040
|
+
const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
|
|
2013
2041
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2014
2042
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2015
2043
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2020,7 +2048,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2020
2048
|
if (obj.insightsSettings !== undefined) {
|
|
2021
2049
|
const obj_insightsSettings = obj.insightsSettings;
|
|
2022
2050
|
const path_insightsSettings = path + '.insightsSettings';
|
|
2023
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
2051
|
+
const referencepath_insightsSettingsValidationError = validate$I(obj_insightsSettings, path_insightsSettings);
|
|
2024
2052
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
2025
2053
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
2026
2054
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2044,7 +2072,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2044
2072
|
if (obj.measurementReference !== undefined) {
|
|
2045
2073
|
const obj_measurementReference = obj.measurementReference;
|
|
2046
2074
|
const path_measurementReference = path + '.measurementReference';
|
|
2047
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
2075
|
+
const referencepath_measurementReferenceValidationError = validate$R(obj_measurementReference, path_measurementReference);
|
|
2048
2076
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
2049
2077
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
2050
2078
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2054,7 +2082,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2054
2082
|
if (obj.timeDimensionReference !== undefined) {
|
|
2055
2083
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
2056
2084
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
2057
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
2085
|
+
const referencepath_timeDimensionReferenceValidationError = validate$R(obj_timeDimensionReference, path_timeDimensionReference);
|
|
2058
2086
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
2059
2087
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
2060
2088
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2079,7 +2107,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2079
2107
|
return v_error === undefined ? null : v_error;
|
|
2080
2108
|
}
|
|
2081
2109
|
|
|
2082
|
-
function validate$
|
|
2110
|
+
function validate$G(obj, path = 'SemanticParameterInputRepresentation') {
|
|
2083
2111
|
const v_error = (() => {
|
|
2084
2112
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2085
2113
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2179,8 +2207,8 @@ function validate$H(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
2179
2207
|
return v_error === undefined ? null : v_error;
|
|
2180
2208
|
}
|
|
2181
2209
|
|
|
2182
|
-
const VERSION$
|
|
2183
|
-
function validate$
|
|
2210
|
+
const VERSION$y = "3a32d382e7a2268096278aa8e5c6761a";
|
|
2211
|
+
function validate$F(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
2184
2212
|
const v_error = (() => {
|
|
2185
2213
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2186
2214
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2200,10 +2228,10 @@ function validate$G(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
|
2200
2228
|
})();
|
|
2201
2229
|
return v_error === undefined ? null : v_error;
|
|
2202
2230
|
}
|
|
2203
|
-
const select$
|
|
2231
|
+
const select$O = function SemanticBaseModelOutputRepresentationSelect() {
|
|
2204
2232
|
return {
|
|
2205
2233
|
kind: 'Fragment',
|
|
2206
|
-
version: VERSION$
|
|
2234
|
+
version: VERSION$y,
|
|
2207
2235
|
private: [],
|
|
2208
2236
|
selections: [
|
|
2209
2237
|
{
|
|
@@ -2218,7 +2246,7 @@ const select$Q = function SemanticBaseModelOutputRepresentationSelect() {
|
|
|
2218
2246
|
]
|
|
2219
2247
|
};
|
|
2220
2248
|
};
|
|
2221
|
-
function equals$
|
|
2249
|
+
function equals$y(existing, incoming) {
|
|
2222
2250
|
const existing_apiName = existing.apiName;
|
|
2223
2251
|
const incoming_apiName = incoming.apiName;
|
|
2224
2252
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -2240,8 +2268,8 @@ function equals$A(existing, incoming) {
|
|
|
2240
2268
|
return true;
|
|
2241
2269
|
}
|
|
2242
2270
|
|
|
2243
|
-
const VERSION$
|
|
2244
|
-
function validate$
|
|
2271
|
+
const VERSION$x = "221b0931360d7fcb0a1402b0b82071bd";
|
|
2272
|
+
function validate$E(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation') {
|
|
2245
2273
|
const v_error = (() => {
|
|
2246
2274
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2247
2275
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2269,10 +2297,10 @@ function validate$F(obj, path = 'SemanticModelExternalConnectionTableauPublished
|
|
|
2269
2297
|
})();
|
|
2270
2298
|
return v_error === undefined ? null : v_error;
|
|
2271
2299
|
}
|
|
2272
|
-
const select$
|
|
2300
|
+
const select$N = function SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentationSelect() {
|
|
2273
2301
|
return {
|
|
2274
2302
|
kind: 'Fragment',
|
|
2275
|
-
version: VERSION$
|
|
2303
|
+
version: VERSION$x,
|
|
2276
2304
|
private: [],
|
|
2277
2305
|
selections: [
|
|
2278
2306
|
{
|
|
@@ -2294,7 +2322,7 @@ const select$P = function SemanticModelExternalConnectionTableauPublishedDataSou
|
|
|
2294
2322
|
]
|
|
2295
2323
|
};
|
|
2296
2324
|
};
|
|
2297
|
-
function equals$
|
|
2325
|
+
function equals$x(existing, incoming) {
|
|
2298
2326
|
const existing_dataSourceId = existing.dataSourceId;
|
|
2299
2327
|
const incoming_dataSourceId = incoming.dataSourceId;
|
|
2300
2328
|
if (!(existing_dataSourceId === incoming_dataSourceId)) {
|
|
@@ -2318,8 +2346,8 @@ function equals$z(existing, incoming) {
|
|
|
2318
2346
|
return true;
|
|
2319
2347
|
}
|
|
2320
2348
|
|
|
2321
|
-
const VERSION$
|
|
2322
|
-
function validate$
|
|
2349
|
+
const VERSION$w = "e760a2becca995f7bd15e714d50c088c";
|
|
2350
|
+
function validate$D(obj, path = 'SemanticModelExternalConnectionOutputRepresentation') {
|
|
2323
2351
|
const v_error = (() => {
|
|
2324
2352
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2325
2353
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2351,7 +2379,7 @@ function validate$E(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
2351
2379
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
2352
2380
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
2353
2381
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
2354
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
2382
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$E(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
2355
2383
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
2356
2384
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
2357
2385
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2366,11 +2394,11 @@ function validate$E(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
2366
2394
|
})();
|
|
2367
2395
|
return v_error === undefined ? null : v_error;
|
|
2368
2396
|
}
|
|
2369
|
-
const select$
|
|
2370
|
-
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$
|
|
2397
|
+
const select$M = function SemanticModelExternalConnectionOutputRepresentationSelect() {
|
|
2398
|
+
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$N();
|
|
2371
2399
|
return {
|
|
2372
2400
|
kind: 'Fragment',
|
|
2373
|
-
version: VERSION$
|
|
2401
|
+
version: VERSION$w,
|
|
2374
2402
|
private: [],
|
|
2375
2403
|
selections: [
|
|
2376
2404
|
{
|
|
@@ -2404,7 +2432,7 @@ const select$O = function SemanticModelExternalConnectionOutputRepresentationSel
|
|
|
2404
2432
|
]
|
|
2405
2433
|
};
|
|
2406
2434
|
};
|
|
2407
|
-
function equals$
|
|
2435
|
+
function equals$w(existing, incoming) {
|
|
2408
2436
|
const existing_apiName = existing.apiName;
|
|
2409
2437
|
const incoming_apiName = incoming.apiName;
|
|
2410
2438
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -2455,15 +2483,15 @@ function equals$y(existing, incoming) {
|
|
|
2455
2483
|
if (existing_tableauPublishedDataSource === undefined || incoming_tableauPublishedDataSource === undefined) {
|
|
2456
2484
|
return false;
|
|
2457
2485
|
}
|
|
2458
|
-
if (!(equals$
|
|
2486
|
+
if (!(equals$x(existing_tableauPublishedDataSource, incoming_tableauPublishedDataSource))) {
|
|
2459
2487
|
return false;
|
|
2460
2488
|
}
|
|
2461
2489
|
}
|
|
2462
2490
|
return true;
|
|
2463
2491
|
}
|
|
2464
2492
|
|
|
2465
|
-
const VERSION$
|
|
2466
|
-
function validate$
|
|
2493
|
+
const VERSION$v = "6f06bef394bf9744da80affc7b8109c6";
|
|
2494
|
+
function validate$C(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
2467
2495
|
const v_error = (() => {
|
|
2468
2496
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2469
2497
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2503,10 +2531,10 @@ function validate$D(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
|
2503
2531
|
})();
|
|
2504
2532
|
return v_error === undefined ? null : v_error;
|
|
2505
2533
|
}
|
|
2506
|
-
const select$
|
|
2534
|
+
const select$L = function SemanticOverrideOutputRepresentationSelect() {
|
|
2507
2535
|
return {
|
|
2508
2536
|
kind: 'Fragment',
|
|
2509
|
-
version: VERSION$
|
|
2537
|
+
version: VERSION$v,
|
|
2510
2538
|
private: [],
|
|
2511
2539
|
selections: [
|
|
2512
2540
|
{
|
|
@@ -2537,7 +2565,7 @@ const select$N = function SemanticOverrideOutputRepresentationSelect() {
|
|
|
2537
2565
|
]
|
|
2538
2566
|
};
|
|
2539
2567
|
};
|
|
2540
|
-
function equals$
|
|
2568
|
+
function equals$v(existing, incoming) {
|
|
2541
2569
|
const existing_entityFqn = existing.entityFqn;
|
|
2542
2570
|
const incoming_entityFqn = incoming.entityFqn;
|
|
2543
2571
|
if (!(existing_entityFqn === incoming_entityFqn)) {
|
|
@@ -2579,8 +2607,8 @@ function equals$x(existing, incoming) {
|
|
|
2579
2607
|
return true;
|
|
2580
2608
|
}
|
|
2581
2609
|
|
|
2582
|
-
const VERSION$
|
|
2583
|
-
function validate$
|
|
2610
|
+
const VERSION$u = "358bb714d100a35ad75fc928fa462760";
|
|
2611
|
+
function validate$B(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
2584
2612
|
const v_error = (() => {
|
|
2585
2613
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2586
2614
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2606,13 +2634,27 @@ function validate$C(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
|
2606
2634
|
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
2607
2635
|
}
|
|
2608
2636
|
}
|
|
2637
|
+
if (obj.values !== undefined) {
|
|
2638
|
+
const obj_values = obj.values;
|
|
2639
|
+
const path_values = path + '.values';
|
|
2640
|
+
if (!ArrayIsArray(obj_values)) {
|
|
2641
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
2642
|
+
}
|
|
2643
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
2644
|
+
const obj_values_item = obj_values[i];
|
|
2645
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
2646
|
+
if (typeof obj_values_item !== 'string') {
|
|
2647
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
2648
|
+
}
|
|
2649
|
+
}
|
|
2650
|
+
}
|
|
2609
2651
|
})();
|
|
2610
2652
|
return v_error === undefined ? null : v_error;
|
|
2611
2653
|
}
|
|
2612
|
-
const select$
|
|
2654
|
+
const select$K = function SemanticFilterOutputRepresentationSelect() {
|
|
2613
2655
|
return {
|
|
2614
2656
|
kind: 'Fragment',
|
|
2615
|
-
version: VERSION$
|
|
2657
|
+
version: VERSION$u,
|
|
2616
2658
|
private: [],
|
|
2617
2659
|
selections: [
|
|
2618
2660
|
{
|
|
@@ -2629,11 +2671,17 @@ const select$M = function SemanticFilterOutputRepresentationSelect() {
|
|
|
2629
2671
|
name: 'value',
|
|
2630
2672
|
kind: 'Scalar',
|
|
2631
2673
|
required: false
|
|
2674
|
+
},
|
|
2675
|
+
{
|
|
2676
|
+
name: 'values',
|
|
2677
|
+
kind: 'Scalar',
|
|
2678
|
+
plural: true,
|
|
2679
|
+
required: false
|
|
2632
2680
|
}
|
|
2633
2681
|
]
|
|
2634
2682
|
};
|
|
2635
2683
|
};
|
|
2636
|
-
function equals$
|
|
2684
|
+
function equals$u(existing, incoming) {
|
|
2637
2685
|
const existing_fieldName = existing.fieldName;
|
|
2638
2686
|
const incoming_fieldName = incoming.fieldName;
|
|
2639
2687
|
// if at least one of these optionals is defined
|
|
@@ -2673,11 +2721,29 @@ function equals$w(existing, incoming) {
|
|
|
2673
2721
|
return false;
|
|
2674
2722
|
}
|
|
2675
2723
|
}
|
|
2724
|
+
const existing_values = existing.values;
|
|
2725
|
+
const incoming_values = incoming.values;
|
|
2726
|
+
// if at least one of these optionals is defined
|
|
2727
|
+
if (existing_values !== undefined || incoming_values !== undefined) {
|
|
2728
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2729
|
+
// not equal
|
|
2730
|
+
if (existing_values === undefined || incoming_values === undefined) {
|
|
2731
|
+
return false;
|
|
2732
|
+
}
|
|
2733
|
+
const equals_values_items = equalsArray(existing_values, incoming_values, (existing_values_item, incoming_values_item) => {
|
|
2734
|
+
if (!(existing_values_item === incoming_values_item)) {
|
|
2735
|
+
return false;
|
|
2736
|
+
}
|
|
2737
|
+
});
|
|
2738
|
+
if (equals_values_items === false) {
|
|
2739
|
+
return false;
|
|
2740
|
+
}
|
|
2741
|
+
}
|
|
2676
2742
|
return true;
|
|
2677
2743
|
}
|
|
2678
2744
|
|
|
2679
|
-
const VERSION$
|
|
2680
|
-
function validate$
|
|
2745
|
+
const VERSION$t = "2ad1227d8439240d2dfe130b651f8a81";
|
|
2746
|
+
function validate$A(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
2681
2747
|
const v_error = (() => {
|
|
2682
2748
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2683
2749
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2776,7 +2842,7 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2776
2842
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2777
2843
|
const obj_filters_item = obj_filters[i];
|
|
2778
2844
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2779
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2845
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
2780
2846
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2781
2847
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
2782
2848
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2796,6 +2862,13 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2796
2862
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
2797
2863
|
}
|
|
2798
2864
|
}
|
|
2865
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
2866
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
2867
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
2868
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
2869
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
2870
|
+
}
|
|
2871
|
+
}
|
|
2799
2872
|
if (obj.isVisible !== undefined) {
|
|
2800
2873
|
const obj_isVisible = obj.isVisible;
|
|
2801
2874
|
const path_isVisible = path + '.isVisible';
|
|
@@ -2852,6 +2925,13 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2852
2925
|
return new TypeError('Expected "string" but received "' + typeof obj_syntax + '" (at "' + path_syntax + '")');
|
|
2853
2926
|
}
|
|
2854
2927
|
}
|
|
2928
|
+
if (obj.unmapped !== undefined) {
|
|
2929
|
+
const obj_unmapped = obj.unmapped;
|
|
2930
|
+
const path_unmapped = path + '.unmapped';
|
|
2931
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
2932
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
2933
|
+
}
|
|
2934
|
+
}
|
|
2855
2935
|
})();
|
|
2856
2936
|
return v_error === undefined ? null : v_error;
|
|
2857
2937
|
}
|
|
@@ -2868,11 +2948,11 @@ function keyBuilderFromType$b(luvio, object) {
|
|
|
2868
2948
|
function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
2869
2949
|
return input;
|
|
2870
2950
|
}
|
|
2871
|
-
const select$
|
|
2872
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
2951
|
+
const select$J = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
2952
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
2873
2953
|
return {
|
|
2874
2954
|
kind: 'Fragment',
|
|
2875
|
-
version: VERSION$
|
|
2955
|
+
version: VERSION$t,
|
|
2876
2956
|
private: [],
|
|
2877
2957
|
selections: [
|
|
2878
2958
|
{
|
|
@@ -2953,6 +3033,11 @@ const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2953
3033
|
kind: 'Scalar',
|
|
2954
3034
|
required: false
|
|
2955
3035
|
},
|
|
3036
|
+
{
|
|
3037
|
+
name: 'isSystemDefinition',
|
|
3038
|
+
kind: 'Scalar',
|
|
3039
|
+
required: false
|
|
3040
|
+
},
|
|
2956
3041
|
{
|
|
2957
3042
|
name: 'isVisible',
|
|
2958
3043
|
kind: 'Scalar',
|
|
@@ -2992,11 +3077,16 @@ const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2992
3077
|
name: 'syntax',
|
|
2993
3078
|
kind: 'Scalar',
|
|
2994
3079
|
required: false
|
|
3080
|
+
},
|
|
3081
|
+
{
|
|
3082
|
+
name: 'unmapped',
|
|
3083
|
+
kind: 'Scalar',
|
|
3084
|
+
required: false
|
|
2995
3085
|
}
|
|
2996
3086
|
]
|
|
2997
3087
|
};
|
|
2998
3088
|
};
|
|
2999
|
-
function equals$
|
|
3089
|
+
function equals$t(existing, incoming) {
|
|
3000
3090
|
const existing_isOverrideBase = existing.isOverrideBase;
|
|
3001
3091
|
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
3002
3092
|
// if at least one of these optionals is defined
|
|
@@ -3010,6 +3100,19 @@ function equals$v(existing, incoming) {
|
|
|
3010
3100
|
return false;
|
|
3011
3101
|
}
|
|
3012
3102
|
}
|
|
3103
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
3104
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
3105
|
+
// if at least one of these optionals is defined
|
|
3106
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
3107
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3108
|
+
// not equal
|
|
3109
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
3110
|
+
return false;
|
|
3111
|
+
}
|
|
3112
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
3113
|
+
return false;
|
|
3114
|
+
}
|
|
3115
|
+
}
|
|
3013
3116
|
const existing_isVisible = existing.isVisible;
|
|
3014
3117
|
const incoming_isVisible = incoming.isVisible;
|
|
3015
3118
|
// if at least one of these optionals is defined
|
|
@@ -3023,6 +3126,19 @@ function equals$v(existing, incoming) {
|
|
|
3023
3126
|
return false;
|
|
3024
3127
|
}
|
|
3025
3128
|
}
|
|
3129
|
+
const existing_unmapped = existing.unmapped;
|
|
3130
|
+
const incoming_unmapped = incoming.unmapped;
|
|
3131
|
+
// if at least one of these optionals is defined
|
|
3132
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
3133
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3134
|
+
// not equal
|
|
3135
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
3136
|
+
return false;
|
|
3137
|
+
}
|
|
3138
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
3139
|
+
return false;
|
|
3140
|
+
}
|
|
3141
|
+
}
|
|
3026
3142
|
const existing_decimalPlace = existing.decimalPlace;
|
|
3027
3143
|
const incoming_decimalPlace = incoming.decimalPlace;
|
|
3028
3144
|
// if at least one of these optionals is defined
|
|
@@ -3274,7 +3390,7 @@ function equals$v(existing, incoming) {
|
|
|
3274
3390
|
return false;
|
|
3275
3391
|
}
|
|
3276
3392
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
3277
|
-
if (!(equals$
|
|
3393
|
+
if (!(equals$u(existing_filters_item, incoming_filters_item))) {
|
|
3278
3394
|
return false;
|
|
3279
3395
|
}
|
|
3280
3396
|
});
|
|
@@ -3286,14 +3402,14 @@ function equals$v(existing, incoming) {
|
|
|
3286
3402
|
}
|
|
3287
3403
|
const ingest$h = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3288
3404
|
if (process.env.NODE_ENV !== 'production') {
|
|
3289
|
-
const validateError = validate$
|
|
3405
|
+
const validateError = validate$A(input);
|
|
3290
3406
|
if (validateError !== null) {
|
|
3291
3407
|
throw validateError;
|
|
3292
3408
|
}
|
|
3293
3409
|
}
|
|
3294
3410
|
const key = keyBuilderFromType$b(luvio, input);
|
|
3295
3411
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
3296
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$
|
|
3412
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$t, RepresentationType$h, equals$t);
|
|
3297
3413
|
return createLink(key);
|
|
3298
3414
|
};
|
|
3299
3415
|
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3306,8 +3422,8 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3306
3422
|
});
|
|
3307
3423
|
}
|
|
3308
3424
|
|
|
3309
|
-
const VERSION$
|
|
3310
|
-
function validate$
|
|
3425
|
+
const VERSION$s = "f905fd3431f6d5d1f883c03af48eb1b3";
|
|
3426
|
+
function validate$z(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
3311
3427
|
const v_error = (() => {
|
|
3312
3428
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3313
3429
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3420,7 +3536,7 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3420
3536
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3421
3537
|
const obj_filters_item = obj_filters[i];
|
|
3422
3538
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3423
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3539
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
3424
3540
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3425
3541
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
3426
3542
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3447,6 +3563,13 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3447
3563
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
3448
3564
|
}
|
|
3449
3565
|
}
|
|
3566
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
3567
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
3568
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
3569
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
3570
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
3571
|
+
}
|
|
3572
|
+
}
|
|
3450
3573
|
if (obj.isVisible !== undefined) {
|
|
3451
3574
|
const obj_isVisible = obj.isVisible;
|
|
3452
3575
|
const path_isVisible = path + '.isVisible';
|
|
@@ -3524,6 +3647,13 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3524
3647
|
return new TypeError('Expected "string" but received "' + typeof obj_totalAggregationType + '" (at "' + path_totalAggregationType + '")');
|
|
3525
3648
|
}
|
|
3526
3649
|
}
|
|
3650
|
+
if (obj.unmapped !== undefined) {
|
|
3651
|
+
const obj_unmapped = obj.unmapped;
|
|
3652
|
+
const path_unmapped = path + '.unmapped';
|
|
3653
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
3654
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
3655
|
+
}
|
|
3656
|
+
}
|
|
3527
3657
|
})();
|
|
3528
3658
|
return v_error === undefined ? null : v_error;
|
|
3529
3659
|
}
|
|
@@ -3540,11 +3670,11 @@ function keyBuilderFromType$a(luvio, object) {
|
|
|
3540
3670
|
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
3541
3671
|
return input;
|
|
3542
3672
|
}
|
|
3543
|
-
const select$
|
|
3544
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
3673
|
+
const select$I = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
3674
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
3545
3675
|
return {
|
|
3546
3676
|
kind: 'Fragment',
|
|
3547
|
-
version: VERSION$
|
|
3677
|
+
version: VERSION$s,
|
|
3548
3678
|
private: [],
|
|
3549
3679
|
selections: [
|
|
3550
3680
|
{
|
|
@@ -3640,6 +3770,11 @@ const select$K = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3640
3770
|
kind: 'Scalar',
|
|
3641
3771
|
required: false
|
|
3642
3772
|
},
|
|
3773
|
+
{
|
|
3774
|
+
name: 'isSystemDefinition',
|
|
3775
|
+
kind: 'Scalar',
|
|
3776
|
+
required: false
|
|
3777
|
+
},
|
|
3643
3778
|
{
|
|
3644
3779
|
name: 'isVisible',
|
|
3645
3780
|
kind: 'Scalar',
|
|
@@ -3694,11 +3829,16 @@ const select$K = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3694
3829
|
name: 'totalAggregationType',
|
|
3695
3830
|
kind: 'Scalar',
|
|
3696
3831
|
required: false
|
|
3832
|
+
},
|
|
3833
|
+
{
|
|
3834
|
+
name: 'unmapped',
|
|
3835
|
+
kind: 'Scalar',
|
|
3836
|
+
required: false
|
|
3697
3837
|
}
|
|
3698
3838
|
]
|
|
3699
3839
|
};
|
|
3700
3840
|
};
|
|
3701
|
-
function equals$
|
|
3841
|
+
function equals$s(existing, incoming) {
|
|
3702
3842
|
const existing_isAggregatable = existing.isAggregatable;
|
|
3703
3843
|
const incoming_isAggregatable = incoming.isAggregatable;
|
|
3704
3844
|
// if at least one of these optionals is defined
|
|
@@ -3725,6 +3865,19 @@ function equals$u(existing, incoming) {
|
|
|
3725
3865
|
return false;
|
|
3726
3866
|
}
|
|
3727
3867
|
}
|
|
3868
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
3869
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
3870
|
+
// if at least one of these optionals is defined
|
|
3871
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
3872
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3873
|
+
// not equal
|
|
3874
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
3875
|
+
return false;
|
|
3876
|
+
}
|
|
3877
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
3878
|
+
return false;
|
|
3879
|
+
}
|
|
3880
|
+
}
|
|
3728
3881
|
const existing_isVisible = existing.isVisible;
|
|
3729
3882
|
const incoming_isVisible = incoming.isVisible;
|
|
3730
3883
|
// if at least one of these optionals is defined
|
|
@@ -3751,6 +3904,19 @@ function equals$u(existing, incoming) {
|
|
|
3751
3904
|
return false;
|
|
3752
3905
|
}
|
|
3753
3906
|
}
|
|
3907
|
+
const existing_unmapped = existing.unmapped;
|
|
3908
|
+
const incoming_unmapped = incoming.unmapped;
|
|
3909
|
+
// if at least one of these optionals is defined
|
|
3910
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
3911
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3912
|
+
// not equal
|
|
3913
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
3914
|
+
return false;
|
|
3915
|
+
}
|
|
3916
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
3917
|
+
return false;
|
|
3918
|
+
}
|
|
3919
|
+
}
|
|
3754
3920
|
const existing_decimalPlace = existing.decimalPlace;
|
|
3755
3921
|
const incoming_decimalPlace = incoming.decimalPlace;
|
|
3756
3922
|
// if at least one of these optionals is defined
|
|
@@ -4054,7 +4220,7 @@ function equals$u(existing, incoming) {
|
|
|
4054
4220
|
return false;
|
|
4055
4221
|
}
|
|
4056
4222
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
4057
|
-
if (!(equals$
|
|
4223
|
+
if (!(equals$u(existing_filters_item, incoming_filters_item))) {
|
|
4058
4224
|
return false;
|
|
4059
4225
|
}
|
|
4060
4226
|
});
|
|
@@ -4066,14 +4232,14 @@ function equals$u(existing, incoming) {
|
|
|
4066
4232
|
}
|
|
4067
4233
|
const ingest$g = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4068
4234
|
if (process.env.NODE_ENV !== 'production') {
|
|
4069
|
-
const validateError = validate$
|
|
4235
|
+
const validateError = validate$z(input);
|
|
4070
4236
|
if (validateError !== null) {
|
|
4071
4237
|
throw validateError;
|
|
4072
4238
|
}
|
|
4073
4239
|
}
|
|
4074
4240
|
const key = keyBuilderFromType$a(luvio, input);
|
|
4075
4241
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4076
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$
|
|
4242
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$s, RepresentationType$g, equals$s);
|
|
4077
4243
|
return createLink(key);
|
|
4078
4244
|
};
|
|
4079
4245
|
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4086,7 +4252,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4086
4252
|
});
|
|
4087
4253
|
}
|
|
4088
4254
|
|
|
4089
|
-
function validate$
|
|
4255
|
+
function validate$y(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
4090
4256
|
const v_error = (() => {
|
|
4091
4257
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4092
4258
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4181,6 +4347,13 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
4181
4347
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
4182
4348
|
}
|
|
4183
4349
|
}
|
|
4350
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
4351
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
4352
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
4353
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
4354
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
4355
|
+
}
|
|
4356
|
+
}
|
|
4184
4357
|
if (obj.isVisible !== undefined) {
|
|
4185
4358
|
const obj_isVisible = obj.isVisible;
|
|
4186
4359
|
const path_isVisible = path + '.isVisible';
|
|
@@ -4237,11 +4410,18 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
4237
4410
|
return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
|
|
4238
4411
|
}
|
|
4239
4412
|
}
|
|
4413
|
+
if (obj.unmapped !== undefined) {
|
|
4414
|
+
const obj_unmapped = obj.unmapped;
|
|
4415
|
+
const path_unmapped = path + '.unmapped';
|
|
4416
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
4417
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
4418
|
+
}
|
|
4419
|
+
}
|
|
4240
4420
|
})();
|
|
4241
4421
|
return v_error === undefined ? null : v_error;
|
|
4242
4422
|
}
|
|
4243
4423
|
|
|
4244
|
-
function validate$
|
|
4424
|
+
function validate$x(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
4245
4425
|
const v_error = (() => {
|
|
4246
4426
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4247
4427
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4357,6 +4537,13 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4357
4537
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
4358
4538
|
}
|
|
4359
4539
|
}
|
|
4540
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
4541
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
4542
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
4543
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
4544
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
4545
|
+
}
|
|
4546
|
+
}
|
|
4360
4547
|
if (obj.isVisible !== undefined) {
|
|
4361
4548
|
const obj_isVisible = obj.isVisible;
|
|
4362
4549
|
const path_isVisible = path + '.isVisible';
|
|
@@ -4427,12 +4614,19 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4427
4614
|
return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
|
|
4428
4615
|
}
|
|
4429
4616
|
}
|
|
4617
|
+
if (obj.unmapped !== undefined) {
|
|
4618
|
+
const obj_unmapped = obj.unmapped;
|
|
4619
|
+
const path_unmapped = path + '.unmapped';
|
|
4620
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
4621
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
4622
|
+
}
|
|
4623
|
+
}
|
|
4430
4624
|
})();
|
|
4431
4625
|
return v_error === undefined ? null : v_error;
|
|
4432
4626
|
}
|
|
4433
4627
|
|
|
4434
|
-
const VERSION$
|
|
4435
|
-
function validate$
|
|
4628
|
+
const VERSION$r = "9792f3ddcf625ff2ab200ce7b653e1f4";
|
|
4629
|
+
function validate$w(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
4436
4630
|
const v_error = (() => {
|
|
4437
4631
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4438
4632
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4510,7 +4704,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4510
4704
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4511
4705
|
const obj_filters_item = obj_filters[i];
|
|
4512
4706
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4513
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4707
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
4514
4708
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4515
4709
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4516
4710
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4523,6 +4717,13 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4523
4717
|
if (typeof obj_id !== 'string') {
|
|
4524
4718
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
4525
4719
|
}
|
|
4720
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
4721
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
4722
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
4723
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
4724
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
4725
|
+
}
|
|
4726
|
+
}
|
|
4526
4727
|
if (obj.label !== undefined) {
|
|
4527
4728
|
const obj_label = obj.label;
|
|
4528
4729
|
const path_label = path + '.label';
|
|
@@ -4551,6 +4752,13 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4551
4752
|
return new TypeError('Expected "string" but received "' + typeof obj_logicalViewId + '" (at "' + path_logicalViewId + '")');
|
|
4552
4753
|
}
|
|
4553
4754
|
}
|
|
4755
|
+
if (obj.primaryNameField !== undefined) {
|
|
4756
|
+
const obj_primaryNameField = obj.primaryNameField;
|
|
4757
|
+
const path_primaryNameField = path + '.primaryNameField';
|
|
4758
|
+
if (typeof obj_primaryNameField !== 'string') {
|
|
4759
|
+
return new TypeError('Expected "string" but received "' + typeof obj_primaryNameField + '" (at "' + path_primaryNameField + '")');
|
|
4760
|
+
}
|
|
4761
|
+
}
|
|
4554
4762
|
if (obj.semanticDimensions !== undefined) {
|
|
4555
4763
|
const obj_semanticDimensions = obj.semanticDimensions;
|
|
4556
4764
|
const path_semanticDimensions = path + '.semanticDimensions';
|
|
@@ -4560,7 +4768,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4560
4768
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
4561
4769
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
4562
4770
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
4563
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
4771
|
+
const referencepath_semanticDimensions_itemValidationError = validate$y(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
4564
4772
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
4565
4773
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
4566
4774
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4584,7 +4792,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4584
4792
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
4585
4793
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
4586
4794
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
4587
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
4795
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$x(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
4588
4796
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
4589
4797
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
4590
4798
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4613,6 +4821,13 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4613
4821
|
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
4614
4822
|
}
|
|
4615
4823
|
}
|
|
4824
|
+
if (obj.unmapped !== undefined) {
|
|
4825
|
+
const obj_unmapped = obj.unmapped;
|
|
4826
|
+
const path_unmapped = path + '.unmapped';
|
|
4827
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
4828
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
4829
|
+
}
|
|
4830
|
+
}
|
|
4616
4831
|
})();
|
|
4617
4832
|
return v_error === undefined ? null : v_error;
|
|
4618
4833
|
}
|
|
@@ -4629,15 +4844,15 @@ function keyBuilderFromType$9(luvio, object) {
|
|
|
4629
4844
|
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
4630
4845
|
return input;
|
|
4631
4846
|
}
|
|
4632
|
-
const select$
|
|
4847
|
+
const select$H = function SemanticDataObjectOutputRepresentationSelect() {
|
|
4633
4848
|
return {
|
|
4634
4849
|
kind: 'Fragment',
|
|
4635
|
-
version: VERSION$
|
|
4850
|
+
version: VERSION$r,
|
|
4636
4851
|
private: [],
|
|
4637
4852
|
opaque: true
|
|
4638
4853
|
};
|
|
4639
4854
|
};
|
|
4640
|
-
function equals$
|
|
4855
|
+
function equals$r(existing, incoming) {
|
|
4641
4856
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
4642
4857
|
return false;
|
|
4643
4858
|
}
|
|
@@ -4645,14 +4860,14 @@ function equals$t(existing, incoming) {
|
|
|
4645
4860
|
}
|
|
4646
4861
|
const ingest$f = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4647
4862
|
if (process.env.NODE_ENV !== 'production') {
|
|
4648
|
-
const validateError = validate$
|
|
4863
|
+
const validateError = validate$w(input);
|
|
4649
4864
|
if (validateError !== null) {
|
|
4650
4865
|
throw validateError;
|
|
4651
4866
|
}
|
|
4652
4867
|
}
|
|
4653
4868
|
const key = keyBuilderFromType$9(luvio, input);
|
|
4654
4869
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4655
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$
|
|
4870
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$r, RepresentationType$f, equals$r);
|
|
4656
4871
|
return createLink(key);
|
|
4657
4872
|
};
|
|
4658
4873
|
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4665,8 +4880,8 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4665
4880
|
});
|
|
4666
4881
|
}
|
|
4667
4882
|
|
|
4668
|
-
const VERSION$
|
|
4669
|
-
function validate$
|
|
4883
|
+
const VERSION$q = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
4884
|
+
function validate$v(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
4670
4885
|
const v_error = (() => {
|
|
4671
4886
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4672
4887
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4675,10 +4890,10 @@ function validate$w(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
4675
4890
|
})();
|
|
4676
4891
|
return v_error === undefined ? null : v_error;
|
|
4677
4892
|
}
|
|
4678
|
-
const select$
|
|
4893
|
+
const select$G = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
4679
4894
|
return {
|
|
4680
4895
|
kind: 'Fragment',
|
|
4681
|
-
version: VERSION$
|
|
4896
|
+
version: VERSION$q,
|
|
4682
4897
|
private: [],
|
|
4683
4898
|
selections: [
|
|
4684
4899
|
{
|
|
@@ -4688,7 +4903,7 @@ const select$I = function BinDimensionConfigurationOutputRepresentationSelect()
|
|
|
4688
4903
|
]
|
|
4689
4904
|
};
|
|
4690
4905
|
};
|
|
4691
|
-
function equals$
|
|
4906
|
+
function equals$q(existing, incoming) {
|
|
4692
4907
|
const existing_constantBinSize = existing.constantBinSize;
|
|
4693
4908
|
const incoming_constantBinSize = incoming.constantBinSize;
|
|
4694
4909
|
if (!(existing_constantBinSize === incoming_constantBinSize)) {
|
|
@@ -4697,8 +4912,8 @@ function equals$s(existing, incoming) {
|
|
|
4697
4912
|
return true;
|
|
4698
4913
|
}
|
|
4699
4914
|
|
|
4700
|
-
const VERSION$
|
|
4701
|
-
function validate$
|
|
4915
|
+
const VERSION$p = "2cdadcd630abb7b981b2d131880a68c0";
|
|
4916
|
+
function validate$u(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
4702
4917
|
const v_error = (() => {
|
|
4703
4918
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4704
4919
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4725,10 +4940,10 @@ function validate$v(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
4725
4940
|
})();
|
|
4726
4941
|
return v_error === undefined ? null : v_error;
|
|
4727
4942
|
}
|
|
4728
|
-
const select$
|
|
4943
|
+
const select$F = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
4729
4944
|
return {
|
|
4730
4945
|
kind: 'Fragment',
|
|
4731
|
-
version: VERSION$
|
|
4946
|
+
version: VERSION$p,
|
|
4732
4947
|
private: [],
|
|
4733
4948
|
selections: [
|
|
4734
4949
|
{
|
|
@@ -4744,7 +4959,7 @@ const select$H = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
|
4744
4959
|
]
|
|
4745
4960
|
};
|
|
4746
4961
|
};
|
|
4747
|
-
function equals$
|
|
4962
|
+
function equals$p(existing, incoming) {
|
|
4748
4963
|
const existing_name = existing.name;
|
|
4749
4964
|
const incoming_name = incoming.name;
|
|
4750
4965
|
if (!(existing_name === incoming_name)) {
|
|
@@ -4771,8 +4986,8 @@ function equals$r(existing, incoming) {
|
|
|
4771
4986
|
return true;
|
|
4772
4987
|
}
|
|
4773
4988
|
|
|
4774
|
-
const VERSION$
|
|
4775
|
-
function validate$
|
|
4989
|
+
const VERSION$o = "55c60b6207985632192cb4e419822a86";
|
|
4990
|
+
function validate$t(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
4776
4991
|
const v_error = (() => {
|
|
4777
4992
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4778
4993
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4786,7 +5001,7 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
4786
5001
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
4787
5002
|
const obj_groups_item = obj_groups[i];
|
|
4788
5003
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
4789
|
-
const referencepath_groups_itemValidationError = validate$
|
|
5004
|
+
const referencepath_groups_itemValidationError = validate$u(obj_groups_item, path_groups_item);
|
|
4790
5005
|
if (referencepath_groups_itemValidationError !== null) {
|
|
4791
5006
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
4792
5007
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4804,11 +5019,11 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
4804
5019
|
})();
|
|
4805
5020
|
return v_error === undefined ? null : v_error;
|
|
4806
5021
|
}
|
|
4807
|
-
const select$
|
|
4808
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
5022
|
+
const select$E = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
5023
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$F();
|
|
4809
5024
|
return {
|
|
4810
5025
|
kind: 'Fragment',
|
|
4811
|
-
version: VERSION$
|
|
5026
|
+
version: VERSION$o,
|
|
4812
5027
|
private: [],
|
|
4813
5028
|
selections: [
|
|
4814
5029
|
{
|
|
@@ -4826,7 +5041,7 @@ const select$G = function GroupDimensionConfigurationOutputRepresentationSelect(
|
|
|
4826
5041
|
]
|
|
4827
5042
|
};
|
|
4828
5043
|
};
|
|
4829
|
-
function equals$
|
|
5044
|
+
function equals$o(existing, incoming) {
|
|
4830
5045
|
const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
|
|
4831
5046
|
const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
|
|
4832
5047
|
// if at least one of these optionals is defined
|
|
@@ -4850,7 +5065,7 @@ function equals$q(existing, incoming) {
|
|
|
4850
5065
|
return false;
|
|
4851
5066
|
}
|
|
4852
5067
|
const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
|
|
4853
|
-
if (!(equals$
|
|
5068
|
+
if (!(equals$p(existing_groups_item, incoming_groups_item))) {
|
|
4854
5069
|
return false;
|
|
4855
5070
|
}
|
|
4856
5071
|
});
|
|
@@ -4861,8 +5076,8 @@ function equals$q(existing, incoming) {
|
|
|
4861
5076
|
return true;
|
|
4862
5077
|
}
|
|
4863
5078
|
|
|
4864
|
-
const VERSION$
|
|
4865
|
-
function validate$
|
|
5079
|
+
const VERSION$n = "50dc390b159159afb1945b9a811c9f80";
|
|
5080
|
+
function validate$s(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
4866
5081
|
const v_error = (() => {
|
|
4867
5082
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4868
5083
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4870,7 +5085,7 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
4870
5085
|
if (obj.binDimension !== undefined) {
|
|
4871
5086
|
const obj_binDimension = obj.binDimension;
|
|
4872
5087
|
const path_binDimension = path + '.binDimension';
|
|
4873
|
-
const referencepath_binDimensionValidationError = validate$
|
|
5088
|
+
const referencepath_binDimensionValidationError = validate$v(obj_binDimension, path_binDimension);
|
|
4874
5089
|
if (referencepath_binDimensionValidationError !== null) {
|
|
4875
5090
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
4876
5091
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4880,7 +5095,7 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
4880
5095
|
if (obj.groupDimension !== undefined) {
|
|
4881
5096
|
const obj_groupDimension = obj.groupDimension;
|
|
4882
5097
|
const path_groupDimension = path + '.groupDimension';
|
|
4883
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
5098
|
+
const referencepath_groupDimensionValidationError = validate$t(obj_groupDimension, path_groupDimension);
|
|
4884
5099
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
4885
5100
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
4886
5101
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4890,12 +5105,12 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
4890
5105
|
})();
|
|
4891
5106
|
return v_error === undefined ? null : v_error;
|
|
4892
5107
|
}
|
|
4893
|
-
const select$
|
|
4894
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
4895
|
-
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
5108
|
+
const select$D = function SemanticGroupingConfigurationOutputRepresentationSelect() {
|
|
5109
|
+
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$G();
|
|
5110
|
+
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$E();
|
|
4896
5111
|
return {
|
|
4897
5112
|
kind: 'Fragment',
|
|
4898
|
-
version: VERSION$
|
|
5113
|
+
version: VERSION$n,
|
|
4899
5114
|
private: [],
|
|
4900
5115
|
selections: [
|
|
4901
5116
|
{
|
|
@@ -4913,7 +5128,7 @@ const select$F = function SemanticGroupingConfigurationOutputRepresentationSelec
|
|
|
4913
5128
|
]
|
|
4914
5129
|
};
|
|
4915
5130
|
};
|
|
4916
|
-
function equals$
|
|
5131
|
+
function equals$n(existing, incoming) {
|
|
4917
5132
|
const existing_binDimension = existing.binDimension;
|
|
4918
5133
|
const incoming_binDimension = incoming.binDimension;
|
|
4919
5134
|
// if at least one of these optionals is defined
|
|
@@ -4923,7 +5138,7 @@ function equals$p(existing, incoming) {
|
|
|
4923
5138
|
if (existing_binDimension === undefined || incoming_binDimension === undefined) {
|
|
4924
5139
|
return false;
|
|
4925
5140
|
}
|
|
4926
|
-
if (!(equals$
|
|
5141
|
+
if (!(equals$q(existing_binDimension, incoming_binDimension))) {
|
|
4927
5142
|
return false;
|
|
4928
5143
|
}
|
|
4929
5144
|
}
|
|
@@ -4936,15 +5151,15 @@ function equals$p(existing, incoming) {
|
|
|
4936
5151
|
if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
|
|
4937
5152
|
return false;
|
|
4938
5153
|
}
|
|
4939
|
-
if (!(equals$
|
|
5154
|
+
if (!(equals$o(existing_groupDimension, incoming_groupDimension))) {
|
|
4940
5155
|
return false;
|
|
4941
5156
|
}
|
|
4942
5157
|
}
|
|
4943
5158
|
return true;
|
|
4944
5159
|
}
|
|
4945
5160
|
|
|
4946
|
-
const VERSION$
|
|
4947
|
-
function validate$
|
|
5161
|
+
const VERSION$m = "a2976cd68e629a917463a3b690cf2527";
|
|
5162
|
+
function validate$r(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
4948
5163
|
const v_error = (() => {
|
|
4949
5164
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4950
5165
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4966,10 +5181,10 @@ function validate$s(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
|
|
|
4966
5181
|
})();
|
|
4967
5182
|
return v_error === undefined ? null : v_error;
|
|
4968
5183
|
}
|
|
4969
|
-
const select$
|
|
5184
|
+
const select$C = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
4970
5185
|
return {
|
|
4971
5186
|
kind: 'Fragment',
|
|
4972
|
-
version: VERSION$
|
|
5187
|
+
version: VERSION$m,
|
|
4973
5188
|
private: [],
|
|
4974
5189
|
selections: [
|
|
4975
5190
|
{
|
|
@@ -4985,7 +5200,7 @@ const select$E = function SemanticTableFieldReferenceOutputRepresentationSelect(
|
|
|
4985
5200
|
]
|
|
4986
5201
|
};
|
|
4987
5202
|
};
|
|
4988
|
-
function equals$
|
|
5203
|
+
function equals$m(existing, incoming) {
|
|
4989
5204
|
const existing_fieldApiName = existing.fieldApiName;
|
|
4990
5205
|
const incoming_fieldApiName = incoming.fieldApiName;
|
|
4991
5206
|
// if at least one of these optionals is defined
|
|
@@ -5015,8 +5230,8 @@ function equals$o(existing, incoming) {
|
|
|
5015
5230
|
return true;
|
|
5016
5231
|
}
|
|
5017
5232
|
|
|
5018
|
-
const VERSION$
|
|
5019
|
-
function validate$
|
|
5233
|
+
const VERSION$l = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
5234
|
+
function validate$q(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
5020
5235
|
const v_error = (() => {
|
|
5021
5236
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5022
5237
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5031,7 +5246,7 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
5031
5246
|
if (obj.tableFieldReference !== undefined) {
|
|
5032
5247
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
5033
5248
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
5034
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
5249
|
+
const referencepath_tableFieldReferenceValidationError = validate$r(obj_tableFieldReference, path_tableFieldReference);
|
|
5035
5250
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
5036
5251
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
5037
5252
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5041,11 +5256,11 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
5041
5256
|
})();
|
|
5042
5257
|
return v_error === undefined ? null : v_error;
|
|
5043
5258
|
}
|
|
5044
|
-
const select$
|
|
5045
|
-
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$
|
|
5259
|
+
const select$B = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
5260
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
5046
5261
|
return {
|
|
5047
5262
|
kind: 'Fragment',
|
|
5048
|
-
version: VERSION$
|
|
5263
|
+
version: VERSION$l,
|
|
5049
5264
|
private: [],
|
|
5050
5265
|
selections: [
|
|
5051
5266
|
{
|
|
@@ -5062,7 +5277,7 @@ const select$D = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
|
5062
5277
|
]
|
|
5063
5278
|
};
|
|
5064
5279
|
};
|
|
5065
|
-
function equals$
|
|
5280
|
+
function equals$l(existing, incoming) {
|
|
5066
5281
|
const existing_calculatedFieldApiName = existing.calculatedFieldApiName;
|
|
5067
5282
|
const incoming_calculatedFieldApiName = incoming.calculatedFieldApiName;
|
|
5068
5283
|
// if at least one of these optionals is defined
|
|
@@ -5085,15 +5300,15 @@ function equals$n(existing, incoming) {
|
|
|
5085
5300
|
if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
|
|
5086
5301
|
return false;
|
|
5087
5302
|
}
|
|
5088
|
-
if (!(equals$
|
|
5303
|
+
if (!(equals$m(existing_tableFieldReference, incoming_tableFieldReference))) {
|
|
5089
5304
|
return false;
|
|
5090
5305
|
}
|
|
5091
5306
|
}
|
|
5092
5307
|
return true;
|
|
5093
5308
|
}
|
|
5094
5309
|
|
|
5095
|
-
const VERSION$
|
|
5096
|
-
function validate$
|
|
5310
|
+
const VERSION$k = "5ea5deda92fee8aa624509290ef6cf1c";
|
|
5311
|
+
function validate$p(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
5097
5312
|
const v_error = (() => {
|
|
5098
5313
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5099
5314
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5119,7 +5334,7 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5119
5334
|
}
|
|
5120
5335
|
const obj_configuration = obj.configuration;
|
|
5121
5336
|
const path_configuration = path + '.configuration';
|
|
5122
|
-
const referencepath_configurationValidationError = validate$
|
|
5337
|
+
const referencepath_configurationValidationError = validate$s(obj_configuration, path_configuration);
|
|
5123
5338
|
if (referencepath_configurationValidationError !== null) {
|
|
5124
5339
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
5125
5340
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5144,7 +5359,7 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5144
5359
|
}
|
|
5145
5360
|
const obj_fieldReference = obj.fieldReference;
|
|
5146
5361
|
const path_fieldReference = path + '.fieldReference';
|
|
5147
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
5362
|
+
const referencepath_fieldReferenceValidationError = validate$q(obj_fieldReference, path_fieldReference);
|
|
5148
5363
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
5149
5364
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
5150
5365
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5155,6 +5370,13 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5155
5370
|
if (typeof obj_id !== 'string') {
|
|
5156
5371
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
5157
5372
|
}
|
|
5373
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
5374
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
5375
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
5376
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
5377
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
5378
|
+
}
|
|
5379
|
+
}
|
|
5158
5380
|
if (obj.label !== undefined) {
|
|
5159
5381
|
const obj_label = obj.label;
|
|
5160
5382
|
const path_label = path + '.label';
|
|
@@ -5181,6 +5403,13 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5181
5403
|
if (typeof obj_type !== 'string') {
|
|
5182
5404
|
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
5183
5405
|
}
|
|
5406
|
+
if (obj.unmapped !== undefined) {
|
|
5407
|
+
const obj_unmapped = obj.unmapped;
|
|
5408
|
+
const path_unmapped = path + '.unmapped';
|
|
5409
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
5410
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
5411
|
+
}
|
|
5412
|
+
}
|
|
5184
5413
|
})();
|
|
5185
5414
|
return v_error === undefined ? null : v_error;
|
|
5186
5415
|
}
|
|
@@ -5197,12 +5426,12 @@ function keyBuilderFromType$8(luvio, object) {
|
|
|
5197
5426
|
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
5198
5427
|
return input;
|
|
5199
5428
|
}
|
|
5200
|
-
const select$
|
|
5201
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
5202
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
5429
|
+
const select$A = function SemanticGroupingOutputRepresentationSelect() {
|
|
5430
|
+
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$D();
|
|
5431
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
5203
5432
|
return {
|
|
5204
5433
|
kind: 'Fragment',
|
|
5205
|
-
version: VERSION$
|
|
5434
|
+
version: VERSION$k,
|
|
5206
5435
|
private: [],
|
|
5207
5436
|
selections: [
|
|
5208
5437
|
{
|
|
@@ -5246,6 +5475,11 @@ const select$C = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
5246
5475
|
name: 'id',
|
|
5247
5476
|
kind: 'Scalar'
|
|
5248
5477
|
},
|
|
5478
|
+
{
|
|
5479
|
+
name: 'isSystemDefinition',
|
|
5480
|
+
kind: 'Scalar',
|
|
5481
|
+
required: false
|
|
5482
|
+
},
|
|
5249
5483
|
{
|
|
5250
5484
|
name: 'label',
|
|
5251
5485
|
kind: 'Scalar',
|
|
@@ -5264,11 +5498,42 @@ const select$C = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
5264
5498
|
{
|
|
5265
5499
|
name: 'type',
|
|
5266
5500
|
kind: 'Scalar'
|
|
5501
|
+
},
|
|
5502
|
+
{
|
|
5503
|
+
name: 'unmapped',
|
|
5504
|
+
kind: 'Scalar',
|
|
5505
|
+
required: false
|
|
5267
5506
|
}
|
|
5268
5507
|
]
|
|
5269
5508
|
};
|
|
5270
5509
|
};
|
|
5271
|
-
function equals$
|
|
5510
|
+
function equals$k(existing, incoming) {
|
|
5511
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
5512
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
5513
|
+
// if at least one of these optionals is defined
|
|
5514
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
5515
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5516
|
+
// not equal
|
|
5517
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
5518
|
+
return false;
|
|
5519
|
+
}
|
|
5520
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
5521
|
+
return false;
|
|
5522
|
+
}
|
|
5523
|
+
}
|
|
5524
|
+
const existing_unmapped = existing.unmapped;
|
|
5525
|
+
const incoming_unmapped = incoming.unmapped;
|
|
5526
|
+
// if at least one of these optionals is defined
|
|
5527
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
5528
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5529
|
+
// not equal
|
|
5530
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
5531
|
+
return false;
|
|
5532
|
+
}
|
|
5533
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
5534
|
+
return false;
|
|
5535
|
+
}
|
|
5536
|
+
}
|
|
5272
5537
|
const existing_apiName = existing.apiName;
|
|
5273
5538
|
const incoming_apiName = incoming.apiName;
|
|
5274
5539
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -5374,26 +5639,26 @@ function equals$m(existing, incoming) {
|
|
|
5374
5639
|
}
|
|
5375
5640
|
const existing_configuration = existing.configuration;
|
|
5376
5641
|
const incoming_configuration = incoming.configuration;
|
|
5377
|
-
if (!(equals$
|
|
5642
|
+
if (!(equals$n(existing_configuration, incoming_configuration))) {
|
|
5378
5643
|
return false;
|
|
5379
5644
|
}
|
|
5380
5645
|
const existing_fieldReference = existing.fieldReference;
|
|
5381
5646
|
const incoming_fieldReference = incoming.fieldReference;
|
|
5382
|
-
if (!(equals$
|
|
5647
|
+
if (!(equals$l(existing_fieldReference, incoming_fieldReference))) {
|
|
5383
5648
|
return false;
|
|
5384
5649
|
}
|
|
5385
5650
|
return true;
|
|
5386
5651
|
}
|
|
5387
5652
|
const ingest$e = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5388
5653
|
if (process.env.NODE_ENV !== 'production') {
|
|
5389
|
-
const validateError = validate$
|
|
5654
|
+
const validateError = validate$p(input);
|
|
5390
5655
|
if (validateError !== null) {
|
|
5391
5656
|
throw validateError;
|
|
5392
5657
|
}
|
|
5393
5658
|
}
|
|
5394
5659
|
const key = keyBuilderFromType$8(luvio, input);
|
|
5395
5660
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5396
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$
|
|
5661
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$k, RepresentationType$e, equals$k);
|
|
5397
5662
|
return createLink(key);
|
|
5398
5663
|
};
|
|
5399
5664
|
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5406,8 +5671,8 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5406
5671
|
});
|
|
5407
5672
|
}
|
|
5408
5673
|
|
|
5409
|
-
const VERSION$
|
|
5410
|
-
function validate$
|
|
5674
|
+
const VERSION$j = "c5144c317ac72b60d580cab803514b8d";
|
|
5675
|
+
function validate$o(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
5411
5676
|
const v_error = (() => {
|
|
5412
5677
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5413
5678
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5450,10 +5715,10 @@ function validate$p(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
5450
5715
|
})();
|
|
5451
5716
|
return v_error === undefined ? null : v_error;
|
|
5452
5717
|
}
|
|
5453
|
-
const select$
|
|
5718
|
+
const select$z = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
5454
5719
|
return {
|
|
5455
5720
|
kind: 'Fragment',
|
|
5456
|
-
version: VERSION$
|
|
5721
|
+
version: VERSION$j,
|
|
5457
5722
|
private: [],
|
|
5458
5723
|
selections: [
|
|
5459
5724
|
{
|
|
@@ -5484,7 +5749,7 @@ const select$B = function SemanticRelationshipCriteriaOutputRepresentationSelect
|
|
|
5484
5749
|
]
|
|
5485
5750
|
};
|
|
5486
5751
|
};
|
|
5487
|
-
function equals$
|
|
5752
|
+
function equals$j(existing, incoming) {
|
|
5488
5753
|
const existing_joinOperator = existing.joinOperator;
|
|
5489
5754
|
const incoming_joinOperator = incoming.joinOperator;
|
|
5490
5755
|
// if at least one of these optionals is defined
|
|
@@ -5553,8 +5818,8 @@ function equals$l(existing, incoming) {
|
|
|
5553
5818
|
return true;
|
|
5554
5819
|
}
|
|
5555
5820
|
|
|
5556
|
-
const VERSION$
|
|
5557
|
-
function validate$
|
|
5821
|
+
const VERSION$i = "8c02af844319b9d5bd1c08e30e3ca8dd";
|
|
5822
|
+
function validate$n(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
5558
5823
|
const v_error = (() => {
|
|
5559
5824
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5560
5825
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5604,7 +5869,7 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5604
5869
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
5605
5870
|
const obj_criteria_item = obj_criteria[i];
|
|
5606
5871
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
5607
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
5872
|
+
const referencepath_criteria_itemValidationError = validate$o(obj_criteria_item, path_criteria_item);
|
|
5608
5873
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
5609
5874
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
5610
5875
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5631,6 +5896,13 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5631
5896
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isEnabled + '" (at "' + path_isEnabled + '")');
|
|
5632
5897
|
}
|
|
5633
5898
|
}
|
|
5899
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
5900
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
5901
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
5902
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
5903
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
5904
|
+
}
|
|
5905
|
+
}
|
|
5634
5906
|
if (obj.joinType !== undefined) {
|
|
5635
5907
|
const obj_joinType = obj.joinType;
|
|
5636
5908
|
const path_joinType = path + '.joinType';
|
|
@@ -5680,6 +5952,13 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5680
5952
|
return new TypeError('Expected "string" but received "' + typeof obj_rightSemanticDefinitionApiName + '" (at "' + path_rightSemanticDefinitionApiName + '")');
|
|
5681
5953
|
}
|
|
5682
5954
|
}
|
|
5955
|
+
if (obj.unmapped !== undefined) {
|
|
5956
|
+
const obj_unmapped = obj.unmapped;
|
|
5957
|
+
const path_unmapped = path + '.unmapped';
|
|
5958
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
5959
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
5960
|
+
}
|
|
5961
|
+
}
|
|
5683
5962
|
})();
|
|
5684
5963
|
return v_error === undefined ? null : v_error;
|
|
5685
5964
|
}
|
|
@@ -5696,11 +5975,11 @@ function keyBuilderFromType$7(luvio, object) {
|
|
|
5696
5975
|
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
5697
5976
|
return input;
|
|
5698
5977
|
}
|
|
5699
|
-
const select$
|
|
5700
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
5978
|
+
const select$y = function SemanticRelationshipOutputRepresentationSelect() {
|
|
5979
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$z();
|
|
5701
5980
|
return {
|
|
5702
5981
|
kind: 'Fragment',
|
|
5703
|
-
version: VERSION$
|
|
5982
|
+
version: VERSION$i,
|
|
5704
5983
|
private: [],
|
|
5705
5984
|
selections: [
|
|
5706
5985
|
{
|
|
@@ -5751,6 +6030,11 @@ const select$A = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
5751
6030
|
kind: 'Scalar',
|
|
5752
6031
|
required: false
|
|
5753
6032
|
},
|
|
6033
|
+
{
|
|
6034
|
+
name: 'isSystemDefinition',
|
|
6035
|
+
kind: 'Scalar',
|
|
6036
|
+
required: false
|
|
6037
|
+
},
|
|
5754
6038
|
{
|
|
5755
6039
|
name: 'joinType',
|
|
5756
6040
|
kind: 'Scalar',
|
|
@@ -5785,11 +6069,16 @@ const select$A = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
5785
6069
|
name: 'rightSemanticDefinitionApiName',
|
|
5786
6070
|
kind: 'Scalar',
|
|
5787
6071
|
required: false
|
|
6072
|
+
},
|
|
6073
|
+
{
|
|
6074
|
+
name: 'unmapped',
|
|
6075
|
+
kind: 'Scalar',
|
|
6076
|
+
required: false
|
|
5788
6077
|
}
|
|
5789
6078
|
]
|
|
5790
6079
|
};
|
|
5791
6080
|
};
|
|
5792
|
-
function equals$
|
|
6081
|
+
function equals$i(existing, incoming) {
|
|
5793
6082
|
const existing_isEnabled = existing.isEnabled;
|
|
5794
6083
|
const incoming_isEnabled = incoming.isEnabled;
|
|
5795
6084
|
// if at least one of these optionals is defined
|
|
@@ -5803,6 +6092,32 @@ function equals$k(existing, incoming) {
|
|
|
5803
6092
|
return false;
|
|
5804
6093
|
}
|
|
5805
6094
|
}
|
|
6095
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
6096
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
6097
|
+
// if at least one of these optionals is defined
|
|
6098
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
6099
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6100
|
+
// not equal
|
|
6101
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
6102
|
+
return false;
|
|
6103
|
+
}
|
|
6104
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
6105
|
+
return false;
|
|
6106
|
+
}
|
|
6107
|
+
}
|
|
6108
|
+
const existing_unmapped = existing.unmapped;
|
|
6109
|
+
const incoming_unmapped = incoming.unmapped;
|
|
6110
|
+
// if at least one of these optionals is defined
|
|
6111
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
6112
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6113
|
+
// not equal
|
|
6114
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
6115
|
+
return false;
|
|
6116
|
+
}
|
|
6117
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
6118
|
+
return false;
|
|
6119
|
+
}
|
|
6120
|
+
}
|
|
5806
6121
|
const existing_apiName = existing.apiName;
|
|
5807
6122
|
const incoming_apiName = incoming.apiName;
|
|
5808
6123
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -5976,7 +6291,7 @@ function equals$k(existing, incoming) {
|
|
|
5976
6291
|
return false;
|
|
5977
6292
|
}
|
|
5978
6293
|
const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
|
|
5979
|
-
if (!(equals$
|
|
6294
|
+
if (!(equals$j(existing_criteria_item, incoming_criteria_item))) {
|
|
5980
6295
|
return false;
|
|
5981
6296
|
}
|
|
5982
6297
|
});
|
|
@@ -5988,14 +6303,14 @@ function equals$k(existing, incoming) {
|
|
|
5988
6303
|
}
|
|
5989
6304
|
const ingest$d = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5990
6305
|
if (process.env.NODE_ENV !== 'production') {
|
|
5991
|
-
const validateError = validate$
|
|
6306
|
+
const validateError = validate$n(input);
|
|
5992
6307
|
if (validateError !== null) {
|
|
5993
6308
|
throw validateError;
|
|
5994
6309
|
}
|
|
5995
6310
|
}
|
|
5996
6311
|
const key = keyBuilderFromType$7(luvio, input);
|
|
5997
6312
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5998
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$
|
|
6313
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$i, RepresentationType$d, equals$i);
|
|
5999
6314
|
return createLink(key);
|
|
6000
6315
|
};
|
|
6001
6316
|
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6008,8 +6323,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6008
6323
|
});
|
|
6009
6324
|
}
|
|
6010
6325
|
|
|
6011
|
-
const VERSION$
|
|
6012
|
-
function validate$
|
|
6326
|
+
const VERSION$h = "fddfb9284fc64c70f7d0debf4af30c95";
|
|
6327
|
+
function validate$m(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
6013
6328
|
const v_error = (() => {
|
|
6014
6329
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6015
6330
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6059,7 +6374,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6059
6374
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
6060
6375
|
const obj_fields_item = obj_fields[i];
|
|
6061
6376
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
6062
|
-
const referencepath_fields_itemValidationError = validate$
|
|
6377
|
+
const referencepath_fields_itemValidationError = validate$r(obj_fields_item, path_fields_item);
|
|
6063
6378
|
if (referencepath_fields_itemValidationError !== null) {
|
|
6064
6379
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
6065
6380
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6072,6 +6387,13 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6072
6387
|
if (typeof obj_id !== 'string') {
|
|
6073
6388
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
6074
6389
|
}
|
|
6390
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
6391
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
6392
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
6393
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
6394
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
6395
|
+
}
|
|
6396
|
+
}
|
|
6075
6397
|
if (obj.label !== undefined) {
|
|
6076
6398
|
const obj_label = obj.label;
|
|
6077
6399
|
const path_label = path + '.label';
|
|
@@ -6103,7 +6425,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6103
6425
|
if (obj.semanticDimension !== undefined) {
|
|
6104
6426
|
const obj_semanticDimension = obj.semanticDimension;
|
|
6105
6427
|
const path_semanticDimension = path + '.semanticDimension';
|
|
6106
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
6428
|
+
const referencepath_semanticDimensionValidationError = validate$y(obj_semanticDimension, path_semanticDimension);
|
|
6107
6429
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
6108
6430
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
6109
6431
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6113,13 +6435,20 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6113
6435
|
if (obj.semanticMeasurement !== undefined) {
|
|
6114
6436
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
6115
6437
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
6116
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
6438
|
+
const referencepath_semanticMeasurementValidationError = validate$x(obj_semanticMeasurement, path_semanticMeasurement);
|
|
6117
6439
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
6118
6440
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
6119
6441
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
6120
6442
|
return new TypeError(message);
|
|
6121
6443
|
}
|
|
6122
6444
|
}
|
|
6445
|
+
if (obj.unmapped !== undefined) {
|
|
6446
|
+
const obj_unmapped = obj.unmapped;
|
|
6447
|
+
const path_unmapped = path + '.unmapped';
|
|
6448
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
6449
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
6450
|
+
}
|
|
6451
|
+
}
|
|
6123
6452
|
})();
|
|
6124
6453
|
return v_error === undefined ? null : v_error;
|
|
6125
6454
|
}
|
|
@@ -6136,15 +6465,15 @@ function keyBuilderFromType$6(luvio, object) {
|
|
|
6136
6465
|
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
6137
6466
|
return input;
|
|
6138
6467
|
}
|
|
6139
|
-
const select$
|
|
6468
|
+
const select$x = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
6140
6469
|
return {
|
|
6141
6470
|
kind: 'Fragment',
|
|
6142
|
-
version: VERSION$
|
|
6471
|
+
version: VERSION$h,
|
|
6143
6472
|
private: [],
|
|
6144
6473
|
opaque: true
|
|
6145
6474
|
};
|
|
6146
6475
|
};
|
|
6147
|
-
function equals$
|
|
6476
|
+
function equals$h(existing, incoming) {
|
|
6148
6477
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
6149
6478
|
return false;
|
|
6150
6479
|
}
|
|
@@ -6152,14 +6481,14 @@ function equals$j(existing, incoming) {
|
|
|
6152
6481
|
}
|
|
6153
6482
|
const ingest$c = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6154
6483
|
if (process.env.NODE_ENV !== 'production') {
|
|
6155
|
-
const validateError = validate$
|
|
6484
|
+
const validateError = validate$m(input);
|
|
6156
6485
|
if (validateError !== null) {
|
|
6157
6486
|
throw validateError;
|
|
6158
6487
|
}
|
|
6159
6488
|
}
|
|
6160
6489
|
const key = keyBuilderFromType$6(luvio, input);
|
|
6161
6490
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6162
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$
|
|
6491
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$h, RepresentationType$c, equals$h);
|
|
6163
6492
|
return createLink(key);
|
|
6164
6493
|
};
|
|
6165
6494
|
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6172,8 +6501,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6172
6501
|
});
|
|
6173
6502
|
}
|
|
6174
6503
|
|
|
6175
|
-
const VERSION$
|
|
6176
|
-
function validate$
|
|
6504
|
+
const VERSION$g = "69fe23112140e9fae50135dcb15c24c2";
|
|
6505
|
+
function validate$l(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
6177
6506
|
const v_error = (() => {
|
|
6178
6507
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6179
6508
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6348,10 +6677,10 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
|
6348
6677
|
}
|
|
6349
6678
|
return input;
|
|
6350
6679
|
}
|
|
6351
|
-
const select$
|
|
6680
|
+
const select$w = function SemanticUnionOutputRepresentationSelect() {
|
|
6352
6681
|
return {
|
|
6353
6682
|
kind: 'Fragment',
|
|
6354
|
-
version: VERSION$
|
|
6683
|
+
version: VERSION$g,
|
|
6355
6684
|
private: [],
|
|
6356
6685
|
selections: [
|
|
6357
6686
|
{
|
|
@@ -6410,19 +6739,19 @@ const select$y = function SemanticUnionOutputRepresentationSelect() {
|
|
|
6410
6739
|
kind: 'Link',
|
|
6411
6740
|
plural: true,
|
|
6412
6741
|
required: false,
|
|
6413
|
-
fragment: select$
|
|
6742
|
+
fragment: select$H()
|
|
6414
6743
|
},
|
|
6415
6744
|
{
|
|
6416
6745
|
name: 'semanticMappedFields',
|
|
6417
6746
|
kind: 'Link',
|
|
6418
6747
|
plural: true,
|
|
6419
6748
|
required: false,
|
|
6420
|
-
fragment: select$
|
|
6749
|
+
fragment: select$x()
|
|
6421
6750
|
}
|
|
6422
6751
|
]
|
|
6423
6752
|
};
|
|
6424
6753
|
};
|
|
6425
|
-
function equals$
|
|
6754
|
+
function equals$g(existing, incoming) {
|
|
6426
6755
|
const existing_apiName = existing.apiName;
|
|
6427
6756
|
const incoming_apiName = incoming.apiName;
|
|
6428
6757
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -6574,14 +6903,14 @@ function equals$i(existing, incoming) {
|
|
|
6574
6903
|
}
|
|
6575
6904
|
const ingest$b = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6576
6905
|
if (process.env.NODE_ENV !== 'production') {
|
|
6577
|
-
const validateError = validate$
|
|
6906
|
+
const validateError = validate$l(input);
|
|
6578
6907
|
if (validateError !== null) {
|
|
6579
6908
|
throw validateError;
|
|
6580
6909
|
}
|
|
6581
6910
|
}
|
|
6582
6911
|
const key = keyBuilderFromType$5(luvio, input);
|
|
6583
6912
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6584
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$
|
|
6913
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$g, RepresentationType$b, equals$g);
|
|
6585
6914
|
return createLink(key);
|
|
6586
6915
|
};
|
|
6587
6916
|
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6606,8 +6935,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6606
6935
|
}
|
|
6607
6936
|
}
|
|
6608
6937
|
|
|
6609
|
-
const VERSION$
|
|
6610
|
-
function validate$
|
|
6938
|
+
const VERSION$f = "666dcffd7f5590243626d818d9fa8c18";
|
|
6939
|
+
function validate$k(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
6611
6940
|
const v_error = (() => {
|
|
6612
6941
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6613
6942
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6671,7 +7000,7 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6671
7000
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
6672
7001
|
const obj_filters_item = obj_filters[i];
|
|
6673
7002
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
6674
|
-
const referencepath_filters_itemValidationError = validate$
|
|
7003
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
6675
7004
|
if (referencepath_filters_itemValidationError !== null) {
|
|
6676
7005
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
6677
7006
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6684,6 +7013,13 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6684
7013
|
if (typeof obj_id !== 'string') {
|
|
6685
7014
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
6686
7015
|
}
|
|
7016
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
7017
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
7018
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
7019
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
7020
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
7021
|
+
}
|
|
7022
|
+
}
|
|
6687
7023
|
if (obj.label !== undefined) {
|
|
6688
7024
|
const obj_label = obj.label;
|
|
6689
7025
|
const path_label = path + '.label';
|
|
@@ -6705,6 +7041,13 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6705
7041
|
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
6706
7042
|
}
|
|
6707
7043
|
}
|
|
7044
|
+
if (obj.primaryNameField !== undefined) {
|
|
7045
|
+
const obj_primaryNameField = obj.primaryNameField;
|
|
7046
|
+
const path_primaryNameField = path + '.primaryNameField';
|
|
7047
|
+
if (typeof obj_primaryNameField !== 'string') {
|
|
7048
|
+
return new TypeError('Expected "string" but received "' + typeof obj_primaryNameField + '" (at "' + path_primaryNameField + '")');
|
|
7049
|
+
}
|
|
7050
|
+
}
|
|
6708
7051
|
if (obj.semanticDataObjects !== undefined) {
|
|
6709
7052
|
const obj_semanticDataObjects = obj.semanticDataObjects;
|
|
6710
7053
|
const path_semanticDataObjects = path + '.semanticDataObjects';
|
|
@@ -6761,6 +7104,13 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6761
7104
|
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
6762
7105
|
}
|
|
6763
7106
|
}
|
|
7107
|
+
if (obj.unmapped !== undefined) {
|
|
7108
|
+
const obj_unmapped = obj.unmapped;
|
|
7109
|
+
const path_unmapped = path + '.unmapped';
|
|
7110
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
7111
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
7112
|
+
}
|
|
7113
|
+
}
|
|
6764
7114
|
})();
|
|
6765
7115
|
return v_error === undefined ? null : v_error;
|
|
6766
7116
|
}
|
|
@@ -6831,11 +7181,11 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
6831
7181
|
}
|
|
6832
7182
|
return input;
|
|
6833
7183
|
}
|
|
6834
|
-
const select$
|
|
6835
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
7184
|
+
const select$v = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
7185
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
6836
7186
|
return {
|
|
6837
7187
|
kind: 'Fragment',
|
|
6838
|
-
version: VERSION$
|
|
7188
|
+
version: VERSION$f,
|
|
6839
7189
|
private: [],
|
|
6840
7190
|
selections: [
|
|
6841
7191
|
{
|
|
@@ -6886,6 +7236,11 @@ const select$x = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
6886
7236
|
name: 'id',
|
|
6887
7237
|
kind: 'Scalar'
|
|
6888
7238
|
},
|
|
7239
|
+
{
|
|
7240
|
+
name: 'isSystemDefinition',
|
|
7241
|
+
kind: 'Scalar',
|
|
7242
|
+
required: false
|
|
7243
|
+
},
|
|
6889
7244
|
{
|
|
6890
7245
|
name: 'label',
|
|
6891
7246
|
kind: 'Scalar',
|
|
@@ -6901,26 +7256,31 @@ const select$x = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
6901
7256
|
kind: 'Scalar',
|
|
6902
7257
|
required: false
|
|
6903
7258
|
},
|
|
7259
|
+
{
|
|
7260
|
+
name: 'primaryNameField',
|
|
7261
|
+
kind: 'Scalar',
|
|
7262
|
+
required: false
|
|
7263
|
+
},
|
|
6904
7264
|
{
|
|
6905
7265
|
name: 'semanticDataObjects',
|
|
6906
7266
|
kind: 'Link',
|
|
6907
7267
|
plural: true,
|
|
6908
7268
|
required: false,
|
|
6909
|
-
fragment: select$
|
|
7269
|
+
fragment: select$H()
|
|
6910
7270
|
},
|
|
6911
7271
|
{
|
|
6912
7272
|
name: 'semanticRelationships',
|
|
6913
7273
|
kind: 'Link',
|
|
6914
7274
|
plural: true,
|
|
6915
7275
|
required: false,
|
|
6916
|
-
fragment: select$
|
|
7276
|
+
fragment: select$y()
|
|
6917
7277
|
},
|
|
6918
7278
|
{
|
|
6919
7279
|
name: 'semanticUnions',
|
|
6920
7280
|
kind: 'Link',
|
|
6921
7281
|
plural: true,
|
|
6922
7282
|
required: false,
|
|
6923
|
-
fragment: select$
|
|
7283
|
+
fragment: select$w()
|
|
6924
7284
|
},
|
|
6925
7285
|
{
|
|
6926
7286
|
name: 'semanticViewTypeEnum',
|
|
@@ -6931,11 +7291,42 @@ const select$x = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
6931
7291
|
name: 'tableType',
|
|
6932
7292
|
kind: 'Scalar',
|
|
6933
7293
|
required: false
|
|
7294
|
+
},
|
|
7295
|
+
{
|
|
7296
|
+
name: 'unmapped',
|
|
7297
|
+
kind: 'Scalar',
|
|
7298
|
+
required: false
|
|
6934
7299
|
}
|
|
6935
7300
|
]
|
|
6936
7301
|
};
|
|
6937
7302
|
};
|
|
6938
|
-
function equals$
|
|
7303
|
+
function equals$f(existing, incoming) {
|
|
7304
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
7305
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
7306
|
+
// if at least one of these optionals is defined
|
|
7307
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
7308
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7309
|
+
// not equal
|
|
7310
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
7311
|
+
return false;
|
|
7312
|
+
}
|
|
7313
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
7314
|
+
return false;
|
|
7315
|
+
}
|
|
7316
|
+
}
|
|
7317
|
+
const existing_unmapped = existing.unmapped;
|
|
7318
|
+
const incoming_unmapped = incoming.unmapped;
|
|
7319
|
+
// if at least one of these optionals is defined
|
|
7320
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
7321
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7322
|
+
// not equal
|
|
7323
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
7324
|
+
return false;
|
|
7325
|
+
}
|
|
7326
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
7327
|
+
return false;
|
|
7328
|
+
}
|
|
7329
|
+
}
|
|
6939
7330
|
const existing_apiName = existing.apiName;
|
|
6940
7331
|
const incoming_apiName = incoming.apiName;
|
|
6941
7332
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -7060,6 +7451,19 @@ function equals$h(existing, incoming) {
|
|
|
7060
7451
|
return false;
|
|
7061
7452
|
}
|
|
7062
7453
|
}
|
|
7454
|
+
const existing_primaryNameField = existing.primaryNameField;
|
|
7455
|
+
const incoming_primaryNameField = incoming.primaryNameField;
|
|
7456
|
+
// if at least one of these optionals is defined
|
|
7457
|
+
if (existing_primaryNameField !== undefined || incoming_primaryNameField !== undefined) {
|
|
7458
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7459
|
+
// not equal
|
|
7460
|
+
if (existing_primaryNameField === undefined || incoming_primaryNameField === undefined) {
|
|
7461
|
+
return false;
|
|
7462
|
+
}
|
|
7463
|
+
if (!(existing_primaryNameField === incoming_primaryNameField)) {
|
|
7464
|
+
return false;
|
|
7465
|
+
}
|
|
7466
|
+
}
|
|
7063
7467
|
const existing_semanticViewTypeEnum = existing.semanticViewTypeEnum;
|
|
7064
7468
|
const incoming_semanticViewTypeEnum = incoming.semanticViewTypeEnum;
|
|
7065
7469
|
// if at least one of these optionals is defined
|
|
@@ -7096,7 +7500,7 @@ function equals$h(existing, incoming) {
|
|
|
7096
7500
|
return false;
|
|
7097
7501
|
}
|
|
7098
7502
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
7099
|
-
if (!(equals$
|
|
7503
|
+
if (!(equals$u(existing_filters_item, incoming_filters_item))) {
|
|
7100
7504
|
return false;
|
|
7101
7505
|
}
|
|
7102
7506
|
});
|
|
@@ -7162,14 +7566,14 @@ function equals$h(existing, incoming) {
|
|
|
7162
7566
|
}
|
|
7163
7567
|
const ingest$a = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7164
7568
|
if (process.env.NODE_ENV !== 'production') {
|
|
7165
|
-
const validateError = validate$
|
|
7569
|
+
const validateError = validate$k(input);
|
|
7166
7570
|
if (validateError !== null) {
|
|
7167
7571
|
throw validateError;
|
|
7168
7572
|
}
|
|
7169
7573
|
}
|
|
7170
7574
|
const key = keyBuilderFromType$4(luvio, input);
|
|
7171
7575
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7172
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$
|
|
7576
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$f, RepresentationType$a, equals$f);
|
|
7173
7577
|
return createLink(key);
|
|
7174
7578
|
};
|
|
7175
7579
|
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7200,8 +7604,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7200
7604
|
}
|
|
7201
7605
|
}
|
|
7202
7606
|
|
|
7203
|
-
const VERSION$
|
|
7204
|
-
function validate$
|
|
7607
|
+
const VERSION$e = "a50848c632bb205d5e910bb726d9219e";
|
|
7608
|
+
function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
7205
7609
|
const v_error = (() => {
|
|
7206
7610
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7207
7611
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7209,7 +7613,7 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7209
7613
|
if (obj.identifierDimensionReference !== undefined) {
|
|
7210
7614
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
7211
7615
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
7212
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
7616
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$q(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
7213
7617
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
7214
7618
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
7215
7619
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7219,7 +7623,7 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7219
7623
|
if (obj.namingDimensionReference !== undefined) {
|
|
7220
7624
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
7221
7625
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
7222
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
7626
|
+
const referencepath_namingDimensionReferenceValidationError = validate$q(obj_namingDimensionReference, path_namingDimensionReference);
|
|
7223
7627
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
7224
7628
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
7225
7629
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7229,11 +7633,11 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7229
7633
|
})();
|
|
7230
7634
|
return v_error === undefined ? null : v_error;
|
|
7231
7635
|
}
|
|
7232
|
-
const select$
|
|
7233
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
7636
|
+
const select$u = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
7637
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
7234
7638
|
return {
|
|
7235
7639
|
kind: 'Fragment',
|
|
7236
|
-
version: VERSION$
|
|
7640
|
+
version: VERSION$e,
|
|
7237
7641
|
private: [],
|
|
7238
7642
|
selections: [
|
|
7239
7643
|
{
|
|
@@ -7251,7 +7655,7 @@ const select$w = function SemanticIdentifyingDimensionOutputRepresentationSelect
|
|
|
7251
7655
|
]
|
|
7252
7656
|
};
|
|
7253
7657
|
};
|
|
7254
|
-
function equals$
|
|
7658
|
+
function equals$e(existing, incoming) {
|
|
7255
7659
|
const existing_identifierDimensionReference = existing.identifierDimensionReference;
|
|
7256
7660
|
const incoming_identifierDimensionReference = incoming.identifierDimensionReference;
|
|
7257
7661
|
// if at least one of these optionals is defined
|
|
@@ -7261,7 +7665,7 @@ function equals$g(existing, incoming) {
|
|
|
7261
7665
|
if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
|
|
7262
7666
|
return false;
|
|
7263
7667
|
}
|
|
7264
|
-
if (!(equals$
|
|
7668
|
+
if (!(equals$l(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
|
|
7265
7669
|
return false;
|
|
7266
7670
|
}
|
|
7267
7671
|
}
|
|
@@ -7274,15 +7678,15 @@ function equals$g(existing, incoming) {
|
|
|
7274
7678
|
if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
|
|
7275
7679
|
return false;
|
|
7276
7680
|
}
|
|
7277
|
-
if (!(equals$
|
|
7681
|
+
if (!(equals$l(existing_namingDimensionReference, incoming_namingDimensionReference))) {
|
|
7278
7682
|
return false;
|
|
7279
7683
|
}
|
|
7280
7684
|
}
|
|
7281
7685
|
return true;
|
|
7282
7686
|
}
|
|
7283
7687
|
|
|
7284
|
-
const VERSION$
|
|
7285
|
-
function validate$
|
|
7688
|
+
const VERSION$d = "1b8cf2283d5d5c480459506274f0604c";
|
|
7689
|
+
function validate$i(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
7286
7690
|
const v_error = (() => {
|
|
7287
7691
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7288
7692
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7304,10 +7708,10 @@ function validate$j(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
|
7304
7708
|
})();
|
|
7305
7709
|
return v_error === undefined ? null : v_error;
|
|
7306
7710
|
}
|
|
7307
|
-
const select$
|
|
7711
|
+
const select$t = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
7308
7712
|
return {
|
|
7309
7713
|
kind: 'Fragment',
|
|
7310
|
-
version: VERSION$
|
|
7714
|
+
version: VERSION$d,
|
|
7311
7715
|
private: [],
|
|
7312
7716
|
selections: [
|
|
7313
7717
|
{
|
|
@@ -7323,7 +7727,7 @@ const select$v = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
|
7323
7727
|
]
|
|
7324
7728
|
};
|
|
7325
7729
|
};
|
|
7326
|
-
function equals$
|
|
7730
|
+
function equals$d(existing, incoming) {
|
|
7327
7731
|
const existing_enabled = existing.enabled;
|
|
7328
7732
|
const incoming_enabled = incoming.enabled;
|
|
7329
7733
|
// if at least one of these optionals is defined
|
|
@@ -7353,8 +7757,8 @@ function equals$f(existing, incoming) {
|
|
|
7353
7757
|
return true;
|
|
7354
7758
|
}
|
|
7355
7759
|
|
|
7356
|
-
const VERSION$
|
|
7357
|
-
function validate$
|
|
7760
|
+
const VERSION$c = "a3f5972287be7bcf9ca205af56046a58";
|
|
7761
|
+
function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
7358
7762
|
const v_error = (() => {
|
|
7359
7763
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7360
7764
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7362,7 +7766,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7362
7766
|
if (obj.identifyingDimension !== undefined) {
|
|
7363
7767
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
7364
7768
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
7365
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
7769
|
+
const referencepath_identifyingDimensionValidationError = validate$j(obj_identifyingDimension, path_identifyingDimension);
|
|
7366
7770
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
7367
7771
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
7368
7772
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7378,7 +7782,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7378
7782
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
7379
7783
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
7380
7784
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
7381
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
7785
|
+
const referencepath_insightTypes_itemValidationError = validate$i(obj_insightTypes_item, path_insightTypes_item);
|
|
7382
7786
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
7383
7787
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
7384
7788
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7395,7 +7799,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7395
7799
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
7396
7800
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
7397
7801
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
7398
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
7802
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$q(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
7399
7803
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
7400
7804
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
7401
7805
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7427,13 +7831,13 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7427
7831
|
})();
|
|
7428
7832
|
return v_error === undefined ? null : v_error;
|
|
7429
7833
|
}
|
|
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$
|
|
7834
|
+
const select$s = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
7835
|
+
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$u();
|
|
7836
|
+
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$t();
|
|
7837
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
7434
7838
|
return {
|
|
7435
7839
|
kind: 'Fragment',
|
|
7436
|
-
version: VERSION$
|
|
7840
|
+
version: VERSION$c,
|
|
7437
7841
|
private: [],
|
|
7438
7842
|
selections: [
|
|
7439
7843
|
{
|
|
@@ -7474,7 +7878,7 @@ const select$u = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
|
7474
7878
|
]
|
|
7475
7879
|
};
|
|
7476
7880
|
};
|
|
7477
|
-
function equals$
|
|
7881
|
+
function equals$c(existing, incoming) {
|
|
7478
7882
|
const existing_pluralNoun = existing.pluralNoun;
|
|
7479
7883
|
const incoming_pluralNoun = incoming.pluralNoun;
|
|
7480
7884
|
// if at least one of these optionals is defined
|
|
@@ -7523,7 +7927,7 @@ function equals$e(existing, incoming) {
|
|
|
7523
7927
|
if (existing_identifyingDimension === undefined || incoming_identifyingDimension === undefined) {
|
|
7524
7928
|
return false;
|
|
7525
7929
|
}
|
|
7526
|
-
if (!(equals$
|
|
7930
|
+
if (!(equals$e(existing_identifyingDimension, incoming_identifyingDimension))) {
|
|
7527
7931
|
return false;
|
|
7528
7932
|
}
|
|
7529
7933
|
}
|
|
@@ -7537,7 +7941,7 @@ function equals$e(existing, incoming) {
|
|
|
7537
7941
|
return false;
|
|
7538
7942
|
}
|
|
7539
7943
|
const equals_insightTypes_items = equalsArray(existing_insightTypes, incoming_insightTypes, (existing_insightTypes_item, incoming_insightTypes_item) => {
|
|
7540
|
-
if (!(equals$
|
|
7944
|
+
if (!(equals$d(existing_insightTypes_item, incoming_insightTypes_item))) {
|
|
7541
7945
|
return false;
|
|
7542
7946
|
}
|
|
7543
7947
|
});
|
|
@@ -7555,7 +7959,7 @@ function equals$e(existing, incoming) {
|
|
|
7555
7959
|
return false;
|
|
7556
7960
|
}
|
|
7557
7961
|
const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
|
|
7558
|
-
if (!(equals$
|
|
7962
|
+
if (!(equals$l(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
|
|
7559
7963
|
return false;
|
|
7560
7964
|
}
|
|
7561
7965
|
});
|
|
@@ -7566,8 +7970,8 @@ function equals$e(existing, incoming) {
|
|
|
7566
7970
|
return true;
|
|
7567
7971
|
}
|
|
7568
7972
|
|
|
7569
|
-
const VERSION$
|
|
7570
|
-
function validate$
|
|
7973
|
+
const VERSION$b = "a9c4c21f041ebd0ad373f8e53e345e6a";
|
|
7974
|
+
function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
7571
7975
|
const v_error = (() => {
|
|
7572
7976
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7573
7977
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7581,7 +7985,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7581
7985
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
7582
7986
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
7583
7987
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
7584
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
7988
|
+
const referencepath_additionalDimensions_itemValidationError = validate$q(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
7585
7989
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
7586
7990
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
7587
7991
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7648,7 +8052,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7648
8052
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7649
8053
|
const obj_filters_item = obj_filters[i];
|
|
7650
8054
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7651
|
-
const referencepath_filters_itemValidationError = validate$
|
|
8055
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
7652
8056
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7653
8057
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7654
8058
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7664,7 +8068,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7664
8068
|
if (obj.insightsSettings !== undefined) {
|
|
7665
8069
|
const obj_insightsSettings = obj.insightsSettings;
|
|
7666
8070
|
const path_insightsSettings = path + '.insightsSettings';
|
|
7667
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
8071
|
+
const referencepath_insightsSettingsValidationError = validate$h(obj_insightsSettings, path_insightsSettings);
|
|
7668
8072
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
7669
8073
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
7670
8074
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7678,6 +8082,13 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7678
8082
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isCumulative + '" (at "' + path_isCumulative + '")');
|
|
7679
8083
|
}
|
|
7680
8084
|
}
|
|
8085
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
8086
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
8087
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
8088
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
8089
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
8090
|
+
}
|
|
8091
|
+
}
|
|
7681
8092
|
if (obj.label !== undefined) {
|
|
7682
8093
|
const obj_label = obj.label;
|
|
7683
8094
|
const path_label = path + '.label';
|
|
@@ -7702,7 +8113,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7702
8113
|
if (obj.measurementReference !== undefined) {
|
|
7703
8114
|
const obj_measurementReference = obj.measurementReference;
|
|
7704
8115
|
const path_measurementReference = path + '.measurementReference';
|
|
7705
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
8116
|
+
const referencepath_measurementReferenceValidationError = validate$q(obj_measurementReference, path_measurementReference);
|
|
7706
8117
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
7707
8118
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
7708
8119
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7712,7 +8123,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7712
8123
|
if (obj.timeDimensionReference !== undefined) {
|
|
7713
8124
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
7714
8125
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
7715
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
8126
|
+
const referencepath_timeDimensionReferenceValidationError = validate$q(obj_timeDimensionReference, path_timeDimensionReference);
|
|
7716
8127
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
7717
8128
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
7718
8129
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7733,6 +8144,13 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7733
8144
|
}
|
|
7734
8145
|
}
|
|
7735
8146
|
}
|
|
8147
|
+
if (obj.unmapped !== undefined) {
|
|
8148
|
+
const obj_unmapped = obj.unmapped;
|
|
8149
|
+
const path_unmapped = path + '.unmapped';
|
|
8150
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
8151
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
8152
|
+
}
|
|
8153
|
+
}
|
|
7736
8154
|
})();
|
|
7737
8155
|
return v_error === undefined ? null : v_error;
|
|
7738
8156
|
}
|
|
@@ -7749,13 +8167,13 @@ function keyBuilderFromType$3(luvio, object) {
|
|
|
7749
8167
|
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
7750
8168
|
return input;
|
|
7751
8169
|
}
|
|
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$
|
|
8170
|
+
const select$r = function SemanticMetricOutputRepresentationSelect() {
|
|
8171
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
|
|
8172
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
|
|
8173
|
+
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$s();
|
|
7756
8174
|
return {
|
|
7757
8175
|
kind: 'Fragment',
|
|
7758
|
-
version: VERSION$
|
|
8176
|
+
version: VERSION$b,
|
|
7759
8177
|
private: [],
|
|
7760
8178
|
selections: [
|
|
7761
8179
|
{
|
|
@@ -7824,6 +8242,11 @@ const select$t = function SemanticMetricOutputRepresentationSelect() {
|
|
|
7824
8242
|
kind: 'Scalar',
|
|
7825
8243
|
required: false
|
|
7826
8244
|
},
|
|
8245
|
+
{
|
|
8246
|
+
name: 'isSystemDefinition',
|
|
8247
|
+
kind: 'Scalar',
|
|
8248
|
+
required: false
|
|
8249
|
+
},
|
|
7827
8250
|
{
|
|
7828
8251
|
name: 'label',
|
|
7829
8252
|
kind: 'Scalar',
|
|
@@ -7856,11 +8279,16 @@ const select$t = function SemanticMetricOutputRepresentationSelect() {
|
|
|
7856
8279
|
kind: 'Scalar',
|
|
7857
8280
|
plural: true,
|
|
7858
8281
|
required: false
|
|
8282
|
+
},
|
|
8283
|
+
{
|
|
8284
|
+
name: 'unmapped',
|
|
8285
|
+
kind: 'Scalar',
|
|
8286
|
+
required: false
|
|
7859
8287
|
}
|
|
7860
8288
|
]
|
|
7861
8289
|
};
|
|
7862
8290
|
};
|
|
7863
|
-
function equals$
|
|
8291
|
+
function equals$b(existing, incoming) {
|
|
7864
8292
|
const existing_isCumulative = existing.isCumulative;
|
|
7865
8293
|
const incoming_isCumulative = incoming.isCumulative;
|
|
7866
8294
|
// if at least one of these optionals is defined
|
|
@@ -7874,6 +8302,32 @@ function equals$d(existing, incoming) {
|
|
|
7874
8302
|
return false;
|
|
7875
8303
|
}
|
|
7876
8304
|
}
|
|
8305
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
8306
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
8307
|
+
// if at least one of these optionals is defined
|
|
8308
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
8309
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8310
|
+
// not equal
|
|
8311
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
8312
|
+
return false;
|
|
8313
|
+
}
|
|
8314
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
8315
|
+
return false;
|
|
8316
|
+
}
|
|
8317
|
+
}
|
|
8318
|
+
const existing_unmapped = existing.unmapped;
|
|
8319
|
+
const incoming_unmapped = incoming.unmapped;
|
|
8320
|
+
// if at least one of these optionals is defined
|
|
8321
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
8322
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8323
|
+
// not equal
|
|
8324
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
8325
|
+
return false;
|
|
8326
|
+
}
|
|
8327
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
8328
|
+
return false;
|
|
8329
|
+
}
|
|
8330
|
+
}
|
|
7877
8331
|
const existing_aggregationType = existing.aggregationType;
|
|
7878
8332
|
const incoming_aggregationType = incoming.aggregationType;
|
|
7879
8333
|
// if at least one of these optionals is defined
|
|
@@ -8008,7 +8462,7 @@ function equals$d(existing, incoming) {
|
|
|
8008
8462
|
return false;
|
|
8009
8463
|
}
|
|
8010
8464
|
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
8011
|
-
if (!(equals$
|
|
8465
|
+
if (!(equals$l(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
8012
8466
|
return false;
|
|
8013
8467
|
}
|
|
8014
8468
|
});
|
|
@@ -8026,7 +8480,7 @@ function equals$d(existing, incoming) {
|
|
|
8026
8480
|
return false;
|
|
8027
8481
|
}
|
|
8028
8482
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
8029
|
-
if (!(equals$
|
|
8483
|
+
if (!(equals$u(existing_filters_item, incoming_filters_item))) {
|
|
8030
8484
|
return false;
|
|
8031
8485
|
}
|
|
8032
8486
|
});
|
|
@@ -8043,7 +8497,7 @@ function equals$d(existing, incoming) {
|
|
|
8043
8497
|
if (existing_insightsSettings === undefined || incoming_insightsSettings === undefined) {
|
|
8044
8498
|
return false;
|
|
8045
8499
|
}
|
|
8046
|
-
if (!(equals$
|
|
8500
|
+
if (!(equals$c(existing_insightsSettings, incoming_insightsSettings))) {
|
|
8047
8501
|
return false;
|
|
8048
8502
|
}
|
|
8049
8503
|
}
|
|
@@ -8056,7 +8510,7 @@ function equals$d(existing, incoming) {
|
|
|
8056
8510
|
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
8057
8511
|
return false;
|
|
8058
8512
|
}
|
|
8059
|
-
if (!(equals$
|
|
8513
|
+
if (!(equals$l(existing_measurementReference, incoming_measurementReference))) {
|
|
8060
8514
|
return false;
|
|
8061
8515
|
}
|
|
8062
8516
|
}
|
|
@@ -8069,7 +8523,7 @@ function equals$d(existing, incoming) {
|
|
|
8069
8523
|
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
8070
8524
|
return false;
|
|
8071
8525
|
}
|
|
8072
|
-
if (!(equals$
|
|
8526
|
+
if (!(equals$l(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
8073
8527
|
return false;
|
|
8074
8528
|
}
|
|
8075
8529
|
}
|
|
@@ -8095,14 +8549,14 @@ function equals$d(existing, incoming) {
|
|
|
8095
8549
|
}
|
|
8096
8550
|
const ingest$9 = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8097
8551
|
if (process.env.NODE_ENV !== 'production') {
|
|
8098
|
-
const validateError = validate$
|
|
8552
|
+
const validateError = validate$g(input);
|
|
8099
8553
|
if (validateError !== null) {
|
|
8100
8554
|
throw validateError;
|
|
8101
8555
|
}
|
|
8102
8556
|
}
|
|
8103
8557
|
const key = keyBuilderFromType$3(luvio, input);
|
|
8104
8558
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
8105
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$
|
|
8559
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$b, RepresentationType$9, equals$b);
|
|
8106
8560
|
return createLink(key);
|
|
8107
8561
|
};
|
|
8108
8562
|
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -8115,8 +8569,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8115
8569
|
});
|
|
8116
8570
|
}
|
|
8117
8571
|
|
|
8118
|
-
const VERSION$
|
|
8119
|
-
function validate$
|
|
8572
|
+
const VERSION$a = "158d115be773406f841e4351d481d398";
|
|
8573
|
+
function validate$f(obj, path = 'SemanticParameterListValueOutputRepresentation') {
|
|
8120
8574
|
const v_error = (() => {
|
|
8121
8575
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8122
8576
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8138,10 +8592,10 @@ function validate$g(obj, path = 'SemanticParameterListValueOutputRepresentation'
|
|
|
8138
8592
|
})();
|
|
8139
8593
|
return v_error === undefined ? null : v_error;
|
|
8140
8594
|
}
|
|
8141
|
-
const select$
|
|
8595
|
+
const select$q = function SemanticParameterListValueOutputRepresentationSelect() {
|
|
8142
8596
|
return {
|
|
8143
8597
|
kind: 'Fragment',
|
|
8144
|
-
version: VERSION$
|
|
8598
|
+
version: VERSION$a,
|
|
8145
8599
|
private: [],
|
|
8146
8600
|
selections: [
|
|
8147
8601
|
{
|
|
@@ -8157,7 +8611,7 @@ const select$s = function SemanticParameterListValueOutputRepresentationSelect()
|
|
|
8157
8611
|
]
|
|
8158
8612
|
};
|
|
8159
8613
|
};
|
|
8160
|
-
function equals$
|
|
8614
|
+
function equals$a(existing, incoming) {
|
|
8161
8615
|
const existing_displayName = existing.displayName;
|
|
8162
8616
|
const incoming_displayName = incoming.displayName;
|
|
8163
8617
|
// if at least one of these optionals is defined
|
|
@@ -8187,8 +8641,8 @@ function equals$c(existing, incoming) {
|
|
|
8187
8641
|
return true;
|
|
8188
8642
|
}
|
|
8189
8643
|
|
|
8190
|
-
const VERSION$
|
|
8191
|
-
function validate$
|
|
8644
|
+
const VERSION$9 = "1463471c69296e6727623faee2cbfe0c";
|
|
8645
|
+
function validate$e(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
8192
8646
|
const v_error = (() => {
|
|
8193
8647
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8194
8648
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8202,7 +8656,7 @@ function validate$f(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
8202
8656
|
for (let i = 0; i < obj_allowedValues.length; i++) {
|
|
8203
8657
|
const obj_allowedValues_item = obj_allowedValues[i];
|
|
8204
8658
|
const path_allowedValues_item = path_allowedValues + '[' + i + ']';
|
|
8205
|
-
const referencepath_allowedValues_itemValidationError = validate$
|
|
8659
|
+
const referencepath_allowedValues_itemValidationError = validate$f(obj_allowedValues_item, path_allowedValues_item);
|
|
8206
8660
|
if (referencepath_allowedValues_itemValidationError !== null) {
|
|
8207
8661
|
let message = 'Object doesn\'t match SemanticParameterListValueOutputRepresentation (at "' + path_allowedValues_item + '")\n';
|
|
8208
8662
|
message += referencepath_allowedValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8265,6 +8719,13 @@ function validate$f(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
8265
8719
|
if (typeof obj_id !== 'string') {
|
|
8266
8720
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8267
8721
|
}
|
|
8722
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
8723
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
8724
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
8725
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
8726
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
8727
|
+
}
|
|
8728
|
+
}
|
|
8268
8729
|
if (obj.label !== undefined) {
|
|
8269
8730
|
const obj_label = obj.label;
|
|
8270
8731
|
const path_label = path + '.label';
|
|
@@ -8314,6 +8775,13 @@ function validate$f(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
8314
8775
|
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
8315
8776
|
}
|
|
8316
8777
|
}
|
|
8778
|
+
if (obj.unmapped !== undefined) {
|
|
8779
|
+
const obj_unmapped = obj.unmapped;
|
|
8780
|
+
const path_unmapped = path + '.unmapped';
|
|
8781
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
8782
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
8783
|
+
}
|
|
8784
|
+
}
|
|
8317
8785
|
if (obj.values !== undefined) {
|
|
8318
8786
|
const obj_values = obj.values;
|
|
8319
8787
|
const path_values = path + '.values';
|
|
@@ -8344,11 +8812,11 @@ function keyBuilderFromType$2(luvio, object) {
|
|
|
8344
8812
|
function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
8345
8813
|
return input;
|
|
8346
8814
|
}
|
|
8347
|
-
const select$
|
|
8348
|
-
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$
|
|
8815
|
+
const select$p = function SemanticParameterOutputRepresentationSelect() {
|
|
8816
|
+
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$q();
|
|
8349
8817
|
return {
|
|
8350
8818
|
kind: 'Fragment',
|
|
8351
|
-
version: VERSION$
|
|
8819
|
+
version: VERSION$9,
|
|
8352
8820
|
private: [],
|
|
8353
8821
|
selections: [
|
|
8354
8822
|
{
|
|
@@ -8399,6 +8867,11 @@ const select$r = function SemanticParameterOutputRepresentationSelect() {
|
|
|
8399
8867
|
name: 'id',
|
|
8400
8868
|
kind: 'Scalar'
|
|
8401
8869
|
},
|
|
8870
|
+
{
|
|
8871
|
+
name: 'isSystemDefinition',
|
|
8872
|
+
kind: 'Scalar',
|
|
8873
|
+
required: false
|
|
8874
|
+
},
|
|
8402
8875
|
{
|
|
8403
8876
|
name: 'label',
|
|
8404
8877
|
kind: 'Scalar',
|
|
@@ -8434,6 +8907,11 @@ const select$r = function SemanticParameterOutputRepresentationSelect() {
|
|
|
8434
8907
|
kind: 'Scalar',
|
|
8435
8908
|
required: false
|
|
8436
8909
|
},
|
|
8910
|
+
{
|
|
8911
|
+
name: 'unmapped',
|
|
8912
|
+
kind: 'Scalar',
|
|
8913
|
+
required: false
|
|
8914
|
+
},
|
|
8437
8915
|
{
|
|
8438
8916
|
name: 'values',
|
|
8439
8917
|
kind: 'Scalar',
|
|
@@ -8443,7 +8921,33 @@ const select$r = function SemanticParameterOutputRepresentationSelect() {
|
|
|
8443
8921
|
]
|
|
8444
8922
|
};
|
|
8445
8923
|
};
|
|
8446
|
-
function equals$
|
|
8924
|
+
function equals$9(existing, incoming) {
|
|
8925
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
8926
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
8927
|
+
// if at least one of these optionals is defined
|
|
8928
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
8929
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8930
|
+
// not equal
|
|
8931
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
8932
|
+
return false;
|
|
8933
|
+
}
|
|
8934
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
8935
|
+
return false;
|
|
8936
|
+
}
|
|
8937
|
+
}
|
|
8938
|
+
const existing_unmapped = existing.unmapped;
|
|
8939
|
+
const incoming_unmapped = incoming.unmapped;
|
|
8940
|
+
// if at least one of these optionals is defined
|
|
8941
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
8942
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8943
|
+
// not equal
|
|
8944
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
8945
|
+
return false;
|
|
8946
|
+
}
|
|
8947
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
8948
|
+
return false;
|
|
8949
|
+
}
|
|
8950
|
+
}
|
|
8447
8951
|
const existing_apiName = existing.apiName;
|
|
8448
8952
|
const incoming_apiName = incoming.apiName;
|
|
8449
8953
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -8630,7 +9134,7 @@ function equals$b(existing, incoming) {
|
|
|
8630
9134
|
return false;
|
|
8631
9135
|
}
|
|
8632
9136
|
const equals_allowedValues_items = equalsArray(existing_allowedValues, incoming_allowedValues, (existing_allowedValues_item, incoming_allowedValues_item) => {
|
|
8633
|
-
if (!(equals$
|
|
9137
|
+
if (!(equals$a(existing_allowedValues_item, incoming_allowedValues_item))) {
|
|
8634
9138
|
return false;
|
|
8635
9139
|
}
|
|
8636
9140
|
});
|
|
@@ -8660,14 +9164,14 @@ function equals$b(existing, incoming) {
|
|
|
8660
9164
|
}
|
|
8661
9165
|
const ingest$8 = function SemanticParameterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8662
9166
|
if (process.env.NODE_ENV !== 'production') {
|
|
8663
|
-
const validateError = validate$
|
|
9167
|
+
const validateError = validate$e(input);
|
|
8664
9168
|
if (validateError !== null) {
|
|
8665
9169
|
throw validateError;
|
|
8666
9170
|
}
|
|
8667
9171
|
}
|
|
8668
9172
|
const key = keyBuilderFromType$2(luvio, input);
|
|
8669
9173
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
8670
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$
|
|
9174
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$9, RepresentationType$8, equals$9);
|
|
8671
9175
|
return createLink(key);
|
|
8672
9176
|
};
|
|
8673
9177
|
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -8680,8 +9184,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8680
9184
|
});
|
|
8681
9185
|
}
|
|
8682
9186
|
|
|
8683
|
-
const VERSION$
|
|
8684
|
-
function validate$
|
|
9187
|
+
const VERSION$8 = "384950eda90c1492434fc4519368df85";
|
|
9188
|
+
function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
8685
9189
|
const v_error = (() => {
|
|
8686
9190
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8687
9191
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8714,7 +9218,7 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8714
9218
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
8715
9219
|
const obj_baseModels_item = obj_baseModels[i];
|
|
8716
9220
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
8717
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
9221
|
+
const referencepath_baseModels_itemValidationError = validate$F(obj_baseModels_item, path_baseModels_item);
|
|
8718
9222
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
8719
9223
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
8720
9224
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8774,7 +9278,7 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8774
9278
|
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
8775
9279
|
const obj_externalConnections_item = obj_externalConnections[i];
|
|
8776
9280
|
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
8777
|
-
const referencepath_externalConnections_itemValidationError = validate$
|
|
9281
|
+
const referencepath_externalConnections_itemValidationError = validate$D(obj_externalConnections_item, path_externalConnections_item);
|
|
8778
9282
|
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
8779
9283
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
8780
9284
|
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8791,7 +9295,7 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8791
9295
|
for (let i = 0; i < obj_fieldsOverrides.length; i++) {
|
|
8792
9296
|
const obj_fieldsOverrides_item = obj_fieldsOverrides[i];
|
|
8793
9297
|
const path_fieldsOverrides_item = path_fieldsOverrides + '[' + i + ']';
|
|
8794
|
-
const referencepath_fieldsOverrides_itemValidationError = validate$
|
|
9298
|
+
const referencepath_fieldsOverrides_itemValidationError = validate$C(obj_fieldsOverrides_item, path_fieldsOverrides_item);
|
|
8795
9299
|
if (referencepath_fieldsOverrides_itemValidationError !== null) {
|
|
8796
9300
|
let message = 'Object doesn\'t match SemanticOverrideOutputRepresentation (at "' + path_fieldsOverrides_item + '")\n';
|
|
8797
9301
|
message += referencepath_fieldsOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9188,13 +9692,13 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
9188
9692
|
}
|
|
9189
9693
|
return input;
|
|
9190
9694
|
}
|
|
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$
|
|
9695
|
+
const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
9696
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$O();
|
|
9697
|
+
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$M();
|
|
9698
|
+
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$L();
|
|
9195
9699
|
return {
|
|
9196
9700
|
kind: 'Fragment',
|
|
9197
|
-
version: VERSION$
|
|
9701
|
+
version: VERSION$8,
|
|
9198
9702
|
private: [],
|
|
9199
9703
|
selections: [
|
|
9200
9704
|
{
|
|
@@ -9294,7 +9798,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9294
9798
|
kind: 'Link',
|
|
9295
9799
|
plural: true,
|
|
9296
9800
|
required: false,
|
|
9297
|
-
fragment: select$
|
|
9801
|
+
fragment: select$J()
|
|
9298
9802
|
},
|
|
9299
9803
|
{
|
|
9300
9804
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -9306,7 +9810,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9306
9810
|
kind: 'Link',
|
|
9307
9811
|
plural: true,
|
|
9308
9812
|
required: false,
|
|
9309
|
-
fragment: select$
|
|
9813
|
+
fragment: select$I()
|
|
9310
9814
|
},
|
|
9311
9815
|
{
|
|
9312
9816
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -9318,7 +9822,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9318
9822
|
kind: 'Link',
|
|
9319
9823
|
plural: true,
|
|
9320
9824
|
required: false,
|
|
9321
|
-
fragment: select$
|
|
9825
|
+
fragment: select$H()
|
|
9322
9826
|
},
|
|
9323
9827
|
{
|
|
9324
9828
|
name: 'semanticDataObjectsUrl',
|
|
@@ -9330,7 +9834,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9330
9834
|
kind: 'Link',
|
|
9331
9835
|
plural: true,
|
|
9332
9836
|
required: false,
|
|
9333
|
-
fragment: select$
|
|
9837
|
+
fragment: select$A()
|
|
9334
9838
|
},
|
|
9335
9839
|
{
|
|
9336
9840
|
name: 'semanticGroupingsUrl',
|
|
@@ -9342,21 +9846,21 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9342
9846
|
kind: 'Link',
|
|
9343
9847
|
plural: true,
|
|
9344
9848
|
required: false,
|
|
9345
|
-
fragment: select$
|
|
9849
|
+
fragment: select$v()
|
|
9346
9850
|
},
|
|
9347
9851
|
{
|
|
9348
9852
|
name: 'semanticMetrics',
|
|
9349
9853
|
kind: 'Link',
|
|
9350
9854
|
plural: true,
|
|
9351
9855
|
required: false,
|
|
9352
|
-
fragment: select$
|
|
9856
|
+
fragment: select$r()
|
|
9353
9857
|
},
|
|
9354
9858
|
{
|
|
9355
9859
|
name: 'semanticParameters',
|
|
9356
9860
|
kind: 'Link',
|
|
9357
9861
|
plural: true,
|
|
9358
9862
|
required: false,
|
|
9359
|
-
fragment: select$
|
|
9863
|
+
fragment: select$p()
|
|
9360
9864
|
},
|
|
9361
9865
|
{
|
|
9362
9866
|
name: 'semanticParametersUrl',
|
|
@@ -9368,7 +9872,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9368
9872
|
kind: 'Link',
|
|
9369
9873
|
plural: true,
|
|
9370
9874
|
required: false,
|
|
9371
|
-
fragment: select$
|
|
9875
|
+
fragment: select$y()
|
|
9372
9876
|
},
|
|
9373
9877
|
{
|
|
9374
9878
|
name: 'semanticRelationshipsUrl',
|
|
@@ -9388,7 +9892,7 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9388
9892
|
]
|
|
9389
9893
|
};
|
|
9390
9894
|
};
|
|
9391
|
-
function equals$
|
|
9895
|
+
function equals$8(existing, incoming) {
|
|
9392
9896
|
const existing_isLocked = existing.isLocked;
|
|
9393
9897
|
const incoming_isLocked = incoming.isLocked;
|
|
9394
9898
|
// if at least one of these optionals is defined
|
|
@@ -9632,7 +10136,7 @@ function equals$a(existing, incoming) {
|
|
|
9632
10136
|
return false;
|
|
9633
10137
|
}
|
|
9634
10138
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
9635
|
-
if (!(equals$
|
|
10139
|
+
if (!(equals$y(existing_baseModels_item, incoming_baseModels_item))) {
|
|
9636
10140
|
return false;
|
|
9637
10141
|
}
|
|
9638
10142
|
});
|
|
@@ -9668,7 +10172,7 @@ function equals$a(existing, incoming) {
|
|
|
9668
10172
|
return false;
|
|
9669
10173
|
}
|
|
9670
10174
|
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
9671
|
-
if (!(equals$
|
|
10175
|
+
if (!(equals$w(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
9672
10176
|
return false;
|
|
9673
10177
|
}
|
|
9674
10178
|
});
|
|
@@ -9686,7 +10190,7 @@ function equals$a(existing, incoming) {
|
|
|
9686
10190
|
return false;
|
|
9687
10191
|
}
|
|
9688
10192
|
const equals_fieldsOverrides_items = equalsArray(existing_fieldsOverrides, incoming_fieldsOverrides, (existing_fieldsOverrides_item, incoming_fieldsOverrides_item) => {
|
|
9689
|
-
if (!(equals$
|
|
10193
|
+
if (!(equals$v(existing_fieldsOverrides_item, incoming_fieldsOverrides_item))) {
|
|
9690
10194
|
return false;
|
|
9691
10195
|
}
|
|
9692
10196
|
});
|
|
@@ -9855,14 +10359,14 @@ function equals$a(existing, incoming) {
|
|
|
9855
10359
|
}
|
|
9856
10360
|
const ingest$7 = function SemanticModelOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9857
10361
|
if (process.env.NODE_ENV !== 'production') {
|
|
9858
|
-
const validateError = validate$
|
|
10362
|
+
const validateError = validate$d(input);
|
|
9859
10363
|
if (validateError !== null) {
|
|
9860
10364
|
throw validateError;
|
|
9861
10365
|
}
|
|
9862
10366
|
}
|
|
9863
10367
|
const key = keyBuilderFromType$1(luvio, input);
|
|
9864
10368
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
9865
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SemanticAuthoring", VERSION$
|
|
10369
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SemanticAuthoring", VERSION$8, RepresentationType$7, equals$8);
|
|
9866
10370
|
return createLink(key);
|
|
9867
10371
|
};
|
|
9868
10372
|
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -9923,8 +10427,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9923
10427
|
}
|
|
9924
10428
|
}
|
|
9925
10429
|
|
|
9926
|
-
function select$
|
|
9927
|
-
return select$
|
|
10430
|
+
function select$n(luvio, params) {
|
|
10431
|
+
return select$o();
|
|
9928
10432
|
}
|
|
9929
10433
|
function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
|
|
9930
10434
|
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
@@ -9935,7 +10439,7 @@ function ingestSuccess$f(luvio, resourceParams, response) {
|
|
|
9935
10439
|
luvio.storeIngest(key, ingest$7, body);
|
|
9936
10440
|
const snapshot = luvio.storeLookup({
|
|
9937
10441
|
recordId: key,
|
|
9938
|
-
node: select$
|
|
10442
|
+
node: select$n(),
|
|
9939
10443
|
variables: {},
|
|
9940
10444
|
});
|
|
9941
10445
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -9993,7 +10497,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9993
10497
|
const untrustedConfig_baseModels_array = [];
|
|
9994
10498
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
9995
10499
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
9996
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
10500
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$14(untrustedConfig_baseModels_item);
|
|
9997
10501
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
9998
10502
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
9999
10503
|
}
|
|
@@ -10005,7 +10509,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10005
10509
|
const untrustedConfig_externalConnections_array = [];
|
|
10006
10510
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
10007
10511
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
10008
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
10512
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$12(untrustedConfig_externalConnections_item);
|
|
10009
10513
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
10010
10514
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
10011
10515
|
}
|
|
@@ -10017,7 +10521,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10017
10521
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
10018
10522
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
10019
10523
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
10020
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
10524
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$11(untrustedConfig_fieldsOverrides_item);
|
|
10021
10525
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
10022
10526
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
10023
10527
|
}
|
|
@@ -10029,7 +10533,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10029
10533
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10030
10534
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10031
10535
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10032
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
10536
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10033
10537
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10034
10538
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10035
10539
|
}
|
|
@@ -10041,7 +10545,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10041
10545
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10042
10546
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10043
10547
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10044
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate
|
|
10548
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10045
10549
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10046
10550
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10047
10551
|
}
|
|
@@ -10053,7 +10557,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10053
10557
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10054
10558
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
10055
10559
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
10056
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10560
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$X(untrustedConfig_semanticDataObjects_item);
|
|
10057
10561
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
10058
10562
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
10059
10563
|
}
|
|
@@ -10065,7 +10569,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10065
10569
|
const untrustedConfig_semanticGroupings_array = [];
|
|
10066
10570
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
10067
10571
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
10068
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10572
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$Q(untrustedConfig_semanticGroupings_item);
|
|
10069
10573
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
10070
10574
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
10071
10575
|
}
|
|
@@ -10077,7 +10581,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10077
10581
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
10078
10582
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
10079
10583
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
10080
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10584
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$L(untrustedConfig_semanticLogicalViews_item);
|
|
10081
10585
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
10082
10586
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
10083
10587
|
}
|
|
@@ -10089,7 +10593,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10089
10593
|
const untrustedConfig_semanticMetrics_array = [];
|
|
10090
10594
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
10091
10595
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
10092
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10596
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$H(untrustedConfig_semanticMetrics_item);
|
|
10093
10597
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
10094
10598
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
10095
10599
|
}
|
|
@@ -10101,7 +10605,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10101
10605
|
const untrustedConfig_semanticParameters_array = [];
|
|
10102
10606
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
10103
10607
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
10104
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10608
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$G(untrustedConfig_semanticParameters_item);
|
|
10105
10609
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
10106
10610
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
10107
10611
|
}
|
|
@@ -10113,7 +10617,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10113
10617
|
const untrustedConfig_semanticRelationships_array = [];
|
|
10114
10618
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
10115
10619
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
10116
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10620
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$O(untrustedConfig_semanticRelationships_item);
|
|
10117
10621
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
10118
10622
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
10119
10623
|
}
|
|
@@ -10164,7 +10668,7 @@ const createSemanticModelAdapterFactory = (luvio) => {
|
|
|
10164
10668
|
};
|
|
10165
10669
|
};
|
|
10166
10670
|
|
|
10167
|
-
function validate$
|
|
10671
|
+
function validate$c(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
10168
10672
|
const v_error = (() => {
|
|
10169
10673
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10170
10674
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10185,7 +10689,7 @@ function validate$d(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
10185
10689
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
10186
10690
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
10187
10691
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
10188
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
10692
|
+
const referencepath_statusConditions_itemValidationError = validate$18(obj_statusConditions_item, path_statusConditions_item);
|
|
10189
10693
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
10190
10694
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionInputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
10191
10695
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10197,7 +10701,7 @@ function validate$d(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
10197
10701
|
return v_error === undefined ? null : v_error;
|
|
10198
10702
|
}
|
|
10199
10703
|
|
|
10200
|
-
function validate$
|
|
10704
|
+
function validate$b(obj, path = 'SemanticTimeRangeInputRepresentation') {
|
|
10201
10705
|
const v_error = (() => {
|
|
10202
10706
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10203
10707
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10227,7 +10731,7 @@ function validate$c(obj, path = 'SemanticTimeRangeInputRepresentation') {
|
|
|
10227
10731
|
return v_error === undefined ? null : v_error;
|
|
10228
10732
|
}
|
|
10229
10733
|
|
|
10230
|
-
function validate$
|
|
10734
|
+
function validate$a(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
10231
10735
|
const v_error = (() => {
|
|
10232
10736
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10233
10737
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10245,7 +10749,7 @@ function validate$b(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
10245
10749
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
10246
10750
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
10247
10751
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
10248
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
10752
|
+
const referencepath_statusConditions_itemValidationError = validate$16(obj_statusConditions_item, path_statusConditions_item);
|
|
10249
10753
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
10250
10754
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
10251
10755
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10256,7 +10760,7 @@ function validate$b(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
10256
10760
|
return v_error === undefined ? null : v_error;
|
|
10257
10761
|
}
|
|
10258
10762
|
|
|
10259
|
-
function validate$
|
|
10763
|
+
function validate$9(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
10260
10764
|
const v_error = (() => {
|
|
10261
10765
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10262
10766
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10286,8 +10790,8 @@ function validate$a(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
|
10286
10790
|
return v_error === undefined ? null : v_error;
|
|
10287
10791
|
}
|
|
10288
10792
|
|
|
10289
|
-
const VERSION$
|
|
10290
|
-
function validate$
|
|
10793
|
+
const VERSION$7 = "34ece37408ddd80874097c87b829ae97";
|
|
10794
|
+
function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
10291
10795
|
const v_error = (() => {
|
|
10292
10796
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10293
10797
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10344,7 +10848,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10344
10848
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
10345
10849
|
const obj_filters_item = obj_filters[i];
|
|
10346
10850
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
10347
|
-
const referencepath_filters_itemValidationError = validate$
|
|
10851
|
+
const referencepath_filters_itemValidationError = validate$B(obj_filters_item, path_filters_item);
|
|
10348
10852
|
if (referencepath_filters_itemValidationError !== null) {
|
|
10349
10853
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
10350
10854
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10355,7 +10859,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10355
10859
|
if (obj.goal !== undefined) {
|
|
10356
10860
|
const obj_goal = obj.goal;
|
|
10357
10861
|
const path_goal = path + '.goal';
|
|
10358
|
-
const referencepath_goalValidationError = validate$
|
|
10862
|
+
const referencepath_goalValidationError = validate$a(obj_goal, path_goal);
|
|
10359
10863
|
if (referencepath_goalValidationError !== null) {
|
|
10360
10864
|
let message = 'Object doesn\'t match SemanticMetricGoalOutputRepresentation (at "' + path_goal + '")\n';
|
|
10361
10865
|
message += referencepath_goalValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10398,7 +10902,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10398
10902
|
if (obj.semanticMetric !== undefined) {
|
|
10399
10903
|
const obj_semanticMetric = obj.semanticMetric;
|
|
10400
10904
|
const path_semanticMetric = path + '.semanticMetric';
|
|
10401
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
10905
|
+
const referencepath_semanticMetricValidationError = validate$g(obj_semanticMetric, path_semanticMetric);
|
|
10402
10906
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
10403
10907
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
10404
10908
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10408,7 +10912,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10408
10912
|
if (obj.timeRange !== undefined) {
|
|
10409
10913
|
const obj_timeRange = obj.timeRange;
|
|
10410
10914
|
const path_timeRange = path + '.timeRange';
|
|
10411
|
-
const referencepath_timeRangeValidationError = validate$
|
|
10915
|
+
const referencepath_timeRangeValidationError = validate$9(obj_timeRange, path_timeRange);
|
|
10412
10916
|
if (referencepath_timeRangeValidationError !== null) {
|
|
10413
10917
|
let message = 'Object doesn\'t match SemanticTimeRangeOutputRepresentation (at "' + path_timeRange + '")\n';
|
|
10414
10918
|
message += referencepath_timeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10431,15 +10935,15 @@ function keyBuilderFromType(luvio, object) {
|
|
|
10431
10935
|
function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
10432
10936
|
return input;
|
|
10433
10937
|
}
|
|
10434
|
-
const select$
|
|
10938
|
+
const select$m = function SemanticSubMetricOutputRepresentationSelect() {
|
|
10435
10939
|
return {
|
|
10436
10940
|
kind: 'Fragment',
|
|
10437
|
-
version: VERSION$
|
|
10941
|
+
version: VERSION$7,
|
|
10438
10942
|
private: [],
|
|
10439
10943
|
opaque: true
|
|
10440
10944
|
};
|
|
10441
10945
|
};
|
|
10442
|
-
function equals$
|
|
10946
|
+
function equals$7(existing, incoming) {
|
|
10443
10947
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
10444
10948
|
return false;
|
|
10445
10949
|
}
|
|
@@ -10447,14 +10951,14 @@ function equals$9(existing, incoming) {
|
|
|
10447
10951
|
}
|
|
10448
10952
|
const ingest$6 = function SemanticSubMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10449
10953
|
if (process.env.NODE_ENV !== 'production') {
|
|
10450
|
-
const validateError = validate$
|
|
10954
|
+
const validateError = validate$8(input);
|
|
10451
10955
|
if (validateError !== null) {
|
|
10452
10956
|
throw validateError;
|
|
10453
10957
|
}
|
|
10454
10958
|
}
|
|
10455
10959
|
const key = keyBuilderFromType(luvio, input);
|
|
10456
10960
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
10457
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SemanticAuthoring", VERSION$
|
|
10961
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SemanticAuthoring", VERSION$7, RepresentationType$6, equals$7);
|
|
10458
10962
|
return createLink(key);
|
|
10459
10963
|
};
|
|
10460
10964
|
function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -10467,8 +10971,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10467
10971
|
});
|
|
10468
10972
|
}
|
|
10469
10973
|
|
|
10470
|
-
function select$
|
|
10471
|
-
return select$
|
|
10974
|
+
function select$l(luvio, params) {
|
|
10975
|
+
return select$m();
|
|
10472
10976
|
}
|
|
10473
10977
|
function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
|
|
10474
10978
|
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
@@ -10479,7 +10983,7 @@ function ingestSuccess$e(luvio, resourceParams, response) {
|
|
|
10479
10983
|
luvio.storeIngest(key, ingest$6, body);
|
|
10480
10984
|
const snapshot = luvio.storeLookup({
|
|
10481
10985
|
recordId: key,
|
|
10482
|
-
node: select$
|
|
10986
|
+
node: select$l(),
|
|
10483
10987
|
variables: {},
|
|
10484
10988
|
});
|
|
10485
10989
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -10526,7 +11030,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10526
11030
|
const untrustedConfig_filters_array = [];
|
|
10527
11031
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
10528
11032
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
10529
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
11033
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$10(untrustedConfig_filters_item);
|
|
10530
11034
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
10531
11035
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
10532
11036
|
}
|
|
@@ -10534,12 +11038,12 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10534
11038
|
config.filters = untrustedConfig_filters_array;
|
|
10535
11039
|
}
|
|
10536
11040
|
const untrustedConfig_goal = untrustedConfig.goal;
|
|
10537
|
-
const referenceSemanticMetricGoalInputRepresentationValidationError = validate$
|
|
11041
|
+
const referenceSemanticMetricGoalInputRepresentationValidationError = validate$c(untrustedConfig_goal);
|
|
10538
11042
|
if (referenceSemanticMetricGoalInputRepresentationValidationError === null) {
|
|
10539
11043
|
config.goal = untrustedConfig_goal;
|
|
10540
11044
|
}
|
|
10541
11045
|
const untrustedConfig_timeRange = untrustedConfig.timeRange;
|
|
10542
|
-
const referenceSemanticTimeRangeInputRepresentationValidationError = validate$
|
|
11046
|
+
const referenceSemanticTimeRangeInputRepresentationValidationError = validate$b(untrustedConfig_timeRange);
|
|
10543
11047
|
if (referenceSemanticTimeRangeInputRepresentationValidationError === null) {
|
|
10544
11048
|
config.timeRange = untrustedConfig_timeRange;
|
|
10545
11049
|
}
|
|
@@ -10846,118 +11350,6 @@ const deleteSemanticSubMetricAdapterFactory = (luvio) => {
|
|
|
10846
11350
|
};
|
|
10847
11351
|
};
|
|
10848
11352
|
|
|
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
11353
|
function validate$7(obj, path = 'SemanticDependencyInnerCollectionOutputRepresentation') {
|
|
10962
11354
|
const v_error = (() => {
|
|
10963
11355
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -10979,11 +11371,8 @@ function validate$7(obj, path = 'SemanticDependencyInnerCollectionOutputRepresen
|
|
|
10979
11371
|
for (let i = 0; i < obj_dependencies.length; i++) {
|
|
10980
11372
|
const obj_dependencies_item = obj_dependencies[i];
|
|
10981
11373
|
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);
|
|
11374
|
+
if (typeof obj_dependencies_item !== 'object') {
|
|
11375
|
+
return new TypeError('Expected "object" but received "' + typeof obj_dependencies_item + '" (at "' + path_dependencies_item + '")');
|
|
10987
11376
|
}
|
|
10988
11377
|
}
|
|
10989
11378
|
}
|
|
@@ -10997,82 +11386,9 @@ function validate$7(obj, path = 'SemanticDependencyInnerCollectionOutputRepresen
|
|
|
10997
11386
|
})();
|
|
10998
11387
|
return v_error === undefined ? null : v_error;
|
|
10999
11388
|
}
|
|
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
11389
|
|
|
11075
|
-
const
|
|
11390
|
+
const TTL = 100;
|
|
11391
|
+
const VERSION$6 = "9d47b2b8e7223a9d5ff7a0fea7e030e6";
|
|
11076
11392
|
function validate$6(obj, path = 'SemanticDependencyCollectionOutputRepresentation') {
|
|
11077
11393
|
const v_error = (() => {
|
|
11078
11394
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -11103,40 +11419,16 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
|
11103
11419
|
return input;
|
|
11104
11420
|
}
|
|
11105
11421
|
const select$k = function SemanticDependencyCollectionOutputRepresentationSelect() {
|
|
11106
|
-
const { selections: SemanticDependencyInnerCollectionOutputRepresentation__selections, opaque: SemanticDependencyInnerCollectionOutputRepresentation__opaque, } = select$l();
|
|
11107
11422
|
return {
|
|
11108
11423
|
kind: 'Fragment',
|
|
11109
11424
|
version: VERSION$6,
|
|
11110
11425
|
private: [],
|
|
11111
|
-
|
|
11112
|
-
{
|
|
11113
|
-
name: 'item',
|
|
11114
|
-
kind: 'Object',
|
|
11115
|
-
plural: true,
|
|
11116
|
-
selections: SemanticDependencyInnerCollectionOutputRepresentation__selections,
|
|
11117
|
-
required: false
|
|
11118
|
-
}
|
|
11119
|
-
]
|
|
11426
|
+
opaque: true
|
|
11120
11427
|
};
|
|
11121
11428
|
};
|
|
11122
11429
|
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
|
-
}
|
|
11430
|
+
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
11431
|
+
return false;
|
|
11140
11432
|
}
|
|
11141
11433
|
return true;
|
|
11142
11434
|
}
|
|
@@ -11148,7 +11440,7 @@ const ingest$5 = function SemanticDependencyCollectionOutputRepresentationIngest
|
|
|
11148
11440
|
}
|
|
11149
11441
|
}
|
|
11150
11442
|
const key = path.fullPath;
|
|
11151
|
-
const ttlToUse =
|
|
11443
|
+
const ttlToUse = TTL;
|
|
11152
11444
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SemanticAuthoring", VERSION$6, RepresentationType$5, equals$6);
|
|
11153
11445
|
return createLink(key);
|
|
11154
11446
|
};
|
|
@@ -11191,7 +11483,13 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
11191
11483
|
function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
11192
11484
|
const key = keyBuilder$l(luvio, params);
|
|
11193
11485
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
11194
|
-
|
|
11486
|
+
const storeMetadataParams = {
|
|
11487
|
+
ttl: TTL,
|
|
11488
|
+
namespace: keyPrefix,
|
|
11489
|
+
version: VERSION$6,
|
|
11490
|
+
representationName: RepresentationType$5
|
|
11491
|
+
};
|
|
11492
|
+
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
11195
11493
|
return errorSnapshot;
|
|
11196
11494
|
}
|
|
11197
11495
|
function createResourceRequest$d(config) {
|
|
@@ -11296,7 +11594,7 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
|
|
|
11296
11594
|
};
|
|
11297
11595
|
|
|
11298
11596
|
function select$i(luvio, params) {
|
|
11299
|
-
return select$
|
|
11597
|
+
return select$Q();
|
|
11300
11598
|
}
|
|
11301
11599
|
function keyBuilder$j(luvio, params) {
|
|
11302
11600
|
return keyBuilder$B(luvio, {
|
|
@@ -11474,7 +11772,7 @@ const notifyChangeFactory$3 = (luvio, options) => {
|
|
|
11474
11772
|
};
|
|
11475
11773
|
|
|
11476
11774
|
function select$h(luvio, params) {
|
|
11477
|
-
return select$
|
|
11775
|
+
return select$r();
|
|
11478
11776
|
}
|
|
11479
11777
|
function keyBuilder$h(luvio, params) {
|
|
11480
11778
|
return keyBuilder$s(luvio, {
|
|
@@ -11700,7 +11998,7 @@ const select$g = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
|
11700
11998
|
kind: 'Link',
|
|
11701
11999
|
plural: true,
|
|
11702
12000
|
required: false,
|
|
11703
|
-
fragment: select$
|
|
12001
|
+
fragment: select$r()
|
|
11704
12002
|
}
|
|
11705
12003
|
]
|
|
11706
12004
|
};
|
|
@@ -12088,7 +12386,7 @@ const select$d = function SemanticSubMetricsByMetricOutputRepresentationSelect()
|
|
|
12088
12386
|
kind: 'Link',
|
|
12089
12387
|
plural: true,
|
|
12090
12388
|
required: false,
|
|
12091
|
-
fragment: select$
|
|
12389
|
+
fragment: select$m()
|
|
12092
12390
|
}
|
|
12093
12391
|
]
|
|
12094
12392
|
};
|
|
@@ -12399,7 +12697,7 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
12399
12697
|
};
|
|
12400
12698
|
|
|
12401
12699
|
function select$a(luvio, params) {
|
|
12402
|
-
return select$
|
|
12700
|
+
return select$o();
|
|
12403
12701
|
}
|
|
12404
12702
|
function keyBuilder$9(luvio, params) {
|
|
12405
12703
|
return keyBuilder$q(luvio, {
|
|
@@ -12572,12 +12870,19 @@ const notifyChangeFactory$1 = (luvio, options) => {
|
|
|
12572
12870
|
};
|
|
12573
12871
|
};
|
|
12574
12872
|
|
|
12575
|
-
const VERSION$2 = "
|
|
12873
|
+
const VERSION$2 = "1014ce27a42cdfd4801e0ee44a71ca8d";
|
|
12576
12874
|
function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
12577
12875
|
const v_error = (() => {
|
|
12578
12876
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12579
12877
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
12580
12878
|
}
|
|
12879
|
+
if (obj.agentEnabled !== undefined) {
|
|
12880
|
+
const obj_agentEnabled = obj.agentEnabled;
|
|
12881
|
+
const path_agentEnabled = path + '.agentEnabled';
|
|
12882
|
+
if (typeof obj_agentEnabled !== 'boolean') {
|
|
12883
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_agentEnabled + '" (at "' + path_agentEnabled + '")');
|
|
12884
|
+
}
|
|
12885
|
+
}
|
|
12581
12886
|
const obj_apiName = obj.apiName;
|
|
12582
12887
|
const path_apiName = path + '.apiName';
|
|
12583
12888
|
if (typeof obj_apiName !== 'string') {
|
|
@@ -12606,7 +12911,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
12606
12911
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
12607
12912
|
const obj_baseModels_item = obj_baseModels[i];
|
|
12608
12913
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
12609
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
12914
|
+
const referencepath_baseModels_itemValidationError = validate$F(obj_baseModels_item, path_baseModels_item);
|
|
12610
12915
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
12611
12916
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
12612
12917
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12614,6 +12919,13 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
12614
12919
|
}
|
|
12615
12920
|
}
|
|
12616
12921
|
}
|
|
12922
|
+
if (obj.businessPreferences !== undefined) {
|
|
12923
|
+
const obj_businessPreferences = obj.businessPreferences;
|
|
12924
|
+
const path_businessPreferences = path + '.businessPreferences';
|
|
12925
|
+
if (typeof obj_businessPreferences !== 'string') {
|
|
12926
|
+
return new TypeError('Expected "string" but received "' + typeof obj_businessPreferences + '" (at "' + path_businessPreferences + '")');
|
|
12927
|
+
}
|
|
12928
|
+
}
|
|
12617
12929
|
if (obj.cacheKey !== undefined) {
|
|
12618
12930
|
const obj_cacheKey = obj.cacheKey;
|
|
12619
12931
|
const path_cacheKey = path + '.cacheKey';
|
|
@@ -12778,12 +13090,17 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
12778
13090
|
return v_error === undefined ? null : v_error;
|
|
12779
13091
|
}
|
|
12780
13092
|
const select$9 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
12781
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
13093
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$O();
|
|
12782
13094
|
return {
|
|
12783
13095
|
kind: 'Fragment',
|
|
12784
13096
|
version: VERSION$2,
|
|
12785
13097
|
private: [],
|
|
12786
13098
|
selections: [
|
|
13099
|
+
{
|
|
13100
|
+
name: 'agentEnabled',
|
|
13101
|
+
kind: 'Scalar',
|
|
13102
|
+
required: false
|
|
13103
|
+
},
|
|
12787
13104
|
{
|
|
12788
13105
|
name: 'apiName',
|
|
12789
13106
|
kind: 'Scalar'
|
|
@@ -12805,6 +13122,11 @@ const select$9 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
12805
13122
|
selections: SemanticBaseModelOutputRepresentation__selections,
|
|
12806
13123
|
required: false
|
|
12807
13124
|
},
|
|
13125
|
+
{
|
|
13126
|
+
name: 'businessPreferences',
|
|
13127
|
+
kind: 'Scalar',
|
|
13128
|
+
required: false
|
|
13129
|
+
},
|
|
12808
13130
|
{
|
|
12809
13131
|
name: 'cacheKey',
|
|
12810
13132
|
kind: 'Scalar',
|
|
@@ -12906,6 +13228,19 @@ const select$9 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
12906
13228
|
};
|
|
12907
13229
|
};
|
|
12908
13230
|
function equals$2(existing, incoming) {
|
|
13231
|
+
const existing_agentEnabled = existing.agentEnabled;
|
|
13232
|
+
const incoming_agentEnabled = incoming.agentEnabled;
|
|
13233
|
+
// if at least one of these optionals is defined
|
|
13234
|
+
if (existing_agentEnabled !== undefined || incoming_agentEnabled !== undefined) {
|
|
13235
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
13236
|
+
// not equal
|
|
13237
|
+
if (existing_agentEnabled === undefined || incoming_agentEnabled === undefined) {
|
|
13238
|
+
return false;
|
|
13239
|
+
}
|
|
13240
|
+
if (!(existing_agentEnabled === incoming_agentEnabled)) {
|
|
13241
|
+
return false;
|
|
13242
|
+
}
|
|
13243
|
+
}
|
|
12909
13244
|
const existing_isLocked = existing.isLocked;
|
|
12910
13245
|
const incoming_isLocked = incoming.isLocked;
|
|
12911
13246
|
// if at least one of these optionals is defined
|
|
@@ -12950,6 +13285,19 @@ function equals$2(existing, incoming) {
|
|
|
12950
13285
|
return false;
|
|
12951
13286
|
}
|
|
12952
13287
|
}
|
|
13288
|
+
const existing_businessPreferences = existing.businessPreferences;
|
|
13289
|
+
const incoming_businessPreferences = incoming.businessPreferences;
|
|
13290
|
+
// if at least one of these optionals is defined
|
|
13291
|
+
if (existing_businessPreferences !== undefined || incoming_businessPreferences !== undefined) {
|
|
13292
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
13293
|
+
// not equal
|
|
13294
|
+
if (existing_businessPreferences === undefined || incoming_businessPreferences === undefined) {
|
|
13295
|
+
return false;
|
|
13296
|
+
}
|
|
13297
|
+
if (!(existing_businessPreferences === incoming_businessPreferences)) {
|
|
13298
|
+
return false;
|
|
13299
|
+
}
|
|
13300
|
+
}
|
|
12953
13301
|
const existing_cacheKey = existing.cacheKey;
|
|
12954
13302
|
const incoming_cacheKey = incoming.cacheKey;
|
|
12955
13303
|
// if at least one of these optionals is defined
|
|
@@ -13149,7 +13497,7 @@ function equals$2(existing, incoming) {
|
|
|
13149
13497
|
return false;
|
|
13150
13498
|
}
|
|
13151
13499
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
13152
|
-
if (!(equals$
|
|
13500
|
+
if (!(equals$y(existing_baseModels_item, incoming_baseModels_item))) {
|
|
13153
13501
|
return false;
|
|
13154
13502
|
}
|
|
13155
13503
|
});
|
|
@@ -13588,7 +13936,7 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
13588
13936
|
};
|
|
13589
13937
|
|
|
13590
13938
|
function select$6(luvio, params) {
|
|
13591
|
-
return select$
|
|
13939
|
+
return select$m();
|
|
13592
13940
|
}
|
|
13593
13941
|
function keyBuilder$5(luvio, params) {
|
|
13594
13942
|
return keyBuilder$p(luvio, {
|
|
@@ -13814,7 +14162,7 @@ const select$5 = function SemanticSubMetricCollectionOutputRepresentationSelect(
|
|
|
13814
14162
|
kind: 'Link',
|
|
13815
14163
|
plural: true,
|
|
13816
14164
|
required: false,
|
|
13817
|
-
fragment: select$
|
|
14165
|
+
fragment: select$m()
|
|
13818
14166
|
}
|
|
13819
14167
|
]
|
|
13820
14168
|
};
|
|
@@ -14135,7 +14483,7 @@ const getSemanticSubMetricsByIdAdapterFactory = (luvio) => function SemanticAuth
|
|
|
14135
14483
|
};
|
|
14136
14484
|
|
|
14137
14485
|
function select$2(luvio, params) {
|
|
14138
|
-
return select$
|
|
14486
|
+
return select$m();
|
|
14139
14487
|
}
|
|
14140
14488
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
14141
14489
|
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
@@ -14188,7 +14536,7 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
14188
14536
|
const untrustedConfig_statusConditions_array = [];
|
|
14189
14537
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
14190
14538
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
14191
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
14539
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$18(untrustedConfig_statusConditions_item);
|
|
14192
14540
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
14193
14541
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
14194
14542
|
}
|
|
@@ -14240,7 +14588,7 @@ const patchSemanticMetricGoalAdapterFactory = (luvio) => {
|
|
|
14240
14588
|
};
|
|
14241
14589
|
|
|
14242
14590
|
function select$1(luvio, params) {
|
|
14243
|
-
return select$
|
|
14591
|
+
return select$o();
|
|
14244
14592
|
}
|
|
14245
14593
|
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
14246
14594
|
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
@@ -14310,7 +14658,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14310
14658
|
const untrustedConfig_baseModels_array = [];
|
|
14311
14659
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
14312
14660
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
14313
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
14661
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$14(untrustedConfig_baseModels_item);
|
|
14314
14662
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
14315
14663
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
14316
14664
|
}
|
|
@@ -14322,7 +14670,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14322
14670
|
const untrustedConfig_externalConnections_array = [];
|
|
14323
14671
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
14324
14672
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
14325
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
14673
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$12(untrustedConfig_externalConnections_item);
|
|
14326
14674
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
14327
14675
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
14328
14676
|
}
|
|
@@ -14334,7 +14682,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14334
14682
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
14335
14683
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
14336
14684
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
14337
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
14685
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$11(untrustedConfig_fieldsOverrides_item);
|
|
14338
14686
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
14339
14687
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
14340
14688
|
}
|
|
@@ -14346,7 +14694,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14346
14694
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
14347
14695
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
14348
14696
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
14349
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
14697
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedDimensions_item);
|
|
14350
14698
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
14351
14699
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
14352
14700
|
}
|
|
@@ -14358,7 +14706,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14358
14706
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
14359
14707
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
14360
14708
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
14361
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate
|
|
14709
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
14362
14710
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
14363
14711
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
14364
14712
|
}
|
|
@@ -14370,7 +14718,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14370
14718
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
14371
14719
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
14372
14720
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
14373
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
14721
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$X(untrustedConfig_semanticDataObjects_item);
|
|
14374
14722
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
14375
14723
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
14376
14724
|
}
|
|
@@ -14382,7 +14730,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14382
14730
|
const untrustedConfig_semanticGroupings_array = [];
|
|
14383
14731
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
14384
14732
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
14385
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
14733
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$Q(untrustedConfig_semanticGroupings_item);
|
|
14386
14734
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
14387
14735
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
14388
14736
|
}
|
|
@@ -14394,7 +14742,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14394
14742
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
14395
14743
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
14396
14744
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
14397
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
14745
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$L(untrustedConfig_semanticLogicalViews_item);
|
|
14398
14746
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
14399
14747
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
14400
14748
|
}
|
|
@@ -14406,7 +14754,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14406
14754
|
const untrustedConfig_semanticMetrics_array = [];
|
|
14407
14755
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
14408
14756
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
14409
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
14757
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$H(untrustedConfig_semanticMetrics_item);
|
|
14410
14758
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
14411
14759
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
14412
14760
|
}
|
|
@@ -14418,7 +14766,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14418
14766
|
const untrustedConfig_semanticParameters_array = [];
|
|
14419
14767
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
14420
14768
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
14421
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
14769
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$G(untrustedConfig_semanticParameters_item);
|
|
14422
14770
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
14423
14771
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
14424
14772
|
}
|
|
@@ -14430,7 +14778,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14430
14778
|
const untrustedConfig_semanticRelationships_array = [];
|
|
14431
14779
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
14432
14780
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
14433
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
14781
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$O(untrustedConfig_semanticRelationships_item);
|
|
14434
14782
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
14435
14783
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
14436
14784
|
}
|
|
@@ -14482,7 +14830,7 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
14482
14830
|
};
|
|
14483
14831
|
|
|
14484
14832
|
function select(luvio, params) {
|
|
14485
|
-
return select$
|
|
14833
|
+
return select$Q();
|
|
14486
14834
|
}
|
|
14487
14835
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
14488
14836
|
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
@@ -14538,7 +14886,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
14538
14886
|
const config = {};
|
|
14539
14887
|
typeCheckConfig$k(untrustedConfig, config, updateSemanticGoal_ConfigPropertyMetadata);
|
|
14540
14888
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
14541
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
14889
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$19(untrustedConfig_dateRange);
|
|
14542
14890
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
14543
14891
|
config.dateRange = untrustedConfig_dateRange;
|
|
14544
14892
|
}
|
|
@@ -14547,7 +14895,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
14547
14895
|
const untrustedConfig_statusConditions_array = [];
|
|
14548
14896
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
14549
14897
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
14550
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
14898
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$18(untrustedConfig_statusConditions_item);
|
|
14551
14899
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
14552
14900
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
14553
14901
|
}
|
|
@@ -14637,6 +14985,7 @@ let getSemanticSubMetricsById_imperative;
|
|
|
14637
14985
|
const getLeafDependenciesByTypesMetadata = {
|
|
14638
14986
|
apiFamily: 'SemanticAuthoring',
|
|
14639
14987
|
name: 'getLeafDependenciesByTypes',
|
|
14988
|
+
ttl: 100,
|
|
14640
14989
|
};
|
|
14641
14990
|
const getSemanticGoalMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticGoal' };
|
|
14642
14991
|
const getSemanticMetricMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticMetric' };
|
|
@@ -14762,4 +15111,4 @@ withDefaultLuvio((luvio) => {
|
|
|
14762
15111
|
});
|
|
14763
15112
|
|
|
14764
15113
|
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.354.0-
|
|
15114
|
+
// version: 1.354.0-dev20-c23c23e6bf
|