@salesforce/lds-adapters-cdp-semantic-authoring 1.380.0-dev1 → 1.380.0-dev10
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 +723 -155
- package/dist/es/es2018/types/src/generated/adapters/getSemanticModel.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsShallowByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDataObjectOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticGoalOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticGroupingOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticInsightsSettingsInputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/SemanticInsightsSettingsOutputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMappedFieldOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMetricForecastConfigurationInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SemanticMetricForecastConfigurationOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SemanticMetricOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionOutputRepresentation.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/SemanticModelPartialOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticParameterOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticRelationshipOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticSubMetricOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticUnionOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +881 -313
- package/src/raml/api.raml +137 -1
package/sfdc/index.js
CHANGED
|
@@ -102,7 +102,7 @@ function createLink(ref) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
function validate$
|
|
105
|
+
function validate$1b(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$19(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
|
|
|
125
125
|
return v_error === undefined ? null : v_error;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
function validate$
|
|
128
|
+
function validate$1a(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$18(obj, path = 'SemanticGoalStatusConditionInputRepresentation
|
|
|
176
176
|
return v_error === undefined ? null : v_error;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
function validate$
|
|
179
|
+
function validate$19(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$17(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
|
|
|
195
195
|
return v_error === undefined ? null : v_error;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
function validate$
|
|
198
|
+
function validate$18(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$16(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$A = "8ade9728ba6d188b7fa9237cf944576e";
|
|
240
|
+
function validate$17(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$15(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$19(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');
|
|
@@ -296,6 +296,13 @@ function validate$15(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
|
296
296
|
if (typeof obj_id !== 'string') {
|
|
297
297
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
298
298
|
}
|
|
299
|
+
if (obj.isQueryable !== undefined) {
|
|
300
|
+
const obj_isQueryable = obj.isQueryable;
|
|
301
|
+
const path_isQueryable = path + '.isQueryable';
|
|
302
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
303
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
304
|
+
}
|
|
305
|
+
}
|
|
299
306
|
if (obj.label !== undefined) {
|
|
300
307
|
const obj_label = obj.label;
|
|
301
308
|
const path_label = path + '.label';
|
|
@@ -325,7 +332,7 @@ function validate$15(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
|
325
332
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
326
333
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
327
334
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
328
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
335
|
+
const referencepath_statusConditions_itemValidationError = validate$18(obj_statusConditions_item, path_statusConditions_item);
|
|
329
336
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
330
337
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
331
338
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -355,15 +362,15 @@ function keyBuilderFromType$c(luvio, object) {
|
|
|
355
362
|
function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
356
363
|
return input;
|
|
357
364
|
}
|
|
358
|
-
const select$
|
|
365
|
+
const select$R = function SemanticGoalOutputRepresentationSelect() {
|
|
359
366
|
return {
|
|
360
367
|
kind: 'Fragment',
|
|
361
|
-
version: VERSION$
|
|
368
|
+
version: VERSION$A,
|
|
362
369
|
private: [],
|
|
363
370
|
opaque: true
|
|
364
371
|
};
|
|
365
372
|
};
|
|
366
|
-
function equals$
|
|
373
|
+
function equals$A(existing, incoming) {
|
|
367
374
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
368
375
|
return false;
|
|
369
376
|
}
|
|
@@ -371,14 +378,14 @@ function equals$z(existing, incoming) {
|
|
|
371
378
|
}
|
|
372
379
|
const ingest$i = function SemanticGoalOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
373
380
|
if (process.env.NODE_ENV !== 'production') {
|
|
374
|
-
const validateError = validate$
|
|
381
|
+
const validateError = validate$17(input);
|
|
375
382
|
if (validateError !== null) {
|
|
376
383
|
throw validateError;
|
|
377
384
|
}
|
|
378
385
|
}
|
|
379
386
|
const key = keyBuilderFromType$c(luvio, input);
|
|
380
387
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
381
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$
|
|
388
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$A, RepresentationType$i, equals$A);
|
|
382
389
|
return createLink(key);
|
|
383
390
|
};
|
|
384
391
|
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -391,8 +398,8 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
391
398
|
});
|
|
392
399
|
}
|
|
393
400
|
|
|
394
|
-
function select$
|
|
395
|
-
return select$
|
|
401
|
+
function select$Q(luvio, params) {
|
|
402
|
+
return select$R();
|
|
396
403
|
}
|
|
397
404
|
function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
|
|
398
405
|
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
@@ -403,7 +410,7 @@ function ingestSuccess$g(luvio, resourceParams, response) {
|
|
|
403
410
|
luvio.storeIngest(key, ingest$i, body);
|
|
404
411
|
const snapshot = luvio.storeLookup({
|
|
405
412
|
recordId: key,
|
|
406
|
-
node: select$
|
|
413
|
+
node: select$Q(),
|
|
407
414
|
variables: {},
|
|
408
415
|
});
|
|
409
416
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -445,7 +452,7 @@ function typeCheckConfig$j(untrustedConfig) {
|
|
|
445
452
|
const config = {};
|
|
446
453
|
typeCheckConfig$k(untrustedConfig, config, createSemanticGoal_ConfigPropertyMetadata);
|
|
447
454
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
448
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
455
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$1b(untrustedConfig_dateRange);
|
|
449
456
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
450
457
|
config.dateRange = untrustedConfig_dateRange;
|
|
451
458
|
}
|
|
@@ -454,7 +461,7 @@ function typeCheckConfig$j(untrustedConfig) {
|
|
|
454
461
|
const untrustedConfig_statusConditions_array = [];
|
|
455
462
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
456
463
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
457
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
464
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$1a(untrustedConfig_statusConditions_item);
|
|
458
465
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
459
466
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
460
467
|
}
|
|
@@ -505,7 +512,7 @@ const createSemanticGoalAdapterFactory = (luvio) => {
|
|
|
505
512
|
};
|
|
506
513
|
};
|
|
507
514
|
|
|
508
|
-
function validate$
|
|
515
|
+
function validate$16(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
509
516
|
const v_error = (() => {
|
|
510
517
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
511
518
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -521,7 +528,7 @@ function validate$14(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
521
528
|
return v_error === undefined ? null : v_error;
|
|
522
529
|
}
|
|
523
530
|
|
|
524
|
-
function validate$
|
|
531
|
+
function validate$15(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation') {
|
|
525
532
|
const v_error = (() => {
|
|
526
533
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
527
534
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -550,7 +557,7 @@ function validate$13(obj, path = 'SemanticModelExternalConnectionTableauPublishe
|
|
|
550
557
|
return v_error === undefined ? null : v_error;
|
|
551
558
|
}
|
|
552
559
|
|
|
553
|
-
function validate$
|
|
560
|
+
function validate$14(obj, path = 'SemanticModelExternalConnectionInputRepresentation') {
|
|
554
561
|
const v_error = (() => {
|
|
555
562
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
556
563
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -570,7 +577,7 @@ function validate$12(obj, path = 'SemanticModelExternalConnectionInputRepresenta
|
|
|
570
577
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
571
578
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
572
579
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
573
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
580
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$15(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
574
581
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
575
582
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
576
583
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -586,7 +593,7 @@ function validate$12(obj, path = 'SemanticModelExternalConnectionInputRepresenta
|
|
|
586
593
|
return v_error === undefined ? null : v_error;
|
|
587
594
|
}
|
|
588
595
|
|
|
589
|
-
function validate$
|
|
596
|
+
function validate$13(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
590
597
|
const v_error = (() => {
|
|
591
598
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
592
599
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -616,7 +623,7 @@ function validate$11(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
|
616
623
|
return v_error === undefined ? null : v_error;
|
|
617
624
|
}
|
|
618
625
|
|
|
619
|
-
function validate$
|
|
626
|
+
function validate$12(obj, path = 'SemanticFilterInputRepresentation') {
|
|
620
627
|
const v_error = (() => {
|
|
621
628
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
622
629
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -660,7 +667,7 @@ function validate$10(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
660
667
|
return v_error === undefined ? null : v_error;
|
|
661
668
|
}
|
|
662
669
|
|
|
663
|
-
function validate
|
|
670
|
+
function validate$11(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
664
671
|
const v_error = (() => {
|
|
665
672
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
666
673
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -723,7 +730,7 @@ function validate$$(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
723
730
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
724
731
|
const obj_filters_item = obj_filters[i];
|
|
725
732
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
726
|
-
const referencepath_filters_itemValidationError = validate$
|
|
733
|
+
const referencepath_filters_itemValidationError = validate$12(obj_filters_item, path_filters_item);
|
|
727
734
|
if (referencepath_filters_itemValidationError !== null) {
|
|
728
735
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
729
736
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -777,7 +784,7 @@ function validate$$(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
777
784
|
return v_error === undefined ? null : v_error;
|
|
778
785
|
}
|
|
779
786
|
|
|
780
|
-
function validate$
|
|
787
|
+
function validate$10(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
781
788
|
const v_error = (() => {
|
|
782
789
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
783
790
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -854,7 +861,7 @@ function validate$_(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
854
861
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
855
862
|
const obj_filters_item = obj_filters[i];
|
|
856
863
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
857
|
-
const referencepath_filters_itemValidationError = validate$
|
|
864
|
+
const referencepath_filters_itemValidationError = validate$12(obj_filters_item, path_filters_item);
|
|
858
865
|
if (referencepath_filters_itemValidationError !== null) {
|
|
859
866
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
860
867
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -929,7 +936,7 @@ function validate$_(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
929
936
|
return v_error === undefined ? null : v_error;
|
|
930
937
|
}
|
|
931
938
|
|
|
932
|
-
function validate
|
|
939
|
+
function validate$$(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
933
940
|
const v_error = (() => {
|
|
934
941
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
935
942
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1008,7 +1015,7 @@ function validate$Z(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
1008
1015
|
return v_error === undefined ? null : v_error;
|
|
1009
1016
|
}
|
|
1010
1017
|
|
|
1011
|
-
function validate$
|
|
1018
|
+
function validate$_(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
1012
1019
|
const v_error = (() => {
|
|
1013
1020
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1014
1021
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1115,7 +1122,7 @@ function validate$Y(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
1115
1122
|
return v_error === undefined ? null : v_error;
|
|
1116
1123
|
}
|
|
1117
1124
|
|
|
1118
|
-
function validate$
|
|
1125
|
+
function validate$Z(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
1119
1126
|
const v_error = (() => {
|
|
1120
1127
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1121
1128
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1164,7 +1171,7 @@ function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1164
1171
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1165
1172
|
const obj_filters_item = obj_filters[i];
|
|
1166
1173
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1167
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1174
|
+
const referencepath_filters_itemValidationError = validate$12(obj_filters_item, path_filters_item);
|
|
1168
1175
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1169
1176
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1170
1177
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1202,7 +1209,7 @@ function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1202
1209
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
1203
1210
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
1204
1211
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
1205
|
-
const referencepath_semanticDimensions_itemValidationError = validate
|
|
1212
|
+
const referencepath_semanticDimensions_itemValidationError = validate$$(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
1206
1213
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
1207
1214
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
1208
1215
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1219,7 +1226,7 @@ function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1219
1226
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
1220
1227
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
1221
1228
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
1222
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
1229
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$_(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
1223
1230
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
1224
1231
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
1225
1232
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1245,7 +1252,7 @@ function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1245
1252
|
return v_error === undefined ? null : v_error;
|
|
1246
1253
|
}
|
|
1247
1254
|
|
|
1248
|
-
function validate$
|
|
1255
|
+
function validate$Y(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
1249
1256
|
const v_error = (() => {
|
|
1250
1257
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1251
1258
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1257,7 +1264,7 @@ function validate$W(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
1257
1264
|
return v_error === undefined ? null : v_error;
|
|
1258
1265
|
}
|
|
1259
1266
|
|
|
1260
|
-
function validate$
|
|
1267
|
+
function validate$X(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
1261
1268
|
const v_error = (() => {
|
|
1262
1269
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1263
1270
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1287,7 +1294,7 @@ function validate$V(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
1287
1294
|
return v_error === undefined ? null : v_error;
|
|
1288
1295
|
}
|
|
1289
1296
|
|
|
1290
|
-
function validate$
|
|
1297
|
+
function validate$W(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
1291
1298
|
const v_error = (() => {
|
|
1292
1299
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1293
1300
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1301,7 +1308,7 @@ function validate$U(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1301
1308
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
1302
1309
|
const obj_groups_item = obj_groups[i];
|
|
1303
1310
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
1304
|
-
const referencepath_groups_itemValidationError = validate$
|
|
1311
|
+
const referencepath_groups_itemValidationError = validate$X(obj_groups_item, path_groups_item);
|
|
1305
1312
|
if (referencepath_groups_itemValidationError !== null) {
|
|
1306
1313
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
1307
1314
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1320,7 +1327,7 @@ function validate$U(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1320
1327
|
return v_error === undefined ? null : v_error;
|
|
1321
1328
|
}
|
|
1322
1329
|
|
|
1323
|
-
function validate$
|
|
1330
|
+
function validate$V(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
1324
1331
|
const v_error = (() => {
|
|
1325
1332
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1326
1333
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1328,7 +1335,7 @@ function validate$T(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1328
1335
|
if (obj.binDimension !== undefined) {
|
|
1329
1336
|
const obj_binDimension = obj.binDimension;
|
|
1330
1337
|
const path_binDimension = path + '.binDimension';
|
|
1331
|
-
const referencepath_binDimensionValidationError = validate$
|
|
1338
|
+
const referencepath_binDimensionValidationError = validate$Y(obj_binDimension, path_binDimension);
|
|
1332
1339
|
if (referencepath_binDimensionValidationError !== null) {
|
|
1333
1340
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
1334
1341
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1338,7 +1345,7 @@ function validate$T(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1338
1345
|
if (obj.groupDimension !== undefined) {
|
|
1339
1346
|
const obj_groupDimension = obj.groupDimension;
|
|
1340
1347
|
const path_groupDimension = path + '.groupDimension';
|
|
1341
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
1348
|
+
const referencepath_groupDimensionValidationError = validate$W(obj_groupDimension, path_groupDimension);
|
|
1342
1349
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
1343
1350
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
1344
1351
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1349,7 +1356,7 @@ function validate$T(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1349
1356
|
return v_error === undefined ? null : v_error;
|
|
1350
1357
|
}
|
|
1351
1358
|
|
|
1352
|
-
function validate$
|
|
1359
|
+
function validate$U(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
1353
1360
|
const v_error = (() => {
|
|
1354
1361
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1355
1362
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1372,7 +1379,7 @@ function validate$S(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
1372
1379
|
return v_error === undefined ? null : v_error;
|
|
1373
1380
|
}
|
|
1374
1381
|
|
|
1375
|
-
function validate$
|
|
1382
|
+
function validate$T(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
1376
1383
|
const v_error = (() => {
|
|
1377
1384
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1378
1385
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1387,7 +1394,7 @@ function validate$R(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1387
1394
|
if (obj.tableFieldReference !== undefined) {
|
|
1388
1395
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
1389
1396
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
1390
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
1397
|
+
const referencepath_tableFieldReferenceValidationError = validate$U(obj_tableFieldReference, path_tableFieldReference);
|
|
1391
1398
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
1392
1399
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
1393
1400
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1398,7 +1405,7 @@ function validate$R(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1398
1405
|
return v_error === undefined ? null : v_error;
|
|
1399
1406
|
}
|
|
1400
1407
|
|
|
1401
|
-
function validate$
|
|
1408
|
+
function validate$S(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
1402
1409
|
const v_error = (() => {
|
|
1403
1410
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1404
1411
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1413,7 +1420,7 @@ function validate$Q(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1413
1420
|
if (obj.configuration !== undefined) {
|
|
1414
1421
|
const obj_configuration = obj.configuration;
|
|
1415
1422
|
const path_configuration = path + '.configuration';
|
|
1416
|
-
const referencepath_configurationValidationError = validate$
|
|
1423
|
+
const referencepath_configurationValidationError = validate$V(obj_configuration, path_configuration);
|
|
1417
1424
|
if (referencepath_configurationValidationError !== null) {
|
|
1418
1425
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
1419
1426
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1430,7 +1437,7 @@ function validate$Q(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1430
1437
|
if (obj.fieldReference !== undefined) {
|
|
1431
1438
|
const obj_fieldReference = obj.fieldReference;
|
|
1432
1439
|
const path_fieldReference = path + '.fieldReference';
|
|
1433
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
1440
|
+
const referencepath_fieldReferenceValidationError = validate$T(obj_fieldReference, path_fieldReference);
|
|
1434
1441
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
1435
1442
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
1436
1443
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1455,7 +1462,7 @@ function validate$Q(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1455
1462
|
return v_error === undefined ? null : v_error;
|
|
1456
1463
|
}
|
|
1457
1464
|
|
|
1458
|
-
function validate$
|
|
1465
|
+
function validate$R(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
1459
1466
|
const v_error = (() => {
|
|
1460
1467
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1461
1468
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1499,7 +1506,7 @@ function validate$P(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
1499
1506
|
return v_error === undefined ? null : v_error;
|
|
1500
1507
|
}
|
|
1501
1508
|
|
|
1502
|
-
function validate$
|
|
1509
|
+
function validate$Q(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
1503
1510
|
const v_error = (() => {
|
|
1504
1511
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1505
1512
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1527,7 +1534,7 @@ function validate$O(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1527
1534
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
1528
1535
|
const obj_criteria_item = obj_criteria[i];
|
|
1529
1536
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
1530
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
1537
|
+
const referencepath_criteria_itemValidationError = validate$R(obj_criteria_item, path_criteria_item);
|
|
1531
1538
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
1532
1539
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
1533
1540
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1588,7 +1595,7 @@ function validate$O(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1588
1595
|
return v_error === undefined ? null : v_error;
|
|
1589
1596
|
}
|
|
1590
1597
|
|
|
1591
|
-
function validate$
|
|
1598
|
+
function validate$P(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
1592
1599
|
const v_error = (() => {
|
|
1593
1600
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1594
1601
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1616,7 +1623,7 @@ function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1616
1623
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
1617
1624
|
const obj_fields_item = obj_fields[i];
|
|
1618
1625
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
1619
|
-
const referencepath_fields_itemValidationError = validate$
|
|
1626
|
+
const referencepath_fields_itemValidationError = validate$U(obj_fields_item, path_fields_item);
|
|
1620
1627
|
if (referencepath_fields_itemValidationError !== null) {
|
|
1621
1628
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
1622
1629
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1641,7 +1648,7 @@ function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1641
1648
|
if (obj.semanticDimension !== undefined) {
|
|
1642
1649
|
const obj_semanticDimension = obj.semanticDimension;
|
|
1643
1650
|
const path_semanticDimension = path + '.semanticDimension';
|
|
1644
|
-
const referencepath_semanticDimensionValidationError = validate
|
|
1651
|
+
const referencepath_semanticDimensionValidationError = validate$$(obj_semanticDimension, path_semanticDimension);
|
|
1645
1652
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
1646
1653
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
1647
1654
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1651,7 +1658,7 @@ function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1651
1658
|
if (obj.semanticMeasurement !== undefined) {
|
|
1652
1659
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
1653
1660
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
1654
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
1661
|
+
const referencepath_semanticMeasurementValidationError = validate$_(obj_semanticMeasurement, path_semanticMeasurement);
|
|
1655
1662
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
1656
1663
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
1657
1664
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1662,7 +1669,7 @@ function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1662
1669
|
return v_error === undefined ? null : v_error;
|
|
1663
1670
|
}
|
|
1664
1671
|
|
|
1665
|
-
function validate$
|
|
1672
|
+
function validate$O(obj, path = 'SemanticUnionInputRepresentation') {
|
|
1666
1673
|
const v_error = (() => {
|
|
1667
1674
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1668
1675
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1697,7 +1704,7 @@ function validate$M(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1697
1704
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1698
1705
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1699
1706
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1700
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1707
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$Z(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1701
1708
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1702
1709
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1703
1710
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1714,7 +1721,7 @@ function validate$M(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1714
1721
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
1715
1722
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
1716
1723
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
1717
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
1724
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$P(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
1718
1725
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
1719
1726
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
1720
1727
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1726,7 +1733,7 @@ function validate$M(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1726
1733
|
return v_error === undefined ? null : v_error;
|
|
1727
1734
|
}
|
|
1728
1735
|
|
|
1729
|
-
function validate$
|
|
1736
|
+
function validate$N(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
1730
1737
|
const v_error = (() => {
|
|
1731
1738
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1732
1739
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1768,7 +1775,7 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1768
1775
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1769
1776
|
const obj_filters_item = obj_filters[i];
|
|
1770
1777
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1771
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1778
|
+
const referencepath_filters_itemValidationError = validate$12(obj_filters_item, path_filters_item);
|
|
1772
1779
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1773
1780
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1774
1781
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1799,7 +1806,7 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1799
1806
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1800
1807
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1801
1808
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1802
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1809
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$Z(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1803
1810
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1804
1811
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1805
1812
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1816,7 +1823,7 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1816
1823
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
1817
1824
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
1818
1825
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
1819
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
1826
|
+
const referencepath_semanticRelationships_itemValidationError = validate$Q(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
1820
1827
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
1821
1828
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
1822
1829
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1833,7 +1840,7 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1833
1840
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
1834
1841
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
1835
1842
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
1836
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
1843
|
+
const referencepath_semanticUnions_itemValidationError = validate$O(obj_semanticUnions_item, path_semanticUnions_item);
|
|
1837
1844
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
1838
1845
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
1839
1846
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1852,7 +1859,26 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1852
1859
|
return v_error === undefined ? null : v_error;
|
|
1853
1860
|
}
|
|
1854
1861
|
|
|
1855
|
-
function validate$
|
|
1862
|
+
function validate$M(obj, path = 'SemanticMetricForecastConfigurationInputRepresentation') {
|
|
1863
|
+
const v_error = (() => {
|
|
1864
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1865
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1866
|
+
}
|
|
1867
|
+
if (obj.forecastMeasurementReference !== undefined) {
|
|
1868
|
+
const obj_forecastMeasurementReference = obj.forecastMeasurementReference;
|
|
1869
|
+
const path_forecastMeasurementReference = path + '.forecastMeasurementReference';
|
|
1870
|
+
const referencepath_forecastMeasurementReferenceValidationError = validate$T(obj_forecastMeasurementReference, path_forecastMeasurementReference);
|
|
1871
|
+
if (referencepath_forecastMeasurementReferenceValidationError !== null) {
|
|
1872
|
+
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_forecastMeasurementReference + '")\n';
|
|
1873
|
+
message += referencepath_forecastMeasurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1874
|
+
return new TypeError(message);
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
})();
|
|
1878
|
+
return v_error === undefined ? null : v_error;
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
function validate$L(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
1856
1882
|
const v_error = (() => {
|
|
1857
1883
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1858
1884
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1860,7 +1886,7 @@ function validate$K(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1860
1886
|
if (obj.identifierDimensionReference !== undefined) {
|
|
1861
1887
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
1862
1888
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
1863
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
1889
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$T(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
1864
1890
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
1865
1891
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
1866
1892
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1870,7 +1896,7 @@ function validate$K(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1870
1896
|
if (obj.namingDimensionReference !== undefined) {
|
|
1871
1897
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
1872
1898
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
1873
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
1899
|
+
const referencepath_namingDimensionReferenceValidationError = validate$T(obj_namingDimensionReference, path_namingDimensionReference);
|
|
1874
1900
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
1875
1901
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
1876
1902
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1881,7 +1907,7 @@ function validate$K(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1881
1907
|
return v_error === undefined ? null : v_error;
|
|
1882
1908
|
}
|
|
1883
1909
|
|
|
1884
|
-
function validate$
|
|
1910
|
+
function validate$K(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
1885
1911
|
const v_error = (() => {
|
|
1886
1912
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1887
1913
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1904,15 +1930,25 @@ function validate$J(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
1904
1930
|
return v_error === undefined ? null : v_error;
|
|
1905
1931
|
}
|
|
1906
1932
|
|
|
1907
|
-
function validate$
|
|
1933
|
+
function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
1908
1934
|
const v_error = (() => {
|
|
1909
1935
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1910
1936
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1911
1937
|
}
|
|
1938
|
+
if (obj.forecastConfiguration !== undefined) {
|
|
1939
|
+
const obj_forecastConfiguration = obj.forecastConfiguration;
|
|
1940
|
+
const path_forecastConfiguration = path + '.forecastConfiguration';
|
|
1941
|
+
const referencepath_forecastConfigurationValidationError = validate$M(obj_forecastConfiguration, path_forecastConfiguration);
|
|
1942
|
+
if (referencepath_forecastConfigurationValidationError !== null) {
|
|
1943
|
+
let message = 'Object doesn\'t match SemanticMetricForecastConfigurationInputRepresentation (at "' + path_forecastConfiguration + '")\n';
|
|
1944
|
+
message += referencepath_forecastConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1945
|
+
return new TypeError(message);
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1912
1948
|
if (obj.identifyingDimension !== undefined) {
|
|
1913
1949
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
1914
1950
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
1915
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
1951
|
+
const referencepath_identifyingDimensionValidationError = validate$L(obj_identifyingDimension, path_identifyingDimension);
|
|
1916
1952
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
1917
1953
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
1918
1954
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1928,7 +1964,7 @@ function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1928
1964
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
1929
1965
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
1930
1966
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
1931
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
1967
|
+
const referencepath_insightTypes_itemValidationError = validate$K(obj_insightTypes_item, path_insightTypes_item);
|
|
1932
1968
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
1933
1969
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
1934
1970
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1945,7 +1981,7 @@ function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1945
1981
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
1946
1982
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
1947
1983
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
1948
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
1984
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$T(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
1949
1985
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
1950
1986
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
1951
1987
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1978,7 +2014,7 @@ function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1978
2014
|
return v_error === undefined ? null : v_error;
|
|
1979
2015
|
}
|
|
1980
2016
|
|
|
1981
|
-
function validate$
|
|
2017
|
+
function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
1982
2018
|
const v_error = (() => {
|
|
1983
2019
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1984
2020
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1992,7 +2028,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1992
2028
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
1993
2029
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
1994
2030
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
1995
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
2031
|
+
const referencepath_additionalDimensions_itemValidationError = validate$T(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
1996
2032
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
1997
2033
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
1998
2034
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2037,7 +2073,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2037
2073
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2038
2074
|
const obj_filters_item = obj_filters[i];
|
|
2039
2075
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2040
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2076
|
+
const referencepath_filters_itemValidationError = validate$12(obj_filters_item, path_filters_item);
|
|
2041
2077
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2042
2078
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2043
2079
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2048,7 +2084,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2048
2084
|
if (obj.insightsSettings !== undefined) {
|
|
2049
2085
|
const obj_insightsSettings = obj.insightsSettings;
|
|
2050
2086
|
const path_insightsSettings = path + '.insightsSettings';
|
|
2051
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
2087
|
+
const referencepath_insightsSettingsValidationError = validate$J(obj_insightsSettings, path_insightsSettings);
|
|
2052
2088
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
2053
2089
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
2054
2090
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2072,7 +2108,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2072
2108
|
if (obj.measurementReference !== undefined) {
|
|
2073
2109
|
const obj_measurementReference = obj.measurementReference;
|
|
2074
2110
|
const path_measurementReference = path + '.measurementReference';
|
|
2075
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
2111
|
+
const referencepath_measurementReferenceValidationError = validate$T(obj_measurementReference, path_measurementReference);
|
|
2076
2112
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
2077
2113
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
2078
2114
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2082,7 +2118,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2082
2118
|
if (obj.timeDimensionReference !== undefined) {
|
|
2083
2119
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
2084
2120
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
2085
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
2121
|
+
const referencepath_timeDimensionReferenceValidationError = validate$T(obj_timeDimensionReference, path_timeDimensionReference);
|
|
2086
2122
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
2087
2123
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
2088
2124
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2107,7 +2143,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2107
2143
|
return v_error === undefined ? null : v_error;
|
|
2108
2144
|
}
|
|
2109
2145
|
|
|
2110
|
-
function validate$
|
|
2146
|
+
function validate$H(obj, path = 'SemanticParameterInputRepresentation') {
|
|
2111
2147
|
const v_error = (() => {
|
|
2112
2148
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2113
2149
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2207,8 +2243,8 @@ function validate$G(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
2207
2243
|
return v_error === undefined ? null : v_error;
|
|
2208
2244
|
}
|
|
2209
2245
|
|
|
2210
|
-
const VERSION$
|
|
2211
|
-
function validate$
|
|
2246
|
+
const VERSION$z = "3a32d382e7a2268096278aa8e5c6761a";
|
|
2247
|
+
function validate$G(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
2212
2248
|
const v_error = (() => {
|
|
2213
2249
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2214
2250
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2228,10 +2264,10 @@ function validate$F(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
|
2228
2264
|
})();
|
|
2229
2265
|
return v_error === undefined ? null : v_error;
|
|
2230
2266
|
}
|
|
2231
|
-
const select$
|
|
2267
|
+
const select$P = function SemanticBaseModelOutputRepresentationSelect() {
|
|
2232
2268
|
return {
|
|
2233
2269
|
kind: 'Fragment',
|
|
2234
|
-
version: VERSION$
|
|
2270
|
+
version: VERSION$z,
|
|
2235
2271
|
private: [],
|
|
2236
2272
|
selections: [
|
|
2237
2273
|
{
|
|
@@ -2246,7 +2282,7 @@ const select$O = function SemanticBaseModelOutputRepresentationSelect() {
|
|
|
2246
2282
|
]
|
|
2247
2283
|
};
|
|
2248
2284
|
};
|
|
2249
|
-
function equals$
|
|
2285
|
+
function equals$z(existing, incoming) {
|
|
2250
2286
|
const existing_apiName = existing.apiName;
|
|
2251
2287
|
const incoming_apiName = incoming.apiName;
|
|
2252
2288
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -2268,8 +2304,8 @@ function equals$y(existing, incoming) {
|
|
|
2268
2304
|
return true;
|
|
2269
2305
|
}
|
|
2270
2306
|
|
|
2271
|
-
const VERSION$
|
|
2272
|
-
function validate$
|
|
2307
|
+
const VERSION$y = "221b0931360d7fcb0a1402b0b82071bd";
|
|
2308
|
+
function validate$F(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation') {
|
|
2273
2309
|
const v_error = (() => {
|
|
2274
2310
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2275
2311
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2297,10 +2333,10 @@ function validate$E(obj, path = 'SemanticModelExternalConnectionTableauPublished
|
|
|
2297
2333
|
})();
|
|
2298
2334
|
return v_error === undefined ? null : v_error;
|
|
2299
2335
|
}
|
|
2300
|
-
const select$
|
|
2336
|
+
const select$O = function SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentationSelect() {
|
|
2301
2337
|
return {
|
|
2302
2338
|
kind: 'Fragment',
|
|
2303
|
-
version: VERSION$
|
|
2339
|
+
version: VERSION$y,
|
|
2304
2340
|
private: [],
|
|
2305
2341
|
selections: [
|
|
2306
2342
|
{
|
|
@@ -2322,7 +2358,7 @@ const select$N = function SemanticModelExternalConnectionTableauPublishedDataSou
|
|
|
2322
2358
|
]
|
|
2323
2359
|
};
|
|
2324
2360
|
};
|
|
2325
|
-
function equals$
|
|
2361
|
+
function equals$y(existing, incoming) {
|
|
2326
2362
|
const existing_dataSourceId = existing.dataSourceId;
|
|
2327
2363
|
const incoming_dataSourceId = incoming.dataSourceId;
|
|
2328
2364
|
if (!(existing_dataSourceId === incoming_dataSourceId)) {
|
|
@@ -2346,8 +2382,8 @@ function equals$x(existing, incoming) {
|
|
|
2346
2382
|
return true;
|
|
2347
2383
|
}
|
|
2348
2384
|
|
|
2349
|
-
const VERSION$
|
|
2350
|
-
function validate$
|
|
2385
|
+
const VERSION$x = "d39ef07b537fde1ac49a10bfc73d7db1";
|
|
2386
|
+
function validate$E(obj, path = 'SemanticModelExternalConnectionOutputRepresentation') {
|
|
2351
2387
|
const v_error = (() => {
|
|
2352
2388
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2353
2389
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2369,6 +2405,13 @@ function validate$D(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
2369
2405
|
if (typeof obj_id !== 'string') {
|
|
2370
2406
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2371
2407
|
}
|
|
2408
|
+
if (obj.isQueryable !== undefined) {
|
|
2409
|
+
const obj_isQueryable = obj.isQueryable;
|
|
2410
|
+
const path_isQueryable = path + '.isQueryable';
|
|
2411
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
2412
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
2413
|
+
}
|
|
2414
|
+
}
|
|
2372
2415
|
if (obj.label !== undefined) {
|
|
2373
2416
|
const obj_label = obj.label;
|
|
2374
2417
|
const path_label = path + '.label';
|
|
@@ -2379,7 +2422,7 @@ function validate$D(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
2379
2422
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
2380
2423
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
2381
2424
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
2382
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
2425
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$F(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
2383
2426
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
2384
2427
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
2385
2428
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2394,11 +2437,11 @@ function validate$D(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
2394
2437
|
})();
|
|
2395
2438
|
return v_error === undefined ? null : v_error;
|
|
2396
2439
|
}
|
|
2397
|
-
const select$
|
|
2398
|
-
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$
|
|
2440
|
+
const select$N = function SemanticModelExternalConnectionOutputRepresentationSelect() {
|
|
2441
|
+
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$O();
|
|
2399
2442
|
return {
|
|
2400
2443
|
kind: 'Fragment',
|
|
2401
|
-
version: VERSION$
|
|
2444
|
+
version: VERSION$x,
|
|
2402
2445
|
private: [],
|
|
2403
2446
|
selections: [
|
|
2404
2447
|
{
|
|
@@ -2414,6 +2457,11 @@ const select$M = function SemanticModelExternalConnectionOutputRepresentationSel
|
|
|
2414
2457
|
name: 'id',
|
|
2415
2458
|
kind: 'Scalar'
|
|
2416
2459
|
},
|
|
2460
|
+
{
|
|
2461
|
+
name: 'isQueryable',
|
|
2462
|
+
kind: 'Scalar',
|
|
2463
|
+
required: false
|
|
2464
|
+
},
|
|
2417
2465
|
{
|
|
2418
2466
|
name: 'label',
|
|
2419
2467
|
kind: 'Scalar',
|
|
@@ -2432,7 +2480,7 @@ const select$M = function SemanticModelExternalConnectionOutputRepresentationSel
|
|
|
2432
2480
|
]
|
|
2433
2481
|
};
|
|
2434
2482
|
};
|
|
2435
|
-
function equals$
|
|
2483
|
+
function equals$x(existing, incoming) {
|
|
2436
2484
|
const existing_apiName = existing.apiName;
|
|
2437
2485
|
const incoming_apiName = incoming.apiName;
|
|
2438
2486
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -2456,6 +2504,19 @@ function equals$w(existing, incoming) {
|
|
|
2456
2504
|
if (!(existing_id === incoming_id)) {
|
|
2457
2505
|
return false;
|
|
2458
2506
|
}
|
|
2507
|
+
const existing_isQueryable = existing.isQueryable;
|
|
2508
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
2509
|
+
// if at least one of these optionals is defined
|
|
2510
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
2511
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2512
|
+
// not equal
|
|
2513
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
2514
|
+
return false;
|
|
2515
|
+
}
|
|
2516
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
2517
|
+
return false;
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2459
2520
|
const existing_label = existing.label;
|
|
2460
2521
|
const incoming_label = incoming.label;
|
|
2461
2522
|
// if at least one of these optionals is defined
|
|
@@ -2483,15 +2544,15 @@ function equals$w(existing, incoming) {
|
|
|
2483
2544
|
if (existing_tableauPublishedDataSource === undefined || incoming_tableauPublishedDataSource === undefined) {
|
|
2484
2545
|
return false;
|
|
2485
2546
|
}
|
|
2486
|
-
if (!(equals$
|
|
2547
|
+
if (!(equals$y(existing_tableauPublishedDataSource, incoming_tableauPublishedDataSource))) {
|
|
2487
2548
|
return false;
|
|
2488
2549
|
}
|
|
2489
2550
|
}
|
|
2490
2551
|
return true;
|
|
2491
2552
|
}
|
|
2492
2553
|
|
|
2493
|
-
const VERSION$
|
|
2494
|
-
function validate$
|
|
2554
|
+
const VERSION$w = "6f06bef394bf9744da80affc7b8109c6";
|
|
2555
|
+
function validate$D(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
2495
2556
|
const v_error = (() => {
|
|
2496
2557
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2497
2558
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2531,10 +2592,10 @@ function validate$C(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
|
2531
2592
|
})();
|
|
2532
2593
|
return v_error === undefined ? null : v_error;
|
|
2533
2594
|
}
|
|
2534
|
-
const select$
|
|
2595
|
+
const select$M = function SemanticOverrideOutputRepresentationSelect() {
|
|
2535
2596
|
return {
|
|
2536
2597
|
kind: 'Fragment',
|
|
2537
|
-
version: VERSION$
|
|
2598
|
+
version: VERSION$w,
|
|
2538
2599
|
private: [],
|
|
2539
2600
|
selections: [
|
|
2540
2601
|
{
|
|
@@ -2565,7 +2626,7 @@ const select$L = function SemanticOverrideOutputRepresentationSelect() {
|
|
|
2565
2626
|
]
|
|
2566
2627
|
};
|
|
2567
2628
|
};
|
|
2568
|
-
function equals$
|
|
2629
|
+
function equals$w(existing, incoming) {
|
|
2569
2630
|
const existing_entityFqn = existing.entityFqn;
|
|
2570
2631
|
const incoming_entityFqn = incoming.entityFqn;
|
|
2571
2632
|
if (!(existing_entityFqn === incoming_entityFqn)) {
|
|
@@ -2607,8 +2668,8 @@ function equals$v(existing, incoming) {
|
|
|
2607
2668
|
return true;
|
|
2608
2669
|
}
|
|
2609
2670
|
|
|
2610
|
-
const VERSION$
|
|
2611
|
-
function validate$
|
|
2671
|
+
const VERSION$v = "358bb714d100a35ad75fc928fa462760";
|
|
2672
|
+
function validate$C(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
2612
2673
|
const v_error = (() => {
|
|
2613
2674
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2614
2675
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2651,10 +2712,10 @@ function validate$B(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
|
2651
2712
|
})();
|
|
2652
2713
|
return v_error === undefined ? null : v_error;
|
|
2653
2714
|
}
|
|
2654
|
-
const select$
|
|
2715
|
+
const select$L = function SemanticFilterOutputRepresentationSelect() {
|
|
2655
2716
|
return {
|
|
2656
2717
|
kind: 'Fragment',
|
|
2657
|
-
version: VERSION$
|
|
2718
|
+
version: VERSION$v,
|
|
2658
2719
|
private: [],
|
|
2659
2720
|
selections: [
|
|
2660
2721
|
{
|
|
@@ -2681,7 +2742,7 @@ const select$K = function SemanticFilterOutputRepresentationSelect() {
|
|
|
2681
2742
|
]
|
|
2682
2743
|
};
|
|
2683
2744
|
};
|
|
2684
|
-
function equals$
|
|
2745
|
+
function equals$v(existing, incoming) {
|
|
2685
2746
|
const existing_fieldName = existing.fieldName;
|
|
2686
2747
|
const incoming_fieldName = incoming.fieldName;
|
|
2687
2748
|
// if at least one of these optionals is defined
|
|
@@ -2742,8 +2803,8 @@ function equals$u(existing, incoming) {
|
|
|
2742
2803
|
return true;
|
|
2743
2804
|
}
|
|
2744
2805
|
|
|
2745
|
-
const VERSION$
|
|
2746
|
-
function validate$
|
|
2806
|
+
const VERSION$u = "0ff409d003cd74094400b475d698bf15";
|
|
2807
|
+
function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
2747
2808
|
const v_error = (() => {
|
|
2748
2809
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2749
2810
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2819,6 +2880,13 @@ function validate$A(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2819
2880
|
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
2820
2881
|
}
|
|
2821
2882
|
}
|
|
2883
|
+
if (obj.externalDataType !== undefined) {
|
|
2884
|
+
const obj_externalDataType = obj.externalDataType;
|
|
2885
|
+
const path_externalDataType = path + '.externalDataType';
|
|
2886
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
2887
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
2888
|
+
}
|
|
2889
|
+
}
|
|
2822
2890
|
if (obj.externalStorageName !== undefined) {
|
|
2823
2891
|
const obj_externalStorageName = obj.externalStorageName;
|
|
2824
2892
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -2842,7 +2910,7 @@ function validate$A(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2842
2910
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2843
2911
|
const obj_filters_item = obj_filters[i];
|
|
2844
2912
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2845
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2913
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
2846
2914
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2847
2915
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
2848
2916
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2862,6 +2930,13 @@ function validate$A(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2862
2930
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
2863
2931
|
}
|
|
2864
2932
|
}
|
|
2933
|
+
if (obj.isQueryable !== undefined) {
|
|
2934
|
+
const obj_isQueryable = obj.isQueryable;
|
|
2935
|
+
const path_isQueryable = path + '.isQueryable';
|
|
2936
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
2937
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
2938
|
+
}
|
|
2939
|
+
}
|
|
2865
2940
|
if (obj.isSystemDefinition !== undefined) {
|
|
2866
2941
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
2867
2942
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -2948,11 +3023,11 @@ function keyBuilderFromType$b(luvio, object) {
|
|
|
2948
3023
|
function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
2949
3024
|
return input;
|
|
2950
3025
|
}
|
|
2951
|
-
const select$
|
|
2952
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
3026
|
+
const select$K = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
3027
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
|
|
2953
3028
|
return {
|
|
2954
3029
|
kind: 'Fragment',
|
|
2955
|
-
version: VERSION$
|
|
3030
|
+
version: VERSION$u,
|
|
2956
3031
|
private: [],
|
|
2957
3032
|
selections: [
|
|
2958
3033
|
{
|
|
@@ -3007,6 +3082,11 @@ const select$J = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
3007
3082
|
kind: 'Scalar',
|
|
3008
3083
|
required: false
|
|
3009
3084
|
},
|
|
3085
|
+
{
|
|
3086
|
+
name: 'externalDataType',
|
|
3087
|
+
kind: 'Scalar',
|
|
3088
|
+
required: false
|
|
3089
|
+
},
|
|
3010
3090
|
{
|
|
3011
3091
|
name: 'externalStorageName',
|
|
3012
3092
|
kind: 'Scalar',
|
|
@@ -3033,6 +3113,11 @@ const select$J = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
3033
3113
|
kind: 'Scalar',
|
|
3034
3114
|
required: false
|
|
3035
3115
|
},
|
|
3116
|
+
{
|
|
3117
|
+
name: 'isQueryable',
|
|
3118
|
+
kind: 'Scalar',
|
|
3119
|
+
required: false
|
|
3120
|
+
},
|
|
3036
3121
|
{
|
|
3037
3122
|
name: 'isSystemDefinition',
|
|
3038
3123
|
kind: 'Scalar',
|
|
@@ -3086,7 +3171,7 @@ const select$J = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
3086
3171
|
]
|
|
3087
3172
|
};
|
|
3088
3173
|
};
|
|
3089
|
-
function equals$
|
|
3174
|
+
function equals$u(existing, incoming) {
|
|
3090
3175
|
const existing_isOverrideBase = existing.isOverrideBase;
|
|
3091
3176
|
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
3092
3177
|
// if at least one of these optionals is defined
|
|
@@ -3258,6 +3343,19 @@ function equals$t(existing, incoming) {
|
|
|
3258
3343
|
return false;
|
|
3259
3344
|
}
|
|
3260
3345
|
}
|
|
3346
|
+
const existing_externalDataType = existing.externalDataType;
|
|
3347
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
3348
|
+
// if at least one of these optionals is defined
|
|
3349
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
3350
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3351
|
+
// not equal
|
|
3352
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
3353
|
+
return false;
|
|
3354
|
+
}
|
|
3355
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
3356
|
+
return false;
|
|
3357
|
+
}
|
|
3358
|
+
}
|
|
3261
3359
|
const existing_externalStorageName = existing.externalStorageName;
|
|
3262
3360
|
const incoming_externalStorageName = incoming.externalStorageName;
|
|
3263
3361
|
// if at least one of these optionals is defined
|
|
@@ -3289,6 +3387,19 @@ function equals$t(existing, incoming) {
|
|
|
3289
3387
|
if (!(existing_id === incoming_id)) {
|
|
3290
3388
|
return false;
|
|
3291
3389
|
}
|
|
3390
|
+
const existing_isQueryable = existing.isQueryable;
|
|
3391
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
3392
|
+
// if at least one of these optionals is defined
|
|
3393
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
3394
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3395
|
+
// not equal
|
|
3396
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
3397
|
+
return false;
|
|
3398
|
+
}
|
|
3399
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
3400
|
+
return false;
|
|
3401
|
+
}
|
|
3402
|
+
}
|
|
3292
3403
|
const existing_label = existing.label;
|
|
3293
3404
|
const incoming_label = incoming.label;
|
|
3294
3405
|
// if at least one of these optionals is defined
|
|
@@ -3390,7 +3501,7 @@ function equals$t(existing, incoming) {
|
|
|
3390
3501
|
return false;
|
|
3391
3502
|
}
|
|
3392
3503
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
3393
|
-
if (!(equals$
|
|
3504
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
3394
3505
|
return false;
|
|
3395
3506
|
}
|
|
3396
3507
|
});
|
|
@@ -3402,14 +3513,14 @@ function equals$t(existing, incoming) {
|
|
|
3402
3513
|
}
|
|
3403
3514
|
const ingest$h = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3404
3515
|
if (process.env.NODE_ENV !== 'production') {
|
|
3405
|
-
const validateError = validate$
|
|
3516
|
+
const validateError = validate$B(input);
|
|
3406
3517
|
if (validateError !== null) {
|
|
3407
3518
|
throw validateError;
|
|
3408
3519
|
}
|
|
3409
3520
|
}
|
|
3410
3521
|
const key = keyBuilderFromType$b(luvio, input);
|
|
3411
3522
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
3412
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$
|
|
3523
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$u, RepresentationType$h, equals$u);
|
|
3413
3524
|
return createLink(key);
|
|
3414
3525
|
};
|
|
3415
3526
|
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3422,8 +3533,8 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3422
3533
|
});
|
|
3423
3534
|
}
|
|
3424
3535
|
|
|
3425
|
-
const VERSION$
|
|
3426
|
-
function validate$
|
|
3536
|
+
const VERSION$t = "65b35c82c52febf0709785df41c57ac3";
|
|
3537
|
+
function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
3427
3538
|
const v_error = (() => {
|
|
3428
3539
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3429
3540
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3513,6 +3624,13 @@ function validate$z(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3513
3624
|
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
3514
3625
|
}
|
|
3515
3626
|
}
|
|
3627
|
+
if (obj.externalDataType !== undefined) {
|
|
3628
|
+
const obj_externalDataType = obj.externalDataType;
|
|
3629
|
+
const path_externalDataType = path + '.externalDataType';
|
|
3630
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
3631
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
3632
|
+
}
|
|
3633
|
+
}
|
|
3516
3634
|
if (obj.externalStorageName !== undefined) {
|
|
3517
3635
|
const obj_externalStorageName = obj.externalStorageName;
|
|
3518
3636
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -3536,7 +3654,7 @@ function validate$z(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3536
3654
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3537
3655
|
const obj_filters_item = obj_filters[i];
|
|
3538
3656
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3539
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3657
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
3540
3658
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3541
3659
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
3542
3660
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3563,6 +3681,13 @@ function validate$z(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3563
3681
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
3564
3682
|
}
|
|
3565
3683
|
}
|
|
3684
|
+
if (obj.isQueryable !== undefined) {
|
|
3685
|
+
const obj_isQueryable = obj.isQueryable;
|
|
3686
|
+
const path_isQueryable = path + '.isQueryable';
|
|
3687
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
3688
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
3689
|
+
}
|
|
3690
|
+
}
|
|
3566
3691
|
if (obj.isSystemDefinition !== undefined) {
|
|
3567
3692
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
3568
3693
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -3670,11 +3795,11 @@ function keyBuilderFromType$a(luvio, object) {
|
|
|
3670
3795
|
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
3671
3796
|
return input;
|
|
3672
3797
|
}
|
|
3673
|
-
const select$
|
|
3674
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
3798
|
+
const select$J = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
3799
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
|
|
3675
3800
|
return {
|
|
3676
3801
|
kind: 'Fragment',
|
|
3677
|
-
version: VERSION$
|
|
3802
|
+
version: VERSION$t,
|
|
3678
3803
|
private: [],
|
|
3679
3804
|
selections: [
|
|
3680
3805
|
{
|
|
@@ -3739,6 +3864,11 @@ const select$I = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3739
3864
|
kind: 'Scalar',
|
|
3740
3865
|
required: false
|
|
3741
3866
|
},
|
|
3867
|
+
{
|
|
3868
|
+
name: 'externalDataType',
|
|
3869
|
+
kind: 'Scalar',
|
|
3870
|
+
required: false
|
|
3871
|
+
},
|
|
3742
3872
|
{
|
|
3743
3873
|
name: 'externalStorageName',
|
|
3744
3874
|
kind: 'Scalar',
|
|
@@ -3770,6 +3900,11 @@ const select$I = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3770
3900
|
kind: 'Scalar',
|
|
3771
3901
|
required: false
|
|
3772
3902
|
},
|
|
3903
|
+
{
|
|
3904
|
+
name: 'isQueryable',
|
|
3905
|
+
kind: 'Scalar',
|
|
3906
|
+
required: false
|
|
3907
|
+
},
|
|
3773
3908
|
{
|
|
3774
3909
|
name: 'isSystemDefinition',
|
|
3775
3910
|
kind: 'Scalar',
|
|
@@ -3838,7 +3973,7 @@ const select$I = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3838
3973
|
]
|
|
3839
3974
|
};
|
|
3840
3975
|
};
|
|
3841
|
-
function equals$
|
|
3976
|
+
function equals$t(existing, incoming) {
|
|
3842
3977
|
const existing_isAggregatable = existing.isAggregatable;
|
|
3843
3978
|
const incoming_isAggregatable = incoming.isAggregatable;
|
|
3844
3979
|
// if at least one of these optionals is defined
|
|
@@ -4062,6 +4197,19 @@ function equals$s(existing, incoming) {
|
|
|
4062
4197
|
return false;
|
|
4063
4198
|
}
|
|
4064
4199
|
}
|
|
4200
|
+
const existing_externalDataType = existing.externalDataType;
|
|
4201
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
4202
|
+
// if at least one of these optionals is defined
|
|
4203
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
4204
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4205
|
+
// not equal
|
|
4206
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
4207
|
+
return false;
|
|
4208
|
+
}
|
|
4209
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
4210
|
+
return false;
|
|
4211
|
+
}
|
|
4212
|
+
}
|
|
4065
4213
|
const existing_externalStorageName = existing.externalStorageName;
|
|
4066
4214
|
const incoming_externalStorageName = incoming.externalStorageName;
|
|
4067
4215
|
// if at least one of these optionals is defined
|
|
@@ -4093,6 +4241,19 @@ function equals$s(existing, incoming) {
|
|
|
4093
4241
|
if (!(existing_id === incoming_id)) {
|
|
4094
4242
|
return false;
|
|
4095
4243
|
}
|
|
4244
|
+
const existing_isQueryable = existing.isQueryable;
|
|
4245
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
4246
|
+
// if at least one of these optionals is defined
|
|
4247
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
4248
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4249
|
+
// not equal
|
|
4250
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
4251
|
+
return false;
|
|
4252
|
+
}
|
|
4253
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
4254
|
+
return false;
|
|
4255
|
+
}
|
|
4256
|
+
}
|
|
4096
4257
|
const existing_label = existing.label;
|
|
4097
4258
|
const incoming_label = incoming.label;
|
|
4098
4259
|
// if at least one of these optionals is defined
|
|
@@ -4220,7 +4381,7 @@ function equals$s(existing, incoming) {
|
|
|
4220
4381
|
return false;
|
|
4221
4382
|
}
|
|
4222
4383
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
4223
|
-
if (!(equals$
|
|
4384
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
4224
4385
|
return false;
|
|
4225
4386
|
}
|
|
4226
4387
|
});
|
|
@@ -4232,14 +4393,14 @@ function equals$s(existing, incoming) {
|
|
|
4232
4393
|
}
|
|
4233
4394
|
const ingest$g = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4234
4395
|
if (process.env.NODE_ENV !== 'production') {
|
|
4235
|
-
const validateError = validate$
|
|
4396
|
+
const validateError = validate$A(input);
|
|
4236
4397
|
if (validateError !== null) {
|
|
4237
4398
|
throw validateError;
|
|
4238
4399
|
}
|
|
4239
4400
|
}
|
|
4240
4401
|
const key = keyBuilderFromType$a(luvio, input);
|
|
4241
4402
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4242
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$
|
|
4403
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$t, RepresentationType$g, equals$t);
|
|
4243
4404
|
return createLink(key);
|
|
4244
4405
|
};
|
|
4245
4406
|
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4252,7 +4413,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4252
4413
|
});
|
|
4253
4414
|
}
|
|
4254
4415
|
|
|
4255
|
-
function validate$
|
|
4416
|
+
function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
4256
4417
|
const v_error = (() => {
|
|
4257
4418
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4258
4419
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4321,6 +4482,13 @@ function validate$y(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
4321
4482
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
4322
4483
|
}
|
|
4323
4484
|
}
|
|
4485
|
+
if (obj.externalDataType !== undefined) {
|
|
4486
|
+
const obj_externalDataType = obj.externalDataType;
|
|
4487
|
+
const path_externalDataType = path + '.externalDataType';
|
|
4488
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
4489
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
4490
|
+
}
|
|
4491
|
+
}
|
|
4324
4492
|
if (obj.externalStorageName !== undefined) {
|
|
4325
4493
|
const obj_externalStorageName = obj.externalStorageName;
|
|
4326
4494
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -4347,6 +4515,13 @@ function validate$y(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
4347
4515
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
4348
4516
|
}
|
|
4349
4517
|
}
|
|
4518
|
+
if (obj.isQueryable !== undefined) {
|
|
4519
|
+
const obj_isQueryable = obj.isQueryable;
|
|
4520
|
+
const path_isQueryable = path + '.isQueryable';
|
|
4521
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
4522
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
4523
|
+
}
|
|
4524
|
+
}
|
|
4350
4525
|
if (obj.isSystemDefinition !== undefined) {
|
|
4351
4526
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
4352
4527
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -4421,7 +4596,7 @@ function validate$y(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
4421
4596
|
return v_error === undefined ? null : v_error;
|
|
4422
4597
|
}
|
|
4423
4598
|
|
|
4424
|
-
function validate$
|
|
4599
|
+
function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
4425
4600
|
const v_error = (() => {
|
|
4426
4601
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4427
4602
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4504,6 +4679,13 @@ function validate$x(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4504
4679
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
4505
4680
|
}
|
|
4506
4681
|
}
|
|
4682
|
+
if (obj.externalDataType !== undefined) {
|
|
4683
|
+
const obj_externalDataType = obj.externalDataType;
|
|
4684
|
+
const path_externalDataType = path + '.externalDataType';
|
|
4685
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
4686
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
4687
|
+
}
|
|
4688
|
+
}
|
|
4507
4689
|
if (obj.externalStorageName !== undefined) {
|
|
4508
4690
|
const obj_externalStorageName = obj.externalStorageName;
|
|
4509
4691
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -4537,6 +4719,13 @@ function validate$x(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4537
4719
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
4538
4720
|
}
|
|
4539
4721
|
}
|
|
4722
|
+
if (obj.isQueryable !== undefined) {
|
|
4723
|
+
const obj_isQueryable = obj.isQueryable;
|
|
4724
|
+
const path_isQueryable = path + '.isQueryable';
|
|
4725
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
4726
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
4727
|
+
}
|
|
4728
|
+
}
|
|
4540
4729
|
if (obj.isSystemDefinition !== undefined) {
|
|
4541
4730
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
4542
4731
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -4625,8 +4814,8 @@ function validate$x(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4625
4814
|
return v_error === undefined ? null : v_error;
|
|
4626
4815
|
}
|
|
4627
4816
|
|
|
4628
|
-
const VERSION$
|
|
4629
|
-
function validate$
|
|
4817
|
+
const VERSION$s = "7804fea5e1a3894ad9c1e89a2ce17ab9";
|
|
4818
|
+
function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
4630
4819
|
const v_error = (() => {
|
|
4631
4820
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4632
4821
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4704,7 +4893,7 @@ function validate$w(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4704
4893
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4705
4894
|
const obj_filters_item = obj_filters[i];
|
|
4706
4895
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4707
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4896
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
4708
4897
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4709
4898
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4710
4899
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4717,6 +4906,13 @@ function validate$w(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4717
4906
|
if (typeof obj_id !== 'string') {
|
|
4718
4907
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
4719
4908
|
}
|
|
4909
|
+
if (obj.isQueryable !== undefined) {
|
|
4910
|
+
const obj_isQueryable = obj.isQueryable;
|
|
4911
|
+
const path_isQueryable = path + '.isQueryable';
|
|
4912
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
4913
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
4914
|
+
}
|
|
4915
|
+
}
|
|
4720
4916
|
if (obj.isSystemDefinition !== undefined) {
|
|
4721
4917
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
4722
4918
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -4768,7 +4964,7 @@ function validate$w(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4768
4964
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
4769
4965
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
4770
4966
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
4771
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
4967
|
+
const referencepath_semanticDimensions_itemValidationError = validate$z(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
4772
4968
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
4773
4969
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
4774
4970
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4792,7 +4988,7 @@ function validate$w(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4792
4988
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
4793
4989
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
4794
4990
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
4795
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
4991
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$y(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
4796
4992
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
4797
4993
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
4798
4994
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4844,15 +5040,15 @@ function keyBuilderFromType$9(luvio, object) {
|
|
|
4844
5040
|
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
4845
5041
|
return input;
|
|
4846
5042
|
}
|
|
4847
|
-
const select$
|
|
5043
|
+
const select$I = function SemanticDataObjectOutputRepresentationSelect() {
|
|
4848
5044
|
return {
|
|
4849
5045
|
kind: 'Fragment',
|
|
4850
|
-
version: VERSION$
|
|
5046
|
+
version: VERSION$s,
|
|
4851
5047
|
private: [],
|
|
4852
5048
|
opaque: true
|
|
4853
5049
|
};
|
|
4854
5050
|
};
|
|
4855
|
-
function equals$
|
|
5051
|
+
function equals$s(existing, incoming) {
|
|
4856
5052
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
4857
5053
|
return false;
|
|
4858
5054
|
}
|
|
@@ -4860,14 +5056,14 @@ function equals$r(existing, incoming) {
|
|
|
4860
5056
|
}
|
|
4861
5057
|
const ingest$f = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4862
5058
|
if (process.env.NODE_ENV !== 'production') {
|
|
4863
|
-
const validateError = validate$
|
|
5059
|
+
const validateError = validate$x(input);
|
|
4864
5060
|
if (validateError !== null) {
|
|
4865
5061
|
throw validateError;
|
|
4866
5062
|
}
|
|
4867
5063
|
}
|
|
4868
5064
|
const key = keyBuilderFromType$9(luvio, input);
|
|
4869
5065
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4870
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$
|
|
5066
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$s, RepresentationType$f, equals$s);
|
|
4871
5067
|
return createLink(key);
|
|
4872
5068
|
};
|
|
4873
5069
|
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4880,8 +5076,8 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4880
5076
|
});
|
|
4881
5077
|
}
|
|
4882
5078
|
|
|
4883
|
-
const VERSION$
|
|
4884
|
-
function validate$
|
|
5079
|
+
const VERSION$r = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
5080
|
+
function validate$w(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
4885
5081
|
const v_error = (() => {
|
|
4886
5082
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4887
5083
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4890,10 +5086,10 @@ function validate$v(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
4890
5086
|
})();
|
|
4891
5087
|
return v_error === undefined ? null : v_error;
|
|
4892
5088
|
}
|
|
4893
|
-
const select$
|
|
5089
|
+
const select$H = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
4894
5090
|
return {
|
|
4895
5091
|
kind: 'Fragment',
|
|
4896
|
-
version: VERSION$
|
|
5092
|
+
version: VERSION$r,
|
|
4897
5093
|
private: [],
|
|
4898
5094
|
selections: [
|
|
4899
5095
|
{
|
|
@@ -4903,7 +5099,7 @@ const select$G = function BinDimensionConfigurationOutputRepresentationSelect()
|
|
|
4903
5099
|
]
|
|
4904
5100
|
};
|
|
4905
5101
|
};
|
|
4906
|
-
function equals$
|
|
5102
|
+
function equals$r(existing, incoming) {
|
|
4907
5103
|
const existing_constantBinSize = existing.constantBinSize;
|
|
4908
5104
|
const incoming_constantBinSize = incoming.constantBinSize;
|
|
4909
5105
|
if (!(existing_constantBinSize === incoming_constantBinSize)) {
|
|
@@ -4912,8 +5108,8 @@ function equals$q(existing, incoming) {
|
|
|
4912
5108
|
return true;
|
|
4913
5109
|
}
|
|
4914
5110
|
|
|
4915
|
-
const VERSION$
|
|
4916
|
-
function validate$
|
|
5111
|
+
const VERSION$q = "2cdadcd630abb7b981b2d131880a68c0";
|
|
5112
|
+
function validate$v(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
4917
5113
|
const v_error = (() => {
|
|
4918
5114
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4919
5115
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4940,10 +5136,10 @@ function validate$u(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
4940
5136
|
})();
|
|
4941
5137
|
return v_error === undefined ? null : v_error;
|
|
4942
5138
|
}
|
|
4943
|
-
const select$
|
|
5139
|
+
const select$G = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
4944
5140
|
return {
|
|
4945
5141
|
kind: 'Fragment',
|
|
4946
|
-
version: VERSION$
|
|
5142
|
+
version: VERSION$q,
|
|
4947
5143
|
private: [],
|
|
4948
5144
|
selections: [
|
|
4949
5145
|
{
|
|
@@ -4959,7 +5155,7 @@ const select$F = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
|
4959
5155
|
]
|
|
4960
5156
|
};
|
|
4961
5157
|
};
|
|
4962
|
-
function equals$
|
|
5158
|
+
function equals$q(existing, incoming) {
|
|
4963
5159
|
const existing_name = existing.name;
|
|
4964
5160
|
const incoming_name = incoming.name;
|
|
4965
5161
|
if (!(existing_name === incoming_name)) {
|
|
@@ -4986,8 +5182,8 @@ function equals$p(existing, incoming) {
|
|
|
4986
5182
|
return true;
|
|
4987
5183
|
}
|
|
4988
5184
|
|
|
4989
|
-
const VERSION$
|
|
4990
|
-
function validate$
|
|
5185
|
+
const VERSION$p = "55c60b6207985632192cb4e419822a86";
|
|
5186
|
+
function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
4991
5187
|
const v_error = (() => {
|
|
4992
5188
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4993
5189
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5001,7 +5197,7 @@ function validate$t(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
5001
5197
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
5002
5198
|
const obj_groups_item = obj_groups[i];
|
|
5003
5199
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
5004
|
-
const referencepath_groups_itemValidationError = validate$
|
|
5200
|
+
const referencepath_groups_itemValidationError = validate$v(obj_groups_item, path_groups_item);
|
|
5005
5201
|
if (referencepath_groups_itemValidationError !== null) {
|
|
5006
5202
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
5007
5203
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5019,11 +5215,11 @@ function validate$t(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
5019
5215
|
})();
|
|
5020
5216
|
return v_error === undefined ? null : v_error;
|
|
5021
5217
|
}
|
|
5022
|
-
const select$
|
|
5023
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
5218
|
+
const select$F = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
5219
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$G();
|
|
5024
5220
|
return {
|
|
5025
5221
|
kind: 'Fragment',
|
|
5026
|
-
version: VERSION$
|
|
5222
|
+
version: VERSION$p,
|
|
5027
5223
|
private: [],
|
|
5028
5224
|
selections: [
|
|
5029
5225
|
{
|
|
@@ -5041,7 +5237,7 @@ const select$E = function GroupDimensionConfigurationOutputRepresentationSelect(
|
|
|
5041
5237
|
]
|
|
5042
5238
|
};
|
|
5043
5239
|
};
|
|
5044
|
-
function equals$
|
|
5240
|
+
function equals$p(existing, incoming) {
|
|
5045
5241
|
const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
|
|
5046
5242
|
const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
|
|
5047
5243
|
// if at least one of these optionals is defined
|
|
@@ -5065,7 +5261,7 @@ function equals$o(existing, incoming) {
|
|
|
5065
5261
|
return false;
|
|
5066
5262
|
}
|
|
5067
5263
|
const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
|
|
5068
|
-
if (!(equals$
|
|
5264
|
+
if (!(equals$q(existing_groups_item, incoming_groups_item))) {
|
|
5069
5265
|
return false;
|
|
5070
5266
|
}
|
|
5071
5267
|
});
|
|
@@ -5076,8 +5272,8 @@ function equals$o(existing, incoming) {
|
|
|
5076
5272
|
return true;
|
|
5077
5273
|
}
|
|
5078
5274
|
|
|
5079
|
-
const VERSION$
|
|
5080
|
-
function validate$
|
|
5275
|
+
const VERSION$o = "50dc390b159159afb1945b9a811c9f80";
|
|
5276
|
+
function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
5081
5277
|
const v_error = (() => {
|
|
5082
5278
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5083
5279
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5085,7 +5281,7 @@ function validate$s(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5085
5281
|
if (obj.binDimension !== undefined) {
|
|
5086
5282
|
const obj_binDimension = obj.binDimension;
|
|
5087
5283
|
const path_binDimension = path + '.binDimension';
|
|
5088
|
-
const referencepath_binDimensionValidationError = validate$
|
|
5284
|
+
const referencepath_binDimensionValidationError = validate$w(obj_binDimension, path_binDimension);
|
|
5089
5285
|
if (referencepath_binDimensionValidationError !== null) {
|
|
5090
5286
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
5091
5287
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5095,7 +5291,7 @@ function validate$s(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5095
5291
|
if (obj.groupDimension !== undefined) {
|
|
5096
5292
|
const obj_groupDimension = obj.groupDimension;
|
|
5097
5293
|
const path_groupDimension = path + '.groupDimension';
|
|
5098
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
5294
|
+
const referencepath_groupDimensionValidationError = validate$u(obj_groupDimension, path_groupDimension);
|
|
5099
5295
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
5100
5296
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
5101
5297
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5105,12 +5301,12 @@ function validate$s(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5105
5301
|
})();
|
|
5106
5302
|
return v_error === undefined ? null : v_error;
|
|
5107
5303
|
}
|
|
5108
|
-
const select$
|
|
5109
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
5110
|
-
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
5304
|
+
const select$E = function SemanticGroupingConfigurationOutputRepresentationSelect() {
|
|
5305
|
+
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$H();
|
|
5306
|
+
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$F();
|
|
5111
5307
|
return {
|
|
5112
5308
|
kind: 'Fragment',
|
|
5113
|
-
version: VERSION$
|
|
5309
|
+
version: VERSION$o,
|
|
5114
5310
|
private: [],
|
|
5115
5311
|
selections: [
|
|
5116
5312
|
{
|
|
@@ -5128,7 +5324,7 @@ const select$D = function SemanticGroupingConfigurationOutputRepresentationSelec
|
|
|
5128
5324
|
]
|
|
5129
5325
|
};
|
|
5130
5326
|
};
|
|
5131
|
-
function equals$
|
|
5327
|
+
function equals$o(existing, incoming) {
|
|
5132
5328
|
const existing_binDimension = existing.binDimension;
|
|
5133
5329
|
const incoming_binDimension = incoming.binDimension;
|
|
5134
5330
|
// if at least one of these optionals is defined
|
|
@@ -5138,7 +5334,7 @@ function equals$n(existing, incoming) {
|
|
|
5138
5334
|
if (existing_binDimension === undefined || incoming_binDimension === undefined) {
|
|
5139
5335
|
return false;
|
|
5140
5336
|
}
|
|
5141
|
-
if (!(equals$
|
|
5337
|
+
if (!(equals$r(existing_binDimension, incoming_binDimension))) {
|
|
5142
5338
|
return false;
|
|
5143
5339
|
}
|
|
5144
5340
|
}
|
|
@@ -5151,15 +5347,15 @@ function equals$n(existing, incoming) {
|
|
|
5151
5347
|
if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
|
|
5152
5348
|
return false;
|
|
5153
5349
|
}
|
|
5154
|
-
if (!(equals$
|
|
5350
|
+
if (!(equals$p(existing_groupDimension, incoming_groupDimension))) {
|
|
5155
5351
|
return false;
|
|
5156
5352
|
}
|
|
5157
5353
|
}
|
|
5158
5354
|
return true;
|
|
5159
5355
|
}
|
|
5160
5356
|
|
|
5161
|
-
const VERSION$
|
|
5162
|
-
function validate$
|
|
5357
|
+
const VERSION$n = "a2976cd68e629a917463a3b690cf2527";
|
|
5358
|
+
function validate$s(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
5163
5359
|
const v_error = (() => {
|
|
5164
5360
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5165
5361
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5181,10 +5377,10 @@ function validate$r(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
|
|
|
5181
5377
|
})();
|
|
5182
5378
|
return v_error === undefined ? null : v_error;
|
|
5183
5379
|
}
|
|
5184
|
-
const select$
|
|
5380
|
+
const select$D = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
5185
5381
|
return {
|
|
5186
5382
|
kind: 'Fragment',
|
|
5187
|
-
version: VERSION$
|
|
5383
|
+
version: VERSION$n,
|
|
5188
5384
|
private: [],
|
|
5189
5385
|
selections: [
|
|
5190
5386
|
{
|
|
@@ -5200,7 +5396,7 @@ const select$C = function SemanticTableFieldReferenceOutputRepresentationSelect(
|
|
|
5200
5396
|
]
|
|
5201
5397
|
};
|
|
5202
5398
|
};
|
|
5203
|
-
function equals$
|
|
5399
|
+
function equals$n(existing, incoming) {
|
|
5204
5400
|
const existing_fieldApiName = existing.fieldApiName;
|
|
5205
5401
|
const incoming_fieldApiName = incoming.fieldApiName;
|
|
5206
5402
|
// if at least one of these optionals is defined
|
|
@@ -5230,8 +5426,8 @@ function equals$m(existing, incoming) {
|
|
|
5230
5426
|
return true;
|
|
5231
5427
|
}
|
|
5232
5428
|
|
|
5233
|
-
const VERSION$
|
|
5234
|
-
function validate$
|
|
5429
|
+
const VERSION$m = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
5430
|
+
function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
5235
5431
|
const v_error = (() => {
|
|
5236
5432
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5237
5433
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5246,7 +5442,7 @@ function validate$q(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
5246
5442
|
if (obj.tableFieldReference !== undefined) {
|
|
5247
5443
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
5248
5444
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
5249
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
5445
|
+
const referencepath_tableFieldReferenceValidationError = validate$s(obj_tableFieldReference, path_tableFieldReference);
|
|
5250
5446
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
5251
5447
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
5252
5448
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5256,11 +5452,11 @@ function validate$q(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
5256
5452
|
})();
|
|
5257
5453
|
return v_error === undefined ? null : v_error;
|
|
5258
5454
|
}
|
|
5259
|
-
const select$
|
|
5260
|
-
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$
|
|
5455
|
+
const select$C = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
5456
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$D();
|
|
5261
5457
|
return {
|
|
5262
5458
|
kind: 'Fragment',
|
|
5263
|
-
version: VERSION$
|
|
5459
|
+
version: VERSION$m,
|
|
5264
5460
|
private: [],
|
|
5265
5461
|
selections: [
|
|
5266
5462
|
{
|
|
@@ -5277,7 +5473,7 @@ const select$B = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
|
5277
5473
|
]
|
|
5278
5474
|
};
|
|
5279
5475
|
};
|
|
5280
|
-
function equals$
|
|
5476
|
+
function equals$m(existing, incoming) {
|
|
5281
5477
|
const existing_calculatedFieldApiName = existing.calculatedFieldApiName;
|
|
5282
5478
|
const incoming_calculatedFieldApiName = incoming.calculatedFieldApiName;
|
|
5283
5479
|
// if at least one of these optionals is defined
|
|
@@ -5300,15 +5496,15 @@ function equals$l(existing, incoming) {
|
|
|
5300
5496
|
if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
|
|
5301
5497
|
return false;
|
|
5302
5498
|
}
|
|
5303
|
-
if (!(equals$
|
|
5499
|
+
if (!(equals$n(existing_tableFieldReference, incoming_tableFieldReference))) {
|
|
5304
5500
|
return false;
|
|
5305
5501
|
}
|
|
5306
5502
|
}
|
|
5307
5503
|
return true;
|
|
5308
5504
|
}
|
|
5309
5505
|
|
|
5310
|
-
const VERSION$
|
|
5311
|
-
function validate$
|
|
5506
|
+
const VERSION$l = "781f9dcf8c74d2f32cce84d91cf9e6af";
|
|
5507
|
+
function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
5312
5508
|
const v_error = (() => {
|
|
5313
5509
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5314
5510
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5334,7 +5530,7 @@ function validate$p(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5334
5530
|
}
|
|
5335
5531
|
const obj_configuration = obj.configuration;
|
|
5336
5532
|
const path_configuration = path + '.configuration';
|
|
5337
|
-
const referencepath_configurationValidationError = validate$
|
|
5533
|
+
const referencepath_configurationValidationError = validate$t(obj_configuration, path_configuration);
|
|
5338
5534
|
if (referencepath_configurationValidationError !== null) {
|
|
5339
5535
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
5340
5536
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5357,9 +5553,16 @@ function validate$p(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5357
5553
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
5358
5554
|
}
|
|
5359
5555
|
}
|
|
5556
|
+
if (obj.externalDataType !== undefined) {
|
|
5557
|
+
const obj_externalDataType = obj.externalDataType;
|
|
5558
|
+
const path_externalDataType = path + '.externalDataType';
|
|
5559
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
5560
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
5561
|
+
}
|
|
5562
|
+
}
|
|
5360
5563
|
const obj_fieldReference = obj.fieldReference;
|
|
5361
5564
|
const path_fieldReference = path + '.fieldReference';
|
|
5362
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
5565
|
+
const referencepath_fieldReferenceValidationError = validate$r(obj_fieldReference, path_fieldReference);
|
|
5363
5566
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
5364
5567
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
5365
5568
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5370,6 +5573,13 @@ function validate$p(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5370
5573
|
if (typeof obj_id !== 'string') {
|
|
5371
5574
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
5372
5575
|
}
|
|
5576
|
+
if (obj.isQueryable !== undefined) {
|
|
5577
|
+
const obj_isQueryable = obj.isQueryable;
|
|
5578
|
+
const path_isQueryable = path + '.isQueryable';
|
|
5579
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
5580
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
5581
|
+
}
|
|
5582
|
+
}
|
|
5373
5583
|
if (obj.isSystemDefinition !== undefined) {
|
|
5374
5584
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
5375
5585
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -5426,12 +5636,12 @@ function keyBuilderFromType$8(luvio, object) {
|
|
|
5426
5636
|
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
5427
5637
|
return input;
|
|
5428
5638
|
}
|
|
5429
|
-
const select$
|
|
5430
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
5431
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
5639
|
+
const select$B = function SemanticGroupingOutputRepresentationSelect() {
|
|
5640
|
+
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$E();
|
|
5641
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
5432
5642
|
return {
|
|
5433
5643
|
kind: 'Fragment',
|
|
5434
|
-
version: VERSION$
|
|
5644
|
+
version: VERSION$l,
|
|
5435
5645
|
private: [],
|
|
5436
5646
|
selections: [
|
|
5437
5647
|
{
|
|
@@ -5466,6 +5676,11 @@ const select$A = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
5466
5676
|
kind: 'Scalar',
|
|
5467
5677
|
required: false
|
|
5468
5678
|
},
|
|
5679
|
+
{
|
|
5680
|
+
name: 'externalDataType',
|
|
5681
|
+
kind: 'Scalar',
|
|
5682
|
+
required: false
|
|
5683
|
+
},
|
|
5469
5684
|
{
|
|
5470
5685
|
name: 'fieldReference',
|
|
5471
5686
|
kind: 'Object',
|
|
@@ -5475,6 +5690,11 @@ const select$A = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
5475
5690
|
name: 'id',
|
|
5476
5691
|
kind: 'Scalar'
|
|
5477
5692
|
},
|
|
5693
|
+
{
|
|
5694
|
+
name: 'isQueryable',
|
|
5695
|
+
kind: 'Scalar',
|
|
5696
|
+
required: false
|
|
5697
|
+
},
|
|
5478
5698
|
{
|
|
5479
5699
|
name: 'isSystemDefinition',
|
|
5480
5700
|
kind: 'Scalar',
|
|
@@ -5507,7 +5727,7 @@ const select$A = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
5507
5727
|
]
|
|
5508
5728
|
};
|
|
5509
5729
|
};
|
|
5510
|
-
function equals$
|
|
5730
|
+
function equals$l(existing, incoming) {
|
|
5511
5731
|
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
5512
5732
|
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
5513
5733
|
// if at least one of these optionals is defined
|
|
@@ -5588,11 +5808,37 @@ function equals$k(existing, incoming) {
|
|
|
5588
5808
|
return false;
|
|
5589
5809
|
}
|
|
5590
5810
|
}
|
|
5811
|
+
const existing_externalDataType = existing.externalDataType;
|
|
5812
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
5813
|
+
// if at least one of these optionals is defined
|
|
5814
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
5815
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5816
|
+
// not equal
|
|
5817
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
5818
|
+
return false;
|
|
5819
|
+
}
|
|
5820
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
5821
|
+
return false;
|
|
5822
|
+
}
|
|
5823
|
+
}
|
|
5591
5824
|
const existing_id = existing.id;
|
|
5592
5825
|
const incoming_id = incoming.id;
|
|
5593
5826
|
if (!(existing_id === incoming_id)) {
|
|
5594
5827
|
return false;
|
|
5595
5828
|
}
|
|
5829
|
+
const existing_isQueryable = existing.isQueryable;
|
|
5830
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
5831
|
+
// if at least one of these optionals is defined
|
|
5832
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
5833
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5834
|
+
// not equal
|
|
5835
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
5836
|
+
return false;
|
|
5837
|
+
}
|
|
5838
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
5839
|
+
return false;
|
|
5840
|
+
}
|
|
5841
|
+
}
|
|
5596
5842
|
const existing_label = existing.label;
|
|
5597
5843
|
const incoming_label = incoming.label;
|
|
5598
5844
|
// if at least one of these optionals is defined
|
|
@@ -5639,26 +5885,26 @@ function equals$k(existing, incoming) {
|
|
|
5639
5885
|
}
|
|
5640
5886
|
const existing_configuration = existing.configuration;
|
|
5641
5887
|
const incoming_configuration = incoming.configuration;
|
|
5642
|
-
if (!(equals$
|
|
5888
|
+
if (!(equals$o(existing_configuration, incoming_configuration))) {
|
|
5643
5889
|
return false;
|
|
5644
5890
|
}
|
|
5645
5891
|
const existing_fieldReference = existing.fieldReference;
|
|
5646
5892
|
const incoming_fieldReference = incoming.fieldReference;
|
|
5647
|
-
if (!(equals$
|
|
5893
|
+
if (!(equals$m(existing_fieldReference, incoming_fieldReference))) {
|
|
5648
5894
|
return false;
|
|
5649
5895
|
}
|
|
5650
5896
|
return true;
|
|
5651
5897
|
}
|
|
5652
5898
|
const ingest$e = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5653
5899
|
if (process.env.NODE_ENV !== 'production') {
|
|
5654
|
-
const validateError = validate$
|
|
5900
|
+
const validateError = validate$q(input);
|
|
5655
5901
|
if (validateError !== null) {
|
|
5656
5902
|
throw validateError;
|
|
5657
5903
|
}
|
|
5658
5904
|
}
|
|
5659
5905
|
const key = keyBuilderFromType$8(luvio, input);
|
|
5660
5906
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5661
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$
|
|
5907
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$l, RepresentationType$e, equals$l);
|
|
5662
5908
|
return createLink(key);
|
|
5663
5909
|
};
|
|
5664
5910
|
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5671,8 +5917,8 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5671
5917
|
});
|
|
5672
5918
|
}
|
|
5673
5919
|
|
|
5674
|
-
const VERSION$
|
|
5675
|
-
function validate$
|
|
5920
|
+
const VERSION$k = "c5144c317ac72b60d580cab803514b8d";
|
|
5921
|
+
function validate$p(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
5676
5922
|
const v_error = (() => {
|
|
5677
5923
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5678
5924
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5715,10 +5961,10 @@ function validate$o(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
5715
5961
|
})();
|
|
5716
5962
|
return v_error === undefined ? null : v_error;
|
|
5717
5963
|
}
|
|
5718
|
-
const select$
|
|
5964
|
+
const select$A = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
5719
5965
|
return {
|
|
5720
5966
|
kind: 'Fragment',
|
|
5721
|
-
version: VERSION$
|
|
5967
|
+
version: VERSION$k,
|
|
5722
5968
|
private: [],
|
|
5723
5969
|
selections: [
|
|
5724
5970
|
{
|
|
@@ -5749,7 +5995,7 @@ const select$z = function SemanticRelationshipCriteriaOutputRepresentationSelect
|
|
|
5749
5995
|
]
|
|
5750
5996
|
};
|
|
5751
5997
|
};
|
|
5752
|
-
function equals$
|
|
5998
|
+
function equals$k(existing, incoming) {
|
|
5753
5999
|
const existing_joinOperator = existing.joinOperator;
|
|
5754
6000
|
const incoming_joinOperator = incoming.joinOperator;
|
|
5755
6001
|
// if at least one of these optionals is defined
|
|
@@ -5818,8 +6064,8 @@ function equals$j(existing, incoming) {
|
|
|
5818
6064
|
return true;
|
|
5819
6065
|
}
|
|
5820
6066
|
|
|
5821
|
-
const VERSION$
|
|
5822
|
-
function validate$
|
|
6067
|
+
const VERSION$j = "b54e564b71d26e8ac89b5649db876f6f";
|
|
6068
|
+
function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
5823
6069
|
const v_error = (() => {
|
|
5824
6070
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5825
6071
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5869,7 +6115,7 @@ function validate$n(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5869
6115
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
5870
6116
|
const obj_criteria_item = obj_criteria[i];
|
|
5871
6117
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
5872
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
6118
|
+
const referencepath_criteria_itemValidationError = validate$p(obj_criteria_item, path_criteria_item);
|
|
5873
6119
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
5874
6120
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
5875
6121
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5896,6 +6142,13 @@ function validate$n(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5896
6142
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isEnabled + '" (at "' + path_isEnabled + '")');
|
|
5897
6143
|
}
|
|
5898
6144
|
}
|
|
6145
|
+
if (obj.isQueryable !== undefined) {
|
|
6146
|
+
const obj_isQueryable = obj.isQueryable;
|
|
6147
|
+
const path_isQueryable = path + '.isQueryable';
|
|
6148
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
6149
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
6150
|
+
}
|
|
6151
|
+
}
|
|
5899
6152
|
if (obj.isSystemDefinition !== undefined) {
|
|
5900
6153
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
5901
6154
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -5975,11 +6228,11 @@ function keyBuilderFromType$7(luvio, object) {
|
|
|
5975
6228
|
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
5976
6229
|
return input;
|
|
5977
6230
|
}
|
|
5978
|
-
const select$
|
|
5979
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
6231
|
+
const select$z = function SemanticRelationshipOutputRepresentationSelect() {
|
|
6232
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$A();
|
|
5980
6233
|
return {
|
|
5981
6234
|
kind: 'Fragment',
|
|
5982
|
-
version: VERSION$
|
|
6235
|
+
version: VERSION$j,
|
|
5983
6236
|
private: [],
|
|
5984
6237
|
selections: [
|
|
5985
6238
|
{
|
|
@@ -6030,6 +6283,11 @@ const select$y = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
6030
6283
|
kind: 'Scalar',
|
|
6031
6284
|
required: false
|
|
6032
6285
|
},
|
|
6286
|
+
{
|
|
6287
|
+
name: 'isQueryable',
|
|
6288
|
+
kind: 'Scalar',
|
|
6289
|
+
required: false
|
|
6290
|
+
},
|
|
6033
6291
|
{
|
|
6034
6292
|
name: 'isSystemDefinition',
|
|
6035
6293
|
kind: 'Scalar',
|
|
@@ -6078,7 +6336,7 @@ const select$y = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
6078
6336
|
]
|
|
6079
6337
|
};
|
|
6080
6338
|
};
|
|
6081
|
-
function equals$
|
|
6339
|
+
function equals$j(existing, incoming) {
|
|
6082
6340
|
const existing_isEnabled = existing.isEnabled;
|
|
6083
6341
|
const incoming_isEnabled = incoming.isEnabled;
|
|
6084
6342
|
// if at least one of these optionals is defined
|
|
@@ -6190,6 +6448,19 @@ function equals$i(existing, incoming) {
|
|
|
6190
6448
|
if (!(existing_id === incoming_id)) {
|
|
6191
6449
|
return false;
|
|
6192
6450
|
}
|
|
6451
|
+
const existing_isQueryable = existing.isQueryable;
|
|
6452
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
6453
|
+
// if at least one of these optionals is defined
|
|
6454
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
6455
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6456
|
+
// not equal
|
|
6457
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
6458
|
+
return false;
|
|
6459
|
+
}
|
|
6460
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
6461
|
+
return false;
|
|
6462
|
+
}
|
|
6463
|
+
}
|
|
6193
6464
|
const existing_joinType = existing.joinType;
|
|
6194
6465
|
const incoming_joinType = incoming.joinType;
|
|
6195
6466
|
// if at least one of these optionals is defined
|
|
@@ -6291,7 +6562,7 @@ function equals$i(existing, incoming) {
|
|
|
6291
6562
|
return false;
|
|
6292
6563
|
}
|
|
6293
6564
|
const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
|
|
6294
|
-
if (!(equals$
|
|
6565
|
+
if (!(equals$k(existing_criteria_item, incoming_criteria_item))) {
|
|
6295
6566
|
return false;
|
|
6296
6567
|
}
|
|
6297
6568
|
});
|
|
@@ -6303,14 +6574,14 @@ function equals$i(existing, incoming) {
|
|
|
6303
6574
|
}
|
|
6304
6575
|
const ingest$d = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6305
6576
|
if (process.env.NODE_ENV !== 'production') {
|
|
6306
|
-
const validateError = validate$
|
|
6577
|
+
const validateError = validate$o(input);
|
|
6307
6578
|
if (validateError !== null) {
|
|
6308
6579
|
throw validateError;
|
|
6309
6580
|
}
|
|
6310
6581
|
}
|
|
6311
6582
|
const key = keyBuilderFromType$7(luvio, input);
|
|
6312
6583
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6313
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$
|
|
6584
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$j, RepresentationType$d, equals$j);
|
|
6314
6585
|
return createLink(key);
|
|
6315
6586
|
};
|
|
6316
6587
|
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6323,8 +6594,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6323
6594
|
});
|
|
6324
6595
|
}
|
|
6325
6596
|
|
|
6326
|
-
const VERSION$
|
|
6327
|
-
function validate$
|
|
6597
|
+
const VERSION$i = "35088fced8f6d5a9595954736caf0ea9";
|
|
6598
|
+
function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
6328
6599
|
const v_error = (() => {
|
|
6329
6600
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6330
6601
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6374,7 +6645,7 @@ function validate$m(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6374
6645
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
6375
6646
|
const obj_fields_item = obj_fields[i];
|
|
6376
6647
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
6377
|
-
const referencepath_fields_itemValidationError = validate$
|
|
6648
|
+
const referencepath_fields_itemValidationError = validate$s(obj_fields_item, path_fields_item);
|
|
6378
6649
|
if (referencepath_fields_itemValidationError !== null) {
|
|
6379
6650
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
6380
6651
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6387,6 +6658,13 @@ function validate$m(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6387
6658
|
if (typeof obj_id !== 'string') {
|
|
6388
6659
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
6389
6660
|
}
|
|
6661
|
+
if (obj.isQueryable !== undefined) {
|
|
6662
|
+
const obj_isQueryable = obj.isQueryable;
|
|
6663
|
+
const path_isQueryable = path + '.isQueryable';
|
|
6664
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
6665
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
6666
|
+
}
|
|
6667
|
+
}
|
|
6390
6668
|
if (obj.isSystemDefinition !== undefined) {
|
|
6391
6669
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
6392
6670
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -6425,7 +6703,7 @@ function validate$m(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6425
6703
|
if (obj.semanticDimension !== undefined) {
|
|
6426
6704
|
const obj_semanticDimension = obj.semanticDimension;
|
|
6427
6705
|
const path_semanticDimension = path + '.semanticDimension';
|
|
6428
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
6706
|
+
const referencepath_semanticDimensionValidationError = validate$z(obj_semanticDimension, path_semanticDimension);
|
|
6429
6707
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
6430
6708
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
6431
6709
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6435,7 +6713,7 @@ function validate$m(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6435
6713
|
if (obj.semanticMeasurement !== undefined) {
|
|
6436
6714
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
6437
6715
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
6438
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
6716
|
+
const referencepath_semanticMeasurementValidationError = validate$y(obj_semanticMeasurement, path_semanticMeasurement);
|
|
6439
6717
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
6440
6718
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
6441
6719
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6465,15 +6743,15 @@ function keyBuilderFromType$6(luvio, object) {
|
|
|
6465
6743
|
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
6466
6744
|
return input;
|
|
6467
6745
|
}
|
|
6468
|
-
const select$
|
|
6746
|
+
const select$y = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
6469
6747
|
return {
|
|
6470
6748
|
kind: 'Fragment',
|
|
6471
|
-
version: VERSION$
|
|
6749
|
+
version: VERSION$i,
|
|
6472
6750
|
private: [],
|
|
6473
6751
|
opaque: true
|
|
6474
6752
|
};
|
|
6475
6753
|
};
|
|
6476
|
-
function equals$
|
|
6754
|
+
function equals$i(existing, incoming) {
|
|
6477
6755
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
6478
6756
|
return false;
|
|
6479
6757
|
}
|
|
@@ -6481,14 +6759,14 @@ function equals$h(existing, incoming) {
|
|
|
6481
6759
|
}
|
|
6482
6760
|
const ingest$c = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6483
6761
|
if (process.env.NODE_ENV !== 'production') {
|
|
6484
|
-
const validateError = validate$
|
|
6762
|
+
const validateError = validate$n(input);
|
|
6485
6763
|
if (validateError !== null) {
|
|
6486
6764
|
throw validateError;
|
|
6487
6765
|
}
|
|
6488
6766
|
}
|
|
6489
6767
|
const key = keyBuilderFromType$6(luvio, input);
|
|
6490
6768
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6491
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$
|
|
6769
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$i, RepresentationType$c, equals$i);
|
|
6492
6770
|
return createLink(key);
|
|
6493
6771
|
};
|
|
6494
6772
|
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6501,8 +6779,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6501
6779
|
});
|
|
6502
6780
|
}
|
|
6503
6781
|
|
|
6504
|
-
const VERSION$
|
|
6505
|
-
function validate$
|
|
6782
|
+
const VERSION$h = "98b8b40b3bc74aaa0644e303d378db60";
|
|
6783
|
+
function validate$m(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
6506
6784
|
const v_error = (() => {
|
|
6507
6785
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6508
6786
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6548,6 +6826,13 @@ function validate$l(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
|
6548
6826
|
if (typeof obj_id !== 'string') {
|
|
6549
6827
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
6550
6828
|
}
|
|
6829
|
+
if (obj.isQueryable !== undefined) {
|
|
6830
|
+
const obj_isQueryable = obj.isQueryable;
|
|
6831
|
+
const path_isQueryable = path + '.isQueryable';
|
|
6832
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
6833
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
6834
|
+
}
|
|
6835
|
+
}
|
|
6551
6836
|
if (obj.label !== undefined) {
|
|
6552
6837
|
const obj_label = obj.label;
|
|
6553
6838
|
const path_label = path + '.label';
|
|
@@ -6677,10 +6962,10 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
|
6677
6962
|
}
|
|
6678
6963
|
return input;
|
|
6679
6964
|
}
|
|
6680
|
-
const select$
|
|
6965
|
+
const select$x = function SemanticUnionOutputRepresentationSelect() {
|
|
6681
6966
|
return {
|
|
6682
6967
|
kind: 'Fragment',
|
|
6683
|
-
version: VERSION$
|
|
6968
|
+
version: VERSION$h,
|
|
6684
6969
|
private: [],
|
|
6685
6970
|
selections: [
|
|
6686
6971
|
{
|
|
@@ -6714,6 +6999,11 @@ const select$w = function SemanticUnionOutputRepresentationSelect() {
|
|
|
6714
6999
|
name: 'id',
|
|
6715
7000
|
kind: 'Scalar'
|
|
6716
7001
|
},
|
|
7002
|
+
{
|
|
7003
|
+
name: 'isQueryable',
|
|
7004
|
+
kind: 'Scalar',
|
|
7005
|
+
required: false
|
|
7006
|
+
},
|
|
6717
7007
|
{
|
|
6718
7008
|
name: 'label',
|
|
6719
7009
|
kind: 'Scalar',
|
|
@@ -6739,19 +7029,19 @@ const select$w = function SemanticUnionOutputRepresentationSelect() {
|
|
|
6739
7029
|
kind: 'Link',
|
|
6740
7030
|
plural: true,
|
|
6741
7031
|
required: false,
|
|
6742
|
-
fragment: select$
|
|
7032
|
+
fragment: select$I()
|
|
6743
7033
|
},
|
|
6744
7034
|
{
|
|
6745
7035
|
name: 'semanticMappedFields',
|
|
6746
7036
|
kind: 'Link',
|
|
6747
7037
|
plural: true,
|
|
6748
7038
|
required: false,
|
|
6749
|
-
fragment: select$
|
|
7039
|
+
fragment: select$y()
|
|
6750
7040
|
}
|
|
6751
7041
|
]
|
|
6752
7042
|
};
|
|
6753
7043
|
};
|
|
6754
|
-
function equals$
|
|
7044
|
+
function equals$h(existing, incoming) {
|
|
6755
7045
|
const existing_apiName = existing.apiName;
|
|
6756
7046
|
const incoming_apiName = incoming.apiName;
|
|
6757
7047
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -6811,6 +7101,19 @@ function equals$g(existing, incoming) {
|
|
|
6811
7101
|
if (!(existing_id === incoming_id)) {
|
|
6812
7102
|
return false;
|
|
6813
7103
|
}
|
|
7104
|
+
const existing_isQueryable = existing.isQueryable;
|
|
7105
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
7106
|
+
// if at least one of these optionals is defined
|
|
7107
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
7108
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7109
|
+
// not equal
|
|
7110
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
7111
|
+
return false;
|
|
7112
|
+
}
|
|
7113
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
7114
|
+
return false;
|
|
7115
|
+
}
|
|
7116
|
+
}
|
|
6814
7117
|
const existing_label = existing.label;
|
|
6815
7118
|
const incoming_label = incoming.label;
|
|
6816
7119
|
// if at least one of these optionals is defined
|
|
@@ -6903,14 +7206,14 @@ function equals$g(existing, incoming) {
|
|
|
6903
7206
|
}
|
|
6904
7207
|
const ingest$b = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6905
7208
|
if (process.env.NODE_ENV !== 'production') {
|
|
6906
|
-
const validateError = validate$
|
|
7209
|
+
const validateError = validate$m(input);
|
|
6907
7210
|
if (validateError !== null) {
|
|
6908
7211
|
throw validateError;
|
|
6909
7212
|
}
|
|
6910
7213
|
}
|
|
6911
7214
|
const key = keyBuilderFromType$5(luvio, input);
|
|
6912
7215
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6913
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$
|
|
7216
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$h, RepresentationType$b, equals$h);
|
|
6914
7217
|
return createLink(key);
|
|
6915
7218
|
};
|
|
6916
7219
|
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6935,8 +7238,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6935
7238
|
}
|
|
6936
7239
|
}
|
|
6937
7240
|
|
|
6938
|
-
const VERSION$
|
|
6939
|
-
function validate$
|
|
7241
|
+
const VERSION$g = "deed87abd43631c27a6067ac00a1a018";
|
|
7242
|
+
function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
6940
7243
|
const v_error = (() => {
|
|
6941
7244
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6942
7245
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7000,7 +7303,7 @@ function validate$k(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7000
7303
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7001
7304
|
const obj_filters_item = obj_filters[i];
|
|
7002
7305
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7003
|
-
const referencepath_filters_itemValidationError = validate$
|
|
7306
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
7004
7307
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7005
7308
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7006
7309
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7013,6 +7316,13 @@ function validate$k(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7013
7316
|
if (typeof obj_id !== 'string') {
|
|
7014
7317
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
7015
7318
|
}
|
|
7319
|
+
if (obj.isQueryable !== undefined) {
|
|
7320
|
+
const obj_isQueryable = obj.isQueryable;
|
|
7321
|
+
const path_isQueryable = path + '.isQueryable';
|
|
7322
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
7323
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
7324
|
+
}
|
|
7325
|
+
}
|
|
7016
7326
|
if (obj.isSystemDefinition !== undefined) {
|
|
7017
7327
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
7018
7328
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -7181,11 +7491,11 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
7181
7491
|
}
|
|
7182
7492
|
return input;
|
|
7183
7493
|
}
|
|
7184
|
-
const select$
|
|
7185
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
7494
|
+
const select$w = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
7495
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
|
|
7186
7496
|
return {
|
|
7187
7497
|
kind: 'Fragment',
|
|
7188
|
-
version: VERSION$
|
|
7498
|
+
version: VERSION$g,
|
|
7189
7499
|
private: [],
|
|
7190
7500
|
selections: [
|
|
7191
7501
|
{
|
|
@@ -7236,6 +7546,11 @@ const select$v = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7236
7546
|
name: 'id',
|
|
7237
7547
|
kind: 'Scalar'
|
|
7238
7548
|
},
|
|
7549
|
+
{
|
|
7550
|
+
name: 'isQueryable',
|
|
7551
|
+
kind: 'Scalar',
|
|
7552
|
+
required: false
|
|
7553
|
+
},
|
|
7239
7554
|
{
|
|
7240
7555
|
name: 'isSystemDefinition',
|
|
7241
7556
|
kind: 'Scalar',
|
|
@@ -7266,21 +7581,21 @@ const select$v = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7266
7581
|
kind: 'Link',
|
|
7267
7582
|
plural: true,
|
|
7268
7583
|
required: false,
|
|
7269
|
-
fragment: select$
|
|
7584
|
+
fragment: select$I()
|
|
7270
7585
|
},
|
|
7271
7586
|
{
|
|
7272
7587
|
name: 'semanticRelationships',
|
|
7273
7588
|
kind: 'Link',
|
|
7274
7589
|
plural: true,
|
|
7275
7590
|
required: false,
|
|
7276
|
-
fragment: select$
|
|
7591
|
+
fragment: select$z()
|
|
7277
7592
|
},
|
|
7278
7593
|
{
|
|
7279
7594
|
name: 'semanticUnions',
|
|
7280
7595
|
kind: 'Link',
|
|
7281
7596
|
plural: true,
|
|
7282
7597
|
required: false,
|
|
7283
|
-
fragment: select$
|
|
7598
|
+
fragment: select$x()
|
|
7284
7599
|
},
|
|
7285
7600
|
{
|
|
7286
7601
|
name: 'semanticViewTypeEnum',
|
|
@@ -7300,7 +7615,7 @@ const select$v = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7300
7615
|
]
|
|
7301
7616
|
};
|
|
7302
7617
|
};
|
|
7303
|
-
function equals$
|
|
7618
|
+
function equals$g(existing, incoming) {
|
|
7304
7619
|
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
7305
7620
|
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
7306
7621
|
// if at least one of these optionals is defined
|
|
@@ -7412,6 +7727,19 @@ function equals$f(existing, incoming) {
|
|
|
7412
7727
|
if (!(existing_id === incoming_id)) {
|
|
7413
7728
|
return false;
|
|
7414
7729
|
}
|
|
7730
|
+
const existing_isQueryable = existing.isQueryable;
|
|
7731
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
7732
|
+
// if at least one of these optionals is defined
|
|
7733
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
7734
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7735
|
+
// not equal
|
|
7736
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
7737
|
+
return false;
|
|
7738
|
+
}
|
|
7739
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
7740
|
+
return false;
|
|
7741
|
+
}
|
|
7742
|
+
}
|
|
7415
7743
|
const existing_label = existing.label;
|
|
7416
7744
|
const incoming_label = incoming.label;
|
|
7417
7745
|
// if at least one of these optionals is defined
|
|
@@ -7500,7 +7828,7 @@ function equals$f(existing, incoming) {
|
|
|
7500
7828
|
return false;
|
|
7501
7829
|
}
|
|
7502
7830
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
7503
|
-
if (!(equals$
|
|
7831
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
7504
7832
|
return false;
|
|
7505
7833
|
}
|
|
7506
7834
|
});
|
|
@@ -7566,14 +7894,14 @@ function equals$f(existing, incoming) {
|
|
|
7566
7894
|
}
|
|
7567
7895
|
const ingest$a = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7568
7896
|
if (process.env.NODE_ENV !== 'production') {
|
|
7569
|
-
const validateError = validate$
|
|
7897
|
+
const validateError = validate$l(input);
|
|
7570
7898
|
if (validateError !== null) {
|
|
7571
7899
|
throw validateError;
|
|
7572
7900
|
}
|
|
7573
7901
|
}
|
|
7574
7902
|
const key = keyBuilderFromType$4(luvio, input);
|
|
7575
7903
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7576
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$
|
|
7904
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$g, RepresentationType$a, equals$g);
|
|
7577
7905
|
return createLink(key);
|
|
7578
7906
|
};
|
|
7579
7907
|
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7604,6 +7932,58 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7604
7932
|
}
|
|
7605
7933
|
}
|
|
7606
7934
|
|
|
7935
|
+
const VERSION$f = "abbe4306b9ecdab2a1f50709c75eb26a";
|
|
7936
|
+
function validate$k(obj, path = 'SemanticMetricForecastConfigurationOutputRepresentation') {
|
|
7937
|
+
const v_error = (() => {
|
|
7938
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7939
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7940
|
+
}
|
|
7941
|
+
if (obj.forecastMeasurementReference !== undefined) {
|
|
7942
|
+
const obj_forecastMeasurementReference = obj.forecastMeasurementReference;
|
|
7943
|
+
const path_forecastMeasurementReference = path + '.forecastMeasurementReference';
|
|
7944
|
+
const referencepath_forecastMeasurementReferenceValidationError = validate$r(obj_forecastMeasurementReference, path_forecastMeasurementReference);
|
|
7945
|
+
if (referencepath_forecastMeasurementReferenceValidationError !== null) {
|
|
7946
|
+
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_forecastMeasurementReference + '")\n';
|
|
7947
|
+
message += referencepath_forecastMeasurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
7948
|
+
return new TypeError(message);
|
|
7949
|
+
}
|
|
7950
|
+
}
|
|
7951
|
+
})();
|
|
7952
|
+
return v_error === undefined ? null : v_error;
|
|
7953
|
+
}
|
|
7954
|
+
const select$v = function SemanticMetricForecastConfigurationOutputRepresentationSelect() {
|
|
7955
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
7956
|
+
return {
|
|
7957
|
+
kind: 'Fragment',
|
|
7958
|
+
version: VERSION$f,
|
|
7959
|
+
private: [],
|
|
7960
|
+
selections: [
|
|
7961
|
+
{
|
|
7962
|
+
name: 'forecastMeasurementReference',
|
|
7963
|
+
kind: 'Object',
|
|
7964
|
+
selections: SemanticFieldReferenceOutputRepresentation__selections,
|
|
7965
|
+
required: false
|
|
7966
|
+
}
|
|
7967
|
+
]
|
|
7968
|
+
};
|
|
7969
|
+
};
|
|
7970
|
+
function equals$f(existing, incoming) {
|
|
7971
|
+
const existing_forecastMeasurementReference = existing.forecastMeasurementReference;
|
|
7972
|
+
const incoming_forecastMeasurementReference = incoming.forecastMeasurementReference;
|
|
7973
|
+
// if at least one of these optionals is defined
|
|
7974
|
+
if (existing_forecastMeasurementReference !== undefined || incoming_forecastMeasurementReference !== undefined) {
|
|
7975
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7976
|
+
// not equal
|
|
7977
|
+
if (existing_forecastMeasurementReference === undefined || incoming_forecastMeasurementReference === undefined) {
|
|
7978
|
+
return false;
|
|
7979
|
+
}
|
|
7980
|
+
if (!(equals$m(existing_forecastMeasurementReference, incoming_forecastMeasurementReference))) {
|
|
7981
|
+
return false;
|
|
7982
|
+
}
|
|
7983
|
+
}
|
|
7984
|
+
return true;
|
|
7985
|
+
}
|
|
7986
|
+
|
|
7607
7987
|
const VERSION$e = "a50848c632bb205d5e910bb726d9219e";
|
|
7608
7988
|
function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
7609
7989
|
const v_error = (() => {
|
|
@@ -7613,7 +7993,7 @@ function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7613
7993
|
if (obj.identifierDimensionReference !== undefined) {
|
|
7614
7994
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
7615
7995
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
7616
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
7996
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$r(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
7617
7997
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
7618
7998
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
7619
7999
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7623,7 +8003,7 @@ function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7623
8003
|
if (obj.namingDimensionReference !== undefined) {
|
|
7624
8004
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
7625
8005
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
7626
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
8006
|
+
const referencepath_namingDimensionReferenceValidationError = validate$r(obj_namingDimensionReference, path_namingDimensionReference);
|
|
7627
8007
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
7628
8008
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
7629
8009
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7634,7 +8014,7 @@ function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7634
8014
|
return v_error === undefined ? null : v_error;
|
|
7635
8015
|
}
|
|
7636
8016
|
const select$u = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
7637
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
8017
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
7638
8018
|
return {
|
|
7639
8019
|
kind: 'Fragment',
|
|
7640
8020
|
version: VERSION$e,
|
|
@@ -7665,7 +8045,7 @@ function equals$e(existing, incoming) {
|
|
|
7665
8045
|
if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
|
|
7666
8046
|
return false;
|
|
7667
8047
|
}
|
|
7668
|
-
if (!(equals$
|
|
8048
|
+
if (!(equals$m(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
|
|
7669
8049
|
return false;
|
|
7670
8050
|
}
|
|
7671
8051
|
}
|
|
@@ -7678,7 +8058,7 @@ function equals$e(existing, incoming) {
|
|
|
7678
8058
|
if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
|
|
7679
8059
|
return false;
|
|
7680
8060
|
}
|
|
7681
|
-
if (!(equals$
|
|
8061
|
+
if (!(equals$m(existing_namingDimensionReference, incoming_namingDimensionReference))) {
|
|
7682
8062
|
return false;
|
|
7683
8063
|
}
|
|
7684
8064
|
}
|
|
@@ -7757,12 +8137,22 @@ function equals$d(existing, incoming) {
|
|
|
7757
8137
|
return true;
|
|
7758
8138
|
}
|
|
7759
8139
|
|
|
7760
|
-
const VERSION$c = "
|
|
8140
|
+
const VERSION$c = "1ee2337e8f73261cbb44258b393d1bec";
|
|
7761
8141
|
function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
7762
8142
|
const v_error = (() => {
|
|
7763
8143
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7764
8144
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7765
8145
|
}
|
|
8146
|
+
if (obj.forecastConfiguration !== undefined) {
|
|
8147
|
+
const obj_forecastConfiguration = obj.forecastConfiguration;
|
|
8148
|
+
const path_forecastConfiguration = path + '.forecastConfiguration';
|
|
8149
|
+
const referencepath_forecastConfigurationValidationError = validate$k(obj_forecastConfiguration, path_forecastConfiguration);
|
|
8150
|
+
if (referencepath_forecastConfigurationValidationError !== null) {
|
|
8151
|
+
let message = 'Object doesn\'t match SemanticMetricForecastConfigurationOutputRepresentation (at "' + path_forecastConfiguration + '")\n';
|
|
8152
|
+
message += referencepath_forecastConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8153
|
+
return new TypeError(message);
|
|
8154
|
+
}
|
|
8155
|
+
}
|
|
7766
8156
|
if (obj.identifyingDimension !== undefined) {
|
|
7767
8157
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
7768
8158
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
@@ -7799,7 +8189,7 @@ function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7799
8189
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
7800
8190
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
7801
8191
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
7802
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
8192
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$r(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
7803
8193
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
7804
8194
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
7805
8195
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7832,14 +8222,21 @@ function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7832
8222
|
return v_error === undefined ? null : v_error;
|
|
7833
8223
|
}
|
|
7834
8224
|
const select$s = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
8225
|
+
const { selections: SemanticMetricForecastConfigurationOutputRepresentation__selections, opaque: SemanticMetricForecastConfigurationOutputRepresentation__opaque, } = select$v();
|
|
7835
8226
|
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$u();
|
|
7836
8227
|
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$t();
|
|
7837
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
8228
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
7838
8229
|
return {
|
|
7839
8230
|
kind: 'Fragment',
|
|
7840
8231
|
version: VERSION$c,
|
|
7841
8232
|
private: [],
|
|
7842
8233
|
selections: [
|
|
8234
|
+
{
|
|
8235
|
+
name: 'forecastConfiguration',
|
|
8236
|
+
kind: 'Object',
|
|
8237
|
+
selections: SemanticMetricForecastConfigurationOutputRepresentation__selections,
|
|
8238
|
+
required: false
|
|
8239
|
+
},
|
|
7843
8240
|
{
|
|
7844
8241
|
name: 'identifyingDimension',
|
|
7845
8242
|
kind: 'Object',
|
|
@@ -7918,6 +8315,19 @@ function equals$c(existing, incoming) {
|
|
|
7918
8315
|
return false;
|
|
7919
8316
|
}
|
|
7920
8317
|
}
|
|
8318
|
+
const existing_forecastConfiguration = existing.forecastConfiguration;
|
|
8319
|
+
const incoming_forecastConfiguration = incoming.forecastConfiguration;
|
|
8320
|
+
// if at least one of these optionals is defined
|
|
8321
|
+
if (existing_forecastConfiguration !== undefined || incoming_forecastConfiguration !== undefined) {
|
|
8322
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8323
|
+
// not equal
|
|
8324
|
+
if (existing_forecastConfiguration === undefined || incoming_forecastConfiguration === undefined) {
|
|
8325
|
+
return false;
|
|
8326
|
+
}
|
|
8327
|
+
if (!(equals$f(existing_forecastConfiguration, incoming_forecastConfiguration))) {
|
|
8328
|
+
return false;
|
|
8329
|
+
}
|
|
8330
|
+
}
|
|
7921
8331
|
const existing_identifyingDimension = existing.identifyingDimension;
|
|
7922
8332
|
const incoming_identifyingDimension = incoming.identifyingDimension;
|
|
7923
8333
|
// if at least one of these optionals is defined
|
|
@@ -7959,7 +8369,7 @@ function equals$c(existing, incoming) {
|
|
|
7959
8369
|
return false;
|
|
7960
8370
|
}
|
|
7961
8371
|
const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
|
|
7962
|
-
if (!(equals$
|
|
8372
|
+
if (!(equals$m(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
|
|
7963
8373
|
return false;
|
|
7964
8374
|
}
|
|
7965
8375
|
});
|
|
@@ -7970,7 +8380,7 @@ function equals$c(existing, incoming) {
|
|
|
7970
8380
|
return true;
|
|
7971
8381
|
}
|
|
7972
8382
|
|
|
7973
|
-
const VERSION$b = "
|
|
8383
|
+
const VERSION$b = "3800a2eb703d5a4964899b4e067ee1d8";
|
|
7974
8384
|
function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
7975
8385
|
const v_error = (() => {
|
|
7976
8386
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -7985,7 +8395,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7985
8395
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
7986
8396
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
7987
8397
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
7988
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
8398
|
+
const referencepath_additionalDimensions_itemValidationError = validate$r(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
7989
8399
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
7990
8400
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
7991
8401
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8052,7 +8462,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8052
8462
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
8053
8463
|
const obj_filters_item = obj_filters[i];
|
|
8054
8464
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
8055
|
-
const referencepath_filters_itemValidationError = validate$
|
|
8465
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
8056
8466
|
if (referencepath_filters_itemValidationError !== null) {
|
|
8057
8467
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
8058
8468
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8082,6 +8492,13 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8082
8492
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isCumulative + '" (at "' + path_isCumulative + '")');
|
|
8083
8493
|
}
|
|
8084
8494
|
}
|
|
8495
|
+
if (obj.isQueryable !== undefined) {
|
|
8496
|
+
const obj_isQueryable = obj.isQueryable;
|
|
8497
|
+
const path_isQueryable = path + '.isQueryable';
|
|
8498
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
8499
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
8500
|
+
}
|
|
8501
|
+
}
|
|
8085
8502
|
if (obj.isSystemDefinition !== undefined) {
|
|
8086
8503
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
8087
8504
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -8113,7 +8530,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8113
8530
|
if (obj.measurementReference !== undefined) {
|
|
8114
8531
|
const obj_measurementReference = obj.measurementReference;
|
|
8115
8532
|
const path_measurementReference = path + '.measurementReference';
|
|
8116
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
8533
|
+
const referencepath_measurementReferenceValidationError = validate$r(obj_measurementReference, path_measurementReference);
|
|
8117
8534
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
8118
8535
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
8119
8536
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8123,7 +8540,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8123
8540
|
if (obj.timeDimensionReference !== undefined) {
|
|
8124
8541
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
8125
8542
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
8126
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
8543
|
+
const referencepath_timeDimensionReferenceValidationError = validate$r(obj_timeDimensionReference, path_timeDimensionReference);
|
|
8127
8544
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
8128
8545
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
8129
8546
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8168,8 +8585,8 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
|
8168
8585
|
return input;
|
|
8169
8586
|
}
|
|
8170
8587
|
const select$r = function SemanticMetricOutputRepresentationSelect() {
|
|
8171
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
8172
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
8588
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
8589
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
|
|
8173
8590
|
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$s();
|
|
8174
8591
|
return {
|
|
8175
8592
|
kind: 'Fragment',
|
|
@@ -8242,6 +8659,11 @@ const select$r = function SemanticMetricOutputRepresentationSelect() {
|
|
|
8242
8659
|
kind: 'Scalar',
|
|
8243
8660
|
required: false
|
|
8244
8661
|
},
|
|
8662
|
+
{
|
|
8663
|
+
name: 'isQueryable',
|
|
8664
|
+
kind: 'Scalar',
|
|
8665
|
+
required: false
|
|
8666
|
+
},
|
|
8245
8667
|
{
|
|
8246
8668
|
name: 'isSystemDefinition',
|
|
8247
8669
|
kind: 'Scalar',
|
|
@@ -8413,6 +8835,19 @@ function equals$b(existing, incoming) {
|
|
|
8413
8835
|
if (!(existing_id === incoming_id)) {
|
|
8414
8836
|
return false;
|
|
8415
8837
|
}
|
|
8838
|
+
const existing_isQueryable = existing.isQueryable;
|
|
8839
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
8840
|
+
// if at least one of these optionals is defined
|
|
8841
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
8842
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8843
|
+
// not equal
|
|
8844
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
8845
|
+
return false;
|
|
8846
|
+
}
|
|
8847
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
8848
|
+
return false;
|
|
8849
|
+
}
|
|
8850
|
+
}
|
|
8416
8851
|
const existing_label = existing.label;
|
|
8417
8852
|
const incoming_label = incoming.label;
|
|
8418
8853
|
// if at least one of these optionals is defined
|
|
@@ -8462,7 +8897,7 @@ function equals$b(existing, incoming) {
|
|
|
8462
8897
|
return false;
|
|
8463
8898
|
}
|
|
8464
8899
|
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
8465
|
-
if (!(equals$
|
|
8900
|
+
if (!(equals$m(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
8466
8901
|
return false;
|
|
8467
8902
|
}
|
|
8468
8903
|
});
|
|
@@ -8480,7 +8915,7 @@ function equals$b(existing, incoming) {
|
|
|
8480
8915
|
return false;
|
|
8481
8916
|
}
|
|
8482
8917
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
8483
|
-
if (!(equals$
|
|
8918
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
8484
8919
|
return false;
|
|
8485
8920
|
}
|
|
8486
8921
|
});
|
|
@@ -8510,7 +8945,7 @@ function equals$b(existing, incoming) {
|
|
|
8510
8945
|
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
8511
8946
|
return false;
|
|
8512
8947
|
}
|
|
8513
|
-
if (!(equals$
|
|
8948
|
+
if (!(equals$m(existing_measurementReference, incoming_measurementReference))) {
|
|
8514
8949
|
return false;
|
|
8515
8950
|
}
|
|
8516
8951
|
}
|
|
@@ -8523,7 +8958,7 @@ function equals$b(existing, incoming) {
|
|
|
8523
8958
|
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
8524
8959
|
return false;
|
|
8525
8960
|
}
|
|
8526
|
-
if (!(equals$
|
|
8961
|
+
if (!(equals$m(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
8527
8962
|
return false;
|
|
8528
8963
|
}
|
|
8529
8964
|
}
|
|
@@ -8641,7 +9076,7 @@ function equals$a(existing, incoming) {
|
|
|
8641
9076
|
return true;
|
|
8642
9077
|
}
|
|
8643
9078
|
|
|
8644
|
-
const VERSION$9 = "
|
|
9079
|
+
const VERSION$9 = "9c342600b8e3532a417118e4e7055032";
|
|
8645
9080
|
function validate$e(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
8646
9081
|
const v_error = (() => {
|
|
8647
9082
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8714,11 +9149,25 @@ function validate$e(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
8714
9149
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
8715
9150
|
}
|
|
8716
9151
|
}
|
|
9152
|
+
if (obj.externalDataType !== undefined) {
|
|
9153
|
+
const obj_externalDataType = obj.externalDataType;
|
|
9154
|
+
const path_externalDataType = path + '.externalDataType';
|
|
9155
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
9156
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
9157
|
+
}
|
|
9158
|
+
}
|
|
8717
9159
|
const obj_id = obj.id;
|
|
8718
9160
|
const path_id = path + '.id';
|
|
8719
9161
|
if (typeof obj_id !== 'string') {
|
|
8720
9162
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8721
9163
|
}
|
|
9164
|
+
if (obj.isQueryable !== undefined) {
|
|
9165
|
+
const obj_isQueryable = obj.isQueryable;
|
|
9166
|
+
const path_isQueryable = path + '.isQueryable';
|
|
9167
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
9168
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
9169
|
+
}
|
|
9170
|
+
}
|
|
8722
9171
|
if (obj.isSystemDefinition !== undefined) {
|
|
8723
9172
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
8724
9173
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -8863,10 +9312,20 @@ const select$p = function SemanticParameterOutputRepresentationSelect() {
|
|
|
8863
9312
|
kind: 'Scalar',
|
|
8864
9313
|
required: false
|
|
8865
9314
|
},
|
|
9315
|
+
{
|
|
9316
|
+
name: 'externalDataType',
|
|
9317
|
+
kind: 'Scalar',
|
|
9318
|
+
required: false
|
|
9319
|
+
},
|
|
8866
9320
|
{
|
|
8867
9321
|
name: 'id',
|
|
8868
9322
|
kind: 'Scalar'
|
|
8869
9323
|
},
|
|
9324
|
+
{
|
|
9325
|
+
name: 'isQueryable',
|
|
9326
|
+
kind: 'Scalar',
|
|
9327
|
+
required: false
|
|
9328
|
+
},
|
|
8870
9329
|
{
|
|
8871
9330
|
name: 'isSystemDefinition',
|
|
8872
9331
|
kind: 'Scalar',
|
|
@@ -9028,11 +9487,37 @@ function equals$9(existing, incoming) {
|
|
|
9028
9487
|
return false;
|
|
9029
9488
|
}
|
|
9030
9489
|
}
|
|
9490
|
+
const existing_externalDataType = existing.externalDataType;
|
|
9491
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
9492
|
+
// if at least one of these optionals is defined
|
|
9493
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
9494
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9495
|
+
// not equal
|
|
9496
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
9497
|
+
return false;
|
|
9498
|
+
}
|
|
9499
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
9500
|
+
return false;
|
|
9501
|
+
}
|
|
9502
|
+
}
|
|
9031
9503
|
const existing_id = existing.id;
|
|
9032
9504
|
const incoming_id = incoming.id;
|
|
9033
9505
|
if (!(existing_id === incoming_id)) {
|
|
9034
9506
|
return false;
|
|
9035
9507
|
}
|
|
9508
|
+
const existing_isQueryable = existing.isQueryable;
|
|
9509
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
9510
|
+
// if at least one of these optionals is defined
|
|
9511
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
9512
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9513
|
+
// not equal
|
|
9514
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
9515
|
+
return false;
|
|
9516
|
+
}
|
|
9517
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
9518
|
+
return false;
|
|
9519
|
+
}
|
|
9520
|
+
}
|
|
9036
9521
|
const existing_label = existing.label;
|
|
9037
9522
|
const incoming_label = incoming.label;
|
|
9038
9523
|
// if at least one of these optionals is defined
|
|
@@ -9184,7 +9669,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9184
9669
|
});
|
|
9185
9670
|
}
|
|
9186
9671
|
|
|
9187
|
-
const VERSION$8 = "
|
|
9672
|
+
const VERSION$8 = "56b6e81346b63674fb571a55fe7128bc";
|
|
9188
9673
|
function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
9189
9674
|
const v_error = (() => {
|
|
9190
9675
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9218,7 +9703,7 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9218
9703
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
9219
9704
|
const obj_baseModels_item = obj_baseModels[i];
|
|
9220
9705
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
9221
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
9706
|
+
const referencepath_baseModels_itemValidationError = validate$G(obj_baseModels_item, path_baseModels_item);
|
|
9222
9707
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
9223
9708
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
9224
9709
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9278,7 +9763,7 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9278
9763
|
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
9279
9764
|
const obj_externalConnections_item = obj_externalConnections[i];
|
|
9280
9765
|
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
9281
|
-
const referencepath_externalConnections_itemValidationError = validate$
|
|
9766
|
+
const referencepath_externalConnections_itemValidationError = validate$E(obj_externalConnections_item, path_externalConnections_item);
|
|
9282
9767
|
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
9283
9768
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
9284
9769
|
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9295,7 +9780,7 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9295
9780
|
for (let i = 0; i < obj_fieldsOverrides.length; i++) {
|
|
9296
9781
|
const obj_fieldsOverrides_item = obj_fieldsOverrides[i];
|
|
9297
9782
|
const path_fieldsOverrides_item = path_fieldsOverrides + '[' + i + ']';
|
|
9298
|
-
const referencepath_fieldsOverrides_itemValidationError = validate$
|
|
9783
|
+
const referencepath_fieldsOverrides_itemValidationError = validate$D(obj_fieldsOverrides_item, path_fieldsOverrides_item);
|
|
9299
9784
|
if (referencepath_fieldsOverrides_itemValidationError !== null) {
|
|
9300
9785
|
let message = 'Object doesn\'t match SemanticOverrideOutputRepresentation (at "' + path_fieldsOverrides_item + '")\n';
|
|
9301
9786
|
message += referencepath_fieldsOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9315,6 +9800,20 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9315
9800
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
9316
9801
|
}
|
|
9317
9802
|
}
|
|
9803
|
+
if (obj.isPartialSdm !== undefined) {
|
|
9804
|
+
const obj_isPartialSdm = obj.isPartialSdm;
|
|
9805
|
+
const path_isPartialSdm = path + '.isPartialSdm';
|
|
9806
|
+
if (typeof obj_isPartialSdm !== 'boolean') {
|
|
9807
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isPartialSdm + '" (at "' + path_isPartialSdm + '")');
|
|
9808
|
+
}
|
|
9809
|
+
}
|
|
9810
|
+
if (obj.isQueryable !== undefined) {
|
|
9811
|
+
const obj_isQueryable = obj.isQueryable;
|
|
9812
|
+
const path_isQueryable = path + '.isQueryable';
|
|
9813
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
9814
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
9815
|
+
}
|
|
9816
|
+
}
|
|
9318
9817
|
if (obj.label !== undefined) {
|
|
9319
9818
|
const obj_label = obj.label;
|
|
9320
9819
|
const path_label = path + '.label';
|
|
@@ -9693,9 +10192,9 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
9693
10192
|
return input;
|
|
9694
10193
|
}
|
|
9695
10194
|
const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
9696
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
9697
|
-
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$
|
|
9698
|
-
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$
|
|
10195
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$P();
|
|
10196
|
+
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$N();
|
|
10197
|
+
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$M();
|
|
9699
10198
|
return {
|
|
9700
10199
|
kind: 'Fragment',
|
|
9701
10200
|
version: VERSION$8,
|
|
@@ -9773,6 +10272,16 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
9773
10272
|
kind: 'Scalar',
|
|
9774
10273
|
required: false
|
|
9775
10274
|
},
|
|
10275
|
+
{
|
|
10276
|
+
name: 'isPartialSdm',
|
|
10277
|
+
kind: 'Scalar',
|
|
10278
|
+
required: false
|
|
10279
|
+
},
|
|
10280
|
+
{
|
|
10281
|
+
name: 'isQueryable',
|
|
10282
|
+
kind: 'Scalar',
|
|
10283
|
+
required: false
|
|
10284
|
+
},
|
|
9776
10285
|
{
|
|
9777
10286
|
name: 'label',
|
|
9778
10287
|
kind: 'Scalar',
|
|
@@ -9798,7 +10307,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
9798
10307
|
kind: 'Link',
|
|
9799
10308
|
plural: true,
|
|
9800
10309
|
required: false,
|
|
9801
|
-
fragment: select$
|
|
10310
|
+
fragment: select$K()
|
|
9802
10311
|
},
|
|
9803
10312
|
{
|
|
9804
10313
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -9810,7 +10319,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
9810
10319
|
kind: 'Link',
|
|
9811
10320
|
plural: true,
|
|
9812
10321
|
required: false,
|
|
9813
|
-
fragment: select$
|
|
10322
|
+
fragment: select$J()
|
|
9814
10323
|
},
|
|
9815
10324
|
{
|
|
9816
10325
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -9822,7 +10331,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
9822
10331
|
kind: 'Link',
|
|
9823
10332
|
plural: true,
|
|
9824
10333
|
required: false,
|
|
9825
|
-
fragment: select$
|
|
10334
|
+
fragment: select$I()
|
|
9826
10335
|
},
|
|
9827
10336
|
{
|
|
9828
10337
|
name: 'semanticDataObjectsUrl',
|
|
@@ -9834,7 +10343,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
9834
10343
|
kind: 'Link',
|
|
9835
10344
|
plural: true,
|
|
9836
10345
|
required: false,
|
|
9837
|
-
fragment: select$
|
|
10346
|
+
fragment: select$B()
|
|
9838
10347
|
},
|
|
9839
10348
|
{
|
|
9840
10349
|
name: 'semanticGroupingsUrl',
|
|
@@ -9846,7 +10355,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
9846
10355
|
kind: 'Link',
|
|
9847
10356
|
plural: true,
|
|
9848
10357
|
required: false,
|
|
9849
|
-
fragment: select$
|
|
10358
|
+
fragment: select$w()
|
|
9850
10359
|
},
|
|
9851
10360
|
{
|
|
9852
10361
|
name: 'semanticMetrics',
|
|
@@ -9872,7 +10381,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
9872
10381
|
kind: 'Link',
|
|
9873
10382
|
plural: true,
|
|
9874
10383
|
required: false,
|
|
9875
|
-
fragment: select$
|
|
10384
|
+
fragment: select$z()
|
|
9876
10385
|
},
|
|
9877
10386
|
{
|
|
9878
10387
|
name: 'semanticRelationshipsUrl',
|
|
@@ -9906,6 +10415,19 @@ function equals$8(existing, incoming) {
|
|
|
9906
10415
|
return false;
|
|
9907
10416
|
}
|
|
9908
10417
|
}
|
|
10418
|
+
const existing_isPartialSdm = existing.isPartialSdm;
|
|
10419
|
+
const incoming_isPartialSdm = incoming.isPartialSdm;
|
|
10420
|
+
// if at least one of these optionals is defined
|
|
10421
|
+
if (existing_isPartialSdm !== undefined || incoming_isPartialSdm !== undefined) {
|
|
10422
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10423
|
+
// not equal
|
|
10424
|
+
if (existing_isPartialSdm === undefined || incoming_isPartialSdm === undefined) {
|
|
10425
|
+
return false;
|
|
10426
|
+
}
|
|
10427
|
+
if (!(existing_isPartialSdm === incoming_isPartialSdm)) {
|
|
10428
|
+
return false;
|
|
10429
|
+
}
|
|
10430
|
+
}
|
|
9909
10431
|
const existing_apiName = existing.apiName;
|
|
9910
10432
|
const incoming_apiName = incoming.apiName;
|
|
9911
10433
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -9983,6 +10505,19 @@ function equals$8(existing, incoming) {
|
|
|
9983
10505
|
if (!(existing_id === incoming_id)) {
|
|
9984
10506
|
return false;
|
|
9985
10507
|
}
|
|
10508
|
+
const existing_isQueryable = existing.isQueryable;
|
|
10509
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
10510
|
+
// if at least one of these optionals is defined
|
|
10511
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
10512
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10513
|
+
// not equal
|
|
10514
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
10515
|
+
return false;
|
|
10516
|
+
}
|
|
10517
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
10518
|
+
return false;
|
|
10519
|
+
}
|
|
10520
|
+
}
|
|
9986
10521
|
const existing_label = existing.label;
|
|
9987
10522
|
const incoming_label = incoming.label;
|
|
9988
10523
|
// if at least one of these optionals is defined
|
|
@@ -10136,7 +10671,7 @@ function equals$8(existing, incoming) {
|
|
|
10136
10671
|
return false;
|
|
10137
10672
|
}
|
|
10138
10673
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
10139
|
-
if (!(equals$
|
|
10674
|
+
if (!(equals$z(existing_baseModels_item, incoming_baseModels_item))) {
|
|
10140
10675
|
return false;
|
|
10141
10676
|
}
|
|
10142
10677
|
});
|
|
@@ -10172,7 +10707,7 @@ function equals$8(existing, incoming) {
|
|
|
10172
10707
|
return false;
|
|
10173
10708
|
}
|
|
10174
10709
|
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
10175
|
-
if (!(equals$
|
|
10710
|
+
if (!(equals$x(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
10176
10711
|
return false;
|
|
10177
10712
|
}
|
|
10178
10713
|
});
|
|
@@ -10190,7 +10725,7 @@ function equals$8(existing, incoming) {
|
|
|
10190
10725
|
return false;
|
|
10191
10726
|
}
|
|
10192
10727
|
const equals_fieldsOverrides_items = equalsArray(existing_fieldsOverrides, incoming_fieldsOverrides, (existing_fieldsOverrides_item, incoming_fieldsOverrides_item) => {
|
|
10193
|
-
if (!(equals$
|
|
10728
|
+
if (!(equals$w(existing_fieldsOverrides_item, incoming_fieldsOverrides_item))) {
|
|
10194
10729
|
return false;
|
|
10195
10730
|
}
|
|
10196
10731
|
});
|
|
@@ -10497,7 +11032,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10497
11032
|
const untrustedConfig_baseModels_array = [];
|
|
10498
11033
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
10499
11034
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
10500
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
11035
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$16(untrustedConfig_baseModels_item);
|
|
10501
11036
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
10502
11037
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
10503
11038
|
}
|
|
@@ -10509,7 +11044,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10509
11044
|
const untrustedConfig_externalConnections_array = [];
|
|
10510
11045
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
10511
11046
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
10512
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
11047
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$14(untrustedConfig_externalConnections_item);
|
|
10513
11048
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
10514
11049
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
10515
11050
|
}
|
|
@@ -10521,7 +11056,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10521
11056
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
10522
11057
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
10523
11058
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
10524
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
11059
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$13(untrustedConfig_fieldsOverrides_item);
|
|
10525
11060
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
10526
11061
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
10527
11062
|
}
|
|
@@ -10533,7 +11068,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10533
11068
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10534
11069
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10535
11070
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10536
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
11071
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$11(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10537
11072
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10538
11073
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10539
11074
|
}
|
|
@@ -10545,7 +11080,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10545
11080
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10546
11081
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10547
11082
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10548
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
11083
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$10(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10549
11084
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10550
11085
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10551
11086
|
}
|
|
@@ -10557,7 +11092,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10557
11092
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10558
11093
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
10559
11094
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
10560
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
11095
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$Z(untrustedConfig_semanticDataObjects_item);
|
|
10561
11096
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
10562
11097
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
10563
11098
|
}
|
|
@@ -10569,7 +11104,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10569
11104
|
const untrustedConfig_semanticGroupings_array = [];
|
|
10570
11105
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
10571
11106
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
10572
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
11107
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$S(untrustedConfig_semanticGroupings_item);
|
|
10573
11108
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
10574
11109
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
10575
11110
|
}
|
|
@@ -10581,7 +11116,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10581
11116
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
10582
11117
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
10583
11118
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
10584
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
11119
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$N(untrustedConfig_semanticLogicalViews_item);
|
|
10585
11120
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
10586
11121
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
10587
11122
|
}
|
|
@@ -10593,7 +11128,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10593
11128
|
const untrustedConfig_semanticMetrics_array = [];
|
|
10594
11129
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
10595
11130
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
10596
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
11131
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$I(untrustedConfig_semanticMetrics_item);
|
|
10597
11132
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
10598
11133
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
10599
11134
|
}
|
|
@@ -10605,7 +11140,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10605
11140
|
const untrustedConfig_semanticParameters_array = [];
|
|
10606
11141
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
10607
11142
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
10608
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
11143
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$H(untrustedConfig_semanticParameters_item);
|
|
10609
11144
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
10610
11145
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
10611
11146
|
}
|
|
@@ -10617,7 +11152,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10617
11152
|
const untrustedConfig_semanticRelationships_array = [];
|
|
10618
11153
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
10619
11154
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
10620
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
11155
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$Q(untrustedConfig_semanticRelationships_item);
|
|
10621
11156
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
10622
11157
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
10623
11158
|
}
|
|
@@ -10689,7 +11224,7 @@ function validate$c(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
10689
11224
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
10690
11225
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
10691
11226
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
10692
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
11227
|
+
const referencepath_statusConditions_itemValidationError = validate$1a(obj_statusConditions_item, path_statusConditions_item);
|
|
10693
11228
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
10694
11229
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionInputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
10695
11230
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10749,7 +11284,7 @@ function validate$a(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
10749
11284
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
10750
11285
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
10751
11286
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
10752
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
11287
|
+
const referencepath_statusConditions_itemValidationError = validate$18(obj_statusConditions_item, path_statusConditions_item);
|
|
10753
11288
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
10754
11289
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
10755
11290
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10790,7 +11325,7 @@ function validate$9(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
|
10790
11325
|
return v_error === undefined ? null : v_error;
|
|
10791
11326
|
}
|
|
10792
11327
|
|
|
10793
|
-
const VERSION$7 = "
|
|
11328
|
+
const VERSION$7 = "aa72fa1a282334d9eedca9b6500fb0d9";
|
|
10794
11329
|
function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
10795
11330
|
const v_error = (() => {
|
|
10796
11331
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -10848,7 +11383,7 @@ function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10848
11383
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
10849
11384
|
const obj_filters_item = obj_filters[i];
|
|
10850
11385
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
10851
|
-
const referencepath_filters_itemValidationError = validate$
|
|
11386
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
10852
11387
|
if (referencepath_filters_itemValidationError !== null) {
|
|
10853
11388
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
10854
11389
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10871,6 +11406,13 @@ function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10871
11406
|
if (typeof obj_id !== 'string') {
|
|
10872
11407
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
10873
11408
|
}
|
|
11409
|
+
if (obj.isQueryable !== undefined) {
|
|
11410
|
+
const obj_isQueryable = obj.isQueryable;
|
|
11411
|
+
const path_isQueryable = path + '.isQueryable';
|
|
11412
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
11413
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
11414
|
+
}
|
|
11415
|
+
}
|
|
10874
11416
|
if (obj.label !== undefined) {
|
|
10875
11417
|
const obj_label = obj.label;
|
|
10876
11418
|
const path_label = path + '.label';
|
|
@@ -11030,7 +11572,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11030
11572
|
const untrustedConfig_filters_array = [];
|
|
11031
11573
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
11032
11574
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
11033
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
11575
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$12(untrustedConfig_filters_item);
|
|
11034
11576
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
11035
11577
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
11036
11578
|
}
|
|
@@ -11594,7 +12136,7 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
|
|
|
11594
12136
|
};
|
|
11595
12137
|
|
|
11596
12138
|
function select$i(luvio, params) {
|
|
11597
|
-
return select$
|
|
12139
|
+
return select$R();
|
|
11598
12140
|
}
|
|
11599
12141
|
function keyBuilder$j(luvio, params) {
|
|
11600
12142
|
return keyBuilder$B(luvio, {
|
|
@@ -12756,6 +13298,7 @@ const adapterName$7 = 'getSemanticModel';
|
|
|
12756
13298
|
const getSemanticModel_ConfigPropertyMetadata = [
|
|
12757
13299
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
12758
13300
|
generateParamConfigMetadata('fieldName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
13301
|
+
generateParamConfigMetadata('fineGrainSecurity', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
12759
13302
|
generateParamConfigMetadata('includeModelContent', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
12760
13303
|
generateParamConfigMetadata('includeTableKeys', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
12761
13304
|
];
|
|
@@ -12870,7 +13413,7 @@ const notifyChangeFactory$1 = (luvio, options) => {
|
|
|
12870
13413
|
};
|
|
12871
13414
|
};
|
|
12872
13415
|
|
|
12873
|
-
const VERSION$2 = "
|
|
13416
|
+
const VERSION$2 = "fbfcf3d65a4ca4d916f66efc9208f1cb";
|
|
12874
13417
|
function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
12875
13418
|
const v_error = (() => {
|
|
12876
13419
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -12911,7 +13454,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
12911
13454
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
12912
13455
|
const obj_baseModels_item = obj_baseModels[i];
|
|
12913
13456
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
12914
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
13457
|
+
const referencepath_baseModels_itemValidationError = validate$G(obj_baseModels_item, path_baseModels_item);
|
|
12915
13458
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
12916
13459
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
12917
13460
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12981,6 +13524,13 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
12981
13524
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
12982
13525
|
}
|
|
12983
13526
|
}
|
|
13527
|
+
if (obj.isQueryable !== undefined) {
|
|
13528
|
+
const obj_isQueryable = obj.isQueryable;
|
|
13529
|
+
const path_isQueryable = path + '.isQueryable';
|
|
13530
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
13531
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
13532
|
+
}
|
|
13533
|
+
}
|
|
12984
13534
|
if (obj.label !== undefined) {
|
|
12985
13535
|
const obj_label = obj.label;
|
|
12986
13536
|
const path_label = path + '.label';
|
|
@@ -13090,7 +13640,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
13090
13640
|
return v_error === undefined ? null : v_error;
|
|
13091
13641
|
}
|
|
13092
13642
|
const select$9 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
13093
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
13643
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$P();
|
|
13094
13644
|
return {
|
|
13095
13645
|
kind: 'Fragment',
|
|
13096
13646
|
version: VERSION$2,
|
|
@@ -13164,6 +13714,11 @@ const select$9 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
13164
13714
|
kind: 'Scalar',
|
|
13165
13715
|
required: false
|
|
13166
13716
|
},
|
|
13717
|
+
{
|
|
13718
|
+
name: 'isQueryable',
|
|
13719
|
+
kind: 'Scalar',
|
|
13720
|
+
required: false
|
|
13721
|
+
},
|
|
13167
13722
|
{
|
|
13168
13723
|
name: 'label',
|
|
13169
13724
|
kind: 'Scalar',
|
|
@@ -13344,6 +13899,19 @@ function equals$2(existing, incoming) {
|
|
|
13344
13899
|
if (!(existing_id === incoming_id)) {
|
|
13345
13900
|
return false;
|
|
13346
13901
|
}
|
|
13902
|
+
const existing_isQueryable = existing.isQueryable;
|
|
13903
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
13904
|
+
// if at least one of these optionals is defined
|
|
13905
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
13906
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
13907
|
+
// not equal
|
|
13908
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
13909
|
+
return false;
|
|
13910
|
+
}
|
|
13911
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
13912
|
+
return false;
|
|
13913
|
+
}
|
|
13914
|
+
}
|
|
13347
13915
|
const existing_label = existing.label;
|
|
13348
13916
|
const incoming_label = incoming.label;
|
|
13349
13917
|
// if at least one of these optionals is defined
|
|
@@ -13497,7 +14065,7 @@ function equals$2(existing, incoming) {
|
|
|
13497
14065
|
return false;
|
|
13498
14066
|
}
|
|
13499
14067
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
13500
|
-
if (!(equals$
|
|
14068
|
+
if (!(equals$z(existing_baseModels_item, incoming_baseModels_item))) {
|
|
13501
14069
|
return false;
|
|
13502
14070
|
}
|
|
13503
14071
|
});
|
|
@@ -14536,7 +15104,7 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
14536
15104
|
const untrustedConfig_statusConditions_array = [];
|
|
14537
15105
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
14538
15106
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
14539
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
15107
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$1a(untrustedConfig_statusConditions_item);
|
|
14540
15108
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
14541
15109
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
14542
15110
|
}
|
|
@@ -14658,7 +15226,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14658
15226
|
const untrustedConfig_baseModels_array = [];
|
|
14659
15227
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
14660
15228
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
14661
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
15229
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$16(untrustedConfig_baseModels_item);
|
|
14662
15230
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
14663
15231
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
14664
15232
|
}
|
|
@@ -14670,7 +15238,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14670
15238
|
const untrustedConfig_externalConnections_array = [];
|
|
14671
15239
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
14672
15240
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
14673
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
15241
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$14(untrustedConfig_externalConnections_item);
|
|
14674
15242
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
14675
15243
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
14676
15244
|
}
|
|
@@ -14682,7 +15250,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14682
15250
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
14683
15251
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
14684
15252
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
14685
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
15253
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$13(untrustedConfig_fieldsOverrides_item);
|
|
14686
15254
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
14687
15255
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
14688
15256
|
}
|
|
@@ -14694,7 +15262,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14694
15262
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
14695
15263
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
14696
15264
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
14697
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
15265
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$11(untrustedConfig_semanticCalculatedDimensions_item);
|
|
14698
15266
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
14699
15267
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
14700
15268
|
}
|
|
@@ -14706,7 +15274,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14706
15274
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
14707
15275
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
14708
15276
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
14709
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
15277
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$10(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
14710
15278
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
14711
15279
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
14712
15280
|
}
|
|
@@ -14718,7 +15286,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14718
15286
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
14719
15287
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
14720
15288
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
14721
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
15289
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$Z(untrustedConfig_semanticDataObjects_item);
|
|
14722
15290
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
14723
15291
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
14724
15292
|
}
|
|
@@ -14730,7 +15298,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14730
15298
|
const untrustedConfig_semanticGroupings_array = [];
|
|
14731
15299
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
14732
15300
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
14733
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
15301
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$S(untrustedConfig_semanticGroupings_item);
|
|
14734
15302
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
14735
15303
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
14736
15304
|
}
|
|
@@ -14742,7 +15310,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14742
15310
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
14743
15311
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
14744
15312
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
14745
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
15313
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$N(untrustedConfig_semanticLogicalViews_item);
|
|
14746
15314
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
14747
15315
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
14748
15316
|
}
|
|
@@ -14754,7 +15322,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14754
15322
|
const untrustedConfig_semanticMetrics_array = [];
|
|
14755
15323
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
14756
15324
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
14757
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
15325
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$I(untrustedConfig_semanticMetrics_item);
|
|
14758
15326
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
14759
15327
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
14760
15328
|
}
|
|
@@ -14766,7 +15334,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14766
15334
|
const untrustedConfig_semanticParameters_array = [];
|
|
14767
15335
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
14768
15336
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
14769
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
15337
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$H(untrustedConfig_semanticParameters_item);
|
|
14770
15338
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
14771
15339
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
14772
15340
|
}
|
|
@@ -14778,7 +15346,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14778
15346
|
const untrustedConfig_semanticRelationships_array = [];
|
|
14779
15347
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
14780
15348
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
14781
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
15349
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$Q(untrustedConfig_semanticRelationships_item);
|
|
14782
15350
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
14783
15351
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
14784
15352
|
}
|
|
@@ -14830,7 +15398,7 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
14830
15398
|
};
|
|
14831
15399
|
|
|
14832
15400
|
function select(luvio, params) {
|
|
14833
|
-
return select$
|
|
15401
|
+
return select$R();
|
|
14834
15402
|
}
|
|
14835
15403
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
14836
15404
|
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
@@ -14886,7 +15454,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
14886
15454
|
const config = {};
|
|
14887
15455
|
typeCheckConfig$k(untrustedConfig, config, updateSemanticGoal_ConfigPropertyMetadata);
|
|
14888
15456
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
14889
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
15457
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$1b(untrustedConfig_dateRange);
|
|
14890
15458
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
14891
15459
|
config.dateRange = untrustedConfig_dateRange;
|
|
14892
15460
|
}
|
|
@@ -14895,7 +15463,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
14895
15463
|
const untrustedConfig_statusConditions_array = [];
|
|
14896
15464
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
14897
15465
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
14898
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
15466
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$1a(untrustedConfig_statusConditions_item);
|
|
14899
15467
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
14900
15468
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
14901
15469
|
}
|
|
@@ -15111,4 +15679,4 @@ withDefaultLuvio((luvio) => {
|
|
|
15111
15679
|
});
|
|
15112
15680
|
|
|
15113
15681
|
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 };
|
|
15114
|
-
// version: 1.380.0-
|
|
15682
|
+
// version: 1.380.0-dev10-0a2876c461
|