@salesforce/lds-adapters-cdp-semantic-authoring 1.380.0-dev2 → 1.380.0-dev22
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 +1334 -672
- 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/SemanticCalculatedDimensionOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticGroupingOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +4 -1
- 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/dist/es/es2018/types/src/generated/types/SemanticParameterOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +1330 -668
- package/src/raml/api.raml +206 -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 + '")');
|
|
@@ -2880,6 +2948,13 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2880
2948
|
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
2881
2949
|
}
|
|
2882
2950
|
}
|
|
2951
|
+
if (obj.externalDataType !== undefined) {
|
|
2952
|
+
const obj_externalDataType = obj.externalDataType;
|
|
2953
|
+
const path_externalDataType = path + '.externalDataType';
|
|
2954
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
2955
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
2956
|
+
}
|
|
2957
|
+
}
|
|
2883
2958
|
if (obj.externalStorageName !== undefined) {
|
|
2884
2959
|
const obj_externalStorageName = obj.externalStorageName;
|
|
2885
2960
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -2903,7 +2978,7 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2903
2978
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2904
2979
|
const obj_filters_item = obj_filters[i];
|
|
2905
2980
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2906
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2981
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
2907
2982
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2908
2983
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
2909
2984
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3003,24 +3078,24 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
3003
3078
|
})();
|
|
3004
3079
|
return v_error === undefined ? null : v_error;
|
|
3005
3080
|
}
|
|
3006
|
-
const RepresentationType$
|
|
3007
|
-
function keyBuilder$
|
|
3008
|
-
return keyPrefix + '::' + RepresentationType$
|
|
3081
|
+
const RepresentationType$i = 'SemanticCalculatedDimensionOutputRepresentation';
|
|
3082
|
+
function keyBuilder$B(luvio, config) {
|
|
3083
|
+
return keyPrefix + '::' + RepresentationType$i + ':' + config.name;
|
|
3009
3084
|
}
|
|
3010
|
-
function keyBuilderFromType$
|
|
3085
|
+
function keyBuilderFromType$c(luvio, object) {
|
|
3011
3086
|
const keyParams = {
|
|
3012
3087
|
name: object.id
|
|
3013
3088
|
};
|
|
3014
|
-
return keyBuilder$
|
|
3089
|
+
return keyBuilder$B(luvio, keyParams);
|
|
3015
3090
|
}
|
|
3016
|
-
function normalize$
|
|
3091
|
+
function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
3017
3092
|
return input;
|
|
3018
3093
|
}
|
|
3019
|
-
const select$
|
|
3020
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
3094
|
+
const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
3095
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$M();
|
|
3021
3096
|
return {
|
|
3022
3097
|
kind: 'Fragment',
|
|
3023
|
-
version: VERSION$
|
|
3098
|
+
version: VERSION$v,
|
|
3024
3099
|
private: [],
|
|
3025
3100
|
selections: [
|
|
3026
3101
|
{
|
|
@@ -3075,6 +3150,11 @@ const select$K = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
3075
3150
|
kind: 'Scalar',
|
|
3076
3151
|
required: false
|
|
3077
3152
|
},
|
|
3153
|
+
{
|
|
3154
|
+
name: 'externalDataType',
|
|
3155
|
+
kind: 'Scalar',
|
|
3156
|
+
required: false
|
|
3157
|
+
},
|
|
3078
3158
|
{
|
|
3079
3159
|
name: 'externalStorageName',
|
|
3080
3160
|
kind: 'Scalar',
|
|
@@ -3159,7 +3239,7 @@ const select$K = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
3159
3239
|
]
|
|
3160
3240
|
};
|
|
3161
3241
|
};
|
|
3162
|
-
function equals$
|
|
3242
|
+
function equals$v(existing, incoming) {
|
|
3163
3243
|
const existing_isOverrideBase = existing.isOverrideBase;
|
|
3164
3244
|
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
3165
3245
|
// if at least one of these optionals is defined
|
|
@@ -3331,6 +3411,19 @@ function equals$u(existing, incoming) {
|
|
|
3331
3411
|
return false;
|
|
3332
3412
|
}
|
|
3333
3413
|
}
|
|
3414
|
+
const existing_externalDataType = existing.externalDataType;
|
|
3415
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
3416
|
+
// if at least one of these optionals is defined
|
|
3417
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
3418
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3419
|
+
// not equal
|
|
3420
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
3421
|
+
return false;
|
|
3422
|
+
}
|
|
3423
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
3424
|
+
return false;
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3334
3427
|
const existing_externalStorageName = existing.externalStorageName;
|
|
3335
3428
|
const incoming_externalStorageName = incoming.externalStorageName;
|
|
3336
3429
|
// if at least one of these optionals is defined
|
|
@@ -3476,7 +3569,7 @@ function equals$u(existing, incoming) {
|
|
|
3476
3569
|
return false;
|
|
3477
3570
|
}
|
|
3478
3571
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
3479
|
-
if (!(equals$
|
|
3572
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
3480
3573
|
return false;
|
|
3481
3574
|
}
|
|
3482
3575
|
});
|
|
@@ -3486,30 +3579,30 @@ function equals$u(existing, incoming) {
|
|
|
3486
3579
|
}
|
|
3487
3580
|
return true;
|
|
3488
3581
|
}
|
|
3489
|
-
const ingest$
|
|
3582
|
+
const ingest$i = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3490
3583
|
if (process.env.NODE_ENV !== 'production') {
|
|
3491
|
-
const validateError = validate$
|
|
3584
|
+
const validateError = validate$C(input);
|
|
3492
3585
|
if (validateError !== null) {
|
|
3493
3586
|
throw validateError;
|
|
3494
3587
|
}
|
|
3495
3588
|
}
|
|
3496
|
-
const key = keyBuilderFromType$
|
|
3589
|
+
const key = keyBuilderFromType$c(luvio, input);
|
|
3497
3590
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
3498
|
-
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);
|
|
3499
3592
|
return createLink(key);
|
|
3500
3593
|
};
|
|
3501
|
-
function getTypeCacheKeys$
|
|
3594
|
+
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
3502
3595
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
3503
|
-
const rootKey = keyBuilderFromType$
|
|
3596
|
+
const rootKey = keyBuilderFromType$c(luvio, input);
|
|
3504
3597
|
rootKeySet.set(rootKey, {
|
|
3505
3598
|
namespace: keyPrefix,
|
|
3506
|
-
representationName: RepresentationType$
|
|
3599
|
+
representationName: RepresentationType$i,
|
|
3507
3600
|
mergeable: false
|
|
3508
3601
|
});
|
|
3509
3602
|
}
|
|
3510
3603
|
|
|
3511
|
-
const VERSION$
|
|
3512
|
-
function validate$
|
|
3604
|
+
const VERSION$u = "65b35c82c52febf0709785df41c57ac3";
|
|
3605
|
+
function validate$B(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
3513
3606
|
const v_error = (() => {
|
|
3514
3607
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3515
3608
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3599,6 +3692,13 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3599
3692
|
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
3600
3693
|
}
|
|
3601
3694
|
}
|
|
3695
|
+
if (obj.externalDataType !== undefined) {
|
|
3696
|
+
const obj_externalDataType = obj.externalDataType;
|
|
3697
|
+
const path_externalDataType = path + '.externalDataType';
|
|
3698
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
3699
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
3700
|
+
}
|
|
3701
|
+
}
|
|
3602
3702
|
if (obj.externalStorageName !== undefined) {
|
|
3603
3703
|
const obj_externalStorageName = obj.externalStorageName;
|
|
3604
3704
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -3622,7 +3722,7 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3622
3722
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3623
3723
|
const obj_filters_item = obj_filters[i];
|
|
3624
3724
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3625
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3725
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
3626
3726
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3627
3727
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
3628
3728
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3750,24 +3850,24 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3750
3850
|
})();
|
|
3751
3851
|
return v_error === undefined ? null : v_error;
|
|
3752
3852
|
}
|
|
3753
|
-
const RepresentationType$
|
|
3754
|
-
function keyBuilder$
|
|
3755
|
-
return keyPrefix + '::' + RepresentationType$
|
|
3853
|
+
const RepresentationType$h = 'SemanticCalculatedMeasurementOutputRepresentation';
|
|
3854
|
+
function keyBuilder$A(luvio, config) {
|
|
3855
|
+
return keyPrefix + '::' + RepresentationType$h + ':' + config.name;
|
|
3756
3856
|
}
|
|
3757
|
-
function keyBuilderFromType$
|
|
3857
|
+
function keyBuilderFromType$b(luvio, object) {
|
|
3758
3858
|
const keyParams = {
|
|
3759
3859
|
name: object.id
|
|
3760
3860
|
};
|
|
3761
|
-
return keyBuilder$
|
|
3861
|
+
return keyBuilder$A(luvio, keyParams);
|
|
3762
3862
|
}
|
|
3763
|
-
function normalize$
|
|
3863
|
+
function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
3764
3864
|
return input;
|
|
3765
3865
|
}
|
|
3766
|
-
const select$
|
|
3767
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
3866
|
+
const select$K = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
3867
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$M();
|
|
3768
3868
|
return {
|
|
3769
3869
|
kind: 'Fragment',
|
|
3770
|
-
version: VERSION$
|
|
3870
|
+
version: VERSION$u,
|
|
3771
3871
|
private: [],
|
|
3772
3872
|
selections: [
|
|
3773
3873
|
{
|
|
@@ -3832,6 +3932,11 @@ const select$J = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3832
3932
|
kind: 'Scalar',
|
|
3833
3933
|
required: false
|
|
3834
3934
|
},
|
|
3935
|
+
{
|
|
3936
|
+
name: 'externalDataType',
|
|
3937
|
+
kind: 'Scalar',
|
|
3938
|
+
required: false
|
|
3939
|
+
},
|
|
3835
3940
|
{
|
|
3836
3941
|
name: 'externalStorageName',
|
|
3837
3942
|
kind: 'Scalar',
|
|
@@ -3936,7 +4041,7 @@ const select$J = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3936
4041
|
]
|
|
3937
4042
|
};
|
|
3938
4043
|
};
|
|
3939
|
-
function equals$
|
|
4044
|
+
function equals$u(existing, incoming) {
|
|
3940
4045
|
const existing_isAggregatable = existing.isAggregatable;
|
|
3941
4046
|
const incoming_isAggregatable = incoming.isAggregatable;
|
|
3942
4047
|
// if at least one of these optionals is defined
|
|
@@ -4160,6 +4265,19 @@ function equals$t(existing, incoming) {
|
|
|
4160
4265
|
return false;
|
|
4161
4266
|
}
|
|
4162
4267
|
}
|
|
4268
|
+
const existing_externalDataType = existing.externalDataType;
|
|
4269
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
4270
|
+
// if at least one of these optionals is defined
|
|
4271
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
4272
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4273
|
+
// not equal
|
|
4274
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
4275
|
+
return false;
|
|
4276
|
+
}
|
|
4277
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
4278
|
+
return false;
|
|
4279
|
+
}
|
|
4280
|
+
}
|
|
4163
4281
|
const existing_externalStorageName = existing.externalStorageName;
|
|
4164
4282
|
const incoming_externalStorageName = incoming.externalStorageName;
|
|
4165
4283
|
// if at least one of these optionals is defined
|
|
@@ -4331,7 +4449,7 @@ function equals$t(existing, incoming) {
|
|
|
4331
4449
|
return false;
|
|
4332
4450
|
}
|
|
4333
4451
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
4334
|
-
if (!(equals$
|
|
4452
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
4335
4453
|
return false;
|
|
4336
4454
|
}
|
|
4337
4455
|
});
|
|
@@ -4341,29 +4459,29 @@ function equals$t(existing, incoming) {
|
|
|
4341
4459
|
}
|
|
4342
4460
|
return true;
|
|
4343
4461
|
}
|
|
4344
|
-
const ingest$
|
|
4462
|
+
const ingest$h = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4345
4463
|
if (process.env.NODE_ENV !== 'production') {
|
|
4346
|
-
const validateError = validate$
|
|
4464
|
+
const validateError = validate$B(input);
|
|
4347
4465
|
if (validateError !== null) {
|
|
4348
4466
|
throw validateError;
|
|
4349
4467
|
}
|
|
4350
4468
|
}
|
|
4351
|
-
const key = keyBuilderFromType$
|
|
4469
|
+
const key = keyBuilderFromType$b(luvio, input);
|
|
4352
4470
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4353
|
-
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);
|
|
4354
4472
|
return createLink(key);
|
|
4355
4473
|
};
|
|
4356
|
-
function getTypeCacheKeys$
|
|
4474
|
+
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
4357
4475
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
4358
|
-
const rootKey = keyBuilderFromType$
|
|
4476
|
+
const rootKey = keyBuilderFromType$b(luvio, input);
|
|
4359
4477
|
rootKeySet.set(rootKey, {
|
|
4360
4478
|
namespace: keyPrefix,
|
|
4361
|
-
representationName: RepresentationType$
|
|
4479
|
+
representationName: RepresentationType$h,
|
|
4362
4480
|
mergeable: false
|
|
4363
4481
|
});
|
|
4364
4482
|
}
|
|
4365
4483
|
|
|
4366
|
-
function validate$
|
|
4484
|
+
function validate$A(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
4367
4485
|
const v_error = (() => {
|
|
4368
4486
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4369
4487
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4432,6 +4550,13 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
4432
4550
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
4433
4551
|
}
|
|
4434
4552
|
}
|
|
4553
|
+
if (obj.externalDataType !== undefined) {
|
|
4554
|
+
const obj_externalDataType = obj.externalDataType;
|
|
4555
|
+
const path_externalDataType = path + '.externalDataType';
|
|
4556
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
4557
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
4558
|
+
}
|
|
4559
|
+
}
|
|
4435
4560
|
if (obj.externalStorageName !== undefined) {
|
|
4436
4561
|
const obj_externalStorageName = obj.externalStorageName;
|
|
4437
4562
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -4539,7 +4664,7 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
4539
4664
|
return v_error === undefined ? null : v_error;
|
|
4540
4665
|
}
|
|
4541
4666
|
|
|
4542
|
-
function validate$
|
|
4667
|
+
function validate$z(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
4543
4668
|
const v_error = (() => {
|
|
4544
4669
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4545
4670
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4622,6 +4747,13 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4622
4747
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
4623
4748
|
}
|
|
4624
4749
|
}
|
|
4750
|
+
if (obj.externalDataType !== undefined) {
|
|
4751
|
+
const obj_externalDataType = obj.externalDataType;
|
|
4752
|
+
const path_externalDataType = path + '.externalDataType';
|
|
4753
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
4754
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
4755
|
+
}
|
|
4756
|
+
}
|
|
4625
4757
|
if (obj.externalStorageName !== undefined) {
|
|
4626
4758
|
const obj_externalStorageName = obj.externalStorageName;
|
|
4627
4759
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -4750,8 +4882,8 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4750
4882
|
return v_error === undefined ? null : v_error;
|
|
4751
4883
|
}
|
|
4752
4884
|
|
|
4753
|
-
const VERSION$
|
|
4754
|
-
function validate$
|
|
4885
|
+
const VERSION$t = "7804fea5e1a3894ad9c1e89a2ce17ab9";
|
|
4886
|
+
function validate$y(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
4755
4887
|
const v_error = (() => {
|
|
4756
4888
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4757
4889
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4829,7 +4961,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4829
4961
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4830
4962
|
const obj_filters_item = obj_filters[i];
|
|
4831
4963
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4832
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4964
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
4833
4965
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4834
4966
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4835
4967
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4900,7 +5032,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4900
5032
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
4901
5033
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
4902
5034
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
4903
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
5035
|
+
const referencepath_semanticDimensions_itemValidationError = validate$A(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
4904
5036
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
4905
5037
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
4906
5038
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4924,7 +5056,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4924
5056
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
4925
5057
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
4926
5058
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
4927
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
5059
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$z(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
4928
5060
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
4929
5061
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
4930
5062
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4963,57 +5095,57 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4963
5095
|
})();
|
|
4964
5096
|
return v_error === undefined ? null : v_error;
|
|
4965
5097
|
}
|
|
4966
|
-
const RepresentationType$
|
|
4967
|
-
function keyBuilder$
|
|
4968
|
-
return keyPrefix + '::' + RepresentationType$
|
|
5098
|
+
const RepresentationType$g = 'SemanticDataObjectOutputRepresentation';
|
|
5099
|
+
function keyBuilder$z(luvio, config) {
|
|
5100
|
+
return keyPrefix + '::' + RepresentationType$g + ':' + config.name;
|
|
4969
5101
|
}
|
|
4970
|
-
function keyBuilderFromType$
|
|
5102
|
+
function keyBuilderFromType$a(luvio, object) {
|
|
4971
5103
|
const keyParams = {
|
|
4972
5104
|
name: object.id
|
|
4973
5105
|
};
|
|
4974
|
-
return keyBuilder$
|
|
5106
|
+
return keyBuilder$z(luvio, keyParams);
|
|
4975
5107
|
}
|
|
4976
|
-
function normalize$
|
|
5108
|
+
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
4977
5109
|
return input;
|
|
4978
5110
|
}
|
|
4979
|
-
const select$
|
|
5111
|
+
const select$J = function SemanticDataObjectOutputRepresentationSelect() {
|
|
4980
5112
|
return {
|
|
4981
5113
|
kind: 'Fragment',
|
|
4982
|
-
version: VERSION$
|
|
5114
|
+
version: VERSION$t,
|
|
4983
5115
|
private: [],
|
|
4984
5116
|
opaque: true
|
|
4985
5117
|
};
|
|
4986
5118
|
};
|
|
4987
|
-
function equals$
|
|
5119
|
+
function equals$t(existing, incoming) {
|
|
4988
5120
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
4989
5121
|
return false;
|
|
4990
5122
|
}
|
|
4991
5123
|
return true;
|
|
4992
5124
|
}
|
|
4993
|
-
const ingest$
|
|
5125
|
+
const ingest$g = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4994
5126
|
if (process.env.NODE_ENV !== 'production') {
|
|
4995
|
-
const validateError = validate$
|
|
5127
|
+
const validateError = validate$y(input);
|
|
4996
5128
|
if (validateError !== null) {
|
|
4997
5129
|
throw validateError;
|
|
4998
5130
|
}
|
|
4999
5131
|
}
|
|
5000
|
-
const key = keyBuilderFromType$
|
|
5132
|
+
const key = keyBuilderFromType$a(luvio, input);
|
|
5001
5133
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5002
|
-
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);
|
|
5003
5135
|
return createLink(key);
|
|
5004
5136
|
};
|
|
5005
|
-
function getTypeCacheKeys$
|
|
5137
|
+
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
5006
5138
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
5007
|
-
const rootKey = keyBuilderFromType$
|
|
5139
|
+
const rootKey = keyBuilderFromType$a(luvio, input);
|
|
5008
5140
|
rootKeySet.set(rootKey, {
|
|
5009
5141
|
namespace: keyPrefix,
|
|
5010
|
-
representationName: RepresentationType$
|
|
5142
|
+
representationName: RepresentationType$g,
|
|
5011
5143
|
mergeable: false
|
|
5012
5144
|
});
|
|
5013
5145
|
}
|
|
5014
5146
|
|
|
5015
|
-
const VERSION$
|
|
5016
|
-
function validate$
|
|
5147
|
+
const VERSION$s = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
5148
|
+
function validate$x(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
5017
5149
|
const v_error = (() => {
|
|
5018
5150
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5019
5151
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5022,10 +5154,10 @@ function validate$w(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
5022
5154
|
})();
|
|
5023
5155
|
return v_error === undefined ? null : v_error;
|
|
5024
5156
|
}
|
|
5025
|
-
const select$
|
|
5157
|
+
const select$I = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
5026
5158
|
return {
|
|
5027
5159
|
kind: 'Fragment',
|
|
5028
|
-
version: VERSION$
|
|
5160
|
+
version: VERSION$s,
|
|
5029
5161
|
private: [],
|
|
5030
5162
|
selections: [
|
|
5031
5163
|
{
|
|
@@ -5035,7 +5167,7 @@ const select$H = function BinDimensionConfigurationOutputRepresentationSelect()
|
|
|
5035
5167
|
]
|
|
5036
5168
|
};
|
|
5037
5169
|
};
|
|
5038
|
-
function equals$
|
|
5170
|
+
function equals$s(existing, incoming) {
|
|
5039
5171
|
const existing_constantBinSize = existing.constantBinSize;
|
|
5040
5172
|
const incoming_constantBinSize = incoming.constantBinSize;
|
|
5041
5173
|
if (!(existing_constantBinSize === incoming_constantBinSize)) {
|
|
@@ -5044,8 +5176,8 @@ function equals$r(existing, incoming) {
|
|
|
5044
5176
|
return true;
|
|
5045
5177
|
}
|
|
5046
5178
|
|
|
5047
|
-
const VERSION$
|
|
5048
|
-
function validate$
|
|
5179
|
+
const VERSION$r = "2cdadcd630abb7b981b2d131880a68c0";
|
|
5180
|
+
function validate$w(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
5049
5181
|
const v_error = (() => {
|
|
5050
5182
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5051
5183
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5072,10 +5204,10 @@ function validate$v(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
5072
5204
|
})();
|
|
5073
5205
|
return v_error === undefined ? null : v_error;
|
|
5074
5206
|
}
|
|
5075
|
-
const select$
|
|
5207
|
+
const select$H = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
5076
5208
|
return {
|
|
5077
5209
|
kind: 'Fragment',
|
|
5078
|
-
version: VERSION$
|
|
5210
|
+
version: VERSION$r,
|
|
5079
5211
|
private: [],
|
|
5080
5212
|
selections: [
|
|
5081
5213
|
{
|
|
@@ -5091,7 +5223,7 @@ const select$G = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
|
5091
5223
|
]
|
|
5092
5224
|
};
|
|
5093
5225
|
};
|
|
5094
|
-
function equals$
|
|
5226
|
+
function equals$r(existing, incoming) {
|
|
5095
5227
|
const existing_name = existing.name;
|
|
5096
5228
|
const incoming_name = incoming.name;
|
|
5097
5229
|
if (!(existing_name === incoming_name)) {
|
|
@@ -5118,8 +5250,8 @@ function equals$q(existing, incoming) {
|
|
|
5118
5250
|
return true;
|
|
5119
5251
|
}
|
|
5120
5252
|
|
|
5121
|
-
const VERSION$
|
|
5122
|
-
function validate$
|
|
5253
|
+
const VERSION$q = "55c60b6207985632192cb4e419822a86";
|
|
5254
|
+
function validate$v(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
5123
5255
|
const v_error = (() => {
|
|
5124
5256
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5125
5257
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5133,7 +5265,7 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
5133
5265
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
5134
5266
|
const obj_groups_item = obj_groups[i];
|
|
5135
5267
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
5136
|
-
const referencepath_groups_itemValidationError = validate$
|
|
5268
|
+
const referencepath_groups_itemValidationError = validate$w(obj_groups_item, path_groups_item);
|
|
5137
5269
|
if (referencepath_groups_itemValidationError !== null) {
|
|
5138
5270
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
5139
5271
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5151,11 +5283,11 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
5151
5283
|
})();
|
|
5152
5284
|
return v_error === undefined ? null : v_error;
|
|
5153
5285
|
}
|
|
5154
|
-
const select$
|
|
5155
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
5286
|
+
const select$G = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
5287
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$H();
|
|
5156
5288
|
return {
|
|
5157
5289
|
kind: 'Fragment',
|
|
5158
|
-
version: VERSION$
|
|
5290
|
+
version: VERSION$q,
|
|
5159
5291
|
private: [],
|
|
5160
5292
|
selections: [
|
|
5161
5293
|
{
|
|
@@ -5173,7 +5305,7 @@ const select$F = function GroupDimensionConfigurationOutputRepresentationSelect(
|
|
|
5173
5305
|
]
|
|
5174
5306
|
};
|
|
5175
5307
|
};
|
|
5176
|
-
function equals$
|
|
5308
|
+
function equals$q(existing, incoming) {
|
|
5177
5309
|
const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
|
|
5178
5310
|
const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
|
|
5179
5311
|
// if at least one of these optionals is defined
|
|
@@ -5197,7 +5329,7 @@ function equals$p(existing, incoming) {
|
|
|
5197
5329
|
return false;
|
|
5198
5330
|
}
|
|
5199
5331
|
const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
|
|
5200
|
-
if (!(equals$
|
|
5332
|
+
if (!(equals$r(existing_groups_item, incoming_groups_item))) {
|
|
5201
5333
|
return false;
|
|
5202
5334
|
}
|
|
5203
5335
|
});
|
|
@@ -5208,8 +5340,8 @@ function equals$p(existing, incoming) {
|
|
|
5208
5340
|
return true;
|
|
5209
5341
|
}
|
|
5210
5342
|
|
|
5211
|
-
const VERSION$
|
|
5212
|
-
function validate$
|
|
5343
|
+
const VERSION$p = "50dc390b159159afb1945b9a811c9f80";
|
|
5344
|
+
function validate$u(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
5213
5345
|
const v_error = (() => {
|
|
5214
5346
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5215
5347
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5217,7 +5349,7 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5217
5349
|
if (obj.binDimension !== undefined) {
|
|
5218
5350
|
const obj_binDimension = obj.binDimension;
|
|
5219
5351
|
const path_binDimension = path + '.binDimension';
|
|
5220
|
-
const referencepath_binDimensionValidationError = validate$
|
|
5352
|
+
const referencepath_binDimensionValidationError = validate$x(obj_binDimension, path_binDimension);
|
|
5221
5353
|
if (referencepath_binDimensionValidationError !== null) {
|
|
5222
5354
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
5223
5355
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5227,7 +5359,7 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5227
5359
|
if (obj.groupDimension !== undefined) {
|
|
5228
5360
|
const obj_groupDimension = obj.groupDimension;
|
|
5229
5361
|
const path_groupDimension = path + '.groupDimension';
|
|
5230
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
5362
|
+
const referencepath_groupDimensionValidationError = validate$v(obj_groupDimension, path_groupDimension);
|
|
5231
5363
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
5232
5364
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
5233
5365
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5237,12 +5369,12 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5237
5369
|
})();
|
|
5238
5370
|
return v_error === undefined ? null : v_error;
|
|
5239
5371
|
}
|
|
5240
|
-
const select$
|
|
5241
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
5242
|
-
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();
|
|
5243
5375
|
return {
|
|
5244
5376
|
kind: 'Fragment',
|
|
5245
|
-
version: VERSION$
|
|
5377
|
+
version: VERSION$p,
|
|
5246
5378
|
private: [],
|
|
5247
5379
|
selections: [
|
|
5248
5380
|
{
|
|
@@ -5260,7 +5392,7 @@ const select$E = function SemanticGroupingConfigurationOutputRepresentationSelec
|
|
|
5260
5392
|
]
|
|
5261
5393
|
};
|
|
5262
5394
|
};
|
|
5263
|
-
function equals$
|
|
5395
|
+
function equals$p(existing, incoming) {
|
|
5264
5396
|
const existing_binDimension = existing.binDimension;
|
|
5265
5397
|
const incoming_binDimension = incoming.binDimension;
|
|
5266
5398
|
// if at least one of these optionals is defined
|
|
@@ -5270,7 +5402,7 @@ function equals$o(existing, incoming) {
|
|
|
5270
5402
|
if (existing_binDimension === undefined || incoming_binDimension === undefined) {
|
|
5271
5403
|
return false;
|
|
5272
5404
|
}
|
|
5273
|
-
if (!(equals$
|
|
5405
|
+
if (!(equals$s(existing_binDimension, incoming_binDimension))) {
|
|
5274
5406
|
return false;
|
|
5275
5407
|
}
|
|
5276
5408
|
}
|
|
@@ -5283,15 +5415,15 @@ function equals$o(existing, incoming) {
|
|
|
5283
5415
|
if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
|
|
5284
5416
|
return false;
|
|
5285
5417
|
}
|
|
5286
|
-
if (!(equals$
|
|
5418
|
+
if (!(equals$q(existing_groupDimension, incoming_groupDimension))) {
|
|
5287
5419
|
return false;
|
|
5288
5420
|
}
|
|
5289
5421
|
}
|
|
5290
5422
|
return true;
|
|
5291
5423
|
}
|
|
5292
5424
|
|
|
5293
|
-
const VERSION$
|
|
5294
|
-
function validate$
|
|
5425
|
+
const VERSION$o = "a2976cd68e629a917463a3b690cf2527";
|
|
5426
|
+
function validate$t(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
5295
5427
|
const v_error = (() => {
|
|
5296
5428
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5297
5429
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5313,10 +5445,10 @@ function validate$s(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
|
|
|
5313
5445
|
})();
|
|
5314
5446
|
return v_error === undefined ? null : v_error;
|
|
5315
5447
|
}
|
|
5316
|
-
const select$
|
|
5448
|
+
const select$E = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
5317
5449
|
return {
|
|
5318
5450
|
kind: 'Fragment',
|
|
5319
|
-
version: VERSION$
|
|
5451
|
+
version: VERSION$o,
|
|
5320
5452
|
private: [],
|
|
5321
5453
|
selections: [
|
|
5322
5454
|
{
|
|
@@ -5332,7 +5464,7 @@ const select$D = function SemanticTableFieldReferenceOutputRepresentationSelect(
|
|
|
5332
5464
|
]
|
|
5333
5465
|
};
|
|
5334
5466
|
};
|
|
5335
|
-
function equals$
|
|
5467
|
+
function equals$o(existing, incoming) {
|
|
5336
5468
|
const existing_fieldApiName = existing.fieldApiName;
|
|
5337
5469
|
const incoming_fieldApiName = incoming.fieldApiName;
|
|
5338
5470
|
// if at least one of these optionals is defined
|
|
@@ -5362,8 +5494,8 @@ function equals$n(existing, incoming) {
|
|
|
5362
5494
|
return true;
|
|
5363
5495
|
}
|
|
5364
5496
|
|
|
5365
|
-
const VERSION$
|
|
5366
|
-
function validate$
|
|
5497
|
+
const VERSION$n = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
5498
|
+
function validate$s(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
5367
5499
|
const v_error = (() => {
|
|
5368
5500
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5369
5501
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5378,7 +5510,7 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
5378
5510
|
if (obj.tableFieldReference !== undefined) {
|
|
5379
5511
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
5380
5512
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
5381
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
5513
|
+
const referencepath_tableFieldReferenceValidationError = validate$t(obj_tableFieldReference, path_tableFieldReference);
|
|
5382
5514
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
5383
5515
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
5384
5516
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5388,11 +5520,11 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
5388
5520
|
})();
|
|
5389
5521
|
return v_error === undefined ? null : v_error;
|
|
5390
5522
|
}
|
|
5391
|
-
const select$
|
|
5392
|
-
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$
|
|
5523
|
+
const select$D = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
5524
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$E();
|
|
5393
5525
|
return {
|
|
5394
5526
|
kind: 'Fragment',
|
|
5395
|
-
version: VERSION$
|
|
5527
|
+
version: VERSION$n,
|
|
5396
5528
|
private: [],
|
|
5397
5529
|
selections: [
|
|
5398
5530
|
{
|
|
@@ -5409,7 +5541,7 @@ const select$C = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
|
5409
5541
|
]
|
|
5410
5542
|
};
|
|
5411
5543
|
};
|
|
5412
|
-
function equals$
|
|
5544
|
+
function equals$n(existing, incoming) {
|
|
5413
5545
|
const existing_calculatedFieldApiName = existing.calculatedFieldApiName;
|
|
5414
5546
|
const incoming_calculatedFieldApiName = incoming.calculatedFieldApiName;
|
|
5415
5547
|
// if at least one of these optionals is defined
|
|
@@ -5432,15 +5564,15 @@ function equals$m(existing, incoming) {
|
|
|
5432
5564
|
if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
|
|
5433
5565
|
return false;
|
|
5434
5566
|
}
|
|
5435
|
-
if (!(equals$
|
|
5567
|
+
if (!(equals$o(existing_tableFieldReference, incoming_tableFieldReference))) {
|
|
5436
5568
|
return false;
|
|
5437
5569
|
}
|
|
5438
5570
|
}
|
|
5439
5571
|
return true;
|
|
5440
5572
|
}
|
|
5441
5573
|
|
|
5442
|
-
const VERSION$
|
|
5443
|
-
function validate$
|
|
5574
|
+
const VERSION$m = "781f9dcf8c74d2f32cce84d91cf9e6af";
|
|
5575
|
+
function validate$r(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
5444
5576
|
const v_error = (() => {
|
|
5445
5577
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5446
5578
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5466,7 +5598,7 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5466
5598
|
}
|
|
5467
5599
|
const obj_configuration = obj.configuration;
|
|
5468
5600
|
const path_configuration = path + '.configuration';
|
|
5469
|
-
const referencepath_configurationValidationError = validate$
|
|
5601
|
+
const referencepath_configurationValidationError = validate$u(obj_configuration, path_configuration);
|
|
5470
5602
|
if (referencepath_configurationValidationError !== null) {
|
|
5471
5603
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
5472
5604
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5489,9 +5621,16 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5489
5621
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
5490
5622
|
}
|
|
5491
5623
|
}
|
|
5624
|
+
if (obj.externalDataType !== undefined) {
|
|
5625
|
+
const obj_externalDataType = obj.externalDataType;
|
|
5626
|
+
const path_externalDataType = path + '.externalDataType';
|
|
5627
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
5628
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
5629
|
+
}
|
|
5630
|
+
}
|
|
5492
5631
|
const obj_fieldReference = obj.fieldReference;
|
|
5493
5632
|
const path_fieldReference = path + '.fieldReference';
|
|
5494
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
5633
|
+
const referencepath_fieldReferenceValidationError = validate$s(obj_fieldReference, path_fieldReference);
|
|
5495
5634
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
5496
5635
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
5497
5636
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5552,25 +5691,25 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5552
5691
|
})();
|
|
5553
5692
|
return v_error === undefined ? null : v_error;
|
|
5554
5693
|
}
|
|
5555
|
-
const RepresentationType$
|
|
5556
|
-
function keyBuilder$
|
|
5557
|
-
return keyPrefix + '::' + RepresentationType$
|
|
5694
|
+
const RepresentationType$f = 'SemanticGroupingOutputRepresentation';
|
|
5695
|
+
function keyBuilder$y(luvio, config) {
|
|
5696
|
+
return keyPrefix + '::' + RepresentationType$f + ':' + config.name;
|
|
5558
5697
|
}
|
|
5559
|
-
function keyBuilderFromType$
|
|
5698
|
+
function keyBuilderFromType$9(luvio, object) {
|
|
5560
5699
|
const keyParams = {
|
|
5561
5700
|
name: object.id
|
|
5562
5701
|
};
|
|
5563
|
-
return keyBuilder$
|
|
5702
|
+
return keyBuilder$y(luvio, keyParams);
|
|
5564
5703
|
}
|
|
5565
|
-
function normalize$
|
|
5704
|
+
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
5566
5705
|
return input;
|
|
5567
5706
|
}
|
|
5568
|
-
const select$
|
|
5569
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
5570
|
-
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();
|
|
5571
5710
|
return {
|
|
5572
5711
|
kind: 'Fragment',
|
|
5573
|
-
version: VERSION$
|
|
5712
|
+
version: VERSION$m,
|
|
5574
5713
|
private: [],
|
|
5575
5714
|
selections: [
|
|
5576
5715
|
{
|
|
@@ -5605,6 +5744,11 @@ const select$B = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
5605
5744
|
kind: 'Scalar',
|
|
5606
5745
|
required: false
|
|
5607
5746
|
},
|
|
5747
|
+
{
|
|
5748
|
+
name: 'externalDataType',
|
|
5749
|
+
kind: 'Scalar',
|
|
5750
|
+
required: false
|
|
5751
|
+
},
|
|
5608
5752
|
{
|
|
5609
5753
|
name: 'fieldReference',
|
|
5610
5754
|
kind: 'Object',
|
|
@@ -5651,7 +5795,7 @@ const select$B = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
5651
5795
|
]
|
|
5652
5796
|
};
|
|
5653
5797
|
};
|
|
5654
|
-
function equals$
|
|
5798
|
+
function equals$m(existing, incoming) {
|
|
5655
5799
|
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
5656
5800
|
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
5657
5801
|
// if at least one of these optionals is defined
|
|
@@ -5732,6 +5876,19 @@ function equals$l(existing, incoming) {
|
|
|
5732
5876
|
return false;
|
|
5733
5877
|
}
|
|
5734
5878
|
}
|
|
5879
|
+
const existing_externalDataType = existing.externalDataType;
|
|
5880
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
5881
|
+
// if at least one of these optionals is defined
|
|
5882
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
5883
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5884
|
+
// not equal
|
|
5885
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
5886
|
+
return false;
|
|
5887
|
+
}
|
|
5888
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
5889
|
+
return false;
|
|
5890
|
+
}
|
|
5891
|
+
}
|
|
5735
5892
|
const existing_id = existing.id;
|
|
5736
5893
|
const incoming_id = incoming.id;
|
|
5737
5894
|
if (!(existing_id === incoming_id)) {
|
|
@@ -5796,40 +5953,40 @@ function equals$l(existing, incoming) {
|
|
|
5796
5953
|
}
|
|
5797
5954
|
const existing_configuration = existing.configuration;
|
|
5798
5955
|
const incoming_configuration = incoming.configuration;
|
|
5799
|
-
if (!(equals$
|
|
5956
|
+
if (!(equals$p(existing_configuration, incoming_configuration))) {
|
|
5800
5957
|
return false;
|
|
5801
5958
|
}
|
|
5802
5959
|
const existing_fieldReference = existing.fieldReference;
|
|
5803
5960
|
const incoming_fieldReference = incoming.fieldReference;
|
|
5804
|
-
if (!(equals$
|
|
5961
|
+
if (!(equals$n(existing_fieldReference, incoming_fieldReference))) {
|
|
5805
5962
|
return false;
|
|
5806
5963
|
}
|
|
5807
5964
|
return true;
|
|
5808
5965
|
}
|
|
5809
|
-
const ingest$
|
|
5966
|
+
const ingest$f = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5810
5967
|
if (process.env.NODE_ENV !== 'production') {
|
|
5811
|
-
const validateError = validate$
|
|
5968
|
+
const validateError = validate$r(input);
|
|
5812
5969
|
if (validateError !== null) {
|
|
5813
5970
|
throw validateError;
|
|
5814
5971
|
}
|
|
5815
5972
|
}
|
|
5816
|
-
const key = keyBuilderFromType$
|
|
5973
|
+
const key = keyBuilderFromType$9(luvio, input);
|
|
5817
5974
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5818
|
-
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);
|
|
5819
5976
|
return createLink(key);
|
|
5820
5977
|
};
|
|
5821
|
-
function getTypeCacheKeys$
|
|
5978
|
+
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
5822
5979
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
5823
|
-
const rootKey = keyBuilderFromType$
|
|
5980
|
+
const rootKey = keyBuilderFromType$9(luvio, input);
|
|
5824
5981
|
rootKeySet.set(rootKey, {
|
|
5825
5982
|
namespace: keyPrefix,
|
|
5826
|
-
representationName: RepresentationType$
|
|
5983
|
+
representationName: RepresentationType$f,
|
|
5827
5984
|
mergeable: false
|
|
5828
5985
|
});
|
|
5829
5986
|
}
|
|
5830
5987
|
|
|
5831
|
-
const VERSION$
|
|
5832
|
-
function validate$
|
|
5988
|
+
const VERSION$l = "c5144c317ac72b60d580cab803514b8d";
|
|
5989
|
+
function validate$q(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
5833
5990
|
const v_error = (() => {
|
|
5834
5991
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5835
5992
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5872,10 +6029,10 @@ function validate$p(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
5872
6029
|
})();
|
|
5873
6030
|
return v_error === undefined ? null : v_error;
|
|
5874
6031
|
}
|
|
5875
|
-
const select$
|
|
6032
|
+
const select$B = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
5876
6033
|
return {
|
|
5877
6034
|
kind: 'Fragment',
|
|
5878
|
-
version: VERSION$
|
|
6035
|
+
version: VERSION$l,
|
|
5879
6036
|
private: [],
|
|
5880
6037
|
selections: [
|
|
5881
6038
|
{
|
|
@@ -5906,7 +6063,7 @@ const select$A = function SemanticRelationshipCriteriaOutputRepresentationSelect
|
|
|
5906
6063
|
]
|
|
5907
6064
|
};
|
|
5908
6065
|
};
|
|
5909
|
-
function equals$
|
|
6066
|
+
function equals$l(existing, incoming) {
|
|
5910
6067
|
const existing_joinOperator = existing.joinOperator;
|
|
5911
6068
|
const incoming_joinOperator = incoming.joinOperator;
|
|
5912
6069
|
// if at least one of these optionals is defined
|
|
@@ -5975,8 +6132,8 @@ function equals$k(existing, incoming) {
|
|
|
5975
6132
|
return true;
|
|
5976
6133
|
}
|
|
5977
6134
|
|
|
5978
|
-
const VERSION$
|
|
5979
|
-
function validate$
|
|
6135
|
+
const VERSION$k = "b54e564b71d26e8ac89b5649db876f6f";
|
|
6136
|
+
function validate$p(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
5980
6137
|
const v_error = (() => {
|
|
5981
6138
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5982
6139
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6026,7 +6183,7 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
6026
6183
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
6027
6184
|
const obj_criteria_item = obj_criteria[i];
|
|
6028
6185
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
6029
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
6186
|
+
const referencepath_criteria_itemValidationError = validate$q(obj_criteria_item, path_criteria_item);
|
|
6030
6187
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
6031
6188
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
6032
6189
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6126,24 +6283,24 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
6126
6283
|
})();
|
|
6127
6284
|
return v_error === undefined ? null : v_error;
|
|
6128
6285
|
}
|
|
6129
|
-
const RepresentationType$
|
|
6130
|
-
function keyBuilder$
|
|
6131
|
-
return keyPrefix + '::' + RepresentationType$
|
|
6286
|
+
const RepresentationType$e = 'SemanticRelationshipOutputRepresentation';
|
|
6287
|
+
function keyBuilder$x(luvio, config) {
|
|
6288
|
+
return keyPrefix + '::' + RepresentationType$e + ':' + config.name;
|
|
6132
6289
|
}
|
|
6133
|
-
function keyBuilderFromType$
|
|
6290
|
+
function keyBuilderFromType$8(luvio, object) {
|
|
6134
6291
|
const keyParams = {
|
|
6135
6292
|
name: object.id
|
|
6136
6293
|
};
|
|
6137
|
-
return keyBuilder$
|
|
6294
|
+
return keyBuilder$x(luvio, keyParams);
|
|
6138
6295
|
}
|
|
6139
|
-
function normalize$
|
|
6296
|
+
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
6140
6297
|
return input;
|
|
6141
6298
|
}
|
|
6142
|
-
const select$
|
|
6143
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
6299
|
+
const select$A = function SemanticRelationshipOutputRepresentationSelect() {
|
|
6300
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$B();
|
|
6144
6301
|
return {
|
|
6145
6302
|
kind: 'Fragment',
|
|
6146
|
-
version: VERSION$
|
|
6303
|
+
version: VERSION$k,
|
|
6147
6304
|
private: [],
|
|
6148
6305
|
selections: [
|
|
6149
6306
|
{
|
|
@@ -6247,7 +6404,7 @@ const select$z = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
6247
6404
|
]
|
|
6248
6405
|
};
|
|
6249
6406
|
};
|
|
6250
|
-
function equals$
|
|
6407
|
+
function equals$k(existing, incoming) {
|
|
6251
6408
|
const existing_isEnabled = existing.isEnabled;
|
|
6252
6409
|
const incoming_isEnabled = incoming.isEnabled;
|
|
6253
6410
|
// if at least one of these optionals is defined
|
|
@@ -6473,7 +6630,7 @@ function equals$j(existing, incoming) {
|
|
|
6473
6630
|
return false;
|
|
6474
6631
|
}
|
|
6475
6632
|
const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
|
|
6476
|
-
if (!(equals$
|
|
6633
|
+
if (!(equals$l(existing_criteria_item, incoming_criteria_item))) {
|
|
6477
6634
|
return false;
|
|
6478
6635
|
}
|
|
6479
6636
|
});
|
|
@@ -6483,30 +6640,30 @@ function equals$j(existing, incoming) {
|
|
|
6483
6640
|
}
|
|
6484
6641
|
return true;
|
|
6485
6642
|
}
|
|
6486
|
-
const ingest$
|
|
6643
|
+
const ingest$e = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6487
6644
|
if (process.env.NODE_ENV !== 'production') {
|
|
6488
|
-
const validateError = validate$
|
|
6645
|
+
const validateError = validate$p(input);
|
|
6489
6646
|
if (validateError !== null) {
|
|
6490
6647
|
throw validateError;
|
|
6491
6648
|
}
|
|
6492
6649
|
}
|
|
6493
|
-
const key = keyBuilderFromType$
|
|
6650
|
+
const key = keyBuilderFromType$8(luvio, input);
|
|
6494
6651
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6495
|
-
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);
|
|
6496
6653
|
return createLink(key);
|
|
6497
6654
|
};
|
|
6498
|
-
function getTypeCacheKeys$
|
|
6655
|
+
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
6499
6656
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
6500
|
-
const rootKey = keyBuilderFromType$
|
|
6657
|
+
const rootKey = keyBuilderFromType$8(luvio, input);
|
|
6501
6658
|
rootKeySet.set(rootKey, {
|
|
6502
6659
|
namespace: keyPrefix,
|
|
6503
|
-
representationName: RepresentationType$
|
|
6660
|
+
representationName: RepresentationType$e,
|
|
6504
6661
|
mergeable: false
|
|
6505
6662
|
});
|
|
6506
6663
|
}
|
|
6507
6664
|
|
|
6508
|
-
const VERSION$
|
|
6509
|
-
function validate$
|
|
6665
|
+
const VERSION$j = "35088fced8f6d5a9595954736caf0ea9";
|
|
6666
|
+
function validate$o(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
6510
6667
|
const v_error = (() => {
|
|
6511
6668
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6512
6669
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6556,7 +6713,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6556
6713
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
6557
6714
|
const obj_fields_item = obj_fields[i];
|
|
6558
6715
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
6559
|
-
const referencepath_fields_itemValidationError = validate$
|
|
6716
|
+
const referencepath_fields_itemValidationError = validate$t(obj_fields_item, path_fields_item);
|
|
6560
6717
|
if (referencepath_fields_itemValidationError !== null) {
|
|
6561
6718
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
6562
6719
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6614,7 +6771,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6614
6771
|
if (obj.semanticDimension !== undefined) {
|
|
6615
6772
|
const obj_semanticDimension = obj.semanticDimension;
|
|
6616
6773
|
const path_semanticDimension = path + '.semanticDimension';
|
|
6617
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
6774
|
+
const referencepath_semanticDimensionValidationError = validate$A(obj_semanticDimension, path_semanticDimension);
|
|
6618
6775
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
6619
6776
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
6620
6777
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6624,7 +6781,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6624
6781
|
if (obj.semanticMeasurement !== undefined) {
|
|
6625
6782
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
6626
6783
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
6627
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
6784
|
+
const referencepath_semanticMeasurementValidationError = validate$z(obj_semanticMeasurement, path_semanticMeasurement);
|
|
6628
6785
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
6629
6786
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
6630
6787
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6641,57 +6798,57 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6641
6798
|
})();
|
|
6642
6799
|
return v_error === undefined ? null : v_error;
|
|
6643
6800
|
}
|
|
6644
|
-
const RepresentationType$
|
|
6645
|
-
function keyBuilder$
|
|
6646
|
-
return keyPrefix + '::' + RepresentationType$
|
|
6801
|
+
const RepresentationType$d = 'SemanticMappedFieldOutputRepresentation';
|
|
6802
|
+
function keyBuilder$w(luvio, config) {
|
|
6803
|
+
return keyPrefix + '::' + RepresentationType$d + ':' + config.name;
|
|
6647
6804
|
}
|
|
6648
|
-
function keyBuilderFromType$
|
|
6805
|
+
function keyBuilderFromType$7(luvio, object) {
|
|
6649
6806
|
const keyParams = {
|
|
6650
6807
|
name: object.id
|
|
6651
6808
|
};
|
|
6652
|
-
return keyBuilder$
|
|
6809
|
+
return keyBuilder$w(luvio, keyParams);
|
|
6653
6810
|
}
|
|
6654
|
-
function normalize$
|
|
6811
|
+
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
6655
6812
|
return input;
|
|
6656
6813
|
}
|
|
6657
|
-
const select$
|
|
6814
|
+
const select$z = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
6658
6815
|
return {
|
|
6659
6816
|
kind: 'Fragment',
|
|
6660
|
-
version: VERSION$
|
|
6817
|
+
version: VERSION$j,
|
|
6661
6818
|
private: [],
|
|
6662
6819
|
opaque: true
|
|
6663
6820
|
};
|
|
6664
6821
|
};
|
|
6665
|
-
function equals$
|
|
6822
|
+
function equals$j(existing, incoming) {
|
|
6666
6823
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
6667
6824
|
return false;
|
|
6668
6825
|
}
|
|
6669
6826
|
return true;
|
|
6670
6827
|
}
|
|
6671
|
-
const ingest$
|
|
6828
|
+
const ingest$d = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6672
6829
|
if (process.env.NODE_ENV !== 'production') {
|
|
6673
|
-
const validateError = validate$
|
|
6830
|
+
const validateError = validate$o(input);
|
|
6674
6831
|
if (validateError !== null) {
|
|
6675
6832
|
throw validateError;
|
|
6676
6833
|
}
|
|
6677
6834
|
}
|
|
6678
|
-
const key = keyBuilderFromType$
|
|
6835
|
+
const key = keyBuilderFromType$7(luvio, input);
|
|
6679
6836
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6680
|
-
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);
|
|
6681
6838
|
return createLink(key);
|
|
6682
6839
|
};
|
|
6683
|
-
function getTypeCacheKeys$
|
|
6840
|
+
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
6684
6841
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
6685
|
-
const rootKey = keyBuilderFromType$
|
|
6842
|
+
const rootKey = keyBuilderFromType$7(luvio, input);
|
|
6686
6843
|
rootKeySet.set(rootKey, {
|
|
6687
6844
|
namespace: keyPrefix,
|
|
6688
|
-
representationName: RepresentationType$
|
|
6845
|
+
representationName: RepresentationType$d,
|
|
6689
6846
|
mergeable: false
|
|
6690
6847
|
});
|
|
6691
6848
|
}
|
|
6692
6849
|
|
|
6693
|
-
const VERSION$
|
|
6694
|
-
function validate$
|
|
6850
|
+
const VERSION$i = "98b8b40b3bc74aaa0644e303d378db60";
|
|
6851
|
+
function validate$n(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
6695
6852
|
const v_error = (() => {
|
|
6696
6853
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6697
6854
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6824,24 +6981,24 @@ function validate$m(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
|
6824
6981
|
})();
|
|
6825
6982
|
return v_error === undefined ? null : v_error;
|
|
6826
6983
|
}
|
|
6827
|
-
const RepresentationType$
|
|
6828
|
-
function keyBuilder$
|
|
6829
|
-
return keyPrefix + '::' + RepresentationType$
|
|
6984
|
+
const RepresentationType$c = 'SemanticUnionOutputRepresentation';
|
|
6985
|
+
function keyBuilder$v(luvio, config) {
|
|
6986
|
+
return keyPrefix + '::' + RepresentationType$c + ':' + config.name;
|
|
6830
6987
|
}
|
|
6831
|
-
function keyBuilderFromType$
|
|
6988
|
+
function keyBuilderFromType$6(luvio, object) {
|
|
6832
6989
|
const keyParams = {
|
|
6833
6990
|
name: object.id
|
|
6834
6991
|
};
|
|
6835
|
-
return keyBuilder$
|
|
6992
|
+
return keyBuilder$v(luvio, keyParams);
|
|
6836
6993
|
}
|
|
6837
|
-
function normalize$
|
|
6994
|
+
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
6838
6995
|
const input_semanticDataObjects = input.semanticDataObjects;
|
|
6839
6996
|
const input_semanticDataObjects_id = path.fullPath + '__semanticDataObjects';
|
|
6840
6997
|
if (input_semanticDataObjects !== undefined) {
|
|
6841
6998
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
6842
6999
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
6843
7000
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
6844
|
-
input_semanticDataObjects[i] = ingest$
|
|
7001
|
+
input_semanticDataObjects[i] = ingest$g(input_semanticDataObjects_item, {
|
|
6845
7002
|
fullPath: input_semanticDataObjects_item_id,
|
|
6846
7003
|
propertyName: i,
|
|
6847
7004
|
parent: {
|
|
@@ -6859,7 +7016,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
|
6859
7016
|
for (let i = 0; i < input_semanticMappedFields.length; i++) {
|
|
6860
7017
|
const input_semanticMappedFields_item = input_semanticMappedFields[i];
|
|
6861
7018
|
let input_semanticMappedFields_item_id = input_semanticMappedFields_id + '__' + i;
|
|
6862
|
-
input_semanticMappedFields[i] = ingest$
|
|
7019
|
+
input_semanticMappedFields[i] = ingest$d(input_semanticMappedFields_item, {
|
|
6863
7020
|
fullPath: input_semanticMappedFields_item_id,
|
|
6864
7021
|
propertyName: i,
|
|
6865
7022
|
parent: {
|
|
@@ -6873,10 +7030,10 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
|
6873
7030
|
}
|
|
6874
7031
|
return input;
|
|
6875
7032
|
}
|
|
6876
|
-
const select$
|
|
7033
|
+
const select$y = function SemanticUnionOutputRepresentationSelect() {
|
|
6877
7034
|
return {
|
|
6878
7035
|
kind: 'Fragment',
|
|
6879
|
-
version: VERSION$
|
|
7036
|
+
version: VERSION$i,
|
|
6880
7037
|
private: [],
|
|
6881
7038
|
selections: [
|
|
6882
7039
|
{
|
|
@@ -6940,19 +7097,19 @@ const select$x = function SemanticUnionOutputRepresentationSelect() {
|
|
|
6940
7097
|
kind: 'Link',
|
|
6941
7098
|
plural: true,
|
|
6942
7099
|
required: false,
|
|
6943
|
-
fragment: select$
|
|
7100
|
+
fragment: select$J()
|
|
6944
7101
|
},
|
|
6945
7102
|
{
|
|
6946
7103
|
name: 'semanticMappedFields',
|
|
6947
7104
|
kind: 'Link',
|
|
6948
7105
|
plural: true,
|
|
6949
7106
|
required: false,
|
|
6950
|
-
fragment: select$
|
|
7107
|
+
fragment: select$z()
|
|
6951
7108
|
}
|
|
6952
7109
|
]
|
|
6953
7110
|
};
|
|
6954
7111
|
};
|
|
6955
|
-
function equals$
|
|
7112
|
+
function equals$i(existing, incoming) {
|
|
6956
7113
|
const existing_apiName = existing.apiName;
|
|
6957
7114
|
const incoming_apiName = incoming.apiName;
|
|
6958
7115
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -7115,42 +7272,42 @@ function equals$h(existing, incoming) {
|
|
|
7115
7272
|
}
|
|
7116
7273
|
return true;
|
|
7117
7274
|
}
|
|
7118
|
-
const ingest$
|
|
7275
|
+
const ingest$c = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7119
7276
|
if (process.env.NODE_ENV !== 'production') {
|
|
7120
|
-
const validateError = validate$
|
|
7277
|
+
const validateError = validate$n(input);
|
|
7121
7278
|
if (validateError !== null) {
|
|
7122
7279
|
throw validateError;
|
|
7123
7280
|
}
|
|
7124
7281
|
}
|
|
7125
|
-
const key = keyBuilderFromType$
|
|
7282
|
+
const key = keyBuilderFromType$6(luvio, input);
|
|
7126
7283
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7127
|
-
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);
|
|
7128
7285
|
return createLink(key);
|
|
7129
7286
|
};
|
|
7130
|
-
function getTypeCacheKeys$
|
|
7287
|
+
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
7131
7288
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
7132
|
-
const rootKey = keyBuilderFromType$
|
|
7289
|
+
const rootKey = keyBuilderFromType$6(luvio, input);
|
|
7133
7290
|
rootKeySet.set(rootKey, {
|
|
7134
7291
|
namespace: keyPrefix,
|
|
7135
|
-
representationName: RepresentationType$
|
|
7292
|
+
representationName: RepresentationType$c,
|
|
7136
7293
|
mergeable: false
|
|
7137
7294
|
});
|
|
7138
7295
|
if (input.semanticDataObjects !== undefined) {
|
|
7139
7296
|
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
7140
7297
|
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
7141
|
-
getTypeCacheKeys$
|
|
7298
|
+
getTypeCacheKeys$g(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
7142
7299
|
}
|
|
7143
7300
|
}
|
|
7144
7301
|
if (input.semanticMappedFields !== undefined) {
|
|
7145
7302
|
const input_semanticMappedFields_length = input.semanticMappedFields.length;
|
|
7146
7303
|
for (let i = 0; i < input_semanticMappedFields_length; i++) {
|
|
7147
|
-
getTypeCacheKeys$
|
|
7304
|
+
getTypeCacheKeys$d(rootKeySet, luvio, input.semanticMappedFields[i]);
|
|
7148
7305
|
}
|
|
7149
7306
|
}
|
|
7150
7307
|
}
|
|
7151
7308
|
|
|
7152
|
-
const VERSION$
|
|
7153
|
-
function validate$
|
|
7309
|
+
const VERSION$h = "deed87abd43631c27a6067ac00a1a018";
|
|
7310
|
+
function validate$m(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
7154
7311
|
const v_error = (() => {
|
|
7155
7312
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7156
7313
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7214,7 +7371,7 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7214
7371
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7215
7372
|
const obj_filters_item = obj_filters[i];
|
|
7216
7373
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7217
|
-
const referencepath_filters_itemValidationError = validate$
|
|
7374
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
7218
7375
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7219
7376
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7220
7377
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7335,24 +7492,24 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7335
7492
|
})();
|
|
7336
7493
|
return v_error === undefined ? null : v_error;
|
|
7337
7494
|
}
|
|
7338
|
-
const RepresentationType$
|
|
7339
|
-
function keyBuilder$
|
|
7340
|
-
return keyPrefix + '::' + RepresentationType$
|
|
7495
|
+
const RepresentationType$b = 'SemanticLogicalViewOutputRepresentation';
|
|
7496
|
+
function keyBuilder$u(luvio, config) {
|
|
7497
|
+
return keyPrefix + '::' + RepresentationType$b + ':' + config.name;
|
|
7341
7498
|
}
|
|
7342
|
-
function keyBuilderFromType$
|
|
7499
|
+
function keyBuilderFromType$5(luvio, object) {
|
|
7343
7500
|
const keyParams = {
|
|
7344
7501
|
name: object.id
|
|
7345
7502
|
};
|
|
7346
|
-
return keyBuilder$
|
|
7503
|
+
return keyBuilder$u(luvio, keyParams);
|
|
7347
7504
|
}
|
|
7348
|
-
function normalize$
|
|
7505
|
+
function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
7349
7506
|
const input_semanticDataObjects = input.semanticDataObjects;
|
|
7350
7507
|
const input_semanticDataObjects_id = path.fullPath + '__semanticDataObjects';
|
|
7351
7508
|
if (input_semanticDataObjects !== undefined) {
|
|
7352
7509
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
7353
7510
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
7354
7511
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
7355
|
-
input_semanticDataObjects[i] = ingest$
|
|
7512
|
+
input_semanticDataObjects[i] = ingest$g(input_semanticDataObjects_item, {
|
|
7356
7513
|
fullPath: input_semanticDataObjects_item_id,
|
|
7357
7514
|
propertyName: i,
|
|
7358
7515
|
parent: {
|
|
@@ -7370,7 +7527,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
7370
7527
|
for (let i = 0; i < input_semanticRelationships.length; i++) {
|
|
7371
7528
|
const input_semanticRelationships_item = input_semanticRelationships[i];
|
|
7372
7529
|
let input_semanticRelationships_item_id = input_semanticRelationships_id + '__' + i;
|
|
7373
|
-
input_semanticRelationships[i] = ingest$
|
|
7530
|
+
input_semanticRelationships[i] = ingest$e(input_semanticRelationships_item, {
|
|
7374
7531
|
fullPath: input_semanticRelationships_item_id,
|
|
7375
7532
|
propertyName: i,
|
|
7376
7533
|
parent: {
|
|
@@ -7388,7 +7545,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
7388
7545
|
for (let i = 0; i < input_semanticUnions.length; i++) {
|
|
7389
7546
|
const input_semanticUnions_item = input_semanticUnions[i];
|
|
7390
7547
|
let input_semanticUnions_item_id = input_semanticUnions_id + '__' + i;
|
|
7391
|
-
input_semanticUnions[i] = ingest$
|
|
7548
|
+
input_semanticUnions[i] = ingest$c(input_semanticUnions_item, {
|
|
7392
7549
|
fullPath: input_semanticUnions_item_id,
|
|
7393
7550
|
propertyName: i,
|
|
7394
7551
|
parent: {
|
|
@@ -7402,11 +7559,11 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
7402
7559
|
}
|
|
7403
7560
|
return input;
|
|
7404
7561
|
}
|
|
7405
|
-
const select$
|
|
7406
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
7562
|
+
const select$x = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
7563
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$M();
|
|
7407
7564
|
return {
|
|
7408
7565
|
kind: 'Fragment',
|
|
7409
|
-
version: VERSION$
|
|
7566
|
+
version: VERSION$h,
|
|
7410
7567
|
private: [],
|
|
7411
7568
|
selections: [
|
|
7412
7569
|
{
|
|
@@ -7492,21 +7649,21 @@ const select$w = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7492
7649
|
kind: 'Link',
|
|
7493
7650
|
plural: true,
|
|
7494
7651
|
required: false,
|
|
7495
|
-
fragment: select$
|
|
7652
|
+
fragment: select$J()
|
|
7496
7653
|
},
|
|
7497
7654
|
{
|
|
7498
7655
|
name: 'semanticRelationships',
|
|
7499
7656
|
kind: 'Link',
|
|
7500
7657
|
plural: true,
|
|
7501
7658
|
required: false,
|
|
7502
|
-
fragment: select$
|
|
7659
|
+
fragment: select$A()
|
|
7503
7660
|
},
|
|
7504
7661
|
{
|
|
7505
7662
|
name: 'semanticUnions',
|
|
7506
7663
|
kind: 'Link',
|
|
7507
7664
|
plural: true,
|
|
7508
7665
|
required: false,
|
|
7509
|
-
fragment: select$
|
|
7666
|
+
fragment: select$y()
|
|
7510
7667
|
},
|
|
7511
7668
|
{
|
|
7512
7669
|
name: 'semanticViewTypeEnum',
|
|
@@ -7526,7 +7683,7 @@ const select$w = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7526
7683
|
]
|
|
7527
7684
|
};
|
|
7528
7685
|
};
|
|
7529
|
-
function equals$
|
|
7686
|
+
function equals$h(existing, incoming) {
|
|
7530
7687
|
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
7531
7688
|
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
7532
7689
|
// if at least one of these optionals is defined
|
|
@@ -7739,7 +7896,7 @@ function equals$g(existing, incoming) {
|
|
|
7739
7896
|
return false;
|
|
7740
7897
|
}
|
|
7741
7898
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
7742
|
-
if (!(equals$
|
|
7899
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
7743
7900
|
return false;
|
|
7744
7901
|
}
|
|
7745
7902
|
});
|
|
@@ -7803,48 +7960,48 @@ function equals$g(existing, incoming) {
|
|
|
7803
7960
|
}
|
|
7804
7961
|
return true;
|
|
7805
7962
|
}
|
|
7806
|
-
const ingest$
|
|
7963
|
+
const ingest$b = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7807
7964
|
if (process.env.NODE_ENV !== 'production') {
|
|
7808
|
-
const validateError = validate$
|
|
7965
|
+
const validateError = validate$m(input);
|
|
7809
7966
|
if (validateError !== null) {
|
|
7810
7967
|
throw validateError;
|
|
7811
7968
|
}
|
|
7812
7969
|
}
|
|
7813
|
-
const key = keyBuilderFromType$
|
|
7970
|
+
const key = keyBuilderFromType$5(luvio, input);
|
|
7814
7971
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7815
|
-
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);
|
|
7816
7973
|
return createLink(key);
|
|
7817
7974
|
};
|
|
7818
|
-
function getTypeCacheKeys$
|
|
7975
|
+
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
7819
7976
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
7820
|
-
const rootKey = keyBuilderFromType$
|
|
7977
|
+
const rootKey = keyBuilderFromType$5(luvio, input);
|
|
7821
7978
|
rootKeySet.set(rootKey, {
|
|
7822
7979
|
namespace: keyPrefix,
|
|
7823
|
-
representationName: RepresentationType$
|
|
7980
|
+
representationName: RepresentationType$b,
|
|
7824
7981
|
mergeable: false
|
|
7825
7982
|
});
|
|
7826
7983
|
if (input.semanticDataObjects !== undefined) {
|
|
7827
7984
|
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
7828
7985
|
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
7829
|
-
getTypeCacheKeys$
|
|
7986
|
+
getTypeCacheKeys$g(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
7830
7987
|
}
|
|
7831
7988
|
}
|
|
7832
7989
|
if (input.semanticRelationships !== undefined) {
|
|
7833
7990
|
const input_semanticRelationships_length = input.semanticRelationships.length;
|
|
7834
7991
|
for (let i = 0; i < input_semanticRelationships_length; i++) {
|
|
7835
|
-
getTypeCacheKeys$
|
|
7992
|
+
getTypeCacheKeys$e(rootKeySet, luvio, input.semanticRelationships[i]);
|
|
7836
7993
|
}
|
|
7837
7994
|
}
|
|
7838
7995
|
if (input.semanticUnions !== undefined) {
|
|
7839
7996
|
const input_semanticUnions_length = input.semanticUnions.length;
|
|
7840
7997
|
for (let i = 0; i < input_semanticUnions_length; i++) {
|
|
7841
|
-
getTypeCacheKeys$
|
|
7998
|
+
getTypeCacheKeys$c(rootKeySet, luvio, input.semanticUnions[i]);
|
|
7842
7999
|
}
|
|
7843
8000
|
}
|
|
7844
8001
|
}
|
|
7845
8002
|
|
|
7846
|
-
const VERSION$
|
|
7847
|
-
function validate$
|
|
8003
|
+
const VERSION$g = "abbe4306b9ecdab2a1f50709c75eb26a";
|
|
8004
|
+
function validate$l(obj, path = 'SemanticMetricForecastConfigurationOutputRepresentation') {
|
|
7848
8005
|
const v_error = (() => {
|
|
7849
8006
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7850
8007
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7852,7 +8009,7 @@ function validate$k(obj, path = 'SemanticMetricForecastConfigurationOutputRepres
|
|
|
7852
8009
|
if (obj.forecastMeasurementReference !== undefined) {
|
|
7853
8010
|
const obj_forecastMeasurementReference = obj.forecastMeasurementReference;
|
|
7854
8011
|
const path_forecastMeasurementReference = path + '.forecastMeasurementReference';
|
|
7855
|
-
const referencepath_forecastMeasurementReferenceValidationError = validate$
|
|
8012
|
+
const referencepath_forecastMeasurementReferenceValidationError = validate$s(obj_forecastMeasurementReference, path_forecastMeasurementReference);
|
|
7856
8013
|
if (referencepath_forecastMeasurementReferenceValidationError !== null) {
|
|
7857
8014
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_forecastMeasurementReference + '")\n';
|
|
7858
8015
|
message += referencepath_forecastMeasurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7862,11 +8019,11 @@ function validate$k(obj, path = 'SemanticMetricForecastConfigurationOutputRepres
|
|
|
7862
8019
|
})();
|
|
7863
8020
|
return v_error === undefined ? null : v_error;
|
|
7864
8021
|
}
|
|
7865
|
-
const select$
|
|
7866
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
8022
|
+
const select$w = function SemanticMetricForecastConfigurationOutputRepresentationSelect() {
|
|
8023
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$D();
|
|
7867
8024
|
return {
|
|
7868
8025
|
kind: 'Fragment',
|
|
7869
|
-
version: VERSION$
|
|
8026
|
+
version: VERSION$g,
|
|
7870
8027
|
private: [],
|
|
7871
8028
|
selections: [
|
|
7872
8029
|
{
|
|
@@ -7878,7 +8035,7 @@ const select$v = function SemanticMetricForecastConfigurationOutputRepresentatio
|
|
|
7878
8035
|
]
|
|
7879
8036
|
};
|
|
7880
8037
|
};
|
|
7881
|
-
function equals$
|
|
8038
|
+
function equals$g(existing, incoming) {
|
|
7882
8039
|
const existing_forecastMeasurementReference = existing.forecastMeasurementReference;
|
|
7883
8040
|
const incoming_forecastMeasurementReference = incoming.forecastMeasurementReference;
|
|
7884
8041
|
// if at least one of these optionals is defined
|
|
@@ -7888,15 +8045,15 @@ function equals$f(existing, incoming) {
|
|
|
7888
8045
|
if (existing_forecastMeasurementReference === undefined || incoming_forecastMeasurementReference === undefined) {
|
|
7889
8046
|
return false;
|
|
7890
8047
|
}
|
|
7891
|
-
if (!(equals$
|
|
8048
|
+
if (!(equals$n(existing_forecastMeasurementReference, incoming_forecastMeasurementReference))) {
|
|
7892
8049
|
return false;
|
|
7893
8050
|
}
|
|
7894
8051
|
}
|
|
7895
8052
|
return true;
|
|
7896
8053
|
}
|
|
7897
8054
|
|
|
7898
|
-
const VERSION$
|
|
7899
|
-
function validate$
|
|
8055
|
+
const VERSION$f = "a50848c632bb205d5e910bb726d9219e";
|
|
8056
|
+
function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
7900
8057
|
const v_error = (() => {
|
|
7901
8058
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7902
8059
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7904,7 +8061,7 @@ function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7904
8061
|
if (obj.identifierDimensionReference !== undefined) {
|
|
7905
8062
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
7906
8063
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
7907
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
8064
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$s(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
7908
8065
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
7909
8066
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
7910
8067
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7914,7 +8071,7 @@ function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7914
8071
|
if (obj.namingDimensionReference !== undefined) {
|
|
7915
8072
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
7916
8073
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
7917
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
8074
|
+
const referencepath_namingDimensionReferenceValidationError = validate$s(obj_namingDimensionReference, path_namingDimensionReference);
|
|
7918
8075
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
7919
8076
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
7920
8077
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7924,11 +8081,11 @@ function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7924
8081
|
})();
|
|
7925
8082
|
return v_error === undefined ? null : v_error;
|
|
7926
8083
|
}
|
|
7927
|
-
const select$
|
|
7928
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
8084
|
+
const select$v = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
8085
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$D();
|
|
7929
8086
|
return {
|
|
7930
8087
|
kind: 'Fragment',
|
|
7931
|
-
version: VERSION$
|
|
8088
|
+
version: VERSION$f,
|
|
7932
8089
|
private: [],
|
|
7933
8090
|
selections: [
|
|
7934
8091
|
{
|
|
@@ -7946,7 +8103,7 @@ const select$u = function SemanticIdentifyingDimensionOutputRepresentationSelect
|
|
|
7946
8103
|
]
|
|
7947
8104
|
};
|
|
7948
8105
|
};
|
|
7949
|
-
function equals$
|
|
8106
|
+
function equals$f(existing, incoming) {
|
|
7950
8107
|
const existing_identifierDimensionReference = existing.identifierDimensionReference;
|
|
7951
8108
|
const incoming_identifierDimensionReference = incoming.identifierDimensionReference;
|
|
7952
8109
|
// if at least one of these optionals is defined
|
|
@@ -7956,7 +8113,7 @@ function equals$e(existing, incoming) {
|
|
|
7956
8113
|
if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
|
|
7957
8114
|
return false;
|
|
7958
8115
|
}
|
|
7959
|
-
if (!(equals$
|
|
8116
|
+
if (!(equals$n(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
|
|
7960
8117
|
return false;
|
|
7961
8118
|
}
|
|
7962
8119
|
}
|
|
@@ -7969,15 +8126,15 @@ function equals$e(existing, incoming) {
|
|
|
7969
8126
|
if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
|
|
7970
8127
|
return false;
|
|
7971
8128
|
}
|
|
7972
|
-
if (!(equals$
|
|
8129
|
+
if (!(equals$n(existing_namingDimensionReference, incoming_namingDimensionReference))) {
|
|
7973
8130
|
return false;
|
|
7974
8131
|
}
|
|
7975
8132
|
}
|
|
7976
8133
|
return true;
|
|
7977
8134
|
}
|
|
7978
8135
|
|
|
7979
|
-
const VERSION$
|
|
7980
|
-
function validate$
|
|
8136
|
+
const VERSION$e = "1b8cf2283d5d5c480459506274f0604c";
|
|
8137
|
+
function validate$j(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
7981
8138
|
const v_error = (() => {
|
|
7982
8139
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7983
8140
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7999,10 +8156,10 @@ function validate$i(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
|
7999
8156
|
})();
|
|
8000
8157
|
return v_error === undefined ? null : v_error;
|
|
8001
8158
|
}
|
|
8002
|
-
const select$
|
|
8159
|
+
const select$u = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
8003
8160
|
return {
|
|
8004
8161
|
kind: 'Fragment',
|
|
8005
|
-
version: VERSION$
|
|
8162
|
+
version: VERSION$e,
|
|
8006
8163
|
private: [],
|
|
8007
8164
|
selections: [
|
|
8008
8165
|
{
|
|
@@ -8018,7 +8175,7 @@ const select$t = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
|
8018
8175
|
]
|
|
8019
8176
|
};
|
|
8020
8177
|
};
|
|
8021
|
-
function equals$
|
|
8178
|
+
function equals$e(existing, incoming) {
|
|
8022
8179
|
const existing_enabled = existing.enabled;
|
|
8023
8180
|
const incoming_enabled = incoming.enabled;
|
|
8024
8181
|
// if at least one of these optionals is defined
|
|
@@ -8048,8 +8205,8 @@ function equals$d(existing, incoming) {
|
|
|
8048
8205
|
return true;
|
|
8049
8206
|
}
|
|
8050
8207
|
|
|
8051
|
-
const VERSION$
|
|
8052
|
-
function validate$
|
|
8208
|
+
const VERSION$d = "1ee2337e8f73261cbb44258b393d1bec";
|
|
8209
|
+
function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
8053
8210
|
const v_error = (() => {
|
|
8054
8211
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8055
8212
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8057,7 +8214,7 @@ function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
8057
8214
|
if (obj.forecastConfiguration !== undefined) {
|
|
8058
8215
|
const obj_forecastConfiguration = obj.forecastConfiguration;
|
|
8059
8216
|
const path_forecastConfiguration = path + '.forecastConfiguration';
|
|
8060
|
-
const referencepath_forecastConfigurationValidationError = validate$
|
|
8217
|
+
const referencepath_forecastConfigurationValidationError = validate$l(obj_forecastConfiguration, path_forecastConfiguration);
|
|
8061
8218
|
if (referencepath_forecastConfigurationValidationError !== null) {
|
|
8062
8219
|
let message = 'Object doesn\'t match SemanticMetricForecastConfigurationOutputRepresentation (at "' + path_forecastConfiguration + '")\n';
|
|
8063
8220
|
message += referencepath_forecastConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8067,7 +8224,7 @@ function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
8067
8224
|
if (obj.identifyingDimension !== undefined) {
|
|
8068
8225
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
8069
8226
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
8070
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
8227
|
+
const referencepath_identifyingDimensionValidationError = validate$k(obj_identifyingDimension, path_identifyingDimension);
|
|
8071
8228
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
8072
8229
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
8073
8230
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8083,7 +8240,7 @@ function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
8083
8240
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
8084
8241
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
8085
8242
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
8086
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
8243
|
+
const referencepath_insightTypes_itemValidationError = validate$j(obj_insightTypes_item, path_insightTypes_item);
|
|
8087
8244
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
8088
8245
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
8089
8246
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8100,7 +8257,7 @@ function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
8100
8257
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
8101
8258
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
8102
8259
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
8103
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
8260
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$s(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
8104
8261
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
8105
8262
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
8106
8263
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8132,14 +8289,14 @@ function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
8132
8289
|
})();
|
|
8133
8290
|
return v_error === undefined ? null : v_error;
|
|
8134
8291
|
}
|
|
8135
|
-
const select$
|
|
8136
|
-
const { selections: SemanticMetricForecastConfigurationOutputRepresentation__selections, opaque: SemanticMetricForecastConfigurationOutputRepresentation__opaque, } = select$
|
|
8137
|
-
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$
|
|
8138
|
-
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$
|
|
8139
|
-
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();
|
|
8140
8297
|
return {
|
|
8141
8298
|
kind: 'Fragment',
|
|
8142
|
-
version: VERSION$
|
|
8299
|
+
version: VERSION$d,
|
|
8143
8300
|
private: [],
|
|
8144
8301
|
selections: [
|
|
8145
8302
|
{
|
|
@@ -8186,7 +8343,7 @@ const select$s = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
|
8186
8343
|
]
|
|
8187
8344
|
};
|
|
8188
8345
|
};
|
|
8189
|
-
function equals$
|
|
8346
|
+
function equals$d(existing, incoming) {
|
|
8190
8347
|
const existing_pluralNoun = existing.pluralNoun;
|
|
8191
8348
|
const incoming_pluralNoun = incoming.pluralNoun;
|
|
8192
8349
|
// if at least one of these optionals is defined
|
|
@@ -8235,7 +8392,7 @@ function equals$c(existing, incoming) {
|
|
|
8235
8392
|
if (existing_forecastConfiguration === undefined || incoming_forecastConfiguration === undefined) {
|
|
8236
8393
|
return false;
|
|
8237
8394
|
}
|
|
8238
|
-
if (!(equals$
|
|
8395
|
+
if (!(equals$g(existing_forecastConfiguration, incoming_forecastConfiguration))) {
|
|
8239
8396
|
return false;
|
|
8240
8397
|
}
|
|
8241
8398
|
}
|
|
@@ -8248,7 +8405,7 @@ function equals$c(existing, incoming) {
|
|
|
8248
8405
|
if (existing_identifyingDimension === undefined || incoming_identifyingDimension === undefined) {
|
|
8249
8406
|
return false;
|
|
8250
8407
|
}
|
|
8251
|
-
if (!(equals$
|
|
8408
|
+
if (!(equals$f(existing_identifyingDimension, incoming_identifyingDimension))) {
|
|
8252
8409
|
return false;
|
|
8253
8410
|
}
|
|
8254
8411
|
}
|
|
@@ -8262,7 +8419,7 @@ function equals$c(existing, incoming) {
|
|
|
8262
8419
|
return false;
|
|
8263
8420
|
}
|
|
8264
8421
|
const equals_insightTypes_items = equalsArray(existing_insightTypes, incoming_insightTypes, (existing_insightTypes_item, incoming_insightTypes_item) => {
|
|
8265
|
-
if (!(equals$
|
|
8422
|
+
if (!(equals$e(existing_insightTypes_item, incoming_insightTypes_item))) {
|
|
8266
8423
|
return false;
|
|
8267
8424
|
}
|
|
8268
8425
|
});
|
|
@@ -8280,7 +8437,7 @@ function equals$c(existing, incoming) {
|
|
|
8280
8437
|
return false;
|
|
8281
8438
|
}
|
|
8282
8439
|
const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
|
|
8283
|
-
if (!(equals$
|
|
8440
|
+
if (!(equals$n(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
|
|
8284
8441
|
return false;
|
|
8285
8442
|
}
|
|
8286
8443
|
});
|
|
@@ -8291,8 +8448,8 @@ function equals$c(existing, incoming) {
|
|
|
8291
8448
|
return true;
|
|
8292
8449
|
}
|
|
8293
8450
|
|
|
8294
|
-
const VERSION$
|
|
8295
|
-
function validate$
|
|
8451
|
+
const VERSION$c = "3800a2eb703d5a4964899b4e067ee1d8";
|
|
8452
|
+
function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
8296
8453
|
const v_error = (() => {
|
|
8297
8454
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8298
8455
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8306,7 +8463,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8306
8463
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
8307
8464
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
8308
8465
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
8309
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
8466
|
+
const referencepath_additionalDimensions_itemValidationError = validate$s(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
8310
8467
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
8311
8468
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
8312
8469
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8373,7 +8530,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8373
8530
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
8374
8531
|
const obj_filters_item = obj_filters[i];
|
|
8375
8532
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
8376
|
-
const referencepath_filters_itemValidationError = validate$
|
|
8533
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
8377
8534
|
if (referencepath_filters_itemValidationError !== null) {
|
|
8378
8535
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
8379
8536
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8389,7 +8546,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8389
8546
|
if (obj.insightsSettings !== undefined) {
|
|
8390
8547
|
const obj_insightsSettings = obj.insightsSettings;
|
|
8391
8548
|
const path_insightsSettings = path + '.insightsSettings';
|
|
8392
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
8549
|
+
const referencepath_insightsSettingsValidationError = validate$i(obj_insightsSettings, path_insightsSettings);
|
|
8393
8550
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
8394
8551
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
8395
8552
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8441,7 +8598,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8441
8598
|
if (obj.measurementReference !== undefined) {
|
|
8442
8599
|
const obj_measurementReference = obj.measurementReference;
|
|
8443
8600
|
const path_measurementReference = path + '.measurementReference';
|
|
8444
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
8601
|
+
const referencepath_measurementReferenceValidationError = validate$s(obj_measurementReference, path_measurementReference);
|
|
8445
8602
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
8446
8603
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
8447
8604
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8451,7 +8608,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8451
8608
|
if (obj.timeDimensionReference !== undefined) {
|
|
8452
8609
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
8453
8610
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
8454
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
8611
|
+
const referencepath_timeDimensionReferenceValidationError = validate$s(obj_timeDimensionReference, path_timeDimensionReference);
|
|
8455
8612
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
8456
8613
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
8457
8614
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8482,26 +8639,26 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8482
8639
|
})();
|
|
8483
8640
|
return v_error === undefined ? null : v_error;
|
|
8484
8641
|
}
|
|
8485
|
-
const RepresentationType$
|
|
8486
|
-
function keyBuilder$
|
|
8487
|
-
return keyPrefix + '::' + RepresentationType$
|
|
8642
|
+
const RepresentationType$a = 'SemanticMetricOutputRepresentation';
|
|
8643
|
+
function keyBuilder$t(luvio, config) {
|
|
8644
|
+
return keyPrefix + '::' + RepresentationType$a + ':' + config.name;
|
|
8488
8645
|
}
|
|
8489
|
-
function keyBuilderFromType$
|
|
8646
|
+
function keyBuilderFromType$4(luvio, object) {
|
|
8490
8647
|
const keyParams = {
|
|
8491
8648
|
name: object.id
|
|
8492
8649
|
};
|
|
8493
|
-
return keyBuilder$
|
|
8650
|
+
return keyBuilder$t(luvio, keyParams);
|
|
8494
8651
|
}
|
|
8495
|
-
function normalize$
|
|
8652
|
+
function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
8496
8653
|
return input;
|
|
8497
8654
|
}
|
|
8498
|
-
const select$
|
|
8499
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
8500
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
8501
|
-
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$
|
|
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();
|
|
8502
8659
|
return {
|
|
8503
8660
|
kind: 'Fragment',
|
|
8504
|
-
version: VERSION$
|
|
8661
|
+
version: VERSION$c,
|
|
8505
8662
|
private: [],
|
|
8506
8663
|
selections: [
|
|
8507
8664
|
{
|
|
@@ -8559,27 +8716,556 @@ const select$r = function SemanticMetricOutputRepresentationSelect() {
|
|
|
8559
8716
|
name: 'id',
|
|
8560
8717
|
kind: 'Scalar'
|
|
8561
8718
|
},
|
|
8562
|
-
{
|
|
8563
|
-
name: 'insightsSettings',
|
|
8564
|
-
kind: 'Object',
|
|
8565
|
-
selections: SemanticInsightsSettingsOutputRepresentation__selections,
|
|
8566
|
-
required: false
|
|
8567
|
-
},
|
|
8568
|
-
{
|
|
8569
|
-
name: 'isCumulative',
|
|
8570
|
-
kind: 'Scalar',
|
|
8571
|
-
required: false
|
|
8572
|
-
},
|
|
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 + '")');
|
|
9186
|
+
}
|
|
9187
|
+
}
|
|
9188
|
+
})();
|
|
9189
|
+
return v_error === undefined ? null : v_error;
|
|
9190
|
+
}
|
|
9191
|
+
const RepresentationType$9 = 'SemanticModelFilterOutputRepresentation';
|
|
9192
|
+
function keyBuilder$s(luvio, config) {
|
|
9193
|
+
return keyPrefix + '::' + RepresentationType$9 + ':' + config.name;
|
|
9194
|
+
}
|
|
9195
|
+
function keyBuilderFromType$3(luvio, object) {
|
|
9196
|
+
const keyParams = {
|
|
9197
|
+
name: object.id
|
|
9198
|
+
};
|
|
9199
|
+
return keyBuilder$s(luvio, keyParams);
|
|
9200
|
+
}
|
|
9201
|
+
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
9202
|
+
return input;
|
|
9203
|
+
}
|
|
9204
|
+
const select$r = function SemanticModelFilterOutputRepresentationSelect() {
|
|
9205
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$M();
|
|
9206
|
+
return {
|
|
9207
|
+
kind: 'Fragment',
|
|
9208
|
+
version: VERSION$b,
|
|
9209
|
+
private: [],
|
|
9210
|
+
selections: [
|
|
9211
|
+
{
|
|
9212
|
+
name: 'apiName',
|
|
9213
|
+
kind: 'Scalar'
|
|
9214
|
+
},
|
|
9215
|
+
{
|
|
9216
|
+
name: 'baseModelApiName',
|
|
9217
|
+
kind: 'Scalar',
|
|
9218
|
+
required: false
|
|
9219
|
+
},
|
|
9220
|
+
{
|
|
9221
|
+
name: 'cacheKey',
|
|
9222
|
+
kind: 'Scalar',
|
|
9223
|
+
required: false
|
|
9224
|
+
},
|
|
9225
|
+
{
|
|
9226
|
+
name: 'createdBy',
|
|
9227
|
+
kind: 'Scalar'
|
|
9228
|
+
},
|
|
9229
|
+
{
|
|
9230
|
+
name: 'createdDate',
|
|
9231
|
+
kind: 'Scalar'
|
|
9232
|
+
},
|
|
9233
|
+
{
|
|
9234
|
+
name: 'description',
|
|
9235
|
+
kind: 'Scalar',
|
|
9236
|
+
required: false
|
|
9237
|
+
},
|
|
9238
|
+
{
|
|
9239
|
+
name: 'externalConnectionApiName',
|
|
9240
|
+
kind: 'Scalar',
|
|
9241
|
+
required: false
|
|
9242
|
+
},
|
|
9243
|
+
{
|
|
9244
|
+
name: 'externalId',
|
|
9245
|
+
kind: 'Scalar',
|
|
9246
|
+
required: false
|
|
9247
|
+
},
|
|
9248
|
+
{
|
|
9249
|
+
name: 'filterLogic',
|
|
9250
|
+
kind: 'Scalar',
|
|
9251
|
+
required: false
|
|
9252
|
+
},
|
|
9253
|
+
{
|
|
9254
|
+
name: 'filters',
|
|
9255
|
+
kind: 'Object',
|
|
9256
|
+
plural: true,
|
|
9257
|
+
selections: SemanticFilterOutputRepresentation__selections,
|
|
9258
|
+
required: false
|
|
9259
|
+
},
|
|
9260
|
+
{
|
|
9261
|
+
name: 'id',
|
|
9262
|
+
kind: 'Scalar'
|
|
9263
|
+
},
|
|
8573
9264
|
{
|
|
8574
9265
|
name: 'isQueryable',
|
|
8575
9266
|
kind: 'Scalar',
|
|
8576
9267
|
required: false
|
|
8577
9268
|
},
|
|
8578
|
-
{
|
|
8579
|
-
name: 'isSystemDefinition',
|
|
8580
|
-
kind: 'Scalar',
|
|
8581
|
-
required: false
|
|
8582
|
-
},
|
|
8583
9269
|
{
|
|
8584
9270
|
name: 'label',
|
|
8585
9271
|
kind: 'Scalar',
|
|
@@ -8594,86 +9280,11 @@ const select$r = function SemanticMetricOutputRepresentationSelect() {
|
|
|
8594
9280
|
name: 'lastModifiedDate',
|
|
8595
9281
|
kind: 'Scalar',
|
|
8596
9282
|
required: false
|
|
8597
|
-
},
|
|
8598
|
-
{
|
|
8599
|
-
name: 'measurementReference',
|
|
8600
|
-
kind: 'Object',
|
|
8601
|
-
selections: SemanticFieldReferenceOutputRepresentation__selections,
|
|
8602
|
-
required: false
|
|
8603
|
-
},
|
|
8604
|
-
{
|
|
8605
|
-
name: 'timeDimensionReference',
|
|
8606
|
-
kind: 'Object',
|
|
8607
|
-
selections: SemanticFieldReferenceOutputRepresentation__selections,
|
|
8608
|
-
required: false
|
|
8609
|
-
},
|
|
8610
|
-
{
|
|
8611
|
-
name: 'timeGrains',
|
|
8612
|
-
kind: 'Scalar',
|
|
8613
|
-
plural: true,
|
|
8614
|
-
required: false
|
|
8615
|
-
},
|
|
8616
|
-
{
|
|
8617
|
-
name: 'unmapped',
|
|
8618
|
-
kind: 'Scalar',
|
|
8619
|
-
required: false
|
|
8620
9283
|
}
|
|
8621
9284
|
]
|
|
8622
9285
|
};
|
|
8623
9286
|
};
|
|
8624
9287
|
function equals$b(existing, incoming) {
|
|
8625
|
-
const existing_isCumulative = existing.isCumulative;
|
|
8626
|
-
const incoming_isCumulative = incoming.isCumulative;
|
|
8627
|
-
// if at least one of these optionals is defined
|
|
8628
|
-
if (existing_isCumulative !== undefined || incoming_isCumulative !== undefined) {
|
|
8629
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8630
|
-
// not equal
|
|
8631
|
-
if (existing_isCumulative === undefined || incoming_isCumulative === undefined) {
|
|
8632
|
-
return false;
|
|
8633
|
-
}
|
|
8634
|
-
if (!(existing_isCumulative === incoming_isCumulative)) {
|
|
8635
|
-
return false;
|
|
8636
|
-
}
|
|
8637
|
-
}
|
|
8638
|
-
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
8639
|
-
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
8640
|
-
// if at least one of these optionals is defined
|
|
8641
|
-
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
8642
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8643
|
-
// not equal
|
|
8644
|
-
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
8645
|
-
return false;
|
|
8646
|
-
}
|
|
8647
|
-
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
8648
|
-
return false;
|
|
8649
|
-
}
|
|
8650
|
-
}
|
|
8651
|
-
const existing_unmapped = existing.unmapped;
|
|
8652
|
-
const incoming_unmapped = incoming.unmapped;
|
|
8653
|
-
// if at least one of these optionals is defined
|
|
8654
|
-
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
8655
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8656
|
-
// not equal
|
|
8657
|
-
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
8658
|
-
return false;
|
|
8659
|
-
}
|
|
8660
|
-
if (!(existing_unmapped === incoming_unmapped)) {
|
|
8661
|
-
return false;
|
|
8662
|
-
}
|
|
8663
|
-
}
|
|
8664
|
-
const existing_aggregationType = existing.aggregationType;
|
|
8665
|
-
const incoming_aggregationType = incoming.aggregationType;
|
|
8666
|
-
// if at least one of these optionals is defined
|
|
8667
|
-
if (existing_aggregationType !== undefined || incoming_aggregationType !== undefined) {
|
|
8668
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8669
|
-
// not equal
|
|
8670
|
-
if (existing_aggregationType === undefined || incoming_aggregationType === undefined) {
|
|
8671
|
-
return false;
|
|
8672
|
-
}
|
|
8673
|
-
if (!(existing_aggregationType === incoming_aggregationType)) {
|
|
8674
|
-
return false;
|
|
8675
|
-
}
|
|
8676
|
-
}
|
|
8677
9288
|
const existing_apiName = existing.apiName;
|
|
8678
9289
|
const incoming_apiName = incoming.apiName;
|
|
8679
9290
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -8728,6 +9339,32 @@ function equals$b(existing, incoming) {
|
|
|
8728
9339
|
return false;
|
|
8729
9340
|
}
|
|
8730
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
|
+
}
|
|
8731
9368
|
const existing_filterLogic = existing.filterLogic;
|
|
8732
9369
|
const incoming_filterLogic = incoming.filterLogic;
|
|
8733
9370
|
// if at least one of these optionals is defined
|
|
@@ -8798,24 +9435,6 @@ function equals$b(existing, incoming) {
|
|
|
8798
9435
|
return false;
|
|
8799
9436
|
}
|
|
8800
9437
|
}
|
|
8801
|
-
const existing_additionalDimensions = existing.additionalDimensions;
|
|
8802
|
-
const incoming_additionalDimensions = incoming.additionalDimensions;
|
|
8803
|
-
// if at least one of these optionals is defined
|
|
8804
|
-
if (existing_additionalDimensions !== undefined || incoming_additionalDimensions !== undefined) {
|
|
8805
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8806
|
-
// not equal
|
|
8807
|
-
if (existing_additionalDimensions === undefined || incoming_additionalDimensions === undefined) {
|
|
8808
|
-
return false;
|
|
8809
|
-
}
|
|
8810
|
-
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
8811
|
-
if (!(equals$m(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
8812
|
-
return false;
|
|
8813
|
-
}
|
|
8814
|
-
});
|
|
8815
|
-
if (equals_additionalDimensions_items === false) {
|
|
8816
|
-
return false;
|
|
8817
|
-
}
|
|
8818
|
-
}
|
|
8819
9438
|
const existing_filters = existing.filters;
|
|
8820
9439
|
const incoming_filters = incoming.filters;
|
|
8821
9440
|
// if at least one of these optionals is defined
|
|
@@ -8826,7 +9445,7 @@ function equals$b(existing, incoming) {
|
|
|
8826
9445
|
return false;
|
|
8827
9446
|
}
|
|
8828
9447
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
8829
|
-
if (!(equals$
|
|
9448
|
+
if (!(equals$w(existing_filters_item, incoming_filters_item))) {
|
|
8830
9449
|
return false;
|
|
8831
9450
|
}
|
|
8832
9451
|
});
|
|
@@ -8834,66 +9453,9 @@ function equals$b(existing, incoming) {
|
|
|
8834
9453
|
return false;
|
|
8835
9454
|
}
|
|
8836
9455
|
}
|
|
8837
|
-
const existing_insightsSettings = existing.insightsSettings;
|
|
8838
|
-
const incoming_insightsSettings = incoming.insightsSettings;
|
|
8839
|
-
// if at least one of these optionals is defined
|
|
8840
|
-
if (existing_insightsSettings !== undefined || incoming_insightsSettings !== undefined) {
|
|
8841
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8842
|
-
// not equal
|
|
8843
|
-
if (existing_insightsSettings === undefined || incoming_insightsSettings === undefined) {
|
|
8844
|
-
return false;
|
|
8845
|
-
}
|
|
8846
|
-
if (!(equals$c(existing_insightsSettings, incoming_insightsSettings))) {
|
|
8847
|
-
return false;
|
|
8848
|
-
}
|
|
8849
|
-
}
|
|
8850
|
-
const existing_measurementReference = existing.measurementReference;
|
|
8851
|
-
const incoming_measurementReference = incoming.measurementReference;
|
|
8852
|
-
// if at least one of these optionals is defined
|
|
8853
|
-
if (existing_measurementReference !== undefined || incoming_measurementReference !== undefined) {
|
|
8854
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8855
|
-
// not equal
|
|
8856
|
-
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
8857
|
-
return false;
|
|
8858
|
-
}
|
|
8859
|
-
if (!(equals$m(existing_measurementReference, incoming_measurementReference))) {
|
|
8860
|
-
return false;
|
|
8861
|
-
}
|
|
8862
|
-
}
|
|
8863
|
-
const existing_timeDimensionReference = existing.timeDimensionReference;
|
|
8864
|
-
const incoming_timeDimensionReference = incoming.timeDimensionReference;
|
|
8865
|
-
// if at least one of these optionals is defined
|
|
8866
|
-
if (existing_timeDimensionReference !== undefined || incoming_timeDimensionReference !== undefined) {
|
|
8867
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8868
|
-
// not equal
|
|
8869
|
-
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
8870
|
-
return false;
|
|
8871
|
-
}
|
|
8872
|
-
if (!(equals$m(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
8873
|
-
return false;
|
|
8874
|
-
}
|
|
8875
|
-
}
|
|
8876
|
-
const existing_timeGrains = existing.timeGrains;
|
|
8877
|
-
const incoming_timeGrains = incoming.timeGrains;
|
|
8878
|
-
// if at least one of these optionals is defined
|
|
8879
|
-
if (existing_timeGrains !== undefined || incoming_timeGrains !== undefined) {
|
|
8880
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
8881
|
-
// not equal
|
|
8882
|
-
if (existing_timeGrains === undefined || incoming_timeGrains === undefined) {
|
|
8883
|
-
return false;
|
|
8884
|
-
}
|
|
8885
|
-
const equals_timeGrains_items = equalsArray(existing_timeGrains, incoming_timeGrains, (existing_timeGrains_item, incoming_timeGrains_item) => {
|
|
8886
|
-
if (!(existing_timeGrains_item === incoming_timeGrains_item)) {
|
|
8887
|
-
return false;
|
|
8888
|
-
}
|
|
8889
|
-
});
|
|
8890
|
-
if (equals_timeGrains_items === false) {
|
|
8891
|
-
return false;
|
|
8892
|
-
}
|
|
8893
|
-
}
|
|
8894
9456
|
return true;
|
|
8895
9457
|
}
|
|
8896
|
-
const ingest$9 = function
|
|
9458
|
+
const ingest$9 = function SemanticModelFilterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8897
9459
|
if (process.env.NODE_ENV !== 'production') {
|
|
8898
9460
|
const validateError = validate$g(input);
|
|
8899
9461
|
if (validateError !== null) {
|
|
@@ -8987,7 +9549,7 @@ function equals$a(existing, incoming) {
|
|
|
8987
9549
|
return true;
|
|
8988
9550
|
}
|
|
8989
9551
|
|
|
8990
|
-
const VERSION$9 = "
|
|
9552
|
+
const VERSION$9 = "9c342600b8e3532a417118e4e7055032";
|
|
8991
9553
|
function validate$e(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
8992
9554
|
const v_error = (() => {
|
|
8993
9555
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9060,6 +9622,13 @@ function validate$e(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
9060
9622
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
9061
9623
|
}
|
|
9062
9624
|
}
|
|
9625
|
+
if (obj.externalDataType !== undefined) {
|
|
9626
|
+
const obj_externalDataType = obj.externalDataType;
|
|
9627
|
+
const path_externalDataType = path + '.externalDataType';
|
|
9628
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
9629
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
9630
|
+
}
|
|
9631
|
+
}
|
|
9063
9632
|
const obj_id = obj.id;
|
|
9064
9633
|
const path_id = path + '.id';
|
|
9065
9634
|
if (typeof obj_id !== 'string') {
|
|
@@ -9216,6 +9785,11 @@ const select$p = function SemanticParameterOutputRepresentationSelect() {
|
|
|
9216
9785
|
kind: 'Scalar',
|
|
9217
9786
|
required: false
|
|
9218
9787
|
},
|
|
9788
|
+
{
|
|
9789
|
+
name: 'externalDataType',
|
|
9790
|
+
kind: 'Scalar',
|
|
9791
|
+
required: false
|
|
9792
|
+
},
|
|
9219
9793
|
{
|
|
9220
9794
|
name: 'id',
|
|
9221
9795
|
kind: 'Scalar'
|
|
@@ -9386,6 +9960,19 @@ function equals$9(existing, incoming) {
|
|
|
9386
9960
|
return false;
|
|
9387
9961
|
}
|
|
9388
9962
|
}
|
|
9963
|
+
const existing_externalDataType = existing.externalDataType;
|
|
9964
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
9965
|
+
// if at least one of these optionals is defined
|
|
9966
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
9967
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9968
|
+
// not equal
|
|
9969
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
9970
|
+
return false;
|
|
9971
|
+
}
|
|
9972
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
9973
|
+
return false;
|
|
9974
|
+
}
|
|
9975
|
+
}
|
|
9389
9976
|
const existing_id = existing.id;
|
|
9390
9977
|
const incoming_id = incoming.id;
|
|
9391
9978
|
if (!(existing_id === incoming_id)) {
|
|
@@ -9555,7 +10142,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9555
10142
|
});
|
|
9556
10143
|
}
|
|
9557
10144
|
|
|
9558
|
-
const VERSION$8 = "
|
|
10145
|
+
const VERSION$8 = "31c80b845050553f41832720b27399ad";
|
|
9559
10146
|
function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
9560
10147
|
const v_error = (() => {
|
|
9561
10148
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9589,7 +10176,7 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9589
10176
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
9590
10177
|
const obj_baseModels_item = obj_baseModels[i];
|
|
9591
10178
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
9592
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
10179
|
+
const referencepath_baseModels_itemValidationError = validate$H(obj_baseModels_item, path_baseModels_item);
|
|
9593
10180
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
9594
10181
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
9595
10182
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9649,7 +10236,7 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9649
10236
|
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
9650
10237
|
const obj_externalConnections_item = obj_externalConnections[i];
|
|
9651
10238
|
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
9652
|
-
const referencepath_externalConnections_itemValidationError = validate$
|
|
10239
|
+
const referencepath_externalConnections_itemValidationError = validate$F(obj_externalConnections_item, path_externalConnections_item);
|
|
9653
10240
|
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
9654
10241
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
9655
10242
|
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9666,7 +10253,7 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9666
10253
|
for (let i = 0; i < obj_fieldsOverrides.length; i++) {
|
|
9667
10254
|
const obj_fieldsOverrides_item = obj_fieldsOverrides[i];
|
|
9668
10255
|
const path_fieldsOverrides_item = path_fieldsOverrides + '[' + i + ']';
|
|
9669
|
-
const referencepath_fieldsOverrides_itemValidationError = validate$
|
|
10256
|
+
const referencepath_fieldsOverrides_itemValidationError = validate$E(obj_fieldsOverrides_item, path_fieldsOverrides_item);
|
|
9670
10257
|
if (referencepath_fieldsOverrides_itemValidationError !== null) {
|
|
9671
10258
|
let message = 'Object doesn\'t match SemanticOverrideOutputRepresentation (at "' + path_fieldsOverrides_item + '")\n';
|
|
9672
10259
|
message += referencepath_fieldsOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9861,6 +10448,20 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9861
10448
|
}
|
|
9862
10449
|
}
|
|
9863
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
|
+
}
|
|
9864
10465
|
if (obj.semanticParameters !== undefined) {
|
|
9865
10466
|
const obj_semanticParameters = obj.semanticParameters;
|
|
9866
10467
|
const path_semanticParameters = path + '.semanticParameters';
|
|
@@ -9937,7 +10538,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
9937
10538
|
for (let i = 0; i < input_semanticCalculatedDimensions.length; i++) {
|
|
9938
10539
|
const input_semanticCalculatedDimensions_item = input_semanticCalculatedDimensions[i];
|
|
9939
10540
|
let input_semanticCalculatedDimensions_item_id = input_semanticCalculatedDimensions_id + '__' + i;
|
|
9940
|
-
input_semanticCalculatedDimensions[i] = ingest$
|
|
10541
|
+
input_semanticCalculatedDimensions[i] = ingest$i(input_semanticCalculatedDimensions_item, {
|
|
9941
10542
|
fullPath: input_semanticCalculatedDimensions_item_id,
|
|
9942
10543
|
propertyName: i,
|
|
9943
10544
|
parent: {
|
|
@@ -9955,7 +10556,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
9955
10556
|
for (let i = 0; i < input_semanticCalculatedMeasurements.length; i++) {
|
|
9956
10557
|
const input_semanticCalculatedMeasurements_item = input_semanticCalculatedMeasurements[i];
|
|
9957
10558
|
let input_semanticCalculatedMeasurements_item_id = input_semanticCalculatedMeasurements_id + '__' + i;
|
|
9958
|
-
input_semanticCalculatedMeasurements[i] = ingest$
|
|
10559
|
+
input_semanticCalculatedMeasurements[i] = ingest$h(input_semanticCalculatedMeasurements_item, {
|
|
9959
10560
|
fullPath: input_semanticCalculatedMeasurements_item_id,
|
|
9960
10561
|
propertyName: i,
|
|
9961
10562
|
parent: {
|
|
@@ -9973,7 +10574,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
9973
10574
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
9974
10575
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
9975
10576
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
9976
|
-
input_semanticDataObjects[i] = ingest$
|
|
10577
|
+
input_semanticDataObjects[i] = ingest$g(input_semanticDataObjects_item, {
|
|
9977
10578
|
fullPath: input_semanticDataObjects_item_id,
|
|
9978
10579
|
propertyName: i,
|
|
9979
10580
|
parent: {
|
|
@@ -9991,7 +10592,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
9991
10592
|
for (let i = 0; i < input_semanticGroupings.length; i++) {
|
|
9992
10593
|
const input_semanticGroupings_item = input_semanticGroupings[i];
|
|
9993
10594
|
let input_semanticGroupings_item_id = input_semanticGroupings_id + '__' + i;
|
|
9994
|
-
input_semanticGroupings[i] = ingest$
|
|
10595
|
+
input_semanticGroupings[i] = ingest$f(input_semanticGroupings_item, {
|
|
9995
10596
|
fullPath: input_semanticGroupings_item_id,
|
|
9996
10597
|
propertyName: i,
|
|
9997
10598
|
parent: {
|
|
@@ -10009,7 +10610,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
10009
10610
|
for (let i = 0; i < input_semanticLogicalViews.length; i++) {
|
|
10010
10611
|
const input_semanticLogicalViews_item = input_semanticLogicalViews[i];
|
|
10011
10612
|
let input_semanticLogicalViews_item_id = input_semanticLogicalViews_id + '__' + i;
|
|
10012
|
-
input_semanticLogicalViews[i] = ingest$
|
|
10613
|
+
input_semanticLogicalViews[i] = ingest$b(input_semanticLogicalViews_item, {
|
|
10013
10614
|
fullPath: input_semanticLogicalViews_item_id,
|
|
10014
10615
|
propertyName: i,
|
|
10015
10616
|
parent: {
|
|
@@ -10027,7 +10628,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
10027
10628
|
for (let i = 0; i < input_semanticMetrics.length; i++) {
|
|
10028
10629
|
const input_semanticMetrics_item = input_semanticMetrics[i];
|
|
10029
10630
|
let input_semanticMetrics_item_id = input_semanticMetrics_id + '__' + i;
|
|
10030
|
-
input_semanticMetrics[i] = ingest$
|
|
10631
|
+
input_semanticMetrics[i] = ingest$a(input_semanticMetrics_item, {
|
|
10031
10632
|
fullPath: input_semanticMetrics_item_id,
|
|
10032
10633
|
propertyName: i,
|
|
10033
10634
|
parent: {
|
|
@@ -10039,6 +10640,24 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
10039
10640
|
}, luvio, store, timestamp);
|
|
10040
10641
|
}
|
|
10041
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
|
+
}
|
|
10042
10661
|
const input_semanticParameters = input.semanticParameters;
|
|
10043
10662
|
const input_semanticParameters_id = path.fullPath + '__semanticParameters';
|
|
10044
10663
|
if (input_semanticParameters !== undefined) {
|
|
@@ -10063,7 +10682,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
10063
10682
|
for (let i = 0; i < input_semanticRelationships.length; i++) {
|
|
10064
10683
|
const input_semanticRelationships_item = input_semanticRelationships[i];
|
|
10065
10684
|
let input_semanticRelationships_item_id = input_semanticRelationships_id + '__' + i;
|
|
10066
|
-
input_semanticRelationships[i] = ingest$
|
|
10685
|
+
input_semanticRelationships[i] = ingest$e(input_semanticRelationships_item, {
|
|
10067
10686
|
fullPath: input_semanticRelationships_item_id,
|
|
10068
10687
|
propertyName: i,
|
|
10069
10688
|
parent: {
|
|
@@ -10078,9 +10697,9 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
10078
10697
|
return input;
|
|
10079
10698
|
}
|
|
10080
10699
|
const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
10081
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
10082
|
-
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$
|
|
10083
|
-
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();
|
|
10084
10703
|
return {
|
|
10085
10704
|
kind: 'Fragment',
|
|
10086
10705
|
version: VERSION$8,
|
|
@@ -10193,7 +10812,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
10193
10812
|
kind: 'Link',
|
|
10194
10813
|
plural: true,
|
|
10195
10814
|
required: false,
|
|
10196
|
-
fragment: select$
|
|
10815
|
+
fragment: select$L()
|
|
10197
10816
|
},
|
|
10198
10817
|
{
|
|
10199
10818
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -10205,7 +10824,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
10205
10824
|
kind: 'Link',
|
|
10206
10825
|
plural: true,
|
|
10207
10826
|
required: false,
|
|
10208
|
-
fragment: select$
|
|
10827
|
+
fragment: select$K()
|
|
10209
10828
|
},
|
|
10210
10829
|
{
|
|
10211
10830
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -10217,7 +10836,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
10217
10836
|
kind: 'Link',
|
|
10218
10837
|
plural: true,
|
|
10219
10838
|
required: false,
|
|
10220
|
-
fragment: select$
|
|
10839
|
+
fragment: select$J()
|
|
10221
10840
|
},
|
|
10222
10841
|
{
|
|
10223
10842
|
name: 'semanticDataObjectsUrl',
|
|
@@ -10229,7 +10848,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
10229
10848
|
kind: 'Link',
|
|
10230
10849
|
plural: true,
|
|
10231
10850
|
required: false,
|
|
10232
|
-
fragment: select$
|
|
10851
|
+
fragment: select$C()
|
|
10233
10852
|
},
|
|
10234
10853
|
{
|
|
10235
10854
|
name: 'semanticGroupingsUrl',
|
|
@@ -10241,13 +10860,20 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
10241
10860
|
kind: 'Link',
|
|
10242
10861
|
plural: true,
|
|
10243
10862
|
required: false,
|
|
10244
|
-
fragment: select$
|
|
10863
|
+
fragment: select$x()
|
|
10245
10864
|
},
|
|
10246
10865
|
{
|
|
10247
10866
|
name: 'semanticMetrics',
|
|
10248
10867
|
kind: 'Link',
|
|
10249
10868
|
plural: true,
|
|
10250
10869
|
required: false,
|
|
10870
|
+
fragment: select$s()
|
|
10871
|
+
},
|
|
10872
|
+
{
|
|
10873
|
+
name: 'semanticModelFilters',
|
|
10874
|
+
kind: 'Link',
|
|
10875
|
+
plural: true,
|
|
10876
|
+
required: false,
|
|
10251
10877
|
fragment: select$r()
|
|
10252
10878
|
},
|
|
10253
10879
|
{
|
|
@@ -10267,7 +10893,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
10267
10893
|
kind: 'Link',
|
|
10268
10894
|
plural: true,
|
|
10269
10895
|
required: false,
|
|
10270
|
-
fragment: select$
|
|
10896
|
+
fragment: select$A()
|
|
10271
10897
|
},
|
|
10272
10898
|
{
|
|
10273
10899
|
name: 'semanticRelationshipsUrl',
|
|
@@ -10557,7 +11183,7 @@ function equals$8(existing, incoming) {
|
|
|
10557
11183
|
return false;
|
|
10558
11184
|
}
|
|
10559
11185
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
10560
|
-
if (!(equals$
|
|
11186
|
+
if (!(equals$A(existing_baseModels_item, incoming_baseModels_item))) {
|
|
10561
11187
|
return false;
|
|
10562
11188
|
}
|
|
10563
11189
|
});
|
|
@@ -10593,7 +11219,7 @@ function equals$8(existing, incoming) {
|
|
|
10593
11219
|
return false;
|
|
10594
11220
|
}
|
|
10595
11221
|
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
10596
|
-
if (!(equals$
|
|
11222
|
+
if (!(equals$y(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
10597
11223
|
return false;
|
|
10598
11224
|
}
|
|
10599
11225
|
});
|
|
@@ -10611,7 +11237,7 @@ function equals$8(existing, incoming) {
|
|
|
10611
11237
|
return false;
|
|
10612
11238
|
}
|
|
10613
11239
|
const equals_fieldsOverrides_items = equalsArray(existing_fieldsOverrides, incoming_fieldsOverrides, (existing_fieldsOverrides_item, incoming_fieldsOverrides_item) => {
|
|
10614
|
-
if (!(equals$
|
|
11240
|
+
if (!(equals$x(existing_fieldsOverrides_item, incoming_fieldsOverrides_item))) {
|
|
10615
11241
|
return false;
|
|
10616
11242
|
}
|
|
10617
11243
|
});
|
|
@@ -10740,6 +11366,24 @@ function equals$8(existing, incoming) {
|
|
|
10740
11366
|
return false;
|
|
10741
11367
|
}
|
|
10742
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
|
+
}
|
|
10743
11387
|
const existing_semanticParameters = existing.semanticParameters;
|
|
10744
11388
|
const incoming_semanticParameters = incoming.semanticParameters;
|
|
10745
11389
|
// if at least one of these optionals is defined
|
|
@@ -10801,37 +11445,43 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10801
11445
|
if (input.semanticCalculatedDimensions !== undefined) {
|
|
10802
11446
|
const input_semanticCalculatedDimensions_length = input.semanticCalculatedDimensions.length;
|
|
10803
11447
|
for (let i = 0; i < input_semanticCalculatedDimensions_length; i++) {
|
|
10804
|
-
getTypeCacheKeys$
|
|
11448
|
+
getTypeCacheKeys$i(rootKeySet, luvio, input.semanticCalculatedDimensions[i]);
|
|
10805
11449
|
}
|
|
10806
11450
|
}
|
|
10807
11451
|
if (input.semanticCalculatedMeasurements !== undefined) {
|
|
10808
11452
|
const input_semanticCalculatedMeasurements_length = input.semanticCalculatedMeasurements.length;
|
|
10809
11453
|
for (let i = 0; i < input_semanticCalculatedMeasurements_length; i++) {
|
|
10810
|
-
getTypeCacheKeys$
|
|
11454
|
+
getTypeCacheKeys$h(rootKeySet, luvio, input.semanticCalculatedMeasurements[i]);
|
|
10811
11455
|
}
|
|
10812
11456
|
}
|
|
10813
11457
|
if (input.semanticDataObjects !== undefined) {
|
|
10814
11458
|
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
10815
11459
|
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
10816
|
-
getTypeCacheKeys$
|
|
11460
|
+
getTypeCacheKeys$g(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
10817
11461
|
}
|
|
10818
11462
|
}
|
|
10819
11463
|
if (input.semanticGroupings !== undefined) {
|
|
10820
11464
|
const input_semanticGroupings_length = input.semanticGroupings.length;
|
|
10821
11465
|
for (let i = 0; i < input_semanticGroupings_length; i++) {
|
|
10822
|
-
getTypeCacheKeys$
|
|
11466
|
+
getTypeCacheKeys$f(rootKeySet, luvio, input.semanticGroupings[i]);
|
|
10823
11467
|
}
|
|
10824
11468
|
}
|
|
10825
11469
|
if (input.semanticLogicalViews !== undefined) {
|
|
10826
11470
|
const input_semanticLogicalViews_length = input.semanticLogicalViews.length;
|
|
10827
11471
|
for (let i = 0; i < input_semanticLogicalViews_length; i++) {
|
|
10828
|
-
getTypeCacheKeys$
|
|
11472
|
+
getTypeCacheKeys$b(rootKeySet, luvio, input.semanticLogicalViews[i]);
|
|
10829
11473
|
}
|
|
10830
11474
|
}
|
|
10831
11475
|
if (input.semanticMetrics !== undefined) {
|
|
10832
11476
|
const input_semanticMetrics_length = input.semanticMetrics.length;
|
|
10833
11477
|
for (let i = 0; i < input_semanticMetrics_length; i++) {
|
|
10834
|
-
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]);
|
|
10835
11485
|
}
|
|
10836
11486
|
}
|
|
10837
11487
|
if (input.semanticParameters !== undefined) {
|
|
@@ -10843,7 +11493,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10843
11493
|
if (input.semanticRelationships !== undefined) {
|
|
10844
11494
|
const input_semanticRelationships_length = input.semanticRelationships.length;
|
|
10845
11495
|
for (let i = 0; i < input_semanticRelationships_length; i++) {
|
|
10846
|
-
getTypeCacheKeys$
|
|
11496
|
+
getTypeCacheKeys$e(rootKeySet, luvio, input.semanticRelationships[i]);
|
|
10847
11497
|
}
|
|
10848
11498
|
}
|
|
10849
11499
|
}
|
|
@@ -10905,6 +11555,7 @@ const createSemanticModel_ConfigPropertyMetadata = [
|
|
|
10905
11555
|
generateParamConfigMetadata('semanticGroupings', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10906
11556
|
generateParamConfigMetadata('semanticLogicalViews', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10907
11557
|
generateParamConfigMetadata('semanticMetrics', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11558
|
+
generateParamConfigMetadata('semanticModelFilter', false, 2 /* Body */, 4 /* Unsupported */),
|
|
10908
11559
|
generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10909
11560
|
generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10910
11561
|
];
|
|
@@ -10918,7 +11569,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10918
11569
|
const untrustedConfig_baseModels_array = [];
|
|
10919
11570
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
10920
11571
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
10921
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
11572
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$18(untrustedConfig_baseModels_item);
|
|
10922
11573
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
10923
11574
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
10924
11575
|
}
|
|
@@ -10930,7 +11581,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10930
11581
|
const untrustedConfig_externalConnections_array = [];
|
|
10931
11582
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
10932
11583
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
10933
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
11584
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$16(untrustedConfig_externalConnections_item);
|
|
10934
11585
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
10935
11586
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
10936
11587
|
}
|
|
@@ -10942,7 +11593,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10942
11593
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
10943
11594
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
10944
11595
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
10945
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
11596
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$15(untrustedConfig_fieldsOverrides_item);
|
|
10946
11597
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
10947
11598
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
10948
11599
|
}
|
|
@@ -10954,7 +11605,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10954
11605
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10955
11606
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10956
11607
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10957
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
11608
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$13(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10958
11609
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10959
11610
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10960
11611
|
}
|
|
@@ -10966,7 +11617,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10966
11617
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10967
11618
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10968
11619
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10969
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
11620
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$12(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10970
11621
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10971
11622
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10972
11623
|
}
|
|
@@ -10978,7 +11629,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10978
11629
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10979
11630
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
10980
11631
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
10981
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate
|
|
11632
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$$(untrustedConfig_semanticDataObjects_item);
|
|
10982
11633
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
10983
11634
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
10984
11635
|
}
|
|
@@ -10990,7 +11641,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10990
11641
|
const untrustedConfig_semanticGroupings_array = [];
|
|
10991
11642
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
10992
11643
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
10993
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
11644
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$U(untrustedConfig_semanticGroupings_item);
|
|
10994
11645
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
10995
11646
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
10996
11647
|
}
|
|
@@ -11002,7 +11653,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
11002
11653
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
11003
11654
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
11004
11655
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
11005
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
11656
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$P(untrustedConfig_semanticLogicalViews_item);
|
|
11006
11657
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
11007
11658
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
11008
11659
|
}
|
|
@@ -11014,19 +11665,24 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
11014
11665
|
const untrustedConfig_semanticMetrics_array = [];
|
|
11015
11666
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
11016
11667
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
11017
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
11668
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$K(untrustedConfig_semanticMetrics_item);
|
|
11018
11669
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
11019
11670
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
11020
11671
|
}
|
|
11021
11672
|
}
|
|
11022
11673
|
config.semanticMetrics = untrustedConfig_semanticMetrics_array;
|
|
11023
11674
|
}
|
|
11675
|
+
const untrustedConfig_semanticModelFilter = untrustedConfig.semanticModelFilter;
|
|
11676
|
+
const referenceSemanticModelFilterInputRepresentationValidationError = validate$J(untrustedConfig_semanticModelFilter);
|
|
11677
|
+
if (referenceSemanticModelFilterInputRepresentationValidationError === null) {
|
|
11678
|
+
config.semanticModelFilter = untrustedConfig_semanticModelFilter;
|
|
11679
|
+
}
|
|
11024
11680
|
const untrustedConfig_semanticParameters = untrustedConfig.semanticParameters;
|
|
11025
11681
|
if (ArrayIsArray$1(untrustedConfig_semanticParameters)) {
|
|
11026
11682
|
const untrustedConfig_semanticParameters_array = [];
|
|
11027
11683
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
11028
11684
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
11029
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
11685
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$I(untrustedConfig_semanticParameters_item);
|
|
11030
11686
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
11031
11687
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
11032
11688
|
}
|
|
@@ -11038,7 +11694,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
11038
11694
|
const untrustedConfig_semanticRelationships_array = [];
|
|
11039
11695
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
11040
11696
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
11041
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
11697
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$S(untrustedConfig_semanticRelationships_item);
|
|
11042
11698
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
11043
11699
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
11044
11700
|
}
|
|
@@ -11110,7 +11766,7 @@ function validate$c(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
11110
11766
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
11111
11767
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
11112
11768
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
11113
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
11769
|
+
const referencepath_statusConditions_itemValidationError = validate$1c(obj_statusConditions_item, path_statusConditions_item);
|
|
11114
11770
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
11115
11771
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionInputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
11116
11772
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11170,7 +11826,7 @@ function validate$a(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
11170
11826
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
11171
11827
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
11172
11828
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
11173
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
11829
|
+
const referencepath_statusConditions_itemValidationError = validate$1a(obj_statusConditions_item, path_statusConditions_item);
|
|
11174
11830
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
11175
11831
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
11176
11832
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11269,7 +11925,7 @@ function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
11269
11925
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
11270
11926
|
const obj_filters_item = obj_filters[i];
|
|
11271
11927
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
11272
|
-
const referencepath_filters_itemValidationError = validate$
|
|
11928
|
+
const referencepath_filters_itemValidationError = validate$D(obj_filters_item, path_filters_item);
|
|
11273
11929
|
if (referencepath_filters_itemValidationError !== null) {
|
|
11274
11930
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
11275
11931
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11330,7 +11986,7 @@ function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
11330
11986
|
if (obj.semanticMetric !== undefined) {
|
|
11331
11987
|
const obj_semanticMetric = obj.semanticMetric;
|
|
11332
11988
|
const path_semanticMetric = path + '.semanticMetric';
|
|
11333
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
11989
|
+
const referencepath_semanticMetricValidationError = validate$h(obj_semanticMetric, path_semanticMetric);
|
|
11334
11990
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
11335
11991
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
11336
11992
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11458,7 +12114,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11458
12114
|
const untrustedConfig_filters_array = [];
|
|
11459
12115
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
11460
12116
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
11461
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
12117
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$14(untrustedConfig_filters_item);
|
|
11462
12118
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
11463
12119
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
11464
12120
|
}
|
|
@@ -11605,7 +12261,7 @@ const deleteGoalFromSubMetricAdapterFactory = (luvio) => {
|
|
|
11605
12261
|
};
|
|
11606
12262
|
|
|
11607
12263
|
function keyBuilder$n(luvio, params) {
|
|
11608
|
-
return keyBuilder$
|
|
12264
|
+
return keyBuilder$C(luvio, {
|
|
11609
12265
|
subMetricNameOrId: params.queryParams.subMetricApiNameOrId,
|
|
11610
12266
|
startDate: params.queryParams.startDate,
|
|
11611
12267
|
endDate: params.queryParams.endDate
|
|
@@ -11615,7 +12271,7 @@ function getResponseCacheKeys$f(cacheKeyMap, luvio, resourceParams) {
|
|
|
11615
12271
|
const key = keyBuilder$n(luvio, resourceParams);
|
|
11616
12272
|
cacheKeyMap.set(key, {
|
|
11617
12273
|
namespace: keyPrefix,
|
|
11618
|
-
representationName: RepresentationType$
|
|
12274
|
+
representationName: RepresentationType$j,
|
|
11619
12275
|
mergeable: false
|
|
11620
12276
|
});
|
|
11621
12277
|
}
|
|
@@ -12022,22 +12678,22 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
|
|
|
12022
12678
|
};
|
|
12023
12679
|
|
|
12024
12680
|
function select$i(luvio, params) {
|
|
12025
|
-
return select$
|
|
12681
|
+
return select$S();
|
|
12026
12682
|
}
|
|
12027
12683
|
function keyBuilder$j(luvio, params) {
|
|
12028
|
-
return keyBuilder$
|
|
12684
|
+
return keyBuilder$C(luvio, {
|
|
12029
12685
|
subMetricNameOrId: params.queryParams.subMetricApiNameOrId,
|
|
12030
12686
|
startDate: params.queryParams.startDate,
|
|
12031
12687
|
endDate: params.queryParams.endDate
|
|
12032
12688
|
});
|
|
12033
12689
|
}
|
|
12034
12690
|
function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
|
|
12035
|
-
getTypeCacheKeys$
|
|
12691
|
+
getTypeCacheKeys$j(storeKeyMap, luvio, response);
|
|
12036
12692
|
}
|
|
12037
12693
|
function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
|
|
12038
12694
|
const { body } = response;
|
|
12039
12695
|
const key = keyBuilder$j(luvio, resourceParams);
|
|
12040
|
-
luvio.storeIngest(key, ingest$
|
|
12696
|
+
luvio.storeIngest(key, ingest$j, body);
|
|
12041
12697
|
const snapshot = luvio.storeLookup({
|
|
12042
12698
|
recordId: key,
|
|
12043
12699
|
node: select$i(),
|
|
@@ -12171,7 +12827,7 @@ const getSemanticGoalAdapterFactory = (luvio) => function SemanticAuthoring__get
|
|
|
12171
12827
|
};
|
|
12172
12828
|
const notifyChangeFactory$3 = (luvio, options) => {
|
|
12173
12829
|
return function getSsotSemanticModelsGoalsByModelApiNameOrIdNotifyChange(configs) {
|
|
12174
|
-
const keys = configs.map(c => keyBuilder$
|
|
12830
|
+
const keys = configs.map(c => keyBuilder$C(luvio, c));
|
|
12175
12831
|
luvio.getNotifyChangeStoreEntries(keys).then(entries => {
|
|
12176
12832
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
12177
12833
|
const { key, record: val } = entries[i];
|
|
@@ -12180,11 +12836,11 @@ const notifyChangeFactory$3 = (luvio, options) => {
|
|
|
12180
12836
|
.then((response) => {
|
|
12181
12837
|
return luvio.handleSuccessResponse(() => {
|
|
12182
12838
|
const { body } = response;
|
|
12183
|
-
luvio.storeIngest(key, ingest$
|
|
12839
|
+
luvio.storeIngest(key, ingest$j, body);
|
|
12184
12840
|
return luvio.storeBroadcast();
|
|
12185
12841
|
}, () => {
|
|
12186
12842
|
const cache = new StoreKeyMap();
|
|
12187
|
-
getTypeCacheKeys$
|
|
12843
|
+
getTypeCacheKeys$j(cache, luvio, response.body);
|
|
12188
12844
|
return cache;
|
|
12189
12845
|
});
|
|
12190
12846
|
}, (error) => {
|
|
@@ -12200,20 +12856,20 @@ const notifyChangeFactory$3 = (luvio, options) => {
|
|
|
12200
12856
|
};
|
|
12201
12857
|
|
|
12202
12858
|
function select$h(luvio, params) {
|
|
12203
|
-
return select$
|
|
12859
|
+
return select$s();
|
|
12204
12860
|
}
|
|
12205
12861
|
function keyBuilder$h(luvio, params) {
|
|
12206
|
-
return keyBuilder$
|
|
12862
|
+
return keyBuilder$t(luvio, {
|
|
12207
12863
|
name: params.urlParams.metricNameOrId
|
|
12208
12864
|
});
|
|
12209
12865
|
}
|
|
12210
12866
|
function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
|
|
12211
|
-
getTypeCacheKeys$
|
|
12867
|
+
getTypeCacheKeys$a(storeKeyMap, luvio, response);
|
|
12212
12868
|
}
|
|
12213
12869
|
function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
|
|
12214
12870
|
const { body } = response;
|
|
12215
12871
|
const key = keyBuilder$h(luvio, resourceParams);
|
|
12216
|
-
luvio.storeIngest(key, ingest$
|
|
12872
|
+
luvio.storeIngest(key, ingest$a, body);
|
|
12217
12873
|
const snapshot = luvio.storeLookup({
|
|
12218
12874
|
recordId: key,
|
|
12219
12875
|
node: select$h(),
|
|
@@ -12342,7 +12998,7 @@ const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
12342
12998
|
};
|
|
12343
12999
|
const notifyChangeFactory$2 = (luvio, options) => {
|
|
12344
13000
|
return function getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrIdNotifyChange(configs) {
|
|
12345
|
-
const keys = configs.map(c => keyBuilder$
|
|
13001
|
+
const keys = configs.map(c => keyBuilder$t(luvio, c));
|
|
12346
13002
|
luvio.getNotifyChangeStoreEntries(keys).then(entries => {
|
|
12347
13003
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
12348
13004
|
const { key, record: val } = entries[i];
|
|
@@ -12351,11 +13007,11 @@ const notifyChangeFactory$2 = (luvio, options) => {
|
|
|
12351
13007
|
.then((response) => {
|
|
12352
13008
|
return luvio.handleSuccessResponse(() => {
|
|
12353
13009
|
const { body } = response;
|
|
12354
|
-
luvio.storeIngest(key, ingest$
|
|
13010
|
+
luvio.storeIngest(key, ingest$a, body);
|
|
12355
13011
|
return luvio.storeBroadcast();
|
|
12356
13012
|
}, () => {
|
|
12357
13013
|
const cache = new StoreKeyMap();
|
|
12358
|
-
getTypeCacheKeys$
|
|
13014
|
+
getTypeCacheKeys$a(cache, luvio, response.body);
|
|
12359
13015
|
return cache;
|
|
12360
13016
|
});
|
|
12361
13017
|
}, (error) => {
|
|
@@ -12401,7 +13057,7 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
|
12401
13057
|
for (let i = 0; i < input_metrics.length; i++) {
|
|
12402
13058
|
const input_metrics_item = input_metrics[i];
|
|
12403
13059
|
let input_metrics_item_id = input_metrics_id + '__' + i;
|
|
12404
|
-
input_metrics[i] = ingest$
|
|
13060
|
+
input_metrics[i] = ingest$a(input_metrics_item, {
|
|
12405
13061
|
fullPath: input_metrics_item_id,
|
|
12406
13062
|
propertyName: i,
|
|
12407
13063
|
parent: {
|
|
@@ -12426,7 +13082,7 @@ const select$g = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
|
12426
13082
|
kind: 'Link',
|
|
12427
13083
|
plural: true,
|
|
12428
13084
|
required: false,
|
|
12429
|
-
fragment: select$
|
|
13085
|
+
fragment: select$s()
|
|
12430
13086
|
}
|
|
12431
13087
|
]
|
|
12432
13088
|
};
|
|
@@ -12475,7 +13131,7 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12475
13131
|
if (input.metrics !== undefined) {
|
|
12476
13132
|
const input_metrics_length = input.metrics.length;
|
|
12477
13133
|
for (let i = 0; i < input_metrics_length; i++) {
|
|
12478
|
-
getTypeCacheKeys$
|
|
13134
|
+
getTypeCacheKeys$a(rootKeySet, luvio, input.metrics[i]);
|
|
12479
13135
|
}
|
|
12480
13136
|
}
|
|
12481
13137
|
}
|
|
@@ -13340,7 +13996,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
13340
13996
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
13341
13997
|
const obj_baseModels_item = obj_baseModels[i];
|
|
13342
13998
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
13343
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
13999
|
+
const referencepath_baseModels_itemValidationError = validate$H(obj_baseModels_item, path_baseModels_item);
|
|
13344
14000
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
13345
14001
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
13346
14002
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13526,7 +14182,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
13526
14182
|
return v_error === undefined ? null : v_error;
|
|
13527
14183
|
}
|
|
13528
14184
|
const select$9 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
13529
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
14185
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$Q();
|
|
13530
14186
|
return {
|
|
13531
14187
|
kind: 'Fragment',
|
|
13532
14188
|
version: VERSION$2,
|
|
@@ -13951,7 +14607,7 @@ function equals$2(existing, incoming) {
|
|
|
13951
14607
|
return false;
|
|
13952
14608
|
}
|
|
13953
14609
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
13954
|
-
if (!(equals$
|
|
14610
|
+
if (!(equals$A(existing_baseModels_item, incoming_baseModels_item))) {
|
|
13955
14611
|
return false;
|
|
13956
14612
|
}
|
|
13957
14613
|
});
|
|
@@ -14990,7 +15646,7 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
14990
15646
|
const untrustedConfig_statusConditions_array = [];
|
|
14991
15647
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
14992
15648
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
14993
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
15649
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$1c(untrustedConfig_statusConditions_item);
|
|
14994
15650
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
14995
15651
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
14996
15652
|
}
|
|
@@ -15099,6 +15755,7 @@ const patchSemanticModel_ConfigPropertyMetadata = [
|
|
|
15099
15755
|
generateParamConfigMetadata('semanticGroupings', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
15100
15756
|
generateParamConfigMetadata('semanticLogicalViews', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
15101
15757
|
generateParamConfigMetadata('semanticMetrics', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
15758
|
+
generateParamConfigMetadata('semanticModelFilter', false, 2 /* Body */, 4 /* Unsupported */),
|
|
15102
15759
|
generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
15103
15760
|
generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
15104
15761
|
];
|
|
@@ -15112,7 +15769,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15112
15769
|
const untrustedConfig_baseModels_array = [];
|
|
15113
15770
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
15114
15771
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
15115
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
15772
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$18(untrustedConfig_baseModels_item);
|
|
15116
15773
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
15117
15774
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
15118
15775
|
}
|
|
@@ -15124,7 +15781,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15124
15781
|
const untrustedConfig_externalConnections_array = [];
|
|
15125
15782
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
15126
15783
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
15127
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
15784
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$16(untrustedConfig_externalConnections_item);
|
|
15128
15785
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
15129
15786
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
15130
15787
|
}
|
|
@@ -15136,7 +15793,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15136
15793
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
15137
15794
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
15138
15795
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
15139
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
15796
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$15(untrustedConfig_fieldsOverrides_item);
|
|
15140
15797
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
15141
15798
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
15142
15799
|
}
|
|
@@ -15148,7 +15805,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15148
15805
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
15149
15806
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
15150
15807
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
15151
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
15808
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$13(untrustedConfig_semanticCalculatedDimensions_item);
|
|
15152
15809
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
15153
15810
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
15154
15811
|
}
|
|
@@ -15160,7 +15817,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15160
15817
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
15161
15818
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
15162
15819
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
15163
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
15820
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$12(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
15164
15821
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
15165
15822
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
15166
15823
|
}
|
|
@@ -15172,7 +15829,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15172
15829
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
15173
15830
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
15174
15831
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
15175
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate
|
|
15832
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$$(untrustedConfig_semanticDataObjects_item);
|
|
15176
15833
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
15177
15834
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
15178
15835
|
}
|
|
@@ -15184,7 +15841,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15184
15841
|
const untrustedConfig_semanticGroupings_array = [];
|
|
15185
15842
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
15186
15843
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
15187
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
15844
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$U(untrustedConfig_semanticGroupings_item);
|
|
15188
15845
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
15189
15846
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
15190
15847
|
}
|
|
@@ -15196,7 +15853,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15196
15853
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
15197
15854
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
15198
15855
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
15199
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
15856
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$P(untrustedConfig_semanticLogicalViews_item);
|
|
15200
15857
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
15201
15858
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
15202
15859
|
}
|
|
@@ -15208,19 +15865,24 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15208
15865
|
const untrustedConfig_semanticMetrics_array = [];
|
|
15209
15866
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
15210
15867
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
15211
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
15868
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$K(untrustedConfig_semanticMetrics_item);
|
|
15212
15869
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
15213
15870
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
15214
15871
|
}
|
|
15215
15872
|
}
|
|
15216
15873
|
config.semanticMetrics = untrustedConfig_semanticMetrics_array;
|
|
15217
15874
|
}
|
|
15875
|
+
const untrustedConfig_semanticModelFilter = untrustedConfig.semanticModelFilter;
|
|
15876
|
+
const referenceSemanticModelFilterInputRepresentationValidationError = validate$J(untrustedConfig_semanticModelFilter);
|
|
15877
|
+
if (referenceSemanticModelFilterInputRepresentationValidationError === null) {
|
|
15878
|
+
config.semanticModelFilter = untrustedConfig_semanticModelFilter;
|
|
15879
|
+
}
|
|
15218
15880
|
const untrustedConfig_semanticParameters = untrustedConfig.semanticParameters;
|
|
15219
15881
|
if (ArrayIsArray$1(untrustedConfig_semanticParameters)) {
|
|
15220
15882
|
const untrustedConfig_semanticParameters_array = [];
|
|
15221
15883
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
15222
15884
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
15223
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
15885
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$I(untrustedConfig_semanticParameters_item);
|
|
15224
15886
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
15225
15887
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
15226
15888
|
}
|
|
@@ -15232,7 +15894,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
15232
15894
|
const untrustedConfig_semanticRelationships_array = [];
|
|
15233
15895
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
15234
15896
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
15235
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
15897
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$S(untrustedConfig_semanticRelationships_item);
|
|
15236
15898
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
15237
15899
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
15238
15900
|
}
|
|
@@ -15284,15 +15946,15 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
15284
15946
|
};
|
|
15285
15947
|
|
|
15286
15948
|
function select(luvio, params) {
|
|
15287
|
-
return select$
|
|
15949
|
+
return select$S();
|
|
15288
15950
|
}
|
|
15289
15951
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
15290
|
-
getTypeCacheKeys$
|
|
15952
|
+
getTypeCacheKeys$j(storeKeyMap, luvio, response);
|
|
15291
15953
|
}
|
|
15292
15954
|
function ingestSuccess(luvio, resourceParams, response) {
|
|
15293
15955
|
const { body } = response;
|
|
15294
|
-
const key = keyBuilderFromType$
|
|
15295
|
-
luvio.storeIngest(key, ingest$
|
|
15956
|
+
const key = keyBuilderFromType$d(luvio, body);
|
|
15957
|
+
luvio.storeIngest(key, ingest$j, body);
|
|
15296
15958
|
const snapshot = luvio.storeLookup({
|
|
15297
15959
|
recordId: key,
|
|
15298
15960
|
node: select(),
|
|
@@ -15340,7 +16002,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
15340
16002
|
const config = {};
|
|
15341
16003
|
typeCheckConfig$k(untrustedConfig, config, updateSemanticGoal_ConfigPropertyMetadata);
|
|
15342
16004
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
15343
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
16005
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$1d(untrustedConfig_dateRange);
|
|
15344
16006
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
15345
16007
|
config.dateRange = untrustedConfig_dateRange;
|
|
15346
16008
|
}
|
|
@@ -15349,7 +16011,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
15349
16011
|
const untrustedConfig_statusConditions_array = [];
|
|
15350
16012
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
15351
16013
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
15352
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
16014
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$1c(untrustedConfig_statusConditions_item);
|
|
15353
16015
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
15354
16016
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
15355
16017
|
}
|
|
@@ -15565,4 +16227,4 @@ withDefaultLuvio((luvio) => {
|
|
|
15565
16227
|
});
|
|
15566
16228
|
|
|
15567
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 };
|
|
15568
|
-
// version: 1.380.0-
|
|
16230
|
+
// version: 1.380.0-dev22-411853e059
|