@salesforce/lds-adapters-cdp-semantic-authoring 1.391.0 → 1.393.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cdp-semantic-authoring.js +1247 -699
- package/dist/es/es2018/types/src/generated/adapters/createSemanticModel.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/adapters/patchSemanticModel.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsModelFiltersByFilterNameOrIdAndModelApiNameOrId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsModelFiltersByFilterNameOrIdAndModelApiNameOrId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsModelFiltersByModelApiNameOrId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModels.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsModelFiltersByModelApiNameOrId.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsModelFiltersByFilterNameOrIdAndModelApiNameOrId.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelFilterCollectionOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelFilterInputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelFilterOutputRepresentation.d.ts +80 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +7 -1
- package/package.json +3 -3
- package/sfdc/index.js +1226 -678
- package/src/raml/api.raml +181 -0
- package/src/raml/luvio.raml +3 -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$1d(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$1b(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
|
|
|
125
125
|
return v_error === undefined ? null : v_error;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
function validate$
|
|
128
|
+
function validate$1c(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$1a(obj, path = 'SemanticGoalStatusConditionInputRepresentation
|
|
|
176
176
|
return v_error === undefined ? null : v_error;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
function validate$
|
|
179
|
+
function validate$1b(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$19(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
|
|
|
195
195
|
return v_error === undefined ? null : v_error;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
function validate$
|
|
198
|
+
function validate$1a(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$18(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$B = "8ade9728ba6d188b7fa9237cf944576e";
|
|
240
|
+
function validate$19(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$17(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$1b(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');
|
|
@@ -332,7 +332,7 @@ function validate$17(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
|
332
332
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
333
333
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
334
334
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
335
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
335
|
+
const referencepath_statusConditions_itemValidationError = validate$1a(obj_statusConditions_item, path_statusConditions_item);
|
|
336
336
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
337
337
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
338
338
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -347,70 +347,70 @@ function validate$17(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
|
347
347
|
})();
|
|
348
348
|
return v_error === undefined ? null : v_error;
|
|
349
349
|
}
|
|
350
|
-
const RepresentationType$
|
|
351
|
-
function keyBuilder$
|
|
352
|
-
return keyPrefix + '::' + RepresentationType$
|
|
350
|
+
const RepresentationType$j = 'SemanticGoalOutputRepresentation';
|
|
351
|
+
function keyBuilder$C(luvio, config) {
|
|
352
|
+
return keyPrefix + '::' + RepresentationType$j + ':' + config.subMetricNameOrId + ':' + config.startDate + ':' + config.endDate;
|
|
353
353
|
}
|
|
354
|
-
function keyBuilderFromType$
|
|
354
|
+
function keyBuilderFromType$d(luvio, object) {
|
|
355
355
|
const keyParams = {
|
|
356
356
|
subMetricNameOrId: object.subMetricDefinitionApiName,
|
|
357
357
|
startDate: object.dateRange.startDate,
|
|
358
358
|
endDate: object.dateRange.endDate
|
|
359
359
|
};
|
|
360
|
-
return keyBuilder$
|
|
360
|
+
return keyBuilder$C(luvio, keyParams);
|
|
361
361
|
}
|
|
362
|
-
function normalize$
|
|
362
|
+
function normalize$j(input, existing, path, luvio, store, timestamp) {
|
|
363
363
|
return input;
|
|
364
364
|
}
|
|
365
|
-
const select$
|
|
365
|
+
const select$S = function SemanticGoalOutputRepresentationSelect() {
|
|
366
366
|
return {
|
|
367
367
|
kind: 'Fragment',
|
|
368
|
-
version: VERSION$
|
|
368
|
+
version: VERSION$B,
|
|
369
369
|
private: [],
|
|
370
370
|
opaque: true
|
|
371
371
|
};
|
|
372
372
|
};
|
|
373
|
-
function equals$
|
|
373
|
+
function equals$B(existing, incoming) {
|
|
374
374
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
375
375
|
return false;
|
|
376
376
|
}
|
|
377
377
|
return true;
|
|
378
378
|
}
|
|
379
|
-
const ingest$
|
|
379
|
+
const ingest$j = function SemanticGoalOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
380
380
|
if (process.env.NODE_ENV !== 'production') {
|
|
381
|
-
const validateError = validate$
|
|
381
|
+
const validateError = validate$19(input);
|
|
382
382
|
if (validateError !== null) {
|
|
383
383
|
throw validateError;
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
const key = keyBuilderFromType$
|
|
386
|
+
const key = keyBuilderFromType$d(luvio, input);
|
|
387
387
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
388
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
388
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "SemanticAuthoring", VERSION$B, RepresentationType$j, equals$B);
|
|
389
389
|
return createLink(key);
|
|
390
390
|
};
|
|
391
|
-
function getTypeCacheKeys$
|
|
391
|
+
function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
392
392
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
393
|
-
const rootKey = keyBuilderFromType$
|
|
393
|
+
const rootKey = keyBuilderFromType$d(luvio, input);
|
|
394
394
|
rootKeySet.set(rootKey, {
|
|
395
395
|
namespace: keyPrefix,
|
|
396
|
-
representationName: RepresentationType$
|
|
396
|
+
representationName: RepresentationType$j,
|
|
397
397
|
mergeable: false
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
|
|
401
|
-
function select$
|
|
402
|
-
return select$
|
|
401
|
+
function select$R(luvio, params) {
|
|
402
|
+
return select$S();
|
|
403
403
|
}
|
|
404
404
|
function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
|
|
405
|
-
getTypeCacheKeys$
|
|
405
|
+
getTypeCacheKeys$j(storeKeyMap, luvio, response);
|
|
406
406
|
}
|
|
407
407
|
function ingestSuccess$g(luvio, resourceParams, response) {
|
|
408
408
|
const { body } = response;
|
|
409
|
-
const key = keyBuilderFromType$
|
|
410
|
-
luvio.storeIngest(key, ingest$
|
|
409
|
+
const key = keyBuilderFromType$d(luvio, body);
|
|
410
|
+
luvio.storeIngest(key, ingest$j, body);
|
|
411
411
|
const snapshot = luvio.storeLookup({
|
|
412
412
|
recordId: key,
|
|
413
|
-
node: select$
|
|
413
|
+
node: select$R(),
|
|
414
414
|
variables: {},
|
|
415
415
|
});
|
|
416
416
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -452,7 +452,7 @@ function typeCheckConfig$j(untrustedConfig) {
|
|
|
452
452
|
const config = {};
|
|
453
453
|
typeCheckConfig$k(untrustedConfig, config, createSemanticGoal_ConfigPropertyMetadata);
|
|
454
454
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
455
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
455
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$1d(untrustedConfig_dateRange);
|
|
456
456
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
457
457
|
config.dateRange = untrustedConfig_dateRange;
|
|
458
458
|
}
|
|
@@ -461,7 +461,7 @@ function typeCheckConfig$j(untrustedConfig) {
|
|
|
461
461
|
const untrustedConfig_statusConditions_array = [];
|
|
462
462
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
463
463
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
464
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
464
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$1c(untrustedConfig_statusConditions_item);
|
|
465
465
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
466
466
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
467
467
|
}
|
|
@@ -512,7 +512,7 @@ const createSemanticGoalAdapterFactory = (luvio) => {
|
|
|
512
512
|
};
|
|
513
513
|
};
|
|
514
514
|
|
|
515
|
-
function validate$
|
|
515
|
+
function validate$18(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
516
516
|
const v_error = (() => {
|
|
517
517
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
518
518
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -528,7 +528,7 @@ function validate$16(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
528
528
|
return v_error === undefined ? null : v_error;
|
|
529
529
|
}
|
|
530
530
|
|
|
531
|
-
function validate$
|
|
531
|
+
function validate$17(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation') {
|
|
532
532
|
const v_error = (() => {
|
|
533
533
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
534
534
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -557,7 +557,7 @@ function validate$15(obj, path = 'SemanticModelExternalConnectionTableauPublishe
|
|
|
557
557
|
return v_error === undefined ? null : v_error;
|
|
558
558
|
}
|
|
559
559
|
|
|
560
|
-
function validate$
|
|
560
|
+
function validate$16(obj, path = 'SemanticModelExternalConnectionInputRepresentation') {
|
|
561
561
|
const v_error = (() => {
|
|
562
562
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
563
563
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -577,7 +577,7 @@ function validate$14(obj, path = 'SemanticModelExternalConnectionInputRepresenta
|
|
|
577
577
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
578
578
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
579
579
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
580
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
580
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$17(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
581
581
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
582
582
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
583
583
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -593,7 +593,7 @@ function validate$14(obj, path = 'SemanticModelExternalConnectionInputRepresenta
|
|
|
593
593
|
return v_error === undefined ? null : v_error;
|
|
594
594
|
}
|
|
595
595
|
|
|
596
|
-
function validate$
|
|
596
|
+
function validate$15(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
597
597
|
const v_error = (() => {
|
|
598
598
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
599
599
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -623,7 +623,7 @@ function validate$13(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
|
623
623
|
return v_error === undefined ? null : v_error;
|
|
624
624
|
}
|
|
625
625
|
|
|
626
|
-
function validate$
|
|
626
|
+
function validate$14(obj, path = 'SemanticFilterInputRepresentation') {
|
|
627
627
|
const v_error = (() => {
|
|
628
628
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
629
629
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -667,7 +667,7 @@ function validate$12(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
667
667
|
return v_error === undefined ? null : v_error;
|
|
668
668
|
}
|
|
669
669
|
|
|
670
|
-
function validate$
|
|
670
|
+
function validate$13(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
671
671
|
const v_error = (() => {
|
|
672
672
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
673
673
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -730,7 +730,7 @@ function validate$11(obj, path = 'SemanticCalculatedDimensionInputRepresentation
|
|
|
730
730
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
731
731
|
const obj_filters_item = obj_filters[i];
|
|
732
732
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
733
|
-
const referencepath_filters_itemValidationError = validate$
|
|
733
|
+
const referencepath_filters_itemValidationError = validate$14(obj_filters_item, path_filters_item);
|
|
734
734
|
if (referencepath_filters_itemValidationError !== null) {
|
|
735
735
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
736
736
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -784,7 +784,7 @@ function validate$11(obj, path = 'SemanticCalculatedDimensionInputRepresentation
|
|
|
784
784
|
return v_error === undefined ? null : v_error;
|
|
785
785
|
}
|
|
786
786
|
|
|
787
|
-
function validate$
|
|
787
|
+
function validate$12(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
788
788
|
const v_error = (() => {
|
|
789
789
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
790
790
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -861,7 +861,7 @@ function validate$10(obj, path = 'SemanticCalculatedMeasurementInputRepresentati
|
|
|
861
861
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
862
862
|
const obj_filters_item = obj_filters[i];
|
|
863
863
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
864
|
-
const referencepath_filters_itemValidationError = validate$
|
|
864
|
+
const referencepath_filters_itemValidationError = validate$14(obj_filters_item, path_filters_item);
|
|
865
865
|
if (referencepath_filters_itemValidationError !== null) {
|
|
866
866
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
867
867
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -936,7 +936,7 @@ function validate$10(obj, path = 'SemanticCalculatedMeasurementInputRepresentati
|
|
|
936
936
|
return v_error === undefined ? null : v_error;
|
|
937
937
|
}
|
|
938
938
|
|
|
939
|
-
function validate
|
|
939
|
+
function validate$11(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
940
940
|
const v_error = (() => {
|
|
941
941
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
942
942
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1015,7 +1015,7 @@ function validate$$(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
1015
1015
|
return v_error === undefined ? null : v_error;
|
|
1016
1016
|
}
|
|
1017
1017
|
|
|
1018
|
-
function validate$
|
|
1018
|
+
function validate$10(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
1019
1019
|
const v_error = (() => {
|
|
1020
1020
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1021
1021
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1122,7 +1122,7 @@ function validate$_(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
1122
1122
|
return v_error === undefined ? null : v_error;
|
|
1123
1123
|
}
|
|
1124
1124
|
|
|
1125
|
-
function validate
|
|
1125
|
+
function validate$$(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
1126
1126
|
const v_error = (() => {
|
|
1127
1127
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1128
1128
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1171,7 +1171,7 @@ function validate$Z(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1171
1171
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1172
1172
|
const obj_filters_item = obj_filters[i];
|
|
1173
1173
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1174
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1174
|
+
const referencepath_filters_itemValidationError = validate$14(obj_filters_item, path_filters_item);
|
|
1175
1175
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1176
1176
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1177
1177
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1209,7 +1209,7 @@ function validate$Z(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1209
1209
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
1210
1210
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
1211
1211
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
1212
|
-
const referencepath_semanticDimensions_itemValidationError = validate
|
|
1212
|
+
const referencepath_semanticDimensions_itemValidationError = validate$11(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
1213
1213
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
1214
1214
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
1215
1215
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1226,7 +1226,7 @@ function validate$Z(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1226
1226
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
1227
1227
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
1228
1228
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
1229
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
1229
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$10(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
1230
1230
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
1231
1231
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
1232
1232
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1252,7 +1252,7 @@ function validate$Z(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1252
1252
|
return v_error === undefined ? null : v_error;
|
|
1253
1253
|
}
|
|
1254
1254
|
|
|
1255
|
-
function validate$
|
|
1255
|
+
function validate$_(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
1256
1256
|
const v_error = (() => {
|
|
1257
1257
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1258
1258
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1264,7 +1264,7 @@ function validate$Y(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
1264
1264
|
return v_error === undefined ? null : v_error;
|
|
1265
1265
|
}
|
|
1266
1266
|
|
|
1267
|
-
function validate$
|
|
1267
|
+
function validate$Z(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
1268
1268
|
const v_error = (() => {
|
|
1269
1269
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1270
1270
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1294,7 +1294,7 @@ function validate$X(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
1294
1294
|
return v_error === undefined ? null : v_error;
|
|
1295
1295
|
}
|
|
1296
1296
|
|
|
1297
|
-
function validate$
|
|
1297
|
+
function validate$Y(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
1298
1298
|
const v_error = (() => {
|
|
1299
1299
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1300
1300
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1308,7 +1308,7 @@ function validate$W(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1308
1308
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
1309
1309
|
const obj_groups_item = obj_groups[i];
|
|
1310
1310
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
1311
|
-
const referencepath_groups_itemValidationError = validate$
|
|
1311
|
+
const referencepath_groups_itemValidationError = validate$Z(obj_groups_item, path_groups_item);
|
|
1312
1312
|
if (referencepath_groups_itemValidationError !== null) {
|
|
1313
1313
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
1314
1314
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1327,7 +1327,7 @@ function validate$W(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1327
1327
|
return v_error === undefined ? null : v_error;
|
|
1328
1328
|
}
|
|
1329
1329
|
|
|
1330
|
-
function validate$
|
|
1330
|
+
function validate$X(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
1331
1331
|
const v_error = (() => {
|
|
1332
1332
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1333
1333
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1335,7 +1335,7 @@ function validate$V(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1335
1335
|
if (obj.binDimension !== undefined) {
|
|
1336
1336
|
const obj_binDimension = obj.binDimension;
|
|
1337
1337
|
const path_binDimension = path + '.binDimension';
|
|
1338
|
-
const referencepath_binDimensionValidationError = validate$
|
|
1338
|
+
const referencepath_binDimensionValidationError = validate$_(obj_binDimension, path_binDimension);
|
|
1339
1339
|
if (referencepath_binDimensionValidationError !== null) {
|
|
1340
1340
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
1341
1341
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1345,7 +1345,7 @@ function validate$V(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1345
1345
|
if (obj.groupDimension !== undefined) {
|
|
1346
1346
|
const obj_groupDimension = obj.groupDimension;
|
|
1347
1347
|
const path_groupDimension = path + '.groupDimension';
|
|
1348
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
1348
|
+
const referencepath_groupDimensionValidationError = validate$Y(obj_groupDimension, path_groupDimension);
|
|
1349
1349
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
1350
1350
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
1351
1351
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1356,7 +1356,7 @@ function validate$V(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1356
1356
|
return v_error === undefined ? null : v_error;
|
|
1357
1357
|
}
|
|
1358
1358
|
|
|
1359
|
-
function validate$
|
|
1359
|
+
function validate$W(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
1360
1360
|
const v_error = (() => {
|
|
1361
1361
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1362
1362
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1379,7 +1379,7 @@ function validate$U(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
1379
1379
|
return v_error === undefined ? null : v_error;
|
|
1380
1380
|
}
|
|
1381
1381
|
|
|
1382
|
-
function validate$
|
|
1382
|
+
function validate$V(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
1383
1383
|
const v_error = (() => {
|
|
1384
1384
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1385
1385
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1394,7 +1394,7 @@ function validate$T(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1394
1394
|
if (obj.tableFieldReference !== undefined) {
|
|
1395
1395
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
1396
1396
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
1397
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
1397
|
+
const referencepath_tableFieldReferenceValidationError = validate$W(obj_tableFieldReference, path_tableFieldReference);
|
|
1398
1398
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
1399
1399
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
1400
1400
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1405,7 +1405,7 @@ function validate$T(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1405
1405
|
return v_error === undefined ? null : v_error;
|
|
1406
1406
|
}
|
|
1407
1407
|
|
|
1408
|
-
function validate$
|
|
1408
|
+
function validate$U(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
1409
1409
|
const v_error = (() => {
|
|
1410
1410
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1411
1411
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1420,7 +1420,7 @@ function validate$S(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1420
1420
|
if (obj.configuration !== undefined) {
|
|
1421
1421
|
const obj_configuration = obj.configuration;
|
|
1422
1422
|
const path_configuration = path + '.configuration';
|
|
1423
|
-
const referencepath_configurationValidationError = validate$
|
|
1423
|
+
const referencepath_configurationValidationError = validate$X(obj_configuration, path_configuration);
|
|
1424
1424
|
if (referencepath_configurationValidationError !== null) {
|
|
1425
1425
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
1426
1426
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1437,7 +1437,7 @@ function validate$S(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1437
1437
|
if (obj.fieldReference !== undefined) {
|
|
1438
1438
|
const obj_fieldReference = obj.fieldReference;
|
|
1439
1439
|
const path_fieldReference = path + '.fieldReference';
|
|
1440
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
1440
|
+
const referencepath_fieldReferenceValidationError = validate$V(obj_fieldReference, path_fieldReference);
|
|
1441
1441
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
1442
1442
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
1443
1443
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1462,7 +1462,7 @@ function validate$S(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1462
1462
|
return v_error === undefined ? null : v_error;
|
|
1463
1463
|
}
|
|
1464
1464
|
|
|
1465
|
-
function validate$
|
|
1465
|
+
function validate$T(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
1466
1466
|
const v_error = (() => {
|
|
1467
1467
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1468
1468
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1506,7 +1506,7 @@ function validate$R(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
1506
1506
|
return v_error === undefined ? null : v_error;
|
|
1507
1507
|
}
|
|
1508
1508
|
|
|
1509
|
-
function validate$
|
|
1509
|
+
function validate$S(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
1510
1510
|
const v_error = (() => {
|
|
1511
1511
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1512
1512
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1534,7 +1534,7 @@ function validate$Q(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1534
1534
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
1535
1535
|
const obj_criteria_item = obj_criteria[i];
|
|
1536
1536
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
1537
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
1537
|
+
const referencepath_criteria_itemValidationError = validate$T(obj_criteria_item, path_criteria_item);
|
|
1538
1538
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
1539
1539
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
1540
1540
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1595,7 +1595,7 @@ function validate$Q(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1595
1595
|
return v_error === undefined ? null : v_error;
|
|
1596
1596
|
}
|
|
1597
1597
|
|
|
1598
|
-
function validate$
|
|
1598
|
+
function validate$R(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
1599
1599
|
const v_error = (() => {
|
|
1600
1600
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1601
1601
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1623,7 +1623,7 @@ function validate$P(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1623
1623
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
1624
1624
|
const obj_fields_item = obj_fields[i];
|
|
1625
1625
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
1626
|
-
const referencepath_fields_itemValidationError = validate$
|
|
1626
|
+
const referencepath_fields_itemValidationError = validate$W(obj_fields_item, path_fields_item);
|
|
1627
1627
|
if (referencepath_fields_itemValidationError !== null) {
|
|
1628
1628
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
1629
1629
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1648,7 +1648,7 @@ function validate$P(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1648
1648
|
if (obj.semanticDimension !== undefined) {
|
|
1649
1649
|
const obj_semanticDimension = obj.semanticDimension;
|
|
1650
1650
|
const path_semanticDimension = path + '.semanticDimension';
|
|
1651
|
-
const referencepath_semanticDimensionValidationError = validate
|
|
1651
|
+
const referencepath_semanticDimensionValidationError = validate$11(obj_semanticDimension, path_semanticDimension);
|
|
1652
1652
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
1653
1653
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
1654
1654
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1658,7 +1658,7 @@ function validate$P(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1658
1658
|
if (obj.semanticMeasurement !== undefined) {
|
|
1659
1659
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
1660
1660
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
1661
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
1661
|
+
const referencepath_semanticMeasurementValidationError = validate$10(obj_semanticMeasurement, path_semanticMeasurement);
|
|
1662
1662
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
1663
1663
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
1664
1664
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1669,7 +1669,7 @@ function validate$P(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1669
1669
|
return v_error === undefined ? null : v_error;
|
|
1670
1670
|
}
|
|
1671
1671
|
|
|
1672
|
-
function validate$
|
|
1672
|
+
function validate$Q(obj, path = 'SemanticUnionInputRepresentation') {
|
|
1673
1673
|
const v_error = (() => {
|
|
1674
1674
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1675
1675
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1704,7 +1704,7 @@ function validate$O(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1704
1704
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1705
1705
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1706
1706
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1707
|
-
const referencepath_semanticDataObjects_itemValidationError = validate
|
|
1707
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$$(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1708
1708
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1709
1709
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1710
1710
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1721,7 +1721,7 @@ function validate$O(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1721
1721
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
1722
1722
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
1723
1723
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
1724
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
1724
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$R(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
1725
1725
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
1726
1726
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
1727
1727
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1733,7 +1733,7 @@ function validate$O(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1733
1733
|
return v_error === undefined ? null : v_error;
|
|
1734
1734
|
}
|
|
1735
1735
|
|
|
1736
|
-
function validate$
|
|
1736
|
+
function validate$P(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
1737
1737
|
const v_error = (() => {
|
|
1738
1738
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1739
1739
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1775,7 +1775,7 @@ function validate$N(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1775
1775
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1776
1776
|
const obj_filters_item = obj_filters[i];
|
|
1777
1777
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1778
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1778
|
+
const referencepath_filters_itemValidationError = validate$14(obj_filters_item, path_filters_item);
|
|
1779
1779
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1780
1780
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1781
1781
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1806,7 +1806,7 @@ function validate$N(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1806
1806
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1807
1807
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1808
1808
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1809
|
-
const referencepath_semanticDataObjects_itemValidationError = validate
|
|
1809
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$$(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1810
1810
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1811
1811
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1812
1812
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1823,7 +1823,7 @@ function validate$N(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1823
1823
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
1824
1824
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
1825
1825
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
1826
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
1826
|
+
const referencepath_semanticRelationships_itemValidationError = validate$S(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
1827
1827
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
1828
1828
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
1829
1829
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1840,7 +1840,7 @@ function validate$N(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1840
1840
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
1841
1841
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
1842
1842
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
1843
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
1843
|
+
const referencepath_semanticUnions_itemValidationError = validate$Q(obj_semanticUnions_item, path_semanticUnions_item);
|
|
1844
1844
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
1845
1845
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
1846
1846
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1859,7 +1859,7 @@ function validate$N(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1859
1859
|
return v_error === undefined ? null : v_error;
|
|
1860
1860
|
}
|
|
1861
1861
|
|
|
1862
|
-
function validate$
|
|
1862
|
+
function validate$O(obj, path = 'SemanticMetricForecastConfigurationInputRepresentation') {
|
|
1863
1863
|
const v_error = (() => {
|
|
1864
1864
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1865
1865
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1867,7 +1867,7 @@ function validate$M(obj, path = 'SemanticMetricForecastConfigurationInputReprese
|
|
|
1867
1867
|
if (obj.forecastMeasurementReference !== undefined) {
|
|
1868
1868
|
const obj_forecastMeasurementReference = obj.forecastMeasurementReference;
|
|
1869
1869
|
const path_forecastMeasurementReference = path + '.forecastMeasurementReference';
|
|
1870
|
-
const referencepath_forecastMeasurementReferenceValidationError = validate$
|
|
1870
|
+
const referencepath_forecastMeasurementReferenceValidationError = validate$V(obj_forecastMeasurementReference, path_forecastMeasurementReference);
|
|
1871
1871
|
if (referencepath_forecastMeasurementReferenceValidationError !== null) {
|
|
1872
1872
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_forecastMeasurementReference + '")\n';
|
|
1873
1873
|
message += referencepath_forecastMeasurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1878,7 +1878,7 @@ function validate$M(obj, path = 'SemanticMetricForecastConfigurationInputReprese
|
|
|
1878
1878
|
return v_error === undefined ? null : v_error;
|
|
1879
1879
|
}
|
|
1880
1880
|
|
|
1881
|
-
function validate$
|
|
1881
|
+
function validate$N(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
1882
1882
|
const v_error = (() => {
|
|
1883
1883
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1884
1884
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1886,7 +1886,7 @@ function validate$L(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1886
1886
|
if (obj.identifierDimensionReference !== undefined) {
|
|
1887
1887
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
1888
1888
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
1889
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
1889
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$V(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
1890
1890
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
1891
1891
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
1892
1892
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1896,7 +1896,7 @@ function validate$L(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1896
1896
|
if (obj.namingDimensionReference !== undefined) {
|
|
1897
1897
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
1898
1898
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
1899
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
1899
|
+
const referencepath_namingDimensionReferenceValidationError = validate$V(obj_namingDimensionReference, path_namingDimensionReference);
|
|
1900
1900
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
1901
1901
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
1902
1902
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1907,7 +1907,7 @@ function validate$L(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1907
1907
|
return v_error === undefined ? null : v_error;
|
|
1908
1908
|
}
|
|
1909
1909
|
|
|
1910
|
-
function validate$
|
|
1910
|
+
function validate$M(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
1911
1911
|
const v_error = (() => {
|
|
1912
1912
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1913
1913
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1930,7 +1930,7 @@ function validate$K(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
1930
1930
|
return v_error === undefined ? null : v_error;
|
|
1931
1931
|
}
|
|
1932
1932
|
|
|
1933
|
-
function validate$
|
|
1933
|
+
function validate$L(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
1934
1934
|
const v_error = (() => {
|
|
1935
1935
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1936
1936
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1938,7 +1938,7 @@ function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1938
1938
|
if (obj.forecastConfiguration !== undefined) {
|
|
1939
1939
|
const obj_forecastConfiguration = obj.forecastConfiguration;
|
|
1940
1940
|
const path_forecastConfiguration = path + '.forecastConfiguration';
|
|
1941
|
-
const referencepath_forecastConfigurationValidationError = validate$
|
|
1941
|
+
const referencepath_forecastConfigurationValidationError = validate$O(obj_forecastConfiguration, path_forecastConfiguration);
|
|
1942
1942
|
if (referencepath_forecastConfigurationValidationError !== null) {
|
|
1943
1943
|
let message = 'Object doesn\'t match SemanticMetricForecastConfigurationInputRepresentation (at "' + path_forecastConfiguration + '")\n';
|
|
1944
1944
|
message += referencepath_forecastConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1948,7 +1948,7 @@ function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1948
1948
|
if (obj.identifyingDimension !== undefined) {
|
|
1949
1949
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
1950
1950
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
1951
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
1951
|
+
const referencepath_identifyingDimensionValidationError = validate$N(obj_identifyingDimension, path_identifyingDimension);
|
|
1952
1952
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
1953
1953
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
1954
1954
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1964,7 +1964,7 @@ function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1964
1964
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
1965
1965
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
1966
1966
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
1967
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
1967
|
+
const referencepath_insightTypes_itemValidationError = validate$M(obj_insightTypes_item, path_insightTypes_item);
|
|
1968
1968
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
1969
1969
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
1970
1970
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1981,7 +1981,7 @@ function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1981
1981
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
1982
1982
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
1983
1983
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
1984
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
1984
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$V(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
1985
1985
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
1986
1986
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
1987
1987
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2014,7 +2014,7 @@ function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
2014
2014
|
return v_error === undefined ? null : v_error;
|
|
2015
2015
|
}
|
|
2016
2016
|
|
|
2017
|
-
function validate$
|
|
2017
|
+
function validate$K(obj, path = 'SemanticMetricInputRepresentation') {
|
|
2018
2018
|
const v_error = (() => {
|
|
2019
2019
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2020
2020
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2028,7 +2028,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2028
2028
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
2029
2029
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
2030
2030
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
2031
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
2031
|
+
const referencepath_additionalDimensions_itemValidationError = validate$V(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
2032
2032
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
2033
2033
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
2034
2034
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2073,7 +2073,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2073
2073
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2074
2074
|
const obj_filters_item = obj_filters[i];
|
|
2075
2075
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2076
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2076
|
+
const referencepath_filters_itemValidationError = validate$14(obj_filters_item, path_filters_item);
|
|
2077
2077
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2078
2078
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2079
2079
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2084,7 +2084,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2084
2084
|
if (obj.insightsSettings !== undefined) {
|
|
2085
2085
|
const obj_insightsSettings = obj.insightsSettings;
|
|
2086
2086
|
const path_insightsSettings = path + '.insightsSettings';
|
|
2087
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
2087
|
+
const referencepath_insightsSettingsValidationError = validate$L(obj_insightsSettings, path_insightsSettings);
|
|
2088
2088
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
2089
2089
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
2090
2090
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2108,7 +2108,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2108
2108
|
if (obj.measurementReference !== undefined) {
|
|
2109
2109
|
const obj_measurementReference = obj.measurementReference;
|
|
2110
2110
|
const path_measurementReference = path + '.measurementReference';
|
|
2111
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
2111
|
+
const referencepath_measurementReferenceValidationError = validate$V(obj_measurementReference, path_measurementReference);
|
|
2112
2112
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
2113
2113
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
2114
2114
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2118,7 +2118,7 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2118
2118
|
if (obj.timeDimensionReference !== undefined) {
|
|
2119
2119
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
2120
2120
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
2121
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
2121
|
+
const referencepath_timeDimensionReferenceValidationError = validate$V(obj_timeDimensionReference, path_timeDimensionReference);
|
|
2122
2122
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
2123
2123
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
2124
2124
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2143,7 +2143,75 @@ function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2143
2143
|
return v_error === undefined ? null : v_error;
|
|
2144
2144
|
}
|
|
2145
2145
|
|
|
2146
|
-
function validate$
|
|
2146
|
+
function validate$J(obj, path = 'SemanticModelFilterInputRepresentation') {
|
|
2147
|
+
const v_error = (() => {
|
|
2148
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2149
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2150
|
+
}
|
|
2151
|
+
if (obj.apiName !== undefined) {
|
|
2152
|
+
const obj_apiName = obj.apiName;
|
|
2153
|
+
const path_apiName = path + '.apiName';
|
|
2154
|
+
if (typeof obj_apiName !== 'string') {
|
|
2155
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
if (obj.description !== undefined) {
|
|
2159
|
+
const obj_description = obj.description;
|
|
2160
|
+
const path_description = path + '.description';
|
|
2161
|
+
if (typeof obj_description !== 'string') {
|
|
2162
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
2163
|
+
}
|
|
2164
|
+
}
|
|
2165
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
2166
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
2167
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
2168
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
2169
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
if (obj.externalId !== undefined) {
|
|
2173
|
+
const obj_externalId = obj.externalId;
|
|
2174
|
+
const path_externalId = path + '.externalId';
|
|
2175
|
+
if (typeof obj_externalId !== 'string') {
|
|
2176
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalId + '" (at "' + path_externalId + '")');
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
if (obj.filterLogic !== undefined) {
|
|
2180
|
+
const obj_filterLogic = obj.filterLogic;
|
|
2181
|
+
const path_filterLogic = path + '.filterLogic';
|
|
2182
|
+
if (typeof obj_filterLogic !== 'string') {
|
|
2183
|
+
return new TypeError('Expected "string" but received "' + typeof obj_filterLogic + '" (at "' + path_filterLogic + '")');
|
|
2184
|
+
}
|
|
2185
|
+
}
|
|
2186
|
+
if (obj.filters !== undefined) {
|
|
2187
|
+
const obj_filters = obj.filters;
|
|
2188
|
+
const path_filters = path + '.filters';
|
|
2189
|
+
if (!ArrayIsArray(obj_filters)) {
|
|
2190
|
+
return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
|
|
2191
|
+
}
|
|
2192
|
+
for (let i = 0; i < obj_filters.length; i++) {
|
|
2193
|
+
const obj_filters_item = obj_filters[i];
|
|
2194
|
+
const path_filters_item = path_filters + '[' + i + ']';
|
|
2195
|
+
const referencepath_filters_itemValidationError = validate$14(obj_filters_item, path_filters_item);
|
|
2196
|
+
if (referencepath_filters_itemValidationError !== null) {
|
|
2197
|
+
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2198
|
+
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2199
|
+
return new TypeError(message);
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
if (obj.label !== undefined) {
|
|
2204
|
+
const obj_label = obj.label;
|
|
2205
|
+
const path_label = path + '.label';
|
|
2206
|
+
if (typeof obj_label !== 'string') {
|
|
2207
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
})();
|
|
2211
|
+
return v_error === undefined ? null : v_error;
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
function validate$I(obj, path = 'SemanticParameterInputRepresentation') {
|
|
2147
2215
|
const v_error = (() => {
|
|
2148
2216
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2149
2217
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2243,8 +2311,8 @@ function validate$H(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
2243
2311
|
return v_error === undefined ? null : v_error;
|
|
2244
2312
|
}
|
|
2245
2313
|
|
|
2246
|
-
const VERSION$
|
|
2247
|
-
function validate$
|
|
2314
|
+
const VERSION$A = "3a32d382e7a2268096278aa8e5c6761a";
|
|
2315
|
+
function validate$H(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
2248
2316
|
const v_error = (() => {
|
|
2249
2317
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2250
2318
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2264,10 +2332,10 @@ function validate$G(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
|
2264
2332
|
})();
|
|
2265
2333
|
return v_error === undefined ? null : v_error;
|
|
2266
2334
|
}
|
|
2267
|
-
const select$
|
|
2335
|
+
const select$Q = function SemanticBaseModelOutputRepresentationSelect() {
|
|
2268
2336
|
return {
|
|
2269
2337
|
kind: 'Fragment',
|
|
2270
|
-
version: VERSION$
|
|
2338
|
+
version: VERSION$A,
|
|
2271
2339
|
private: [],
|
|
2272
2340
|
selections: [
|
|
2273
2341
|
{
|
|
@@ -2282,7 +2350,7 @@ const select$P = function SemanticBaseModelOutputRepresentationSelect() {
|
|
|
2282
2350
|
]
|
|
2283
2351
|
};
|
|
2284
2352
|
};
|
|
2285
|
-
function equals$
|
|
2353
|
+
function equals$A(existing, incoming) {
|
|
2286
2354
|
const existing_apiName = existing.apiName;
|
|
2287
2355
|
const incoming_apiName = incoming.apiName;
|
|
2288
2356
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -2304,8 +2372,8 @@ function equals$z(existing, incoming) {
|
|
|
2304
2372
|
return true;
|
|
2305
2373
|
}
|
|
2306
2374
|
|
|
2307
|
-
const VERSION$
|
|
2308
|
-
function validate$
|
|
2375
|
+
const VERSION$z = "221b0931360d7fcb0a1402b0b82071bd";
|
|
2376
|
+
function validate$G(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation') {
|
|
2309
2377
|
const v_error = (() => {
|
|
2310
2378
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2311
2379
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2333,10 +2401,10 @@ function validate$F(obj, path = 'SemanticModelExternalConnectionTableauPublished
|
|
|
2333
2401
|
})();
|
|
2334
2402
|
return v_error === undefined ? null : v_error;
|
|
2335
2403
|
}
|
|
2336
|
-
const select$
|
|
2404
|
+
const select$P = function SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentationSelect() {
|
|
2337
2405
|
return {
|
|
2338
2406
|
kind: 'Fragment',
|
|
2339
|
-
version: VERSION$
|
|
2407
|
+
version: VERSION$z,
|
|
2340
2408
|
private: [],
|
|
2341
2409
|
selections: [
|
|
2342
2410
|
{
|
|
@@ -2358,7 +2426,7 @@ const select$O = function SemanticModelExternalConnectionTableauPublishedDataSou
|
|
|
2358
2426
|
]
|
|
2359
2427
|
};
|
|
2360
2428
|
};
|
|
2361
|
-
function equals$
|
|
2429
|
+
function equals$z(existing, incoming) {
|
|
2362
2430
|
const existing_dataSourceId = existing.dataSourceId;
|
|
2363
2431
|
const incoming_dataSourceId = incoming.dataSourceId;
|
|
2364
2432
|
if (!(existing_dataSourceId === incoming_dataSourceId)) {
|
|
@@ -2382,8 +2450,8 @@ function equals$y(existing, incoming) {
|
|
|
2382
2450
|
return true;
|
|
2383
2451
|
}
|
|
2384
2452
|
|
|
2385
|
-
const VERSION$
|
|
2386
|
-
function validate$
|
|
2453
|
+
const VERSION$y = "d39ef07b537fde1ac49a10bfc73d7db1";
|
|
2454
|
+
function validate$F(obj, path = 'SemanticModelExternalConnectionOutputRepresentation') {
|
|
2387
2455
|
const v_error = (() => {
|
|
2388
2456
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2389
2457
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2422,7 +2490,7 @@ function validate$E(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
2422
2490
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
2423
2491
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
2424
2492
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
2425
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
2493
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$G(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
2426
2494
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
2427
2495
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
2428
2496
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2437,11 +2505,11 @@ function validate$E(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
2437
2505
|
})();
|
|
2438
2506
|
return v_error === undefined ? null : v_error;
|
|
2439
2507
|
}
|
|
2440
|
-
const select$
|
|
2441
|
-
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$
|
|
2508
|
+
const select$O = function SemanticModelExternalConnectionOutputRepresentationSelect() {
|
|
2509
|
+
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$P();
|
|
2442
2510
|
return {
|
|
2443
2511
|
kind: 'Fragment',
|
|
2444
|
-
version: VERSION$
|
|
2512
|
+
version: VERSION$y,
|
|
2445
2513
|
private: [],
|
|
2446
2514
|
selections: [
|
|
2447
2515
|
{
|
|
@@ -2480,7 +2548,7 @@ const select$N = function SemanticModelExternalConnectionOutputRepresentationSel
|
|
|
2480
2548
|
]
|
|
2481
2549
|
};
|
|
2482
2550
|
};
|
|
2483
|
-
function equals$
|
|
2551
|
+
function equals$y(existing, incoming) {
|
|
2484
2552
|
const existing_apiName = existing.apiName;
|
|
2485
2553
|
const incoming_apiName = incoming.apiName;
|
|
2486
2554
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -2544,15 +2612,15 @@ function equals$x(existing, incoming) {
|
|
|
2544
2612
|
if (existing_tableauPublishedDataSource === undefined || incoming_tableauPublishedDataSource === undefined) {
|
|
2545
2613
|
return false;
|
|
2546
2614
|
}
|
|
2547
|
-
if (!(equals$
|
|
2615
|
+
if (!(equals$z(existing_tableauPublishedDataSource, incoming_tableauPublishedDataSource))) {
|
|
2548
2616
|
return false;
|
|
2549
2617
|
}
|
|
2550
2618
|
}
|
|
2551
2619
|
return true;
|
|
2552
2620
|
}
|
|
2553
2621
|
|
|
2554
|
-
const VERSION$
|
|
2555
|
-
function validate$
|
|
2622
|
+
const VERSION$x = "6f06bef394bf9744da80affc7b8109c6";
|
|
2623
|
+
function validate$E(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
2556
2624
|
const v_error = (() => {
|
|
2557
2625
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2558
2626
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2592,10 +2660,10 @@ function validate$D(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
|
2592
2660
|
})();
|
|
2593
2661
|
return v_error === undefined ? null : v_error;
|
|
2594
2662
|
}
|
|
2595
|
-
const select$
|
|
2663
|
+
const select$N = function SemanticOverrideOutputRepresentationSelect() {
|
|
2596
2664
|
return {
|
|
2597
2665
|
kind: 'Fragment',
|
|
2598
|
-
version: VERSION$
|
|
2666
|
+
version: VERSION$x,
|
|
2599
2667
|
private: [],
|
|
2600
2668
|
selections: [
|
|
2601
2669
|
{
|
|
@@ -2626,7 +2694,7 @@ const select$M = function SemanticOverrideOutputRepresentationSelect() {
|
|
|
2626
2694
|
]
|
|
2627
2695
|
};
|
|
2628
2696
|
};
|
|
2629
|
-
function equals$
|
|
2697
|
+
function equals$x(existing, incoming) {
|
|
2630
2698
|
const existing_entityFqn = existing.entityFqn;
|
|
2631
2699
|
const incoming_entityFqn = incoming.entityFqn;
|
|
2632
2700
|
if (!(existing_entityFqn === incoming_entityFqn)) {
|
|
@@ -2668,8 +2736,8 @@ function equals$w(existing, incoming) {
|
|
|
2668
2736
|
return true;
|
|
2669
2737
|
}
|
|
2670
2738
|
|
|
2671
|
-
const VERSION$
|
|
2672
|
-
function validate$
|
|
2739
|
+
const VERSION$w = "358bb714d100a35ad75fc928fa462760";
|
|
2740
|
+
function validate$D(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
2673
2741
|
const v_error = (() => {
|
|
2674
2742
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2675
2743
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2712,10 +2780,10 @@ function validate$C(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
|
2712
2780
|
})();
|
|
2713
2781
|
return v_error === undefined ? null : v_error;
|
|
2714
2782
|
}
|
|
2715
|
-
const select$
|
|
2783
|
+
const select$M = function SemanticFilterOutputRepresentationSelect() {
|
|
2716
2784
|
return {
|
|
2717
2785
|
kind: 'Fragment',
|
|
2718
|
-
version: VERSION$
|
|
2786
|
+
version: VERSION$w,
|
|
2719
2787
|
private: [],
|
|
2720
2788
|
selections: [
|
|
2721
2789
|
{
|
|
@@ -2742,7 +2810,7 @@ const select$L = function SemanticFilterOutputRepresentationSelect() {
|
|
|
2742
2810
|
]
|
|
2743
2811
|
};
|
|
2744
2812
|
};
|
|
2745
|
-
function equals$
|
|
2813
|
+
function equals$w(existing, incoming) {
|
|
2746
2814
|
const existing_fieldName = existing.fieldName;
|
|
2747
2815
|
const incoming_fieldName = incoming.fieldName;
|
|
2748
2816
|
// if at least one of these optionals is defined
|
|
@@ -2803,8 +2871,8 @@ function equals$v(existing, incoming) {
|
|
|
2803
2871
|
return true;
|
|
2804
2872
|
}
|
|
2805
2873
|
|
|
2806
|
-
const VERSION$
|
|
2807
|
-
function validate$
|
|
2874
|
+
const VERSION$v = "0ff409d003cd74094400b475d698bf15";
|
|
2875
|
+
function validate$C(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
2808
2876
|
const v_error = (() => {
|
|
2809
2877
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2810
2878
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2910,7 +2978,7 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2910
2978
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2911
2979
|
const obj_filters_item = obj_filters[i];
|
|
2912
2980
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2913
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2981
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
2914
2982
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2915
2983
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
2916
2984
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3010,24 +3078,24 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
3010
3078
|
})();
|
|
3011
3079
|
return v_error === undefined ? null : v_error;
|
|
3012
3080
|
}
|
|
3013
|
-
const RepresentationType$
|
|
3014
|
-
function keyBuilder$
|
|
3015
|
-
return keyPrefix + '::' + RepresentationType$
|
|
3081
|
+
const RepresentationType$i = 'SemanticCalculatedDimensionOutputRepresentation';
|
|
3082
|
+
function keyBuilder$B(luvio, config) {
|
|
3083
|
+
return keyPrefix + '::' + RepresentationType$i + ':' + config.name;
|
|
3016
3084
|
}
|
|
3017
|
-
function keyBuilderFromType$
|
|
3085
|
+
function keyBuilderFromType$c(luvio, object) {
|
|
3018
3086
|
const keyParams = {
|
|
3019
3087
|
name: object.id
|
|
3020
3088
|
};
|
|
3021
|
-
return keyBuilder$
|
|
3089
|
+
return keyBuilder$B(luvio, keyParams);
|
|
3022
3090
|
}
|
|
3023
|
-
function normalize$
|
|
3091
|
+
function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
3024
3092
|
return input;
|
|
3025
3093
|
}
|
|
3026
|
-
const select$
|
|
3027
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
3094
|
+
const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
3095
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$M();
|
|
3028
3096
|
return {
|
|
3029
3097
|
kind: 'Fragment',
|
|
3030
|
-
version: VERSION$
|
|
3098
|
+
version: VERSION$v,
|
|
3031
3099
|
private: [],
|
|
3032
3100
|
selections: [
|
|
3033
3101
|
{
|
|
@@ -3171,7 +3239,7 @@ const select$K = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
3171
3239
|
]
|
|
3172
3240
|
};
|
|
3173
3241
|
};
|
|
3174
|
-
function equals$
|
|
3242
|
+
function equals$v(existing, incoming) {
|
|
3175
3243
|
const existing_isOverrideBase = existing.isOverrideBase;
|
|
3176
3244
|
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
3177
3245
|
// if at least one of these optionals is defined
|
|
@@ -3501,7 +3569,7 @@ function equals$u(existing, incoming) {
|
|
|
3501
3569
|
return false;
|
|
3502
3570
|
}
|
|
3503
3571
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
3504
|
-
if (!(equals$
|
|
3572
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
3505
3573
|
return false;
|
|
3506
3574
|
}
|
|
3507
3575
|
});
|
|
@@ -3511,30 +3579,30 @@ function equals$u(existing, incoming) {
|
|
|
3511
3579
|
}
|
|
3512
3580
|
return true;
|
|
3513
3581
|
}
|
|
3514
|
-
const ingest$
|
|
3582
|
+
const ingest$i = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3515
3583
|
if (process.env.NODE_ENV !== 'production') {
|
|
3516
|
-
const validateError = validate$
|
|
3584
|
+
const validateError = validate$C(input);
|
|
3517
3585
|
if (validateError !== null) {
|
|
3518
3586
|
throw validateError;
|
|
3519
3587
|
}
|
|
3520
3588
|
}
|
|
3521
|
-
const key = keyBuilderFromType$
|
|
3589
|
+
const key = keyBuilderFromType$c(luvio, input);
|
|
3522
3590
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
3523
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
3591
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$v, RepresentationType$i, equals$v);
|
|
3524
3592
|
return createLink(key);
|
|
3525
3593
|
};
|
|
3526
|
-
function getTypeCacheKeys$
|
|
3594
|
+
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
3527
3595
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
3528
|
-
const rootKey = keyBuilderFromType$
|
|
3596
|
+
const rootKey = keyBuilderFromType$c(luvio, input);
|
|
3529
3597
|
rootKeySet.set(rootKey, {
|
|
3530
3598
|
namespace: keyPrefix,
|
|
3531
|
-
representationName: RepresentationType$
|
|
3599
|
+
representationName: RepresentationType$i,
|
|
3532
3600
|
mergeable: false
|
|
3533
3601
|
});
|
|
3534
3602
|
}
|
|
3535
3603
|
|
|
3536
|
-
const VERSION$
|
|
3537
|
-
function validate$
|
|
3604
|
+
const VERSION$u = "65b35c82c52febf0709785df41c57ac3";
|
|
3605
|
+
function validate$B(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
3538
3606
|
const v_error = (() => {
|
|
3539
3607
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3540
3608
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3654,7 +3722,7 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3654
3722
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3655
3723
|
const obj_filters_item = obj_filters[i];
|
|
3656
3724
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3657
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3725
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
3658
3726
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3659
3727
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
3660
3728
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3782,24 +3850,24 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3782
3850
|
})();
|
|
3783
3851
|
return v_error === undefined ? null : v_error;
|
|
3784
3852
|
}
|
|
3785
|
-
const RepresentationType$
|
|
3786
|
-
function keyBuilder$
|
|
3787
|
-
return keyPrefix + '::' + RepresentationType$
|
|
3853
|
+
const RepresentationType$h = 'SemanticCalculatedMeasurementOutputRepresentation';
|
|
3854
|
+
function keyBuilder$A(luvio, config) {
|
|
3855
|
+
return keyPrefix + '::' + RepresentationType$h + ':' + config.name;
|
|
3788
3856
|
}
|
|
3789
|
-
function keyBuilderFromType$
|
|
3857
|
+
function keyBuilderFromType$b(luvio, object) {
|
|
3790
3858
|
const keyParams = {
|
|
3791
3859
|
name: object.id
|
|
3792
3860
|
};
|
|
3793
|
-
return keyBuilder$
|
|
3861
|
+
return keyBuilder$A(luvio, keyParams);
|
|
3794
3862
|
}
|
|
3795
|
-
function normalize$
|
|
3863
|
+
function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
3796
3864
|
return input;
|
|
3797
3865
|
}
|
|
3798
|
-
const select$
|
|
3799
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
3866
|
+
const select$K = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
3867
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$M();
|
|
3800
3868
|
return {
|
|
3801
3869
|
kind: 'Fragment',
|
|
3802
|
-
version: VERSION$
|
|
3870
|
+
version: VERSION$u,
|
|
3803
3871
|
private: [],
|
|
3804
3872
|
selections: [
|
|
3805
3873
|
{
|
|
@@ -3973,7 +4041,7 @@ const select$J = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3973
4041
|
]
|
|
3974
4042
|
};
|
|
3975
4043
|
};
|
|
3976
|
-
function equals$
|
|
4044
|
+
function equals$u(existing, incoming) {
|
|
3977
4045
|
const existing_isAggregatable = existing.isAggregatable;
|
|
3978
4046
|
const incoming_isAggregatable = incoming.isAggregatable;
|
|
3979
4047
|
// if at least one of these optionals is defined
|
|
@@ -4381,7 +4449,7 @@ function equals$t(existing, incoming) {
|
|
|
4381
4449
|
return false;
|
|
4382
4450
|
}
|
|
4383
4451
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
4384
|
-
if (!(equals$
|
|
4452
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
4385
4453
|
return false;
|
|
4386
4454
|
}
|
|
4387
4455
|
});
|
|
@@ -4391,29 +4459,29 @@ function equals$t(existing, incoming) {
|
|
|
4391
4459
|
}
|
|
4392
4460
|
return true;
|
|
4393
4461
|
}
|
|
4394
|
-
const ingest$
|
|
4462
|
+
const ingest$h = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4395
4463
|
if (process.env.NODE_ENV !== 'production') {
|
|
4396
|
-
const validateError = validate$
|
|
4464
|
+
const validateError = validate$B(input);
|
|
4397
4465
|
if (validateError !== null) {
|
|
4398
4466
|
throw validateError;
|
|
4399
4467
|
}
|
|
4400
4468
|
}
|
|
4401
|
-
const key = keyBuilderFromType$
|
|
4469
|
+
const key = keyBuilderFromType$b(luvio, input);
|
|
4402
4470
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4403
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
4471
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$u, RepresentationType$h, equals$u);
|
|
4404
4472
|
return createLink(key);
|
|
4405
4473
|
};
|
|
4406
|
-
function getTypeCacheKeys$
|
|
4474
|
+
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
4407
4475
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
4408
|
-
const rootKey = keyBuilderFromType$
|
|
4476
|
+
const rootKey = keyBuilderFromType$b(luvio, input);
|
|
4409
4477
|
rootKeySet.set(rootKey, {
|
|
4410
4478
|
namespace: keyPrefix,
|
|
4411
|
-
representationName: RepresentationType$
|
|
4479
|
+
representationName: RepresentationType$h,
|
|
4412
4480
|
mergeable: false
|
|
4413
4481
|
});
|
|
4414
4482
|
}
|
|
4415
4483
|
|
|
4416
|
-
function validate$
|
|
4484
|
+
function validate$A(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
4417
4485
|
const v_error = (() => {
|
|
4418
4486
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4419
4487
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4596,7 +4664,7 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
4596
4664
|
return v_error === undefined ? null : v_error;
|
|
4597
4665
|
}
|
|
4598
4666
|
|
|
4599
|
-
function validate$
|
|
4667
|
+
function validate$z(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
4600
4668
|
const v_error = (() => {
|
|
4601
4669
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4602
4670
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4814,8 +4882,8 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4814
4882
|
return v_error === undefined ? null : v_error;
|
|
4815
4883
|
}
|
|
4816
4884
|
|
|
4817
|
-
const VERSION$
|
|
4818
|
-
function validate$
|
|
4885
|
+
const VERSION$t = "7804fea5e1a3894ad9c1e89a2ce17ab9";
|
|
4886
|
+
function validate$y(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
4819
4887
|
const v_error = (() => {
|
|
4820
4888
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4821
4889
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4893,7 +4961,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4893
4961
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4894
4962
|
const obj_filters_item = obj_filters[i];
|
|
4895
4963
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4896
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4964
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
4897
4965
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4898
4966
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4899
4967
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4964,7 +5032,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4964
5032
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
4965
5033
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
4966
5034
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
4967
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
5035
|
+
const referencepath_semanticDimensions_itemValidationError = validate$A(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
4968
5036
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
4969
5037
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
4970
5038
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4988,7 +5056,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4988
5056
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
4989
5057
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
4990
5058
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
4991
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
5059
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$z(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
4992
5060
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
4993
5061
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
4994
5062
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5027,57 +5095,57 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5027
5095
|
})();
|
|
5028
5096
|
return v_error === undefined ? null : v_error;
|
|
5029
5097
|
}
|
|
5030
|
-
const RepresentationType$
|
|
5031
|
-
function keyBuilder$
|
|
5032
|
-
return keyPrefix + '::' + RepresentationType$
|
|
5098
|
+
const RepresentationType$g = 'SemanticDataObjectOutputRepresentation';
|
|
5099
|
+
function keyBuilder$z(luvio, config) {
|
|
5100
|
+
return keyPrefix + '::' + RepresentationType$g + ':' + config.name;
|
|
5033
5101
|
}
|
|
5034
|
-
function keyBuilderFromType$
|
|
5102
|
+
function keyBuilderFromType$a(luvio, object) {
|
|
5035
5103
|
const keyParams = {
|
|
5036
5104
|
name: object.id
|
|
5037
5105
|
};
|
|
5038
|
-
return keyBuilder$
|
|
5106
|
+
return keyBuilder$z(luvio, keyParams);
|
|
5039
5107
|
}
|
|
5040
|
-
function normalize$
|
|
5108
|
+
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
5041
5109
|
return input;
|
|
5042
5110
|
}
|
|
5043
|
-
const select$
|
|
5111
|
+
const select$J = function SemanticDataObjectOutputRepresentationSelect() {
|
|
5044
5112
|
return {
|
|
5045
5113
|
kind: 'Fragment',
|
|
5046
|
-
version: VERSION$
|
|
5114
|
+
version: VERSION$t,
|
|
5047
5115
|
private: [],
|
|
5048
5116
|
opaque: true
|
|
5049
5117
|
};
|
|
5050
5118
|
};
|
|
5051
|
-
function equals$
|
|
5119
|
+
function equals$t(existing, incoming) {
|
|
5052
5120
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
5053
5121
|
return false;
|
|
5054
5122
|
}
|
|
5055
5123
|
return true;
|
|
5056
5124
|
}
|
|
5057
|
-
const ingest$
|
|
5125
|
+
const ingest$g = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5058
5126
|
if (process.env.NODE_ENV !== 'production') {
|
|
5059
|
-
const validateError = validate$
|
|
5127
|
+
const validateError = validate$y(input);
|
|
5060
5128
|
if (validateError !== null) {
|
|
5061
5129
|
throw validateError;
|
|
5062
5130
|
}
|
|
5063
5131
|
}
|
|
5064
|
-
const key = keyBuilderFromType$
|
|
5132
|
+
const key = keyBuilderFromType$a(luvio, input);
|
|
5065
5133
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5066
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
5134
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$t, RepresentationType$g, equals$t);
|
|
5067
5135
|
return createLink(key);
|
|
5068
5136
|
};
|
|
5069
|
-
function getTypeCacheKeys$
|
|
5137
|
+
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
5070
5138
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
5071
|
-
const rootKey = keyBuilderFromType$
|
|
5139
|
+
const rootKey = keyBuilderFromType$a(luvio, input);
|
|
5072
5140
|
rootKeySet.set(rootKey, {
|
|
5073
5141
|
namespace: keyPrefix,
|
|
5074
|
-
representationName: RepresentationType$
|
|
5142
|
+
representationName: RepresentationType$g,
|
|
5075
5143
|
mergeable: false
|
|
5076
5144
|
});
|
|
5077
5145
|
}
|
|
5078
5146
|
|
|
5079
|
-
const VERSION$
|
|
5080
|
-
function validate$
|
|
5147
|
+
const VERSION$s = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
5148
|
+
function validate$x(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
5081
5149
|
const v_error = (() => {
|
|
5082
5150
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5083
5151
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5086,10 +5154,10 @@ function validate$w(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
5086
5154
|
})();
|
|
5087
5155
|
return v_error === undefined ? null : v_error;
|
|
5088
5156
|
}
|
|
5089
|
-
const select$
|
|
5157
|
+
const select$I = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
5090
5158
|
return {
|
|
5091
5159
|
kind: 'Fragment',
|
|
5092
|
-
version: VERSION$
|
|
5160
|
+
version: VERSION$s,
|
|
5093
5161
|
private: [],
|
|
5094
5162
|
selections: [
|
|
5095
5163
|
{
|
|
@@ -5099,7 +5167,7 @@ const select$H = function BinDimensionConfigurationOutputRepresentationSelect()
|
|
|
5099
5167
|
]
|
|
5100
5168
|
};
|
|
5101
5169
|
};
|
|
5102
|
-
function equals$
|
|
5170
|
+
function equals$s(existing, incoming) {
|
|
5103
5171
|
const existing_constantBinSize = existing.constantBinSize;
|
|
5104
5172
|
const incoming_constantBinSize = incoming.constantBinSize;
|
|
5105
5173
|
if (!(existing_constantBinSize === incoming_constantBinSize)) {
|
|
@@ -5108,8 +5176,8 @@ function equals$r(existing, incoming) {
|
|
|
5108
5176
|
return true;
|
|
5109
5177
|
}
|
|
5110
5178
|
|
|
5111
|
-
const VERSION$
|
|
5112
|
-
function validate$
|
|
5179
|
+
const VERSION$r = "2cdadcd630abb7b981b2d131880a68c0";
|
|
5180
|
+
function validate$w(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
5113
5181
|
const v_error = (() => {
|
|
5114
5182
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5115
5183
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5136,10 +5204,10 @@ function validate$v(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
5136
5204
|
})();
|
|
5137
5205
|
return v_error === undefined ? null : v_error;
|
|
5138
5206
|
}
|
|
5139
|
-
const select$
|
|
5207
|
+
const select$H = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
5140
5208
|
return {
|
|
5141
5209
|
kind: 'Fragment',
|
|
5142
|
-
version: VERSION$
|
|
5210
|
+
version: VERSION$r,
|
|
5143
5211
|
private: [],
|
|
5144
5212
|
selections: [
|
|
5145
5213
|
{
|
|
@@ -5155,7 +5223,7 @@ const select$G = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
|
5155
5223
|
]
|
|
5156
5224
|
};
|
|
5157
5225
|
};
|
|
5158
|
-
function equals$
|
|
5226
|
+
function equals$r(existing, incoming) {
|
|
5159
5227
|
const existing_name = existing.name;
|
|
5160
5228
|
const incoming_name = incoming.name;
|
|
5161
5229
|
if (!(existing_name === incoming_name)) {
|
|
@@ -5182,8 +5250,8 @@ function equals$q(existing, incoming) {
|
|
|
5182
5250
|
return true;
|
|
5183
5251
|
}
|
|
5184
5252
|
|
|
5185
|
-
const VERSION$
|
|
5186
|
-
function validate$
|
|
5253
|
+
const VERSION$q = "55c60b6207985632192cb4e419822a86";
|
|
5254
|
+
function validate$v(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
5187
5255
|
const v_error = (() => {
|
|
5188
5256
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5189
5257
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5197,7 +5265,7 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
5197
5265
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
5198
5266
|
const obj_groups_item = obj_groups[i];
|
|
5199
5267
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
5200
|
-
const referencepath_groups_itemValidationError = validate$
|
|
5268
|
+
const referencepath_groups_itemValidationError = validate$w(obj_groups_item, path_groups_item);
|
|
5201
5269
|
if (referencepath_groups_itemValidationError !== null) {
|
|
5202
5270
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
5203
5271
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5215,11 +5283,11 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
5215
5283
|
})();
|
|
5216
5284
|
return v_error === undefined ? null : v_error;
|
|
5217
5285
|
}
|
|
5218
|
-
const select$
|
|
5219
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
5286
|
+
const select$G = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
5287
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$H();
|
|
5220
5288
|
return {
|
|
5221
5289
|
kind: 'Fragment',
|
|
5222
|
-
version: VERSION$
|
|
5290
|
+
version: VERSION$q,
|
|
5223
5291
|
private: [],
|
|
5224
5292
|
selections: [
|
|
5225
5293
|
{
|
|
@@ -5237,7 +5305,7 @@ const select$F = function GroupDimensionConfigurationOutputRepresentationSelect(
|
|
|
5237
5305
|
]
|
|
5238
5306
|
};
|
|
5239
5307
|
};
|
|
5240
|
-
function equals$
|
|
5308
|
+
function equals$q(existing, incoming) {
|
|
5241
5309
|
const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
|
|
5242
5310
|
const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
|
|
5243
5311
|
// if at least one of these optionals is defined
|
|
@@ -5261,7 +5329,7 @@ function equals$p(existing, incoming) {
|
|
|
5261
5329
|
return false;
|
|
5262
5330
|
}
|
|
5263
5331
|
const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
|
|
5264
|
-
if (!(equals$
|
|
5332
|
+
if (!(equals$r(existing_groups_item, incoming_groups_item))) {
|
|
5265
5333
|
return false;
|
|
5266
5334
|
}
|
|
5267
5335
|
});
|
|
@@ -5272,8 +5340,8 @@ function equals$p(existing, incoming) {
|
|
|
5272
5340
|
return true;
|
|
5273
5341
|
}
|
|
5274
5342
|
|
|
5275
|
-
const VERSION$
|
|
5276
|
-
function validate$
|
|
5343
|
+
const VERSION$p = "50dc390b159159afb1945b9a811c9f80";
|
|
5344
|
+
function validate$u(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
5277
5345
|
const v_error = (() => {
|
|
5278
5346
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5279
5347
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5281,7 +5349,7 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5281
5349
|
if (obj.binDimension !== undefined) {
|
|
5282
5350
|
const obj_binDimension = obj.binDimension;
|
|
5283
5351
|
const path_binDimension = path + '.binDimension';
|
|
5284
|
-
const referencepath_binDimensionValidationError = validate$
|
|
5352
|
+
const referencepath_binDimensionValidationError = validate$x(obj_binDimension, path_binDimension);
|
|
5285
5353
|
if (referencepath_binDimensionValidationError !== null) {
|
|
5286
5354
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
5287
5355
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5291,7 +5359,7 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5291
5359
|
if (obj.groupDimension !== undefined) {
|
|
5292
5360
|
const obj_groupDimension = obj.groupDimension;
|
|
5293
5361
|
const path_groupDimension = path + '.groupDimension';
|
|
5294
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
5362
|
+
const referencepath_groupDimensionValidationError = validate$v(obj_groupDimension, path_groupDimension);
|
|
5295
5363
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
5296
5364
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
5297
5365
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5301,12 +5369,12 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5301
5369
|
})();
|
|
5302
5370
|
return v_error === undefined ? null : v_error;
|
|
5303
5371
|
}
|
|
5304
|
-
const select$
|
|
5305
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
5306
|
-
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
5372
|
+
const select$F = function SemanticGroupingConfigurationOutputRepresentationSelect() {
|
|
5373
|
+
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$I();
|
|
5374
|
+
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$G();
|
|
5307
5375
|
return {
|
|
5308
5376
|
kind: 'Fragment',
|
|
5309
|
-
version: VERSION$
|
|
5377
|
+
version: VERSION$p,
|
|
5310
5378
|
private: [],
|
|
5311
5379
|
selections: [
|
|
5312
5380
|
{
|
|
@@ -5324,7 +5392,7 @@ const select$E = function SemanticGroupingConfigurationOutputRepresentationSelec
|
|
|
5324
5392
|
]
|
|
5325
5393
|
};
|
|
5326
5394
|
};
|
|
5327
|
-
function equals$
|
|
5395
|
+
function equals$p(existing, incoming) {
|
|
5328
5396
|
const existing_binDimension = existing.binDimension;
|
|
5329
5397
|
const incoming_binDimension = incoming.binDimension;
|
|
5330
5398
|
// if at least one of these optionals is defined
|
|
@@ -5334,7 +5402,7 @@ function equals$o(existing, incoming) {
|
|
|
5334
5402
|
if (existing_binDimension === undefined || incoming_binDimension === undefined) {
|
|
5335
5403
|
return false;
|
|
5336
5404
|
}
|
|
5337
|
-
if (!(equals$
|
|
5405
|
+
if (!(equals$s(existing_binDimension, incoming_binDimension))) {
|
|
5338
5406
|
return false;
|
|
5339
5407
|
}
|
|
5340
5408
|
}
|
|
@@ -5347,15 +5415,15 @@ function equals$o(existing, incoming) {
|
|
|
5347
5415
|
if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
|
|
5348
5416
|
return false;
|
|
5349
5417
|
}
|
|
5350
|
-
if (!(equals$
|
|
5418
|
+
if (!(equals$q(existing_groupDimension, incoming_groupDimension))) {
|
|
5351
5419
|
return false;
|
|
5352
5420
|
}
|
|
5353
5421
|
}
|
|
5354
5422
|
return true;
|
|
5355
5423
|
}
|
|
5356
5424
|
|
|
5357
|
-
const VERSION$
|
|
5358
|
-
function validate$
|
|
5425
|
+
const VERSION$o = "a2976cd68e629a917463a3b690cf2527";
|
|
5426
|
+
function validate$t(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
5359
5427
|
const v_error = (() => {
|
|
5360
5428
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5361
5429
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5377,10 +5445,10 @@ function validate$s(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
|
|
|
5377
5445
|
})();
|
|
5378
5446
|
return v_error === undefined ? null : v_error;
|
|
5379
5447
|
}
|
|
5380
|
-
const select$
|
|
5448
|
+
const select$E = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
5381
5449
|
return {
|
|
5382
5450
|
kind: 'Fragment',
|
|
5383
|
-
version: VERSION$
|
|
5451
|
+
version: VERSION$o,
|
|
5384
5452
|
private: [],
|
|
5385
5453
|
selections: [
|
|
5386
5454
|
{
|
|
@@ -5396,7 +5464,7 @@ const select$D = function SemanticTableFieldReferenceOutputRepresentationSelect(
|
|
|
5396
5464
|
]
|
|
5397
5465
|
};
|
|
5398
5466
|
};
|
|
5399
|
-
function equals$
|
|
5467
|
+
function equals$o(existing, incoming) {
|
|
5400
5468
|
const existing_fieldApiName = existing.fieldApiName;
|
|
5401
5469
|
const incoming_fieldApiName = incoming.fieldApiName;
|
|
5402
5470
|
// if at least one of these optionals is defined
|
|
@@ -5426,8 +5494,8 @@ function equals$n(existing, incoming) {
|
|
|
5426
5494
|
return true;
|
|
5427
5495
|
}
|
|
5428
5496
|
|
|
5429
|
-
const VERSION$
|
|
5430
|
-
function validate$
|
|
5497
|
+
const VERSION$n = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
5498
|
+
function validate$s(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
5431
5499
|
const v_error = (() => {
|
|
5432
5500
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5433
5501
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5442,7 +5510,7 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
5442
5510
|
if (obj.tableFieldReference !== undefined) {
|
|
5443
5511
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
5444
5512
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
5445
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
5513
|
+
const referencepath_tableFieldReferenceValidationError = validate$t(obj_tableFieldReference, path_tableFieldReference);
|
|
5446
5514
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
5447
5515
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
5448
5516
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5452,11 +5520,11 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
5452
5520
|
})();
|
|
5453
5521
|
return v_error === undefined ? null : v_error;
|
|
5454
5522
|
}
|
|
5455
|
-
const select$
|
|
5456
|
-
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$
|
|
5523
|
+
const select$D = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
5524
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$E();
|
|
5457
5525
|
return {
|
|
5458
5526
|
kind: 'Fragment',
|
|
5459
|
-
version: VERSION$
|
|
5527
|
+
version: VERSION$n,
|
|
5460
5528
|
private: [],
|
|
5461
5529
|
selections: [
|
|
5462
5530
|
{
|
|
@@ -5473,7 +5541,7 @@ const select$C = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
|
5473
5541
|
]
|
|
5474
5542
|
};
|
|
5475
5543
|
};
|
|
5476
|
-
function equals$
|
|
5544
|
+
function equals$n(existing, incoming) {
|
|
5477
5545
|
const existing_calculatedFieldApiName = existing.calculatedFieldApiName;
|
|
5478
5546
|
const incoming_calculatedFieldApiName = incoming.calculatedFieldApiName;
|
|
5479
5547
|
// if at least one of these optionals is defined
|
|
@@ -5496,15 +5564,15 @@ function equals$m(existing, incoming) {
|
|
|
5496
5564
|
if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
|
|
5497
5565
|
return false;
|
|
5498
5566
|
}
|
|
5499
|
-
if (!(equals$
|
|
5567
|
+
if (!(equals$o(existing_tableFieldReference, incoming_tableFieldReference))) {
|
|
5500
5568
|
return false;
|
|
5501
5569
|
}
|
|
5502
5570
|
}
|
|
5503
5571
|
return true;
|
|
5504
5572
|
}
|
|
5505
5573
|
|
|
5506
|
-
const VERSION$
|
|
5507
|
-
function validate$
|
|
5574
|
+
const VERSION$m = "781f9dcf8c74d2f32cce84d91cf9e6af";
|
|
5575
|
+
function validate$r(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
5508
5576
|
const v_error = (() => {
|
|
5509
5577
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5510
5578
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5530,7 +5598,7 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5530
5598
|
}
|
|
5531
5599
|
const obj_configuration = obj.configuration;
|
|
5532
5600
|
const path_configuration = path + '.configuration';
|
|
5533
|
-
const referencepath_configurationValidationError = validate$
|
|
5601
|
+
const referencepath_configurationValidationError = validate$u(obj_configuration, path_configuration);
|
|
5534
5602
|
if (referencepath_configurationValidationError !== null) {
|
|
5535
5603
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
5536
5604
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5562,7 +5630,7 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5562
5630
|
}
|
|
5563
5631
|
const obj_fieldReference = obj.fieldReference;
|
|
5564
5632
|
const path_fieldReference = path + '.fieldReference';
|
|
5565
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
5633
|
+
const referencepath_fieldReferenceValidationError = validate$s(obj_fieldReference, path_fieldReference);
|
|
5566
5634
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
5567
5635
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
5568
5636
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5623,25 +5691,25 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5623
5691
|
})();
|
|
5624
5692
|
return v_error === undefined ? null : v_error;
|
|
5625
5693
|
}
|
|
5626
|
-
const RepresentationType$
|
|
5627
|
-
function keyBuilder$
|
|
5628
|
-
return keyPrefix + '::' + RepresentationType$
|
|
5694
|
+
const RepresentationType$f = 'SemanticGroupingOutputRepresentation';
|
|
5695
|
+
function keyBuilder$y(luvio, config) {
|
|
5696
|
+
return keyPrefix + '::' + RepresentationType$f + ':' + config.name;
|
|
5629
5697
|
}
|
|
5630
|
-
function keyBuilderFromType$
|
|
5698
|
+
function keyBuilderFromType$9(luvio, object) {
|
|
5631
5699
|
const keyParams = {
|
|
5632
5700
|
name: object.id
|
|
5633
5701
|
};
|
|
5634
|
-
return keyBuilder$
|
|
5702
|
+
return keyBuilder$y(luvio, keyParams);
|
|
5635
5703
|
}
|
|
5636
|
-
function normalize$
|
|
5704
|
+
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
5637
5705
|
return input;
|
|
5638
5706
|
}
|
|
5639
|
-
const select$
|
|
5640
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
5641
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
5707
|
+
const select$C = function SemanticGroupingOutputRepresentationSelect() {
|
|
5708
|
+
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$F();
|
|
5709
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$D();
|
|
5642
5710
|
return {
|
|
5643
5711
|
kind: 'Fragment',
|
|
5644
|
-
version: VERSION$
|
|
5712
|
+
version: VERSION$m,
|
|
5645
5713
|
private: [],
|
|
5646
5714
|
selections: [
|
|
5647
5715
|
{
|
|
@@ -5727,7 +5795,7 @@ const select$B = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
5727
5795
|
]
|
|
5728
5796
|
};
|
|
5729
5797
|
};
|
|
5730
|
-
function equals$
|
|
5798
|
+
function equals$m(existing, incoming) {
|
|
5731
5799
|
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
5732
5800
|
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
5733
5801
|
// if at least one of these optionals is defined
|
|
@@ -5885,40 +5953,40 @@ function equals$l(existing, incoming) {
|
|
|
5885
5953
|
}
|
|
5886
5954
|
const existing_configuration = existing.configuration;
|
|
5887
5955
|
const incoming_configuration = incoming.configuration;
|
|
5888
|
-
if (!(equals$
|
|
5956
|
+
if (!(equals$p(existing_configuration, incoming_configuration))) {
|
|
5889
5957
|
return false;
|
|
5890
5958
|
}
|
|
5891
5959
|
const existing_fieldReference = existing.fieldReference;
|
|
5892
5960
|
const incoming_fieldReference = incoming.fieldReference;
|
|
5893
|
-
if (!(equals$
|
|
5961
|
+
if (!(equals$n(existing_fieldReference, incoming_fieldReference))) {
|
|
5894
5962
|
return false;
|
|
5895
5963
|
}
|
|
5896
5964
|
return true;
|
|
5897
5965
|
}
|
|
5898
|
-
const ingest$
|
|
5966
|
+
const ingest$f = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5899
5967
|
if (process.env.NODE_ENV !== 'production') {
|
|
5900
|
-
const validateError = validate$
|
|
5968
|
+
const validateError = validate$r(input);
|
|
5901
5969
|
if (validateError !== null) {
|
|
5902
5970
|
throw validateError;
|
|
5903
5971
|
}
|
|
5904
5972
|
}
|
|
5905
|
-
const key = keyBuilderFromType$
|
|
5973
|
+
const key = keyBuilderFromType$9(luvio, input);
|
|
5906
5974
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5907
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
5975
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$m, RepresentationType$f, equals$m);
|
|
5908
5976
|
return createLink(key);
|
|
5909
5977
|
};
|
|
5910
|
-
function getTypeCacheKeys$
|
|
5978
|
+
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
5911
5979
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
5912
|
-
const rootKey = keyBuilderFromType$
|
|
5980
|
+
const rootKey = keyBuilderFromType$9(luvio, input);
|
|
5913
5981
|
rootKeySet.set(rootKey, {
|
|
5914
5982
|
namespace: keyPrefix,
|
|
5915
|
-
representationName: RepresentationType$
|
|
5983
|
+
representationName: RepresentationType$f,
|
|
5916
5984
|
mergeable: false
|
|
5917
5985
|
});
|
|
5918
5986
|
}
|
|
5919
5987
|
|
|
5920
|
-
const VERSION$
|
|
5921
|
-
function validate$
|
|
5988
|
+
const VERSION$l = "c5144c317ac72b60d580cab803514b8d";
|
|
5989
|
+
function validate$q(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
5922
5990
|
const v_error = (() => {
|
|
5923
5991
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5924
5992
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5961,10 +6029,10 @@ function validate$p(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
5961
6029
|
})();
|
|
5962
6030
|
return v_error === undefined ? null : v_error;
|
|
5963
6031
|
}
|
|
5964
|
-
const select$
|
|
6032
|
+
const select$B = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
5965
6033
|
return {
|
|
5966
6034
|
kind: 'Fragment',
|
|
5967
|
-
version: VERSION$
|
|
6035
|
+
version: VERSION$l,
|
|
5968
6036
|
private: [],
|
|
5969
6037
|
selections: [
|
|
5970
6038
|
{
|
|
@@ -5995,7 +6063,7 @@ const select$A = function SemanticRelationshipCriteriaOutputRepresentationSelect
|
|
|
5995
6063
|
]
|
|
5996
6064
|
};
|
|
5997
6065
|
};
|
|
5998
|
-
function equals$
|
|
6066
|
+
function equals$l(existing, incoming) {
|
|
5999
6067
|
const existing_joinOperator = existing.joinOperator;
|
|
6000
6068
|
const incoming_joinOperator = incoming.joinOperator;
|
|
6001
6069
|
// if at least one of these optionals is defined
|
|
@@ -6064,8 +6132,8 @@ function equals$k(existing, incoming) {
|
|
|
6064
6132
|
return true;
|
|
6065
6133
|
}
|
|
6066
6134
|
|
|
6067
|
-
const VERSION$
|
|
6068
|
-
function validate$
|
|
6135
|
+
const VERSION$k = "b54e564b71d26e8ac89b5649db876f6f";
|
|
6136
|
+
function validate$p(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
6069
6137
|
const v_error = (() => {
|
|
6070
6138
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6071
6139
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6115,7 +6183,7 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
6115
6183
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
6116
6184
|
const obj_criteria_item = obj_criteria[i];
|
|
6117
6185
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
6118
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
6186
|
+
const referencepath_criteria_itemValidationError = validate$q(obj_criteria_item, path_criteria_item);
|
|
6119
6187
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
6120
6188
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
6121
6189
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6215,24 +6283,24 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
6215
6283
|
})();
|
|
6216
6284
|
return v_error === undefined ? null : v_error;
|
|
6217
6285
|
}
|
|
6218
|
-
const RepresentationType$
|
|
6219
|
-
function keyBuilder$
|
|
6220
|
-
return keyPrefix + '::' + RepresentationType$
|
|
6286
|
+
const RepresentationType$e = 'SemanticRelationshipOutputRepresentation';
|
|
6287
|
+
function keyBuilder$x(luvio, config) {
|
|
6288
|
+
return keyPrefix + '::' + RepresentationType$e + ':' + config.name;
|
|
6221
6289
|
}
|
|
6222
|
-
function keyBuilderFromType$
|
|
6290
|
+
function keyBuilderFromType$8(luvio, object) {
|
|
6223
6291
|
const keyParams = {
|
|
6224
6292
|
name: object.id
|
|
6225
6293
|
};
|
|
6226
|
-
return keyBuilder$
|
|
6294
|
+
return keyBuilder$x(luvio, keyParams);
|
|
6227
6295
|
}
|
|
6228
|
-
function normalize$
|
|
6296
|
+
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
6229
6297
|
return input;
|
|
6230
6298
|
}
|
|
6231
|
-
const select$
|
|
6232
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
6299
|
+
const select$A = function SemanticRelationshipOutputRepresentationSelect() {
|
|
6300
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$B();
|
|
6233
6301
|
return {
|
|
6234
6302
|
kind: 'Fragment',
|
|
6235
|
-
version: VERSION$
|
|
6303
|
+
version: VERSION$k,
|
|
6236
6304
|
private: [],
|
|
6237
6305
|
selections: [
|
|
6238
6306
|
{
|
|
@@ -6336,7 +6404,7 @@ const select$z = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
6336
6404
|
]
|
|
6337
6405
|
};
|
|
6338
6406
|
};
|
|
6339
|
-
function equals$
|
|
6407
|
+
function equals$k(existing, incoming) {
|
|
6340
6408
|
const existing_isEnabled = existing.isEnabled;
|
|
6341
6409
|
const incoming_isEnabled = incoming.isEnabled;
|
|
6342
6410
|
// if at least one of these optionals is defined
|
|
@@ -6562,7 +6630,7 @@ function equals$j(existing, incoming) {
|
|
|
6562
6630
|
return false;
|
|
6563
6631
|
}
|
|
6564
6632
|
const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
|
|
6565
|
-
if (!(equals$
|
|
6633
|
+
if (!(equals$l(existing_criteria_item, incoming_criteria_item))) {
|
|
6566
6634
|
return false;
|
|
6567
6635
|
}
|
|
6568
6636
|
});
|
|
@@ -6572,30 +6640,30 @@ function equals$j(existing, incoming) {
|
|
|
6572
6640
|
}
|
|
6573
6641
|
return true;
|
|
6574
6642
|
}
|
|
6575
|
-
const ingest$
|
|
6643
|
+
const ingest$e = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6576
6644
|
if (process.env.NODE_ENV !== 'production') {
|
|
6577
|
-
const validateError = validate$
|
|
6645
|
+
const validateError = validate$p(input);
|
|
6578
6646
|
if (validateError !== null) {
|
|
6579
6647
|
throw validateError;
|
|
6580
6648
|
}
|
|
6581
6649
|
}
|
|
6582
|
-
const key = keyBuilderFromType$
|
|
6650
|
+
const key = keyBuilderFromType$8(luvio, input);
|
|
6583
6651
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6584
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
6652
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$k, RepresentationType$e, equals$k);
|
|
6585
6653
|
return createLink(key);
|
|
6586
6654
|
};
|
|
6587
|
-
function getTypeCacheKeys$
|
|
6655
|
+
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
6588
6656
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
6589
|
-
const rootKey = keyBuilderFromType$
|
|
6657
|
+
const rootKey = keyBuilderFromType$8(luvio, input);
|
|
6590
6658
|
rootKeySet.set(rootKey, {
|
|
6591
6659
|
namespace: keyPrefix,
|
|
6592
|
-
representationName: RepresentationType$
|
|
6660
|
+
representationName: RepresentationType$e,
|
|
6593
6661
|
mergeable: false
|
|
6594
6662
|
});
|
|
6595
6663
|
}
|
|
6596
6664
|
|
|
6597
|
-
const VERSION$
|
|
6598
|
-
function validate$
|
|
6665
|
+
const VERSION$j = "35088fced8f6d5a9595954736caf0ea9";
|
|
6666
|
+
function validate$o(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
6599
6667
|
const v_error = (() => {
|
|
6600
6668
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6601
6669
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6645,7 +6713,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6645
6713
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
6646
6714
|
const obj_fields_item = obj_fields[i];
|
|
6647
6715
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
6648
|
-
const referencepath_fields_itemValidationError = validate$
|
|
6716
|
+
const referencepath_fields_itemValidationError = validate$t(obj_fields_item, path_fields_item);
|
|
6649
6717
|
if (referencepath_fields_itemValidationError !== null) {
|
|
6650
6718
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
6651
6719
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6703,7 +6771,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6703
6771
|
if (obj.semanticDimension !== undefined) {
|
|
6704
6772
|
const obj_semanticDimension = obj.semanticDimension;
|
|
6705
6773
|
const path_semanticDimension = path + '.semanticDimension';
|
|
6706
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
6774
|
+
const referencepath_semanticDimensionValidationError = validate$A(obj_semanticDimension, path_semanticDimension);
|
|
6707
6775
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
6708
6776
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
6709
6777
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6713,7 +6781,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6713
6781
|
if (obj.semanticMeasurement !== undefined) {
|
|
6714
6782
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
6715
6783
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
6716
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
6784
|
+
const referencepath_semanticMeasurementValidationError = validate$z(obj_semanticMeasurement, path_semanticMeasurement);
|
|
6717
6785
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
6718
6786
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
6719
6787
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6730,57 +6798,57 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6730
6798
|
})();
|
|
6731
6799
|
return v_error === undefined ? null : v_error;
|
|
6732
6800
|
}
|
|
6733
|
-
const RepresentationType$
|
|
6734
|
-
function keyBuilder$
|
|
6735
|
-
return keyPrefix + '::' + RepresentationType$
|
|
6801
|
+
const RepresentationType$d = 'SemanticMappedFieldOutputRepresentation';
|
|
6802
|
+
function keyBuilder$w(luvio, config) {
|
|
6803
|
+
return keyPrefix + '::' + RepresentationType$d + ':' + config.name;
|
|
6736
6804
|
}
|
|
6737
|
-
function keyBuilderFromType$
|
|
6805
|
+
function keyBuilderFromType$7(luvio, object) {
|
|
6738
6806
|
const keyParams = {
|
|
6739
6807
|
name: object.id
|
|
6740
6808
|
};
|
|
6741
|
-
return keyBuilder$
|
|
6809
|
+
return keyBuilder$w(luvio, keyParams);
|
|
6742
6810
|
}
|
|
6743
|
-
function normalize$
|
|
6811
|
+
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
6744
6812
|
return input;
|
|
6745
6813
|
}
|
|
6746
|
-
const select$
|
|
6814
|
+
const select$z = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
6747
6815
|
return {
|
|
6748
6816
|
kind: 'Fragment',
|
|
6749
|
-
version: VERSION$
|
|
6817
|
+
version: VERSION$j,
|
|
6750
6818
|
private: [],
|
|
6751
6819
|
opaque: true
|
|
6752
6820
|
};
|
|
6753
6821
|
};
|
|
6754
|
-
function equals$
|
|
6822
|
+
function equals$j(existing, incoming) {
|
|
6755
6823
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
6756
6824
|
return false;
|
|
6757
6825
|
}
|
|
6758
6826
|
return true;
|
|
6759
6827
|
}
|
|
6760
|
-
const ingest$
|
|
6828
|
+
const ingest$d = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6761
6829
|
if (process.env.NODE_ENV !== 'production') {
|
|
6762
|
-
const validateError = validate$
|
|
6830
|
+
const validateError = validate$o(input);
|
|
6763
6831
|
if (validateError !== null) {
|
|
6764
6832
|
throw validateError;
|
|
6765
6833
|
}
|
|
6766
6834
|
}
|
|
6767
|
-
const key = keyBuilderFromType$
|
|
6835
|
+
const key = keyBuilderFromType$7(luvio, input);
|
|
6768
6836
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6769
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
6837
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$j, RepresentationType$d, equals$j);
|
|
6770
6838
|
return createLink(key);
|
|
6771
6839
|
};
|
|
6772
|
-
function getTypeCacheKeys$
|
|
6840
|
+
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
6773
6841
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
6774
|
-
const rootKey = keyBuilderFromType$
|
|
6842
|
+
const rootKey = keyBuilderFromType$7(luvio, input);
|
|
6775
6843
|
rootKeySet.set(rootKey, {
|
|
6776
6844
|
namespace: keyPrefix,
|
|
6777
|
-
representationName: RepresentationType$
|
|
6845
|
+
representationName: RepresentationType$d,
|
|
6778
6846
|
mergeable: false
|
|
6779
6847
|
});
|
|
6780
6848
|
}
|
|
6781
6849
|
|
|
6782
|
-
const VERSION$
|
|
6783
|
-
function validate$
|
|
6850
|
+
const VERSION$i = "98b8b40b3bc74aaa0644e303d378db60";
|
|
6851
|
+
function validate$n(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
6784
6852
|
const v_error = (() => {
|
|
6785
6853
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6786
6854
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6913,24 +6981,24 @@ function validate$m(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
|
6913
6981
|
})();
|
|
6914
6982
|
return v_error === undefined ? null : v_error;
|
|
6915
6983
|
}
|
|
6916
|
-
const RepresentationType$
|
|
6917
|
-
function keyBuilder$
|
|
6918
|
-
return keyPrefix + '::' + RepresentationType$
|
|
6984
|
+
const RepresentationType$c = 'SemanticUnionOutputRepresentation';
|
|
6985
|
+
function keyBuilder$v(luvio, config) {
|
|
6986
|
+
return keyPrefix + '::' + RepresentationType$c + ':' + config.name;
|
|
6919
6987
|
}
|
|
6920
|
-
function keyBuilderFromType$
|
|
6988
|
+
function keyBuilderFromType$6(luvio, object) {
|
|
6921
6989
|
const keyParams = {
|
|
6922
6990
|
name: object.id
|
|
6923
6991
|
};
|
|
6924
|
-
return keyBuilder$
|
|
6992
|
+
return keyBuilder$v(luvio, keyParams);
|
|
6925
6993
|
}
|
|
6926
|
-
function normalize$
|
|
6994
|
+
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
6927
6995
|
const input_semanticDataObjects = input.semanticDataObjects;
|
|
6928
6996
|
const input_semanticDataObjects_id = path.fullPath + '__semanticDataObjects';
|
|
6929
6997
|
if (input_semanticDataObjects !== undefined) {
|
|
6930
6998
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
6931
6999
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
6932
7000
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
6933
|
-
input_semanticDataObjects[i] = ingest$
|
|
7001
|
+
input_semanticDataObjects[i] = ingest$g(input_semanticDataObjects_item, {
|
|
6934
7002
|
fullPath: input_semanticDataObjects_item_id,
|
|
6935
7003
|
propertyName: i,
|
|
6936
7004
|
parent: {
|
|
@@ -6948,7 +7016,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
|
6948
7016
|
for (let i = 0; i < input_semanticMappedFields.length; i++) {
|
|
6949
7017
|
const input_semanticMappedFields_item = input_semanticMappedFields[i];
|
|
6950
7018
|
let input_semanticMappedFields_item_id = input_semanticMappedFields_id + '__' + i;
|
|
6951
|
-
input_semanticMappedFields[i] = ingest$
|
|
7019
|
+
input_semanticMappedFields[i] = ingest$d(input_semanticMappedFields_item, {
|
|
6952
7020
|
fullPath: input_semanticMappedFields_item_id,
|
|
6953
7021
|
propertyName: i,
|
|
6954
7022
|
parent: {
|
|
@@ -6962,10 +7030,10 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
|
6962
7030
|
}
|
|
6963
7031
|
return input;
|
|
6964
7032
|
}
|
|
6965
|
-
const select$
|
|
7033
|
+
const select$y = function SemanticUnionOutputRepresentationSelect() {
|
|
6966
7034
|
return {
|
|
6967
7035
|
kind: 'Fragment',
|
|
6968
|
-
version: VERSION$
|
|
7036
|
+
version: VERSION$i,
|
|
6969
7037
|
private: [],
|
|
6970
7038
|
selections: [
|
|
6971
7039
|
{
|
|
@@ -7029,19 +7097,19 @@ const select$x = function SemanticUnionOutputRepresentationSelect() {
|
|
|
7029
7097
|
kind: 'Link',
|
|
7030
7098
|
plural: true,
|
|
7031
7099
|
required: false,
|
|
7032
|
-
fragment: select$
|
|
7100
|
+
fragment: select$J()
|
|
7033
7101
|
},
|
|
7034
7102
|
{
|
|
7035
7103
|
name: 'semanticMappedFields',
|
|
7036
7104
|
kind: 'Link',
|
|
7037
7105
|
plural: true,
|
|
7038
7106
|
required: false,
|
|
7039
|
-
fragment: select$
|
|
7107
|
+
fragment: select$z()
|
|
7040
7108
|
}
|
|
7041
7109
|
]
|
|
7042
7110
|
};
|
|
7043
7111
|
};
|
|
7044
|
-
function equals$
|
|
7112
|
+
function equals$i(existing, incoming) {
|
|
7045
7113
|
const existing_apiName = existing.apiName;
|
|
7046
7114
|
const incoming_apiName = incoming.apiName;
|
|
7047
7115
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -7204,42 +7272,42 @@ function equals$h(existing, incoming) {
|
|
|
7204
7272
|
}
|
|
7205
7273
|
return true;
|
|
7206
7274
|
}
|
|
7207
|
-
const ingest$
|
|
7275
|
+
const ingest$c = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7208
7276
|
if (process.env.NODE_ENV !== 'production') {
|
|
7209
|
-
const validateError = validate$
|
|
7277
|
+
const validateError = validate$n(input);
|
|
7210
7278
|
if (validateError !== null) {
|
|
7211
7279
|
throw validateError;
|
|
7212
7280
|
}
|
|
7213
7281
|
}
|
|
7214
|
-
const key = keyBuilderFromType$
|
|
7282
|
+
const key = keyBuilderFromType$6(luvio, input);
|
|
7215
7283
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7216
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
7284
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$i, RepresentationType$c, equals$i);
|
|
7217
7285
|
return createLink(key);
|
|
7218
7286
|
};
|
|
7219
|
-
function getTypeCacheKeys$
|
|
7287
|
+
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
7220
7288
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
7221
|
-
const rootKey = keyBuilderFromType$
|
|
7289
|
+
const rootKey = keyBuilderFromType$6(luvio, input);
|
|
7222
7290
|
rootKeySet.set(rootKey, {
|
|
7223
7291
|
namespace: keyPrefix,
|
|
7224
|
-
representationName: RepresentationType$
|
|
7292
|
+
representationName: RepresentationType$c,
|
|
7225
7293
|
mergeable: false
|
|
7226
7294
|
});
|
|
7227
7295
|
if (input.semanticDataObjects !== undefined) {
|
|
7228
7296
|
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
7229
7297
|
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
7230
|
-
getTypeCacheKeys$
|
|
7298
|
+
getTypeCacheKeys$g(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
7231
7299
|
}
|
|
7232
7300
|
}
|
|
7233
7301
|
if (input.semanticMappedFields !== undefined) {
|
|
7234
7302
|
const input_semanticMappedFields_length = input.semanticMappedFields.length;
|
|
7235
7303
|
for (let i = 0; i < input_semanticMappedFields_length; i++) {
|
|
7236
|
-
getTypeCacheKeys$
|
|
7304
|
+
getTypeCacheKeys$d(rootKeySet, luvio, input.semanticMappedFields[i]);
|
|
7237
7305
|
}
|
|
7238
7306
|
}
|
|
7239
7307
|
}
|
|
7240
7308
|
|
|
7241
|
-
const VERSION$
|
|
7242
|
-
function validate$
|
|
7309
|
+
const VERSION$h = "deed87abd43631c27a6067ac00a1a018";
|
|
7310
|
+
function validate$m(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
7243
7311
|
const v_error = (() => {
|
|
7244
7312
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7245
7313
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7303,7 +7371,7 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7303
7371
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7304
7372
|
const obj_filters_item = obj_filters[i];
|
|
7305
7373
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7306
|
-
const referencepath_filters_itemValidationError = validate$
|
|
7374
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
7307
7375
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7308
7376
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7309
7377
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7424,24 +7492,24 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7424
7492
|
})();
|
|
7425
7493
|
return v_error === undefined ? null : v_error;
|
|
7426
7494
|
}
|
|
7427
|
-
const RepresentationType$
|
|
7428
|
-
function keyBuilder$
|
|
7429
|
-
return keyPrefix + '::' + RepresentationType$
|
|
7495
|
+
const RepresentationType$b = 'SemanticLogicalViewOutputRepresentation';
|
|
7496
|
+
function keyBuilder$u(luvio, config) {
|
|
7497
|
+
return keyPrefix + '::' + RepresentationType$b + ':' + config.name;
|
|
7430
7498
|
}
|
|
7431
|
-
function keyBuilderFromType$
|
|
7499
|
+
function keyBuilderFromType$5(luvio, object) {
|
|
7432
7500
|
const keyParams = {
|
|
7433
7501
|
name: object.id
|
|
7434
7502
|
};
|
|
7435
|
-
return keyBuilder$
|
|
7503
|
+
return keyBuilder$u(luvio, keyParams);
|
|
7436
7504
|
}
|
|
7437
|
-
function normalize$
|
|
7505
|
+
function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
7438
7506
|
const input_semanticDataObjects = input.semanticDataObjects;
|
|
7439
7507
|
const input_semanticDataObjects_id = path.fullPath + '__semanticDataObjects';
|
|
7440
7508
|
if (input_semanticDataObjects !== undefined) {
|
|
7441
7509
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
7442
7510
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
7443
7511
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
7444
|
-
input_semanticDataObjects[i] = ingest$
|
|
7512
|
+
input_semanticDataObjects[i] = ingest$g(input_semanticDataObjects_item, {
|
|
7445
7513
|
fullPath: input_semanticDataObjects_item_id,
|
|
7446
7514
|
propertyName: i,
|
|
7447
7515
|
parent: {
|
|
@@ -7459,7 +7527,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
7459
7527
|
for (let i = 0; i < input_semanticRelationships.length; i++) {
|
|
7460
7528
|
const input_semanticRelationships_item = input_semanticRelationships[i];
|
|
7461
7529
|
let input_semanticRelationships_item_id = input_semanticRelationships_id + '__' + i;
|
|
7462
|
-
input_semanticRelationships[i] = ingest$
|
|
7530
|
+
input_semanticRelationships[i] = ingest$e(input_semanticRelationships_item, {
|
|
7463
7531
|
fullPath: input_semanticRelationships_item_id,
|
|
7464
7532
|
propertyName: i,
|
|
7465
7533
|
parent: {
|
|
@@ -7477,7 +7545,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
7477
7545
|
for (let i = 0; i < input_semanticUnions.length; i++) {
|
|
7478
7546
|
const input_semanticUnions_item = input_semanticUnions[i];
|
|
7479
7547
|
let input_semanticUnions_item_id = input_semanticUnions_id + '__' + i;
|
|
7480
|
-
input_semanticUnions[i] = ingest$
|
|
7548
|
+
input_semanticUnions[i] = ingest$c(input_semanticUnions_item, {
|
|
7481
7549
|
fullPath: input_semanticUnions_item_id,
|
|
7482
7550
|
propertyName: i,
|
|
7483
7551
|
parent: {
|
|
@@ -7491,11 +7559,11 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
7491
7559
|
}
|
|
7492
7560
|
return input;
|
|
7493
7561
|
}
|
|
7494
|
-
const select$
|
|
7495
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
7562
|
+
const select$x = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
7563
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$M();
|
|
7496
7564
|
return {
|
|
7497
7565
|
kind: 'Fragment',
|
|
7498
|
-
version: VERSION$
|
|
7566
|
+
version: VERSION$h,
|
|
7499
7567
|
private: [],
|
|
7500
7568
|
selections: [
|
|
7501
7569
|
{
|
|
@@ -7581,21 +7649,21 @@ const select$w = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7581
7649
|
kind: 'Link',
|
|
7582
7650
|
plural: true,
|
|
7583
7651
|
required: false,
|
|
7584
|
-
fragment: select$
|
|
7652
|
+
fragment: select$J()
|
|
7585
7653
|
},
|
|
7586
7654
|
{
|
|
7587
7655
|
name: 'semanticRelationships',
|
|
7588
7656
|
kind: 'Link',
|
|
7589
7657
|
plural: true,
|
|
7590
7658
|
required: false,
|
|
7591
|
-
fragment: select$
|
|
7659
|
+
fragment: select$A()
|
|
7592
7660
|
},
|
|
7593
7661
|
{
|
|
7594
7662
|
name: 'semanticUnions',
|
|
7595
7663
|
kind: 'Link',
|
|
7596
7664
|
plural: true,
|
|
7597
7665
|
required: false,
|
|
7598
|
-
fragment: select$
|
|
7666
|
+
fragment: select$y()
|
|
7599
7667
|
},
|
|
7600
7668
|
{
|
|
7601
7669
|
name: 'semanticViewTypeEnum',
|
|
@@ -7615,7 +7683,7 @@ const select$w = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7615
7683
|
]
|
|
7616
7684
|
};
|
|
7617
7685
|
};
|
|
7618
|
-
function equals$
|
|
7686
|
+
function equals$h(existing, incoming) {
|
|
7619
7687
|
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
7620
7688
|
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
7621
7689
|
// if at least one of these optionals is defined
|
|
@@ -7828,7 +7896,7 @@ function equals$g(existing, incoming) {
|
|
|
7828
7896
|
return false;
|
|
7829
7897
|
}
|
|
7830
7898
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
7831
|
-
if (!(equals$
|
|
7899
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
7832
7900
|
return false;
|
|
7833
7901
|
}
|
|
7834
7902
|
});
|
|
@@ -7892,48 +7960,48 @@ function equals$g(existing, incoming) {
|
|
|
7892
7960
|
}
|
|
7893
7961
|
return true;
|
|
7894
7962
|
}
|
|
7895
|
-
const ingest$
|
|
7963
|
+
const ingest$b = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7896
7964
|
if (process.env.NODE_ENV !== 'production') {
|
|
7897
|
-
const validateError = validate$
|
|
7965
|
+
const validateError = validate$m(input);
|
|
7898
7966
|
if (validateError !== null) {
|
|
7899
7967
|
throw validateError;
|
|
7900
7968
|
}
|
|
7901
7969
|
}
|
|
7902
|
-
const key = keyBuilderFromType$
|
|
7970
|
+
const key = keyBuilderFromType$5(luvio, input);
|
|
7903
7971
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7904
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
7972
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$h, RepresentationType$b, equals$h);
|
|
7905
7973
|
return createLink(key);
|
|
7906
7974
|
};
|
|
7907
|
-
function getTypeCacheKeys$
|
|
7975
|
+
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
7908
7976
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
7909
|
-
const rootKey = keyBuilderFromType$
|
|
7977
|
+
const rootKey = keyBuilderFromType$5(luvio, input);
|
|
7910
7978
|
rootKeySet.set(rootKey, {
|
|
7911
7979
|
namespace: keyPrefix,
|
|
7912
|
-
representationName: RepresentationType$
|
|
7980
|
+
representationName: RepresentationType$b,
|
|
7913
7981
|
mergeable: false
|
|
7914
7982
|
});
|
|
7915
7983
|
if (input.semanticDataObjects !== undefined) {
|
|
7916
7984
|
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
7917
7985
|
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
7918
|
-
getTypeCacheKeys$
|
|
7986
|
+
getTypeCacheKeys$g(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
7919
7987
|
}
|
|
7920
7988
|
}
|
|
7921
7989
|
if (input.semanticRelationships !== undefined) {
|
|
7922
7990
|
const input_semanticRelationships_length = input.semanticRelationships.length;
|
|
7923
7991
|
for (let i = 0; i < input_semanticRelationships_length; i++) {
|
|
7924
|
-
getTypeCacheKeys$
|
|
7992
|
+
getTypeCacheKeys$e(rootKeySet, luvio, input.semanticRelationships[i]);
|
|
7925
7993
|
}
|
|
7926
7994
|
}
|
|
7927
7995
|
if (input.semanticUnions !== undefined) {
|
|
7928
7996
|
const input_semanticUnions_length = input.semanticUnions.length;
|
|
7929
7997
|
for (let i = 0; i < input_semanticUnions_length; i++) {
|
|
7930
|
-
getTypeCacheKeys$
|
|
7998
|
+
getTypeCacheKeys$c(rootKeySet, luvio, input.semanticUnions[i]);
|
|
7931
7999
|
}
|
|
7932
8000
|
}
|
|
7933
8001
|
}
|
|
7934
8002
|
|
|
7935
|
-
const VERSION$
|
|
7936
|
-
function validate$
|
|
8003
|
+
const VERSION$g = "abbe4306b9ecdab2a1f50709c75eb26a";
|
|
8004
|
+
function validate$l(obj, path = 'SemanticMetricForecastConfigurationOutputRepresentation') {
|
|
7937
8005
|
const v_error = (() => {
|
|
7938
8006
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7939
8007
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7941,7 +8009,7 @@ function validate$k(obj, path = 'SemanticMetricForecastConfigurationOutputRepres
|
|
|
7941
8009
|
if (obj.forecastMeasurementReference !== undefined) {
|
|
7942
8010
|
const obj_forecastMeasurementReference = obj.forecastMeasurementReference;
|
|
7943
8011
|
const path_forecastMeasurementReference = path + '.forecastMeasurementReference';
|
|
7944
|
-
const referencepath_forecastMeasurementReferenceValidationError = validate$
|
|
8012
|
+
const referencepath_forecastMeasurementReferenceValidationError = validate$s(obj_forecastMeasurementReference, path_forecastMeasurementReference);
|
|
7945
8013
|
if (referencepath_forecastMeasurementReferenceValidationError !== null) {
|
|
7946
8014
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_forecastMeasurementReference + '")\n';
|
|
7947
8015
|
message += referencepath_forecastMeasurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7951,11 +8019,11 @@ function validate$k(obj, path = 'SemanticMetricForecastConfigurationOutputRepres
|
|
|
7951
8019
|
})();
|
|
7952
8020
|
return v_error === undefined ? null : v_error;
|
|
7953
8021
|
}
|
|
7954
|
-
const select$
|
|
7955
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
8022
|
+
const select$w = function SemanticMetricForecastConfigurationOutputRepresentationSelect() {
|
|
8023
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$D();
|
|
7956
8024
|
return {
|
|
7957
8025
|
kind: 'Fragment',
|
|
7958
|
-
version: VERSION$
|
|
8026
|
+
version: VERSION$g,
|
|
7959
8027
|
private: [],
|
|
7960
8028
|
selections: [
|
|
7961
8029
|
{
|
|
@@ -7967,7 +8035,7 @@ const select$v = function SemanticMetricForecastConfigurationOutputRepresentatio
|
|
|
7967
8035
|
]
|
|
7968
8036
|
};
|
|
7969
8037
|
};
|
|
7970
|
-
function equals$
|
|
8038
|
+
function equals$g(existing, incoming) {
|
|
7971
8039
|
const existing_forecastMeasurementReference = existing.forecastMeasurementReference;
|
|
7972
8040
|
const incoming_forecastMeasurementReference = incoming.forecastMeasurementReference;
|
|
7973
8041
|
// if at least one of these optionals is defined
|
|
@@ -7977,15 +8045,15 @@ function equals$f(existing, incoming) {
|
|
|
7977
8045
|
if (existing_forecastMeasurementReference === undefined || incoming_forecastMeasurementReference === undefined) {
|
|
7978
8046
|
return false;
|
|
7979
8047
|
}
|
|
7980
|
-
if (!(equals$
|
|
8048
|
+
if (!(equals$n(existing_forecastMeasurementReference, incoming_forecastMeasurementReference))) {
|
|
7981
8049
|
return false;
|
|
7982
8050
|
}
|
|
7983
8051
|
}
|
|
7984
8052
|
return true;
|
|
7985
8053
|
}
|
|
7986
8054
|
|
|
7987
|
-
const VERSION$
|
|
7988
|
-
function validate$
|
|
8055
|
+
const VERSION$f = "a50848c632bb205d5e910bb726d9219e";
|
|
8056
|
+
function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
7989
8057
|
const v_error = (() => {
|
|
7990
8058
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7991
8059
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7993,7 +8061,7 @@ function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7993
8061
|
if (obj.identifierDimensionReference !== undefined) {
|
|
7994
8062
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
7995
8063
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
7996
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
8064
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$s(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
7997
8065
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
7998
8066
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
7999
8067
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8003,7 +8071,7 @@ function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
8003
8071
|
if (obj.namingDimensionReference !== undefined) {
|
|
8004
8072
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
8005
8073
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
8006
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
8074
|
+
const referencepath_namingDimensionReferenceValidationError = validate$s(obj_namingDimensionReference, path_namingDimensionReference);
|
|
8007
8075
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
8008
8076
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
8009
8077
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8013,11 +8081,11 @@ function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
8013
8081
|
})();
|
|
8014
8082
|
return v_error === undefined ? null : v_error;
|
|
8015
8083
|
}
|
|
8016
|
-
const select$
|
|
8017
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
8084
|
+
const select$v = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
8085
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$D();
|
|
8018
8086
|
return {
|
|
8019
8087
|
kind: 'Fragment',
|
|
8020
|
-
version: VERSION$
|
|
8088
|
+
version: VERSION$f,
|
|
8021
8089
|
private: [],
|
|
8022
8090
|
selections: [
|
|
8023
8091
|
{
|
|
@@ -8035,7 +8103,7 @@ const select$u = function SemanticIdentifyingDimensionOutputRepresentationSelect
|
|
|
8035
8103
|
]
|
|
8036
8104
|
};
|
|
8037
8105
|
};
|
|
8038
|
-
function equals$
|
|
8106
|
+
function equals$f(existing, incoming) {
|
|
8039
8107
|
const existing_identifierDimensionReference = existing.identifierDimensionReference;
|
|
8040
8108
|
const incoming_identifierDimensionReference = incoming.identifierDimensionReference;
|
|
8041
8109
|
// if at least one of these optionals is defined
|
|
@@ -8045,7 +8113,7 @@ function equals$e(existing, incoming) {
|
|
|
8045
8113
|
if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
|
|
8046
8114
|
return false;
|
|
8047
8115
|
}
|
|
8048
|
-
if (!(equals$
|
|
8116
|
+
if (!(equals$n(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
|
|
8049
8117
|
return false;
|
|
8050
8118
|
}
|
|
8051
8119
|
}
|
|
@@ -8058,15 +8126,15 @@ function equals$e(existing, incoming) {
|
|
|
8058
8126
|
if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
|
|
8059
8127
|
return false;
|
|
8060
8128
|
}
|
|
8061
|
-
if (!(equals$
|
|
8129
|
+
if (!(equals$n(existing_namingDimensionReference, incoming_namingDimensionReference))) {
|
|
8062
8130
|
return false;
|
|
8063
8131
|
}
|
|
8064
8132
|
}
|
|
8065
8133
|
return true;
|
|
8066
8134
|
}
|
|
8067
8135
|
|
|
8068
|
-
const VERSION$
|
|
8069
|
-
function validate$
|
|
8136
|
+
const VERSION$e = "1b8cf2283d5d5c480459506274f0604c";
|
|
8137
|
+
function validate$j(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
8070
8138
|
const v_error = (() => {
|
|
8071
8139
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8072
8140
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8088,10 +8156,10 @@ function validate$i(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
|
8088
8156
|
})();
|
|
8089
8157
|
return v_error === undefined ? null : v_error;
|
|
8090
8158
|
}
|
|
8091
|
-
const select$
|
|
8159
|
+
const select$u = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
8092
8160
|
return {
|
|
8093
8161
|
kind: 'Fragment',
|
|
8094
|
-
version: VERSION$
|
|
8162
|
+
version: VERSION$e,
|
|
8095
8163
|
private: [],
|
|
8096
8164
|
selections: [
|
|
8097
8165
|
{
|
|
@@ -8107,7 +8175,7 @@ const select$t = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
|
8107
8175
|
]
|
|
8108
8176
|
};
|
|
8109
8177
|
};
|
|
8110
|
-
function equals$
|
|
8178
|
+
function equals$e(existing, incoming) {
|
|
8111
8179
|
const existing_enabled = existing.enabled;
|
|
8112
8180
|
const incoming_enabled = incoming.enabled;
|
|
8113
8181
|
// if at least one of these optionals is defined
|
|
@@ -8137,8 +8205,8 @@ function equals$d(existing, incoming) {
|
|
|
8137
8205
|
return true;
|
|
8138
8206
|
}
|
|
8139
8207
|
|
|
8140
|
-
const VERSION$
|
|
8141
|
-
function validate$
|
|
8208
|
+
const VERSION$d = "1ee2337e8f73261cbb44258b393d1bec";
|
|
8209
|
+
function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
8142
8210
|
const v_error = (() => {
|
|
8143
8211
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8144
8212
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8146,7 +8214,7 @@ function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
8146
8214
|
if (obj.forecastConfiguration !== undefined) {
|
|
8147
8215
|
const obj_forecastConfiguration = obj.forecastConfiguration;
|
|
8148
8216
|
const path_forecastConfiguration = path + '.forecastConfiguration';
|
|
8149
|
-
const referencepath_forecastConfigurationValidationError = validate$
|
|
8217
|
+
const referencepath_forecastConfigurationValidationError = validate$l(obj_forecastConfiguration, path_forecastConfiguration);
|
|
8150
8218
|
if (referencepath_forecastConfigurationValidationError !== null) {
|
|
8151
8219
|
let message = 'Object doesn\'t match SemanticMetricForecastConfigurationOutputRepresentation (at "' + path_forecastConfiguration + '")\n';
|
|
8152
8220
|
message += referencepath_forecastConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8156,7 +8224,7 @@ function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
8156
8224
|
if (obj.identifyingDimension !== undefined) {
|
|
8157
8225
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
8158
8226
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
8159
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
8227
|
+
const referencepath_identifyingDimensionValidationError = validate$k(obj_identifyingDimension, path_identifyingDimension);
|
|
8160
8228
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
8161
8229
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
8162
8230
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8172,7 +8240,7 @@ function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
8172
8240
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
8173
8241
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
8174
8242
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
8175
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
8243
|
+
const referencepath_insightTypes_itemValidationError = validate$j(obj_insightTypes_item, path_insightTypes_item);
|
|
8176
8244
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
8177
8245
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
8178
8246
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8189,7 +8257,7 @@ function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
8189
8257
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
8190
8258
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
8191
8259
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
8192
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
8260
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$s(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
8193
8261
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
8194
8262
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
8195
8263
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8221,14 +8289,14 @@ function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
8221
8289
|
})();
|
|
8222
8290
|
return v_error === undefined ? null : v_error;
|
|
8223
8291
|
}
|
|
8224
|
-
const select$
|
|
8225
|
-
const { selections: SemanticMetricForecastConfigurationOutputRepresentation__selections, opaque: SemanticMetricForecastConfigurationOutputRepresentation__opaque, } = select$
|
|
8226
|
-
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$
|
|
8227
|
-
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$
|
|
8228
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
8292
|
+
const select$t = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
8293
|
+
const { selections: SemanticMetricForecastConfigurationOutputRepresentation__selections, opaque: SemanticMetricForecastConfigurationOutputRepresentation__opaque, } = select$w();
|
|
8294
|
+
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$v();
|
|
8295
|
+
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$u();
|
|
8296
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$D();
|
|
8229
8297
|
return {
|
|
8230
8298
|
kind: 'Fragment',
|
|
8231
|
-
version: VERSION$
|
|
8299
|
+
version: VERSION$d,
|
|
8232
8300
|
private: [],
|
|
8233
8301
|
selections: [
|
|
8234
8302
|
{
|
|
@@ -8275,7 +8343,7 @@ const select$s = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
|
8275
8343
|
]
|
|
8276
8344
|
};
|
|
8277
8345
|
};
|
|
8278
|
-
function equals$
|
|
8346
|
+
function equals$d(existing, incoming) {
|
|
8279
8347
|
const existing_pluralNoun = existing.pluralNoun;
|
|
8280
8348
|
const incoming_pluralNoun = incoming.pluralNoun;
|
|
8281
8349
|
// if at least one of these optionals is defined
|
|
@@ -8324,7 +8392,7 @@ function equals$c(existing, incoming) {
|
|
|
8324
8392
|
if (existing_forecastConfiguration === undefined || incoming_forecastConfiguration === undefined) {
|
|
8325
8393
|
return false;
|
|
8326
8394
|
}
|
|
8327
|
-
if (!(equals$
|
|
8395
|
+
if (!(equals$g(existing_forecastConfiguration, incoming_forecastConfiguration))) {
|
|
8328
8396
|
return false;
|
|
8329
8397
|
}
|
|
8330
8398
|
}
|
|
@@ -8337,7 +8405,7 @@ function equals$c(existing, incoming) {
|
|
|
8337
8405
|
if (existing_identifyingDimension === undefined || incoming_identifyingDimension === undefined) {
|
|
8338
8406
|
return false;
|
|
8339
8407
|
}
|
|
8340
|
-
if (!(equals$
|
|
8408
|
+
if (!(equals$f(existing_identifyingDimension, incoming_identifyingDimension))) {
|
|
8341
8409
|
return false;
|
|
8342
8410
|
}
|
|
8343
8411
|
}
|
|
@@ -8351,7 +8419,7 @@ function equals$c(existing, incoming) {
|
|
|
8351
8419
|
return false;
|
|
8352
8420
|
}
|
|
8353
8421
|
const equals_insightTypes_items = equalsArray(existing_insightTypes, incoming_insightTypes, (existing_insightTypes_item, incoming_insightTypes_item) => {
|
|
8354
|
-
if (!(equals$
|
|
8422
|
+
if (!(equals$e(existing_insightTypes_item, incoming_insightTypes_item))) {
|
|
8355
8423
|
return false;
|
|
8356
8424
|
}
|
|
8357
8425
|
});
|
|
@@ -8369,7 +8437,7 @@ function equals$c(existing, incoming) {
|
|
|
8369
8437
|
return false;
|
|
8370
8438
|
}
|
|
8371
8439
|
const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
|
|
8372
|
-
if (!(equals$
|
|
8440
|
+
if (!(equals$n(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
|
|
8373
8441
|
return false;
|
|
8374
8442
|
}
|
|
8375
8443
|
});
|
|
@@ -8380,8 +8448,8 @@ function equals$c(existing, incoming) {
|
|
|
8380
8448
|
return true;
|
|
8381
8449
|
}
|
|
8382
8450
|
|
|
8383
|
-
const VERSION$
|
|
8384
|
-
function validate$
|
|
8451
|
+
const VERSION$c = "3800a2eb703d5a4964899b4e067ee1d8";
|
|
8452
|
+
function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
8385
8453
|
const v_error = (() => {
|
|
8386
8454
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8387
8455
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8395,7 +8463,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8395
8463
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
8396
8464
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
8397
8465
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
8398
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
8466
|
+
const referencepath_additionalDimensions_itemValidationError = validate$s(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
8399
8467
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
8400
8468
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
8401
8469
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8462,7 +8530,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8462
8530
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
8463
8531
|
const obj_filters_item = obj_filters[i];
|
|
8464
8532
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
8465
|
-
const referencepath_filters_itemValidationError = validate$
|
|
8533
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
8466
8534
|
if (referencepath_filters_itemValidationError !== null) {
|
|
8467
8535
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
8468
8536
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8478,7 +8546,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8478
8546
|
if (obj.insightsSettings !== undefined) {
|
|
8479
8547
|
const obj_insightsSettings = obj.insightsSettings;
|
|
8480
8548
|
const path_insightsSettings = path + '.insightsSettings';
|
|
8481
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
8549
|
+
const referencepath_insightsSettingsValidationError = validate$i(obj_insightsSettings, path_insightsSettings);
|
|
8482
8550
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
8483
8551
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
8484
8552
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8530,7 +8598,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8530
8598
|
if (obj.measurementReference !== undefined) {
|
|
8531
8599
|
const obj_measurementReference = obj.measurementReference;
|
|
8532
8600
|
const path_measurementReference = path + '.measurementReference';
|
|
8533
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
8601
|
+
const referencepath_measurementReferenceValidationError = validate$s(obj_measurementReference, path_measurementReference);
|
|
8534
8602
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
8535
8603
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
8536
8604
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8540,7 +8608,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8540
8608
|
if (obj.timeDimensionReference !== undefined) {
|
|
8541
8609
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
8542
8610
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
8543
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
8611
|
+
const referencepath_timeDimensionReferenceValidationError = validate$s(obj_timeDimensionReference, path_timeDimensionReference);
|
|
8544
8612
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
8545
8613
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
8546
8614
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8561,17 +8629,566 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8561
8629
|
}
|
|
8562
8630
|
}
|
|
8563
8631
|
}
|
|
8564
|
-
if (obj.unmapped !== undefined) {
|
|
8565
|
-
const obj_unmapped = obj.unmapped;
|
|
8566
|
-
const path_unmapped = path + '.unmapped';
|
|
8567
|
-
if (typeof obj_unmapped !== 'boolean') {
|
|
8568
|
-
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
8632
|
+
if (obj.unmapped !== undefined) {
|
|
8633
|
+
const obj_unmapped = obj.unmapped;
|
|
8634
|
+
const path_unmapped = path + '.unmapped';
|
|
8635
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
8636
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
8637
|
+
}
|
|
8638
|
+
}
|
|
8639
|
+
})();
|
|
8640
|
+
return v_error === undefined ? null : v_error;
|
|
8641
|
+
}
|
|
8642
|
+
const RepresentationType$a = 'SemanticMetricOutputRepresentation';
|
|
8643
|
+
function keyBuilder$t(luvio, config) {
|
|
8644
|
+
return keyPrefix + '::' + RepresentationType$a + ':' + config.name;
|
|
8645
|
+
}
|
|
8646
|
+
function keyBuilderFromType$4(luvio, object) {
|
|
8647
|
+
const keyParams = {
|
|
8648
|
+
name: object.id
|
|
8649
|
+
};
|
|
8650
|
+
return keyBuilder$t(luvio, keyParams);
|
|
8651
|
+
}
|
|
8652
|
+
function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
8653
|
+
return input;
|
|
8654
|
+
}
|
|
8655
|
+
const select$s = function SemanticMetricOutputRepresentationSelect() {
|
|
8656
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$D();
|
|
8657
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$M();
|
|
8658
|
+
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$t();
|
|
8659
|
+
return {
|
|
8660
|
+
kind: 'Fragment',
|
|
8661
|
+
version: VERSION$c,
|
|
8662
|
+
private: [],
|
|
8663
|
+
selections: [
|
|
8664
|
+
{
|
|
8665
|
+
name: 'additionalDimensions',
|
|
8666
|
+
kind: 'Object',
|
|
8667
|
+
plural: true,
|
|
8668
|
+
selections: SemanticFieldReferenceOutputRepresentation__selections,
|
|
8669
|
+
required: false
|
|
8670
|
+
},
|
|
8671
|
+
{
|
|
8672
|
+
name: 'aggregationType',
|
|
8673
|
+
kind: 'Scalar',
|
|
8674
|
+
required: false
|
|
8675
|
+
},
|
|
8676
|
+
{
|
|
8677
|
+
name: 'apiName',
|
|
8678
|
+
kind: 'Scalar'
|
|
8679
|
+
},
|
|
8680
|
+
{
|
|
8681
|
+
name: 'baseModelApiName',
|
|
8682
|
+
kind: 'Scalar',
|
|
8683
|
+
required: false
|
|
8684
|
+
},
|
|
8685
|
+
{
|
|
8686
|
+
name: 'cacheKey',
|
|
8687
|
+
kind: 'Scalar',
|
|
8688
|
+
required: false
|
|
8689
|
+
},
|
|
8690
|
+
{
|
|
8691
|
+
name: 'createdBy',
|
|
8692
|
+
kind: 'Scalar'
|
|
8693
|
+
},
|
|
8694
|
+
{
|
|
8695
|
+
name: 'createdDate',
|
|
8696
|
+
kind: 'Scalar'
|
|
8697
|
+
},
|
|
8698
|
+
{
|
|
8699
|
+
name: 'description',
|
|
8700
|
+
kind: 'Scalar',
|
|
8701
|
+
required: false
|
|
8702
|
+
},
|
|
8703
|
+
{
|
|
8704
|
+
name: 'filterLogic',
|
|
8705
|
+
kind: 'Scalar',
|
|
8706
|
+
required: false
|
|
8707
|
+
},
|
|
8708
|
+
{
|
|
8709
|
+
name: 'filters',
|
|
8710
|
+
kind: 'Object',
|
|
8711
|
+
plural: true,
|
|
8712
|
+
selections: SemanticFilterOutputRepresentation__selections,
|
|
8713
|
+
required: false
|
|
8714
|
+
},
|
|
8715
|
+
{
|
|
8716
|
+
name: 'id',
|
|
8717
|
+
kind: 'Scalar'
|
|
8718
|
+
},
|
|
8719
|
+
{
|
|
8720
|
+
name: 'insightsSettings',
|
|
8721
|
+
kind: 'Object',
|
|
8722
|
+
selections: SemanticInsightsSettingsOutputRepresentation__selections,
|
|
8723
|
+
required: false
|
|
8724
|
+
},
|
|
8725
|
+
{
|
|
8726
|
+
name: 'isCumulative',
|
|
8727
|
+
kind: 'Scalar',
|
|
8728
|
+
required: false
|
|
8729
|
+
},
|
|
8730
|
+
{
|
|
8731
|
+
name: 'isQueryable',
|
|
8732
|
+
kind: 'Scalar',
|
|
8733
|
+
required: false
|
|
8734
|
+
},
|
|
8735
|
+
{
|
|
8736
|
+
name: 'isSystemDefinition',
|
|
8737
|
+
kind: 'Scalar',
|
|
8738
|
+
required: false
|
|
8739
|
+
},
|
|
8740
|
+
{
|
|
8741
|
+
name: 'label',
|
|
8742
|
+
kind: 'Scalar',
|
|
8743
|
+
required: false
|
|
8744
|
+
},
|
|
8745
|
+
{
|
|
8746
|
+
name: 'lastModifiedBy',
|
|
8747
|
+
kind: 'Scalar',
|
|
8748
|
+
required: false
|
|
8749
|
+
},
|
|
8750
|
+
{
|
|
8751
|
+
name: 'lastModifiedDate',
|
|
8752
|
+
kind: 'Scalar',
|
|
8753
|
+
required: false
|
|
8754
|
+
},
|
|
8755
|
+
{
|
|
8756
|
+
name: 'measurementReference',
|
|
8757
|
+
kind: 'Object',
|
|
8758
|
+
selections: SemanticFieldReferenceOutputRepresentation__selections,
|
|
8759
|
+
required: false
|
|
8760
|
+
},
|
|
8761
|
+
{
|
|
8762
|
+
name: 'timeDimensionReference',
|
|
8763
|
+
kind: 'Object',
|
|
8764
|
+
selections: SemanticFieldReferenceOutputRepresentation__selections,
|
|
8765
|
+
required: false
|
|
8766
|
+
},
|
|
8767
|
+
{
|
|
8768
|
+
name: 'timeGrains',
|
|
8769
|
+
kind: 'Scalar',
|
|
8770
|
+
plural: true,
|
|
8771
|
+
required: false
|
|
8772
|
+
},
|
|
8773
|
+
{
|
|
8774
|
+
name: 'unmapped',
|
|
8775
|
+
kind: 'Scalar',
|
|
8776
|
+
required: false
|
|
8777
|
+
}
|
|
8778
|
+
]
|
|
8779
|
+
};
|
|
8780
|
+
};
|
|
8781
|
+
function equals$c(existing, incoming) {
|
|
8782
|
+
const existing_isCumulative = existing.isCumulative;
|
|
8783
|
+
const incoming_isCumulative = incoming.isCumulative;
|
|
8784
|
+
// if at least one of these optionals is defined
|
|
8785
|
+
if (existing_isCumulative !== undefined || incoming_isCumulative !== undefined) {
|
|
8786
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8787
|
+
// not equal
|
|
8788
|
+
if (existing_isCumulative === undefined || incoming_isCumulative === undefined) {
|
|
8789
|
+
return false;
|
|
8790
|
+
}
|
|
8791
|
+
if (!(existing_isCumulative === incoming_isCumulative)) {
|
|
8792
|
+
return false;
|
|
8793
|
+
}
|
|
8794
|
+
}
|
|
8795
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
8796
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
8797
|
+
// if at least one of these optionals is defined
|
|
8798
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
8799
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8800
|
+
// not equal
|
|
8801
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
8802
|
+
return false;
|
|
8803
|
+
}
|
|
8804
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
8805
|
+
return false;
|
|
8806
|
+
}
|
|
8807
|
+
}
|
|
8808
|
+
const existing_unmapped = existing.unmapped;
|
|
8809
|
+
const incoming_unmapped = incoming.unmapped;
|
|
8810
|
+
// if at least one of these optionals is defined
|
|
8811
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
8812
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8813
|
+
// not equal
|
|
8814
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
8815
|
+
return false;
|
|
8816
|
+
}
|
|
8817
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
8818
|
+
return false;
|
|
8819
|
+
}
|
|
8820
|
+
}
|
|
8821
|
+
const existing_aggregationType = existing.aggregationType;
|
|
8822
|
+
const incoming_aggregationType = incoming.aggregationType;
|
|
8823
|
+
// if at least one of these optionals is defined
|
|
8824
|
+
if (existing_aggregationType !== undefined || incoming_aggregationType !== undefined) {
|
|
8825
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8826
|
+
// not equal
|
|
8827
|
+
if (existing_aggregationType === undefined || incoming_aggregationType === undefined) {
|
|
8828
|
+
return false;
|
|
8829
|
+
}
|
|
8830
|
+
if (!(existing_aggregationType === incoming_aggregationType)) {
|
|
8831
|
+
return false;
|
|
8832
|
+
}
|
|
8833
|
+
}
|
|
8834
|
+
const existing_apiName = existing.apiName;
|
|
8835
|
+
const incoming_apiName = incoming.apiName;
|
|
8836
|
+
if (!(existing_apiName === incoming_apiName)) {
|
|
8837
|
+
return false;
|
|
8838
|
+
}
|
|
8839
|
+
const existing_baseModelApiName = existing.baseModelApiName;
|
|
8840
|
+
const incoming_baseModelApiName = incoming.baseModelApiName;
|
|
8841
|
+
// if at least one of these optionals is defined
|
|
8842
|
+
if (existing_baseModelApiName !== undefined || incoming_baseModelApiName !== undefined) {
|
|
8843
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8844
|
+
// not equal
|
|
8845
|
+
if (existing_baseModelApiName === undefined || incoming_baseModelApiName === undefined) {
|
|
8846
|
+
return false;
|
|
8847
|
+
}
|
|
8848
|
+
if (!(existing_baseModelApiName === incoming_baseModelApiName)) {
|
|
8849
|
+
return false;
|
|
8850
|
+
}
|
|
8851
|
+
}
|
|
8852
|
+
const existing_cacheKey = existing.cacheKey;
|
|
8853
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
8854
|
+
// if at least one of these optionals is defined
|
|
8855
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
8856
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8857
|
+
// not equal
|
|
8858
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
8859
|
+
return false;
|
|
8860
|
+
}
|
|
8861
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
8862
|
+
return false;
|
|
8863
|
+
}
|
|
8864
|
+
}
|
|
8865
|
+
const existing_createdBy = existing.createdBy;
|
|
8866
|
+
const incoming_createdBy = incoming.createdBy;
|
|
8867
|
+
if (!(existing_createdBy === incoming_createdBy)) {
|
|
8868
|
+
return false;
|
|
8869
|
+
}
|
|
8870
|
+
const existing_createdDate = existing.createdDate;
|
|
8871
|
+
const incoming_createdDate = incoming.createdDate;
|
|
8872
|
+
if (!(existing_createdDate === incoming_createdDate)) {
|
|
8873
|
+
return false;
|
|
8874
|
+
}
|
|
8875
|
+
const existing_description = existing.description;
|
|
8876
|
+
const incoming_description = incoming.description;
|
|
8877
|
+
// if at least one of these optionals is defined
|
|
8878
|
+
if (existing_description !== undefined || incoming_description !== undefined) {
|
|
8879
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8880
|
+
// not equal
|
|
8881
|
+
if (existing_description === undefined || incoming_description === undefined) {
|
|
8882
|
+
return false;
|
|
8883
|
+
}
|
|
8884
|
+
if (!(existing_description === incoming_description)) {
|
|
8885
|
+
return false;
|
|
8886
|
+
}
|
|
8887
|
+
}
|
|
8888
|
+
const existing_filterLogic = existing.filterLogic;
|
|
8889
|
+
const incoming_filterLogic = incoming.filterLogic;
|
|
8890
|
+
// if at least one of these optionals is defined
|
|
8891
|
+
if (existing_filterLogic !== undefined || incoming_filterLogic !== undefined) {
|
|
8892
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8893
|
+
// not equal
|
|
8894
|
+
if (existing_filterLogic === undefined || incoming_filterLogic === undefined) {
|
|
8895
|
+
return false;
|
|
8896
|
+
}
|
|
8897
|
+
if (!(existing_filterLogic === incoming_filterLogic)) {
|
|
8898
|
+
return false;
|
|
8899
|
+
}
|
|
8900
|
+
}
|
|
8901
|
+
const existing_id = existing.id;
|
|
8902
|
+
const incoming_id = incoming.id;
|
|
8903
|
+
if (!(existing_id === incoming_id)) {
|
|
8904
|
+
return false;
|
|
8905
|
+
}
|
|
8906
|
+
const existing_isQueryable = existing.isQueryable;
|
|
8907
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
8908
|
+
// if at least one of these optionals is defined
|
|
8909
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
8910
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8911
|
+
// not equal
|
|
8912
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
8913
|
+
return false;
|
|
8914
|
+
}
|
|
8915
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
8916
|
+
return false;
|
|
8917
|
+
}
|
|
8918
|
+
}
|
|
8919
|
+
const existing_label = existing.label;
|
|
8920
|
+
const incoming_label = incoming.label;
|
|
8921
|
+
// if at least one of these optionals is defined
|
|
8922
|
+
if (existing_label !== undefined || incoming_label !== undefined) {
|
|
8923
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8924
|
+
// not equal
|
|
8925
|
+
if (existing_label === undefined || incoming_label === undefined) {
|
|
8926
|
+
return false;
|
|
8927
|
+
}
|
|
8928
|
+
if (!(existing_label === incoming_label)) {
|
|
8929
|
+
return false;
|
|
8930
|
+
}
|
|
8931
|
+
}
|
|
8932
|
+
const existing_lastModifiedBy = existing.lastModifiedBy;
|
|
8933
|
+
const incoming_lastModifiedBy = incoming.lastModifiedBy;
|
|
8934
|
+
// if at least one of these optionals is defined
|
|
8935
|
+
if (existing_lastModifiedBy !== undefined || incoming_lastModifiedBy !== undefined) {
|
|
8936
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8937
|
+
// not equal
|
|
8938
|
+
if (existing_lastModifiedBy === undefined || incoming_lastModifiedBy === undefined) {
|
|
8939
|
+
return false;
|
|
8940
|
+
}
|
|
8941
|
+
if (!(existing_lastModifiedBy === incoming_lastModifiedBy)) {
|
|
8942
|
+
return false;
|
|
8943
|
+
}
|
|
8944
|
+
}
|
|
8945
|
+
const existing_lastModifiedDate = existing.lastModifiedDate;
|
|
8946
|
+
const incoming_lastModifiedDate = incoming.lastModifiedDate;
|
|
8947
|
+
// if at least one of these optionals is defined
|
|
8948
|
+
if (existing_lastModifiedDate !== undefined || incoming_lastModifiedDate !== undefined) {
|
|
8949
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8950
|
+
// not equal
|
|
8951
|
+
if (existing_lastModifiedDate === undefined || incoming_lastModifiedDate === undefined) {
|
|
8952
|
+
return false;
|
|
8953
|
+
}
|
|
8954
|
+
if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
|
|
8955
|
+
return false;
|
|
8956
|
+
}
|
|
8957
|
+
}
|
|
8958
|
+
const existing_additionalDimensions = existing.additionalDimensions;
|
|
8959
|
+
const incoming_additionalDimensions = incoming.additionalDimensions;
|
|
8960
|
+
// if at least one of these optionals is defined
|
|
8961
|
+
if (existing_additionalDimensions !== undefined || incoming_additionalDimensions !== undefined) {
|
|
8962
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8963
|
+
// not equal
|
|
8964
|
+
if (existing_additionalDimensions === undefined || incoming_additionalDimensions === undefined) {
|
|
8965
|
+
return false;
|
|
8966
|
+
}
|
|
8967
|
+
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
8968
|
+
if (!(equals$n(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
8969
|
+
return false;
|
|
8970
|
+
}
|
|
8971
|
+
});
|
|
8972
|
+
if (equals_additionalDimensions_items === false) {
|
|
8973
|
+
return false;
|
|
8974
|
+
}
|
|
8975
|
+
}
|
|
8976
|
+
const existing_filters = existing.filters;
|
|
8977
|
+
const incoming_filters = incoming.filters;
|
|
8978
|
+
// if at least one of these optionals is defined
|
|
8979
|
+
if (existing_filters !== undefined || incoming_filters !== undefined) {
|
|
8980
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8981
|
+
// not equal
|
|
8982
|
+
if (existing_filters === undefined || incoming_filters === undefined) {
|
|
8983
|
+
return false;
|
|
8984
|
+
}
|
|
8985
|
+
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
8986
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
8987
|
+
return false;
|
|
8988
|
+
}
|
|
8989
|
+
});
|
|
8990
|
+
if (equals_filters_items === false) {
|
|
8991
|
+
return false;
|
|
8992
|
+
}
|
|
8993
|
+
}
|
|
8994
|
+
const existing_insightsSettings = existing.insightsSettings;
|
|
8995
|
+
const incoming_insightsSettings = incoming.insightsSettings;
|
|
8996
|
+
// if at least one of these optionals is defined
|
|
8997
|
+
if (existing_insightsSettings !== undefined || incoming_insightsSettings !== undefined) {
|
|
8998
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8999
|
+
// not equal
|
|
9000
|
+
if (existing_insightsSettings === undefined || incoming_insightsSettings === undefined) {
|
|
9001
|
+
return false;
|
|
9002
|
+
}
|
|
9003
|
+
if (!(equals$d(existing_insightsSettings, incoming_insightsSettings))) {
|
|
9004
|
+
return false;
|
|
9005
|
+
}
|
|
9006
|
+
}
|
|
9007
|
+
const existing_measurementReference = existing.measurementReference;
|
|
9008
|
+
const incoming_measurementReference = incoming.measurementReference;
|
|
9009
|
+
// if at least one of these optionals is defined
|
|
9010
|
+
if (existing_measurementReference !== undefined || incoming_measurementReference !== undefined) {
|
|
9011
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9012
|
+
// not equal
|
|
9013
|
+
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
9014
|
+
return false;
|
|
9015
|
+
}
|
|
9016
|
+
if (!(equals$n(existing_measurementReference, incoming_measurementReference))) {
|
|
9017
|
+
return false;
|
|
9018
|
+
}
|
|
9019
|
+
}
|
|
9020
|
+
const existing_timeDimensionReference = existing.timeDimensionReference;
|
|
9021
|
+
const incoming_timeDimensionReference = incoming.timeDimensionReference;
|
|
9022
|
+
// if at least one of these optionals is defined
|
|
9023
|
+
if (existing_timeDimensionReference !== undefined || incoming_timeDimensionReference !== undefined) {
|
|
9024
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9025
|
+
// not equal
|
|
9026
|
+
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
9027
|
+
return false;
|
|
9028
|
+
}
|
|
9029
|
+
if (!(equals$n(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
9030
|
+
return false;
|
|
9031
|
+
}
|
|
9032
|
+
}
|
|
9033
|
+
const existing_timeGrains = existing.timeGrains;
|
|
9034
|
+
const incoming_timeGrains = incoming.timeGrains;
|
|
9035
|
+
// if at least one of these optionals is defined
|
|
9036
|
+
if (existing_timeGrains !== undefined || incoming_timeGrains !== undefined) {
|
|
9037
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9038
|
+
// not equal
|
|
9039
|
+
if (existing_timeGrains === undefined || incoming_timeGrains === undefined) {
|
|
9040
|
+
return false;
|
|
9041
|
+
}
|
|
9042
|
+
const equals_timeGrains_items = equalsArray(existing_timeGrains, incoming_timeGrains, (existing_timeGrains_item, incoming_timeGrains_item) => {
|
|
9043
|
+
if (!(existing_timeGrains_item === incoming_timeGrains_item)) {
|
|
9044
|
+
return false;
|
|
9045
|
+
}
|
|
9046
|
+
});
|
|
9047
|
+
if (equals_timeGrains_items === false) {
|
|
9048
|
+
return false;
|
|
9049
|
+
}
|
|
9050
|
+
}
|
|
9051
|
+
return true;
|
|
9052
|
+
}
|
|
9053
|
+
const ingest$a = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9054
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
9055
|
+
const validateError = validate$h(input);
|
|
9056
|
+
if (validateError !== null) {
|
|
9057
|
+
throw validateError;
|
|
9058
|
+
}
|
|
9059
|
+
}
|
|
9060
|
+
const key = keyBuilderFromType$4(luvio, input);
|
|
9061
|
+
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
9062
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$c, RepresentationType$a, equals$c);
|
|
9063
|
+
return createLink(key);
|
|
9064
|
+
};
|
|
9065
|
+
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
9066
|
+
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
9067
|
+
const rootKey = keyBuilderFromType$4(luvio, input);
|
|
9068
|
+
rootKeySet.set(rootKey, {
|
|
9069
|
+
namespace: keyPrefix,
|
|
9070
|
+
representationName: RepresentationType$a,
|
|
9071
|
+
mergeable: false
|
|
9072
|
+
});
|
|
9073
|
+
}
|
|
9074
|
+
|
|
9075
|
+
const VERSION$b = "929176a252c7b25bb4d58a449a4c3051";
|
|
9076
|
+
function validate$g(obj, path = 'SemanticModelFilterOutputRepresentation') {
|
|
9077
|
+
const v_error = (() => {
|
|
9078
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9079
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
9080
|
+
}
|
|
9081
|
+
const obj_apiName = obj.apiName;
|
|
9082
|
+
const path_apiName = path + '.apiName';
|
|
9083
|
+
if (typeof obj_apiName !== 'string') {
|
|
9084
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
9085
|
+
}
|
|
9086
|
+
if (obj.baseModelApiName !== undefined) {
|
|
9087
|
+
const obj_baseModelApiName = obj.baseModelApiName;
|
|
9088
|
+
const path_baseModelApiName = path + '.baseModelApiName';
|
|
9089
|
+
if (typeof obj_baseModelApiName !== 'string') {
|
|
9090
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
9091
|
+
}
|
|
9092
|
+
}
|
|
9093
|
+
if (obj.cacheKey !== undefined) {
|
|
9094
|
+
const obj_cacheKey = obj.cacheKey;
|
|
9095
|
+
const path_cacheKey = path + '.cacheKey';
|
|
9096
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
9097
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
9098
|
+
}
|
|
9099
|
+
}
|
|
9100
|
+
const obj_createdBy = obj.createdBy;
|
|
9101
|
+
const path_createdBy = path + '.createdBy';
|
|
9102
|
+
if (typeof obj_createdBy !== 'string') {
|
|
9103
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdBy + '" (at "' + path_createdBy + '")');
|
|
9104
|
+
}
|
|
9105
|
+
const obj_createdDate = obj.createdDate;
|
|
9106
|
+
const path_createdDate = path + '.createdDate';
|
|
9107
|
+
if (typeof obj_createdDate !== 'string') {
|
|
9108
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
9109
|
+
}
|
|
9110
|
+
if (obj.description !== undefined) {
|
|
9111
|
+
const obj_description = obj.description;
|
|
9112
|
+
const path_description = path + '.description';
|
|
9113
|
+
if (typeof obj_description !== 'string') {
|
|
9114
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
9115
|
+
}
|
|
9116
|
+
}
|
|
9117
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
9118
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
9119
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
9120
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
9121
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
9122
|
+
}
|
|
9123
|
+
}
|
|
9124
|
+
if (obj.externalId !== undefined) {
|
|
9125
|
+
const obj_externalId = obj.externalId;
|
|
9126
|
+
const path_externalId = path + '.externalId';
|
|
9127
|
+
if (typeof obj_externalId !== 'string') {
|
|
9128
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalId + '" (at "' + path_externalId + '")');
|
|
9129
|
+
}
|
|
9130
|
+
}
|
|
9131
|
+
if (obj.filterLogic !== undefined) {
|
|
9132
|
+
const obj_filterLogic = obj.filterLogic;
|
|
9133
|
+
const path_filterLogic = path + '.filterLogic';
|
|
9134
|
+
if (typeof obj_filterLogic !== 'string') {
|
|
9135
|
+
return new TypeError('Expected "string" but received "' + typeof obj_filterLogic + '" (at "' + path_filterLogic + '")');
|
|
9136
|
+
}
|
|
9137
|
+
}
|
|
9138
|
+
if (obj.filters !== undefined) {
|
|
9139
|
+
const obj_filters = obj.filters;
|
|
9140
|
+
const path_filters = path + '.filters';
|
|
9141
|
+
if (!ArrayIsArray(obj_filters)) {
|
|
9142
|
+
return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
|
|
9143
|
+
}
|
|
9144
|
+
for (let i = 0; i < obj_filters.length; i++) {
|
|
9145
|
+
const obj_filters_item = obj_filters[i];
|
|
9146
|
+
const path_filters_item = path_filters + '[' + i + ']';
|
|
9147
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
9148
|
+
if (referencepath_filters_itemValidationError !== null) {
|
|
9149
|
+
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
9150
|
+
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
9151
|
+
return new TypeError(message);
|
|
9152
|
+
}
|
|
9153
|
+
}
|
|
9154
|
+
}
|
|
9155
|
+
const obj_id = obj.id;
|
|
9156
|
+
const path_id = path + '.id';
|
|
9157
|
+
if (typeof obj_id !== 'string') {
|
|
9158
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
9159
|
+
}
|
|
9160
|
+
if (obj.isQueryable !== undefined) {
|
|
9161
|
+
const obj_isQueryable = obj.isQueryable;
|
|
9162
|
+
const path_isQueryable = path + '.isQueryable';
|
|
9163
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
9164
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
9165
|
+
}
|
|
9166
|
+
}
|
|
9167
|
+
if (obj.label !== undefined) {
|
|
9168
|
+
const obj_label = obj.label;
|
|
9169
|
+
const path_label = path + '.label';
|
|
9170
|
+
if (typeof obj_label !== 'string') {
|
|
9171
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
9172
|
+
}
|
|
9173
|
+
}
|
|
9174
|
+
if (obj.lastModifiedBy !== undefined) {
|
|
9175
|
+
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
9176
|
+
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
9177
|
+
if (typeof obj_lastModifiedBy !== 'string') {
|
|
9178
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedBy + '" (at "' + path_lastModifiedBy + '")');
|
|
9179
|
+
}
|
|
9180
|
+
}
|
|
9181
|
+
if (obj.lastModifiedDate !== undefined) {
|
|
9182
|
+
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
9183
|
+
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
9184
|
+
if (typeof obj_lastModifiedDate !== 'string') {
|
|
9185
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
8569
9186
|
}
|
|
8570
9187
|
}
|
|
8571
9188
|
})();
|
|
8572
9189
|
return v_error === undefined ? null : v_error;
|
|
8573
9190
|
}
|
|
8574
|
-
const RepresentationType$9 = '
|
|
9191
|
+
const RepresentationType$9 = 'SemanticModelFilterOutputRepresentation';
|
|
8575
9192
|
function keyBuilder$s(luvio, config) {
|
|
8576
9193
|
return keyPrefix + '::' + RepresentationType$9 + ':' + config.name;
|
|
8577
9194
|
}
|
|
@@ -8584,27 +9201,13 @@ function keyBuilderFromType$3(luvio, object) {
|
|
|
8584
9201
|
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
8585
9202
|
return input;
|
|
8586
9203
|
}
|
|
8587
|
-
const select$r = function
|
|
8588
|
-
const { selections:
|
|
8589
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
|
|
8590
|
-
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$s();
|
|
9204
|
+
const select$r = function SemanticModelFilterOutputRepresentationSelect() {
|
|
9205
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$M();
|
|
8591
9206
|
return {
|
|
8592
9207
|
kind: 'Fragment',
|
|
8593
9208
|
version: VERSION$b,
|
|
8594
9209
|
private: [],
|
|
8595
9210
|
selections: [
|
|
8596
|
-
{
|
|
8597
|
-
name: 'additionalDimensions',
|
|
8598
|
-
kind: 'Object',
|
|
8599
|
-
plural: true,
|
|
8600
|
-
selections: SemanticFieldReferenceOutputRepresentation__selections,
|
|
8601
|
-
required: false
|
|
8602
|
-
},
|
|
8603
|
-
{
|
|
8604
|
-
name: 'aggregationType',
|
|
8605
|
-
kind: 'Scalar',
|
|
8606
|
-
required: false
|
|
8607
|
-
},
|
|
8608
9211
|
{
|
|
8609
9212
|
name: 'apiName',
|
|
8610
9213
|
kind: 'Scalar'
|
|
@@ -8632,6 +9235,16 @@ const select$r = function SemanticMetricOutputRepresentationSelect() {
|
|
|
8632
9235
|
kind: 'Scalar',
|
|
8633
9236
|
required: false
|
|
8634
9237
|
},
|
|
9238
|
+
{
|
|
9239
|
+
name: 'externalConnectionApiName',
|
|
9240
|
+
kind: 'Scalar',
|
|
9241
|
+
required: false
|
|
9242
|
+
},
|
|
9243
|
+
{
|
|
9244
|
+
name: 'externalId',
|
|
9245
|
+
kind: 'Scalar',
|
|
9246
|
+
required: false
|
|
9247
|
+
},
|
|
8635
9248
|
{
|
|
8636
9249
|
name: 'filterLogic',
|
|
8637
9250
|
kind: 'Scalar',
|
|
@@ -8648,27 +9261,11 @@ const select$r = function SemanticMetricOutputRepresentationSelect() {
|
|
|
8648
9261
|
name: 'id',
|
|
8649
9262
|
kind: 'Scalar'
|
|
8650
9263
|
},
|
|
8651
|
-
{
|
|
8652
|
-
name: 'insightsSettings',
|
|
8653
|
-
kind: 'Object',
|
|
8654
|
-
selections: SemanticInsightsSettingsOutputRepresentation__selections,
|
|
8655
|
-
required: false
|
|
8656
|
-
},
|
|
8657
|
-
{
|
|
8658
|
-
name: 'isCumulative',
|
|
8659
|
-
kind: 'Scalar',
|
|
8660
|
-
required: false
|
|
8661
|
-
},
|
|
8662
9264
|
{
|
|
8663
9265
|
name: 'isQueryable',
|
|
8664
9266
|
kind: 'Scalar',
|
|
8665
9267
|
required: false
|
|
8666
9268
|
},
|
|
8667
|
-
{
|
|
8668
|
-
name: 'isSystemDefinition',
|
|
8669
|
-
kind: 'Scalar',
|
|
8670
|
-
required: false
|
|
8671
|
-
},
|
|
8672
9269
|
{
|
|
8673
9270
|
name: 'label',
|
|
8674
9271
|
kind: 'Scalar',
|
|
@@ -8683,86 +9280,11 @@ const select$r = function SemanticMetricOutputRepresentationSelect() {
|
|
|
8683
9280
|
name: 'lastModifiedDate',
|
|
8684
9281
|
kind: 'Scalar',
|
|
8685
9282
|
required: false
|
|
8686
|
-
},
|
|
8687
|
-
{
|
|
8688
|
-
name: 'measurementReference',
|
|
8689
|
-
kind: 'Object',
|
|
8690
|
-
selections: SemanticFieldReferenceOutputRepresentation__selections,
|
|
8691
|
-
required: false
|
|
8692
|
-
},
|
|
8693
|
-
{
|
|
8694
|
-
name: 'timeDimensionReference',
|
|
8695
|
-
kind: 'Object',
|
|
8696
|
-
selections: SemanticFieldReferenceOutputRepresentation__selections,
|
|
8697
|
-
required: false
|
|
8698
|
-
},
|
|
8699
|
-
{
|
|
8700
|
-
name: 'timeGrains',
|
|
8701
|
-
kind: 'Scalar',
|
|
8702
|
-
plural: true,
|
|
8703
|
-
required: false
|
|
8704
|
-
},
|
|
8705
|
-
{
|
|
8706
|
-
name: 'unmapped',
|
|
8707
|
-
kind: 'Scalar',
|
|
8708
|
-
required: false
|
|
8709
9283
|
}
|
|
8710
9284
|
]
|
|
8711
9285
|
};
|
|
8712
9286
|
};
|
|
8713
9287
|
function equals$b(existing, incoming) {
|
|
8714
|
-
const existing_isCumulative = existing.isCumulative;
|
|
8715
|
-
const incoming_isCumulative = incoming.isCumulative;
|
|
8716
|
-
// if at least one of these optionals is defined
|
|
8717
|
-
if (existing_isCumulative !== undefined || incoming_isCumulative !== undefined) {
|
|
8718
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8719
|
-
// not equal
|
|
8720
|
-
if (existing_isCumulative === undefined || incoming_isCumulative === undefined) {
|
|
8721
|
-
return false;
|
|
8722
|
-
}
|
|
8723
|
-
if (!(existing_isCumulative === incoming_isCumulative)) {
|
|
8724
|
-
return false;
|
|
8725
|
-
}
|
|
8726
|
-
}
|
|
8727
|
-
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
8728
|
-
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
8729
|
-
// if at least one of these optionals is defined
|
|
8730
|
-
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
8731
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8732
|
-
// not equal
|
|
8733
|
-
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
8734
|
-
return false;
|
|
8735
|
-
}
|
|
8736
|
-
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
8737
|
-
return false;
|
|
8738
|
-
}
|
|
8739
|
-
}
|
|
8740
|
-
const existing_unmapped = existing.unmapped;
|
|
8741
|
-
const incoming_unmapped = incoming.unmapped;
|
|
8742
|
-
// if at least one of these optionals is defined
|
|
8743
|
-
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
8744
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8745
|
-
// not equal
|
|
8746
|
-
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
8747
|
-
return false;
|
|
8748
|
-
}
|
|
8749
|
-
if (!(existing_unmapped === incoming_unmapped)) {
|
|
8750
|
-
return false;
|
|
8751
|
-
}
|
|
8752
|
-
}
|
|
8753
|
-
const existing_aggregationType = existing.aggregationType;
|
|
8754
|
-
const incoming_aggregationType = incoming.aggregationType;
|
|
8755
|
-
// if at least one of these optionals is defined
|
|
8756
|
-
if (existing_aggregationType !== undefined || incoming_aggregationType !== undefined) {
|
|
8757
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8758
|
-
// not equal
|
|
8759
|
-
if (existing_aggregationType === undefined || incoming_aggregationType === undefined) {
|
|
8760
|
-
return false;
|
|
8761
|
-
}
|
|
8762
|
-
if (!(existing_aggregationType === incoming_aggregationType)) {
|
|
8763
|
-
return false;
|
|
8764
|
-
}
|
|
8765
|
-
}
|
|
8766
9288
|
const existing_apiName = existing.apiName;
|
|
8767
9289
|
const incoming_apiName = incoming.apiName;
|
|
8768
9290
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -8817,6 +9339,32 @@ function equals$b(existing, incoming) {
|
|
|
8817
9339
|
return false;
|
|
8818
9340
|
}
|
|
8819
9341
|
}
|
|
9342
|
+
const existing_externalConnectionApiName = existing.externalConnectionApiName;
|
|
9343
|
+
const incoming_externalConnectionApiName = incoming.externalConnectionApiName;
|
|
9344
|
+
// if at least one of these optionals is defined
|
|
9345
|
+
if (existing_externalConnectionApiName !== undefined || incoming_externalConnectionApiName !== undefined) {
|
|
9346
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9347
|
+
// not equal
|
|
9348
|
+
if (existing_externalConnectionApiName === undefined || incoming_externalConnectionApiName === undefined) {
|
|
9349
|
+
return false;
|
|
9350
|
+
}
|
|
9351
|
+
if (!(existing_externalConnectionApiName === incoming_externalConnectionApiName)) {
|
|
9352
|
+
return false;
|
|
9353
|
+
}
|
|
9354
|
+
}
|
|
9355
|
+
const existing_externalId = existing.externalId;
|
|
9356
|
+
const incoming_externalId = incoming.externalId;
|
|
9357
|
+
// if at least one of these optionals is defined
|
|
9358
|
+
if (existing_externalId !== undefined || incoming_externalId !== undefined) {
|
|
9359
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9360
|
+
// not equal
|
|
9361
|
+
if (existing_externalId === undefined || incoming_externalId === undefined) {
|
|
9362
|
+
return false;
|
|
9363
|
+
}
|
|
9364
|
+
if (!(existing_externalId === incoming_externalId)) {
|
|
9365
|
+
return false;
|
|
9366
|
+
}
|
|
9367
|
+
}
|
|
8820
9368
|
const existing_filterLogic = existing.filterLogic;
|
|
8821
9369
|
const incoming_filterLogic = incoming.filterLogic;
|
|
8822
9370
|
// if at least one of these optionals is defined
|
|
@@ -8887,24 +9435,6 @@ function equals$b(existing, incoming) {
|
|
|
8887
9435
|
return false;
|
|
8888
9436
|
}
|
|
8889
9437
|
}
|
|
8890
|
-
const existing_additionalDimensions = existing.additionalDimensions;
|
|
8891
|
-
const incoming_additionalDimensions = incoming.additionalDimensions;
|
|
8892
|
-
// if at least one of these optionals is defined
|
|
8893
|
-
if (existing_additionalDimensions !== undefined || incoming_additionalDimensions !== undefined) {
|
|
8894
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8895
|
-
// not equal
|
|
8896
|
-
if (existing_additionalDimensions === undefined || incoming_additionalDimensions === undefined) {
|
|
8897
|
-
return false;
|
|
8898
|
-
}
|
|
8899
|
-
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
8900
|
-
if (!(equals$m(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
8901
|
-
return false;
|
|
8902
|
-
}
|
|
8903
|
-
});
|
|
8904
|
-
if (equals_additionalDimensions_items === false) {
|
|
8905
|
-
return false;
|
|
8906
|
-
}
|
|
8907
|
-
}
|
|
8908
9438
|
const existing_filters = existing.filters;
|
|
8909
9439
|
const incoming_filters = incoming.filters;
|
|
8910
9440
|
// if at least one of these optionals is defined
|
|
@@ -8915,7 +9445,7 @@ function equals$b(existing, incoming) {
|
|
|
8915
9445
|
return false;
|
|
8916
9446
|
}
|
|
8917
9447
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
8918
|
-
if (!(equals$
|
|
9448
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
8919
9449
|
return false;
|
|
8920
9450
|
}
|
|
8921
9451
|
});
|
|
@@ -8923,66 +9453,9 @@ function equals$b(existing, incoming) {
|
|
|
8923
9453
|
return false;
|
|
8924
9454
|
}
|
|
8925
9455
|
}
|
|
8926
|
-
const existing_insightsSettings = existing.insightsSettings;
|
|
8927
|
-
const incoming_insightsSettings = incoming.insightsSettings;
|
|
8928
|
-
// if at least one of these optionals is defined
|
|
8929
|
-
if (existing_insightsSettings !== undefined || incoming_insightsSettings !== undefined) {
|
|
8930
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8931
|
-
// not equal
|
|
8932
|
-
if (existing_insightsSettings === undefined || incoming_insightsSettings === undefined) {
|
|
8933
|
-
return false;
|
|
8934
|
-
}
|
|
8935
|
-
if (!(equals$c(existing_insightsSettings, incoming_insightsSettings))) {
|
|
8936
|
-
return false;
|
|
8937
|
-
}
|
|
8938
|
-
}
|
|
8939
|
-
const existing_measurementReference = existing.measurementReference;
|
|
8940
|
-
const incoming_measurementReference = incoming.measurementReference;
|
|
8941
|
-
// if at least one of these optionals is defined
|
|
8942
|
-
if (existing_measurementReference !== undefined || incoming_measurementReference !== undefined) {
|
|
8943
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8944
|
-
// not equal
|
|
8945
|
-
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
8946
|
-
return false;
|
|
8947
|
-
}
|
|
8948
|
-
if (!(equals$m(existing_measurementReference, incoming_measurementReference))) {
|
|
8949
|
-
return false;
|
|
8950
|
-
}
|
|
8951
|
-
}
|
|
8952
|
-
const existing_timeDimensionReference = existing.timeDimensionReference;
|
|
8953
|
-
const incoming_timeDimensionReference = incoming.timeDimensionReference;
|
|
8954
|
-
// if at least one of these optionals is defined
|
|
8955
|
-
if (existing_timeDimensionReference !== undefined || incoming_timeDimensionReference !== undefined) {
|
|
8956
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8957
|
-
// not equal
|
|
8958
|
-
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
8959
|
-
return false;
|
|
8960
|
-
}
|
|
8961
|
-
if (!(equals$m(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
8962
|
-
return false;
|
|
8963
|
-
}
|
|
8964
|
-
}
|
|
8965
|
-
const existing_timeGrains = existing.timeGrains;
|
|
8966
|
-
const incoming_timeGrains = incoming.timeGrains;
|
|
8967
|
-
// if at least one of these optionals is defined
|
|
8968
|
-
if (existing_timeGrains !== undefined || incoming_timeGrains !== undefined) {
|
|
8969
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8970
|
-
// not equal
|
|
8971
|
-
if (existing_timeGrains === undefined || incoming_timeGrains === undefined) {
|
|
8972
|
-
return false;
|
|
8973
|
-
}
|
|
8974
|
-
const equals_timeGrains_items = equalsArray(existing_timeGrains, incoming_timeGrains, (existing_timeGrains_item, incoming_timeGrains_item) => {
|
|
8975
|
-
if (!(existing_timeGrains_item === incoming_timeGrains_item)) {
|
|
8976
|
-
return false;
|
|
8977
|
-
}
|
|
8978
|
-
});
|
|
8979
|
-
if (equals_timeGrains_items === false) {
|
|
8980
|
-
return false;
|
|
8981
|
-
}
|
|
8982
|
-
}
|
|
8983
9456
|
return true;
|
|
8984
9457
|
}
|
|
8985
|
-
const ingest$9 = function
|
|
9458
|
+
const ingest$9 = function SemanticModelFilterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8986
9459
|
if (process.env.NODE_ENV !== 'production') {
|
|
8987
9460
|
const validateError = validate$g(input);
|
|
8988
9461
|
if (validateError !== null) {
|
|
@@ -9669,7 +10142,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9669
10142
|
});
|
|
9670
10143
|
}
|
|
9671
10144
|
|
|
9672
|
-
const VERSION$8 = "
|
|
10145
|
+
const VERSION$8 = "31c80b845050553f41832720b27399ad";
|
|
9673
10146
|
function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
9674
10147
|
const v_error = (() => {
|
|
9675
10148
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9703,7 +10176,7 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9703
10176
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
9704
10177
|
const obj_baseModels_item = obj_baseModels[i];
|
|
9705
10178
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
9706
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
10179
|
+
const referencepath_baseModels_itemValidationError = validate$H(obj_baseModels_item, path_baseModels_item);
|
|
9707
10180
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
9708
10181
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
9709
10182
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9763,7 +10236,7 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9763
10236
|
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
9764
10237
|
const obj_externalConnections_item = obj_externalConnections[i];
|
|
9765
10238
|
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
9766
|
-
const referencepath_externalConnections_itemValidationError = validate$
|
|
10239
|
+
const referencepath_externalConnections_itemValidationError = validate$F(obj_externalConnections_item, path_externalConnections_item);
|
|
9767
10240
|
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
9768
10241
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
9769
10242
|
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9780,7 +10253,7 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9780
10253
|
for (let i = 0; i < obj_fieldsOverrides.length; i++) {
|
|
9781
10254
|
const obj_fieldsOverrides_item = obj_fieldsOverrides[i];
|
|
9782
10255
|
const path_fieldsOverrides_item = path_fieldsOverrides + '[' + i + ']';
|
|
9783
|
-
const referencepath_fieldsOverrides_itemValidationError = validate$
|
|
10256
|
+
const referencepath_fieldsOverrides_itemValidationError = validate$E(obj_fieldsOverrides_item, path_fieldsOverrides_item);
|
|
9784
10257
|
if (referencepath_fieldsOverrides_itemValidationError !== null) {
|
|
9785
10258
|
let message = 'Object doesn\'t match SemanticOverrideOutputRepresentation (at "' + path_fieldsOverrides_item + '")\n';
|
|
9786
10259
|
message += referencepath_fieldsOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9975,6 +10448,20 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9975
10448
|
}
|
|
9976
10449
|
}
|
|
9977
10450
|
}
|
|
10451
|
+
if (obj.semanticModelFilters !== undefined) {
|
|
10452
|
+
const obj_semanticModelFilters = obj.semanticModelFilters;
|
|
10453
|
+
const path_semanticModelFilters = path + '.semanticModelFilters';
|
|
10454
|
+
if (!ArrayIsArray(obj_semanticModelFilters)) {
|
|
10455
|
+
return new TypeError('Expected "array" but received "' + typeof obj_semanticModelFilters + '" (at "' + path_semanticModelFilters + '")');
|
|
10456
|
+
}
|
|
10457
|
+
for (let i = 0; i < obj_semanticModelFilters.length; i++) {
|
|
10458
|
+
const obj_semanticModelFilters_item = obj_semanticModelFilters[i];
|
|
10459
|
+
const path_semanticModelFilters_item = path_semanticModelFilters + '[' + i + ']';
|
|
10460
|
+
if (typeof obj_semanticModelFilters_item !== 'object' || Array.isArray(obj_semanticModelFilters_item)) {
|
|
10461
|
+
return new TypeError('Expected "object" but received "' + typeof obj_semanticModelFilters_item + '" (at "' + path_semanticModelFilters_item + '")');
|
|
10462
|
+
}
|
|
10463
|
+
}
|
|
10464
|
+
}
|
|
9978
10465
|
if (obj.semanticParameters !== undefined) {
|
|
9979
10466
|
const obj_semanticParameters = obj.semanticParameters;
|
|
9980
10467
|
const path_semanticParameters = path + '.semanticParameters';
|
|
@@ -10051,7 +10538,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
10051
10538
|
for (let i = 0; i < input_semanticCalculatedDimensions.length; i++) {
|
|
10052
10539
|
const input_semanticCalculatedDimensions_item = input_semanticCalculatedDimensions[i];
|
|
10053
10540
|
let input_semanticCalculatedDimensions_item_id = input_semanticCalculatedDimensions_id + '__' + i;
|
|
10054
|
-
input_semanticCalculatedDimensions[i] = ingest$
|
|
10541
|
+
input_semanticCalculatedDimensions[i] = ingest$i(input_semanticCalculatedDimensions_item, {
|
|
10055
10542
|
fullPath: input_semanticCalculatedDimensions_item_id,
|
|
10056
10543
|
propertyName: i,
|
|
10057
10544
|
parent: {
|
|
@@ -10069,7 +10556,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
10069
10556
|
for (let i = 0; i < input_semanticCalculatedMeasurements.length; i++) {
|
|
10070
10557
|
const input_semanticCalculatedMeasurements_item = input_semanticCalculatedMeasurements[i];
|
|
10071
10558
|
let input_semanticCalculatedMeasurements_item_id = input_semanticCalculatedMeasurements_id + '__' + i;
|
|
10072
|
-
input_semanticCalculatedMeasurements[i] = ingest$
|
|
10559
|
+
input_semanticCalculatedMeasurements[i] = ingest$h(input_semanticCalculatedMeasurements_item, {
|
|
10073
10560
|
fullPath: input_semanticCalculatedMeasurements_item_id,
|
|
10074
10561
|
propertyName: i,
|
|
10075
10562
|
parent: {
|
|
@@ -10087,7 +10574,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
10087
10574
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
10088
10575
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
10089
10576
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
10090
|
-
input_semanticDataObjects[i] = ingest$
|
|
10577
|
+
input_semanticDataObjects[i] = ingest$g(input_semanticDataObjects_item, {
|
|
10091
10578
|
fullPath: input_semanticDataObjects_item_id,
|
|
10092
10579
|
propertyName: i,
|
|
10093
10580
|
parent: {
|
|
@@ -10105,7 +10592,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
10105
10592
|
for (let i = 0; i < input_semanticGroupings.length; i++) {
|
|
10106
10593
|
const input_semanticGroupings_item = input_semanticGroupings[i];
|
|
10107
10594
|
let input_semanticGroupings_item_id = input_semanticGroupings_id + '__' + i;
|
|
10108
|
-
input_semanticGroupings[i] = ingest$
|
|
10595
|
+
input_semanticGroupings[i] = ingest$f(input_semanticGroupings_item, {
|
|
10109
10596
|
fullPath: input_semanticGroupings_item_id,
|
|
10110
10597
|
propertyName: i,
|
|
10111
10598
|
parent: {
|
|
@@ -10123,7 +10610,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
10123
10610
|
for (let i = 0; i < input_semanticLogicalViews.length; i++) {
|
|
10124
10611
|
const input_semanticLogicalViews_item = input_semanticLogicalViews[i];
|
|
10125
10612
|
let input_semanticLogicalViews_item_id = input_semanticLogicalViews_id + '__' + i;
|
|
10126
|
-
input_semanticLogicalViews[i] = ingest$
|
|
10613
|
+
input_semanticLogicalViews[i] = ingest$b(input_semanticLogicalViews_item, {
|
|
10127
10614
|
fullPath: input_semanticLogicalViews_item_id,
|
|
10128
10615
|
propertyName: i,
|
|
10129
10616
|
parent: {
|
|
@@ -10141,7 +10628,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
10141
10628
|
for (let i = 0; i < input_semanticMetrics.length; i++) {
|
|
10142
10629
|
const input_semanticMetrics_item = input_semanticMetrics[i];
|
|
10143
10630
|
let input_semanticMetrics_item_id = input_semanticMetrics_id + '__' + i;
|
|
10144
|
-
input_semanticMetrics[i] = ingest$
|
|
10631
|
+
input_semanticMetrics[i] = ingest$a(input_semanticMetrics_item, {
|
|
10145
10632
|
fullPath: input_semanticMetrics_item_id,
|
|
10146
10633
|
propertyName: i,
|
|
10147
10634
|
parent: {
|
|
@@ -10153,6 +10640,24 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
10153
10640
|
}, luvio, store, timestamp);
|
|
10154
10641
|
}
|
|
10155
10642
|
}
|
|
10643
|
+
const input_semanticModelFilters = input.semanticModelFilters;
|
|
10644
|
+
const input_semanticModelFilters_id = path.fullPath + '__semanticModelFilters';
|
|
10645
|
+
if (input_semanticModelFilters !== undefined) {
|
|
10646
|
+
for (let i = 0; i < input_semanticModelFilters.length; i++) {
|
|
10647
|
+
const input_semanticModelFilters_item = input_semanticModelFilters[i];
|
|
10648
|
+
let input_semanticModelFilters_item_id = input_semanticModelFilters_id + '__' + i;
|
|
10649
|
+
input_semanticModelFilters[i] = ingest$9(input_semanticModelFilters_item, {
|
|
10650
|
+
fullPath: input_semanticModelFilters_item_id,
|
|
10651
|
+
propertyName: i,
|
|
10652
|
+
parent: {
|
|
10653
|
+
data: input,
|
|
10654
|
+
key: path.fullPath,
|
|
10655
|
+
existing: existing,
|
|
10656
|
+
},
|
|
10657
|
+
ttl: path.ttl
|
|
10658
|
+
}, luvio, store, timestamp);
|
|
10659
|
+
}
|
|
10660
|
+
}
|
|
10156
10661
|
const input_semanticParameters = input.semanticParameters;
|
|
10157
10662
|
const input_semanticParameters_id = path.fullPath + '__semanticParameters';
|
|
10158
10663
|
if (input_semanticParameters !== undefined) {
|
|
@@ -10177,7 +10682,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
10177
10682
|
for (let i = 0; i < input_semanticRelationships.length; i++) {
|
|
10178
10683
|
const input_semanticRelationships_item = input_semanticRelationships[i];
|
|
10179
10684
|
let input_semanticRelationships_item_id = input_semanticRelationships_id + '__' + i;
|
|
10180
|
-
input_semanticRelationships[i] = ingest$
|
|
10685
|
+
input_semanticRelationships[i] = ingest$e(input_semanticRelationships_item, {
|
|
10181
10686
|
fullPath: input_semanticRelationships_item_id,
|
|
10182
10687
|
propertyName: i,
|
|
10183
10688
|
parent: {
|
|
@@ -10192,9 +10697,9 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
10192
10697
|
return input;
|
|
10193
10698
|
}
|
|
10194
10699
|
const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
10195
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
10196
|
-
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$
|
|
10197
|
-
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$
|
|
10700
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$Q();
|
|
10701
|
+
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$O();
|
|
10702
|
+
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$N();
|
|
10198
10703
|
return {
|
|
10199
10704
|
kind: 'Fragment',
|
|
10200
10705
|
version: VERSION$8,
|
|
@@ -10307,7 +10812,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
10307
10812
|
kind: 'Link',
|
|
10308
10813
|
plural: true,
|
|
10309
10814
|
required: false,
|
|
10310
|
-
fragment: select$
|
|
10815
|
+
fragment: select$L()
|
|
10311
10816
|
},
|
|
10312
10817
|
{
|
|
10313
10818
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -10319,7 +10824,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
10319
10824
|
kind: 'Link',
|
|
10320
10825
|
plural: true,
|
|
10321
10826
|
required: false,
|
|
10322
|
-
fragment: select$
|
|
10827
|
+
fragment: select$K()
|
|
10323
10828
|
},
|
|
10324
10829
|
{
|
|
10325
10830
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -10331,7 +10836,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
10331
10836
|
kind: 'Link',
|
|
10332
10837
|
plural: true,
|
|
10333
10838
|
required: false,
|
|
10334
|
-
fragment: select$
|
|
10839
|
+
fragment: select$J()
|
|
10335
10840
|
},
|
|
10336
10841
|
{
|
|
10337
10842
|
name: 'semanticDataObjectsUrl',
|
|
@@ -10343,7 +10848,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
10343
10848
|
kind: 'Link',
|
|
10344
10849
|
plural: true,
|
|
10345
10850
|
required: false,
|
|
10346
|
-
fragment: select$
|
|
10851
|
+
fragment: select$C()
|
|
10347
10852
|
},
|
|
10348
10853
|
{
|
|
10349
10854
|
name: 'semanticGroupingsUrl',
|
|
@@ -10355,13 +10860,20 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
10355
10860
|
kind: 'Link',
|
|
10356
10861
|
plural: true,
|
|
10357
10862
|
required: false,
|
|
10358
|
-
fragment: select$
|
|
10863
|
+
fragment: select$x()
|
|
10359
10864
|
},
|
|
10360
10865
|
{
|
|
10361
10866
|
name: 'semanticMetrics',
|
|
10362
10867
|
kind: 'Link',
|
|
10363
10868
|
plural: true,
|
|
10364
10869
|
required: false,
|
|
10870
|
+
fragment: select$s()
|
|
10871
|
+
},
|
|
10872
|
+
{
|
|
10873
|
+
name: 'semanticModelFilters',
|
|
10874
|
+
kind: 'Link',
|
|
10875
|
+
plural: true,
|
|
10876
|
+
required: false,
|
|
10365
10877
|
fragment: select$r()
|
|
10366
10878
|
},
|
|
10367
10879
|
{
|
|
@@ -10381,7 +10893,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
10381
10893
|
kind: 'Link',
|
|
10382
10894
|
plural: true,
|
|
10383
10895
|
required: false,
|
|
10384
|
-
fragment: select$
|
|
10896
|
+
fragment: select$A()
|
|
10385
10897
|
},
|
|
10386
10898
|
{
|
|
10387
10899
|
name: 'semanticRelationshipsUrl',
|
|
@@ -10671,7 +11183,7 @@ function equals$8(existing, incoming) {
|
|
|
10671
11183
|
return false;
|
|
10672
11184
|
}
|
|
10673
11185
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
10674
|
-
if (!(equals$
|
|
11186
|
+
if (!(equals$A(existing_baseModels_item, incoming_baseModels_item))) {
|
|
10675
11187
|
return false;
|
|
10676
11188
|
}
|
|
10677
11189
|
});
|
|
@@ -10707,7 +11219,7 @@ function equals$8(existing, incoming) {
|
|
|
10707
11219
|
return false;
|
|
10708
11220
|
}
|
|
10709
11221
|
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
10710
|
-
if (!(equals$
|
|
11222
|
+
if (!(equals$y(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
10711
11223
|
return false;
|
|
10712
11224
|
}
|
|
10713
11225
|
});
|
|
@@ -10725,7 +11237,7 @@ function equals$8(existing, incoming) {
|
|
|
10725
11237
|
return false;
|
|
10726
11238
|
}
|
|
10727
11239
|
const equals_fieldsOverrides_items = equalsArray(existing_fieldsOverrides, incoming_fieldsOverrides, (existing_fieldsOverrides_item, incoming_fieldsOverrides_item) => {
|
|
10728
|
-
if (!(equals$
|
|
11240
|
+
if (!(equals$x(existing_fieldsOverrides_item, incoming_fieldsOverrides_item))) {
|
|
10729
11241
|
return false;
|
|
10730
11242
|
}
|
|
10731
11243
|
});
|
|
@@ -10854,6 +11366,24 @@ function equals$8(existing, incoming) {
|
|
|
10854
11366
|
return false;
|
|
10855
11367
|
}
|
|
10856
11368
|
}
|
|
11369
|
+
const existing_semanticModelFilters = existing.semanticModelFilters;
|
|
11370
|
+
const incoming_semanticModelFilters = incoming.semanticModelFilters;
|
|
11371
|
+
// if at least one of these optionals is defined
|
|
11372
|
+
if (existing_semanticModelFilters !== undefined || incoming_semanticModelFilters !== undefined) {
|
|
11373
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
11374
|
+
// not equal
|
|
11375
|
+
if (existing_semanticModelFilters === undefined || incoming_semanticModelFilters === undefined) {
|
|
11376
|
+
return false;
|
|
11377
|
+
}
|
|
11378
|
+
const equals_semanticModelFilters_items = equalsArray(existing_semanticModelFilters, incoming_semanticModelFilters, (existing_semanticModelFilters_item, incoming_semanticModelFilters_item) => {
|
|
11379
|
+
if (!(existing_semanticModelFilters_item.__ref === incoming_semanticModelFilters_item.__ref)) {
|
|
11380
|
+
return false;
|
|
11381
|
+
}
|
|
11382
|
+
});
|
|
11383
|
+
if (equals_semanticModelFilters_items === false) {
|
|
11384
|
+
return false;
|
|
11385
|
+
}
|
|
11386
|
+
}
|
|
10857
11387
|
const existing_semanticParameters = existing.semanticParameters;
|
|
10858
11388
|
const incoming_semanticParameters = incoming.semanticParameters;
|
|
10859
11389
|
// if at least one of these optionals is defined
|
|
@@ -10915,37 +11445,43 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10915
11445
|
if (input.semanticCalculatedDimensions !== undefined) {
|
|
10916
11446
|
const input_semanticCalculatedDimensions_length = input.semanticCalculatedDimensions.length;
|
|
10917
11447
|
for (let i = 0; i < input_semanticCalculatedDimensions_length; i++) {
|
|
10918
|
-
getTypeCacheKeys$
|
|
11448
|
+
getTypeCacheKeys$i(rootKeySet, luvio, input.semanticCalculatedDimensions[i]);
|
|
10919
11449
|
}
|
|
10920
11450
|
}
|
|
10921
11451
|
if (input.semanticCalculatedMeasurements !== undefined) {
|
|
10922
11452
|
const input_semanticCalculatedMeasurements_length = input.semanticCalculatedMeasurements.length;
|
|
10923
11453
|
for (let i = 0; i < input_semanticCalculatedMeasurements_length; i++) {
|
|
10924
|
-
getTypeCacheKeys$
|
|
11454
|
+
getTypeCacheKeys$h(rootKeySet, luvio, input.semanticCalculatedMeasurements[i]);
|
|
10925
11455
|
}
|
|
10926
11456
|
}
|
|
10927
11457
|
if (input.semanticDataObjects !== undefined) {
|
|
10928
11458
|
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
10929
11459
|
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
10930
|
-
getTypeCacheKeys$
|
|
11460
|
+
getTypeCacheKeys$g(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
10931
11461
|
}
|
|
10932
11462
|
}
|
|
10933
11463
|
if (input.semanticGroupings !== undefined) {
|
|
10934
11464
|
const input_semanticGroupings_length = input.semanticGroupings.length;
|
|
10935
11465
|
for (let i = 0; i < input_semanticGroupings_length; i++) {
|
|
10936
|
-
getTypeCacheKeys$
|
|
11466
|
+
getTypeCacheKeys$f(rootKeySet, luvio, input.semanticGroupings[i]);
|
|
10937
11467
|
}
|
|
10938
11468
|
}
|
|
10939
11469
|
if (input.semanticLogicalViews !== undefined) {
|
|
10940
11470
|
const input_semanticLogicalViews_length = input.semanticLogicalViews.length;
|
|
10941
11471
|
for (let i = 0; i < input_semanticLogicalViews_length; i++) {
|
|
10942
|
-
getTypeCacheKeys$
|
|
11472
|
+
getTypeCacheKeys$b(rootKeySet, luvio, input.semanticLogicalViews[i]);
|
|
10943
11473
|
}
|
|
10944
11474
|
}
|
|
10945
11475
|
if (input.semanticMetrics !== undefined) {
|
|
10946
11476
|
const input_semanticMetrics_length = input.semanticMetrics.length;
|
|
10947
11477
|
for (let i = 0; i < input_semanticMetrics_length; i++) {
|
|
10948
|
-
getTypeCacheKeys$
|
|
11478
|
+
getTypeCacheKeys$a(rootKeySet, luvio, input.semanticMetrics[i]);
|
|
11479
|
+
}
|
|
11480
|
+
}
|
|
11481
|
+
if (input.semanticModelFilters !== undefined) {
|
|
11482
|
+
const input_semanticModelFilters_length = input.semanticModelFilters.length;
|
|
11483
|
+
for (let i = 0; i < input_semanticModelFilters_length; i++) {
|
|
11484
|
+
getTypeCacheKeys$9(rootKeySet, luvio, input.semanticModelFilters[i]);
|
|
10949
11485
|
}
|
|
10950
11486
|
}
|
|
10951
11487
|
if (input.semanticParameters !== undefined) {
|
|
@@ -10957,7 +11493,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10957
11493
|
if (input.semanticRelationships !== undefined) {
|
|
10958
11494
|
const input_semanticRelationships_length = input.semanticRelationships.length;
|
|
10959
11495
|
for (let i = 0; i < input_semanticRelationships_length; i++) {
|
|
10960
|
-
getTypeCacheKeys$
|
|
11496
|
+
getTypeCacheKeys$e(rootKeySet, luvio, input.semanticRelationships[i]);
|
|
10961
11497
|
}
|
|
10962
11498
|
}
|
|
10963
11499
|
}
|
|
@@ -11019,6 +11555,7 @@ const createSemanticModel_ConfigPropertyMetadata = [
|
|
|
11019
11555
|
generateParamConfigMetadata('semanticGroupings', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11020
11556
|
generateParamConfigMetadata('semanticLogicalViews', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11021
11557
|
generateParamConfigMetadata('semanticMetrics', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11558
|
+
generateParamConfigMetadata('semanticModelFilter', false, 2 /* Body */, 4 /* Unsupported */),
|
|
11022
11559
|
generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11023
11560
|
generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11024
11561
|
];
|
|
@@ -11032,7 +11569,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
11032
11569
|
const untrustedConfig_baseModels_array = [];
|
|
11033
11570
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
11034
11571
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
11035
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
11572
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$18(untrustedConfig_baseModels_item);
|
|
11036
11573
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
11037
11574
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
11038
11575
|
}
|
|
@@ -11044,7 +11581,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
11044
11581
|
const untrustedConfig_externalConnections_array = [];
|
|
11045
11582
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
11046
11583
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
11047
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
11584
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$16(untrustedConfig_externalConnections_item);
|
|
11048
11585
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
11049
11586
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
11050
11587
|
}
|
|
@@ -11056,7 +11593,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
11056
11593
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
11057
11594
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
11058
11595
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
11059
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
11596
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$15(untrustedConfig_fieldsOverrides_item);
|
|
11060
11597
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
11061
11598
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
11062
11599
|
}
|
|
@@ -11068,7 +11605,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
11068
11605
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
11069
11606
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
11070
11607
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
11071
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
11608
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$13(untrustedConfig_semanticCalculatedDimensions_item);
|
|
11072
11609
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
11073
11610
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
11074
11611
|
}
|
|
@@ -11080,7 +11617,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
11080
11617
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
11081
11618
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
11082
11619
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
11083
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
11620
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$12(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
11084
11621
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
11085
11622
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
11086
11623
|
}
|
|
@@ -11092,7 +11629,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
11092
11629
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
11093
11630
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
11094
11631
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
11095
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate
|
|
11632
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$$(untrustedConfig_semanticDataObjects_item);
|
|
11096
11633
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
11097
11634
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
11098
11635
|
}
|
|
@@ -11104,7 +11641,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
11104
11641
|
const untrustedConfig_semanticGroupings_array = [];
|
|
11105
11642
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
11106
11643
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
11107
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
11644
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$U(untrustedConfig_semanticGroupings_item);
|
|
11108
11645
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
11109
11646
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
11110
11647
|
}
|
|
@@ -11116,7 +11653,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
11116
11653
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
11117
11654
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
11118
11655
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
11119
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
11656
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$P(untrustedConfig_semanticLogicalViews_item);
|
|
11120
11657
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
11121
11658
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
11122
11659
|
}
|
|
@@ -11128,19 +11665,24 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
11128
11665
|
const untrustedConfig_semanticMetrics_array = [];
|
|
11129
11666
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
11130
11667
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
11131
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
11668
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$K(untrustedConfig_semanticMetrics_item);
|
|
11132
11669
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
11133
11670
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
11134
11671
|
}
|
|
11135
11672
|
}
|
|
11136
11673
|
config.semanticMetrics = untrustedConfig_semanticMetrics_array;
|
|
11137
11674
|
}
|
|
11675
|
+
const untrustedConfig_semanticModelFilter = untrustedConfig.semanticModelFilter;
|
|
11676
|
+
const referenceSemanticModelFilterInputRepresentationValidationError = validate$J(untrustedConfig_semanticModelFilter);
|
|
11677
|
+
if (referenceSemanticModelFilterInputRepresentationValidationError === null) {
|
|
11678
|
+
config.semanticModelFilter = untrustedConfig_semanticModelFilter;
|
|
11679
|
+
}
|
|
11138
11680
|
const untrustedConfig_semanticParameters = untrustedConfig.semanticParameters;
|
|
11139
11681
|
if (ArrayIsArray$1(untrustedConfig_semanticParameters)) {
|
|
11140
11682
|
const untrustedConfig_semanticParameters_array = [];
|
|
11141
11683
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
11142
11684
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
11143
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
11685
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$I(untrustedConfig_semanticParameters_item);
|
|
11144
11686
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
11145
11687
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
11146
11688
|
}
|
|
@@ -11152,7 +11694,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
11152
11694
|
const untrustedConfig_semanticRelationships_array = [];
|
|
11153
11695
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
11154
11696
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
11155
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
11697
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$S(untrustedConfig_semanticRelationships_item);
|
|
11156
11698
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
11157
11699
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
11158
11700
|
}
|
|
@@ -11224,7 +11766,7 @@ function validate$c(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
11224
11766
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
11225
11767
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
11226
11768
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
11227
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
11769
|
+
const referencepath_statusConditions_itemValidationError = validate$1c(obj_statusConditions_item, path_statusConditions_item);
|
|
11228
11770
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
11229
11771
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionInputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
11230
11772
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11284,7 +11826,7 @@ function validate$a(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
11284
11826
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
11285
11827
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
11286
11828
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
11287
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
11829
|
+
const referencepath_statusConditions_itemValidationError = validate$1a(obj_statusConditions_item, path_statusConditions_item);
|
|
11288
11830
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
11289
11831
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
11290
11832
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11383,7 +11925,7 @@ function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
11383
11925
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
11384
11926
|
const obj_filters_item = obj_filters[i];
|
|
11385
11927
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
11386
|
-
const referencepath_filters_itemValidationError = validate$
|
|
11928
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
11387
11929
|
if (referencepath_filters_itemValidationError !== null) {
|
|
11388
11930
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
11389
11931
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11444,7 +11986,7 @@ function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
11444
11986
|
if (obj.semanticMetric !== undefined) {
|
|
11445
11987
|
const obj_semanticMetric = obj.semanticMetric;
|
|
11446
11988
|
const path_semanticMetric = path + '.semanticMetric';
|
|
11447
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
11989
|
+
const referencepath_semanticMetricValidationError = validate$h(obj_semanticMetric, path_semanticMetric);
|
|
11448
11990
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
11449
11991
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
11450
11992
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11572,7 +12114,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11572
12114
|
const untrustedConfig_filters_array = [];
|
|
11573
12115
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
11574
12116
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
11575
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
12117
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$14(untrustedConfig_filters_item);
|
|
11576
12118
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
11577
12119
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
11578
12120
|
}
|
|
@@ -11719,7 +12261,7 @@ const deleteGoalFromSubMetricAdapterFactory = (luvio) => {
|
|
|
11719
12261
|
};
|
|
11720
12262
|
|
|
11721
12263
|
function keyBuilder$n(luvio, params) {
|
|
11722
|
-
return keyBuilder$
|
|
12264
|
+
return keyBuilder$C(luvio, {
|
|
11723
12265
|
subMetricNameOrId: params.queryParams.subMetricApiNameOrId,
|
|
11724
12266
|
startDate: params.queryParams.startDate,
|
|
11725
12267
|
endDate: params.queryParams.endDate
|
|
@@ -11729,7 +12271,7 @@ function getResponseCacheKeys$f(cacheKeyMap, luvio, resourceParams) {
|
|
|
11729
12271
|
const key = keyBuilder$n(luvio, resourceParams);
|
|
11730
12272
|
cacheKeyMap.set(key, {
|
|
11731
12273
|
namespace: keyPrefix,
|
|
11732
|
-
representationName: RepresentationType$
|
|
12274
|
+
representationName: RepresentationType$j,
|
|
11733
12275
|
mergeable: false
|
|
11734
12276
|
});
|
|
11735
12277
|
}
|
|
@@ -12136,22 +12678,22 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
|
|
|
12136
12678
|
};
|
|
12137
12679
|
|
|
12138
12680
|
function select$i(luvio, params) {
|
|
12139
|
-
return select$
|
|
12681
|
+
return select$S();
|
|
12140
12682
|
}
|
|
12141
12683
|
function keyBuilder$j(luvio, params) {
|
|
12142
|
-
return keyBuilder$
|
|
12684
|
+
return keyBuilder$C(luvio, {
|
|
12143
12685
|
subMetricNameOrId: params.queryParams.subMetricApiNameOrId,
|
|
12144
12686
|
startDate: params.queryParams.startDate,
|
|
12145
12687
|
endDate: params.queryParams.endDate
|
|
12146
12688
|
});
|
|
12147
12689
|
}
|
|
12148
12690
|
function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
|
|
12149
|
-
getTypeCacheKeys$
|
|
12691
|
+
getTypeCacheKeys$j(storeKeyMap, luvio, response);
|
|
12150
12692
|
}
|
|
12151
12693
|
function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
|
|
12152
12694
|
const { body } = response;
|
|
12153
12695
|
const key = keyBuilder$j(luvio, resourceParams);
|
|
12154
|
-
luvio.storeIngest(key, ingest$
|
|
12696
|
+
luvio.storeIngest(key, ingest$j, body);
|
|
12155
12697
|
const snapshot = luvio.storeLookup({
|
|
12156
12698
|
recordId: key,
|
|
12157
12699
|
node: select$i(),
|
|
@@ -12285,7 +12827,7 @@ const getSemanticGoalAdapterFactory = (luvio) => function SemanticAuthoring__get
|
|
|
12285
12827
|
};
|
|
12286
12828
|
const notifyChangeFactory$3 = (luvio, options) => {
|
|
12287
12829
|
return function getSsotSemanticModelsGoalsByModelApiNameOrIdNotifyChange(configs) {
|
|
12288
|
-
const keys = configs.map(c => keyBuilder$
|
|
12830
|
+
const keys = configs.map(c => keyBuilder$C(luvio, c));
|
|
12289
12831
|
luvio.getNotifyChangeStoreEntries(keys).then(entries => {
|
|
12290
12832
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
12291
12833
|
const { key, record: val } = entries[i];
|
|
@@ -12294,11 +12836,11 @@ const notifyChangeFactory$3 = (luvio, options) => {
|
|
|
12294
12836
|
.then((response) => {
|
|
12295
12837
|
return luvio.handleSuccessResponse(() => {
|
|
12296
12838
|
const { body } = response;
|
|
12297
|
-
luvio.storeIngest(key, ingest$
|
|
12839
|
+
luvio.storeIngest(key, ingest$j, body);
|
|
12298
12840
|
return luvio.storeBroadcast();
|
|
12299
12841
|
}, () => {
|
|
12300
12842
|
const cache = new StoreKeyMap();
|
|
12301
|
-
getTypeCacheKeys$
|
|
12843
|
+
getTypeCacheKeys$j(cache, luvio, response.body);
|
|
12302
12844
|
return cache;
|
|
12303
12845
|
});
|
|
12304
12846
|
}, (error) => {
|
|
@@ -12314,20 +12856,20 @@ const notifyChangeFactory$3 = (luvio, options) => {
|
|
|
12314
12856
|
};
|
|
12315
12857
|
|
|
12316
12858
|
function select$h(luvio, params) {
|
|
12317
|
-
return select$
|
|
12859
|
+
return select$s();
|
|
12318
12860
|
}
|
|
12319
12861
|
function keyBuilder$h(luvio, params) {
|
|
12320
|
-
return keyBuilder$
|
|
12862
|
+
return keyBuilder$t(luvio, {
|
|
12321
12863
|
name: params.urlParams.metricNameOrId
|
|
12322
12864
|
});
|
|
12323
12865
|
}
|
|
12324
12866
|
function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
|
|
12325
|
-
getTypeCacheKeys$
|
|
12867
|
+
getTypeCacheKeys$a(storeKeyMap, luvio, response);
|
|
12326
12868
|
}
|
|
12327
12869
|
function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
|
|
12328
12870
|
const { body } = response;
|
|
12329
12871
|
const key = keyBuilder$h(luvio, resourceParams);
|
|
12330
|
-
luvio.storeIngest(key, ingest$
|
|
12872
|
+
luvio.storeIngest(key, ingest$a, body);
|
|
12331
12873
|
const snapshot = luvio.storeLookup({
|
|
12332
12874
|
recordId: key,
|
|
12333
12875
|
node: select$h(),
|
|
@@ -12456,7 +12998,7 @@ const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
12456
12998
|
};
|
|
12457
12999
|
const notifyChangeFactory$2 = (luvio, options) => {
|
|
12458
13000
|
return function getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrIdNotifyChange(configs) {
|
|
12459
|
-
const keys = configs.map(c => keyBuilder$
|
|
13001
|
+
const keys = configs.map(c => keyBuilder$t(luvio, c));
|
|
12460
13002
|
luvio.getNotifyChangeStoreEntries(keys).then(entries => {
|
|
12461
13003
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
12462
13004
|
const { key, record: val } = entries[i];
|
|
@@ -12465,11 +13007,11 @@ const notifyChangeFactory$2 = (luvio, options) => {
|
|
|
12465
13007
|
.then((response) => {
|
|
12466
13008
|
return luvio.handleSuccessResponse(() => {
|
|
12467
13009
|
const { body } = response;
|
|
12468
|
-
luvio.storeIngest(key, ingest$
|
|
13010
|
+
luvio.storeIngest(key, ingest$a, body);
|
|
12469
13011
|
return luvio.storeBroadcast();
|
|
12470
13012
|
}, () => {
|
|
12471
13013
|
const cache = new StoreKeyMap();
|
|
12472
|
-
getTypeCacheKeys$
|
|
13014
|
+
getTypeCacheKeys$a(cache, luvio, response.body);
|
|
12473
13015
|
return cache;
|
|
12474
13016
|
});
|
|
12475
13017
|
}, (error) => {
|
|
@@ -12515,7 +13057,7 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
|
12515
13057
|
for (let i = 0; i < input_metrics.length; i++) {
|
|
12516
13058
|
const input_metrics_item = input_metrics[i];
|
|
12517
13059
|
let input_metrics_item_id = input_metrics_id + '__' + i;
|
|
12518
|
-
input_metrics[i] = ingest$
|
|
13060
|
+
input_metrics[i] = ingest$a(input_metrics_item, {
|
|
12519
13061
|
fullPath: input_metrics_item_id,
|
|
12520
13062
|
propertyName: i,
|
|
12521
13063
|
parent: {
|
|
@@ -12540,7 +13082,7 @@ const select$g = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
|
12540
13082
|
kind: 'Link',
|
|
12541
13083
|
plural: true,
|
|
12542
13084
|
required: false,
|
|
12543
|
-
fragment: select$
|
|
13085
|
+
fragment: select$s()
|
|
12544
13086
|
}
|
|
12545
13087
|
]
|
|
12546
13088
|
};
|
|
@@ -12589,7 +13131,7 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12589
13131
|
if (input.metrics !== undefined) {
|
|
12590
13132
|
const input_metrics_length = input.metrics.length;
|
|
12591
13133
|
for (let i = 0; i < input_metrics_length; i++) {
|
|
12592
|
-
getTypeCacheKeys$
|
|
13134
|
+
getTypeCacheKeys$a(rootKeySet, luvio, input.metrics[i]);
|
|
12593
13135
|
}
|
|
12594
13136
|
}
|
|
12595
13137
|
}
|
|
@@ -13454,7 +13996,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
13454
13996
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
13455
13997
|
const obj_baseModels_item = obj_baseModels[i];
|
|
13456
13998
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
13457
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
13999
|
+
const referencepath_baseModels_itemValidationError = validate$H(obj_baseModels_item, path_baseModels_item);
|
|
13458
14000
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
13459
14001
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
13460
14002
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13640,7 +14182,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
13640
14182
|
return v_error === undefined ? null : v_error;
|
|
13641
14183
|
}
|
|
13642
14184
|
const select$9 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
13643
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
14185
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$Q();
|
|
13644
14186
|
return {
|
|
13645
14187
|
kind: 'Fragment',
|
|
13646
14188
|
version: VERSION$2,
|
|
@@ -14065,7 +14607,7 @@ function equals$2(existing, incoming) {
|
|
|
14065
14607
|
return false;
|
|
14066
14608
|
}
|
|
14067
14609
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
14068
|
-
if (!(equals$
|
|
14610
|
+
if (!(equals$A(existing_baseModels_item, incoming_baseModels_item))) {
|
|
14069
14611
|
return false;
|
|
14070
14612
|
}
|
|
14071
14613
|
});
|
|
@@ -15104,7 +15646,7 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
15104
15646
|
const untrustedConfig_statusConditions_array = [];
|
|
15105
15647
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
15106
15648
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
15107
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
15649
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$1c(untrustedConfig_statusConditions_item);
|
|
15108
15650
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
15109
15651
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
15110
15652
|
}
|
|
@@ -15213,6 +15755,7 @@ const patchSemanticModel_ConfigPropertyMetadata = [
|
|
|
15213
15755
|
generateParamConfigMetadata('semanticGroupings', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
15214
15756
|
generateParamConfigMetadata('semanticLogicalViews', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
15215
15757
|
generateParamConfigMetadata('semanticMetrics', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
15758
|
+
generateParamConfigMetadata('semanticModelFilter', false, 2 /* Body */, 4 /* Unsupported */),
|
|
15216
15759
|
generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
15217
15760
|
generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
15218
15761
|
];
|
|
@@ -15226,7 +15769,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15226
15769
|
const untrustedConfig_baseModels_array = [];
|
|
15227
15770
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
15228
15771
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
15229
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
15772
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$18(untrustedConfig_baseModels_item);
|
|
15230
15773
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
15231
15774
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
15232
15775
|
}
|
|
@@ -15238,7 +15781,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15238
15781
|
const untrustedConfig_externalConnections_array = [];
|
|
15239
15782
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
15240
15783
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
15241
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
15784
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$16(untrustedConfig_externalConnections_item);
|
|
15242
15785
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
15243
15786
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
15244
15787
|
}
|
|
@@ -15250,7 +15793,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15250
15793
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
15251
15794
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
15252
15795
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
15253
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
15796
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$15(untrustedConfig_fieldsOverrides_item);
|
|
15254
15797
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
15255
15798
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
15256
15799
|
}
|
|
@@ -15262,7 +15805,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15262
15805
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
15263
15806
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
15264
15807
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
15265
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
15808
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$13(untrustedConfig_semanticCalculatedDimensions_item);
|
|
15266
15809
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
15267
15810
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
15268
15811
|
}
|
|
@@ -15274,7 +15817,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15274
15817
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
15275
15818
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
15276
15819
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
15277
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
15820
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$12(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
15278
15821
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
15279
15822
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
15280
15823
|
}
|
|
@@ -15286,7 +15829,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15286
15829
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
15287
15830
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
15288
15831
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
15289
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate
|
|
15832
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$$(untrustedConfig_semanticDataObjects_item);
|
|
15290
15833
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
15291
15834
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
15292
15835
|
}
|
|
@@ -15298,7 +15841,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15298
15841
|
const untrustedConfig_semanticGroupings_array = [];
|
|
15299
15842
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
15300
15843
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
15301
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
15844
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$U(untrustedConfig_semanticGroupings_item);
|
|
15302
15845
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
15303
15846
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
15304
15847
|
}
|
|
@@ -15310,7 +15853,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15310
15853
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
15311
15854
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
15312
15855
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
15313
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
15856
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$P(untrustedConfig_semanticLogicalViews_item);
|
|
15314
15857
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
15315
15858
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
15316
15859
|
}
|
|
@@ -15322,19 +15865,24 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15322
15865
|
const untrustedConfig_semanticMetrics_array = [];
|
|
15323
15866
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
15324
15867
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
15325
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
15868
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$K(untrustedConfig_semanticMetrics_item);
|
|
15326
15869
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
15327
15870
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
15328
15871
|
}
|
|
15329
15872
|
}
|
|
15330
15873
|
config.semanticMetrics = untrustedConfig_semanticMetrics_array;
|
|
15331
15874
|
}
|
|
15875
|
+
const untrustedConfig_semanticModelFilter = untrustedConfig.semanticModelFilter;
|
|
15876
|
+
const referenceSemanticModelFilterInputRepresentationValidationError = validate$J(untrustedConfig_semanticModelFilter);
|
|
15877
|
+
if (referenceSemanticModelFilterInputRepresentationValidationError === null) {
|
|
15878
|
+
config.semanticModelFilter = untrustedConfig_semanticModelFilter;
|
|
15879
|
+
}
|
|
15332
15880
|
const untrustedConfig_semanticParameters = untrustedConfig.semanticParameters;
|
|
15333
15881
|
if (ArrayIsArray$1(untrustedConfig_semanticParameters)) {
|
|
15334
15882
|
const untrustedConfig_semanticParameters_array = [];
|
|
15335
15883
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
15336
15884
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
15337
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
15885
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$I(untrustedConfig_semanticParameters_item);
|
|
15338
15886
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
15339
15887
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
15340
15888
|
}
|
|
@@ -15346,7 +15894,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15346
15894
|
const untrustedConfig_semanticRelationships_array = [];
|
|
15347
15895
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
15348
15896
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
15349
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
15897
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$S(untrustedConfig_semanticRelationships_item);
|
|
15350
15898
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
15351
15899
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
15352
15900
|
}
|
|
@@ -15398,15 +15946,15 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
15398
15946
|
};
|
|
15399
15947
|
|
|
15400
15948
|
function select(luvio, params) {
|
|
15401
|
-
return select$
|
|
15949
|
+
return select$S();
|
|
15402
15950
|
}
|
|
15403
15951
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
15404
|
-
getTypeCacheKeys$
|
|
15952
|
+
getTypeCacheKeys$j(storeKeyMap, luvio, response);
|
|
15405
15953
|
}
|
|
15406
15954
|
function ingestSuccess(luvio, resourceParams, response) {
|
|
15407
15955
|
const { body } = response;
|
|
15408
|
-
const key = keyBuilderFromType$
|
|
15409
|
-
luvio.storeIngest(key, ingest$
|
|
15956
|
+
const key = keyBuilderFromType$d(luvio, body);
|
|
15957
|
+
luvio.storeIngest(key, ingest$j, body);
|
|
15410
15958
|
const snapshot = luvio.storeLookup({
|
|
15411
15959
|
recordId: key,
|
|
15412
15960
|
node: select(),
|
|
@@ -15454,7 +16002,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
15454
16002
|
const config = {};
|
|
15455
16003
|
typeCheckConfig$k(untrustedConfig, config, updateSemanticGoal_ConfigPropertyMetadata);
|
|
15456
16004
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
15457
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
16005
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$1d(untrustedConfig_dateRange);
|
|
15458
16006
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
15459
16007
|
config.dateRange = untrustedConfig_dateRange;
|
|
15460
16008
|
}
|
|
@@ -15463,7 +16011,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
15463
16011
|
const untrustedConfig_statusConditions_array = [];
|
|
15464
16012
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
15465
16013
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
15466
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
16014
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$1c(untrustedConfig_statusConditions_item);
|
|
15467
16015
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
15468
16016
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
15469
16017
|
}
|
|
@@ -15679,4 +16227,4 @@ withDefaultLuvio((luvio) => {
|
|
|
15679
16227
|
});
|
|
15680
16228
|
|
|
15681
16229
|
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 };
|
|
15682
|
-
// version: 1.
|
|
16230
|
+
// version: 1.393.0-94e6d2aef3
|