@salesforce/lds-adapters-cdp-semantic-authoring 1.380.0-dev1 → 1.380.0-dev11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cdp-semantic-authoring.js +723 -155
- package/dist/es/es2018/types/src/generated/adapters/getSemanticModel.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsShallowByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDataObjectOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticGoalOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticGroupingOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticInsightsSettingsInputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/SemanticInsightsSettingsOutputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMappedFieldOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMetricForecastConfigurationInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SemanticMetricForecastConfigurationOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SemanticMetricOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelPartialOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticParameterOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticRelationshipOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticSubMetricOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticUnionOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +881 -313
- package/src/raml/api.raml +137 -1
|
@@ -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
|
});
|
|
@@ -742,8 +824,8 @@ function equals$u(existing, incoming) {
|
|
|
742
824
|
return true;
|
|
743
825
|
}
|
|
744
826
|
|
|
745
|
-
const VERSION$t = "
|
|
746
|
-
function validate$
|
|
827
|
+
const VERSION$t = "3800a2eb703d5a4964899b4e067ee1d8";
|
|
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');
|
|
@@ -854,6 +936,13 @@ function validate$13(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
854
936
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isCumulative + '" (at "' + path_isCumulative + '")');
|
|
855
937
|
}
|
|
856
938
|
}
|
|
939
|
+
if (obj.isQueryable !== undefined) {
|
|
940
|
+
const obj_isQueryable = obj.isQueryable;
|
|
941
|
+
const path_isQueryable = path + '.isQueryable';
|
|
942
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
943
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
944
|
+
}
|
|
945
|
+
}
|
|
857
946
|
if (obj.isSystemDefinition !== undefined) {
|
|
858
947
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
859
948
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -885,7 +974,7 @@ function validate$13(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
885
974
|
if (obj.measurementReference !== undefined) {
|
|
886
975
|
const obj_measurementReference = obj.measurementReference;
|
|
887
976
|
const path_measurementReference = path + '.measurementReference';
|
|
888
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
977
|
+
const referencepath_measurementReferenceValidationError = validate$1a(obj_measurementReference, path_measurementReference);
|
|
889
978
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
890
979
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
891
980
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -895,7 +984,7 @@ function validate$13(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
895
984
|
if (obj.timeDimensionReference !== undefined) {
|
|
896
985
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
897
986
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
898
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
987
|
+
const referencepath_timeDimensionReferenceValidationError = validate$1a(obj_timeDimensionReference, path_timeDimensionReference);
|
|
899
988
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
900
989
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
901
990
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -940,8 +1029,8 @@ function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
|
940
1029
|
return input;
|
|
941
1030
|
}
|
|
942
1031
|
const select$K = function SemanticMetricOutputRepresentationSelect() {
|
|
943
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
944
|
-
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();
|
|
945
1034
|
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$L();
|
|
946
1035
|
return {
|
|
947
1036
|
kind: 'Fragment',
|
|
@@ -1014,6 +1103,11 @@ const select$K = function SemanticMetricOutputRepresentationSelect() {
|
|
|
1014
1103
|
kind: 'Scalar',
|
|
1015
1104
|
required: false
|
|
1016
1105
|
},
|
|
1106
|
+
{
|
|
1107
|
+
name: 'isQueryable',
|
|
1108
|
+
kind: 'Scalar',
|
|
1109
|
+
required: false
|
|
1110
|
+
},
|
|
1017
1111
|
{
|
|
1018
1112
|
name: 'isSystemDefinition',
|
|
1019
1113
|
kind: 'Scalar',
|
|
@@ -1185,6 +1279,19 @@ function equals$t(existing, incoming) {
|
|
|
1185
1279
|
if (!(existing_id === incoming_id)) {
|
|
1186
1280
|
return false;
|
|
1187
1281
|
}
|
|
1282
|
+
const existing_isQueryable = existing.isQueryable;
|
|
1283
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
1284
|
+
// if at least one of these optionals is defined
|
|
1285
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
1286
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1287
|
+
// not equal
|
|
1288
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
1289
|
+
return false;
|
|
1290
|
+
}
|
|
1291
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
1292
|
+
return false;
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1188
1295
|
const existing_label = existing.label;
|
|
1189
1296
|
const incoming_label = incoming.label;
|
|
1190
1297
|
// if at least one of these optionals is defined
|
|
@@ -1234,7 +1341,7 @@ function equals$t(existing, incoming) {
|
|
|
1234
1341
|
return false;
|
|
1235
1342
|
}
|
|
1236
1343
|
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
1237
|
-
if (!(equals$
|
|
1344
|
+
if (!(equals$z(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
1238
1345
|
return false;
|
|
1239
1346
|
}
|
|
1240
1347
|
});
|
|
@@ -1252,7 +1359,7 @@ function equals$t(existing, incoming) {
|
|
|
1252
1359
|
return false;
|
|
1253
1360
|
}
|
|
1254
1361
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
1255
|
-
if (!(equals$
|
|
1362
|
+
if (!(equals$y(existing_filters_item, incoming_filters_item))) {
|
|
1256
1363
|
return false;
|
|
1257
1364
|
}
|
|
1258
1365
|
});
|
|
@@ -1282,7 +1389,7 @@ function equals$t(existing, incoming) {
|
|
|
1282
1389
|
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
1283
1390
|
return false;
|
|
1284
1391
|
}
|
|
1285
|
-
if (!(equals$
|
|
1392
|
+
if (!(equals$z(existing_measurementReference, incoming_measurementReference))) {
|
|
1286
1393
|
return false;
|
|
1287
1394
|
}
|
|
1288
1395
|
}
|
|
@@ -1295,7 +1402,7 @@ function equals$t(existing, incoming) {
|
|
|
1295
1402
|
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
1296
1403
|
return false;
|
|
1297
1404
|
}
|
|
1298
|
-
if (!(equals$
|
|
1405
|
+
if (!(equals$z(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
1299
1406
|
return false;
|
|
1300
1407
|
}
|
|
1301
1408
|
}
|
|
@@ -1321,7 +1428,7 @@ function equals$t(existing, incoming) {
|
|
|
1321
1428
|
}
|
|
1322
1429
|
const ingest$i = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1323
1430
|
if (process.env.NODE_ENV !== 'production') {
|
|
1324
|
-
const validateError = validate$
|
|
1431
|
+
const validateError = validate$14(input);
|
|
1325
1432
|
if (validateError !== null) {
|
|
1326
1433
|
throw validateError;
|
|
1327
1434
|
}
|
|
@@ -1342,7 +1449,7 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1342
1449
|
}
|
|
1343
1450
|
|
|
1344
1451
|
const VERSION$s = "a6709a9f16e02d0d8e3d8423ebc79c2b";
|
|
1345
|
-
function validate$
|
|
1452
|
+
function validate$13(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
|
|
1346
1453
|
const v_error = (() => {
|
|
1347
1454
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1348
1455
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1425,7 +1532,7 @@ function equals$s(existing, incoming) {
|
|
|
1425
1532
|
}
|
|
1426
1533
|
const ingest$h = function SemanticMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1427
1534
|
if (process.env.NODE_ENV !== 'production') {
|
|
1428
|
-
const validateError = validate$
|
|
1535
|
+
const validateError = validate$13(input);
|
|
1429
1536
|
if (validateError !== null) {
|
|
1430
1537
|
throw validateError;
|
|
1431
1538
|
}
|
|
@@ -1586,7 +1693,7 @@ const getSemanticMetricsByIdsAdapterFactory = (luvio) => function SemanticAuthor
|
|
|
1586
1693
|
};
|
|
1587
1694
|
|
|
1588
1695
|
const VERSION$r = "3a32d382e7a2268096278aa8e5c6761a";
|
|
1589
|
-
function validate$
|
|
1696
|
+
function validate$12(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
1590
1697
|
const v_error = (() => {
|
|
1591
1698
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1592
1699
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1646,8 +1753,8 @@ function equals$r(existing, incoming) {
|
|
|
1646
1753
|
return true;
|
|
1647
1754
|
}
|
|
1648
1755
|
|
|
1649
|
-
const VERSION$q = "
|
|
1650
|
-
function validate$
|
|
1756
|
+
const VERSION$q = "fbfcf3d65a4ca4d916f66efc9208f1cb";
|
|
1757
|
+
function validate$11(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
1651
1758
|
const v_error = (() => {
|
|
1652
1759
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1653
1760
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1687,7 +1794,7 @@ function validate$10(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
1687
1794
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
1688
1795
|
const obj_baseModels_item = obj_baseModels[i];
|
|
1689
1796
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
1690
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
1797
|
+
const referencepath_baseModels_itemValidationError = validate$12(obj_baseModels_item, path_baseModels_item);
|
|
1691
1798
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
1692
1799
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
1693
1800
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1757,6 +1864,13 @@ function validate$10(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
1757
1864
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
1758
1865
|
}
|
|
1759
1866
|
}
|
|
1867
|
+
if (obj.isQueryable !== undefined) {
|
|
1868
|
+
const obj_isQueryable = obj.isQueryable;
|
|
1869
|
+
const path_isQueryable = path + '.isQueryable';
|
|
1870
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
1871
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1760
1874
|
if (obj.label !== undefined) {
|
|
1761
1875
|
const obj_label = obj.label;
|
|
1762
1876
|
const path_label = path + '.label';
|
|
@@ -1940,6 +2054,11 @@ const select$G = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
1940
2054
|
kind: 'Scalar',
|
|
1941
2055
|
required: false
|
|
1942
2056
|
},
|
|
2057
|
+
{
|
|
2058
|
+
name: 'isQueryable',
|
|
2059
|
+
kind: 'Scalar',
|
|
2060
|
+
required: false
|
|
2061
|
+
},
|
|
1943
2062
|
{
|
|
1944
2063
|
name: 'label',
|
|
1945
2064
|
kind: 'Scalar',
|
|
@@ -2120,6 +2239,19 @@ function equals$q(existing, incoming) {
|
|
|
2120
2239
|
if (!(existing_id === incoming_id)) {
|
|
2121
2240
|
return false;
|
|
2122
2241
|
}
|
|
2242
|
+
const existing_isQueryable = existing.isQueryable;
|
|
2243
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
2244
|
+
// if at least one of these optionals is defined
|
|
2245
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
2246
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2247
|
+
// not equal
|
|
2248
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
2249
|
+
return false;
|
|
2250
|
+
}
|
|
2251
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
2252
|
+
return false;
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2123
2255
|
const existing_label = existing.label;
|
|
2124
2256
|
const incoming_label = incoming.label;
|
|
2125
2257
|
// if at least one of these optionals is defined
|
|
@@ -2316,7 +2448,7 @@ function equals$q(existing, incoming) {
|
|
|
2316
2448
|
}
|
|
2317
2449
|
|
|
2318
2450
|
const VERSION$p = "198423ec58354256cc7ea6f4661ef669";
|
|
2319
|
-
function validate
|
|
2451
|
+
function validate$10(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
2320
2452
|
const v_error = (() => {
|
|
2321
2453
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2322
2454
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2363,7 +2495,7 @@ function validate$$(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
|
2363
2495
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2364
2496
|
const obj_items_item = obj_items[i];
|
|
2365
2497
|
const path_items_item = path_items + '[' + i + ']';
|
|
2366
|
-
const referencepath_items_itemValidationError = validate$
|
|
2498
|
+
const referencepath_items_itemValidationError = validate$11(obj_items_item, path_items_item);
|
|
2367
2499
|
if (referencepath_items_itemValidationError !== null) {
|
|
2368
2500
|
let message = 'Object doesn\'t match SemanticModelPartialOutputRepresentation (at "' + path_items_item + '")\n';
|
|
2369
2501
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2551,7 +2683,7 @@ function equals$p(existing, incoming) {
|
|
|
2551
2683
|
}
|
|
2552
2684
|
const ingest$g = function SemanticModelCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2553
2685
|
if (process.env.NODE_ENV !== 'production') {
|
|
2554
|
-
const validateError = validate
|
|
2686
|
+
const validateError = validate$10(input);
|
|
2555
2687
|
if (validateError !== null) {
|
|
2556
2688
|
throw validateError;
|
|
2557
2689
|
}
|
|
@@ -2711,7 +2843,7 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
2711
2843
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
|
|
2712
2844
|
};
|
|
2713
2845
|
|
|
2714
|
-
function validate
|
|
2846
|
+
function validate$$(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
2715
2847
|
const v_error = (() => {
|
|
2716
2848
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2717
2849
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2727,7 +2859,7 @@ function validate$_(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
2727
2859
|
return v_error === undefined ? null : v_error;
|
|
2728
2860
|
}
|
|
2729
2861
|
|
|
2730
|
-
function validate$
|
|
2862
|
+
function validate$_(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation') {
|
|
2731
2863
|
const v_error = (() => {
|
|
2732
2864
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2733
2865
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2756,7 +2888,7 @@ function validate$Z(obj, path = 'SemanticModelExternalConnectionTableauPublished
|
|
|
2756
2888
|
return v_error === undefined ? null : v_error;
|
|
2757
2889
|
}
|
|
2758
2890
|
|
|
2759
|
-
function validate$
|
|
2891
|
+
function validate$Z(obj, path = 'SemanticModelExternalConnectionInputRepresentation') {
|
|
2760
2892
|
const v_error = (() => {
|
|
2761
2893
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2762
2894
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2776,7 +2908,7 @@ function validate$Y(obj, path = 'SemanticModelExternalConnectionInputRepresentat
|
|
|
2776
2908
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
2777
2909
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
2778
2910
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
2779
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
2911
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$_(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
2780
2912
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
2781
2913
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
2782
2914
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2792,7 +2924,7 @@ function validate$Y(obj, path = 'SemanticModelExternalConnectionInputRepresentat
|
|
|
2792
2924
|
return v_error === undefined ? null : v_error;
|
|
2793
2925
|
}
|
|
2794
2926
|
|
|
2795
|
-
function validate$
|
|
2927
|
+
function validate$Y(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
2796
2928
|
const v_error = (() => {
|
|
2797
2929
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2798
2930
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2822,7 +2954,7 @@ function validate$X(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
|
2822
2954
|
return v_error === undefined ? null : v_error;
|
|
2823
2955
|
}
|
|
2824
2956
|
|
|
2825
|
-
function validate$
|
|
2957
|
+
function validate$X(obj, path = 'SemanticFilterInputRepresentation') {
|
|
2826
2958
|
const v_error = (() => {
|
|
2827
2959
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2828
2960
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2866,7 +2998,7 @@ function validate$W(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
2866
2998
|
return v_error === undefined ? null : v_error;
|
|
2867
2999
|
}
|
|
2868
3000
|
|
|
2869
|
-
function validate$
|
|
3001
|
+
function validate$W(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
2870
3002
|
const v_error = (() => {
|
|
2871
3003
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2872
3004
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2929,7 +3061,7 @@ function validate$V(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2929
3061
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2930
3062
|
const obj_filters_item = obj_filters[i];
|
|
2931
3063
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2932
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3064
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
2933
3065
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2934
3066
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2935
3067
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2983,7 +3115,7 @@ function validate$V(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2983
3115
|
return v_error === undefined ? null : v_error;
|
|
2984
3116
|
}
|
|
2985
3117
|
|
|
2986
|
-
function validate$
|
|
3118
|
+
function validate$V(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
2987
3119
|
const v_error = (() => {
|
|
2988
3120
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2989
3121
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3060,7 +3192,7 @@ function validate$U(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
3060
3192
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3061
3193
|
const obj_filters_item = obj_filters[i];
|
|
3062
3194
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3063
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3195
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
3064
3196
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3065
3197
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3066
3198
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3135,7 +3267,7 @@ function validate$U(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
3135
3267
|
return v_error === undefined ? null : v_error;
|
|
3136
3268
|
}
|
|
3137
3269
|
|
|
3138
|
-
function validate$
|
|
3270
|
+
function validate$U(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
3139
3271
|
const v_error = (() => {
|
|
3140
3272
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3141
3273
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3214,7 +3346,7 @@ function validate$T(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
3214
3346
|
return v_error === undefined ? null : v_error;
|
|
3215
3347
|
}
|
|
3216
3348
|
|
|
3217
|
-
function validate$
|
|
3349
|
+
function validate$T(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
3218
3350
|
const v_error = (() => {
|
|
3219
3351
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3220
3352
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3321,7 +3453,7 @@ function validate$S(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
3321
3453
|
return v_error === undefined ? null : v_error;
|
|
3322
3454
|
}
|
|
3323
3455
|
|
|
3324
|
-
function validate$
|
|
3456
|
+
function validate$S(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
3325
3457
|
const v_error = (() => {
|
|
3326
3458
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3327
3459
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3370,7 +3502,7 @@ function validate$R(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3370
3502
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3371
3503
|
const obj_filters_item = obj_filters[i];
|
|
3372
3504
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3373
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3505
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
3374
3506
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3375
3507
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3376
3508
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3408,7 +3540,7 @@ function validate$R(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3408
3540
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
3409
3541
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
3410
3542
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
3411
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
3543
|
+
const referencepath_semanticDimensions_itemValidationError = validate$U(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
3412
3544
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
3413
3545
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
3414
3546
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3425,7 +3557,7 @@ function validate$R(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3425
3557
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
3426
3558
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
3427
3559
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
3428
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
3560
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$T(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
3429
3561
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
3430
3562
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
3431
3563
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3451,7 +3583,7 @@ function validate$R(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3451
3583
|
return v_error === undefined ? null : v_error;
|
|
3452
3584
|
}
|
|
3453
3585
|
|
|
3454
|
-
function validate$
|
|
3586
|
+
function validate$R(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
3455
3587
|
const v_error = (() => {
|
|
3456
3588
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3457
3589
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3463,7 +3595,7 @@ function validate$Q(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
3463
3595
|
return v_error === undefined ? null : v_error;
|
|
3464
3596
|
}
|
|
3465
3597
|
|
|
3466
|
-
function validate$
|
|
3598
|
+
function validate$Q(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
3467
3599
|
const v_error = (() => {
|
|
3468
3600
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3469
3601
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3493,7 +3625,7 @@ function validate$P(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
3493
3625
|
return v_error === undefined ? null : v_error;
|
|
3494
3626
|
}
|
|
3495
3627
|
|
|
3496
|
-
function validate$
|
|
3628
|
+
function validate$P(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
3497
3629
|
const v_error = (() => {
|
|
3498
3630
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3499
3631
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3507,7 +3639,7 @@ function validate$O(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3507
3639
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
3508
3640
|
const obj_groups_item = obj_groups[i];
|
|
3509
3641
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
3510
|
-
const referencepath_groups_itemValidationError = validate$
|
|
3642
|
+
const referencepath_groups_itemValidationError = validate$Q(obj_groups_item, path_groups_item);
|
|
3511
3643
|
if (referencepath_groups_itemValidationError !== null) {
|
|
3512
3644
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
3513
3645
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3526,7 +3658,7 @@ function validate$O(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3526
3658
|
return v_error === undefined ? null : v_error;
|
|
3527
3659
|
}
|
|
3528
3660
|
|
|
3529
|
-
function validate$
|
|
3661
|
+
function validate$O(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
3530
3662
|
const v_error = (() => {
|
|
3531
3663
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3532
3664
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3534,7 +3666,7 @@ function validate$N(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3534
3666
|
if (obj.binDimension !== undefined) {
|
|
3535
3667
|
const obj_binDimension = obj.binDimension;
|
|
3536
3668
|
const path_binDimension = path + '.binDimension';
|
|
3537
|
-
const referencepath_binDimensionValidationError = validate$
|
|
3669
|
+
const referencepath_binDimensionValidationError = validate$R(obj_binDimension, path_binDimension);
|
|
3538
3670
|
if (referencepath_binDimensionValidationError !== null) {
|
|
3539
3671
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
3540
3672
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3544,7 +3676,7 @@ function validate$N(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3544
3676
|
if (obj.groupDimension !== undefined) {
|
|
3545
3677
|
const obj_groupDimension = obj.groupDimension;
|
|
3546
3678
|
const path_groupDimension = path + '.groupDimension';
|
|
3547
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
3679
|
+
const referencepath_groupDimensionValidationError = validate$P(obj_groupDimension, path_groupDimension);
|
|
3548
3680
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
3549
3681
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
3550
3682
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3555,7 +3687,7 @@ function validate$N(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3555
3687
|
return v_error === undefined ? null : v_error;
|
|
3556
3688
|
}
|
|
3557
3689
|
|
|
3558
|
-
function validate$
|
|
3690
|
+
function validate$N(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
3559
3691
|
const v_error = (() => {
|
|
3560
3692
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3561
3693
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3578,7 +3710,7 @@ function validate$M(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
3578
3710
|
return v_error === undefined ? null : v_error;
|
|
3579
3711
|
}
|
|
3580
3712
|
|
|
3581
|
-
function validate$
|
|
3713
|
+
function validate$M(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
3582
3714
|
const v_error = (() => {
|
|
3583
3715
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3584
3716
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3593,7 +3725,7 @@ function validate$L(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3593
3725
|
if (obj.tableFieldReference !== undefined) {
|
|
3594
3726
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
3595
3727
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
3596
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
3728
|
+
const referencepath_tableFieldReferenceValidationError = validate$N(obj_tableFieldReference, path_tableFieldReference);
|
|
3597
3729
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
3598
3730
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
3599
3731
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3604,7 +3736,7 @@ function validate$L(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3604
3736
|
return v_error === undefined ? null : v_error;
|
|
3605
3737
|
}
|
|
3606
3738
|
|
|
3607
|
-
function validate$
|
|
3739
|
+
function validate$L(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
3608
3740
|
const v_error = (() => {
|
|
3609
3741
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3610
3742
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3619,7 +3751,7 @@ function validate$K(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3619
3751
|
if (obj.configuration !== undefined) {
|
|
3620
3752
|
const obj_configuration = obj.configuration;
|
|
3621
3753
|
const path_configuration = path + '.configuration';
|
|
3622
|
-
const referencepath_configurationValidationError = validate$
|
|
3754
|
+
const referencepath_configurationValidationError = validate$O(obj_configuration, path_configuration);
|
|
3623
3755
|
if (referencepath_configurationValidationError !== null) {
|
|
3624
3756
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
3625
3757
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3636,7 +3768,7 @@ function validate$K(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3636
3768
|
if (obj.fieldReference !== undefined) {
|
|
3637
3769
|
const obj_fieldReference = obj.fieldReference;
|
|
3638
3770
|
const path_fieldReference = path + '.fieldReference';
|
|
3639
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
3771
|
+
const referencepath_fieldReferenceValidationError = validate$M(obj_fieldReference, path_fieldReference);
|
|
3640
3772
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
3641
3773
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
3642
3774
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3661,7 +3793,7 @@ function validate$K(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3661
3793
|
return v_error === undefined ? null : v_error;
|
|
3662
3794
|
}
|
|
3663
3795
|
|
|
3664
|
-
function validate$
|
|
3796
|
+
function validate$K(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
3665
3797
|
const v_error = (() => {
|
|
3666
3798
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3667
3799
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3705,7 +3837,7 @@ function validate$J(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
3705
3837
|
return v_error === undefined ? null : v_error;
|
|
3706
3838
|
}
|
|
3707
3839
|
|
|
3708
|
-
function validate$
|
|
3840
|
+
function validate$J(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
3709
3841
|
const v_error = (() => {
|
|
3710
3842
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3711
3843
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3733,7 +3865,7 @@ function validate$I(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3733
3865
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
3734
3866
|
const obj_criteria_item = obj_criteria[i];
|
|
3735
3867
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
3736
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
3868
|
+
const referencepath_criteria_itemValidationError = validate$K(obj_criteria_item, path_criteria_item);
|
|
3737
3869
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
3738
3870
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
3739
3871
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3794,7 +3926,7 @@ function validate$I(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3794
3926
|
return v_error === undefined ? null : v_error;
|
|
3795
3927
|
}
|
|
3796
3928
|
|
|
3797
|
-
function validate$
|
|
3929
|
+
function validate$I(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
3798
3930
|
const v_error = (() => {
|
|
3799
3931
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3800
3932
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3822,7 +3954,7 @@ function validate$H(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3822
3954
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
3823
3955
|
const obj_fields_item = obj_fields[i];
|
|
3824
3956
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
3825
|
-
const referencepath_fields_itemValidationError = validate$
|
|
3957
|
+
const referencepath_fields_itemValidationError = validate$N(obj_fields_item, path_fields_item);
|
|
3826
3958
|
if (referencepath_fields_itemValidationError !== null) {
|
|
3827
3959
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
3828
3960
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3847,7 +3979,7 @@ function validate$H(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3847
3979
|
if (obj.semanticDimension !== undefined) {
|
|
3848
3980
|
const obj_semanticDimension = obj.semanticDimension;
|
|
3849
3981
|
const path_semanticDimension = path + '.semanticDimension';
|
|
3850
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
3982
|
+
const referencepath_semanticDimensionValidationError = validate$U(obj_semanticDimension, path_semanticDimension);
|
|
3851
3983
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
3852
3984
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
3853
3985
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3857,7 +3989,7 @@ function validate$H(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3857
3989
|
if (obj.semanticMeasurement !== undefined) {
|
|
3858
3990
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
3859
3991
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
3860
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
3992
|
+
const referencepath_semanticMeasurementValidationError = validate$T(obj_semanticMeasurement, path_semanticMeasurement);
|
|
3861
3993
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
3862
3994
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
3863
3995
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3868,7 +4000,7 @@ function validate$H(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3868
4000
|
return v_error === undefined ? null : v_error;
|
|
3869
4001
|
}
|
|
3870
4002
|
|
|
3871
|
-
function validate$
|
|
4003
|
+
function validate$H(obj, path = 'SemanticUnionInputRepresentation') {
|
|
3872
4004
|
const v_error = (() => {
|
|
3873
4005
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3874
4006
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3903,7 +4035,7 @@ function validate$G(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3903
4035
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
3904
4036
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
3905
4037
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
3906
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
4038
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$S(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
3907
4039
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
3908
4040
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
3909
4041
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3920,7 +4052,7 @@ function validate$G(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3920
4052
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
3921
4053
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
3922
4054
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
3923
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
4055
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$I(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
3924
4056
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
3925
4057
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
3926
4058
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3932,7 +4064,7 @@ function validate$G(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3932
4064
|
return v_error === undefined ? null : v_error;
|
|
3933
4065
|
}
|
|
3934
4066
|
|
|
3935
|
-
function validate$
|
|
4067
|
+
function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
3936
4068
|
const v_error = (() => {
|
|
3937
4069
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3938
4070
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3974,7 +4106,7 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3974
4106
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3975
4107
|
const obj_filters_item = obj_filters[i];
|
|
3976
4108
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3977
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4109
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
3978
4110
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3979
4111
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3980
4112
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4005,7 +4137,7 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
4005
4137
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
4006
4138
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
4007
4139
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
4008
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
4140
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$S(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
4009
4141
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
4010
4142
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
4011
4143
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4022,7 +4154,7 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
4022
4154
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
4023
4155
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
4024
4156
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
4025
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
4157
|
+
const referencepath_semanticRelationships_itemValidationError = validate$J(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
4026
4158
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
4027
4159
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
4028
4160
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4039,7 +4171,7 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
4039
4171
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
4040
4172
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
4041
4173
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
4042
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
4174
|
+
const referencepath_semanticUnions_itemValidationError = validate$H(obj_semanticUnions_item, path_semanticUnions_item);
|
|
4043
4175
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
4044
4176
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
4045
4177
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4058,6 +4190,25 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
4058
4190
|
return v_error === undefined ? null : v_error;
|
|
4059
4191
|
}
|
|
4060
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
|
+
|
|
4061
4212
|
function validate$E(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
4062
4213
|
const v_error = (() => {
|
|
4063
4214
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4066,7 +4217,7 @@ function validate$E(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
4066
4217
|
if (obj.identifierDimensionReference !== undefined) {
|
|
4067
4218
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
4068
4219
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
4069
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
4220
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$M(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
4070
4221
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
4071
4222
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
4072
4223
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4076,7 +4227,7 @@ function validate$E(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
4076
4227
|
if (obj.namingDimensionReference !== undefined) {
|
|
4077
4228
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
4078
4229
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
4079
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
4230
|
+
const referencepath_namingDimensionReferenceValidationError = validate$M(obj_namingDimensionReference, path_namingDimensionReference);
|
|
4080
4231
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
4081
4232
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
4082
4233
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4115,6 +4266,16 @@ function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
4115
4266
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4116
4267
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4117
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
|
+
}
|
|
4118
4279
|
if (obj.identifyingDimension !== undefined) {
|
|
4119
4280
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
4120
4281
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
@@ -4151,7 +4312,7 @@ function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
4151
4312
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
4152
4313
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
4153
4314
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
4154
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
4315
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$M(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
4155
4316
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
4156
4317
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
4157
4318
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4198,7 +4359,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4198
4359
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
4199
4360
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
4200
4361
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
4201
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
4362
|
+
const referencepath_additionalDimensions_itemValidationError = validate$M(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
4202
4363
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
4203
4364
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
4204
4365
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4243,7 +4404,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4243
4404
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4244
4405
|
const obj_filters_item = obj_filters[i];
|
|
4245
4406
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4246
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4407
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
4247
4408
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4248
4409
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
4249
4410
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4278,7 +4439,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4278
4439
|
if (obj.measurementReference !== undefined) {
|
|
4279
4440
|
const obj_measurementReference = obj.measurementReference;
|
|
4280
4441
|
const path_measurementReference = path + '.measurementReference';
|
|
4281
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
4442
|
+
const referencepath_measurementReferenceValidationError = validate$M(obj_measurementReference, path_measurementReference);
|
|
4282
4443
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
4283
4444
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
4284
4445
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4288,7 +4449,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4288
4449
|
if (obj.timeDimensionReference !== undefined) {
|
|
4289
4450
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
4290
4451
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
4291
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
4452
|
+
const referencepath_timeDimensionReferenceValidationError = validate$M(obj_timeDimensionReference, path_timeDimensionReference);
|
|
4292
4453
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
4293
4454
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
4294
4455
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4491,7 +4652,7 @@ function equals$o(existing, incoming) {
|
|
|
4491
4652
|
return true;
|
|
4492
4653
|
}
|
|
4493
4654
|
|
|
4494
|
-
const VERSION$n = "
|
|
4655
|
+
const VERSION$n = "d39ef07b537fde1ac49a10bfc73d7db1";
|
|
4495
4656
|
function validate$y(obj, path = 'SemanticModelExternalConnectionOutputRepresentation') {
|
|
4496
4657
|
const v_error = (() => {
|
|
4497
4658
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4514,6 +4675,13 @@ function validate$y(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
4514
4675
|
if (typeof obj_id !== 'string') {
|
|
4515
4676
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
4516
4677
|
}
|
|
4678
|
+
if (obj.isQueryable !== undefined) {
|
|
4679
|
+
const obj_isQueryable = obj.isQueryable;
|
|
4680
|
+
const path_isQueryable = path + '.isQueryable';
|
|
4681
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
4682
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
4683
|
+
}
|
|
4684
|
+
}
|
|
4517
4685
|
if (obj.label !== undefined) {
|
|
4518
4686
|
const obj_label = obj.label;
|
|
4519
4687
|
const path_label = path + '.label';
|
|
@@ -4559,6 +4727,11 @@ const select$C = function SemanticModelExternalConnectionOutputRepresentationSel
|
|
|
4559
4727
|
name: 'id',
|
|
4560
4728
|
kind: 'Scalar'
|
|
4561
4729
|
},
|
|
4730
|
+
{
|
|
4731
|
+
name: 'isQueryable',
|
|
4732
|
+
kind: 'Scalar',
|
|
4733
|
+
required: false
|
|
4734
|
+
},
|
|
4562
4735
|
{
|
|
4563
4736
|
name: 'label',
|
|
4564
4737
|
kind: 'Scalar',
|
|
@@ -4601,6 +4774,19 @@ function equals$n(existing, incoming) {
|
|
|
4601
4774
|
if (!(existing_id === incoming_id)) {
|
|
4602
4775
|
return false;
|
|
4603
4776
|
}
|
|
4777
|
+
const existing_isQueryable = existing.isQueryable;
|
|
4778
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
4779
|
+
// if at least one of these optionals is defined
|
|
4780
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
4781
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4782
|
+
// not equal
|
|
4783
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
4784
|
+
return false;
|
|
4785
|
+
}
|
|
4786
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
4787
|
+
return false;
|
|
4788
|
+
}
|
|
4789
|
+
}
|
|
4604
4790
|
const existing_label = existing.label;
|
|
4605
4791
|
const incoming_label = incoming.label;
|
|
4606
4792
|
// if at least one of these optionals is defined
|
|
@@ -4752,7 +4938,7 @@ function equals$m(existing, incoming) {
|
|
|
4752
4938
|
return true;
|
|
4753
4939
|
}
|
|
4754
4940
|
|
|
4755
|
-
const VERSION$l = "
|
|
4941
|
+
const VERSION$l = "0ff409d003cd74094400b475d698bf15";
|
|
4756
4942
|
function validate$w(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
4757
4943
|
const v_error = (() => {
|
|
4758
4944
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4829,6 +5015,13 @@ function validate$w(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4829
5015
|
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
4830
5016
|
}
|
|
4831
5017
|
}
|
|
5018
|
+
if (obj.externalDataType !== undefined) {
|
|
5019
|
+
const obj_externalDataType = obj.externalDataType;
|
|
5020
|
+
const path_externalDataType = path + '.externalDataType';
|
|
5021
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
5022
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
5023
|
+
}
|
|
5024
|
+
}
|
|
4832
5025
|
if (obj.externalStorageName !== undefined) {
|
|
4833
5026
|
const obj_externalStorageName = obj.externalStorageName;
|
|
4834
5027
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -4852,7 +5045,7 @@ function validate$w(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4852
5045
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4853
5046
|
const obj_filters_item = obj_filters[i];
|
|
4854
5047
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4855
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5048
|
+
const referencepath_filters_itemValidationError = validate$19(obj_filters_item, path_filters_item);
|
|
4856
5049
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4857
5050
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4858
5051
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4872,6 +5065,13 @@ function validate$w(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4872
5065
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
4873
5066
|
}
|
|
4874
5067
|
}
|
|
5068
|
+
if (obj.isQueryable !== undefined) {
|
|
5069
|
+
const obj_isQueryable = obj.isQueryable;
|
|
5070
|
+
const path_isQueryable = path + '.isQueryable';
|
|
5071
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
5072
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
5073
|
+
}
|
|
5074
|
+
}
|
|
4875
5075
|
if (obj.isSystemDefinition !== undefined) {
|
|
4876
5076
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
4877
5077
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -4959,7 +5159,7 @@ function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
|
4959
5159
|
return input;
|
|
4960
5160
|
}
|
|
4961
5161
|
const select$A = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
4962
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
5162
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$P();
|
|
4963
5163
|
return {
|
|
4964
5164
|
kind: 'Fragment',
|
|
4965
5165
|
version: VERSION$l,
|
|
@@ -5017,6 +5217,11 @@ const select$A = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
5017
5217
|
kind: 'Scalar',
|
|
5018
5218
|
required: false
|
|
5019
5219
|
},
|
|
5220
|
+
{
|
|
5221
|
+
name: 'externalDataType',
|
|
5222
|
+
kind: 'Scalar',
|
|
5223
|
+
required: false
|
|
5224
|
+
},
|
|
5020
5225
|
{
|
|
5021
5226
|
name: 'externalStorageName',
|
|
5022
5227
|
kind: 'Scalar',
|
|
@@ -5043,6 +5248,11 @@ const select$A = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
5043
5248
|
kind: 'Scalar',
|
|
5044
5249
|
required: false
|
|
5045
5250
|
},
|
|
5251
|
+
{
|
|
5252
|
+
name: 'isQueryable',
|
|
5253
|
+
kind: 'Scalar',
|
|
5254
|
+
required: false
|
|
5255
|
+
},
|
|
5046
5256
|
{
|
|
5047
5257
|
name: 'isSystemDefinition',
|
|
5048
5258
|
kind: 'Scalar',
|
|
@@ -5268,6 +5478,19 @@ function equals$l(existing, incoming) {
|
|
|
5268
5478
|
return false;
|
|
5269
5479
|
}
|
|
5270
5480
|
}
|
|
5481
|
+
const existing_externalDataType = existing.externalDataType;
|
|
5482
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
5483
|
+
// if at least one of these optionals is defined
|
|
5484
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
5485
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5486
|
+
// not equal
|
|
5487
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
5488
|
+
return false;
|
|
5489
|
+
}
|
|
5490
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
5491
|
+
return false;
|
|
5492
|
+
}
|
|
5493
|
+
}
|
|
5271
5494
|
const existing_externalStorageName = existing.externalStorageName;
|
|
5272
5495
|
const incoming_externalStorageName = incoming.externalStorageName;
|
|
5273
5496
|
// if at least one of these optionals is defined
|
|
@@ -5299,6 +5522,19 @@ function equals$l(existing, incoming) {
|
|
|
5299
5522
|
if (!(existing_id === incoming_id)) {
|
|
5300
5523
|
return false;
|
|
5301
5524
|
}
|
|
5525
|
+
const existing_isQueryable = existing.isQueryable;
|
|
5526
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
5527
|
+
// if at least one of these optionals is defined
|
|
5528
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
5529
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5530
|
+
// not equal
|
|
5531
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
5532
|
+
return false;
|
|
5533
|
+
}
|
|
5534
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
5535
|
+
return false;
|
|
5536
|
+
}
|
|
5537
|
+
}
|
|
5302
5538
|
const existing_label = existing.label;
|
|
5303
5539
|
const incoming_label = incoming.label;
|
|
5304
5540
|
// if at least one of these optionals is defined
|
|
@@ -5400,7 +5636,7 @@ function equals$l(existing, incoming) {
|
|
|
5400
5636
|
return false;
|
|
5401
5637
|
}
|
|
5402
5638
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
5403
|
-
if (!(equals$
|
|
5639
|
+
if (!(equals$y(existing_filters_item, incoming_filters_item))) {
|
|
5404
5640
|
return false;
|
|
5405
5641
|
}
|
|
5406
5642
|
});
|
|
@@ -5432,7 +5668,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5432
5668
|
});
|
|
5433
5669
|
}
|
|
5434
5670
|
|
|
5435
|
-
const VERSION$k = "
|
|
5671
|
+
const VERSION$k = "65b35c82c52febf0709785df41c57ac3";
|
|
5436
5672
|
function validate$v(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
5437
5673
|
const v_error = (() => {
|
|
5438
5674
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5523,6 +5759,13 @@ function validate$v(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
5523
5759
|
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
5524
5760
|
}
|
|
5525
5761
|
}
|
|
5762
|
+
if (obj.externalDataType !== undefined) {
|
|
5763
|
+
const obj_externalDataType = obj.externalDataType;
|
|
5764
|
+
const path_externalDataType = path + '.externalDataType';
|
|
5765
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
5766
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
5767
|
+
}
|
|
5768
|
+
}
|
|
5526
5769
|
if (obj.externalStorageName !== undefined) {
|
|
5527
5770
|
const obj_externalStorageName = obj.externalStorageName;
|
|
5528
5771
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -5546,7 +5789,7 @@ function validate$v(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
5546
5789
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5547
5790
|
const obj_filters_item = obj_filters[i];
|
|
5548
5791
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5549
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5792
|
+
const referencepath_filters_itemValidationError = validate$19(obj_filters_item, path_filters_item);
|
|
5550
5793
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5551
5794
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5552
5795
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5573,6 +5816,13 @@ function validate$v(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
5573
5816
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
5574
5817
|
}
|
|
5575
5818
|
}
|
|
5819
|
+
if (obj.isQueryable !== undefined) {
|
|
5820
|
+
const obj_isQueryable = obj.isQueryable;
|
|
5821
|
+
const path_isQueryable = path + '.isQueryable';
|
|
5822
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
5823
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
5824
|
+
}
|
|
5825
|
+
}
|
|
5576
5826
|
if (obj.isSystemDefinition !== undefined) {
|
|
5577
5827
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
5578
5828
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -5681,7 +5931,7 @@ function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
|
5681
5931
|
return input;
|
|
5682
5932
|
}
|
|
5683
5933
|
const select$z = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
5684
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
5934
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$P();
|
|
5685
5935
|
return {
|
|
5686
5936
|
kind: 'Fragment',
|
|
5687
5937
|
version: VERSION$k,
|
|
@@ -5749,6 +5999,11 @@ const select$z = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
5749
5999
|
kind: 'Scalar',
|
|
5750
6000
|
required: false
|
|
5751
6001
|
},
|
|
6002
|
+
{
|
|
6003
|
+
name: 'externalDataType',
|
|
6004
|
+
kind: 'Scalar',
|
|
6005
|
+
required: false
|
|
6006
|
+
},
|
|
5752
6007
|
{
|
|
5753
6008
|
name: 'externalStorageName',
|
|
5754
6009
|
kind: 'Scalar',
|
|
@@ -5780,6 +6035,11 @@ const select$z = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
5780
6035
|
kind: 'Scalar',
|
|
5781
6036
|
required: false
|
|
5782
6037
|
},
|
|
6038
|
+
{
|
|
6039
|
+
name: 'isQueryable',
|
|
6040
|
+
kind: 'Scalar',
|
|
6041
|
+
required: false
|
|
6042
|
+
},
|
|
5783
6043
|
{
|
|
5784
6044
|
name: 'isSystemDefinition',
|
|
5785
6045
|
kind: 'Scalar',
|
|
@@ -6072,6 +6332,19 @@ function equals$k(existing, incoming) {
|
|
|
6072
6332
|
return false;
|
|
6073
6333
|
}
|
|
6074
6334
|
}
|
|
6335
|
+
const existing_externalDataType = existing.externalDataType;
|
|
6336
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
6337
|
+
// if at least one of these optionals is defined
|
|
6338
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
6339
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6340
|
+
// not equal
|
|
6341
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
6342
|
+
return false;
|
|
6343
|
+
}
|
|
6344
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
6345
|
+
return false;
|
|
6346
|
+
}
|
|
6347
|
+
}
|
|
6075
6348
|
const existing_externalStorageName = existing.externalStorageName;
|
|
6076
6349
|
const incoming_externalStorageName = incoming.externalStorageName;
|
|
6077
6350
|
// if at least one of these optionals is defined
|
|
@@ -6103,6 +6376,19 @@ function equals$k(existing, incoming) {
|
|
|
6103
6376
|
if (!(existing_id === incoming_id)) {
|
|
6104
6377
|
return false;
|
|
6105
6378
|
}
|
|
6379
|
+
const existing_isQueryable = existing.isQueryable;
|
|
6380
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
6381
|
+
// if at least one of these optionals is defined
|
|
6382
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
6383
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6384
|
+
// not equal
|
|
6385
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
6386
|
+
return false;
|
|
6387
|
+
}
|
|
6388
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
6389
|
+
return false;
|
|
6390
|
+
}
|
|
6391
|
+
}
|
|
6106
6392
|
const existing_label = existing.label;
|
|
6107
6393
|
const incoming_label = incoming.label;
|
|
6108
6394
|
// if at least one of these optionals is defined
|
|
@@ -6230,7 +6516,7 @@ function equals$k(existing, incoming) {
|
|
|
6230
6516
|
return false;
|
|
6231
6517
|
}
|
|
6232
6518
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
6233
|
-
if (!(equals$
|
|
6519
|
+
if (!(equals$y(existing_filters_item, incoming_filters_item))) {
|
|
6234
6520
|
return false;
|
|
6235
6521
|
}
|
|
6236
6522
|
});
|
|
@@ -6331,6 +6617,13 @@ function validate$u(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
6331
6617
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
6332
6618
|
}
|
|
6333
6619
|
}
|
|
6620
|
+
if (obj.externalDataType !== undefined) {
|
|
6621
|
+
const obj_externalDataType = obj.externalDataType;
|
|
6622
|
+
const path_externalDataType = path + '.externalDataType';
|
|
6623
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
6624
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
6625
|
+
}
|
|
6626
|
+
}
|
|
6334
6627
|
if (obj.externalStorageName !== undefined) {
|
|
6335
6628
|
const obj_externalStorageName = obj.externalStorageName;
|
|
6336
6629
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -6357,6 +6650,13 @@ function validate$u(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
6357
6650
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
6358
6651
|
}
|
|
6359
6652
|
}
|
|
6653
|
+
if (obj.isQueryable !== undefined) {
|
|
6654
|
+
const obj_isQueryable = obj.isQueryable;
|
|
6655
|
+
const path_isQueryable = path + '.isQueryable';
|
|
6656
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
6657
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
6658
|
+
}
|
|
6659
|
+
}
|
|
6360
6660
|
if (obj.isSystemDefinition !== undefined) {
|
|
6361
6661
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
6362
6662
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -6514,6 +6814,13 @@ function validate$t(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
6514
6814
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
6515
6815
|
}
|
|
6516
6816
|
}
|
|
6817
|
+
if (obj.externalDataType !== undefined) {
|
|
6818
|
+
const obj_externalDataType = obj.externalDataType;
|
|
6819
|
+
const path_externalDataType = path + '.externalDataType';
|
|
6820
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
6821
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
6822
|
+
}
|
|
6823
|
+
}
|
|
6517
6824
|
if (obj.externalStorageName !== undefined) {
|
|
6518
6825
|
const obj_externalStorageName = obj.externalStorageName;
|
|
6519
6826
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -6547,6 +6854,13 @@ function validate$t(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
6547
6854
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
6548
6855
|
}
|
|
6549
6856
|
}
|
|
6857
|
+
if (obj.isQueryable !== undefined) {
|
|
6858
|
+
const obj_isQueryable = obj.isQueryable;
|
|
6859
|
+
const path_isQueryable = path + '.isQueryable';
|
|
6860
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
6861
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
6862
|
+
}
|
|
6863
|
+
}
|
|
6550
6864
|
if (obj.isSystemDefinition !== undefined) {
|
|
6551
6865
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
6552
6866
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -6635,7 +6949,7 @@ function validate$t(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
6635
6949
|
return v_error === undefined ? null : v_error;
|
|
6636
6950
|
}
|
|
6637
6951
|
|
|
6638
|
-
const VERSION$j = "
|
|
6952
|
+
const VERSION$j = "7804fea5e1a3894ad9c1e89a2ce17ab9";
|
|
6639
6953
|
function validate$s(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
6640
6954
|
const v_error = (() => {
|
|
6641
6955
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -6714,7 +7028,7 @@ function validate$s(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
6714
7028
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
6715
7029
|
const obj_filters_item = obj_filters[i];
|
|
6716
7030
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
6717
|
-
const referencepath_filters_itemValidationError = validate$
|
|
7031
|
+
const referencepath_filters_itemValidationError = validate$19(obj_filters_item, path_filters_item);
|
|
6718
7032
|
if (referencepath_filters_itemValidationError !== null) {
|
|
6719
7033
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
6720
7034
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6727,6 +7041,13 @@ function validate$s(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
6727
7041
|
if (typeof obj_id !== 'string') {
|
|
6728
7042
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
6729
7043
|
}
|
|
7044
|
+
if (obj.isQueryable !== undefined) {
|
|
7045
|
+
const obj_isQueryable = obj.isQueryable;
|
|
7046
|
+
const path_isQueryable = path + '.isQueryable';
|
|
7047
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
7048
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
7049
|
+
}
|
|
7050
|
+
}
|
|
6730
7051
|
if (obj.isSystemDefinition !== undefined) {
|
|
6731
7052
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
6732
7053
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -7168,7 +7489,7 @@ function equals$f(existing, incoming) {
|
|
|
7168
7489
|
return true;
|
|
7169
7490
|
}
|
|
7170
7491
|
|
|
7171
|
-
const VERSION$e = "
|
|
7492
|
+
const VERSION$e = "781f9dcf8c74d2f32cce84d91cf9e6af";
|
|
7172
7493
|
function validate$n(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
7173
7494
|
const v_error = (() => {
|
|
7174
7495
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -7218,9 +7539,16 @@ function validate$n(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
7218
7539
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
7219
7540
|
}
|
|
7220
7541
|
}
|
|
7542
|
+
if (obj.externalDataType !== undefined) {
|
|
7543
|
+
const obj_externalDataType = obj.externalDataType;
|
|
7544
|
+
const path_externalDataType = path + '.externalDataType';
|
|
7545
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
7546
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
7547
|
+
}
|
|
7548
|
+
}
|
|
7221
7549
|
const obj_fieldReference = obj.fieldReference;
|
|
7222
7550
|
const path_fieldReference = path + '.fieldReference';
|
|
7223
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
7551
|
+
const referencepath_fieldReferenceValidationError = validate$1a(obj_fieldReference, path_fieldReference);
|
|
7224
7552
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
7225
7553
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
7226
7554
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7231,6 +7559,13 @@ function validate$n(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
7231
7559
|
if (typeof obj_id !== 'string') {
|
|
7232
7560
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
7233
7561
|
}
|
|
7562
|
+
if (obj.isQueryable !== undefined) {
|
|
7563
|
+
const obj_isQueryable = obj.isQueryable;
|
|
7564
|
+
const path_isQueryable = path + '.isQueryable';
|
|
7565
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
7566
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
7567
|
+
}
|
|
7568
|
+
}
|
|
7234
7569
|
if (obj.isSystemDefinition !== undefined) {
|
|
7235
7570
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
7236
7571
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -7289,7 +7624,7 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
|
7289
7624
|
}
|
|
7290
7625
|
const select$t = function SemanticGroupingOutputRepresentationSelect() {
|
|
7291
7626
|
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$u();
|
|
7292
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
7627
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$Q();
|
|
7293
7628
|
return {
|
|
7294
7629
|
kind: 'Fragment',
|
|
7295
7630
|
version: VERSION$e,
|
|
@@ -7327,6 +7662,11 @@ const select$t = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
7327
7662
|
kind: 'Scalar',
|
|
7328
7663
|
required: false
|
|
7329
7664
|
},
|
|
7665
|
+
{
|
|
7666
|
+
name: 'externalDataType',
|
|
7667
|
+
kind: 'Scalar',
|
|
7668
|
+
required: false
|
|
7669
|
+
},
|
|
7330
7670
|
{
|
|
7331
7671
|
name: 'fieldReference',
|
|
7332
7672
|
kind: 'Object',
|
|
@@ -7336,6 +7676,11 @@ const select$t = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
7336
7676
|
name: 'id',
|
|
7337
7677
|
kind: 'Scalar'
|
|
7338
7678
|
},
|
|
7679
|
+
{
|
|
7680
|
+
name: 'isQueryable',
|
|
7681
|
+
kind: 'Scalar',
|
|
7682
|
+
required: false
|
|
7683
|
+
},
|
|
7339
7684
|
{
|
|
7340
7685
|
name: 'isSystemDefinition',
|
|
7341
7686
|
kind: 'Scalar',
|
|
@@ -7449,11 +7794,37 @@ function equals$e(existing, incoming) {
|
|
|
7449
7794
|
return false;
|
|
7450
7795
|
}
|
|
7451
7796
|
}
|
|
7797
|
+
const existing_externalDataType = existing.externalDataType;
|
|
7798
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
7799
|
+
// if at least one of these optionals is defined
|
|
7800
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
7801
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7802
|
+
// not equal
|
|
7803
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
7804
|
+
return false;
|
|
7805
|
+
}
|
|
7806
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
7807
|
+
return false;
|
|
7808
|
+
}
|
|
7809
|
+
}
|
|
7452
7810
|
const existing_id = existing.id;
|
|
7453
7811
|
const incoming_id = incoming.id;
|
|
7454
7812
|
if (!(existing_id === incoming_id)) {
|
|
7455
7813
|
return false;
|
|
7456
7814
|
}
|
|
7815
|
+
const existing_isQueryable = existing.isQueryable;
|
|
7816
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
7817
|
+
// if at least one of these optionals is defined
|
|
7818
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
7819
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7820
|
+
// not equal
|
|
7821
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
7822
|
+
return false;
|
|
7823
|
+
}
|
|
7824
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
7825
|
+
return false;
|
|
7826
|
+
}
|
|
7827
|
+
}
|
|
7457
7828
|
const existing_label = existing.label;
|
|
7458
7829
|
const incoming_label = incoming.label;
|
|
7459
7830
|
// if at least one of these optionals is defined
|
|
@@ -7505,7 +7876,7 @@ function equals$e(existing, incoming) {
|
|
|
7505
7876
|
}
|
|
7506
7877
|
const existing_fieldReference = existing.fieldReference;
|
|
7507
7878
|
const incoming_fieldReference = incoming.fieldReference;
|
|
7508
|
-
if (!(equals$
|
|
7879
|
+
if (!(equals$z(existing_fieldReference, incoming_fieldReference))) {
|
|
7509
7880
|
return false;
|
|
7510
7881
|
}
|
|
7511
7882
|
return true;
|
|
@@ -7679,7 +8050,7 @@ function equals$d(existing, incoming) {
|
|
|
7679
8050
|
return true;
|
|
7680
8051
|
}
|
|
7681
8052
|
|
|
7682
|
-
const VERSION$c = "
|
|
8053
|
+
const VERSION$c = "b54e564b71d26e8ac89b5649db876f6f";
|
|
7683
8054
|
function validate$l(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
7684
8055
|
const v_error = (() => {
|
|
7685
8056
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -7757,6 +8128,13 @@ function validate$l(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
7757
8128
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isEnabled + '" (at "' + path_isEnabled + '")');
|
|
7758
8129
|
}
|
|
7759
8130
|
}
|
|
8131
|
+
if (obj.isQueryable !== undefined) {
|
|
8132
|
+
const obj_isQueryable = obj.isQueryable;
|
|
8133
|
+
const path_isQueryable = path + '.isQueryable';
|
|
8134
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
8135
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
8136
|
+
}
|
|
8137
|
+
}
|
|
7760
8138
|
if (obj.isSystemDefinition !== undefined) {
|
|
7761
8139
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
7762
8140
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -7891,6 +8269,11 @@ const select$r = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
7891
8269
|
kind: 'Scalar',
|
|
7892
8270
|
required: false
|
|
7893
8271
|
},
|
|
8272
|
+
{
|
|
8273
|
+
name: 'isQueryable',
|
|
8274
|
+
kind: 'Scalar',
|
|
8275
|
+
required: false
|
|
8276
|
+
},
|
|
7894
8277
|
{
|
|
7895
8278
|
name: 'isSystemDefinition',
|
|
7896
8279
|
kind: 'Scalar',
|
|
@@ -8051,6 +8434,19 @@ function equals$c(existing, incoming) {
|
|
|
8051
8434
|
if (!(existing_id === incoming_id)) {
|
|
8052
8435
|
return false;
|
|
8053
8436
|
}
|
|
8437
|
+
const existing_isQueryable = existing.isQueryable;
|
|
8438
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
8439
|
+
// if at least one of these optionals is defined
|
|
8440
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
8441
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8442
|
+
// not equal
|
|
8443
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
8444
|
+
return false;
|
|
8445
|
+
}
|
|
8446
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
8447
|
+
return false;
|
|
8448
|
+
}
|
|
8449
|
+
}
|
|
8054
8450
|
const existing_joinType = existing.joinType;
|
|
8055
8451
|
const incoming_joinType = incoming.joinType;
|
|
8056
8452
|
// if at least one of these optionals is defined
|
|
@@ -8184,7 +8580,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8184
8580
|
});
|
|
8185
8581
|
}
|
|
8186
8582
|
|
|
8187
|
-
const VERSION$b = "
|
|
8583
|
+
const VERSION$b = "35088fced8f6d5a9595954736caf0ea9";
|
|
8188
8584
|
function validate$k(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
8189
8585
|
const v_error = (() => {
|
|
8190
8586
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8235,7 +8631,7 @@ function validate$k(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
8235
8631
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
8236
8632
|
const obj_fields_item = obj_fields[i];
|
|
8237
8633
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
8238
|
-
const referencepath_fields_itemValidationError = validate$
|
|
8634
|
+
const referencepath_fields_itemValidationError = validate$1b(obj_fields_item, path_fields_item);
|
|
8239
8635
|
if (referencepath_fields_itemValidationError !== null) {
|
|
8240
8636
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
8241
8637
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8248,6 +8644,13 @@ function validate$k(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
8248
8644
|
if (typeof obj_id !== 'string') {
|
|
8249
8645
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8250
8646
|
}
|
|
8647
|
+
if (obj.isQueryable !== undefined) {
|
|
8648
|
+
const obj_isQueryable = obj.isQueryable;
|
|
8649
|
+
const path_isQueryable = path + '.isQueryable';
|
|
8650
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
8651
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
8652
|
+
}
|
|
8653
|
+
}
|
|
8251
8654
|
if (obj.isSystemDefinition !== undefined) {
|
|
8252
8655
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
8253
8656
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -8362,7 +8765,7 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8362
8765
|
});
|
|
8363
8766
|
}
|
|
8364
8767
|
|
|
8365
|
-
const VERSION$a = "
|
|
8768
|
+
const VERSION$a = "98b8b40b3bc74aaa0644e303d378db60";
|
|
8366
8769
|
function validate$j(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
8367
8770
|
const v_error = (() => {
|
|
8368
8771
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8409,6 +8812,13 @@ function validate$j(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
|
8409
8812
|
if (typeof obj_id !== 'string') {
|
|
8410
8813
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8411
8814
|
}
|
|
8815
|
+
if (obj.isQueryable !== undefined) {
|
|
8816
|
+
const obj_isQueryable = obj.isQueryable;
|
|
8817
|
+
const path_isQueryable = path + '.isQueryable';
|
|
8818
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
8819
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
8820
|
+
}
|
|
8821
|
+
}
|
|
8412
8822
|
if (obj.label !== undefined) {
|
|
8413
8823
|
const obj_label = obj.label;
|
|
8414
8824
|
const path_label = path + '.label';
|
|
@@ -8575,6 +8985,11 @@ const select$p = function SemanticUnionOutputRepresentationSelect() {
|
|
|
8575
8985
|
name: 'id',
|
|
8576
8986
|
kind: 'Scalar'
|
|
8577
8987
|
},
|
|
8988
|
+
{
|
|
8989
|
+
name: 'isQueryable',
|
|
8990
|
+
kind: 'Scalar',
|
|
8991
|
+
required: false
|
|
8992
|
+
},
|
|
8578
8993
|
{
|
|
8579
8994
|
name: 'label',
|
|
8580
8995
|
kind: 'Scalar',
|
|
@@ -8672,6 +9087,19 @@ function equals$a(existing, incoming) {
|
|
|
8672
9087
|
if (!(existing_id === incoming_id)) {
|
|
8673
9088
|
return false;
|
|
8674
9089
|
}
|
|
9090
|
+
const existing_isQueryable = existing.isQueryable;
|
|
9091
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
9092
|
+
// if at least one of these optionals is defined
|
|
9093
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
9094
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9095
|
+
// not equal
|
|
9096
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
9097
|
+
return false;
|
|
9098
|
+
}
|
|
9099
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
9100
|
+
return false;
|
|
9101
|
+
}
|
|
9102
|
+
}
|
|
8675
9103
|
const existing_label = existing.label;
|
|
8676
9104
|
const incoming_label = incoming.label;
|
|
8677
9105
|
// if at least one of these optionals is defined
|
|
@@ -8796,7 +9224,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8796
9224
|
}
|
|
8797
9225
|
}
|
|
8798
9226
|
|
|
8799
|
-
const VERSION$9 = "
|
|
9227
|
+
const VERSION$9 = "deed87abd43631c27a6067ac00a1a018";
|
|
8800
9228
|
function validate$i(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
8801
9229
|
const v_error = (() => {
|
|
8802
9230
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8861,7 +9289,7 @@ function validate$i(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
8861
9289
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
8862
9290
|
const obj_filters_item = obj_filters[i];
|
|
8863
9291
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
8864
|
-
const referencepath_filters_itemValidationError = validate$
|
|
9292
|
+
const referencepath_filters_itemValidationError = validate$19(obj_filters_item, path_filters_item);
|
|
8865
9293
|
if (referencepath_filters_itemValidationError !== null) {
|
|
8866
9294
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
8867
9295
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8874,6 +9302,13 @@ function validate$i(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
8874
9302
|
if (typeof obj_id !== 'string') {
|
|
8875
9303
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8876
9304
|
}
|
|
9305
|
+
if (obj.isQueryable !== undefined) {
|
|
9306
|
+
const obj_isQueryable = obj.isQueryable;
|
|
9307
|
+
const path_isQueryable = path + '.isQueryable';
|
|
9308
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
9309
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
9310
|
+
}
|
|
9311
|
+
}
|
|
8877
9312
|
if (obj.isSystemDefinition !== undefined) {
|
|
8878
9313
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
8879
9314
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -9043,7 +9478,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
9043
9478
|
return input;
|
|
9044
9479
|
}
|
|
9045
9480
|
const select$o = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
9046
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
9481
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$P();
|
|
9047
9482
|
return {
|
|
9048
9483
|
kind: 'Fragment',
|
|
9049
9484
|
version: VERSION$9,
|
|
@@ -9097,6 +9532,11 @@ const select$o = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
9097
9532
|
name: 'id',
|
|
9098
9533
|
kind: 'Scalar'
|
|
9099
9534
|
},
|
|
9535
|
+
{
|
|
9536
|
+
name: 'isQueryable',
|
|
9537
|
+
kind: 'Scalar',
|
|
9538
|
+
required: false
|
|
9539
|
+
},
|
|
9100
9540
|
{
|
|
9101
9541
|
name: 'isSystemDefinition',
|
|
9102
9542
|
kind: 'Scalar',
|
|
@@ -9273,6 +9713,19 @@ function equals$9(existing, incoming) {
|
|
|
9273
9713
|
if (!(existing_id === incoming_id)) {
|
|
9274
9714
|
return false;
|
|
9275
9715
|
}
|
|
9716
|
+
const existing_isQueryable = existing.isQueryable;
|
|
9717
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
9718
|
+
// if at least one of these optionals is defined
|
|
9719
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
9720
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9721
|
+
// not equal
|
|
9722
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
9723
|
+
return false;
|
|
9724
|
+
}
|
|
9725
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
9726
|
+
return false;
|
|
9727
|
+
}
|
|
9728
|
+
}
|
|
9276
9729
|
const existing_label = existing.label;
|
|
9277
9730
|
const incoming_label = incoming.label;
|
|
9278
9731
|
// if at least one of these optionals is defined
|
|
@@ -9361,7 +9814,7 @@ function equals$9(existing, incoming) {
|
|
|
9361
9814
|
return false;
|
|
9362
9815
|
}
|
|
9363
9816
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
9364
|
-
if (!(equals$
|
|
9817
|
+
if (!(equals$y(existing_filters_item, incoming_filters_item))) {
|
|
9365
9818
|
return false;
|
|
9366
9819
|
}
|
|
9367
9820
|
});
|
|
@@ -9537,7 +9990,7 @@ function equals$8(existing, incoming) {
|
|
|
9537
9990
|
return true;
|
|
9538
9991
|
}
|
|
9539
9992
|
|
|
9540
|
-
const VERSION$7 = "
|
|
9993
|
+
const VERSION$7 = "9c342600b8e3532a417118e4e7055032";
|
|
9541
9994
|
function validate$g(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
9542
9995
|
const v_error = (() => {
|
|
9543
9996
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9610,11 +10063,25 @@ function validate$g(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
9610
10063
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
9611
10064
|
}
|
|
9612
10065
|
}
|
|
10066
|
+
if (obj.externalDataType !== undefined) {
|
|
10067
|
+
const obj_externalDataType = obj.externalDataType;
|
|
10068
|
+
const path_externalDataType = path + '.externalDataType';
|
|
10069
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
10070
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
10071
|
+
}
|
|
10072
|
+
}
|
|
9613
10073
|
const obj_id = obj.id;
|
|
9614
10074
|
const path_id = path + '.id';
|
|
9615
10075
|
if (typeof obj_id !== 'string') {
|
|
9616
10076
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
9617
10077
|
}
|
|
10078
|
+
if (obj.isQueryable !== undefined) {
|
|
10079
|
+
const obj_isQueryable = obj.isQueryable;
|
|
10080
|
+
const path_isQueryable = path + '.isQueryable';
|
|
10081
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
10082
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
10083
|
+
}
|
|
10084
|
+
}
|
|
9618
10085
|
if (obj.isSystemDefinition !== undefined) {
|
|
9619
10086
|
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
9620
10087
|
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
@@ -9759,10 +10226,20 @@ const select$m = function SemanticParameterOutputRepresentationSelect() {
|
|
|
9759
10226
|
kind: 'Scalar',
|
|
9760
10227
|
required: false
|
|
9761
10228
|
},
|
|
10229
|
+
{
|
|
10230
|
+
name: 'externalDataType',
|
|
10231
|
+
kind: 'Scalar',
|
|
10232
|
+
required: false
|
|
10233
|
+
},
|
|
9762
10234
|
{
|
|
9763
10235
|
name: 'id',
|
|
9764
10236
|
kind: 'Scalar'
|
|
9765
10237
|
},
|
|
10238
|
+
{
|
|
10239
|
+
name: 'isQueryable',
|
|
10240
|
+
kind: 'Scalar',
|
|
10241
|
+
required: false
|
|
10242
|
+
},
|
|
9766
10243
|
{
|
|
9767
10244
|
name: 'isSystemDefinition',
|
|
9768
10245
|
kind: 'Scalar',
|
|
@@ -9924,11 +10401,37 @@ function equals$7(existing, incoming) {
|
|
|
9924
10401
|
return false;
|
|
9925
10402
|
}
|
|
9926
10403
|
}
|
|
10404
|
+
const existing_externalDataType = existing.externalDataType;
|
|
10405
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
10406
|
+
// if at least one of these optionals is defined
|
|
10407
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
10408
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10409
|
+
// not equal
|
|
10410
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
10411
|
+
return false;
|
|
10412
|
+
}
|
|
10413
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
10414
|
+
return false;
|
|
10415
|
+
}
|
|
10416
|
+
}
|
|
9927
10417
|
const existing_id = existing.id;
|
|
9928
10418
|
const incoming_id = incoming.id;
|
|
9929
10419
|
if (!(existing_id === incoming_id)) {
|
|
9930
10420
|
return false;
|
|
9931
10421
|
}
|
|
10422
|
+
const existing_isQueryable = existing.isQueryable;
|
|
10423
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
10424
|
+
// if at least one of these optionals is defined
|
|
10425
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
10426
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10427
|
+
// not equal
|
|
10428
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
10429
|
+
return false;
|
|
10430
|
+
}
|
|
10431
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
10432
|
+
return false;
|
|
10433
|
+
}
|
|
10434
|
+
}
|
|
9932
10435
|
const existing_label = existing.label;
|
|
9933
10436
|
const incoming_label = incoming.label;
|
|
9934
10437
|
// if at least one of these optionals is defined
|
|
@@ -10080,7 +10583,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10080
10583
|
});
|
|
10081
10584
|
}
|
|
10082
10585
|
|
|
10083
|
-
const VERSION$6 = "
|
|
10586
|
+
const VERSION$6 = "56b6e81346b63674fb571a55fe7128bc";
|
|
10084
10587
|
function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
10085
10588
|
const v_error = (() => {
|
|
10086
10589
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -10114,7 +10617,7 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
10114
10617
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
10115
10618
|
const obj_baseModels_item = obj_baseModels[i];
|
|
10116
10619
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
10117
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
10620
|
+
const referencepath_baseModels_itemValidationError = validate$12(obj_baseModels_item, path_baseModels_item);
|
|
10118
10621
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
10119
10622
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
10120
10623
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10211,6 +10714,20 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
10211
10714
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
10212
10715
|
}
|
|
10213
10716
|
}
|
|
10717
|
+
if (obj.isPartialSdm !== undefined) {
|
|
10718
|
+
const obj_isPartialSdm = obj.isPartialSdm;
|
|
10719
|
+
const path_isPartialSdm = path + '.isPartialSdm';
|
|
10720
|
+
if (typeof obj_isPartialSdm !== 'boolean') {
|
|
10721
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isPartialSdm + '" (at "' + path_isPartialSdm + '")');
|
|
10722
|
+
}
|
|
10723
|
+
}
|
|
10724
|
+
if (obj.isQueryable !== undefined) {
|
|
10725
|
+
const obj_isQueryable = obj.isQueryable;
|
|
10726
|
+
const path_isQueryable = path + '.isQueryable';
|
|
10727
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
10728
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
10729
|
+
}
|
|
10730
|
+
}
|
|
10214
10731
|
if (obj.label !== undefined) {
|
|
10215
10732
|
const obj_label = obj.label;
|
|
10216
10733
|
const path_label = path + '.label';
|
|
@@ -10669,6 +11186,16 @@ const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
|
10669
11186
|
kind: 'Scalar',
|
|
10670
11187
|
required: false
|
|
10671
11188
|
},
|
|
11189
|
+
{
|
|
11190
|
+
name: 'isPartialSdm',
|
|
11191
|
+
kind: 'Scalar',
|
|
11192
|
+
required: false
|
|
11193
|
+
},
|
|
11194
|
+
{
|
|
11195
|
+
name: 'isQueryable',
|
|
11196
|
+
kind: 'Scalar',
|
|
11197
|
+
required: false
|
|
11198
|
+
},
|
|
10672
11199
|
{
|
|
10673
11200
|
name: 'label',
|
|
10674
11201
|
kind: 'Scalar',
|
|
@@ -10802,6 +11329,19 @@ function equals$6(existing, incoming) {
|
|
|
10802
11329
|
return false;
|
|
10803
11330
|
}
|
|
10804
11331
|
}
|
|
11332
|
+
const existing_isPartialSdm = existing.isPartialSdm;
|
|
11333
|
+
const incoming_isPartialSdm = incoming.isPartialSdm;
|
|
11334
|
+
// if at least one of these optionals is defined
|
|
11335
|
+
if (existing_isPartialSdm !== undefined || incoming_isPartialSdm !== undefined) {
|
|
11336
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
11337
|
+
// not equal
|
|
11338
|
+
if (existing_isPartialSdm === undefined || incoming_isPartialSdm === undefined) {
|
|
11339
|
+
return false;
|
|
11340
|
+
}
|
|
11341
|
+
if (!(existing_isPartialSdm === incoming_isPartialSdm)) {
|
|
11342
|
+
return false;
|
|
11343
|
+
}
|
|
11344
|
+
}
|
|
10805
11345
|
const existing_apiName = existing.apiName;
|
|
10806
11346
|
const incoming_apiName = incoming.apiName;
|
|
10807
11347
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -10879,6 +11419,19 @@ function equals$6(existing, incoming) {
|
|
|
10879
11419
|
if (!(existing_id === incoming_id)) {
|
|
10880
11420
|
return false;
|
|
10881
11421
|
}
|
|
11422
|
+
const existing_isQueryable = existing.isQueryable;
|
|
11423
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
11424
|
+
// if at least one of these optionals is defined
|
|
11425
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
11426
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
11427
|
+
// not equal
|
|
11428
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
11429
|
+
return false;
|
|
11430
|
+
}
|
|
11431
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
11432
|
+
return false;
|
|
11433
|
+
}
|
|
11434
|
+
}
|
|
10882
11435
|
const existing_label = existing.label;
|
|
10883
11436
|
const incoming_label = incoming.label;
|
|
10884
11437
|
// if at least one of these optionals is defined
|
|
@@ -11393,7 +11946,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11393
11946
|
const untrustedConfig_baseModels_array = [];
|
|
11394
11947
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
11395
11948
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
11396
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
11949
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
|
|
11397
11950
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
11398
11951
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
11399
11952
|
}
|
|
@@ -11405,7 +11958,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11405
11958
|
const untrustedConfig_externalConnections_array = [];
|
|
11406
11959
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
11407
11960
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
11408
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
11961
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$Z(untrustedConfig_externalConnections_item);
|
|
11409
11962
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
11410
11963
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
11411
11964
|
}
|
|
@@ -11417,7 +11970,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11417
11970
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
11418
11971
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
11419
11972
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
11420
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
11973
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$Y(untrustedConfig_fieldsOverrides_item);
|
|
11421
11974
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
11422
11975
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
11423
11976
|
}
|
|
@@ -11429,7 +11982,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11429
11982
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
11430
11983
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
11431
11984
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
11432
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
11985
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$W(untrustedConfig_semanticCalculatedDimensions_item);
|
|
11433
11986
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
11434
11987
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
11435
11988
|
}
|
|
@@ -11441,7 +11994,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11441
11994
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
11442
11995
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
11443
11996
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
11444
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
11997
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
11445
11998
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
11446
11999
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
11447
12000
|
}
|
|
@@ -11453,7 +12006,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11453
12006
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
11454
12007
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
11455
12008
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
11456
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
12009
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$S(untrustedConfig_semanticDataObjects_item);
|
|
11457
12010
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
11458
12011
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
11459
12012
|
}
|
|
@@ -11465,7 +12018,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11465
12018
|
const untrustedConfig_semanticGroupings_array = [];
|
|
11466
12019
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
11467
12020
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
11468
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
12021
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$L(untrustedConfig_semanticGroupings_item);
|
|
11469
12022
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
11470
12023
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
11471
12024
|
}
|
|
@@ -11477,7 +12030,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11477
12030
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
11478
12031
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
11479
12032
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
11480
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
12033
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$G(untrustedConfig_semanticLogicalViews_item);
|
|
11481
12034
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
11482
12035
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
11483
12036
|
}
|
|
@@ -11513,7 +12066,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11513
12066
|
const untrustedConfig_semanticRelationships_array = [];
|
|
11514
12067
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
11515
12068
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
11516
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
12069
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$J(untrustedConfig_semanticRelationships_item);
|
|
11517
12070
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
11518
12071
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
11519
12072
|
}
|
|
@@ -11616,6 +12169,7 @@ const adapterName$g = 'getSemanticModel';
|
|
|
11616
12169
|
const getSemanticModel_ConfigPropertyMetadata = [
|
|
11617
12170
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
11618
12171
|
generateParamConfigMetadata('fieldName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
12172
|
+
generateParamConfigMetadata('fineGrainSecurity', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
11619
12173
|
generateParamConfigMetadata('includeModelContent', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
11620
12174
|
generateParamConfigMetadata('includeTableKeys', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
11621
12175
|
];
|
|
@@ -11772,7 +12326,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11772
12326
|
const untrustedConfig_baseModels_array = [];
|
|
11773
12327
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
11774
12328
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
11775
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
12329
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
|
|
11776
12330
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
11777
12331
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
11778
12332
|
}
|
|
@@ -11784,7 +12338,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11784
12338
|
const untrustedConfig_externalConnections_array = [];
|
|
11785
12339
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
11786
12340
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
11787
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
12341
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$Z(untrustedConfig_externalConnections_item);
|
|
11788
12342
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
11789
12343
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
11790
12344
|
}
|
|
@@ -11796,7 +12350,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11796
12350
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
11797
12351
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
11798
12352
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
11799
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
12353
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$Y(untrustedConfig_fieldsOverrides_item);
|
|
11800
12354
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
11801
12355
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
11802
12356
|
}
|
|
@@ -11808,7 +12362,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11808
12362
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
11809
12363
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
11810
12364
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
11811
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
12365
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$W(untrustedConfig_semanticCalculatedDimensions_item);
|
|
11812
12366
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
11813
12367
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
11814
12368
|
}
|
|
@@ -11820,7 +12374,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11820
12374
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
11821
12375
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
11822
12376
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
11823
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
12377
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
11824
12378
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
11825
12379
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
11826
12380
|
}
|
|
@@ -11832,7 +12386,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11832
12386
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
11833
12387
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
11834
12388
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
11835
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
12389
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$S(untrustedConfig_semanticDataObjects_item);
|
|
11836
12390
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
11837
12391
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
11838
12392
|
}
|
|
@@ -11844,7 +12398,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11844
12398
|
const untrustedConfig_semanticGroupings_array = [];
|
|
11845
12399
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
11846
12400
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
11847
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
12401
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$L(untrustedConfig_semanticGroupings_item);
|
|
11848
12402
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
11849
12403
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
11850
12404
|
}
|
|
@@ -11856,7 +12410,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11856
12410
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
11857
12411
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
11858
12412
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
11859
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
12413
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$G(untrustedConfig_semanticLogicalViews_item);
|
|
11860
12414
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
11861
12415
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
11862
12416
|
}
|
|
@@ -11892,7 +12446,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11892
12446
|
const untrustedConfig_semanticRelationships_array = [];
|
|
11893
12447
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
11894
12448
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
11895
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
12449
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$J(untrustedConfig_semanticRelationships_item);
|
|
11896
12450
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
11897
12451
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
11898
12452
|
}
|
|
@@ -12246,7 +12800,7 @@ function validate$b(obj, path = 'SemanticGoalStatusConditionOutputRepresentation
|
|
|
12246
12800
|
return v_error === undefined ? null : v_error;
|
|
12247
12801
|
}
|
|
12248
12802
|
|
|
12249
|
-
const VERSION$4 = "
|
|
12803
|
+
const VERSION$4 = "8ade9728ba6d188b7fa9237cf944576e";
|
|
12250
12804
|
function validate$a(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
12251
12805
|
const v_error = (() => {
|
|
12252
12806
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -12306,6 +12860,13 @@ function validate$a(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
|
12306
12860
|
if (typeof obj_id !== 'string') {
|
|
12307
12861
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
12308
12862
|
}
|
|
12863
|
+
if (obj.isQueryable !== undefined) {
|
|
12864
|
+
const obj_isQueryable = obj.isQueryable;
|
|
12865
|
+
const path_isQueryable = path + '.isQueryable';
|
|
12866
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
12867
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
12868
|
+
}
|
|
12869
|
+
}
|
|
12309
12870
|
if (obj.label !== undefined) {
|
|
12310
12871
|
const obj_label = obj.label;
|
|
12311
12872
|
const path_label = path + '.label';
|
|
@@ -12993,7 +13554,7 @@ function validate$6(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
|
12993
13554
|
return v_error === undefined ? null : v_error;
|
|
12994
13555
|
}
|
|
12995
13556
|
|
|
12996
|
-
const VERSION$3 = "
|
|
13557
|
+
const VERSION$3 = "aa72fa1a282334d9eedca9b6500fb0d9";
|
|
12997
13558
|
function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
12998
13559
|
const v_error = (() => {
|
|
12999
13560
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -13051,7 +13612,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
13051
13612
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
13052
13613
|
const obj_filters_item = obj_filters[i];
|
|
13053
13614
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
13054
|
-
const referencepath_filters_itemValidationError = validate$
|
|
13615
|
+
const referencepath_filters_itemValidationError = validate$19(obj_filters_item, path_filters_item);
|
|
13055
13616
|
if (referencepath_filters_itemValidationError !== null) {
|
|
13056
13617
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
13057
13618
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13074,6 +13635,13 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
13074
13635
|
if (typeof obj_id !== 'string') {
|
|
13075
13636
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
13076
13637
|
}
|
|
13638
|
+
if (obj.isQueryable !== undefined) {
|
|
13639
|
+
const obj_isQueryable = obj.isQueryable;
|
|
13640
|
+
const path_isQueryable = path + '.isQueryable';
|
|
13641
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
13642
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
13643
|
+
}
|
|
13644
|
+
}
|
|
13077
13645
|
if (obj.label !== undefined) {
|
|
13078
13646
|
const obj_label = obj.label;
|
|
13079
13647
|
const path_label = path + '.label';
|
|
@@ -13105,7 +13673,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
13105
13673
|
if (obj.semanticMetric !== undefined) {
|
|
13106
13674
|
const obj_semanticMetric = obj.semanticMetric;
|
|
13107
13675
|
const path_semanticMetric = path + '.semanticMetric';
|
|
13108
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
13676
|
+
const referencepath_semanticMetricValidationError = validate$14(obj_semanticMetric, path_semanticMetric);
|
|
13109
13677
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
13110
13678
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
13111
13679
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14183,7 +14751,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
14183
14751
|
const untrustedConfig_filters_array = [];
|
|
14184
14752
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
14185
14753
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
14186
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
14754
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$X(untrustedConfig_filters_item);
|
|
14187
14755
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
14188
14756
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
14189
14757
|
}
|