@salesforce/lds-adapters-cdp-semantic-authoring 1.381.0 → 1.382.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cdp-semantic-authoring.js +251 -140
- 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/SemanticMetricForecastConfigurationInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SemanticMetricForecastConfigurationOutputRepresentation.d.ts +29 -0
- package/package.json +3 -3
- package/sfdc/index.js +419 -308
|
@@ -92,8 +92,8 @@ function createLink(ref) {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
const VERSION$
|
|
96
|
-
function validate$
|
|
95
|
+
const VERSION$A = "a2976cd68e629a917463a3b690cf2527";
|
|
96
|
+
function validate$1b(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
97
97
|
const v_error = (() => {
|
|
98
98
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
99
99
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -115,10 +115,10 @@ function validate$19(obj, path = 'SemanticTableFieldReferenceOutputRepresentatio
|
|
|
115
115
|
})();
|
|
116
116
|
return v_error === undefined ? null : v_error;
|
|
117
117
|
}
|
|
118
|
-
const select$
|
|
118
|
+
const select$R = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
119
119
|
return {
|
|
120
120
|
kind: 'Fragment',
|
|
121
|
-
version: VERSION$
|
|
121
|
+
version: VERSION$A,
|
|
122
122
|
private: [],
|
|
123
123
|
selections: [
|
|
124
124
|
{
|
|
@@ -134,7 +134,7 @@ const select$Q = function SemanticTableFieldReferenceOutputRepresentationSelect(
|
|
|
134
134
|
]
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
|
-
function equals$
|
|
137
|
+
function equals$A(existing, incoming) {
|
|
138
138
|
const existing_fieldApiName = existing.fieldApiName;
|
|
139
139
|
const incoming_fieldApiName = incoming.fieldApiName;
|
|
140
140
|
// if at least one of these optionals is defined
|
|
@@ -164,8 +164,8 @@ function equals$z(existing, incoming) {
|
|
|
164
164
|
return true;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
const VERSION$
|
|
168
|
-
function validate$
|
|
167
|
+
const VERSION$z = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
168
|
+
function validate$1a(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
169
169
|
const v_error = (() => {
|
|
170
170
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
171
171
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -180,7 +180,7 @@ function validate$18(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
180
180
|
if (obj.tableFieldReference !== undefined) {
|
|
181
181
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
182
182
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
183
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
183
|
+
const referencepath_tableFieldReferenceValidationError = validate$1b(obj_tableFieldReference, path_tableFieldReference);
|
|
184
184
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
185
185
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
186
186
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -190,11 +190,11 @@ function validate$18(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
190
190
|
})();
|
|
191
191
|
return v_error === undefined ? null : v_error;
|
|
192
192
|
}
|
|
193
|
-
const select$
|
|
194
|
-
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$
|
|
193
|
+
const select$Q = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
194
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$R();
|
|
195
195
|
return {
|
|
196
196
|
kind: 'Fragment',
|
|
197
|
-
version: VERSION$
|
|
197
|
+
version: VERSION$z,
|
|
198
198
|
private: [],
|
|
199
199
|
selections: [
|
|
200
200
|
{
|
|
@@ -211,7 +211,7 @@ const select$P = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
|
211
211
|
]
|
|
212
212
|
};
|
|
213
213
|
};
|
|
214
|
-
function equals$
|
|
214
|
+
function equals$z(existing, incoming) {
|
|
215
215
|
const existing_calculatedFieldApiName = existing.calculatedFieldApiName;
|
|
216
216
|
const incoming_calculatedFieldApiName = incoming.calculatedFieldApiName;
|
|
217
217
|
// if at least one of these optionals is defined
|
|
@@ -234,15 +234,15 @@ function equals$y(existing, incoming) {
|
|
|
234
234
|
if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
|
|
235
235
|
return false;
|
|
236
236
|
}
|
|
237
|
-
if (!(equals$
|
|
237
|
+
if (!(equals$A(existing_tableFieldReference, incoming_tableFieldReference))) {
|
|
238
238
|
return false;
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
return true;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
const VERSION$
|
|
245
|
-
function validate$
|
|
244
|
+
const VERSION$y = "358bb714d100a35ad75fc928fa462760";
|
|
245
|
+
function validate$19(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
246
246
|
const v_error = (() => {
|
|
247
247
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
248
248
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -285,10 +285,10 @@ function validate$17(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
|
285
285
|
})();
|
|
286
286
|
return v_error === undefined ? null : v_error;
|
|
287
287
|
}
|
|
288
|
-
const select$
|
|
288
|
+
const select$P = function SemanticFilterOutputRepresentationSelect() {
|
|
289
289
|
return {
|
|
290
290
|
kind: 'Fragment',
|
|
291
|
-
version: VERSION$
|
|
291
|
+
version: VERSION$y,
|
|
292
292
|
private: [],
|
|
293
293
|
selections: [
|
|
294
294
|
{
|
|
@@ -315,7 +315,7 @@ const select$O = function SemanticFilterOutputRepresentationSelect() {
|
|
|
315
315
|
]
|
|
316
316
|
};
|
|
317
317
|
};
|
|
318
|
-
function equals$
|
|
318
|
+
function equals$y(existing, incoming) {
|
|
319
319
|
const existing_fieldName = existing.fieldName;
|
|
320
320
|
const incoming_fieldName = incoming.fieldName;
|
|
321
321
|
// if at least one of these optionals is defined
|
|
@@ -376,8 +376,60 @@ function equals$x(existing, incoming) {
|
|
|
376
376
|
return true;
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
+
const VERSION$x = "abbe4306b9ecdab2a1f50709c75eb26a";
|
|
380
|
+
function validate$18(obj, path = 'SemanticMetricForecastConfigurationOutputRepresentation') {
|
|
381
|
+
const v_error = (() => {
|
|
382
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
383
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
384
|
+
}
|
|
385
|
+
if (obj.forecastMeasurementReference !== undefined) {
|
|
386
|
+
const obj_forecastMeasurementReference = obj.forecastMeasurementReference;
|
|
387
|
+
const path_forecastMeasurementReference = path + '.forecastMeasurementReference';
|
|
388
|
+
const referencepath_forecastMeasurementReferenceValidationError = validate$1a(obj_forecastMeasurementReference, path_forecastMeasurementReference);
|
|
389
|
+
if (referencepath_forecastMeasurementReferenceValidationError !== null) {
|
|
390
|
+
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_forecastMeasurementReference + '")\n';
|
|
391
|
+
message += referencepath_forecastMeasurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
392
|
+
return new TypeError(message);
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
})();
|
|
396
|
+
return v_error === undefined ? null : v_error;
|
|
397
|
+
}
|
|
398
|
+
const select$O = function SemanticMetricForecastConfigurationOutputRepresentationSelect() {
|
|
399
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$Q();
|
|
400
|
+
return {
|
|
401
|
+
kind: 'Fragment',
|
|
402
|
+
version: VERSION$x,
|
|
403
|
+
private: [],
|
|
404
|
+
selections: [
|
|
405
|
+
{
|
|
406
|
+
name: 'forecastMeasurementReference',
|
|
407
|
+
kind: 'Object',
|
|
408
|
+
selections: SemanticFieldReferenceOutputRepresentation__selections,
|
|
409
|
+
required: false
|
|
410
|
+
}
|
|
411
|
+
]
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
function equals$x(existing, incoming) {
|
|
415
|
+
const existing_forecastMeasurementReference = existing.forecastMeasurementReference;
|
|
416
|
+
const incoming_forecastMeasurementReference = incoming.forecastMeasurementReference;
|
|
417
|
+
// if at least one of these optionals is defined
|
|
418
|
+
if (existing_forecastMeasurementReference !== undefined || incoming_forecastMeasurementReference !== undefined) {
|
|
419
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
420
|
+
// not equal
|
|
421
|
+
if (existing_forecastMeasurementReference === undefined || incoming_forecastMeasurementReference === undefined) {
|
|
422
|
+
return false;
|
|
423
|
+
}
|
|
424
|
+
if (!(equals$z(existing_forecastMeasurementReference, incoming_forecastMeasurementReference))) {
|
|
425
|
+
return false;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
return true;
|
|
429
|
+
}
|
|
430
|
+
|
|
379
431
|
const VERSION$w = "a50848c632bb205d5e910bb726d9219e";
|
|
380
|
-
function validate$
|
|
432
|
+
function validate$17(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
381
433
|
const v_error = (() => {
|
|
382
434
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
383
435
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -385,7 +437,7 @@ function validate$16(obj, path = 'SemanticIdentifyingDimensionOutputRepresentati
|
|
|
385
437
|
if (obj.identifierDimensionReference !== undefined) {
|
|
386
438
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
387
439
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
388
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
440
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$1a(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
389
441
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
390
442
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
391
443
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -395,7 +447,7 @@ function validate$16(obj, path = 'SemanticIdentifyingDimensionOutputRepresentati
|
|
|
395
447
|
if (obj.namingDimensionReference !== undefined) {
|
|
396
448
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
397
449
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
398
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
450
|
+
const referencepath_namingDimensionReferenceValidationError = validate$1a(obj_namingDimensionReference, path_namingDimensionReference);
|
|
399
451
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
400
452
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
401
453
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -406,7 +458,7 @@ function validate$16(obj, path = 'SemanticIdentifyingDimensionOutputRepresentati
|
|
|
406
458
|
return v_error === undefined ? null : v_error;
|
|
407
459
|
}
|
|
408
460
|
const select$N = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
409
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
461
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$Q();
|
|
410
462
|
return {
|
|
411
463
|
kind: 'Fragment',
|
|
412
464
|
version: VERSION$w,
|
|
@@ -437,7 +489,7 @@ function equals$w(existing, incoming) {
|
|
|
437
489
|
if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
|
|
438
490
|
return false;
|
|
439
491
|
}
|
|
440
|
-
if (!(equals$
|
|
492
|
+
if (!(equals$z(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
|
|
441
493
|
return false;
|
|
442
494
|
}
|
|
443
495
|
}
|
|
@@ -450,7 +502,7 @@ function equals$w(existing, incoming) {
|
|
|
450
502
|
if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
|
|
451
503
|
return false;
|
|
452
504
|
}
|
|
453
|
-
if (!(equals$
|
|
505
|
+
if (!(equals$z(existing_namingDimensionReference, incoming_namingDimensionReference))) {
|
|
454
506
|
return false;
|
|
455
507
|
}
|
|
456
508
|
}
|
|
@@ -458,7 +510,7 @@ function equals$w(existing, incoming) {
|
|
|
458
510
|
}
|
|
459
511
|
|
|
460
512
|
const VERSION$v = "1b8cf2283d5d5c480459506274f0604c";
|
|
461
|
-
function validate$
|
|
513
|
+
function validate$16(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
462
514
|
const v_error = (() => {
|
|
463
515
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
464
516
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -529,16 +581,26 @@ function equals$v(existing, incoming) {
|
|
|
529
581
|
return true;
|
|
530
582
|
}
|
|
531
583
|
|
|
532
|
-
const VERSION$u = "
|
|
533
|
-
function validate$
|
|
584
|
+
const VERSION$u = "1ee2337e8f73261cbb44258b393d1bec";
|
|
585
|
+
function validate$15(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
534
586
|
const v_error = (() => {
|
|
535
587
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
536
588
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
537
589
|
}
|
|
590
|
+
if (obj.forecastConfiguration !== undefined) {
|
|
591
|
+
const obj_forecastConfiguration = obj.forecastConfiguration;
|
|
592
|
+
const path_forecastConfiguration = path + '.forecastConfiguration';
|
|
593
|
+
const referencepath_forecastConfigurationValidationError = validate$18(obj_forecastConfiguration, path_forecastConfiguration);
|
|
594
|
+
if (referencepath_forecastConfigurationValidationError !== null) {
|
|
595
|
+
let message = 'Object doesn\'t match SemanticMetricForecastConfigurationOutputRepresentation (at "' + path_forecastConfiguration + '")\n';
|
|
596
|
+
message += referencepath_forecastConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
597
|
+
return new TypeError(message);
|
|
598
|
+
}
|
|
599
|
+
}
|
|
538
600
|
if (obj.identifyingDimension !== undefined) {
|
|
539
601
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
540
602
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
541
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
603
|
+
const referencepath_identifyingDimensionValidationError = validate$17(obj_identifyingDimension, path_identifyingDimension);
|
|
542
604
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
543
605
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
544
606
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -554,7 +616,7 @@ function validate$14(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
554
616
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
555
617
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
556
618
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
557
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
619
|
+
const referencepath_insightTypes_itemValidationError = validate$16(obj_insightTypes_item, path_insightTypes_item);
|
|
558
620
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
559
621
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
560
622
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -571,7 +633,7 @@ function validate$14(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
571
633
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
572
634
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
573
635
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
574
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
636
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$1a(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
575
637
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
576
638
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
577
639
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -604,14 +666,21 @@ function validate$14(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
604
666
|
return v_error === undefined ? null : v_error;
|
|
605
667
|
}
|
|
606
668
|
const select$L = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
669
|
+
const { selections: SemanticMetricForecastConfigurationOutputRepresentation__selections, opaque: SemanticMetricForecastConfigurationOutputRepresentation__opaque, } = select$O();
|
|
607
670
|
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$N();
|
|
608
671
|
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$M();
|
|
609
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
672
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$Q();
|
|
610
673
|
return {
|
|
611
674
|
kind: 'Fragment',
|
|
612
675
|
version: VERSION$u,
|
|
613
676
|
private: [],
|
|
614
677
|
selections: [
|
|
678
|
+
{
|
|
679
|
+
name: 'forecastConfiguration',
|
|
680
|
+
kind: 'Object',
|
|
681
|
+
selections: SemanticMetricForecastConfigurationOutputRepresentation__selections,
|
|
682
|
+
required: false
|
|
683
|
+
},
|
|
615
684
|
{
|
|
616
685
|
name: 'identifyingDimension',
|
|
617
686
|
kind: 'Object',
|
|
@@ -690,6 +759,19 @@ function equals$u(existing, incoming) {
|
|
|
690
759
|
return false;
|
|
691
760
|
}
|
|
692
761
|
}
|
|
762
|
+
const existing_forecastConfiguration = existing.forecastConfiguration;
|
|
763
|
+
const incoming_forecastConfiguration = incoming.forecastConfiguration;
|
|
764
|
+
// if at least one of these optionals is defined
|
|
765
|
+
if (existing_forecastConfiguration !== undefined || incoming_forecastConfiguration !== undefined) {
|
|
766
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
767
|
+
// not equal
|
|
768
|
+
if (existing_forecastConfiguration === undefined || incoming_forecastConfiguration === undefined) {
|
|
769
|
+
return false;
|
|
770
|
+
}
|
|
771
|
+
if (!(equals$x(existing_forecastConfiguration, incoming_forecastConfiguration))) {
|
|
772
|
+
return false;
|
|
773
|
+
}
|
|
774
|
+
}
|
|
693
775
|
const existing_identifyingDimension = existing.identifyingDimension;
|
|
694
776
|
const incoming_identifyingDimension = incoming.identifyingDimension;
|
|
695
777
|
// if at least one of these optionals is defined
|
|
@@ -731,7 +813,7 @@ function equals$u(existing, incoming) {
|
|
|
731
813
|
return false;
|
|
732
814
|
}
|
|
733
815
|
const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
|
|
734
|
-
if (!(equals$
|
|
816
|
+
if (!(equals$z(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
|
|
735
817
|
return false;
|
|
736
818
|
}
|
|
737
819
|
});
|
|
@@ -743,7 +825,7 @@ function equals$u(existing, incoming) {
|
|
|
743
825
|
}
|
|
744
826
|
|
|
745
827
|
const VERSION$t = "3800a2eb703d5a4964899b4e067ee1d8";
|
|
746
|
-
function validate$
|
|
828
|
+
function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
747
829
|
const v_error = (() => {
|
|
748
830
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
749
831
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -757,7 +839,7 @@ function validate$13(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
757
839
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
758
840
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
759
841
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
760
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
842
|
+
const referencepath_additionalDimensions_itemValidationError = validate$1a(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
761
843
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
762
844
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
763
845
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -824,7 +906,7 @@ function validate$13(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
824
906
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
825
907
|
const obj_filters_item = obj_filters[i];
|
|
826
908
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
827
|
-
const referencepath_filters_itemValidationError = validate$
|
|
909
|
+
const referencepath_filters_itemValidationError = validate$19(obj_filters_item, path_filters_item);
|
|
828
910
|
if (referencepath_filters_itemValidationError !== null) {
|
|
829
911
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
830
912
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -840,7 +922,7 @@ function validate$13(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
840
922
|
if (obj.insightsSettings !== undefined) {
|
|
841
923
|
const obj_insightsSettings = obj.insightsSettings;
|
|
842
924
|
const path_insightsSettings = path + '.insightsSettings';
|
|
843
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
925
|
+
const referencepath_insightsSettingsValidationError = validate$15(obj_insightsSettings, path_insightsSettings);
|
|
844
926
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
845
927
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
846
928
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -892,7 +974,7 @@ function validate$13(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
892
974
|
if (obj.measurementReference !== undefined) {
|
|
893
975
|
const obj_measurementReference = obj.measurementReference;
|
|
894
976
|
const path_measurementReference = path + '.measurementReference';
|
|
895
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
977
|
+
const referencepath_measurementReferenceValidationError = validate$1a(obj_measurementReference, path_measurementReference);
|
|
896
978
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
897
979
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
898
980
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -902,7 +984,7 @@ function validate$13(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
902
984
|
if (obj.timeDimensionReference !== undefined) {
|
|
903
985
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
904
986
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
905
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
987
|
+
const referencepath_timeDimensionReferenceValidationError = validate$1a(obj_timeDimensionReference, path_timeDimensionReference);
|
|
906
988
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
907
989
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
908
990
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -947,8 +1029,8 @@ function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
|
947
1029
|
return input;
|
|
948
1030
|
}
|
|
949
1031
|
const select$K = function SemanticMetricOutputRepresentationSelect() {
|
|
950
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
951
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
1032
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$Q();
|
|
1033
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$P();
|
|
952
1034
|
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$L();
|
|
953
1035
|
return {
|
|
954
1036
|
kind: 'Fragment',
|
|
@@ -1259,7 +1341,7 @@ function equals$t(existing, incoming) {
|
|
|
1259
1341
|
return false;
|
|
1260
1342
|
}
|
|
1261
1343
|
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
1262
|
-
if (!(equals$
|
|
1344
|
+
if (!(equals$z(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
1263
1345
|
return false;
|
|
1264
1346
|
}
|
|
1265
1347
|
});
|
|
@@ -1277,7 +1359,7 @@ function equals$t(existing, incoming) {
|
|
|
1277
1359
|
return false;
|
|
1278
1360
|
}
|
|
1279
1361
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
1280
|
-
if (!(equals$
|
|
1362
|
+
if (!(equals$y(existing_filters_item, incoming_filters_item))) {
|
|
1281
1363
|
return false;
|
|
1282
1364
|
}
|
|
1283
1365
|
});
|
|
@@ -1307,7 +1389,7 @@ function equals$t(existing, incoming) {
|
|
|
1307
1389
|
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
1308
1390
|
return false;
|
|
1309
1391
|
}
|
|
1310
|
-
if (!(equals$
|
|
1392
|
+
if (!(equals$z(existing_measurementReference, incoming_measurementReference))) {
|
|
1311
1393
|
return false;
|
|
1312
1394
|
}
|
|
1313
1395
|
}
|
|
@@ -1320,7 +1402,7 @@ function equals$t(existing, incoming) {
|
|
|
1320
1402
|
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
1321
1403
|
return false;
|
|
1322
1404
|
}
|
|
1323
|
-
if (!(equals$
|
|
1405
|
+
if (!(equals$z(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
1324
1406
|
return false;
|
|
1325
1407
|
}
|
|
1326
1408
|
}
|
|
@@ -1346,7 +1428,7 @@ function equals$t(existing, incoming) {
|
|
|
1346
1428
|
}
|
|
1347
1429
|
const ingest$i = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1348
1430
|
if (process.env.NODE_ENV !== 'production') {
|
|
1349
|
-
const validateError = validate$
|
|
1431
|
+
const validateError = validate$14(input);
|
|
1350
1432
|
if (validateError !== null) {
|
|
1351
1433
|
throw validateError;
|
|
1352
1434
|
}
|
|
@@ -1367,7 +1449,7 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1367
1449
|
}
|
|
1368
1450
|
|
|
1369
1451
|
const VERSION$s = "a6709a9f16e02d0d8e3d8423ebc79c2b";
|
|
1370
|
-
function validate$
|
|
1452
|
+
function validate$13(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
|
|
1371
1453
|
const v_error = (() => {
|
|
1372
1454
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1373
1455
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1450,7 +1532,7 @@ function equals$s(existing, incoming) {
|
|
|
1450
1532
|
}
|
|
1451
1533
|
const ingest$h = function SemanticMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1452
1534
|
if (process.env.NODE_ENV !== 'production') {
|
|
1453
|
-
const validateError = validate$
|
|
1535
|
+
const validateError = validate$13(input);
|
|
1454
1536
|
if (validateError !== null) {
|
|
1455
1537
|
throw validateError;
|
|
1456
1538
|
}
|
|
@@ -1611,7 +1693,7 @@ const getSemanticMetricsByIdsAdapterFactory = (luvio) => function SemanticAuthor
|
|
|
1611
1693
|
};
|
|
1612
1694
|
|
|
1613
1695
|
const VERSION$r = "3a32d382e7a2268096278aa8e5c6761a";
|
|
1614
|
-
function validate$
|
|
1696
|
+
function validate$12(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
1615
1697
|
const v_error = (() => {
|
|
1616
1698
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1617
1699
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1672,7 +1754,7 @@ function equals$r(existing, incoming) {
|
|
|
1672
1754
|
}
|
|
1673
1755
|
|
|
1674
1756
|
const VERSION$q = "fbfcf3d65a4ca4d916f66efc9208f1cb";
|
|
1675
|
-
function validate$
|
|
1757
|
+
function validate$11(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
1676
1758
|
const v_error = (() => {
|
|
1677
1759
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1678
1760
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1712,7 +1794,7 @@ function validate$10(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
1712
1794
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
1713
1795
|
const obj_baseModels_item = obj_baseModels[i];
|
|
1714
1796
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
1715
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
1797
|
+
const referencepath_baseModels_itemValidationError = validate$12(obj_baseModels_item, path_baseModels_item);
|
|
1716
1798
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
1717
1799
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
1718
1800
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2366,7 +2448,7 @@ function equals$q(existing, incoming) {
|
|
|
2366
2448
|
}
|
|
2367
2449
|
|
|
2368
2450
|
const VERSION$p = "198423ec58354256cc7ea6f4661ef669";
|
|
2369
|
-
function validate
|
|
2451
|
+
function validate$10(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
2370
2452
|
const v_error = (() => {
|
|
2371
2453
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2372
2454
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2413,7 +2495,7 @@ function validate$$(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
|
2413
2495
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2414
2496
|
const obj_items_item = obj_items[i];
|
|
2415
2497
|
const path_items_item = path_items + '[' + i + ']';
|
|
2416
|
-
const referencepath_items_itemValidationError = validate$
|
|
2498
|
+
const referencepath_items_itemValidationError = validate$11(obj_items_item, path_items_item);
|
|
2417
2499
|
if (referencepath_items_itemValidationError !== null) {
|
|
2418
2500
|
let message = 'Object doesn\'t match SemanticModelPartialOutputRepresentation (at "' + path_items_item + '")\n';
|
|
2419
2501
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2601,7 +2683,7 @@ function equals$p(existing, incoming) {
|
|
|
2601
2683
|
}
|
|
2602
2684
|
const ingest$g = function SemanticModelCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2603
2685
|
if (process.env.NODE_ENV !== 'production') {
|
|
2604
|
-
const validateError = validate
|
|
2686
|
+
const validateError = validate$10(input);
|
|
2605
2687
|
if (validateError !== null) {
|
|
2606
2688
|
throw validateError;
|
|
2607
2689
|
}
|
|
@@ -2761,7 +2843,7 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
2761
2843
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
|
|
2762
2844
|
};
|
|
2763
2845
|
|
|
2764
|
-
function validate
|
|
2846
|
+
function validate$$(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
2765
2847
|
const v_error = (() => {
|
|
2766
2848
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2767
2849
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2777,7 +2859,7 @@ function validate$_(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
2777
2859
|
return v_error === undefined ? null : v_error;
|
|
2778
2860
|
}
|
|
2779
2861
|
|
|
2780
|
-
function validate$
|
|
2862
|
+
function validate$_(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation') {
|
|
2781
2863
|
const v_error = (() => {
|
|
2782
2864
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2783
2865
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2806,7 +2888,7 @@ function validate$Z(obj, path = 'SemanticModelExternalConnectionTableauPublished
|
|
|
2806
2888
|
return v_error === undefined ? null : v_error;
|
|
2807
2889
|
}
|
|
2808
2890
|
|
|
2809
|
-
function validate$
|
|
2891
|
+
function validate$Z(obj, path = 'SemanticModelExternalConnectionInputRepresentation') {
|
|
2810
2892
|
const v_error = (() => {
|
|
2811
2893
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2812
2894
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2826,7 +2908,7 @@ function validate$Y(obj, path = 'SemanticModelExternalConnectionInputRepresentat
|
|
|
2826
2908
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
2827
2909
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
2828
2910
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
2829
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
2911
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$_(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
2830
2912
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
2831
2913
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
2832
2914
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2842,7 +2924,7 @@ function validate$Y(obj, path = 'SemanticModelExternalConnectionInputRepresentat
|
|
|
2842
2924
|
return v_error === undefined ? null : v_error;
|
|
2843
2925
|
}
|
|
2844
2926
|
|
|
2845
|
-
function validate$
|
|
2927
|
+
function validate$Y(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
2846
2928
|
const v_error = (() => {
|
|
2847
2929
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2848
2930
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2872,7 +2954,7 @@ function validate$X(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
|
2872
2954
|
return v_error === undefined ? null : v_error;
|
|
2873
2955
|
}
|
|
2874
2956
|
|
|
2875
|
-
function validate$
|
|
2957
|
+
function validate$X(obj, path = 'SemanticFilterInputRepresentation') {
|
|
2876
2958
|
const v_error = (() => {
|
|
2877
2959
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2878
2960
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2916,7 +2998,7 @@ function validate$W(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
2916
2998
|
return v_error === undefined ? null : v_error;
|
|
2917
2999
|
}
|
|
2918
3000
|
|
|
2919
|
-
function validate$
|
|
3001
|
+
function validate$W(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
2920
3002
|
const v_error = (() => {
|
|
2921
3003
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2922
3004
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2979,7 +3061,7 @@ function validate$V(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2979
3061
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2980
3062
|
const obj_filters_item = obj_filters[i];
|
|
2981
3063
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2982
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3064
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
2983
3065
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2984
3066
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2985
3067
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3033,7 +3115,7 @@ function validate$V(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
3033
3115
|
return v_error === undefined ? null : v_error;
|
|
3034
3116
|
}
|
|
3035
3117
|
|
|
3036
|
-
function validate$
|
|
3118
|
+
function validate$V(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
3037
3119
|
const v_error = (() => {
|
|
3038
3120
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3039
3121
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3110,7 +3192,7 @@ function validate$U(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
3110
3192
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3111
3193
|
const obj_filters_item = obj_filters[i];
|
|
3112
3194
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3113
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3195
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
3114
3196
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3115
3197
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3116
3198
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3185,7 +3267,7 @@ function validate$U(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
3185
3267
|
return v_error === undefined ? null : v_error;
|
|
3186
3268
|
}
|
|
3187
3269
|
|
|
3188
|
-
function validate$
|
|
3270
|
+
function validate$U(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
3189
3271
|
const v_error = (() => {
|
|
3190
3272
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3191
3273
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3264,7 +3346,7 @@ function validate$T(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
3264
3346
|
return v_error === undefined ? null : v_error;
|
|
3265
3347
|
}
|
|
3266
3348
|
|
|
3267
|
-
function validate$
|
|
3349
|
+
function validate$T(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
3268
3350
|
const v_error = (() => {
|
|
3269
3351
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3270
3352
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3371,7 +3453,7 @@ function validate$S(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
3371
3453
|
return v_error === undefined ? null : v_error;
|
|
3372
3454
|
}
|
|
3373
3455
|
|
|
3374
|
-
function validate$
|
|
3456
|
+
function validate$S(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
3375
3457
|
const v_error = (() => {
|
|
3376
3458
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3377
3459
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3420,7 +3502,7 @@ function validate$R(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3420
3502
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3421
3503
|
const obj_filters_item = obj_filters[i];
|
|
3422
3504
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3423
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3505
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
3424
3506
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3425
3507
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3426
3508
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3458,7 +3540,7 @@ function validate$R(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3458
3540
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
3459
3541
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
3460
3542
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
3461
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
3543
|
+
const referencepath_semanticDimensions_itemValidationError = validate$U(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
3462
3544
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
3463
3545
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
3464
3546
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3475,7 +3557,7 @@ function validate$R(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3475
3557
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
3476
3558
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
3477
3559
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
3478
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
3560
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$T(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
3479
3561
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
3480
3562
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
3481
3563
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3501,7 +3583,7 @@ function validate$R(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3501
3583
|
return v_error === undefined ? null : v_error;
|
|
3502
3584
|
}
|
|
3503
3585
|
|
|
3504
|
-
function validate$
|
|
3586
|
+
function validate$R(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
3505
3587
|
const v_error = (() => {
|
|
3506
3588
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3507
3589
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3513,7 +3595,7 @@ function validate$Q(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
3513
3595
|
return v_error === undefined ? null : v_error;
|
|
3514
3596
|
}
|
|
3515
3597
|
|
|
3516
|
-
function validate$
|
|
3598
|
+
function validate$Q(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
3517
3599
|
const v_error = (() => {
|
|
3518
3600
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3519
3601
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3543,7 +3625,7 @@ function validate$P(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
3543
3625
|
return v_error === undefined ? null : v_error;
|
|
3544
3626
|
}
|
|
3545
3627
|
|
|
3546
|
-
function validate$
|
|
3628
|
+
function validate$P(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
3547
3629
|
const v_error = (() => {
|
|
3548
3630
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3549
3631
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3557,7 +3639,7 @@ function validate$O(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3557
3639
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
3558
3640
|
const obj_groups_item = obj_groups[i];
|
|
3559
3641
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
3560
|
-
const referencepath_groups_itemValidationError = validate$
|
|
3642
|
+
const referencepath_groups_itemValidationError = validate$Q(obj_groups_item, path_groups_item);
|
|
3561
3643
|
if (referencepath_groups_itemValidationError !== null) {
|
|
3562
3644
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
3563
3645
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3576,7 +3658,7 @@ function validate$O(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3576
3658
|
return v_error === undefined ? null : v_error;
|
|
3577
3659
|
}
|
|
3578
3660
|
|
|
3579
|
-
function validate$
|
|
3661
|
+
function validate$O(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
3580
3662
|
const v_error = (() => {
|
|
3581
3663
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3582
3664
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3584,7 +3666,7 @@ function validate$N(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3584
3666
|
if (obj.binDimension !== undefined) {
|
|
3585
3667
|
const obj_binDimension = obj.binDimension;
|
|
3586
3668
|
const path_binDimension = path + '.binDimension';
|
|
3587
|
-
const referencepath_binDimensionValidationError = validate$
|
|
3669
|
+
const referencepath_binDimensionValidationError = validate$R(obj_binDimension, path_binDimension);
|
|
3588
3670
|
if (referencepath_binDimensionValidationError !== null) {
|
|
3589
3671
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
3590
3672
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3594,7 +3676,7 @@ function validate$N(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3594
3676
|
if (obj.groupDimension !== undefined) {
|
|
3595
3677
|
const obj_groupDimension = obj.groupDimension;
|
|
3596
3678
|
const path_groupDimension = path + '.groupDimension';
|
|
3597
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
3679
|
+
const referencepath_groupDimensionValidationError = validate$P(obj_groupDimension, path_groupDimension);
|
|
3598
3680
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
3599
3681
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
3600
3682
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3605,7 +3687,7 @@ function validate$N(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3605
3687
|
return v_error === undefined ? null : v_error;
|
|
3606
3688
|
}
|
|
3607
3689
|
|
|
3608
|
-
function validate$
|
|
3690
|
+
function validate$N(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
3609
3691
|
const v_error = (() => {
|
|
3610
3692
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3611
3693
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3628,7 +3710,7 @@ function validate$M(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
3628
3710
|
return v_error === undefined ? null : v_error;
|
|
3629
3711
|
}
|
|
3630
3712
|
|
|
3631
|
-
function validate$
|
|
3713
|
+
function validate$M(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
3632
3714
|
const v_error = (() => {
|
|
3633
3715
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3634
3716
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3643,7 +3725,7 @@ function validate$L(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3643
3725
|
if (obj.tableFieldReference !== undefined) {
|
|
3644
3726
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
3645
3727
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
3646
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
3728
|
+
const referencepath_tableFieldReferenceValidationError = validate$N(obj_tableFieldReference, path_tableFieldReference);
|
|
3647
3729
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
3648
3730
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
3649
3731
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3654,7 +3736,7 @@ function validate$L(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3654
3736
|
return v_error === undefined ? null : v_error;
|
|
3655
3737
|
}
|
|
3656
3738
|
|
|
3657
|
-
function validate$
|
|
3739
|
+
function validate$L(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
3658
3740
|
const v_error = (() => {
|
|
3659
3741
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3660
3742
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3669,7 +3751,7 @@ function validate$K(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3669
3751
|
if (obj.configuration !== undefined) {
|
|
3670
3752
|
const obj_configuration = obj.configuration;
|
|
3671
3753
|
const path_configuration = path + '.configuration';
|
|
3672
|
-
const referencepath_configurationValidationError = validate$
|
|
3754
|
+
const referencepath_configurationValidationError = validate$O(obj_configuration, path_configuration);
|
|
3673
3755
|
if (referencepath_configurationValidationError !== null) {
|
|
3674
3756
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
3675
3757
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3686,7 +3768,7 @@ function validate$K(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3686
3768
|
if (obj.fieldReference !== undefined) {
|
|
3687
3769
|
const obj_fieldReference = obj.fieldReference;
|
|
3688
3770
|
const path_fieldReference = path + '.fieldReference';
|
|
3689
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
3771
|
+
const referencepath_fieldReferenceValidationError = validate$M(obj_fieldReference, path_fieldReference);
|
|
3690
3772
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
3691
3773
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
3692
3774
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3711,7 +3793,7 @@ function validate$K(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3711
3793
|
return v_error === undefined ? null : v_error;
|
|
3712
3794
|
}
|
|
3713
3795
|
|
|
3714
|
-
function validate$
|
|
3796
|
+
function validate$K(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
3715
3797
|
const v_error = (() => {
|
|
3716
3798
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3717
3799
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3755,7 +3837,7 @@ function validate$J(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
3755
3837
|
return v_error === undefined ? null : v_error;
|
|
3756
3838
|
}
|
|
3757
3839
|
|
|
3758
|
-
function validate$
|
|
3840
|
+
function validate$J(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
3759
3841
|
const v_error = (() => {
|
|
3760
3842
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3761
3843
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3783,7 +3865,7 @@ function validate$I(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3783
3865
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
3784
3866
|
const obj_criteria_item = obj_criteria[i];
|
|
3785
3867
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
3786
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
3868
|
+
const referencepath_criteria_itemValidationError = validate$K(obj_criteria_item, path_criteria_item);
|
|
3787
3869
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
3788
3870
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
3789
3871
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3844,7 +3926,7 @@ function validate$I(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3844
3926
|
return v_error === undefined ? null : v_error;
|
|
3845
3927
|
}
|
|
3846
3928
|
|
|
3847
|
-
function validate$
|
|
3929
|
+
function validate$I(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
3848
3930
|
const v_error = (() => {
|
|
3849
3931
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3850
3932
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3872,7 +3954,7 @@ function validate$H(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3872
3954
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
3873
3955
|
const obj_fields_item = obj_fields[i];
|
|
3874
3956
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
3875
|
-
const referencepath_fields_itemValidationError = validate$
|
|
3957
|
+
const referencepath_fields_itemValidationError = validate$N(obj_fields_item, path_fields_item);
|
|
3876
3958
|
if (referencepath_fields_itemValidationError !== null) {
|
|
3877
3959
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
3878
3960
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3897,7 +3979,7 @@ function validate$H(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3897
3979
|
if (obj.semanticDimension !== undefined) {
|
|
3898
3980
|
const obj_semanticDimension = obj.semanticDimension;
|
|
3899
3981
|
const path_semanticDimension = path + '.semanticDimension';
|
|
3900
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
3982
|
+
const referencepath_semanticDimensionValidationError = validate$U(obj_semanticDimension, path_semanticDimension);
|
|
3901
3983
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
3902
3984
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
3903
3985
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3907,7 +3989,7 @@ function validate$H(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3907
3989
|
if (obj.semanticMeasurement !== undefined) {
|
|
3908
3990
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
3909
3991
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
3910
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
3992
|
+
const referencepath_semanticMeasurementValidationError = validate$T(obj_semanticMeasurement, path_semanticMeasurement);
|
|
3911
3993
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
3912
3994
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
3913
3995
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3918,7 +4000,7 @@ function validate$H(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3918
4000
|
return v_error === undefined ? null : v_error;
|
|
3919
4001
|
}
|
|
3920
4002
|
|
|
3921
|
-
function validate$
|
|
4003
|
+
function validate$H(obj, path = 'SemanticUnionInputRepresentation') {
|
|
3922
4004
|
const v_error = (() => {
|
|
3923
4005
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3924
4006
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3953,7 +4035,7 @@ function validate$G(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3953
4035
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
3954
4036
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
3955
4037
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
3956
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
4038
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$S(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
3957
4039
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
3958
4040
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
3959
4041
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3970,7 +4052,7 @@ function validate$G(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3970
4052
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
3971
4053
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
3972
4054
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
3973
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
4055
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$I(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
3974
4056
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
3975
4057
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
3976
4058
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3982,7 +4064,7 @@ function validate$G(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3982
4064
|
return v_error === undefined ? null : v_error;
|
|
3983
4065
|
}
|
|
3984
4066
|
|
|
3985
|
-
function validate$
|
|
4067
|
+
function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
3986
4068
|
const v_error = (() => {
|
|
3987
4069
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3988
4070
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4024,7 +4106,7 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
4024
4106
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4025
4107
|
const obj_filters_item = obj_filters[i];
|
|
4026
4108
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4027
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4109
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
4028
4110
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4029
4111
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
4030
4112
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4055,7 +4137,7 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
4055
4137
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
4056
4138
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
4057
4139
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
4058
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
4140
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$S(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
4059
4141
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
4060
4142
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
4061
4143
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4072,7 +4154,7 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
4072
4154
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
4073
4155
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
4074
4156
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
4075
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
4157
|
+
const referencepath_semanticRelationships_itemValidationError = validate$J(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
4076
4158
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
4077
4159
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
4078
4160
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4089,7 +4171,7 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
4089
4171
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
4090
4172
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
4091
4173
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
4092
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
4174
|
+
const referencepath_semanticUnions_itemValidationError = validate$H(obj_semanticUnions_item, path_semanticUnions_item);
|
|
4093
4175
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
4094
4176
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
4095
4177
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4108,6 +4190,25 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
4108
4190
|
return v_error === undefined ? null : v_error;
|
|
4109
4191
|
}
|
|
4110
4192
|
|
|
4193
|
+
function validate$F(obj, path = 'SemanticMetricForecastConfigurationInputRepresentation') {
|
|
4194
|
+
const v_error = (() => {
|
|
4195
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4196
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4197
|
+
}
|
|
4198
|
+
if (obj.forecastMeasurementReference !== undefined) {
|
|
4199
|
+
const obj_forecastMeasurementReference = obj.forecastMeasurementReference;
|
|
4200
|
+
const path_forecastMeasurementReference = path + '.forecastMeasurementReference';
|
|
4201
|
+
const referencepath_forecastMeasurementReferenceValidationError = validate$M(obj_forecastMeasurementReference, path_forecastMeasurementReference);
|
|
4202
|
+
if (referencepath_forecastMeasurementReferenceValidationError !== null) {
|
|
4203
|
+
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_forecastMeasurementReference + '")\n';
|
|
4204
|
+
message += referencepath_forecastMeasurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4205
|
+
return new TypeError(message);
|
|
4206
|
+
}
|
|
4207
|
+
}
|
|
4208
|
+
})();
|
|
4209
|
+
return v_error === undefined ? null : v_error;
|
|
4210
|
+
}
|
|
4211
|
+
|
|
4111
4212
|
function validate$E(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
4112
4213
|
const v_error = (() => {
|
|
4113
4214
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4116,7 +4217,7 @@ function validate$E(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
4116
4217
|
if (obj.identifierDimensionReference !== undefined) {
|
|
4117
4218
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
4118
4219
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
4119
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
4220
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$M(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
4120
4221
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
4121
4222
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
4122
4223
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4126,7 +4227,7 @@ function validate$E(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
4126
4227
|
if (obj.namingDimensionReference !== undefined) {
|
|
4127
4228
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
4128
4229
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
4129
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
4230
|
+
const referencepath_namingDimensionReferenceValidationError = validate$M(obj_namingDimensionReference, path_namingDimensionReference);
|
|
4130
4231
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
4131
4232
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
4132
4233
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4165,6 +4266,16 @@ function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
4165
4266
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4166
4267
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4167
4268
|
}
|
|
4269
|
+
if (obj.forecastConfiguration !== undefined) {
|
|
4270
|
+
const obj_forecastConfiguration = obj.forecastConfiguration;
|
|
4271
|
+
const path_forecastConfiguration = path + '.forecastConfiguration';
|
|
4272
|
+
const referencepath_forecastConfigurationValidationError = validate$F(obj_forecastConfiguration, path_forecastConfiguration);
|
|
4273
|
+
if (referencepath_forecastConfigurationValidationError !== null) {
|
|
4274
|
+
let message = 'Object doesn\'t match SemanticMetricForecastConfigurationInputRepresentation (at "' + path_forecastConfiguration + '")\n';
|
|
4275
|
+
message += referencepath_forecastConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4276
|
+
return new TypeError(message);
|
|
4277
|
+
}
|
|
4278
|
+
}
|
|
4168
4279
|
if (obj.identifyingDimension !== undefined) {
|
|
4169
4280
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
4170
4281
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
@@ -4201,7 +4312,7 @@ function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
4201
4312
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
4202
4313
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
4203
4314
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
4204
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
4315
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$M(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
4205
4316
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
4206
4317
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
4207
4318
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4248,7 +4359,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4248
4359
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
4249
4360
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
4250
4361
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
4251
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
4362
|
+
const referencepath_additionalDimensions_itemValidationError = validate$M(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
4252
4363
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
4253
4364
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
4254
4365
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4293,7 +4404,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4293
4404
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4294
4405
|
const obj_filters_item = obj_filters[i];
|
|
4295
4406
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4296
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4407
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
4297
4408
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4298
4409
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
4299
4410
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4328,7 +4439,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4328
4439
|
if (obj.measurementReference !== undefined) {
|
|
4329
4440
|
const obj_measurementReference = obj.measurementReference;
|
|
4330
4441
|
const path_measurementReference = path + '.measurementReference';
|
|
4331
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
4442
|
+
const referencepath_measurementReferenceValidationError = validate$M(obj_measurementReference, path_measurementReference);
|
|
4332
4443
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
4333
4444
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
4334
4445
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4338,7 +4449,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4338
4449
|
if (obj.timeDimensionReference !== undefined) {
|
|
4339
4450
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
4340
4451
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
4341
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
4452
|
+
const referencepath_timeDimensionReferenceValidationError = validate$M(obj_timeDimensionReference, path_timeDimensionReference);
|
|
4342
4453
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
4343
4454
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
4344
4455
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4927,7 +5038,7 @@ function validate$w(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4927
5038
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4928
5039
|
const obj_filters_item = obj_filters[i];
|
|
4929
5040
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4930
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5041
|
+
const referencepath_filters_itemValidationError = validate$19(obj_filters_item, path_filters_item);
|
|
4931
5042
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4932
5043
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4933
5044
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5041,7 +5152,7 @@ function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
|
5041
5152
|
return input;
|
|
5042
5153
|
}
|
|
5043
5154
|
const select$A = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
5044
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
5155
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$P();
|
|
5045
5156
|
return {
|
|
5046
5157
|
kind: 'Fragment',
|
|
5047
5158
|
version: VERSION$l,
|
|
@@ -5500,7 +5611,7 @@ function equals$l(existing, incoming) {
|
|
|
5500
5611
|
return false;
|
|
5501
5612
|
}
|
|
5502
5613
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
5503
|
-
if (!(equals$
|
|
5614
|
+
if (!(equals$y(existing_filters_item, incoming_filters_item))) {
|
|
5504
5615
|
return false;
|
|
5505
5616
|
}
|
|
5506
5617
|
});
|
|
@@ -5646,7 +5757,7 @@ function validate$v(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
5646
5757
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5647
5758
|
const obj_filters_item = obj_filters[i];
|
|
5648
5759
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5649
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5760
|
+
const referencepath_filters_itemValidationError = validate$19(obj_filters_item, path_filters_item);
|
|
5650
5761
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5651
5762
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5652
5763
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5788,7 +5899,7 @@ function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
|
5788
5899
|
return input;
|
|
5789
5900
|
}
|
|
5790
5901
|
const select$z = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
5791
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
5902
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$P();
|
|
5792
5903
|
return {
|
|
5793
5904
|
kind: 'Fragment',
|
|
5794
5905
|
version: VERSION$k,
|
|
@@ -6355,7 +6466,7 @@ function equals$k(existing, incoming) {
|
|
|
6355
6466
|
return false;
|
|
6356
6467
|
}
|
|
6357
6468
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
6358
|
-
if (!(equals$
|
|
6469
|
+
if (!(equals$y(existing_filters_item, incoming_filters_item))) {
|
|
6359
6470
|
return false;
|
|
6360
6471
|
}
|
|
6361
6472
|
});
|
|
@@ -6853,7 +6964,7 @@ function validate$s(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
6853
6964
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
6854
6965
|
const obj_filters_item = obj_filters[i];
|
|
6855
6966
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
6856
|
-
const referencepath_filters_itemValidationError = validate$
|
|
6967
|
+
const referencepath_filters_itemValidationError = validate$19(obj_filters_item, path_filters_item);
|
|
6857
6968
|
if (referencepath_filters_itemValidationError !== null) {
|
|
6858
6969
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
6859
6970
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7366,7 +7477,7 @@ function validate$n(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
7366
7477
|
}
|
|
7367
7478
|
const obj_fieldReference = obj.fieldReference;
|
|
7368
7479
|
const path_fieldReference = path + '.fieldReference';
|
|
7369
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
7480
|
+
const referencepath_fieldReferenceValidationError = validate$1a(obj_fieldReference, path_fieldReference);
|
|
7370
7481
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
7371
7482
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
7372
7483
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7442,7 +7553,7 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
|
7442
7553
|
}
|
|
7443
7554
|
const select$t = function SemanticGroupingOutputRepresentationSelect() {
|
|
7444
7555
|
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$u();
|
|
7445
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
7556
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$Q();
|
|
7446
7557
|
return {
|
|
7447
7558
|
kind: 'Fragment',
|
|
7448
7559
|
version: VERSION$e,
|
|
@@ -7676,7 +7787,7 @@ function equals$e(existing, incoming) {
|
|
|
7676
7787
|
}
|
|
7677
7788
|
const existing_fieldReference = existing.fieldReference;
|
|
7678
7789
|
const incoming_fieldReference = incoming.fieldReference;
|
|
7679
|
-
if (!(equals$
|
|
7790
|
+
if (!(equals$z(existing_fieldReference, incoming_fieldReference))) {
|
|
7680
7791
|
return false;
|
|
7681
7792
|
}
|
|
7682
7793
|
return true;
|
|
@@ -8431,7 +8542,7 @@ function validate$k(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
8431
8542
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
8432
8543
|
const obj_fields_item = obj_fields[i];
|
|
8433
8544
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
8434
|
-
const referencepath_fields_itemValidationError = validate$
|
|
8545
|
+
const referencepath_fields_itemValidationError = validate$1b(obj_fields_item, path_fields_item);
|
|
8435
8546
|
if (referencepath_fields_itemValidationError !== null) {
|
|
8436
8547
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
8437
8548
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9089,7 +9200,7 @@ function validate$i(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
9089
9200
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
9090
9201
|
const obj_filters_item = obj_filters[i];
|
|
9091
9202
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
9092
|
-
const referencepath_filters_itemValidationError = validate$
|
|
9203
|
+
const referencepath_filters_itemValidationError = validate$19(obj_filters_item, path_filters_item);
|
|
9093
9204
|
if (referencepath_filters_itemValidationError !== null) {
|
|
9094
9205
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
9095
9206
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9278,7 +9389,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
9278
9389
|
return input;
|
|
9279
9390
|
}
|
|
9280
9391
|
const select$o = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
9281
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
9392
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$P();
|
|
9282
9393
|
return {
|
|
9283
9394
|
kind: 'Fragment',
|
|
9284
9395
|
version: VERSION$9,
|
|
@@ -9614,7 +9725,7 @@ function equals$9(existing, incoming) {
|
|
|
9614
9725
|
return false;
|
|
9615
9726
|
}
|
|
9616
9727
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
9617
|
-
if (!(equals$
|
|
9728
|
+
if (!(equals$y(existing_filters_item, incoming_filters_item))) {
|
|
9618
9729
|
return false;
|
|
9619
9730
|
}
|
|
9620
9731
|
});
|
|
@@ -10392,7 +10503,7 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
10392
10503
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
10393
10504
|
const obj_baseModels_item = obj_baseModels[i];
|
|
10394
10505
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
10395
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
10506
|
+
const referencepath_baseModels_itemValidationError = validate$12(obj_baseModels_item, path_baseModels_item);
|
|
10396
10507
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
10397
10508
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
10398
10509
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11721,7 +11832,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11721
11832
|
const untrustedConfig_baseModels_array = [];
|
|
11722
11833
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
11723
11834
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
11724
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
11835
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
|
|
11725
11836
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
11726
11837
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
11727
11838
|
}
|
|
@@ -11733,7 +11844,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11733
11844
|
const untrustedConfig_externalConnections_array = [];
|
|
11734
11845
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
11735
11846
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
11736
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
11847
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$Z(untrustedConfig_externalConnections_item);
|
|
11737
11848
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
11738
11849
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
11739
11850
|
}
|
|
@@ -11745,7 +11856,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11745
11856
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
11746
11857
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
11747
11858
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
11748
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
11859
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$Y(untrustedConfig_fieldsOverrides_item);
|
|
11749
11860
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
11750
11861
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
11751
11862
|
}
|
|
@@ -11757,7 +11868,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11757
11868
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
11758
11869
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
11759
11870
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
11760
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
11871
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$W(untrustedConfig_semanticCalculatedDimensions_item);
|
|
11761
11872
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
11762
11873
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
11763
11874
|
}
|
|
@@ -11769,7 +11880,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11769
11880
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
11770
11881
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
11771
11882
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
11772
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
11883
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
11773
11884
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
11774
11885
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
11775
11886
|
}
|
|
@@ -11781,7 +11892,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11781
11892
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
11782
11893
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
11783
11894
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
11784
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
11895
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$S(untrustedConfig_semanticDataObjects_item);
|
|
11785
11896
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
11786
11897
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
11787
11898
|
}
|
|
@@ -11793,7 +11904,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11793
11904
|
const untrustedConfig_semanticGroupings_array = [];
|
|
11794
11905
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
11795
11906
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
11796
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
11907
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$L(untrustedConfig_semanticGroupings_item);
|
|
11797
11908
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
11798
11909
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
11799
11910
|
}
|
|
@@ -11805,7 +11916,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11805
11916
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
11806
11917
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
11807
11918
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
11808
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
11919
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$G(untrustedConfig_semanticLogicalViews_item);
|
|
11809
11920
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
11810
11921
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
11811
11922
|
}
|
|
@@ -11841,7 +11952,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11841
11952
|
const untrustedConfig_semanticRelationships_array = [];
|
|
11842
11953
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
11843
11954
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
11844
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
11955
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$J(untrustedConfig_semanticRelationships_item);
|
|
11845
11956
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
11846
11957
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
11847
11958
|
}
|
|
@@ -12101,7 +12212,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12101
12212
|
const untrustedConfig_baseModels_array = [];
|
|
12102
12213
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
12103
12214
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
12104
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
12215
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
|
|
12105
12216
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
12106
12217
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
12107
12218
|
}
|
|
@@ -12113,7 +12224,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12113
12224
|
const untrustedConfig_externalConnections_array = [];
|
|
12114
12225
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
12115
12226
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
12116
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
12227
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$Z(untrustedConfig_externalConnections_item);
|
|
12117
12228
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
12118
12229
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
12119
12230
|
}
|
|
@@ -12125,7 +12236,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12125
12236
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
12126
12237
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
12127
12238
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
12128
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
12239
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$Y(untrustedConfig_fieldsOverrides_item);
|
|
12129
12240
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
12130
12241
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
12131
12242
|
}
|
|
@@ -12137,7 +12248,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12137
12248
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
12138
12249
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
12139
12250
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
12140
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
12251
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$W(untrustedConfig_semanticCalculatedDimensions_item);
|
|
12141
12252
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
12142
12253
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
12143
12254
|
}
|
|
@@ -12149,7 +12260,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12149
12260
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
12150
12261
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
12151
12262
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
12152
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
12263
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12153
12264
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
12154
12265
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12155
12266
|
}
|
|
@@ -12161,7 +12272,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12161
12272
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
12162
12273
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
12163
12274
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
12164
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
12275
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$S(untrustedConfig_semanticDataObjects_item);
|
|
12165
12276
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
12166
12277
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
12167
12278
|
}
|
|
@@ -12173,7 +12284,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12173
12284
|
const untrustedConfig_semanticGroupings_array = [];
|
|
12174
12285
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
12175
12286
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
12176
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
12287
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$L(untrustedConfig_semanticGroupings_item);
|
|
12177
12288
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
12178
12289
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
12179
12290
|
}
|
|
@@ -12185,7 +12296,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12185
12296
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
12186
12297
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
12187
12298
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
12188
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
12299
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$G(untrustedConfig_semanticLogicalViews_item);
|
|
12189
12300
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
12190
12301
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
12191
12302
|
}
|
|
@@ -12221,7 +12332,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12221
12332
|
const untrustedConfig_semanticRelationships_array = [];
|
|
12222
12333
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
12223
12334
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
12224
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
12335
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$J(untrustedConfig_semanticRelationships_item);
|
|
12225
12336
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
12226
12337
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
12227
12338
|
}
|
|
@@ -13387,7 +13498,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
13387
13498
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
13388
13499
|
const obj_filters_item = obj_filters[i];
|
|
13389
13500
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
13390
|
-
const referencepath_filters_itemValidationError = validate$
|
|
13501
|
+
const referencepath_filters_itemValidationError = validate$19(obj_filters_item, path_filters_item);
|
|
13391
13502
|
if (referencepath_filters_itemValidationError !== null) {
|
|
13392
13503
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
13393
13504
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13448,7 +13559,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
13448
13559
|
if (obj.semanticMetric !== undefined) {
|
|
13449
13560
|
const obj_semanticMetric = obj.semanticMetric;
|
|
13450
13561
|
const path_semanticMetric = path + '.semanticMetric';
|
|
13451
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
13562
|
+
const referencepath_semanticMetricValidationError = validate$14(obj_semanticMetric, path_semanticMetric);
|
|
13452
13563
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
13453
13564
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
13454
13565
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14526,7 +14637,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
14526
14637
|
const untrustedConfig_filters_array = [];
|
|
14527
14638
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
14528
14639
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
14529
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
14640
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$X(untrustedConfig_filters_item);
|
|
14530
14641
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
14531
14642
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
14532
14643
|
}
|