@salesforce/lds-adapters-cdp-semantic-authoring 1.380.0-dev1 → 1.380.0-dev3
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 +609 -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 +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +4 -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 +4 -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 +4 -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 +4 -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 +4 -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 +767 -313
- package/src/raml/api.raml +113 -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 = "e7d6a5a90b64614a1854f0b959840e50";
|
|
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 + '")');
|
|
@@ -2842,7 +2903,7 @@ function validate$A(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2842
2903
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2843
2904
|
const obj_filters_item = obj_filters[i];
|
|
2844
2905
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2845
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2906
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
2846
2907
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2847
2908
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
2848
2909
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2862,6 +2923,13 @@ function validate$A(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2862
2923
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
2863
2924
|
}
|
|
2864
2925
|
}
|
|
2926
|
+
if (obj.isQueryable !== undefined) {
|
|
2927
|
+
const obj_isQueryable = obj.isQueryable;
|
|
2928
|
+
const path_isQueryable = path + '.isQueryable';
|
|
2929
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
2930
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
2931
|
+
}
|
|
2932
|
+
}
|
|
2865
2933
|
if (obj.isSystemDefinition !== undefined) {
|
|
2866
2934
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
2867
2935
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -2948,11 +3016,11 @@ function keyBuilderFromType$b(luvio, object) {
|
|
|
2948
3016
|
function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
2949
3017
|
return input;
|
|
2950
3018
|
}
|
|
2951
|
-
const select$
|
|
2952
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
3019
|
+
const select$K = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
3020
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
|
|
2953
3021
|
return {
|
|
2954
3022
|
kind: 'Fragment',
|
|
2955
|
-
version: VERSION$
|
|
3023
|
+
version: VERSION$u,
|
|
2956
3024
|
private: [],
|
|
2957
3025
|
selections: [
|
|
2958
3026
|
{
|
|
@@ -3033,6 +3101,11 @@ const select$J = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
3033
3101
|
kind: 'Scalar',
|
|
3034
3102
|
required: false
|
|
3035
3103
|
},
|
|
3104
|
+
{
|
|
3105
|
+
name: 'isQueryable',
|
|
3106
|
+
kind: 'Scalar',
|
|
3107
|
+
required: false
|
|
3108
|
+
},
|
|
3036
3109
|
{
|
|
3037
3110
|
name: 'isSystemDefinition',
|
|
3038
3111
|
kind: 'Scalar',
|
|
@@ -3086,7 +3159,7 @@ const select$J = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
3086
3159
|
]
|
|
3087
3160
|
};
|
|
3088
3161
|
};
|
|
3089
|
-
function equals$
|
|
3162
|
+
function equals$u(existing, incoming) {
|
|
3090
3163
|
const existing_isOverrideBase = existing.isOverrideBase;
|
|
3091
3164
|
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
3092
3165
|
// if at least one of these optionals is defined
|
|
@@ -3289,6 +3362,19 @@ function equals$t(existing, incoming) {
|
|
|
3289
3362
|
if (!(existing_id === incoming_id)) {
|
|
3290
3363
|
return false;
|
|
3291
3364
|
}
|
|
3365
|
+
const existing_isQueryable = existing.isQueryable;
|
|
3366
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
3367
|
+
// if at least one of these optionals is defined
|
|
3368
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
3369
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3370
|
+
// not equal
|
|
3371
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
3372
|
+
return false;
|
|
3373
|
+
}
|
|
3374
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
3375
|
+
return false;
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3292
3378
|
const existing_label = existing.label;
|
|
3293
3379
|
const incoming_label = incoming.label;
|
|
3294
3380
|
// if at least one of these optionals is defined
|
|
@@ -3390,7 +3476,7 @@ function equals$t(existing, incoming) {
|
|
|
3390
3476
|
return false;
|
|
3391
3477
|
}
|
|
3392
3478
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
3393
|
-
if (!(equals$
|
|
3479
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
3394
3480
|
return false;
|
|
3395
3481
|
}
|
|
3396
3482
|
});
|
|
@@ -3402,14 +3488,14 @@ function equals$t(existing, incoming) {
|
|
|
3402
3488
|
}
|
|
3403
3489
|
const ingest$h = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3404
3490
|
if (process.env.NODE_ENV !== 'production') {
|
|
3405
|
-
const validateError = validate$
|
|
3491
|
+
const validateError = validate$B(input);
|
|
3406
3492
|
if (validateError !== null) {
|
|
3407
3493
|
throw validateError;
|
|
3408
3494
|
}
|
|
3409
3495
|
}
|
|
3410
3496
|
const key = keyBuilderFromType$b(luvio, input);
|
|
3411
3497
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
3412
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$
|
|
3498
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$u, RepresentationType$h, equals$u);
|
|
3413
3499
|
return createLink(key);
|
|
3414
3500
|
};
|
|
3415
3501
|
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3422,8 +3508,8 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3422
3508
|
});
|
|
3423
3509
|
}
|
|
3424
3510
|
|
|
3425
|
-
const VERSION$
|
|
3426
|
-
function validate$
|
|
3511
|
+
const VERSION$t = "b994fb51ffb78d7e6fce27437cc1bd82";
|
|
3512
|
+
function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
3427
3513
|
const v_error = (() => {
|
|
3428
3514
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3429
3515
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3536,7 +3622,7 @@ function validate$z(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3536
3622
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3537
3623
|
const obj_filters_item = obj_filters[i];
|
|
3538
3624
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3539
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3625
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
3540
3626
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3541
3627
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
3542
3628
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3563,6 +3649,13 @@ function validate$z(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3563
3649
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
3564
3650
|
}
|
|
3565
3651
|
}
|
|
3652
|
+
if (obj.isQueryable !== undefined) {
|
|
3653
|
+
const obj_isQueryable = obj.isQueryable;
|
|
3654
|
+
const path_isQueryable = path + '.isQueryable';
|
|
3655
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
3656
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
3657
|
+
}
|
|
3658
|
+
}
|
|
3566
3659
|
if (obj.isSystemDefinition !== undefined) {
|
|
3567
3660
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
3568
3661
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -3670,11 +3763,11 @@ function keyBuilderFromType$a(luvio, object) {
|
|
|
3670
3763
|
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
3671
3764
|
return input;
|
|
3672
3765
|
}
|
|
3673
|
-
const select$
|
|
3674
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
3766
|
+
const select$J = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
3767
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
|
|
3675
3768
|
return {
|
|
3676
3769
|
kind: 'Fragment',
|
|
3677
|
-
version: VERSION$
|
|
3770
|
+
version: VERSION$t,
|
|
3678
3771
|
private: [],
|
|
3679
3772
|
selections: [
|
|
3680
3773
|
{
|
|
@@ -3770,6 +3863,11 @@ const select$I = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3770
3863
|
kind: 'Scalar',
|
|
3771
3864
|
required: false
|
|
3772
3865
|
},
|
|
3866
|
+
{
|
|
3867
|
+
name: 'isQueryable',
|
|
3868
|
+
kind: 'Scalar',
|
|
3869
|
+
required: false
|
|
3870
|
+
},
|
|
3773
3871
|
{
|
|
3774
3872
|
name: 'isSystemDefinition',
|
|
3775
3873
|
kind: 'Scalar',
|
|
@@ -3838,7 +3936,7 @@ const select$I = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3838
3936
|
]
|
|
3839
3937
|
};
|
|
3840
3938
|
};
|
|
3841
|
-
function equals$
|
|
3939
|
+
function equals$t(existing, incoming) {
|
|
3842
3940
|
const existing_isAggregatable = existing.isAggregatable;
|
|
3843
3941
|
const incoming_isAggregatable = incoming.isAggregatable;
|
|
3844
3942
|
// if at least one of these optionals is defined
|
|
@@ -4093,6 +4191,19 @@ function equals$s(existing, incoming) {
|
|
|
4093
4191
|
if (!(existing_id === incoming_id)) {
|
|
4094
4192
|
return false;
|
|
4095
4193
|
}
|
|
4194
|
+
const existing_isQueryable = existing.isQueryable;
|
|
4195
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
4196
|
+
// if at least one of these optionals is defined
|
|
4197
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
4198
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4199
|
+
// not equal
|
|
4200
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
4201
|
+
return false;
|
|
4202
|
+
}
|
|
4203
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
4204
|
+
return false;
|
|
4205
|
+
}
|
|
4206
|
+
}
|
|
4096
4207
|
const existing_label = existing.label;
|
|
4097
4208
|
const incoming_label = incoming.label;
|
|
4098
4209
|
// if at least one of these optionals is defined
|
|
@@ -4220,7 +4331,7 @@ function equals$s(existing, incoming) {
|
|
|
4220
4331
|
return false;
|
|
4221
4332
|
}
|
|
4222
4333
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
4223
|
-
if (!(equals$
|
|
4334
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
4224
4335
|
return false;
|
|
4225
4336
|
}
|
|
4226
4337
|
});
|
|
@@ -4232,14 +4343,14 @@ function equals$s(existing, incoming) {
|
|
|
4232
4343
|
}
|
|
4233
4344
|
const ingest$g = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4234
4345
|
if (process.env.NODE_ENV !== 'production') {
|
|
4235
|
-
const validateError = validate$
|
|
4346
|
+
const validateError = validate$A(input);
|
|
4236
4347
|
if (validateError !== null) {
|
|
4237
4348
|
throw validateError;
|
|
4238
4349
|
}
|
|
4239
4350
|
}
|
|
4240
4351
|
const key = keyBuilderFromType$a(luvio, input);
|
|
4241
4352
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4242
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$
|
|
4353
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$t, RepresentationType$g, equals$t);
|
|
4243
4354
|
return createLink(key);
|
|
4244
4355
|
};
|
|
4245
4356
|
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4252,7 +4363,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4252
4363
|
});
|
|
4253
4364
|
}
|
|
4254
4365
|
|
|
4255
|
-
function validate$
|
|
4366
|
+
function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
4256
4367
|
const v_error = (() => {
|
|
4257
4368
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4258
4369
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4347,6 +4458,13 @@ function validate$y(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
4347
4458
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
4348
4459
|
}
|
|
4349
4460
|
}
|
|
4461
|
+
if (obj.isQueryable !== undefined) {
|
|
4462
|
+
const obj_isQueryable = obj.isQueryable;
|
|
4463
|
+
const path_isQueryable = path + '.isQueryable';
|
|
4464
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
4465
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
4466
|
+
}
|
|
4467
|
+
}
|
|
4350
4468
|
if (obj.isSystemDefinition !== undefined) {
|
|
4351
4469
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
4352
4470
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -4421,7 +4539,7 @@ function validate$y(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
4421
4539
|
return v_error === undefined ? null : v_error;
|
|
4422
4540
|
}
|
|
4423
4541
|
|
|
4424
|
-
function validate$
|
|
4542
|
+
function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
4425
4543
|
const v_error = (() => {
|
|
4426
4544
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4427
4545
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4537,6 +4655,13 @@ function validate$x(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4537
4655
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
4538
4656
|
}
|
|
4539
4657
|
}
|
|
4658
|
+
if (obj.isQueryable !== undefined) {
|
|
4659
|
+
const obj_isQueryable = obj.isQueryable;
|
|
4660
|
+
const path_isQueryable = path + '.isQueryable';
|
|
4661
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
4662
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
4663
|
+
}
|
|
4664
|
+
}
|
|
4540
4665
|
if (obj.isSystemDefinition !== undefined) {
|
|
4541
4666
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
4542
4667
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -4625,8 +4750,8 @@ function validate$x(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4625
4750
|
return v_error === undefined ? null : v_error;
|
|
4626
4751
|
}
|
|
4627
4752
|
|
|
4628
|
-
const VERSION$
|
|
4629
|
-
function validate$
|
|
4753
|
+
const VERSION$s = "7804fea5e1a3894ad9c1e89a2ce17ab9";
|
|
4754
|
+
function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
4630
4755
|
const v_error = (() => {
|
|
4631
4756
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4632
4757
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4704,7 +4829,7 @@ function validate$w(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4704
4829
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4705
4830
|
const obj_filters_item = obj_filters[i];
|
|
4706
4831
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4707
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4832
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
4708
4833
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4709
4834
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4710
4835
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4717,6 +4842,13 @@ function validate$w(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4717
4842
|
if (typeof obj_id !== 'string') {
|
|
4718
4843
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
4719
4844
|
}
|
|
4845
|
+
if (obj.isQueryable !== undefined) {
|
|
4846
|
+
const obj_isQueryable = obj.isQueryable;
|
|
4847
|
+
const path_isQueryable = path + '.isQueryable';
|
|
4848
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
4849
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
4850
|
+
}
|
|
4851
|
+
}
|
|
4720
4852
|
if (obj.isSystemDefinition !== undefined) {
|
|
4721
4853
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
4722
4854
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -4768,7 +4900,7 @@ function validate$w(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4768
4900
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
4769
4901
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
4770
4902
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
4771
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
4903
|
+
const referencepath_semanticDimensions_itemValidationError = validate$z(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
4772
4904
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
4773
4905
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
4774
4906
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4792,7 +4924,7 @@ function validate$w(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4792
4924
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
4793
4925
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
4794
4926
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
4795
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
4927
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$y(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
4796
4928
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
4797
4929
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
4798
4930
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4844,15 +4976,15 @@ function keyBuilderFromType$9(luvio, object) {
|
|
|
4844
4976
|
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
4845
4977
|
return input;
|
|
4846
4978
|
}
|
|
4847
|
-
const select$
|
|
4979
|
+
const select$I = function SemanticDataObjectOutputRepresentationSelect() {
|
|
4848
4980
|
return {
|
|
4849
4981
|
kind: 'Fragment',
|
|
4850
|
-
version: VERSION$
|
|
4982
|
+
version: VERSION$s,
|
|
4851
4983
|
private: [],
|
|
4852
4984
|
opaque: true
|
|
4853
4985
|
};
|
|
4854
4986
|
};
|
|
4855
|
-
function equals$
|
|
4987
|
+
function equals$s(existing, incoming) {
|
|
4856
4988
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
4857
4989
|
return false;
|
|
4858
4990
|
}
|
|
@@ -4860,14 +4992,14 @@ function equals$r(existing, incoming) {
|
|
|
4860
4992
|
}
|
|
4861
4993
|
const ingest$f = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4862
4994
|
if (process.env.NODE_ENV !== 'production') {
|
|
4863
|
-
const validateError = validate$
|
|
4995
|
+
const validateError = validate$x(input);
|
|
4864
4996
|
if (validateError !== null) {
|
|
4865
4997
|
throw validateError;
|
|
4866
4998
|
}
|
|
4867
4999
|
}
|
|
4868
5000
|
const key = keyBuilderFromType$9(luvio, input);
|
|
4869
5001
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4870
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$
|
|
5002
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$s, RepresentationType$f, equals$s);
|
|
4871
5003
|
return createLink(key);
|
|
4872
5004
|
};
|
|
4873
5005
|
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4880,8 +5012,8 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4880
5012
|
});
|
|
4881
5013
|
}
|
|
4882
5014
|
|
|
4883
|
-
const VERSION$
|
|
4884
|
-
function validate$
|
|
5015
|
+
const VERSION$r = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
5016
|
+
function validate$w(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
4885
5017
|
const v_error = (() => {
|
|
4886
5018
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4887
5019
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4890,10 +5022,10 @@ function validate$v(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
4890
5022
|
})();
|
|
4891
5023
|
return v_error === undefined ? null : v_error;
|
|
4892
5024
|
}
|
|
4893
|
-
const select$
|
|
5025
|
+
const select$H = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
4894
5026
|
return {
|
|
4895
5027
|
kind: 'Fragment',
|
|
4896
|
-
version: VERSION$
|
|
5028
|
+
version: VERSION$r,
|
|
4897
5029
|
private: [],
|
|
4898
5030
|
selections: [
|
|
4899
5031
|
{
|
|
@@ -4903,7 +5035,7 @@ const select$G = function BinDimensionConfigurationOutputRepresentationSelect()
|
|
|
4903
5035
|
]
|
|
4904
5036
|
};
|
|
4905
5037
|
};
|
|
4906
|
-
function equals$
|
|
5038
|
+
function equals$r(existing, incoming) {
|
|
4907
5039
|
const existing_constantBinSize = existing.constantBinSize;
|
|
4908
5040
|
const incoming_constantBinSize = incoming.constantBinSize;
|
|
4909
5041
|
if (!(existing_constantBinSize === incoming_constantBinSize)) {
|
|
@@ -4912,8 +5044,8 @@ function equals$q(existing, incoming) {
|
|
|
4912
5044
|
return true;
|
|
4913
5045
|
}
|
|
4914
5046
|
|
|
4915
|
-
const VERSION$
|
|
4916
|
-
function validate$
|
|
5047
|
+
const VERSION$q = "2cdadcd630abb7b981b2d131880a68c0";
|
|
5048
|
+
function validate$v(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
4917
5049
|
const v_error = (() => {
|
|
4918
5050
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4919
5051
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4940,10 +5072,10 @@ function validate$u(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
4940
5072
|
})();
|
|
4941
5073
|
return v_error === undefined ? null : v_error;
|
|
4942
5074
|
}
|
|
4943
|
-
const select$
|
|
5075
|
+
const select$G = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
4944
5076
|
return {
|
|
4945
5077
|
kind: 'Fragment',
|
|
4946
|
-
version: VERSION$
|
|
5078
|
+
version: VERSION$q,
|
|
4947
5079
|
private: [],
|
|
4948
5080
|
selections: [
|
|
4949
5081
|
{
|
|
@@ -4959,7 +5091,7 @@ const select$F = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
|
4959
5091
|
]
|
|
4960
5092
|
};
|
|
4961
5093
|
};
|
|
4962
|
-
function equals$
|
|
5094
|
+
function equals$q(existing, incoming) {
|
|
4963
5095
|
const existing_name = existing.name;
|
|
4964
5096
|
const incoming_name = incoming.name;
|
|
4965
5097
|
if (!(existing_name === incoming_name)) {
|
|
@@ -4986,8 +5118,8 @@ function equals$p(existing, incoming) {
|
|
|
4986
5118
|
return true;
|
|
4987
5119
|
}
|
|
4988
5120
|
|
|
4989
|
-
const VERSION$
|
|
4990
|
-
function validate$
|
|
5121
|
+
const VERSION$p = "55c60b6207985632192cb4e419822a86";
|
|
5122
|
+
function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
4991
5123
|
const v_error = (() => {
|
|
4992
5124
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4993
5125
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5001,7 +5133,7 @@ function validate$t(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
5001
5133
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
5002
5134
|
const obj_groups_item = obj_groups[i];
|
|
5003
5135
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
5004
|
-
const referencepath_groups_itemValidationError = validate$
|
|
5136
|
+
const referencepath_groups_itemValidationError = validate$v(obj_groups_item, path_groups_item);
|
|
5005
5137
|
if (referencepath_groups_itemValidationError !== null) {
|
|
5006
5138
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
5007
5139
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5019,11 +5151,11 @@ function validate$t(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
5019
5151
|
})();
|
|
5020
5152
|
return v_error === undefined ? null : v_error;
|
|
5021
5153
|
}
|
|
5022
|
-
const select$
|
|
5023
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
5154
|
+
const select$F = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
5155
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$G();
|
|
5024
5156
|
return {
|
|
5025
5157
|
kind: 'Fragment',
|
|
5026
|
-
version: VERSION$
|
|
5158
|
+
version: VERSION$p,
|
|
5027
5159
|
private: [],
|
|
5028
5160
|
selections: [
|
|
5029
5161
|
{
|
|
@@ -5041,7 +5173,7 @@ const select$E = function GroupDimensionConfigurationOutputRepresentationSelect(
|
|
|
5041
5173
|
]
|
|
5042
5174
|
};
|
|
5043
5175
|
};
|
|
5044
|
-
function equals$
|
|
5176
|
+
function equals$p(existing, incoming) {
|
|
5045
5177
|
const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
|
|
5046
5178
|
const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
|
|
5047
5179
|
// if at least one of these optionals is defined
|
|
@@ -5065,7 +5197,7 @@ function equals$o(existing, incoming) {
|
|
|
5065
5197
|
return false;
|
|
5066
5198
|
}
|
|
5067
5199
|
const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
|
|
5068
|
-
if (!(equals$
|
|
5200
|
+
if (!(equals$q(existing_groups_item, incoming_groups_item))) {
|
|
5069
5201
|
return false;
|
|
5070
5202
|
}
|
|
5071
5203
|
});
|
|
@@ -5076,8 +5208,8 @@ function equals$o(existing, incoming) {
|
|
|
5076
5208
|
return true;
|
|
5077
5209
|
}
|
|
5078
5210
|
|
|
5079
|
-
const VERSION$
|
|
5080
|
-
function validate$
|
|
5211
|
+
const VERSION$o = "50dc390b159159afb1945b9a811c9f80";
|
|
5212
|
+
function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
5081
5213
|
const v_error = (() => {
|
|
5082
5214
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5083
5215
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5085,7 +5217,7 @@ function validate$s(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5085
5217
|
if (obj.binDimension !== undefined) {
|
|
5086
5218
|
const obj_binDimension = obj.binDimension;
|
|
5087
5219
|
const path_binDimension = path + '.binDimension';
|
|
5088
|
-
const referencepath_binDimensionValidationError = validate$
|
|
5220
|
+
const referencepath_binDimensionValidationError = validate$w(obj_binDimension, path_binDimension);
|
|
5089
5221
|
if (referencepath_binDimensionValidationError !== null) {
|
|
5090
5222
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
5091
5223
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5095,7 +5227,7 @@ function validate$s(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5095
5227
|
if (obj.groupDimension !== undefined) {
|
|
5096
5228
|
const obj_groupDimension = obj.groupDimension;
|
|
5097
5229
|
const path_groupDimension = path + '.groupDimension';
|
|
5098
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
5230
|
+
const referencepath_groupDimensionValidationError = validate$u(obj_groupDimension, path_groupDimension);
|
|
5099
5231
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
5100
5232
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
5101
5233
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5105,12 +5237,12 @@ function validate$s(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5105
5237
|
})();
|
|
5106
5238
|
return v_error === undefined ? null : v_error;
|
|
5107
5239
|
}
|
|
5108
|
-
const select$
|
|
5109
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
5110
|
-
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
5240
|
+
const select$E = function SemanticGroupingConfigurationOutputRepresentationSelect() {
|
|
5241
|
+
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$H();
|
|
5242
|
+
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$F();
|
|
5111
5243
|
return {
|
|
5112
5244
|
kind: 'Fragment',
|
|
5113
|
-
version: VERSION$
|
|
5245
|
+
version: VERSION$o,
|
|
5114
5246
|
private: [],
|
|
5115
5247
|
selections: [
|
|
5116
5248
|
{
|
|
@@ -5128,7 +5260,7 @@ const select$D = function SemanticGroupingConfigurationOutputRepresentationSelec
|
|
|
5128
5260
|
]
|
|
5129
5261
|
};
|
|
5130
5262
|
};
|
|
5131
|
-
function equals$
|
|
5263
|
+
function equals$o(existing, incoming) {
|
|
5132
5264
|
const existing_binDimension = existing.binDimension;
|
|
5133
5265
|
const incoming_binDimension = incoming.binDimension;
|
|
5134
5266
|
// if at least one of these optionals is defined
|
|
@@ -5138,7 +5270,7 @@ function equals$n(existing, incoming) {
|
|
|
5138
5270
|
if (existing_binDimension === undefined || incoming_binDimension === undefined) {
|
|
5139
5271
|
return false;
|
|
5140
5272
|
}
|
|
5141
|
-
if (!(equals$
|
|
5273
|
+
if (!(equals$r(existing_binDimension, incoming_binDimension))) {
|
|
5142
5274
|
return false;
|
|
5143
5275
|
}
|
|
5144
5276
|
}
|
|
@@ -5151,15 +5283,15 @@ function equals$n(existing, incoming) {
|
|
|
5151
5283
|
if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
|
|
5152
5284
|
return false;
|
|
5153
5285
|
}
|
|
5154
|
-
if (!(equals$
|
|
5286
|
+
if (!(equals$p(existing_groupDimension, incoming_groupDimension))) {
|
|
5155
5287
|
return false;
|
|
5156
5288
|
}
|
|
5157
5289
|
}
|
|
5158
5290
|
return true;
|
|
5159
5291
|
}
|
|
5160
5292
|
|
|
5161
|
-
const VERSION$
|
|
5162
|
-
function validate$
|
|
5293
|
+
const VERSION$n = "a2976cd68e629a917463a3b690cf2527";
|
|
5294
|
+
function validate$s(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
5163
5295
|
const v_error = (() => {
|
|
5164
5296
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5165
5297
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5181,10 +5313,10 @@ function validate$r(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
|
|
|
5181
5313
|
})();
|
|
5182
5314
|
return v_error === undefined ? null : v_error;
|
|
5183
5315
|
}
|
|
5184
|
-
const select$
|
|
5316
|
+
const select$D = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
5185
5317
|
return {
|
|
5186
5318
|
kind: 'Fragment',
|
|
5187
|
-
version: VERSION$
|
|
5319
|
+
version: VERSION$n,
|
|
5188
5320
|
private: [],
|
|
5189
5321
|
selections: [
|
|
5190
5322
|
{
|
|
@@ -5200,7 +5332,7 @@ const select$C = function SemanticTableFieldReferenceOutputRepresentationSelect(
|
|
|
5200
5332
|
]
|
|
5201
5333
|
};
|
|
5202
5334
|
};
|
|
5203
|
-
function equals$
|
|
5335
|
+
function equals$n(existing, incoming) {
|
|
5204
5336
|
const existing_fieldApiName = existing.fieldApiName;
|
|
5205
5337
|
const incoming_fieldApiName = incoming.fieldApiName;
|
|
5206
5338
|
// if at least one of these optionals is defined
|
|
@@ -5230,8 +5362,8 @@ function equals$m(existing, incoming) {
|
|
|
5230
5362
|
return true;
|
|
5231
5363
|
}
|
|
5232
5364
|
|
|
5233
|
-
const VERSION$
|
|
5234
|
-
function validate$
|
|
5365
|
+
const VERSION$m = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
5366
|
+
function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
5235
5367
|
const v_error = (() => {
|
|
5236
5368
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5237
5369
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5246,7 +5378,7 @@ function validate$q(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
5246
5378
|
if (obj.tableFieldReference !== undefined) {
|
|
5247
5379
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
5248
5380
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
5249
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
5381
|
+
const referencepath_tableFieldReferenceValidationError = validate$s(obj_tableFieldReference, path_tableFieldReference);
|
|
5250
5382
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
5251
5383
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
5252
5384
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5256,11 +5388,11 @@ function validate$q(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
5256
5388
|
})();
|
|
5257
5389
|
return v_error === undefined ? null : v_error;
|
|
5258
5390
|
}
|
|
5259
|
-
const select$
|
|
5260
|
-
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$
|
|
5391
|
+
const select$C = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
5392
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$D();
|
|
5261
5393
|
return {
|
|
5262
5394
|
kind: 'Fragment',
|
|
5263
|
-
version: VERSION$
|
|
5395
|
+
version: VERSION$m,
|
|
5264
5396
|
private: [],
|
|
5265
5397
|
selections: [
|
|
5266
5398
|
{
|
|
@@ -5277,7 +5409,7 @@ const select$B = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
|
5277
5409
|
]
|
|
5278
5410
|
};
|
|
5279
5411
|
};
|
|
5280
|
-
function equals$
|
|
5412
|
+
function equals$m(existing, incoming) {
|
|
5281
5413
|
const existing_calculatedFieldApiName = existing.calculatedFieldApiName;
|
|
5282
5414
|
const incoming_calculatedFieldApiName = incoming.calculatedFieldApiName;
|
|
5283
5415
|
// if at least one of these optionals is defined
|
|
@@ -5300,15 +5432,15 @@ function equals$l(existing, incoming) {
|
|
|
5300
5432
|
if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
|
|
5301
5433
|
return false;
|
|
5302
5434
|
}
|
|
5303
|
-
if (!(equals$
|
|
5435
|
+
if (!(equals$n(existing_tableFieldReference, incoming_tableFieldReference))) {
|
|
5304
5436
|
return false;
|
|
5305
5437
|
}
|
|
5306
5438
|
}
|
|
5307
5439
|
return true;
|
|
5308
5440
|
}
|
|
5309
5441
|
|
|
5310
|
-
const VERSION$
|
|
5311
|
-
function validate$
|
|
5442
|
+
const VERSION$l = "da0057405dbf52ebeb39361b8d9e3301";
|
|
5443
|
+
function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
5312
5444
|
const v_error = (() => {
|
|
5313
5445
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5314
5446
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5334,7 +5466,7 @@ function validate$p(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5334
5466
|
}
|
|
5335
5467
|
const obj_configuration = obj.configuration;
|
|
5336
5468
|
const path_configuration = path + '.configuration';
|
|
5337
|
-
const referencepath_configurationValidationError = validate$
|
|
5469
|
+
const referencepath_configurationValidationError = validate$t(obj_configuration, path_configuration);
|
|
5338
5470
|
if (referencepath_configurationValidationError !== null) {
|
|
5339
5471
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
5340
5472
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5359,7 +5491,7 @@ function validate$p(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5359
5491
|
}
|
|
5360
5492
|
const obj_fieldReference = obj.fieldReference;
|
|
5361
5493
|
const path_fieldReference = path + '.fieldReference';
|
|
5362
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
5494
|
+
const referencepath_fieldReferenceValidationError = validate$r(obj_fieldReference, path_fieldReference);
|
|
5363
5495
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
5364
5496
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
5365
5497
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5370,6 +5502,13 @@ function validate$p(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5370
5502
|
if (typeof obj_id !== 'string') {
|
|
5371
5503
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
5372
5504
|
}
|
|
5505
|
+
if (obj.isQueryable !== undefined) {
|
|
5506
|
+
const obj_isQueryable = obj.isQueryable;
|
|
5507
|
+
const path_isQueryable = path + '.isQueryable';
|
|
5508
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
5509
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
5510
|
+
}
|
|
5511
|
+
}
|
|
5373
5512
|
if (obj.isSystemDefinition !== undefined) {
|
|
5374
5513
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
5375
5514
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -5426,12 +5565,12 @@ function keyBuilderFromType$8(luvio, object) {
|
|
|
5426
5565
|
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
5427
5566
|
return input;
|
|
5428
5567
|
}
|
|
5429
|
-
const select$
|
|
5430
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
5431
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
5568
|
+
const select$B = function SemanticGroupingOutputRepresentationSelect() {
|
|
5569
|
+
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$E();
|
|
5570
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
5432
5571
|
return {
|
|
5433
5572
|
kind: 'Fragment',
|
|
5434
|
-
version: VERSION$
|
|
5573
|
+
version: VERSION$l,
|
|
5435
5574
|
private: [],
|
|
5436
5575
|
selections: [
|
|
5437
5576
|
{
|
|
@@ -5475,6 +5614,11 @@ const select$A = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
5475
5614
|
name: 'id',
|
|
5476
5615
|
kind: 'Scalar'
|
|
5477
5616
|
},
|
|
5617
|
+
{
|
|
5618
|
+
name: 'isQueryable',
|
|
5619
|
+
kind: 'Scalar',
|
|
5620
|
+
required: false
|
|
5621
|
+
},
|
|
5478
5622
|
{
|
|
5479
5623
|
name: 'isSystemDefinition',
|
|
5480
5624
|
kind: 'Scalar',
|
|
@@ -5507,7 +5651,7 @@ const select$A = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
5507
5651
|
]
|
|
5508
5652
|
};
|
|
5509
5653
|
};
|
|
5510
|
-
function equals$
|
|
5654
|
+
function equals$l(existing, incoming) {
|
|
5511
5655
|
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
5512
5656
|
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
5513
5657
|
// if at least one of these optionals is defined
|
|
@@ -5593,6 +5737,19 @@ function equals$k(existing, incoming) {
|
|
|
5593
5737
|
if (!(existing_id === incoming_id)) {
|
|
5594
5738
|
return false;
|
|
5595
5739
|
}
|
|
5740
|
+
const existing_isQueryable = existing.isQueryable;
|
|
5741
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
5742
|
+
// if at least one of these optionals is defined
|
|
5743
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
5744
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5745
|
+
// not equal
|
|
5746
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
5747
|
+
return false;
|
|
5748
|
+
}
|
|
5749
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
5750
|
+
return false;
|
|
5751
|
+
}
|
|
5752
|
+
}
|
|
5596
5753
|
const existing_label = existing.label;
|
|
5597
5754
|
const incoming_label = incoming.label;
|
|
5598
5755
|
// if at least one of these optionals is defined
|
|
@@ -5639,26 +5796,26 @@ function equals$k(existing, incoming) {
|
|
|
5639
5796
|
}
|
|
5640
5797
|
const existing_configuration = existing.configuration;
|
|
5641
5798
|
const incoming_configuration = incoming.configuration;
|
|
5642
|
-
if (!(equals$
|
|
5799
|
+
if (!(equals$o(existing_configuration, incoming_configuration))) {
|
|
5643
5800
|
return false;
|
|
5644
5801
|
}
|
|
5645
5802
|
const existing_fieldReference = existing.fieldReference;
|
|
5646
5803
|
const incoming_fieldReference = incoming.fieldReference;
|
|
5647
|
-
if (!(equals$
|
|
5804
|
+
if (!(equals$m(existing_fieldReference, incoming_fieldReference))) {
|
|
5648
5805
|
return false;
|
|
5649
5806
|
}
|
|
5650
5807
|
return true;
|
|
5651
5808
|
}
|
|
5652
5809
|
const ingest$e = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5653
5810
|
if (process.env.NODE_ENV !== 'production') {
|
|
5654
|
-
const validateError = validate$
|
|
5811
|
+
const validateError = validate$q(input);
|
|
5655
5812
|
if (validateError !== null) {
|
|
5656
5813
|
throw validateError;
|
|
5657
5814
|
}
|
|
5658
5815
|
}
|
|
5659
5816
|
const key = keyBuilderFromType$8(luvio, input);
|
|
5660
5817
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5661
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$
|
|
5818
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$l, RepresentationType$e, equals$l);
|
|
5662
5819
|
return createLink(key);
|
|
5663
5820
|
};
|
|
5664
5821
|
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5671,8 +5828,8 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5671
5828
|
});
|
|
5672
5829
|
}
|
|
5673
5830
|
|
|
5674
|
-
const VERSION$
|
|
5675
|
-
function validate$
|
|
5831
|
+
const VERSION$k = "c5144c317ac72b60d580cab803514b8d";
|
|
5832
|
+
function validate$p(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
5676
5833
|
const v_error = (() => {
|
|
5677
5834
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5678
5835
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5715,10 +5872,10 @@ function validate$o(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
5715
5872
|
})();
|
|
5716
5873
|
return v_error === undefined ? null : v_error;
|
|
5717
5874
|
}
|
|
5718
|
-
const select$
|
|
5875
|
+
const select$A = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
5719
5876
|
return {
|
|
5720
5877
|
kind: 'Fragment',
|
|
5721
|
-
version: VERSION$
|
|
5878
|
+
version: VERSION$k,
|
|
5722
5879
|
private: [],
|
|
5723
5880
|
selections: [
|
|
5724
5881
|
{
|
|
@@ -5749,7 +5906,7 @@ const select$z = function SemanticRelationshipCriteriaOutputRepresentationSelect
|
|
|
5749
5906
|
]
|
|
5750
5907
|
};
|
|
5751
5908
|
};
|
|
5752
|
-
function equals$
|
|
5909
|
+
function equals$k(existing, incoming) {
|
|
5753
5910
|
const existing_joinOperator = existing.joinOperator;
|
|
5754
5911
|
const incoming_joinOperator = incoming.joinOperator;
|
|
5755
5912
|
// if at least one of these optionals is defined
|
|
@@ -5818,8 +5975,8 @@ function equals$j(existing, incoming) {
|
|
|
5818
5975
|
return true;
|
|
5819
5976
|
}
|
|
5820
5977
|
|
|
5821
|
-
const VERSION$
|
|
5822
|
-
function validate$
|
|
5978
|
+
const VERSION$j = "b54e564b71d26e8ac89b5649db876f6f";
|
|
5979
|
+
function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
5823
5980
|
const v_error = (() => {
|
|
5824
5981
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5825
5982
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5869,7 +6026,7 @@ function validate$n(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5869
6026
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
5870
6027
|
const obj_criteria_item = obj_criteria[i];
|
|
5871
6028
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
5872
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
6029
|
+
const referencepath_criteria_itemValidationError = validate$p(obj_criteria_item, path_criteria_item);
|
|
5873
6030
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
5874
6031
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
5875
6032
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5896,6 +6053,13 @@ function validate$n(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5896
6053
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isEnabled + '" (at "' + path_isEnabled + '")');
|
|
5897
6054
|
}
|
|
5898
6055
|
}
|
|
6056
|
+
if (obj.isQueryable !== undefined) {
|
|
6057
|
+
const obj_isQueryable = obj.isQueryable;
|
|
6058
|
+
const path_isQueryable = path + '.isQueryable';
|
|
6059
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
6060
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
6061
|
+
}
|
|
6062
|
+
}
|
|
5899
6063
|
if (obj.isSystemDefinition !== undefined) {
|
|
5900
6064
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
5901
6065
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -5975,11 +6139,11 @@ function keyBuilderFromType$7(luvio, object) {
|
|
|
5975
6139
|
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
5976
6140
|
return input;
|
|
5977
6141
|
}
|
|
5978
|
-
const select$
|
|
5979
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
6142
|
+
const select$z = function SemanticRelationshipOutputRepresentationSelect() {
|
|
6143
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$A();
|
|
5980
6144
|
return {
|
|
5981
6145
|
kind: 'Fragment',
|
|
5982
|
-
version: VERSION$
|
|
6146
|
+
version: VERSION$j,
|
|
5983
6147
|
private: [],
|
|
5984
6148
|
selections: [
|
|
5985
6149
|
{
|
|
@@ -6030,6 +6194,11 @@ const select$y = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
6030
6194
|
kind: 'Scalar',
|
|
6031
6195
|
required: false
|
|
6032
6196
|
},
|
|
6197
|
+
{
|
|
6198
|
+
name: 'isQueryable',
|
|
6199
|
+
kind: 'Scalar',
|
|
6200
|
+
required: false
|
|
6201
|
+
},
|
|
6033
6202
|
{
|
|
6034
6203
|
name: 'isSystemDefinition',
|
|
6035
6204
|
kind: 'Scalar',
|
|
@@ -6078,7 +6247,7 @@ const select$y = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
6078
6247
|
]
|
|
6079
6248
|
};
|
|
6080
6249
|
};
|
|
6081
|
-
function equals$
|
|
6250
|
+
function equals$j(existing, incoming) {
|
|
6082
6251
|
const existing_isEnabled = existing.isEnabled;
|
|
6083
6252
|
const incoming_isEnabled = incoming.isEnabled;
|
|
6084
6253
|
// if at least one of these optionals is defined
|
|
@@ -6190,6 +6359,19 @@ function equals$i(existing, incoming) {
|
|
|
6190
6359
|
if (!(existing_id === incoming_id)) {
|
|
6191
6360
|
return false;
|
|
6192
6361
|
}
|
|
6362
|
+
const existing_isQueryable = existing.isQueryable;
|
|
6363
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
6364
|
+
// if at least one of these optionals is defined
|
|
6365
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
6366
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6367
|
+
// not equal
|
|
6368
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
6369
|
+
return false;
|
|
6370
|
+
}
|
|
6371
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
6372
|
+
return false;
|
|
6373
|
+
}
|
|
6374
|
+
}
|
|
6193
6375
|
const existing_joinType = existing.joinType;
|
|
6194
6376
|
const incoming_joinType = incoming.joinType;
|
|
6195
6377
|
// if at least one of these optionals is defined
|
|
@@ -6291,7 +6473,7 @@ function equals$i(existing, incoming) {
|
|
|
6291
6473
|
return false;
|
|
6292
6474
|
}
|
|
6293
6475
|
const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
|
|
6294
|
-
if (!(equals$
|
|
6476
|
+
if (!(equals$k(existing_criteria_item, incoming_criteria_item))) {
|
|
6295
6477
|
return false;
|
|
6296
6478
|
}
|
|
6297
6479
|
});
|
|
@@ -6303,14 +6485,14 @@ function equals$i(existing, incoming) {
|
|
|
6303
6485
|
}
|
|
6304
6486
|
const ingest$d = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6305
6487
|
if (process.env.NODE_ENV !== 'production') {
|
|
6306
|
-
const validateError = validate$
|
|
6488
|
+
const validateError = validate$o(input);
|
|
6307
6489
|
if (validateError !== null) {
|
|
6308
6490
|
throw validateError;
|
|
6309
6491
|
}
|
|
6310
6492
|
}
|
|
6311
6493
|
const key = keyBuilderFromType$7(luvio, input);
|
|
6312
6494
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6313
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$
|
|
6495
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$j, RepresentationType$d, equals$j);
|
|
6314
6496
|
return createLink(key);
|
|
6315
6497
|
};
|
|
6316
6498
|
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6323,8 +6505,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6323
6505
|
});
|
|
6324
6506
|
}
|
|
6325
6507
|
|
|
6326
|
-
const VERSION$
|
|
6327
|
-
function validate$
|
|
6508
|
+
const VERSION$i = "35088fced8f6d5a9595954736caf0ea9";
|
|
6509
|
+
function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
6328
6510
|
const v_error = (() => {
|
|
6329
6511
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6330
6512
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6374,7 +6556,7 @@ function validate$m(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6374
6556
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
6375
6557
|
const obj_fields_item = obj_fields[i];
|
|
6376
6558
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
6377
|
-
const referencepath_fields_itemValidationError = validate$
|
|
6559
|
+
const referencepath_fields_itemValidationError = validate$s(obj_fields_item, path_fields_item);
|
|
6378
6560
|
if (referencepath_fields_itemValidationError !== null) {
|
|
6379
6561
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
6380
6562
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6387,6 +6569,13 @@ function validate$m(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6387
6569
|
if (typeof obj_id !== 'string') {
|
|
6388
6570
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
6389
6571
|
}
|
|
6572
|
+
if (obj.isQueryable !== undefined) {
|
|
6573
|
+
const obj_isQueryable = obj.isQueryable;
|
|
6574
|
+
const path_isQueryable = path + '.isQueryable';
|
|
6575
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
6576
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
6577
|
+
}
|
|
6578
|
+
}
|
|
6390
6579
|
if (obj.isSystemDefinition !== undefined) {
|
|
6391
6580
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
6392
6581
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -6425,7 +6614,7 @@ function validate$m(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6425
6614
|
if (obj.semanticDimension !== undefined) {
|
|
6426
6615
|
const obj_semanticDimension = obj.semanticDimension;
|
|
6427
6616
|
const path_semanticDimension = path + '.semanticDimension';
|
|
6428
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
6617
|
+
const referencepath_semanticDimensionValidationError = validate$z(obj_semanticDimension, path_semanticDimension);
|
|
6429
6618
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
6430
6619
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
6431
6620
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6435,7 +6624,7 @@ function validate$m(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6435
6624
|
if (obj.semanticMeasurement !== undefined) {
|
|
6436
6625
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
6437
6626
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
6438
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
6627
|
+
const referencepath_semanticMeasurementValidationError = validate$y(obj_semanticMeasurement, path_semanticMeasurement);
|
|
6439
6628
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
6440
6629
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
6441
6630
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6465,15 +6654,15 @@ function keyBuilderFromType$6(luvio, object) {
|
|
|
6465
6654
|
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
6466
6655
|
return input;
|
|
6467
6656
|
}
|
|
6468
|
-
const select$
|
|
6657
|
+
const select$y = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
6469
6658
|
return {
|
|
6470
6659
|
kind: 'Fragment',
|
|
6471
|
-
version: VERSION$
|
|
6660
|
+
version: VERSION$i,
|
|
6472
6661
|
private: [],
|
|
6473
6662
|
opaque: true
|
|
6474
6663
|
};
|
|
6475
6664
|
};
|
|
6476
|
-
function equals$
|
|
6665
|
+
function equals$i(existing, incoming) {
|
|
6477
6666
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
6478
6667
|
return false;
|
|
6479
6668
|
}
|
|
@@ -6481,14 +6670,14 @@ function equals$h(existing, incoming) {
|
|
|
6481
6670
|
}
|
|
6482
6671
|
const ingest$c = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6483
6672
|
if (process.env.NODE_ENV !== 'production') {
|
|
6484
|
-
const validateError = validate$
|
|
6673
|
+
const validateError = validate$n(input);
|
|
6485
6674
|
if (validateError !== null) {
|
|
6486
6675
|
throw validateError;
|
|
6487
6676
|
}
|
|
6488
6677
|
}
|
|
6489
6678
|
const key = keyBuilderFromType$6(luvio, input);
|
|
6490
6679
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6491
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$
|
|
6680
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$i, RepresentationType$c, equals$i);
|
|
6492
6681
|
return createLink(key);
|
|
6493
6682
|
};
|
|
6494
6683
|
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6501,8 +6690,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6501
6690
|
});
|
|
6502
6691
|
}
|
|
6503
6692
|
|
|
6504
|
-
const VERSION$
|
|
6505
|
-
function validate$
|
|
6693
|
+
const VERSION$h = "98b8b40b3bc74aaa0644e303d378db60";
|
|
6694
|
+
function validate$m(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
6506
6695
|
const v_error = (() => {
|
|
6507
6696
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6508
6697
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6548,6 +6737,13 @@ function validate$l(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
|
6548
6737
|
if (typeof obj_id !== 'string') {
|
|
6549
6738
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
6550
6739
|
}
|
|
6740
|
+
if (obj.isQueryable !== undefined) {
|
|
6741
|
+
const obj_isQueryable = obj.isQueryable;
|
|
6742
|
+
const path_isQueryable = path + '.isQueryable';
|
|
6743
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
6744
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
6745
|
+
}
|
|
6746
|
+
}
|
|
6551
6747
|
if (obj.label !== undefined) {
|
|
6552
6748
|
const obj_label = obj.label;
|
|
6553
6749
|
const path_label = path + '.label';
|
|
@@ -6677,10 +6873,10 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
|
6677
6873
|
}
|
|
6678
6874
|
return input;
|
|
6679
6875
|
}
|
|
6680
|
-
const select$
|
|
6876
|
+
const select$x = function SemanticUnionOutputRepresentationSelect() {
|
|
6681
6877
|
return {
|
|
6682
6878
|
kind: 'Fragment',
|
|
6683
|
-
version: VERSION$
|
|
6879
|
+
version: VERSION$h,
|
|
6684
6880
|
private: [],
|
|
6685
6881
|
selections: [
|
|
6686
6882
|
{
|
|
@@ -6714,6 +6910,11 @@ const select$w = function SemanticUnionOutputRepresentationSelect() {
|
|
|
6714
6910
|
name: 'id',
|
|
6715
6911
|
kind: 'Scalar'
|
|
6716
6912
|
},
|
|
6913
|
+
{
|
|
6914
|
+
name: 'isQueryable',
|
|
6915
|
+
kind: 'Scalar',
|
|
6916
|
+
required: false
|
|
6917
|
+
},
|
|
6717
6918
|
{
|
|
6718
6919
|
name: 'label',
|
|
6719
6920
|
kind: 'Scalar',
|
|
@@ -6739,19 +6940,19 @@ const select$w = function SemanticUnionOutputRepresentationSelect() {
|
|
|
6739
6940
|
kind: 'Link',
|
|
6740
6941
|
plural: true,
|
|
6741
6942
|
required: false,
|
|
6742
|
-
fragment: select$
|
|
6943
|
+
fragment: select$I()
|
|
6743
6944
|
},
|
|
6744
6945
|
{
|
|
6745
6946
|
name: 'semanticMappedFields',
|
|
6746
6947
|
kind: 'Link',
|
|
6747
6948
|
plural: true,
|
|
6748
6949
|
required: false,
|
|
6749
|
-
fragment: select$
|
|
6950
|
+
fragment: select$y()
|
|
6750
6951
|
}
|
|
6751
6952
|
]
|
|
6752
6953
|
};
|
|
6753
6954
|
};
|
|
6754
|
-
function equals$
|
|
6955
|
+
function equals$h(existing, incoming) {
|
|
6755
6956
|
const existing_apiName = existing.apiName;
|
|
6756
6957
|
const incoming_apiName = incoming.apiName;
|
|
6757
6958
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -6811,6 +7012,19 @@ function equals$g(existing, incoming) {
|
|
|
6811
7012
|
if (!(existing_id === incoming_id)) {
|
|
6812
7013
|
return false;
|
|
6813
7014
|
}
|
|
7015
|
+
const existing_isQueryable = existing.isQueryable;
|
|
7016
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
7017
|
+
// if at least one of these optionals is defined
|
|
7018
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
7019
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7020
|
+
// not equal
|
|
7021
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
7022
|
+
return false;
|
|
7023
|
+
}
|
|
7024
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
7025
|
+
return false;
|
|
7026
|
+
}
|
|
7027
|
+
}
|
|
6814
7028
|
const existing_label = existing.label;
|
|
6815
7029
|
const incoming_label = incoming.label;
|
|
6816
7030
|
// if at least one of these optionals is defined
|
|
@@ -6903,14 +7117,14 @@ function equals$g(existing, incoming) {
|
|
|
6903
7117
|
}
|
|
6904
7118
|
const ingest$b = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6905
7119
|
if (process.env.NODE_ENV !== 'production') {
|
|
6906
|
-
const validateError = validate$
|
|
7120
|
+
const validateError = validate$m(input);
|
|
6907
7121
|
if (validateError !== null) {
|
|
6908
7122
|
throw validateError;
|
|
6909
7123
|
}
|
|
6910
7124
|
}
|
|
6911
7125
|
const key = keyBuilderFromType$5(luvio, input);
|
|
6912
7126
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6913
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$
|
|
7127
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$h, RepresentationType$b, equals$h);
|
|
6914
7128
|
return createLink(key);
|
|
6915
7129
|
};
|
|
6916
7130
|
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6935,8 +7149,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6935
7149
|
}
|
|
6936
7150
|
}
|
|
6937
7151
|
|
|
6938
|
-
const VERSION$
|
|
6939
|
-
function validate$
|
|
7152
|
+
const VERSION$g = "deed87abd43631c27a6067ac00a1a018";
|
|
7153
|
+
function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
6940
7154
|
const v_error = (() => {
|
|
6941
7155
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6942
7156
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7000,7 +7214,7 @@ function validate$k(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7000
7214
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7001
7215
|
const obj_filters_item = obj_filters[i];
|
|
7002
7216
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7003
|
-
const referencepath_filters_itemValidationError = validate$
|
|
7217
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
7004
7218
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7005
7219
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7006
7220
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7013,6 +7227,13 @@ function validate$k(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7013
7227
|
if (typeof obj_id !== 'string') {
|
|
7014
7228
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
7015
7229
|
}
|
|
7230
|
+
if (obj.isQueryable !== undefined) {
|
|
7231
|
+
const obj_isQueryable = obj.isQueryable;
|
|
7232
|
+
const path_isQueryable = path + '.isQueryable';
|
|
7233
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
7234
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
7235
|
+
}
|
|
7236
|
+
}
|
|
7016
7237
|
if (obj.isSystemDefinition !== undefined) {
|
|
7017
7238
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
7018
7239
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -7181,11 +7402,11 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
7181
7402
|
}
|
|
7182
7403
|
return input;
|
|
7183
7404
|
}
|
|
7184
|
-
const select$
|
|
7185
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
7405
|
+
const select$w = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
7406
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
|
|
7186
7407
|
return {
|
|
7187
7408
|
kind: 'Fragment',
|
|
7188
|
-
version: VERSION$
|
|
7409
|
+
version: VERSION$g,
|
|
7189
7410
|
private: [],
|
|
7190
7411
|
selections: [
|
|
7191
7412
|
{
|
|
@@ -7236,6 +7457,11 @@ const select$v = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7236
7457
|
name: 'id',
|
|
7237
7458
|
kind: 'Scalar'
|
|
7238
7459
|
},
|
|
7460
|
+
{
|
|
7461
|
+
name: 'isQueryable',
|
|
7462
|
+
kind: 'Scalar',
|
|
7463
|
+
required: false
|
|
7464
|
+
},
|
|
7239
7465
|
{
|
|
7240
7466
|
name: 'isSystemDefinition',
|
|
7241
7467
|
kind: 'Scalar',
|
|
@@ -7266,21 +7492,21 @@ const select$v = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7266
7492
|
kind: 'Link',
|
|
7267
7493
|
plural: true,
|
|
7268
7494
|
required: false,
|
|
7269
|
-
fragment: select$
|
|
7495
|
+
fragment: select$I()
|
|
7270
7496
|
},
|
|
7271
7497
|
{
|
|
7272
7498
|
name: 'semanticRelationships',
|
|
7273
7499
|
kind: 'Link',
|
|
7274
7500
|
plural: true,
|
|
7275
7501
|
required: false,
|
|
7276
|
-
fragment: select$
|
|
7502
|
+
fragment: select$z()
|
|
7277
7503
|
},
|
|
7278
7504
|
{
|
|
7279
7505
|
name: 'semanticUnions',
|
|
7280
7506
|
kind: 'Link',
|
|
7281
7507
|
plural: true,
|
|
7282
7508
|
required: false,
|
|
7283
|
-
fragment: select$
|
|
7509
|
+
fragment: select$x()
|
|
7284
7510
|
},
|
|
7285
7511
|
{
|
|
7286
7512
|
name: 'semanticViewTypeEnum',
|
|
@@ -7300,7 +7526,7 @@ const select$v = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7300
7526
|
]
|
|
7301
7527
|
};
|
|
7302
7528
|
};
|
|
7303
|
-
function equals$
|
|
7529
|
+
function equals$g(existing, incoming) {
|
|
7304
7530
|
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
7305
7531
|
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
7306
7532
|
// if at least one of these optionals is defined
|
|
@@ -7412,6 +7638,19 @@ function equals$f(existing, incoming) {
|
|
|
7412
7638
|
if (!(existing_id === incoming_id)) {
|
|
7413
7639
|
return false;
|
|
7414
7640
|
}
|
|
7641
|
+
const existing_isQueryable = existing.isQueryable;
|
|
7642
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
7643
|
+
// if at least one of these optionals is defined
|
|
7644
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
7645
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7646
|
+
// not equal
|
|
7647
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
7648
|
+
return false;
|
|
7649
|
+
}
|
|
7650
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
7651
|
+
return false;
|
|
7652
|
+
}
|
|
7653
|
+
}
|
|
7415
7654
|
const existing_label = existing.label;
|
|
7416
7655
|
const incoming_label = incoming.label;
|
|
7417
7656
|
// if at least one of these optionals is defined
|
|
@@ -7500,7 +7739,7 @@ function equals$f(existing, incoming) {
|
|
|
7500
7739
|
return false;
|
|
7501
7740
|
}
|
|
7502
7741
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
7503
|
-
if (!(equals$
|
|
7742
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
7504
7743
|
return false;
|
|
7505
7744
|
}
|
|
7506
7745
|
});
|
|
@@ -7566,14 +7805,14 @@ function equals$f(existing, incoming) {
|
|
|
7566
7805
|
}
|
|
7567
7806
|
const ingest$a = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7568
7807
|
if (process.env.NODE_ENV !== 'production') {
|
|
7569
|
-
const validateError = validate$
|
|
7808
|
+
const validateError = validate$l(input);
|
|
7570
7809
|
if (validateError !== null) {
|
|
7571
7810
|
throw validateError;
|
|
7572
7811
|
}
|
|
7573
7812
|
}
|
|
7574
7813
|
const key = keyBuilderFromType$4(luvio, input);
|
|
7575
7814
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7576
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$
|
|
7815
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$g, RepresentationType$a, equals$g);
|
|
7577
7816
|
return createLink(key);
|
|
7578
7817
|
};
|
|
7579
7818
|
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7604,6 +7843,58 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7604
7843
|
}
|
|
7605
7844
|
}
|
|
7606
7845
|
|
|
7846
|
+
const VERSION$f = "abbe4306b9ecdab2a1f50709c75eb26a";
|
|
7847
|
+
function validate$k(obj, path = 'SemanticMetricForecastConfigurationOutputRepresentation') {
|
|
7848
|
+
const v_error = (() => {
|
|
7849
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7850
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7851
|
+
}
|
|
7852
|
+
if (obj.forecastMeasurementReference !== undefined) {
|
|
7853
|
+
const obj_forecastMeasurementReference = obj.forecastMeasurementReference;
|
|
7854
|
+
const path_forecastMeasurementReference = path + '.forecastMeasurementReference';
|
|
7855
|
+
const referencepath_forecastMeasurementReferenceValidationError = validate$r(obj_forecastMeasurementReference, path_forecastMeasurementReference);
|
|
7856
|
+
if (referencepath_forecastMeasurementReferenceValidationError !== null) {
|
|
7857
|
+
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_forecastMeasurementReference + '")\n';
|
|
7858
|
+
message += referencepath_forecastMeasurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
7859
|
+
return new TypeError(message);
|
|
7860
|
+
}
|
|
7861
|
+
}
|
|
7862
|
+
})();
|
|
7863
|
+
return v_error === undefined ? null : v_error;
|
|
7864
|
+
}
|
|
7865
|
+
const select$v = function SemanticMetricForecastConfigurationOutputRepresentationSelect() {
|
|
7866
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
7867
|
+
return {
|
|
7868
|
+
kind: 'Fragment',
|
|
7869
|
+
version: VERSION$f,
|
|
7870
|
+
private: [],
|
|
7871
|
+
selections: [
|
|
7872
|
+
{
|
|
7873
|
+
name: 'forecastMeasurementReference',
|
|
7874
|
+
kind: 'Object',
|
|
7875
|
+
selections: SemanticFieldReferenceOutputRepresentation__selections,
|
|
7876
|
+
required: false
|
|
7877
|
+
}
|
|
7878
|
+
]
|
|
7879
|
+
};
|
|
7880
|
+
};
|
|
7881
|
+
function equals$f(existing, incoming) {
|
|
7882
|
+
const existing_forecastMeasurementReference = existing.forecastMeasurementReference;
|
|
7883
|
+
const incoming_forecastMeasurementReference = incoming.forecastMeasurementReference;
|
|
7884
|
+
// if at least one of these optionals is defined
|
|
7885
|
+
if (existing_forecastMeasurementReference !== undefined || incoming_forecastMeasurementReference !== undefined) {
|
|
7886
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7887
|
+
// not equal
|
|
7888
|
+
if (existing_forecastMeasurementReference === undefined || incoming_forecastMeasurementReference === undefined) {
|
|
7889
|
+
return false;
|
|
7890
|
+
}
|
|
7891
|
+
if (!(equals$m(existing_forecastMeasurementReference, incoming_forecastMeasurementReference))) {
|
|
7892
|
+
return false;
|
|
7893
|
+
}
|
|
7894
|
+
}
|
|
7895
|
+
return true;
|
|
7896
|
+
}
|
|
7897
|
+
|
|
7607
7898
|
const VERSION$e = "a50848c632bb205d5e910bb726d9219e";
|
|
7608
7899
|
function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
7609
7900
|
const v_error = (() => {
|
|
@@ -7613,7 +7904,7 @@ function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7613
7904
|
if (obj.identifierDimensionReference !== undefined) {
|
|
7614
7905
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
7615
7906
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
7616
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
7907
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$r(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
7617
7908
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
7618
7909
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
7619
7910
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7623,7 +7914,7 @@ function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7623
7914
|
if (obj.namingDimensionReference !== undefined) {
|
|
7624
7915
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
7625
7916
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
7626
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
7917
|
+
const referencepath_namingDimensionReferenceValidationError = validate$r(obj_namingDimensionReference, path_namingDimensionReference);
|
|
7627
7918
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
7628
7919
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
7629
7920
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7634,7 +7925,7 @@ function validate$j(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
7634
7925
|
return v_error === undefined ? null : v_error;
|
|
7635
7926
|
}
|
|
7636
7927
|
const select$u = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
7637
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
7928
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
7638
7929
|
return {
|
|
7639
7930
|
kind: 'Fragment',
|
|
7640
7931
|
version: VERSION$e,
|
|
@@ -7665,7 +7956,7 @@ function equals$e(existing, incoming) {
|
|
|
7665
7956
|
if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
|
|
7666
7957
|
return false;
|
|
7667
7958
|
}
|
|
7668
|
-
if (!(equals$
|
|
7959
|
+
if (!(equals$m(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
|
|
7669
7960
|
return false;
|
|
7670
7961
|
}
|
|
7671
7962
|
}
|
|
@@ -7678,7 +7969,7 @@ function equals$e(existing, incoming) {
|
|
|
7678
7969
|
if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
|
|
7679
7970
|
return false;
|
|
7680
7971
|
}
|
|
7681
|
-
if (!(equals$
|
|
7972
|
+
if (!(equals$m(existing_namingDimensionReference, incoming_namingDimensionReference))) {
|
|
7682
7973
|
return false;
|
|
7683
7974
|
}
|
|
7684
7975
|
}
|
|
@@ -7757,12 +8048,22 @@ function equals$d(existing, incoming) {
|
|
|
7757
8048
|
return true;
|
|
7758
8049
|
}
|
|
7759
8050
|
|
|
7760
|
-
const VERSION$c = "
|
|
8051
|
+
const VERSION$c = "1ee2337e8f73261cbb44258b393d1bec";
|
|
7761
8052
|
function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
7762
8053
|
const v_error = (() => {
|
|
7763
8054
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7764
8055
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7765
8056
|
}
|
|
8057
|
+
if (obj.forecastConfiguration !== undefined) {
|
|
8058
|
+
const obj_forecastConfiguration = obj.forecastConfiguration;
|
|
8059
|
+
const path_forecastConfiguration = path + '.forecastConfiguration';
|
|
8060
|
+
const referencepath_forecastConfigurationValidationError = validate$k(obj_forecastConfiguration, path_forecastConfiguration);
|
|
8061
|
+
if (referencepath_forecastConfigurationValidationError !== null) {
|
|
8062
|
+
let message = 'Object doesn\'t match SemanticMetricForecastConfigurationOutputRepresentation (at "' + path_forecastConfiguration + '")\n';
|
|
8063
|
+
message += referencepath_forecastConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8064
|
+
return new TypeError(message);
|
|
8065
|
+
}
|
|
8066
|
+
}
|
|
7766
8067
|
if (obj.identifyingDimension !== undefined) {
|
|
7767
8068
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
7768
8069
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
@@ -7799,7 +8100,7 @@ function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7799
8100
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
7800
8101
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
7801
8102
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
7802
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
8103
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$r(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
7803
8104
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
7804
8105
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
7805
8106
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7832,14 +8133,21 @@ function validate$h(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
7832
8133
|
return v_error === undefined ? null : v_error;
|
|
7833
8134
|
}
|
|
7834
8135
|
const select$s = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
8136
|
+
const { selections: SemanticMetricForecastConfigurationOutputRepresentation__selections, opaque: SemanticMetricForecastConfigurationOutputRepresentation__opaque, } = select$v();
|
|
7835
8137
|
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$u();
|
|
7836
8138
|
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$t();
|
|
7837
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
8139
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
7838
8140
|
return {
|
|
7839
8141
|
kind: 'Fragment',
|
|
7840
8142
|
version: VERSION$c,
|
|
7841
8143
|
private: [],
|
|
7842
8144
|
selections: [
|
|
8145
|
+
{
|
|
8146
|
+
name: 'forecastConfiguration',
|
|
8147
|
+
kind: 'Object',
|
|
8148
|
+
selections: SemanticMetricForecastConfigurationOutputRepresentation__selections,
|
|
8149
|
+
required: false
|
|
8150
|
+
},
|
|
7843
8151
|
{
|
|
7844
8152
|
name: 'identifyingDimension',
|
|
7845
8153
|
kind: 'Object',
|
|
@@ -7918,6 +8226,19 @@ function equals$c(existing, incoming) {
|
|
|
7918
8226
|
return false;
|
|
7919
8227
|
}
|
|
7920
8228
|
}
|
|
8229
|
+
const existing_forecastConfiguration = existing.forecastConfiguration;
|
|
8230
|
+
const incoming_forecastConfiguration = incoming.forecastConfiguration;
|
|
8231
|
+
// if at least one of these optionals is defined
|
|
8232
|
+
if (existing_forecastConfiguration !== undefined || incoming_forecastConfiguration !== undefined) {
|
|
8233
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8234
|
+
// not equal
|
|
8235
|
+
if (existing_forecastConfiguration === undefined || incoming_forecastConfiguration === undefined) {
|
|
8236
|
+
return false;
|
|
8237
|
+
}
|
|
8238
|
+
if (!(equals$f(existing_forecastConfiguration, incoming_forecastConfiguration))) {
|
|
8239
|
+
return false;
|
|
8240
|
+
}
|
|
8241
|
+
}
|
|
7921
8242
|
const existing_identifyingDimension = existing.identifyingDimension;
|
|
7922
8243
|
const incoming_identifyingDimension = incoming.identifyingDimension;
|
|
7923
8244
|
// if at least one of these optionals is defined
|
|
@@ -7959,7 +8280,7 @@ function equals$c(existing, incoming) {
|
|
|
7959
8280
|
return false;
|
|
7960
8281
|
}
|
|
7961
8282
|
const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
|
|
7962
|
-
if (!(equals$
|
|
8283
|
+
if (!(equals$m(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
|
|
7963
8284
|
return false;
|
|
7964
8285
|
}
|
|
7965
8286
|
});
|
|
@@ -7970,7 +8291,7 @@ function equals$c(existing, incoming) {
|
|
|
7970
8291
|
return true;
|
|
7971
8292
|
}
|
|
7972
8293
|
|
|
7973
|
-
const VERSION$b = "
|
|
8294
|
+
const VERSION$b = "3800a2eb703d5a4964899b4e067ee1d8";
|
|
7974
8295
|
function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
7975
8296
|
const v_error = (() => {
|
|
7976
8297
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -7985,7 +8306,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7985
8306
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
7986
8307
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
7987
8308
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
7988
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
8309
|
+
const referencepath_additionalDimensions_itemValidationError = validate$r(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
7989
8310
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
7990
8311
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
7991
8312
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8052,7 +8373,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8052
8373
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
8053
8374
|
const obj_filters_item = obj_filters[i];
|
|
8054
8375
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
8055
|
-
const referencepath_filters_itemValidationError = validate$
|
|
8376
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
8056
8377
|
if (referencepath_filters_itemValidationError !== null) {
|
|
8057
8378
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
8058
8379
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8082,6 +8403,13 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8082
8403
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isCumulative + '" (at "' + path_isCumulative + '")');
|
|
8083
8404
|
}
|
|
8084
8405
|
}
|
|
8406
|
+
if (obj.isQueryable !== undefined) {
|
|
8407
|
+
const obj_isQueryable = obj.isQueryable;
|
|
8408
|
+
const path_isQueryable = path + '.isQueryable';
|
|
8409
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
8410
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
8411
|
+
}
|
|
8412
|
+
}
|
|
8085
8413
|
if (obj.isSystemDefinition !== undefined) {
|
|
8086
8414
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
8087
8415
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -8113,7 +8441,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8113
8441
|
if (obj.measurementReference !== undefined) {
|
|
8114
8442
|
const obj_measurementReference = obj.measurementReference;
|
|
8115
8443
|
const path_measurementReference = path + '.measurementReference';
|
|
8116
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
8444
|
+
const referencepath_measurementReferenceValidationError = validate$r(obj_measurementReference, path_measurementReference);
|
|
8117
8445
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
8118
8446
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
8119
8447
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8123,7 +8451,7 @@ function validate$g(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
8123
8451
|
if (obj.timeDimensionReference !== undefined) {
|
|
8124
8452
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
8125
8453
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
8126
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
8454
|
+
const referencepath_timeDimensionReferenceValidationError = validate$r(obj_timeDimensionReference, path_timeDimensionReference);
|
|
8127
8455
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
8128
8456
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
8129
8457
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8168,8 +8496,8 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
|
8168
8496
|
return input;
|
|
8169
8497
|
}
|
|
8170
8498
|
const select$r = function SemanticMetricOutputRepresentationSelect() {
|
|
8171
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
8172
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
8499
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
8500
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
|
|
8173
8501
|
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$s();
|
|
8174
8502
|
return {
|
|
8175
8503
|
kind: 'Fragment',
|
|
@@ -8242,6 +8570,11 @@ const select$r = function SemanticMetricOutputRepresentationSelect() {
|
|
|
8242
8570
|
kind: 'Scalar',
|
|
8243
8571
|
required: false
|
|
8244
8572
|
},
|
|
8573
|
+
{
|
|
8574
|
+
name: 'isQueryable',
|
|
8575
|
+
kind: 'Scalar',
|
|
8576
|
+
required: false
|
|
8577
|
+
},
|
|
8245
8578
|
{
|
|
8246
8579
|
name: 'isSystemDefinition',
|
|
8247
8580
|
kind: 'Scalar',
|
|
@@ -8413,6 +8746,19 @@ function equals$b(existing, incoming) {
|
|
|
8413
8746
|
if (!(existing_id === incoming_id)) {
|
|
8414
8747
|
return false;
|
|
8415
8748
|
}
|
|
8749
|
+
const existing_isQueryable = existing.isQueryable;
|
|
8750
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
8751
|
+
// if at least one of these optionals is defined
|
|
8752
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
8753
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8754
|
+
// not equal
|
|
8755
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
8756
|
+
return false;
|
|
8757
|
+
}
|
|
8758
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
8759
|
+
return false;
|
|
8760
|
+
}
|
|
8761
|
+
}
|
|
8416
8762
|
const existing_label = existing.label;
|
|
8417
8763
|
const incoming_label = incoming.label;
|
|
8418
8764
|
// if at least one of these optionals is defined
|
|
@@ -8462,7 +8808,7 @@ function equals$b(existing, incoming) {
|
|
|
8462
8808
|
return false;
|
|
8463
8809
|
}
|
|
8464
8810
|
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
8465
|
-
if (!(equals$
|
|
8811
|
+
if (!(equals$m(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
8466
8812
|
return false;
|
|
8467
8813
|
}
|
|
8468
8814
|
});
|
|
@@ -8480,7 +8826,7 @@ function equals$b(existing, incoming) {
|
|
|
8480
8826
|
return false;
|
|
8481
8827
|
}
|
|
8482
8828
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
8483
|
-
if (!(equals$
|
|
8829
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
8484
8830
|
return false;
|
|
8485
8831
|
}
|
|
8486
8832
|
});
|
|
@@ -8510,7 +8856,7 @@ function equals$b(existing, incoming) {
|
|
|
8510
8856
|
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
8511
8857
|
return false;
|
|
8512
8858
|
}
|
|
8513
|
-
if (!(equals$
|
|
8859
|
+
if (!(equals$m(existing_measurementReference, incoming_measurementReference))) {
|
|
8514
8860
|
return false;
|
|
8515
8861
|
}
|
|
8516
8862
|
}
|
|
@@ -8523,7 +8869,7 @@ function equals$b(existing, incoming) {
|
|
|
8523
8869
|
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
8524
8870
|
return false;
|
|
8525
8871
|
}
|
|
8526
|
-
if (!(equals$
|
|
8872
|
+
if (!(equals$m(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
8527
8873
|
return false;
|
|
8528
8874
|
}
|
|
8529
8875
|
}
|
|
@@ -8641,7 +8987,7 @@ function equals$a(existing, incoming) {
|
|
|
8641
8987
|
return true;
|
|
8642
8988
|
}
|
|
8643
8989
|
|
|
8644
|
-
const VERSION$9 = "
|
|
8990
|
+
const VERSION$9 = "6e5d543fb3167341130fc5d468ef1f3b";
|
|
8645
8991
|
function validate$e(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
8646
8992
|
const v_error = (() => {
|
|
8647
8993
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8719,6 +9065,13 @@ function validate$e(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
8719
9065
|
if (typeof obj_id !== 'string') {
|
|
8720
9066
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8721
9067
|
}
|
|
9068
|
+
if (obj.isQueryable !== undefined) {
|
|
9069
|
+
const obj_isQueryable = obj.isQueryable;
|
|
9070
|
+
const path_isQueryable = path + '.isQueryable';
|
|
9071
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
9072
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
9073
|
+
}
|
|
9074
|
+
}
|
|
8722
9075
|
if (obj.isSystemDefinition !== undefined) {
|
|
8723
9076
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
8724
9077
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -8867,6 +9220,11 @@ const select$p = function SemanticParameterOutputRepresentationSelect() {
|
|
|
8867
9220
|
name: 'id',
|
|
8868
9221
|
kind: 'Scalar'
|
|
8869
9222
|
},
|
|
9223
|
+
{
|
|
9224
|
+
name: 'isQueryable',
|
|
9225
|
+
kind: 'Scalar',
|
|
9226
|
+
required: false
|
|
9227
|
+
},
|
|
8870
9228
|
{
|
|
8871
9229
|
name: 'isSystemDefinition',
|
|
8872
9230
|
kind: 'Scalar',
|
|
@@ -9033,6 +9391,19 @@ function equals$9(existing, incoming) {
|
|
|
9033
9391
|
if (!(existing_id === incoming_id)) {
|
|
9034
9392
|
return false;
|
|
9035
9393
|
}
|
|
9394
|
+
const existing_isQueryable = existing.isQueryable;
|
|
9395
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
9396
|
+
// if at least one of these optionals is defined
|
|
9397
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
9398
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9399
|
+
// not equal
|
|
9400
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
9401
|
+
return false;
|
|
9402
|
+
}
|
|
9403
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
9404
|
+
return false;
|
|
9405
|
+
}
|
|
9406
|
+
}
|
|
9036
9407
|
const existing_label = existing.label;
|
|
9037
9408
|
const incoming_label = incoming.label;
|
|
9038
9409
|
// if at least one of these optionals is defined
|
|
@@ -9184,7 +9555,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9184
9555
|
});
|
|
9185
9556
|
}
|
|
9186
9557
|
|
|
9187
|
-
const VERSION$8 = "
|
|
9558
|
+
const VERSION$8 = "56b6e81346b63674fb571a55fe7128bc";
|
|
9188
9559
|
function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
9189
9560
|
const v_error = (() => {
|
|
9190
9561
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9218,7 +9589,7 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9218
9589
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
9219
9590
|
const obj_baseModels_item = obj_baseModels[i];
|
|
9220
9591
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
9221
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
9592
|
+
const referencepath_baseModels_itemValidationError = validate$G(obj_baseModels_item, path_baseModels_item);
|
|
9222
9593
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
9223
9594
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
9224
9595
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9278,7 +9649,7 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9278
9649
|
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
9279
9650
|
const obj_externalConnections_item = obj_externalConnections[i];
|
|
9280
9651
|
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
9281
|
-
const referencepath_externalConnections_itemValidationError = validate$
|
|
9652
|
+
const referencepath_externalConnections_itemValidationError = validate$E(obj_externalConnections_item, path_externalConnections_item);
|
|
9282
9653
|
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
9283
9654
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
9284
9655
|
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9295,7 +9666,7 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9295
9666
|
for (let i = 0; i < obj_fieldsOverrides.length; i++) {
|
|
9296
9667
|
const obj_fieldsOverrides_item = obj_fieldsOverrides[i];
|
|
9297
9668
|
const path_fieldsOverrides_item = path_fieldsOverrides + '[' + i + ']';
|
|
9298
|
-
const referencepath_fieldsOverrides_itemValidationError = validate$
|
|
9669
|
+
const referencepath_fieldsOverrides_itemValidationError = validate$D(obj_fieldsOverrides_item, path_fieldsOverrides_item);
|
|
9299
9670
|
if (referencepath_fieldsOverrides_itemValidationError !== null) {
|
|
9300
9671
|
let message = 'Object doesn\'t match SemanticOverrideOutputRepresentation (at "' + path_fieldsOverrides_item + '")\n';
|
|
9301
9672
|
message += referencepath_fieldsOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9315,6 +9686,20 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9315
9686
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
9316
9687
|
}
|
|
9317
9688
|
}
|
|
9689
|
+
if (obj.isPartialSdm !== undefined) {
|
|
9690
|
+
const obj_isPartialSdm = obj.isPartialSdm;
|
|
9691
|
+
const path_isPartialSdm = path + '.isPartialSdm';
|
|
9692
|
+
if (typeof obj_isPartialSdm !== 'boolean') {
|
|
9693
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isPartialSdm + '" (at "' + path_isPartialSdm + '")');
|
|
9694
|
+
}
|
|
9695
|
+
}
|
|
9696
|
+
if (obj.isQueryable !== undefined) {
|
|
9697
|
+
const obj_isQueryable = obj.isQueryable;
|
|
9698
|
+
const path_isQueryable = path + '.isQueryable';
|
|
9699
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
9700
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
9701
|
+
}
|
|
9702
|
+
}
|
|
9318
9703
|
if (obj.label !== undefined) {
|
|
9319
9704
|
const obj_label = obj.label;
|
|
9320
9705
|
const path_label = path + '.label';
|
|
@@ -9693,9 +10078,9 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
9693
10078
|
return input;
|
|
9694
10079
|
}
|
|
9695
10080
|
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$
|
|
10081
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$P();
|
|
10082
|
+
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$N();
|
|
10083
|
+
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$M();
|
|
9699
10084
|
return {
|
|
9700
10085
|
kind: 'Fragment',
|
|
9701
10086
|
version: VERSION$8,
|
|
@@ -9773,6 +10158,16 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
9773
10158
|
kind: 'Scalar',
|
|
9774
10159
|
required: false
|
|
9775
10160
|
},
|
|
10161
|
+
{
|
|
10162
|
+
name: 'isPartialSdm',
|
|
10163
|
+
kind: 'Scalar',
|
|
10164
|
+
required: false
|
|
10165
|
+
},
|
|
10166
|
+
{
|
|
10167
|
+
name: 'isQueryable',
|
|
10168
|
+
kind: 'Scalar',
|
|
10169
|
+
required: false
|
|
10170
|
+
},
|
|
9776
10171
|
{
|
|
9777
10172
|
name: 'label',
|
|
9778
10173
|
kind: 'Scalar',
|
|
@@ -9798,7 +10193,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
9798
10193
|
kind: 'Link',
|
|
9799
10194
|
plural: true,
|
|
9800
10195
|
required: false,
|
|
9801
|
-
fragment: select$
|
|
10196
|
+
fragment: select$K()
|
|
9802
10197
|
},
|
|
9803
10198
|
{
|
|
9804
10199
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -9810,7 +10205,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
9810
10205
|
kind: 'Link',
|
|
9811
10206
|
plural: true,
|
|
9812
10207
|
required: false,
|
|
9813
|
-
fragment: select$
|
|
10208
|
+
fragment: select$J()
|
|
9814
10209
|
},
|
|
9815
10210
|
{
|
|
9816
10211
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -9822,7 +10217,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
9822
10217
|
kind: 'Link',
|
|
9823
10218
|
plural: true,
|
|
9824
10219
|
required: false,
|
|
9825
|
-
fragment: select$
|
|
10220
|
+
fragment: select$I()
|
|
9826
10221
|
},
|
|
9827
10222
|
{
|
|
9828
10223
|
name: 'semanticDataObjectsUrl',
|
|
@@ -9834,7 +10229,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
9834
10229
|
kind: 'Link',
|
|
9835
10230
|
plural: true,
|
|
9836
10231
|
required: false,
|
|
9837
|
-
fragment: select$
|
|
10232
|
+
fragment: select$B()
|
|
9838
10233
|
},
|
|
9839
10234
|
{
|
|
9840
10235
|
name: 'semanticGroupingsUrl',
|
|
@@ -9846,7 +10241,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
9846
10241
|
kind: 'Link',
|
|
9847
10242
|
plural: true,
|
|
9848
10243
|
required: false,
|
|
9849
|
-
fragment: select$
|
|
10244
|
+
fragment: select$w()
|
|
9850
10245
|
},
|
|
9851
10246
|
{
|
|
9852
10247
|
name: 'semanticMetrics',
|
|
@@ -9872,7 +10267,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
9872
10267
|
kind: 'Link',
|
|
9873
10268
|
plural: true,
|
|
9874
10269
|
required: false,
|
|
9875
|
-
fragment: select$
|
|
10270
|
+
fragment: select$z()
|
|
9876
10271
|
},
|
|
9877
10272
|
{
|
|
9878
10273
|
name: 'semanticRelationshipsUrl',
|
|
@@ -9906,6 +10301,19 @@ function equals$8(existing, incoming) {
|
|
|
9906
10301
|
return false;
|
|
9907
10302
|
}
|
|
9908
10303
|
}
|
|
10304
|
+
const existing_isPartialSdm = existing.isPartialSdm;
|
|
10305
|
+
const incoming_isPartialSdm = incoming.isPartialSdm;
|
|
10306
|
+
// if at least one of these optionals is defined
|
|
10307
|
+
if (existing_isPartialSdm !== undefined || incoming_isPartialSdm !== undefined) {
|
|
10308
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10309
|
+
// not equal
|
|
10310
|
+
if (existing_isPartialSdm === undefined || incoming_isPartialSdm === undefined) {
|
|
10311
|
+
return false;
|
|
10312
|
+
}
|
|
10313
|
+
if (!(existing_isPartialSdm === incoming_isPartialSdm)) {
|
|
10314
|
+
return false;
|
|
10315
|
+
}
|
|
10316
|
+
}
|
|
9909
10317
|
const existing_apiName = existing.apiName;
|
|
9910
10318
|
const incoming_apiName = incoming.apiName;
|
|
9911
10319
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -9983,6 +10391,19 @@ function equals$8(existing, incoming) {
|
|
|
9983
10391
|
if (!(existing_id === incoming_id)) {
|
|
9984
10392
|
return false;
|
|
9985
10393
|
}
|
|
10394
|
+
const existing_isQueryable = existing.isQueryable;
|
|
10395
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
10396
|
+
// if at least one of these optionals is defined
|
|
10397
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
10398
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10399
|
+
// not equal
|
|
10400
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
10401
|
+
return false;
|
|
10402
|
+
}
|
|
10403
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
10404
|
+
return false;
|
|
10405
|
+
}
|
|
10406
|
+
}
|
|
9986
10407
|
const existing_label = existing.label;
|
|
9987
10408
|
const incoming_label = incoming.label;
|
|
9988
10409
|
// if at least one of these optionals is defined
|
|
@@ -10136,7 +10557,7 @@ function equals$8(existing, incoming) {
|
|
|
10136
10557
|
return false;
|
|
10137
10558
|
}
|
|
10138
10559
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
10139
|
-
if (!(equals$
|
|
10560
|
+
if (!(equals$z(existing_baseModels_item, incoming_baseModels_item))) {
|
|
10140
10561
|
return false;
|
|
10141
10562
|
}
|
|
10142
10563
|
});
|
|
@@ -10172,7 +10593,7 @@ function equals$8(existing, incoming) {
|
|
|
10172
10593
|
return false;
|
|
10173
10594
|
}
|
|
10174
10595
|
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
10175
|
-
if (!(equals$
|
|
10596
|
+
if (!(equals$x(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
10176
10597
|
return false;
|
|
10177
10598
|
}
|
|
10178
10599
|
});
|
|
@@ -10190,7 +10611,7 @@ function equals$8(existing, incoming) {
|
|
|
10190
10611
|
return false;
|
|
10191
10612
|
}
|
|
10192
10613
|
const equals_fieldsOverrides_items = equalsArray(existing_fieldsOverrides, incoming_fieldsOverrides, (existing_fieldsOverrides_item, incoming_fieldsOverrides_item) => {
|
|
10193
|
-
if (!(equals$
|
|
10614
|
+
if (!(equals$w(existing_fieldsOverrides_item, incoming_fieldsOverrides_item))) {
|
|
10194
10615
|
return false;
|
|
10195
10616
|
}
|
|
10196
10617
|
});
|
|
@@ -10497,7 +10918,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10497
10918
|
const untrustedConfig_baseModels_array = [];
|
|
10498
10919
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
10499
10920
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
10500
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
10921
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$16(untrustedConfig_baseModels_item);
|
|
10501
10922
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
10502
10923
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
10503
10924
|
}
|
|
@@ -10509,7 +10930,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10509
10930
|
const untrustedConfig_externalConnections_array = [];
|
|
10510
10931
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
10511
10932
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
10512
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
10933
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$14(untrustedConfig_externalConnections_item);
|
|
10513
10934
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
10514
10935
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
10515
10936
|
}
|
|
@@ -10521,7 +10942,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10521
10942
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
10522
10943
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
10523
10944
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
10524
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
10945
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$13(untrustedConfig_fieldsOverrides_item);
|
|
10525
10946
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
10526
10947
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
10527
10948
|
}
|
|
@@ -10533,7 +10954,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10533
10954
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10534
10955
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10535
10956
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10536
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
10957
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$11(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10537
10958
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10538
10959
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10539
10960
|
}
|
|
@@ -10545,7 +10966,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10545
10966
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10546
10967
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10547
10968
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10548
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
10969
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$10(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10549
10970
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10550
10971
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10551
10972
|
}
|
|
@@ -10557,7 +10978,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10557
10978
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10558
10979
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
10559
10980
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
10560
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10981
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$Z(untrustedConfig_semanticDataObjects_item);
|
|
10561
10982
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
10562
10983
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
10563
10984
|
}
|
|
@@ -10569,7 +10990,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10569
10990
|
const untrustedConfig_semanticGroupings_array = [];
|
|
10570
10991
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
10571
10992
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
10572
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10993
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$S(untrustedConfig_semanticGroupings_item);
|
|
10573
10994
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
10574
10995
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
10575
10996
|
}
|
|
@@ -10581,7 +11002,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10581
11002
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
10582
11003
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
10583
11004
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
10584
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
11005
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$N(untrustedConfig_semanticLogicalViews_item);
|
|
10585
11006
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
10586
11007
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
10587
11008
|
}
|
|
@@ -10593,7 +11014,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10593
11014
|
const untrustedConfig_semanticMetrics_array = [];
|
|
10594
11015
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
10595
11016
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
10596
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
11017
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$I(untrustedConfig_semanticMetrics_item);
|
|
10597
11018
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
10598
11019
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
10599
11020
|
}
|
|
@@ -10605,7 +11026,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10605
11026
|
const untrustedConfig_semanticParameters_array = [];
|
|
10606
11027
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
10607
11028
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
10608
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
11029
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$H(untrustedConfig_semanticParameters_item);
|
|
10609
11030
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
10610
11031
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
10611
11032
|
}
|
|
@@ -10617,7 +11038,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
10617
11038
|
const untrustedConfig_semanticRelationships_array = [];
|
|
10618
11039
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
10619
11040
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
10620
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
11041
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$Q(untrustedConfig_semanticRelationships_item);
|
|
10621
11042
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
10622
11043
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
10623
11044
|
}
|
|
@@ -10689,7 +11110,7 @@ function validate$c(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
10689
11110
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
10690
11111
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
10691
11112
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
10692
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
11113
|
+
const referencepath_statusConditions_itemValidationError = validate$1a(obj_statusConditions_item, path_statusConditions_item);
|
|
10693
11114
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
10694
11115
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionInputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
10695
11116
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10749,7 +11170,7 @@ function validate$a(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
10749
11170
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
10750
11171
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
10751
11172
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
10752
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
11173
|
+
const referencepath_statusConditions_itemValidationError = validate$18(obj_statusConditions_item, path_statusConditions_item);
|
|
10753
11174
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
10754
11175
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
10755
11176
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10790,7 +11211,7 @@ function validate$9(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
|
10790
11211
|
return v_error === undefined ? null : v_error;
|
|
10791
11212
|
}
|
|
10792
11213
|
|
|
10793
|
-
const VERSION$7 = "
|
|
11214
|
+
const VERSION$7 = "aa72fa1a282334d9eedca9b6500fb0d9";
|
|
10794
11215
|
function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
10795
11216
|
const v_error = (() => {
|
|
10796
11217
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -10848,7 +11269,7 @@ function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10848
11269
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
10849
11270
|
const obj_filters_item = obj_filters[i];
|
|
10850
11271
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
10851
|
-
const referencepath_filters_itemValidationError = validate$
|
|
11272
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
10852
11273
|
if (referencepath_filters_itemValidationError !== null) {
|
|
10853
11274
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
10854
11275
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10871,6 +11292,13 @@ function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10871
11292
|
if (typeof obj_id !== 'string') {
|
|
10872
11293
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
10873
11294
|
}
|
|
11295
|
+
if (obj.isQueryable !== undefined) {
|
|
11296
|
+
const obj_isQueryable = obj.isQueryable;
|
|
11297
|
+
const path_isQueryable = path + '.isQueryable';
|
|
11298
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
11299
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
11300
|
+
}
|
|
11301
|
+
}
|
|
10874
11302
|
if (obj.label !== undefined) {
|
|
10875
11303
|
const obj_label = obj.label;
|
|
10876
11304
|
const path_label = path + '.label';
|
|
@@ -11030,7 +11458,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11030
11458
|
const untrustedConfig_filters_array = [];
|
|
11031
11459
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
11032
11460
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
11033
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
11461
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$12(untrustedConfig_filters_item);
|
|
11034
11462
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
11035
11463
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
11036
11464
|
}
|
|
@@ -11594,7 +12022,7 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
|
|
|
11594
12022
|
};
|
|
11595
12023
|
|
|
11596
12024
|
function select$i(luvio, params) {
|
|
11597
|
-
return select$
|
|
12025
|
+
return select$R();
|
|
11598
12026
|
}
|
|
11599
12027
|
function keyBuilder$j(luvio, params) {
|
|
11600
12028
|
return keyBuilder$B(luvio, {
|
|
@@ -12756,6 +13184,7 @@ const adapterName$7 = 'getSemanticModel';
|
|
|
12756
13184
|
const getSemanticModel_ConfigPropertyMetadata = [
|
|
12757
13185
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
12758
13186
|
generateParamConfigMetadata('fieldName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
13187
|
+
generateParamConfigMetadata('fineGrainSecurity', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
12759
13188
|
generateParamConfigMetadata('includeModelContent', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
12760
13189
|
generateParamConfigMetadata('includeTableKeys', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
12761
13190
|
];
|
|
@@ -12870,7 +13299,7 @@ const notifyChangeFactory$1 = (luvio, options) => {
|
|
|
12870
13299
|
};
|
|
12871
13300
|
};
|
|
12872
13301
|
|
|
12873
|
-
const VERSION$2 = "
|
|
13302
|
+
const VERSION$2 = "fbfcf3d65a4ca4d916f66efc9208f1cb";
|
|
12874
13303
|
function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
12875
13304
|
const v_error = (() => {
|
|
12876
13305
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -12911,7 +13340,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
12911
13340
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
12912
13341
|
const obj_baseModels_item = obj_baseModels[i];
|
|
12913
13342
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
12914
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
13343
|
+
const referencepath_baseModels_itemValidationError = validate$G(obj_baseModels_item, path_baseModels_item);
|
|
12915
13344
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
12916
13345
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
12917
13346
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12981,6 +13410,13 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
12981
13410
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
12982
13411
|
}
|
|
12983
13412
|
}
|
|
13413
|
+
if (obj.isQueryable !== undefined) {
|
|
13414
|
+
const obj_isQueryable = obj.isQueryable;
|
|
13415
|
+
const path_isQueryable = path + '.isQueryable';
|
|
13416
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
13417
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
13418
|
+
}
|
|
13419
|
+
}
|
|
12984
13420
|
if (obj.label !== undefined) {
|
|
12985
13421
|
const obj_label = obj.label;
|
|
12986
13422
|
const path_label = path + '.label';
|
|
@@ -13090,7 +13526,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
13090
13526
|
return v_error === undefined ? null : v_error;
|
|
13091
13527
|
}
|
|
13092
13528
|
const select$9 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
13093
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
13529
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$P();
|
|
13094
13530
|
return {
|
|
13095
13531
|
kind: 'Fragment',
|
|
13096
13532
|
version: VERSION$2,
|
|
@@ -13164,6 +13600,11 @@ const select$9 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
13164
13600
|
kind: 'Scalar',
|
|
13165
13601
|
required: false
|
|
13166
13602
|
},
|
|
13603
|
+
{
|
|
13604
|
+
name: 'isQueryable',
|
|
13605
|
+
kind: 'Scalar',
|
|
13606
|
+
required: false
|
|
13607
|
+
},
|
|
13167
13608
|
{
|
|
13168
13609
|
name: 'label',
|
|
13169
13610
|
kind: 'Scalar',
|
|
@@ -13344,6 +13785,19 @@ function equals$2(existing, incoming) {
|
|
|
13344
13785
|
if (!(existing_id === incoming_id)) {
|
|
13345
13786
|
return false;
|
|
13346
13787
|
}
|
|
13788
|
+
const existing_isQueryable = existing.isQueryable;
|
|
13789
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
13790
|
+
// if at least one of these optionals is defined
|
|
13791
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
13792
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
13793
|
+
// not equal
|
|
13794
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
13795
|
+
return false;
|
|
13796
|
+
}
|
|
13797
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
13798
|
+
return false;
|
|
13799
|
+
}
|
|
13800
|
+
}
|
|
13347
13801
|
const existing_label = existing.label;
|
|
13348
13802
|
const incoming_label = incoming.label;
|
|
13349
13803
|
// if at least one of these optionals is defined
|
|
@@ -13497,7 +13951,7 @@ function equals$2(existing, incoming) {
|
|
|
13497
13951
|
return false;
|
|
13498
13952
|
}
|
|
13499
13953
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
13500
|
-
if (!(equals$
|
|
13954
|
+
if (!(equals$z(existing_baseModels_item, incoming_baseModels_item))) {
|
|
13501
13955
|
return false;
|
|
13502
13956
|
}
|
|
13503
13957
|
});
|
|
@@ -14536,7 +14990,7 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
14536
14990
|
const untrustedConfig_statusConditions_array = [];
|
|
14537
14991
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
14538
14992
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
14539
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
14993
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$1a(untrustedConfig_statusConditions_item);
|
|
14540
14994
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
14541
14995
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
14542
14996
|
}
|
|
@@ -14658,7 +15112,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14658
15112
|
const untrustedConfig_baseModels_array = [];
|
|
14659
15113
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
14660
15114
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
14661
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
15115
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$16(untrustedConfig_baseModels_item);
|
|
14662
15116
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
14663
15117
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
14664
15118
|
}
|
|
@@ -14670,7 +15124,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14670
15124
|
const untrustedConfig_externalConnections_array = [];
|
|
14671
15125
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
14672
15126
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
14673
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
15127
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$14(untrustedConfig_externalConnections_item);
|
|
14674
15128
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
14675
15129
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
14676
15130
|
}
|
|
@@ -14682,7 +15136,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14682
15136
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
14683
15137
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
14684
15138
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
14685
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
15139
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$13(untrustedConfig_fieldsOverrides_item);
|
|
14686
15140
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
14687
15141
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
14688
15142
|
}
|
|
@@ -14694,7 +15148,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14694
15148
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
14695
15149
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
14696
15150
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
14697
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
15151
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$11(untrustedConfig_semanticCalculatedDimensions_item);
|
|
14698
15152
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
14699
15153
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
14700
15154
|
}
|
|
@@ -14706,7 +15160,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14706
15160
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
14707
15161
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
14708
15162
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
14709
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
15163
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$10(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
14710
15164
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
14711
15165
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
14712
15166
|
}
|
|
@@ -14718,7 +15172,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14718
15172
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
14719
15173
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
14720
15174
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
14721
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
15175
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$Z(untrustedConfig_semanticDataObjects_item);
|
|
14722
15176
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
14723
15177
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
14724
15178
|
}
|
|
@@ -14730,7 +15184,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14730
15184
|
const untrustedConfig_semanticGroupings_array = [];
|
|
14731
15185
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
14732
15186
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
14733
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
15187
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$S(untrustedConfig_semanticGroupings_item);
|
|
14734
15188
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
14735
15189
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
14736
15190
|
}
|
|
@@ -14742,7 +15196,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14742
15196
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
14743
15197
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
14744
15198
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
14745
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
15199
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$N(untrustedConfig_semanticLogicalViews_item);
|
|
14746
15200
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
14747
15201
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
14748
15202
|
}
|
|
@@ -14754,7 +15208,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14754
15208
|
const untrustedConfig_semanticMetrics_array = [];
|
|
14755
15209
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
14756
15210
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
14757
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
15211
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$I(untrustedConfig_semanticMetrics_item);
|
|
14758
15212
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
14759
15213
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
14760
15214
|
}
|
|
@@ -14766,7 +15220,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14766
15220
|
const untrustedConfig_semanticParameters_array = [];
|
|
14767
15221
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
14768
15222
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
14769
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
15223
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$H(untrustedConfig_semanticParameters_item);
|
|
14770
15224
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
14771
15225
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
14772
15226
|
}
|
|
@@ -14778,7 +15232,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14778
15232
|
const untrustedConfig_semanticRelationships_array = [];
|
|
14779
15233
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
14780
15234
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
14781
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
15235
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$Q(untrustedConfig_semanticRelationships_item);
|
|
14782
15236
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
14783
15237
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
14784
15238
|
}
|
|
@@ -14830,7 +15284,7 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
14830
15284
|
};
|
|
14831
15285
|
|
|
14832
15286
|
function select(luvio, params) {
|
|
14833
|
-
return select$
|
|
15287
|
+
return select$R();
|
|
14834
15288
|
}
|
|
14835
15289
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
14836
15290
|
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
@@ -14886,7 +15340,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
14886
15340
|
const config = {};
|
|
14887
15341
|
typeCheckConfig$k(untrustedConfig, config, updateSemanticGoal_ConfigPropertyMetadata);
|
|
14888
15342
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
14889
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
15343
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$1b(untrustedConfig_dateRange);
|
|
14890
15344
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
14891
15345
|
config.dateRange = untrustedConfig_dateRange;
|
|
14892
15346
|
}
|
|
@@ -14895,7 +15349,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
14895
15349
|
const untrustedConfig_statusConditions_array = [];
|
|
14896
15350
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
14897
15351
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
14898
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
15352
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$1a(untrustedConfig_statusConditions_item);
|
|
14899
15353
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
14900
15354
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
14901
15355
|
}
|
|
@@ -15111,4 +15565,4 @@ withDefaultLuvio((luvio) => {
|
|
|
15111
15565
|
});
|
|
15112
15566
|
|
|
15113
15567
|
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-
|
|
15568
|
+
// version: 1.380.0-dev3-4d1fd7819b
|