@salesforce/lds-adapters-cdp-semantic-authoring 1.351.1 → 1.353.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cdp-semantic-authoring.js +1074 -207
- package/dist/es/es2018/types/src/generated/adapters/createSemanticModel.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/adapters/patchSemanticModel.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsByModelApiNameOrId.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModels.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsCalculatedDimensionsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsCalculatedMeasurementsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsDataObjectsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsByModelApiNameOrId.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedDimensionsByCalculatedDimensionNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedDimensionsConvertToMeasurementByCalculatedDimensionNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedMeasurementsByCalculatedMeasurementNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedMeasurementsConvertToDimensionByCalculatedMeasurementNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsByDataObjectNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +13 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +13 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDataObjectInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDataObjectOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewPartialInputRepresentation.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/SemanticModelExternalConnectionInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelInputRepresentation.d.ts +9 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +9 -1
- package/package.json +3 -3
- package/sfdc/index.js +983 -116
- package/src/raml/api.raml +250 -2
package/sfdc/index.js
CHANGED
|
@@ -102,7 +102,7 @@ function createLink(ref) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
function validate$
|
|
105
|
+
function validate$1a(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
|
|
106
106
|
const v_error = (() => {
|
|
107
107
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
108
108
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -125,7 +125,7 @@ function validate$14(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
|
|
|
125
125
|
return v_error === undefined ? null : v_error;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
function validate$
|
|
128
|
+
function validate$19(obj, path = 'SemanticGoalStatusConditionInputRepresentation') {
|
|
129
129
|
const v_error = (() => {
|
|
130
130
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
131
131
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -176,7 +176,7 @@ function validate$13(obj, path = 'SemanticGoalStatusConditionInputRepresentation
|
|
|
176
176
|
return v_error === undefined ? null : v_error;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
function validate$
|
|
179
|
+
function validate$18(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
|
|
180
180
|
const v_error = (() => {
|
|
181
181
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
182
182
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -195,7 +195,7 @@ function validate$12(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
|
|
|
195
195
|
return v_error === undefined ? null : v_error;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
function validate$
|
|
198
|
+
function validate$17(obj, path = 'SemanticGoalStatusConditionOutputRepresentation') {
|
|
199
199
|
const v_error = (() => {
|
|
200
200
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
201
201
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -236,8 +236,8 @@ function validate$11(obj, path = 'SemanticGoalStatusConditionOutputRepresentatio
|
|
|
236
236
|
return v_error === undefined ? null : v_error;
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
const VERSION$
|
|
240
|
-
function validate$
|
|
239
|
+
const VERSION$B = "a6367e92be7c02cf72fcdd9bad3cf81d";
|
|
240
|
+
function validate$16(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
241
241
|
const v_error = (() => {
|
|
242
242
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
243
243
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -273,7 +273,7 @@ function validate$10(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
|
273
273
|
}
|
|
274
274
|
const obj_dateRange = obj.dateRange;
|
|
275
275
|
const path_dateRange = path + '.dateRange';
|
|
276
|
-
const referencepath_dateRangeValidationError = validate$
|
|
276
|
+
const referencepath_dateRangeValidationError = validate$18(obj_dateRange, path_dateRange);
|
|
277
277
|
if (referencepath_dateRangeValidationError !== null) {
|
|
278
278
|
let message = 'Object doesn\'t match SemanticGoalDateRangeOutputRepresentation (at "' + path_dateRange + '")\n';
|
|
279
279
|
message += referencepath_dateRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -325,7 +325,7 @@ function validate$10(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
|
325
325
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
326
326
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
327
327
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
328
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
328
|
+
const referencepath_statusConditions_itemValidationError = validate$17(obj_statusConditions_item, path_statusConditions_item);
|
|
329
329
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
330
330
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
331
331
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -355,15 +355,15 @@ function keyBuilderFromType$c(luvio, object) {
|
|
|
355
355
|
function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
356
356
|
return input;
|
|
357
357
|
}
|
|
358
|
-
const select$
|
|
358
|
+
const select$S = function SemanticGoalOutputRepresentationSelect() {
|
|
359
359
|
return {
|
|
360
360
|
kind: 'Fragment',
|
|
361
|
-
version: VERSION$
|
|
361
|
+
version: VERSION$B,
|
|
362
362
|
private: [],
|
|
363
363
|
opaque: true
|
|
364
364
|
};
|
|
365
365
|
};
|
|
366
|
-
function equals$
|
|
366
|
+
function equals$B(existing, incoming) {
|
|
367
367
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
368
368
|
return false;
|
|
369
369
|
}
|
|
@@ -371,14 +371,14 @@ function equals$y(existing, incoming) {
|
|
|
371
371
|
}
|
|
372
372
|
const ingest$i = function SemanticGoalOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
373
373
|
if (process.env.NODE_ENV !== 'production') {
|
|
374
|
-
const validateError = validate$
|
|
374
|
+
const validateError = validate$16(input);
|
|
375
375
|
if (validateError !== null) {
|
|
376
376
|
throw validateError;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
const key = keyBuilderFromType$c(luvio, input);
|
|
380
380
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
381
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$
|
|
381
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$B, RepresentationType$i, equals$B);
|
|
382
382
|
return createLink(key);
|
|
383
383
|
};
|
|
384
384
|
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -391,8 +391,8 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
391
391
|
});
|
|
392
392
|
}
|
|
393
393
|
|
|
394
|
-
function select$
|
|
395
|
-
return select$
|
|
394
|
+
function select$R(luvio, params) {
|
|
395
|
+
return select$S();
|
|
396
396
|
}
|
|
397
397
|
function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
|
|
398
398
|
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
@@ -403,7 +403,7 @@ function ingestSuccess$g(luvio, resourceParams, response) {
|
|
|
403
403
|
luvio.storeIngest(key, ingest$i, body);
|
|
404
404
|
const snapshot = luvio.storeLookup({
|
|
405
405
|
recordId: key,
|
|
406
|
-
node: select$
|
|
406
|
+
node: select$R(),
|
|
407
407
|
variables: {},
|
|
408
408
|
});
|
|
409
409
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -445,7 +445,7 @@ function typeCheckConfig$j(untrustedConfig) {
|
|
|
445
445
|
const config = {};
|
|
446
446
|
typeCheckConfig$k(untrustedConfig, config, createSemanticGoal_ConfigPropertyMetadata);
|
|
447
447
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
448
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
448
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$1a(untrustedConfig_dateRange);
|
|
449
449
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
450
450
|
config.dateRange = untrustedConfig_dateRange;
|
|
451
451
|
}
|
|
@@ -454,7 +454,7 @@ function typeCheckConfig$j(untrustedConfig) {
|
|
|
454
454
|
const untrustedConfig_statusConditions_array = [];
|
|
455
455
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
456
456
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
457
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
457
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$19(untrustedConfig_statusConditions_item);
|
|
458
458
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
459
459
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
460
460
|
}
|
|
@@ -505,7 +505,7 @@ const createSemanticGoalAdapterFactory = (luvio) => {
|
|
|
505
505
|
};
|
|
506
506
|
};
|
|
507
507
|
|
|
508
|
-
function validate
|
|
508
|
+
function validate$15(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
509
509
|
const v_error = (() => {
|
|
510
510
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
511
511
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -521,7 +521,102 @@ function validate$$(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
521
521
|
return v_error === undefined ? null : v_error;
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
function validate$
|
|
524
|
+
function validate$14(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation') {
|
|
525
|
+
const v_error = (() => {
|
|
526
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
527
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
528
|
+
}
|
|
529
|
+
const obj_dataSourceId = obj.dataSourceId;
|
|
530
|
+
const path_dataSourceId = path + '.dataSourceId';
|
|
531
|
+
if (typeof obj_dataSourceId !== 'string') {
|
|
532
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataSourceId + '" (at "' + path_dataSourceId + '")');
|
|
533
|
+
}
|
|
534
|
+
const obj_siteId = obj.siteId;
|
|
535
|
+
const path_siteId = path + '.siteId';
|
|
536
|
+
if (typeof obj_siteId !== 'string') {
|
|
537
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteId + '" (at "' + path_siteId + '")');
|
|
538
|
+
}
|
|
539
|
+
const obj_siteName = obj.siteName;
|
|
540
|
+
const path_siteName = path + '.siteName';
|
|
541
|
+
if (typeof obj_siteName !== 'string') {
|
|
542
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteName + '" (at "' + path_siteName + '")');
|
|
543
|
+
}
|
|
544
|
+
const obj_siteUrl = obj.siteUrl;
|
|
545
|
+
const path_siteUrl = path + '.siteUrl';
|
|
546
|
+
if (typeof obj_siteUrl !== 'string') {
|
|
547
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteUrl + '" (at "' + path_siteUrl + '")');
|
|
548
|
+
}
|
|
549
|
+
})();
|
|
550
|
+
return v_error === undefined ? null : v_error;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
function validate$13(obj, path = 'SemanticModelExternalConnectionInputRepresentation') {
|
|
554
|
+
const v_error = (() => {
|
|
555
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
556
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
557
|
+
}
|
|
558
|
+
const obj_apiName = obj.apiName;
|
|
559
|
+
const path_apiName = path + '.apiName';
|
|
560
|
+
if (typeof obj_apiName !== 'string') {
|
|
561
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
562
|
+
}
|
|
563
|
+
if (obj.label !== undefined) {
|
|
564
|
+
const obj_label = obj.label;
|
|
565
|
+
const path_label = path + '.label';
|
|
566
|
+
if (typeof obj_label !== 'string') {
|
|
567
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
if (obj.tableauPublishedDataSource !== undefined) {
|
|
571
|
+
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
572
|
+
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
573
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$14(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
574
|
+
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
575
|
+
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
576
|
+
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
577
|
+
return new TypeError(message);
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
const obj_type = obj.type;
|
|
581
|
+
const path_type = path + '.type';
|
|
582
|
+
if (typeof obj_type !== 'string') {
|
|
583
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
584
|
+
}
|
|
585
|
+
})();
|
|
586
|
+
return v_error === undefined ? null : v_error;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
function validate$12(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
590
|
+
const v_error = (() => {
|
|
591
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
592
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
593
|
+
}
|
|
594
|
+
if (obj.entityFqn !== undefined) {
|
|
595
|
+
const obj_entityFqn = obj.entityFqn;
|
|
596
|
+
const path_entityFqn = path + '.entityFqn';
|
|
597
|
+
if (typeof obj_entityFqn !== 'string') {
|
|
598
|
+
return new TypeError('Expected "string" but received "' + typeof obj_entityFqn + '" (at "' + path_entityFqn + '")');
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
if (obj.propertyName !== undefined) {
|
|
602
|
+
const obj_propertyName = obj.propertyName;
|
|
603
|
+
const path_propertyName = path + '.propertyName';
|
|
604
|
+
if (typeof obj_propertyName !== 'string') {
|
|
605
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyName + '" (at "' + path_propertyName + '")');
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
if (obj.propertyOverrideValue !== undefined) {
|
|
609
|
+
const obj_propertyOverrideValue = obj.propertyOverrideValue;
|
|
610
|
+
const path_propertyOverrideValue = path + '.propertyOverrideValue';
|
|
611
|
+
if (typeof obj_propertyOverrideValue !== 'string') {
|
|
612
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyOverrideValue + '" (at "' + path_propertyOverrideValue + '")');
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
})();
|
|
616
|
+
return v_error === undefined ? null : v_error;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
function validate$11(obj, path = 'SemanticFilterInputRepresentation') {
|
|
525
620
|
const v_error = (() => {
|
|
526
621
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
527
622
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -551,7 +646,7 @@ function validate$_(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
551
646
|
return v_error === undefined ? null : v_error;
|
|
552
647
|
}
|
|
553
648
|
|
|
554
|
-
function validate$
|
|
649
|
+
function validate$10(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
555
650
|
const v_error = (() => {
|
|
556
651
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
557
652
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -614,7 +709,7 @@ function validate$Z(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
614
709
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
615
710
|
const obj_filters_item = obj_filters[i];
|
|
616
711
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
617
|
-
const referencepath_filters_itemValidationError = validate$
|
|
712
|
+
const referencepath_filters_itemValidationError = validate$11(obj_filters_item, path_filters_item);
|
|
618
713
|
if (referencepath_filters_itemValidationError !== null) {
|
|
619
714
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
620
715
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -622,6 +717,13 @@ function validate$Z(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
622
717
|
}
|
|
623
718
|
}
|
|
624
719
|
}
|
|
720
|
+
if (obj.isOverrideBase !== undefined) {
|
|
721
|
+
const obj_isOverrideBase = obj.isOverrideBase;
|
|
722
|
+
const path_isOverrideBase = path + '.isOverrideBase';
|
|
723
|
+
if (typeof obj_isOverrideBase !== 'boolean') {
|
|
724
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
725
|
+
}
|
|
726
|
+
}
|
|
625
727
|
if (obj.isVisible !== undefined) {
|
|
626
728
|
const obj_isVisible = obj.isVisible;
|
|
627
729
|
const path_isVisible = path + '.isVisible';
|
|
@@ -661,7 +763,7 @@ function validate$Z(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
661
763
|
return v_error === undefined ? null : v_error;
|
|
662
764
|
}
|
|
663
765
|
|
|
664
|
-
function validate
|
|
766
|
+
function validate$$(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
665
767
|
const v_error = (() => {
|
|
666
768
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
667
769
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -738,7 +840,7 @@ function validate$Y(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
738
840
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
739
841
|
const obj_filters_item = obj_filters[i];
|
|
740
842
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
741
|
-
const referencepath_filters_itemValidationError = validate$
|
|
843
|
+
const referencepath_filters_itemValidationError = validate$11(obj_filters_item, path_filters_item);
|
|
742
844
|
if (referencepath_filters_itemValidationError !== null) {
|
|
743
845
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
744
846
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -746,6 +848,13 @@ function validate$Y(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
746
848
|
}
|
|
747
849
|
}
|
|
748
850
|
}
|
|
851
|
+
if (obj.isOverrideBase !== undefined) {
|
|
852
|
+
const obj_isOverrideBase = obj.isOverrideBase;
|
|
853
|
+
const path_isOverrideBase = path + '.isOverrideBase';
|
|
854
|
+
if (typeof obj_isOverrideBase !== 'boolean') {
|
|
855
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
856
|
+
}
|
|
857
|
+
}
|
|
749
858
|
if (obj.isVisible !== undefined) {
|
|
750
859
|
const obj_isVisible = obj.isVisible;
|
|
751
860
|
const path_isVisible = path + '.isVisible';
|
|
@@ -806,7 +915,7 @@ function validate$Y(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
806
915
|
return v_error === undefined ? null : v_error;
|
|
807
916
|
}
|
|
808
917
|
|
|
809
|
-
function validate$
|
|
918
|
+
function validate$_(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
810
919
|
const v_error = (() => {
|
|
811
920
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
812
921
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -885,7 +994,7 @@ function validate$X(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
885
994
|
return v_error === undefined ? null : v_error;
|
|
886
995
|
}
|
|
887
996
|
|
|
888
|
-
function validate$
|
|
997
|
+
function validate$Z(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
889
998
|
const v_error = (() => {
|
|
890
999
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
891
1000
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -992,7 +1101,7 @@ function validate$W(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
992
1101
|
return v_error === undefined ? null : v_error;
|
|
993
1102
|
}
|
|
994
1103
|
|
|
995
|
-
function validate$
|
|
1104
|
+
function validate$Y(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
996
1105
|
const v_error = (() => {
|
|
997
1106
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
998
1107
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1041,7 +1150,7 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1041
1150
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1042
1151
|
const obj_filters_item = obj_filters[i];
|
|
1043
1152
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1044
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1153
|
+
const referencepath_filters_itemValidationError = validate$11(obj_filters_item, path_filters_item);
|
|
1045
1154
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1046
1155
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1047
1156
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1072,7 +1181,7 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1072
1181
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
1073
1182
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
1074
1183
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
1075
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
1184
|
+
const referencepath_semanticDimensions_itemValidationError = validate$_(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
1076
1185
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
1077
1186
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
1078
1187
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1089,7 +1198,7 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1089
1198
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
1090
1199
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
1091
1200
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
1092
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
1201
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$Z(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
1093
1202
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
1094
1203
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
1095
1204
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1104,11 +1213,18 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1104
1213
|
return new TypeError('Expected "boolean" but received "' + typeof obj_shouldIncludeAllFields + '" (at "' + path_shouldIncludeAllFields + '")');
|
|
1105
1214
|
}
|
|
1106
1215
|
}
|
|
1216
|
+
if (obj.tableType !== undefined) {
|
|
1217
|
+
const obj_tableType = obj.tableType;
|
|
1218
|
+
const path_tableType = path + '.tableType';
|
|
1219
|
+
if (typeof obj_tableType !== 'string') {
|
|
1220
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1107
1223
|
})();
|
|
1108
1224
|
return v_error === undefined ? null : v_error;
|
|
1109
1225
|
}
|
|
1110
1226
|
|
|
1111
|
-
function validate$
|
|
1227
|
+
function validate$X(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
1112
1228
|
const v_error = (() => {
|
|
1113
1229
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1114
1230
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1120,7 +1236,7 @@ function validate$U(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
1120
1236
|
return v_error === undefined ? null : v_error;
|
|
1121
1237
|
}
|
|
1122
1238
|
|
|
1123
|
-
function validate$
|
|
1239
|
+
function validate$W(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
1124
1240
|
const v_error = (() => {
|
|
1125
1241
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1126
1242
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1150,7 +1266,7 @@ function validate$T(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
1150
1266
|
return v_error === undefined ? null : v_error;
|
|
1151
1267
|
}
|
|
1152
1268
|
|
|
1153
|
-
function validate$
|
|
1269
|
+
function validate$V(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
1154
1270
|
const v_error = (() => {
|
|
1155
1271
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1156
1272
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1164,7 +1280,7 @@ function validate$S(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1164
1280
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
1165
1281
|
const obj_groups_item = obj_groups[i];
|
|
1166
1282
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
1167
|
-
const referencepath_groups_itemValidationError = validate$
|
|
1283
|
+
const referencepath_groups_itemValidationError = validate$W(obj_groups_item, path_groups_item);
|
|
1168
1284
|
if (referencepath_groups_itemValidationError !== null) {
|
|
1169
1285
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
1170
1286
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1183,7 +1299,7 @@ function validate$S(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1183
1299
|
return v_error === undefined ? null : v_error;
|
|
1184
1300
|
}
|
|
1185
1301
|
|
|
1186
|
-
function validate$
|
|
1302
|
+
function validate$U(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
1187
1303
|
const v_error = (() => {
|
|
1188
1304
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1189
1305
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1191,7 +1307,7 @@ function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1191
1307
|
if (obj.binDimension !== undefined) {
|
|
1192
1308
|
const obj_binDimension = obj.binDimension;
|
|
1193
1309
|
const path_binDimension = path + '.binDimension';
|
|
1194
|
-
const referencepath_binDimensionValidationError = validate$
|
|
1310
|
+
const referencepath_binDimensionValidationError = validate$X(obj_binDimension, path_binDimension);
|
|
1195
1311
|
if (referencepath_binDimensionValidationError !== null) {
|
|
1196
1312
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
1197
1313
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1201,7 +1317,7 @@ function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1201
1317
|
if (obj.groupDimension !== undefined) {
|
|
1202
1318
|
const obj_groupDimension = obj.groupDimension;
|
|
1203
1319
|
const path_groupDimension = path + '.groupDimension';
|
|
1204
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
1320
|
+
const referencepath_groupDimensionValidationError = validate$V(obj_groupDimension, path_groupDimension);
|
|
1205
1321
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
1206
1322
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
1207
1323
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1212,7 +1328,7 @@ function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1212
1328
|
return v_error === undefined ? null : v_error;
|
|
1213
1329
|
}
|
|
1214
1330
|
|
|
1215
|
-
function validate$
|
|
1331
|
+
function validate$T(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
1216
1332
|
const v_error = (() => {
|
|
1217
1333
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1218
1334
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1235,7 +1351,7 @@ function validate$Q(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
1235
1351
|
return v_error === undefined ? null : v_error;
|
|
1236
1352
|
}
|
|
1237
1353
|
|
|
1238
|
-
function validate$
|
|
1354
|
+
function validate$S(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
1239
1355
|
const v_error = (() => {
|
|
1240
1356
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1241
1357
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1250,7 +1366,7 @@ function validate$P(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1250
1366
|
if (obj.tableFieldReference !== undefined) {
|
|
1251
1367
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
1252
1368
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
1253
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
1369
|
+
const referencepath_tableFieldReferenceValidationError = validate$T(obj_tableFieldReference, path_tableFieldReference);
|
|
1254
1370
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
1255
1371
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
1256
1372
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1261,7 +1377,7 @@ function validate$P(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1261
1377
|
return v_error === undefined ? null : v_error;
|
|
1262
1378
|
}
|
|
1263
1379
|
|
|
1264
|
-
function validate$
|
|
1380
|
+
function validate$R(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
1265
1381
|
const v_error = (() => {
|
|
1266
1382
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1267
1383
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1276,7 +1392,7 @@ function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1276
1392
|
if (obj.configuration !== undefined) {
|
|
1277
1393
|
const obj_configuration = obj.configuration;
|
|
1278
1394
|
const path_configuration = path + '.configuration';
|
|
1279
|
-
const referencepath_configurationValidationError = validate$
|
|
1395
|
+
const referencepath_configurationValidationError = validate$U(obj_configuration, path_configuration);
|
|
1280
1396
|
if (referencepath_configurationValidationError !== null) {
|
|
1281
1397
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
1282
1398
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1293,7 +1409,7 @@ function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1293
1409
|
if (obj.fieldReference !== undefined) {
|
|
1294
1410
|
const obj_fieldReference = obj.fieldReference;
|
|
1295
1411
|
const path_fieldReference = path + '.fieldReference';
|
|
1296
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
1412
|
+
const referencepath_fieldReferenceValidationError = validate$S(obj_fieldReference, path_fieldReference);
|
|
1297
1413
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
1298
1414
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
1299
1415
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1318,7 +1434,7 @@ function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1318
1434
|
return v_error === undefined ? null : v_error;
|
|
1319
1435
|
}
|
|
1320
1436
|
|
|
1321
|
-
function validate$
|
|
1437
|
+
function validate$Q(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
1322
1438
|
const v_error = (() => {
|
|
1323
1439
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1324
1440
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1362,7 +1478,7 @@ function validate$N(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
1362
1478
|
return v_error === undefined ? null : v_error;
|
|
1363
1479
|
}
|
|
1364
1480
|
|
|
1365
|
-
function validate$
|
|
1481
|
+
function validate$P(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
1366
1482
|
const v_error = (() => {
|
|
1367
1483
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1368
1484
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1390,7 +1506,7 @@ function validate$M(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1390
1506
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
1391
1507
|
const obj_criteria_item = obj_criteria[i];
|
|
1392
1508
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
1393
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
1509
|
+
const referencepath_criteria_itemValidationError = validate$Q(obj_criteria_item, path_criteria_item);
|
|
1394
1510
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
1395
1511
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
1396
1512
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1451,7 +1567,7 @@ function validate$M(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1451
1567
|
return v_error === undefined ? null : v_error;
|
|
1452
1568
|
}
|
|
1453
1569
|
|
|
1454
|
-
function validate$
|
|
1570
|
+
function validate$O(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
1455
1571
|
const v_error = (() => {
|
|
1456
1572
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1457
1573
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1479,7 +1595,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1479
1595
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
1480
1596
|
const obj_fields_item = obj_fields[i];
|
|
1481
1597
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
1482
|
-
const referencepath_fields_itemValidationError = validate$
|
|
1598
|
+
const referencepath_fields_itemValidationError = validate$T(obj_fields_item, path_fields_item);
|
|
1483
1599
|
if (referencepath_fields_itemValidationError !== null) {
|
|
1484
1600
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
1485
1601
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1504,7 +1620,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1504
1620
|
if (obj.semanticDimension !== undefined) {
|
|
1505
1621
|
const obj_semanticDimension = obj.semanticDimension;
|
|
1506
1622
|
const path_semanticDimension = path + '.semanticDimension';
|
|
1507
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
1623
|
+
const referencepath_semanticDimensionValidationError = validate$_(obj_semanticDimension, path_semanticDimension);
|
|
1508
1624
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
1509
1625
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
1510
1626
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1514,7 +1630,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1514
1630
|
if (obj.semanticMeasurement !== undefined) {
|
|
1515
1631
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
1516
1632
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
1517
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
1633
|
+
const referencepath_semanticMeasurementValidationError = validate$Z(obj_semanticMeasurement, path_semanticMeasurement);
|
|
1518
1634
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
1519
1635
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
1520
1636
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1525,7 +1641,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1525
1641
|
return v_error === undefined ? null : v_error;
|
|
1526
1642
|
}
|
|
1527
1643
|
|
|
1528
|
-
function validate$
|
|
1644
|
+
function validate$N(obj, path = 'SemanticUnionInputRepresentation') {
|
|
1529
1645
|
const v_error = (() => {
|
|
1530
1646
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1531
1647
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1560,7 +1676,7 @@ function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1560
1676
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1561
1677
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1562
1678
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1563
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1679
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$Y(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1564
1680
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1565
1681
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1566
1682
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1577,7 +1693,7 @@ function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1577
1693
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
1578
1694
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
1579
1695
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
1580
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
1696
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$O(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
1581
1697
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
1582
1698
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
1583
1699
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1589,7 +1705,7 @@ function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1589
1705
|
return v_error === undefined ? null : v_error;
|
|
1590
1706
|
}
|
|
1591
1707
|
|
|
1592
|
-
function validate$
|
|
1708
|
+
function validate$M(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
1593
1709
|
const v_error = (() => {
|
|
1594
1710
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1595
1711
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1631,7 +1747,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1631
1747
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1632
1748
|
const obj_filters_item = obj_filters[i];
|
|
1633
1749
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1634
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1750
|
+
const referencepath_filters_itemValidationError = validate$11(obj_filters_item, path_filters_item);
|
|
1635
1751
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1636
1752
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1637
1753
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1655,7 +1771,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1655
1771
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1656
1772
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1657
1773
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1658
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1774
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$Y(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1659
1775
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1660
1776
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1661
1777
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1672,7 +1788,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1672
1788
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
1673
1789
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
1674
1790
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
1675
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
1791
|
+
const referencepath_semanticRelationships_itemValidationError = validate$P(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
1676
1792
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
1677
1793
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
1678
1794
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1689,7 +1805,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1689
1805
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
1690
1806
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
1691
1807
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
1692
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
1808
|
+
const referencepath_semanticUnions_itemValidationError = validate$N(obj_semanticUnions_item, path_semanticUnions_item);
|
|
1693
1809
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
1694
1810
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
1695
1811
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1697,11 +1813,18 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1697
1813
|
}
|
|
1698
1814
|
}
|
|
1699
1815
|
}
|
|
1816
|
+
if (obj.tableType !== undefined) {
|
|
1817
|
+
const obj_tableType = obj.tableType;
|
|
1818
|
+
const path_tableType = path + '.tableType';
|
|
1819
|
+
if (typeof obj_tableType !== 'string') {
|
|
1820
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1700
1823
|
})();
|
|
1701
1824
|
return v_error === undefined ? null : v_error;
|
|
1702
1825
|
}
|
|
1703
1826
|
|
|
1704
|
-
function validate$
|
|
1827
|
+
function validate$L(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
1705
1828
|
const v_error = (() => {
|
|
1706
1829
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1707
1830
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1709,7 +1832,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1709
1832
|
if (obj.identifierDimensionReference !== undefined) {
|
|
1710
1833
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
1711
1834
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
1712
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
1835
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$S(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
1713
1836
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
1714
1837
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
1715
1838
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1719,7 +1842,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1719
1842
|
if (obj.namingDimensionReference !== undefined) {
|
|
1720
1843
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
1721
1844
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
1722
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
1845
|
+
const referencepath_namingDimensionReferenceValidationError = validate$S(obj_namingDimensionReference, path_namingDimensionReference);
|
|
1723
1846
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
1724
1847
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
1725
1848
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1730,7 +1853,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1730
1853
|
return v_error === undefined ? null : v_error;
|
|
1731
1854
|
}
|
|
1732
1855
|
|
|
1733
|
-
function validate$
|
|
1856
|
+
function validate$K(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
1734
1857
|
const v_error = (() => {
|
|
1735
1858
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1736
1859
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1753,7 +1876,7 @@ function validate$H(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
1753
1876
|
return v_error === undefined ? null : v_error;
|
|
1754
1877
|
}
|
|
1755
1878
|
|
|
1756
|
-
function validate$
|
|
1879
|
+
function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
1757
1880
|
const v_error = (() => {
|
|
1758
1881
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1759
1882
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1761,7 +1884,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1761
1884
|
if (obj.identifyingDimension !== undefined) {
|
|
1762
1885
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
1763
1886
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
1764
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
1887
|
+
const referencepath_identifyingDimensionValidationError = validate$L(obj_identifyingDimension, path_identifyingDimension);
|
|
1765
1888
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
1766
1889
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
1767
1890
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1777,7 +1900,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1777
1900
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
1778
1901
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
1779
1902
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
1780
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
1903
|
+
const referencepath_insightTypes_itemValidationError = validate$K(obj_insightTypes_item, path_insightTypes_item);
|
|
1781
1904
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
1782
1905
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
1783
1906
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1794,7 +1917,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1794
1917
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
1795
1918
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
1796
1919
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
1797
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
1920
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$S(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
1798
1921
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
1799
1922
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
1800
1923
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1827,7 +1950,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1827
1950
|
return v_error === undefined ? null : v_error;
|
|
1828
1951
|
}
|
|
1829
1952
|
|
|
1830
|
-
function validate$
|
|
1953
|
+
function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
1831
1954
|
const v_error = (() => {
|
|
1832
1955
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1833
1956
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1841,7 +1964,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1841
1964
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
1842
1965
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
1843
1966
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
1844
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
1967
|
+
const referencepath_additionalDimensions_itemValidationError = validate$S(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
1845
1968
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
1846
1969
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
1847
1970
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1886,7 +2009,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1886
2009
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1887
2010
|
const obj_filters_item = obj_filters[i];
|
|
1888
2011
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1889
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2012
|
+
const referencepath_filters_itemValidationError = validate$11(obj_filters_item, path_filters_item);
|
|
1890
2013
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1891
2014
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1892
2015
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1897,7 +2020,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1897
2020
|
if (obj.insightsSettings !== undefined) {
|
|
1898
2021
|
const obj_insightsSettings = obj.insightsSettings;
|
|
1899
2022
|
const path_insightsSettings = path + '.insightsSettings';
|
|
1900
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
2023
|
+
const referencepath_insightsSettingsValidationError = validate$J(obj_insightsSettings, path_insightsSettings);
|
|
1901
2024
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
1902
2025
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
1903
2026
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1921,7 +2044,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1921
2044
|
if (obj.measurementReference !== undefined) {
|
|
1922
2045
|
const obj_measurementReference = obj.measurementReference;
|
|
1923
2046
|
const path_measurementReference = path + '.measurementReference';
|
|
1924
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
2047
|
+
const referencepath_measurementReferenceValidationError = validate$S(obj_measurementReference, path_measurementReference);
|
|
1925
2048
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
1926
2049
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
1927
2050
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1931,7 +2054,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1931
2054
|
if (obj.timeDimensionReference !== undefined) {
|
|
1932
2055
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
1933
2056
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
1934
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
2057
|
+
const referencepath_timeDimensionReferenceValidationError = validate$S(obj_timeDimensionReference, path_timeDimensionReference);
|
|
1935
2058
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
1936
2059
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
1937
2060
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1956,7 +2079,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1956
2079
|
return v_error === undefined ? null : v_error;
|
|
1957
2080
|
}
|
|
1958
2081
|
|
|
1959
|
-
function validate$
|
|
2082
|
+
function validate$H(obj, path = 'SemanticParameterInputRepresentation') {
|
|
1960
2083
|
const v_error = (() => {
|
|
1961
2084
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1962
2085
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2056,8 +2179,8 @@ function validate$E(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
2056
2179
|
return v_error === undefined ? null : v_error;
|
|
2057
2180
|
}
|
|
2058
2181
|
|
|
2059
|
-
const VERSION$
|
|
2060
|
-
function validate$
|
|
2182
|
+
const VERSION$A = "3a32d382e7a2268096278aa8e5c6761a";
|
|
2183
|
+
function validate$G(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
2061
2184
|
const v_error = (() => {
|
|
2062
2185
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2063
2186
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2077,10 +2200,10 @@ function validate$D(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
|
2077
2200
|
})();
|
|
2078
2201
|
return v_error === undefined ? null : v_error;
|
|
2079
2202
|
}
|
|
2080
|
-
const select$
|
|
2203
|
+
const select$Q = function SemanticBaseModelOutputRepresentationSelect() {
|
|
2081
2204
|
return {
|
|
2082
2205
|
kind: 'Fragment',
|
|
2083
|
-
version: VERSION$
|
|
2206
|
+
version: VERSION$A,
|
|
2084
2207
|
private: [],
|
|
2085
2208
|
selections: [
|
|
2086
2209
|
{
|
|
@@ -2095,12 +2218,216 @@ const select$N = function SemanticBaseModelOutputRepresentationSelect() {
|
|
|
2095
2218
|
]
|
|
2096
2219
|
};
|
|
2097
2220
|
};
|
|
2098
|
-
function equals$
|
|
2221
|
+
function equals$A(existing, incoming) {
|
|
2222
|
+
const existing_apiName = existing.apiName;
|
|
2223
|
+
const incoming_apiName = incoming.apiName;
|
|
2224
|
+
if (!(existing_apiName === incoming_apiName)) {
|
|
2225
|
+
return false;
|
|
2226
|
+
}
|
|
2227
|
+
const existing_label = existing.label;
|
|
2228
|
+
const incoming_label = incoming.label;
|
|
2229
|
+
// if at least one of these optionals is defined
|
|
2230
|
+
if (existing_label !== undefined || incoming_label !== undefined) {
|
|
2231
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2232
|
+
// not equal
|
|
2233
|
+
if (existing_label === undefined || incoming_label === undefined) {
|
|
2234
|
+
return false;
|
|
2235
|
+
}
|
|
2236
|
+
if (!(existing_label === incoming_label)) {
|
|
2237
|
+
return false;
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
return true;
|
|
2241
|
+
}
|
|
2242
|
+
|
|
2243
|
+
const VERSION$z = "221b0931360d7fcb0a1402b0b82071bd";
|
|
2244
|
+
function validate$F(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation') {
|
|
2245
|
+
const v_error = (() => {
|
|
2246
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2247
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2248
|
+
}
|
|
2249
|
+
const obj_dataSourceId = obj.dataSourceId;
|
|
2250
|
+
const path_dataSourceId = path + '.dataSourceId';
|
|
2251
|
+
if (typeof obj_dataSourceId !== 'string') {
|
|
2252
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataSourceId + '" (at "' + path_dataSourceId + '")');
|
|
2253
|
+
}
|
|
2254
|
+
const obj_siteId = obj.siteId;
|
|
2255
|
+
const path_siteId = path + '.siteId';
|
|
2256
|
+
if (typeof obj_siteId !== 'string') {
|
|
2257
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteId + '" (at "' + path_siteId + '")');
|
|
2258
|
+
}
|
|
2259
|
+
const obj_siteName = obj.siteName;
|
|
2260
|
+
const path_siteName = path + '.siteName';
|
|
2261
|
+
if (typeof obj_siteName !== 'string') {
|
|
2262
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteName + '" (at "' + path_siteName + '")');
|
|
2263
|
+
}
|
|
2264
|
+
const obj_siteUrl = obj.siteUrl;
|
|
2265
|
+
const path_siteUrl = path + '.siteUrl';
|
|
2266
|
+
if (typeof obj_siteUrl !== 'string') {
|
|
2267
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteUrl + '" (at "' + path_siteUrl + '")');
|
|
2268
|
+
}
|
|
2269
|
+
})();
|
|
2270
|
+
return v_error === undefined ? null : v_error;
|
|
2271
|
+
}
|
|
2272
|
+
const select$P = function SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentationSelect() {
|
|
2273
|
+
return {
|
|
2274
|
+
kind: 'Fragment',
|
|
2275
|
+
version: VERSION$z,
|
|
2276
|
+
private: [],
|
|
2277
|
+
selections: [
|
|
2278
|
+
{
|
|
2279
|
+
name: 'dataSourceId',
|
|
2280
|
+
kind: 'Scalar'
|
|
2281
|
+
},
|
|
2282
|
+
{
|
|
2283
|
+
name: 'siteId',
|
|
2284
|
+
kind: 'Scalar'
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
name: 'siteName',
|
|
2288
|
+
kind: 'Scalar'
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
name: 'siteUrl',
|
|
2292
|
+
kind: 'Scalar'
|
|
2293
|
+
}
|
|
2294
|
+
]
|
|
2295
|
+
};
|
|
2296
|
+
};
|
|
2297
|
+
function equals$z(existing, incoming) {
|
|
2298
|
+
const existing_dataSourceId = existing.dataSourceId;
|
|
2299
|
+
const incoming_dataSourceId = incoming.dataSourceId;
|
|
2300
|
+
if (!(existing_dataSourceId === incoming_dataSourceId)) {
|
|
2301
|
+
return false;
|
|
2302
|
+
}
|
|
2303
|
+
const existing_siteId = existing.siteId;
|
|
2304
|
+
const incoming_siteId = incoming.siteId;
|
|
2305
|
+
if (!(existing_siteId === incoming_siteId)) {
|
|
2306
|
+
return false;
|
|
2307
|
+
}
|
|
2308
|
+
const existing_siteName = existing.siteName;
|
|
2309
|
+
const incoming_siteName = incoming.siteName;
|
|
2310
|
+
if (!(existing_siteName === incoming_siteName)) {
|
|
2311
|
+
return false;
|
|
2312
|
+
}
|
|
2313
|
+
const existing_siteUrl = existing.siteUrl;
|
|
2314
|
+
const incoming_siteUrl = incoming.siteUrl;
|
|
2315
|
+
if (!(existing_siteUrl === incoming_siteUrl)) {
|
|
2316
|
+
return false;
|
|
2317
|
+
}
|
|
2318
|
+
return true;
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
const VERSION$y = "e760a2becca995f7bd15e714d50c088c";
|
|
2322
|
+
function validate$E(obj, path = 'SemanticModelExternalConnectionOutputRepresentation') {
|
|
2323
|
+
const v_error = (() => {
|
|
2324
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2325
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2326
|
+
}
|
|
2327
|
+
const obj_apiName = obj.apiName;
|
|
2328
|
+
const path_apiName = path + '.apiName';
|
|
2329
|
+
if (typeof obj_apiName !== 'string') {
|
|
2330
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
2331
|
+
}
|
|
2332
|
+
if (obj.baseModelApiName !== undefined) {
|
|
2333
|
+
const obj_baseModelApiName = obj.baseModelApiName;
|
|
2334
|
+
const path_baseModelApiName = path + '.baseModelApiName';
|
|
2335
|
+
if (typeof obj_baseModelApiName !== 'string') {
|
|
2336
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
2337
|
+
}
|
|
2338
|
+
}
|
|
2339
|
+
const obj_id = obj.id;
|
|
2340
|
+
const path_id = path + '.id';
|
|
2341
|
+
if (typeof obj_id !== 'string') {
|
|
2342
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2343
|
+
}
|
|
2344
|
+
if (obj.label !== undefined) {
|
|
2345
|
+
const obj_label = obj.label;
|
|
2346
|
+
const path_label = path + '.label';
|
|
2347
|
+
if (typeof obj_label !== 'string') {
|
|
2348
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
2349
|
+
}
|
|
2350
|
+
}
|
|
2351
|
+
if (obj.tableauPublishedDataSource !== undefined) {
|
|
2352
|
+
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
2353
|
+
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
2354
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$F(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
2355
|
+
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
2356
|
+
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
2357
|
+
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2358
|
+
return new TypeError(message);
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
const obj_type = obj.type;
|
|
2362
|
+
const path_type = path + '.type';
|
|
2363
|
+
if (typeof obj_type !== 'string') {
|
|
2364
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
2365
|
+
}
|
|
2366
|
+
})();
|
|
2367
|
+
return v_error === undefined ? null : v_error;
|
|
2368
|
+
}
|
|
2369
|
+
const select$O = function SemanticModelExternalConnectionOutputRepresentationSelect() {
|
|
2370
|
+
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$P();
|
|
2371
|
+
return {
|
|
2372
|
+
kind: 'Fragment',
|
|
2373
|
+
version: VERSION$y,
|
|
2374
|
+
private: [],
|
|
2375
|
+
selections: [
|
|
2376
|
+
{
|
|
2377
|
+
name: 'apiName',
|
|
2378
|
+
kind: 'Scalar'
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
name: 'baseModelApiName',
|
|
2382
|
+
kind: 'Scalar',
|
|
2383
|
+
required: false
|
|
2384
|
+
},
|
|
2385
|
+
{
|
|
2386
|
+
name: 'id',
|
|
2387
|
+
kind: 'Scalar'
|
|
2388
|
+
},
|
|
2389
|
+
{
|
|
2390
|
+
name: 'label',
|
|
2391
|
+
kind: 'Scalar',
|
|
2392
|
+
required: false
|
|
2393
|
+
},
|
|
2394
|
+
{
|
|
2395
|
+
name: 'tableauPublishedDataSource',
|
|
2396
|
+
kind: 'Object',
|
|
2397
|
+
selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections,
|
|
2398
|
+
required: false
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
name: 'type',
|
|
2402
|
+
kind: 'Scalar'
|
|
2403
|
+
}
|
|
2404
|
+
]
|
|
2405
|
+
};
|
|
2406
|
+
};
|
|
2407
|
+
function equals$y(existing, incoming) {
|
|
2099
2408
|
const existing_apiName = existing.apiName;
|
|
2100
2409
|
const incoming_apiName = incoming.apiName;
|
|
2101
2410
|
if (!(existing_apiName === incoming_apiName)) {
|
|
2102
2411
|
return false;
|
|
2103
2412
|
}
|
|
2413
|
+
const existing_baseModelApiName = existing.baseModelApiName;
|
|
2414
|
+
const incoming_baseModelApiName = incoming.baseModelApiName;
|
|
2415
|
+
// if at least one of these optionals is defined
|
|
2416
|
+
if (existing_baseModelApiName !== undefined || incoming_baseModelApiName !== undefined) {
|
|
2417
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2418
|
+
// not equal
|
|
2419
|
+
if (existing_baseModelApiName === undefined || incoming_baseModelApiName === undefined) {
|
|
2420
|
+
return false;
|
|
2421
|
+
}
|
|
2422
|
+
if (!(existing_baseModelApiName === incoming_baseModelApiName)) {
|
|
2423
|
+
return false;
|
|
2424
|
+
}
|
|
2425
|
+
}
|
|
2426
|
+
const existing_id = existing.id;
|
|
2427
|
+
const incoming_id = incoming.id;
|
|
2428
|
+
if (!(existing_id === incoming_id)) {
|
|
2429
|
+
return false;
|
|
2430
|
+
}
|
|
2104
2431
|
const existing_label = existing.label;
|
|
2105
2432
|
const incoming_label = incoming.label;
|
|
2106
2433
|
// if at least one of these optionals is defined
|
|
@@ -2114,6 +2441,141 @@ function equals$x(existing, incoming) {
|
|
|
2114
2441
|
return false;
|
|
2115
2442
|
}
|
|
2116
2443
|
}
|
|
2444
|
+
const existing_type = existing.type;
|
|
2445
|
+
const incoming_type = incoming.type;
|
|
2446
|
+
if (!(existing_type === incoming_type)) {
|
|
2447
|
+
return false;
|
|
2448
|
+
}
|
|
2449
|
+
const existing_tableauPublishedDataSource = existing.tableauPublishedDataSource;
|
|
2450
|
+
const incoming_tableauPublishedDataSource = incoming.tableauPublishedDataSource;
|
|
2451
|
+
// if at least one of these optionals is defined
|
|
2452
|
+
if (existing_tableauPublishedDataSource !== undefined || incoming_tableauPublishedDataSource !== undefined) {
|
|
2453
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2454
|
+
// not equal
|
|
2455
|
+
if (existing_tableauPublishedDataSource === undefined || incoming_tableauPublishedDataSource === undefined) {
|
|
2456
|
+
return false;
|
|
2457
|
+
}
|
|
2458
|
+
if (!(equals$z(existing_tableauPublishedDataSource, incoming_tableauPublishedDataSource))) {
|
|
2459
|
+
return false;
|
|
2460
|
+
}
|
|
2461
|
+
}
|
|
2462
|
+
return true;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
const VERSION$x = "6f06bef394bf9744da80affc7b8109c6";
|
|
2466
|
+
function validate$D(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
2467
|
+
const v_error = (() => {
|
|
2468
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2469
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2470
|
+
}
|
|
2471
|
+
const obj_entityFqn = obj.entityFqn;
|
|
2472
|
+
const path_entityFqn = path + '.entityFqn';
|
|
2473
|
+
if (typeof obj_entityFqn !== 'string') {
|
|
2474
|
+
return new TypeError('Expected "string" but received "' + typeof obj_entityFqn + '" (at "' + path_entityFqn + '")');
|
|
2475
|
+
}
|
|
2476
|
+
const obj_entityId = obj.entityId;
|
|
2477
|
+
const path_entityId = path + '.entityId';
|
|
2478
|
+
if (typeof obj_entityId !== 'string') {
|
|
2479
|
+
return new TypeError('Expected "string" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
|
|
2480
|
+
}
|
|
2481
|
+
const obj_id = obj.id;
|
|
2482
|
+
const path_id = path + '.id';
|
|
2483
|
+
if (typeof obj_id !== 'string') {
|
|
2484
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2485
|
+
}
|
|
2486
|
+
if (obj.propertyBaseModelValue !== undefined) {
|
|
2487
|
+
const obj_propertyBaseModelValue = obj.propertyBaseModelValue;
|
|
2488
|
+
const path_propertyBaseModelValue = path + '.propertyBaseModelValue';
|
|
2489
|
+
if (typeof obj_propertyBaseModelValue !== 'string') {
|
|
2490
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyBaseModelValue + '" (at "' + path_propertyBaseModelValue + '")');
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
const obj_propertyName = obj.propertyName;
|
|
2494
|
+
const path_propertyName = path + '.propertyName';
|
|
2495
|
+
if (typeof obj_propertyName !== 'string') {
|
|
2496
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyName + '" (at "' + path_propertyName + '")');
|
|
2497
|
+
}
|
|
2498
|
+
const obj_propertyOverrideValue = obj.propertyOverrideValue;
|
|
2499
|
+
const path_propertyOverrideValue = path + '.propertyOverrideValue';
|
|
2500
|
+
if (typeof obj_propertyOverrideValue !== 'string') {
|
|
2501
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyOverrideValue + '" (at "' + path_propertyOverrideValue + '")');
|
|
2502
|
+
}
|
|
2503
|
+
})();
|
|
2504
|
+
return v_error === undefined ? null : v_error;
|
|
2505
|
+
}
|
|
2506
|
+
const select$N = function SemanticOverrideOutputRepresentationSelect() {
|
|
2507
|
+
return {
|
|
2508
|
+
kind: 'Fragment',
|
|
2509
|
+
version: VERSION$x,
|
|
2510
|
+
private: [],
|
|
2511
|
+
selections: [
|
|
2512
|
+
{
|
|
2513
|
+
name: 'entityFqn',
|
|
2514
|
+
kind: 'Scalar'
|
|
2515
|
+
},
|
|
2516
|
+
{
|
|
2517
|
+
name: 'entityId',
|
|
2518
|
+
kind: 'Scalar'
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
name: 'id',
|
|
2522
|
+
kind: 'Scalar'
|
|
2523
|
+
},
|
|
2524
|
+
{
|
|
2525
|
+
name: 'propertyBaseModelValue',
|
|
2526
|
+
kind: 'Scalar',
|
|
2527
|
+
required: false
|
|
2528
|
+
},
|
|
2529
|
+
{
|
|
2530
|
+
name: 'propertyName',
|
|
2531
|
+
kind: 'Scalar'
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
name: 'propertyOverrideValue',
|
|
2535
|
+
kind: 'Scalar'
|
|
2536
|
+
}
|
|
2537
|
+
]
|
|
2538
|
+
};
|
|
2539
|
+
};
|
|
2540
|
+
function equals$x(existing, incoming) {
|
|
2541
|
+
const existing_entityFqn = existing.entityFqn;
|
|
2542
|
+
const incoming_entityFqn = incoming.entityFqn;
|
|
2543
|
+
if (!(existing_entityFqn === incoming_entityFqn)) {
|
|
2544
|
+
return false;
|
|
2545
|
+
}
|
|
2546
|
+
const existing_entityId = existing.entityId;
|
|
2547
|
+
const incoming_entityId = incoming.entityId;
|
|
2548
|
+
if (!(existing_entityId === incoming_entityId)) {
|
|
2549
|
+
return false;
|
|
2550
|
+
}
|
|
2551
|
+
const existing_id = existing.id;
|
|
2552
|
+
const incoming_id = incoming.id;
|
|
2553
|
+
if (!(existing_id === incoming_id)) {
|
|
2554
|
+
return false;
|
|
2555
|
+
}
|
|
2556
|
+
const existing_propertyBaseModelValue = existing.propertyBaseModelValue;
|
|
2557
|
+
const incoming_propertyBaseModelValue = incoming.propertyBaseModelValue;
|
|
2558
|
+
// if at least one of these optionals is defined
|
|
2559
|
+
if (existing_propertyBaseModelValue !== undefined || incoming_propertyBaseModelValue !== undefined) {
|
|
2560
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2561
|
+
// not equal
|
|
2562
|
+
if (existing_propertyBaseModelValue === undefined || incoming_propertyBaseModelValue === undefined) {
|
|
2563
|
+
return false;
|
|
2564
|
+
}
|
|
2565
|
+
if (!(existing_propertyBaseModelValue === incoming_propertyBaseModelValue)) {
|
|
2566
|
+
return false;
|
|
2567
|
+
}
|
|
2568
|
+
}
|
|
2569
|
+
const existing_propertyName = existing.propertyName;
|
|
2570
|
+
const incoming_propertyName = incoming.propertyName;
|
|
2571
|
+
if (!(existing_propertyName === incoming_propertyName)) {
|
|
2572
|
+
return false;
|
|
2573
|
+
}
|
|
2574
|
+
const existing_propertyOverrideValue = existing.propertyOverrideValue;
|
|
2575
|
+
const incoming_propertyOverrideValue = incoming.propertyOverrideValue;
|
|
2576
|
+
if (!(existing_propertyOverrideValue === incoming_propertyOverrideValue)) {
|
|
2577
|
+
return false;
|
|
2578
|
+
}
|
|
2117
2579
|
return true;
|
|
2118
2580
|
}
|
|
2119
2581
|
|
|
@@ -2214,7 +2676,7 @@ function equals$w(existing, incoming) {
|
|
|
2214
2676
|
return true;
|
|
2215
2677
|
}
|
|
2216
2678
|
|
|
2217
|
-
const VERSION$v = "
|
|
2679
|
+
const VERSION$v = "8e79a20925f9ec85025ffe505523c74c";
|
|
2218
2680
|
function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
2219
2681
|
const v_error = (() => {
|
|
2220
2682
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2284,6 +2746,20 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2284
2746
|
return new TypeError('Expected "string" but received "' + typeof obj_expression + '" (at "' + path_expression + '")');
|
|
2285
2747
|
}
|
|
2286
2748
|
}
|
|
2749
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
2750
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
2751
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
2752
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
2753
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
2754
|
+
}
|
|
2755
|
+
}
|
|
2756
|
+
if (obj.externalStorageName !== undefined) {
|
|
2757
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
2758
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
2759
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
2760
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
2761
|
+
}
|
|
2762
|
+
}
|
|
2287
2763
|
if (obj.filterLogic !== undefined) {
|
|
2288
2764
|
const obj_filterLogic = obj.filterLogic;
|
|
2289
2765
|
const path_filterLogic = path + '.filterLogic';
|
|
@@ -2313,6 +2789,13 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2313
2789
|
if (typeof obj_id !== 'string') {
|
|
2314
2790
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2315
2791
|
}
|
|
2792
|
+
if (obj.isOverrideBase !== undefined) {
|
|
2793
|
+
const obj_isOverrideBase = obj.isOverrideBase;
|
|
2794
|
+
const path_isOverrideBase = path + '.isOverrideBase';
|
|
2795
|
+
if (typeof obj_isOverrideBase !== 'boolean') {
|
|
2796
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
2797
|
+
}
|
|
2798
|
+
}
|
|
2316
2799
|
if (obj.isVisible !== undefined) {
|
|
2317
2800
|
const obj_isVisible = obj.isVisible;
|
|
2318
2801
|
const path_isVisible = path + '.isVisible';
|
|
@@ -2341,6 +2824,13 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2341
2824
|
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
2342
2825
|
}
|
|
2343
2826
|
}
|
|
2827
|
+
if (obj.level !== undefined) {
|
|
2828
|
+
const obj_level = obj.level;
|
|
2829
|
+
const path_level = path + '.level';
|
|
2830
|
+
if (typeof obj_level !== 'string') {
|
|
2831
|
+
return new TypeError('Expected "string" but received "' + typeof obj_level + '" (at "' + path_level + '")');
|
|
2832
|
+
}
|
|
2833
|
+
}
|
|
2344
2834
|
if (obj.semanticDataType !== undefined) {
|
|
2345
2835
|
const obj_semanticDataType = obj.semanticDataType;
|
|
2346
2836
|
const path_semanticDataType = path + '.semanticDataType';
|
|
@@ -2432,6 +2922,16 @@ const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2432
2922
|
kind: 'Scalar',
|
|
2433
2923
|
required: false
|
|
2434
2924
|
},
|
|
2925
|
+
{
|
|
2926
|
+
name: 'externalConnectionApiName',
|
|
2927
|
+
kind: 'Scalar',
|
|
2928
|
+
required: false
|
|
2929
|
+
},
|
|
2930
|
+
{
|
|
2931
|
+
name: 'externalStorageName',
|
|
2932
|
+
kind: 'Scalar',
|
|
2933
|
+
required: false
|
|
2934
|
+
},
|
|
2435
2935
|
{
|
|
2436
2936
|
name: 'filterLogic',
|
|
2437
2937
|
kind: 'Scalar',
|
|
@@ -2448,6 +2948,11 @@ const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2448
2948
|
name: 'id',
|
|
2449
2949
|
kind: 'Scalar'
|
|
2450
2950
|
},
|
|
2951
|
+
{
|
|
2952
|
+
name: 'isOverrideBase',
|
|
2953
|
+
kind: 'Scalar',
|
|
2954
|
+
required: false
|
|
2955
|
+
},
|
|
2451
2956
|
{
|
|
2452
2957
|
name: 'isVisible',
|
|
2453
2958
|
kind: 'Scalar',
|
|
@@ -2468,6 +2973,11 @@ const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2468
2973
|
kind: 'Scalar',
|
|
2469
2974
|
required: false
|
|
2470
2975
|
},
|
|
2976
|
+
{
|
|
2977
|
+
name: 'level',
|
|
2978
|
+
kind: 'Scalar',
|
|
2979
|
+
required: false
|
|
2980
|
+
},
|
|
2471
2981
|
{
|
|
2472
2982
|
name: 'semanticDataType',
|
|
2473
2983
|
kind: 'Scalar',
|
|
@@ -2487,6 +2997,19 @@ const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2487
2997
|
};
|
|
2488
2998
|
};
|
|
2489
2999
|
function equals$v(existing, incoming) {
|
|
3000
|
+
const existing_isOverrideBase = existing.isOverrideBase;
|
|
3001
|
+
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
3002
|
+
// if at least one of these optionals is defined
|
|
3003
|
+
if (existing_isOverrideBase !== undefined || incoming_isOverrideBase !== undefined) {
|
|
3004
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3005
|
+
// not equal
|
|
3006
|
+
if (existing_isOverrideBase === undefined || incoming_isOverrideBase === undefined) {
|
|
3007
|
+
return false;
|
|
3008
|
+
}
|
|
3009
|
+
if (!(existing_isOverrideBase === incoming_isOverrideBase)) {
|
|
3010
|
+
return false;
|
|
3011
|
+
}
|
|
3012
|
+
}
|
|
2490
3013
|
const existing_isVisible = existing.isVisible;
|
|
2491
3014
|
const incoming_isVisible = incoming.isVisible;
|
|
2492
3015
|
// if at least one of these optionals is defined
|
|
@@ -2606,6 +3129,32 @@ function equals$v(existing, incoming) {
|
|
|
2606
3129
|
return false;
|
|
2607
3130
|
}
|
|
2608
3131
|
}
|
|
3132
|
+
const existing_externalConnectionApiName = existing.externalConnectionApiName;
|
|
3133
|
+
const incoming_externalConnectionApiName = incoming.externalConnectionApiName;
|
|
3134
|
+
// if at least one of these optionals is defined
|
|
3135
|
+
if (existing_externalConnectionApiName !== undefined || incoming_externalConnectionApiName !== undefined) {
|
|
3136
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3137
|
+
// not equal
|
|
3138
|
+
if (existing_externalConnectionApiName === undefined || incoming_externalConnectionApiName === undefined) {
|
|
3139
|
+
return false;
|
|
3140
|
+
}
|
|
3141
|
+
if (!(existing_externalConnectionApiName === incoming_externalConnectionApiName)) {
|
|
3142
|
+
return false;
|
|
3143
|
+
}
|
|
3144
|
+
}
|
|
3145
|
+
const existing_externalStorageName = existing.externalStorageName;
|
|
3146
|
+
const incoming_externalStorageName = incoming.externalStorageName;
|
|
3147
|
+
// if at least one of these optionals is defined
|
|
3148
|
+
if (existing_externalStorageName !== undefined || incoming_externalStorageName !== undefined) {
|
|
3149
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3150
|
+
// not equal
|
|
3151
|
+
if (existing_externalStorageName === undefined || incoming_externalStorageName === undefined) {
|
|
3152
|
+
return false;
|
|
3153
|
+
}
|
|
3154
|
+
if (!(existing_externalStorageName === incoming_externalStorageName)) {
|
|
3155
|
+
return false;
|
|
3156
|
+
}
|
|
3157
|
+
}
|
|
2609
3158
|
const existing_filterLogic = existing.filterLogic;
|
|
2610
3159
|
const incoming_filterLogic = incoming.filterLogic;
|
|
2611
3160
|
// if at least one of these optionals is defined
|
|
@@ -2663,6 +3212,19 @@ function equals$v(existing, incoming) {
|
|
|
2663
3212
|
return false;
|
|
2664
3213
|
}
|
|
2665
3214
|
}
|
|
3215
|
+
const existing_level = existing.level;
|
|
3216
|
+
const incoming_level = incoming.level;
|
|
3217
|
+
// if at least one of these optionals is defined
|
|
3218
|
+
if (existing_level !== undefined || incoming_level !== undefined) {
|
|
3219
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3220
|
+
// not equal
|
|
3221
|
+
if (existing_level === undefined || incoming_level === undefined) {
|
|
3222
|
+
return false;
|
|
3223
|
+
}
|
|
3224
|
+
if (!(existing_level === incoming_level)) {
|
|
3225
|
+
return false;
|
|
3226
|
+
}
|
|
3227
|
+
}
|
|
2666
3228
|
const existing_semanticDataType = existing.semanticDataType;
|
|
2667
3229
|
const incoming_semanticDataType = incoming.semanticDataType;
|
|
2668
3230
|
// if at least one of these optionals is defined
|
|
@@ -2744,7 +3306,7 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2744
3306
|
});
|
|
2745
3307
|
}
|
|
2746
3308
|
|
|
2747
|
-
const VERSION$u = "
|
|
3309
|
+
const VERSION$u = "bc21c46456a2024253da5ae96ccf7dfe";
|
|
2748
3310
|
function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
2749
3311
|
const v_error = (() => {
|
|
2750
3312
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2828,6 +3390,20 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
2828
3390
|
return new TypeError('Expected "string" but received "' + typeof obj_expression + '" (at "' + path_expression + '")');
|
|
2829
3391
|
}
|
|
2830
3392
|
}
|
|
3393
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
3394
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
3395
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
3396
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
3397
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
3398
|
+
}
|
|
3399
|
+
}
|
|
3400
|
+
if (obj.externalStorageName !== undefined) {
|
|
3401
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
3402
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
3403
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
3404
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
2831
3407
|
if (obj.filterLogic !== undefined) {
|
|
2832
3408
|
const obj_filterLogic = obj.filterLogic;
|
|
2833
3409
|
const path_filterLogic = path + '.filterLogic';
|
|
@@ -2864,6 +3440,13 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
2864
3440
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isAggregatable + '" (at "' + path_isAggregatable + '")');
|
|
2865
3441
|
}
|
|
2866
3442
|
}
|
|
3443
|
+
if (obj.isOverrideBase !== undefined) {
|
|
3444
|
+
const obj_isOverrideBase = obj.isOverrideBase;
|
|
3445
|
+
const path_isOverrideBase = path + '.isOverrideBase';
|
|
3446
|
+
if (typeof obj_isOverrideBase !== 'boolean') {
|
|
3447
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
3448
|
+
}
|
|
3449
|
+
}
|
|
2867
3450
|
if (obj.isVisible !== undefined) {
|
|
2868
3451
|
const obj_isVisible = obj.isVisible;
|
|
2869
3452
|
const path_isVisible = path + '.isVisible';
|
|
@@ -2892,6 +3475,13 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
2892
3475
|
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
2893
3476
|
}
|
|
2894
3477
|
}
|
|
3478
|
+
if (obj.level !== undefined) {
|
|
3479
|
+
const obj_level = obj.level;
|
|
3480
|
+
const path_level = path + '.level';
|
|
3481
|
+
if (typeof obj_level !== 'string') {
|
|
3482
|
+
return new TypeError('Expected "string" but received "' + typeof obj_level + '" (at "' + path_level + '")');
|
|
3483
|
+
}
|
|
3484
|
+
}
|
|
2895
3485
|
if (obj.semanticDataType !== undefined) {
|
|
2896
3486
|
const obj_semanticDataType = obj.semanticDataType;
|
|
2897
3487
|
const path_semanticDataType = path + '.semanticDataType';
|
|
@@ -3014,6 +3604,16 @@ const select$K = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3014
3604
|
kind: 'Scalar',
|
|
3015
3605
|
required: false
|
|
3016
3606
|
},
|
|
3607
|
+
{
|
|
3608
|
+
name: 'externalConnectionApiName',
|
|
3609
|
+
kind: 'Scalar',
|
|
3610
|
+
required: false
|
|
3611
|
+
},
|
|
3612
|
+
{
|
|
3613
|
+
name: 'externalStorageName',
|
|
3614
|
+
kind: 'Scalar',
|
|
3615
|
+
required: false
|
|
3616
|
+
},
|
|
3017
3617
|
{
|
|
3018
3618
|
name: 'filterLogic',
|
|
3019
3619
|
kind: 'Scalar',
|
|
@@ -3035,6 +3635,11 @@ const select$K = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3035
3635
|
kind: 'Scalar',
|
|
3036
3636
|
required: false
|
|
3037
3637
|
},
|
|
3638
|
+
{
|
|
3639
|
+
name: 'isOverrideBase',
|
|
3640
|
+
kind: 'Scalar',
|
|
3641
|
+
required: false
|
|
3642
|
+
},
|
|
3038
3643
|
{
|
|
3039
3644
|
name: 'isVisible',
|
|
3040
3645
|
kind: 'Scalar',
|
|
@@ -3055,6 +3660,11 @@ const select$K = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3055
3660
|
kind: 'Scalar',
|
|
3056
3661
|
required: false
|
|
3057
3662
|
},
|
|
3663
|
+
{
|
|
3664
|
+
name: 'level',
|
|
3665
|
+
kind: 'Scalar',
|
|
3666
|
+
required: false
|
|
3667
|
+
},
|
|
3058
3668
|
{
|
|
3059
3669
|
name: 'semanticDataType',
|
|
3060
3670
|
kind: 'Scalar',
|
|
@@ -3102,6 +3712,19 @@ function equals$u(existing, incoming) {
|
|
|
3102
3712
|
return false;
|
|
3103
3713
|
}
|
|
3104
3714
|
}
|
|
3715
|
+
const existing_isOverrideBase = existing.isOverrideBase;
|
|
3716
|
+
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
3717
|
+
// if at least one of these optionals is defined
|
|
3718
|
+
if (existing_isOverrideBase !== undefined || incoming_isOverrideBase !== undefined) {
|
|
3719
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3720
|
+
// not equal
|
|
3721
|
+
if (existing_isOverrideBase === undefined || incoming_isOverrideBase === undefined) {
|
|
3722
|
+
return false;
|
|
3723
|
+
}
|
|
3724
|
+
if (!(existing_isOverrideBase === incoming_isOverrideBase)) {
|
|
3725
|
+
return false;
|
|
3726
|
+
}
|
|
3727
|
+
}
|
|
3105
3728
|
const existing_isVisible = existing.isVisible;
|
|
3106
3729
|
const incoming_isVisible = incoming.isVisible;
|
|
3107
3730
|
// if at least one of these optionals is defined
|
|
@@ -3260,6 +3883,32 @@ function equals$u(existing, incoming) {
|
|
|
3260
3883
|
return false;
|
|
3261
3884
|
}
|
|
3262
3885
|
}
|
|
3886
|
+
const existing_externalConnectionApiName = existing.externalConnectionApiName;
|
|
3887
|
+
const incoming_externalConnectionApiName = incoming.externalConnectionApiName;
|
|
3888
|
+
// if at least one of these optionals is defined
|
|
3889
|
+
if (existing_externalConnectionApiName !== undefined || incoming_externalConnectionApiName !== undefined) {
|
|
3890
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3891
|
+
// not equal
|
|
3892
|
+
if (existing_externalConnectionApiName === undefined || incoming_externalConnectionApiName === undefined) {
|
|
3893
|
+
return false;
|
|
3894
|
+
}
|
|
3895
|
+
if (!(existing_externalConnectionApiName === incoming_externalConnectionApiName)) {
|
|
3896
|
+
return false;
|
|
3897
|
+
}
|
|
3898
|
+
}
|
|
3899
|
+
const existing_externalStorageName = existing.externalStorageName;
|
|
3900
|
+
const incoming_externalStorageName = incoming.externalStorageName;
|
|
3901
|
+
// if at least one of these optionals is defined
|
|
3902
|
+
if (existing_externalStorageName !== undefined || incoming_externalStorageName !== undefined) {
|
|
3903
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3904
|
+
// not equal
|
|
3905
|
+
if (existing_externalStorageName === undefined || incoming_externalStorageName === undefined) {
|
|
3906
|
+
return false;
|
|
3907
|
+
}
|
|
3908
|
+
if (!(existing_externalStorageName === incoming_externalStorageName)) {
|
|
3909
|
+
return false;
|
|
3910
|
+
}
|
|
3911
|
+
}
|
|
3263
3912
|
const existing_filterLogic = existing.filterLogic;
|
|
3264
3913
|
const incoming_filterLogic = incoming.filterLogic;
|
|
3265
3914
|
// if at least one of these optionals is defined
|
|
@@ -3317,6 +3966,19 @@ function equals$u(existing, incoming) {
|
|
|
3317
3966
|
return false;
|
|
3318
3967
|
}
|
|
3319
3968
|
}
|
|
3969
|
+
const existing_level = existing.level;
|
|
3970
|
+
const incoming_level = incoming.level;
|
|
3971
|
+
// if at least one of these optionals is defined
|
|
3972
|
+
if (existing_level !== undefined || incoming_level !== undefined) {
|
|
3973
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3974
|
+
// not equal
|
|
3975
|
+
if (existing_level === undefined || incoming_level === undefined) {
|
|
3976
|
+
return false;
|
|
3977
|
+
}
|
|
3978
|
+
if (!(existing_level === incoming_level)) {
|
|
3979
|
+
return false;
|
|
3980
|
+
}
|
|
3981
|
+
}
|
|
3320
3982
|
const existing_semanticDataType = existing.semanticDataType;
|
|
3321
3983
|
const incoming_semanticDataType = incoming.semanticDataType;
|
|
3322
3984
|
// if at least one of these optionals is defined
|
|
@@ -3493,6 +4155,13 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
3493
4155
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
3494
4156
|
}
|
|
3495
4157
|
}
|
|
4158
|
+
if (obj.externalStorageName !== undefined) {
|
|
4159
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
4160
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
4161
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
4162
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
4163
|
+
}
|
|
4164
|
+
}
|
|
3496
4165
|
const obj_id = obj.id;
|
|
3497
4166
|
const path_id = path + '.id';
|
|
3498
4167
|
if (typeof obj_id !== 'string') {
|
|
@@ -3561,6 +4230,13 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
3561
4230
|
return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
|
|
3562
4231
|
}
|
|
3563
4232
|
}
|
|
4233
|
+
if (obj.storageDataType !== undefined) {
|
|
4234
|
+
const obj_storageDataType = obj.storageDataType;
|
|
4235
|
+
const path_storageDataType = path + '.storageDataType';
|
|
4236
|
+
if (typeof obj_storageDataType !== 'string') {
|
|
4237
|
+
return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
|
|
4238
|
+
}
|
|
4239
|
+
}
|
|
3564
4240
|
})();
|
|
3565
4241
|
return v_error === undefined ? null : v_error;
|
|
3566
4242
|
}
|
|
@@ -3648,6 +4324,13 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
3648
4324
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
3649
4325
|
}
|
|
3650
4326
|
}
|
|
4327
|
+
if (obj.externalStorageName !== undefined) {
|
|
4328
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
4329
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
4330
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
4331
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
4332
|
+
}
|
|
4333
|
+
}
|
|
3651
4334
|
const obj_id = obj.id;
|
|
3652
4335
|
const path_id = path + '.id';
|
|
3653
4336
|
if (typeof obj_id !== 'string') {
|
|
@@ -3737,11 +4420,18 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
3737
4420
|
return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
|
|
3738
4421
|
}
|
|
3739
4422
|
}
|
|
4423
|
+
if (obj.storageDataType !== undefined) {
|
|
4424
|
+
const obj_storageDataType = obj.storageDataType;
|
|
4425
|
+
const path_storageDataType = path + '.storageDataType';
|
|
4426
|
+
if (typeof obj_storageDataType !== 'string') {
|
|
4427
|
+
return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
|
|
4428
|
+
}
|
|
4429
|
+
}
|
|
3740
4430
|
})();
|
|
3741
4431
|
return v_error === undefined ? null : v_error;
|
|
3742
4432
|
}
|
|
3743
4433
|
|
|
3744
|
-
const VERSION$t = "
|
|
4434
|
+
const VERSION$t = "bfd1e674b4ba4471bf20fd29dda1f7e7";
|
|
3745
4435
|
function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
3746
4436
|
const v_error = (() => {
|
|
3747
4437
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3797,6 +4487,13 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3797
4487
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
3798
4488
|
}
|
|
3799
4489
|
}
|
|
4490
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
4491
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
4492
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
4493
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
4494
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
4495
|
+
}
|
|
4496
|
+
}
|
|
3800
4497
|
if (obj.filterLogic !== undefined) {
|
|
3801
4498
|
const obj_filterLogic = obj.filterLogic;
|
|
3802
4499
|
const path_filterLogic = path + '.filterLogic';
|
|
@@ -3909,6 +4606,13 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3909
4606
|
return new TypeError('Expected "boolean" but received "' + typeof obj_shouldIncludeAllFields + '" (at "' + path_shouldIncludeAllFields + '")');
|
|
3910
4607
|
}
|
|
3911
4608
|
}
|
|
4609
|
+
if (obj.tableType !== undefined) {
|
|
4610
|
+
const obj_tableType = obj.tableType;
|
|
4611
|
+
const path_tableType = path + '.tableType';
|
|
4612
|
+
if (typeof obj_tableType !== 'string') {
|
|
4613
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
4614
|
+
}
|
|
4615
|
+
}
|
|
3912
4616
|
})();
|
|
3913
4617
|
return v_error === undefined ? null : v_error;
|
|
3914
4618
|
}
|
|
@@ -5902,7 +6606,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5902
6606
|
}
|
|
5903
6607
|
}
|
|
5904
6608
|
|
|
5905
|
-
const VERSION$h = "
|
|
6609
|
+
const VERSION$h = "a07c1d2e7b0cc8a4933ca0e63af3ff50";
|
|
5906
6610
|
function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
5907
6611
|
const v_error = (() => {
|
|
5908
6612
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -6050,6 +6754,13 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6050
6754
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticViewTypeEnum + '" (at "' + path_semanticViewTypeEnum + '")');
|
|
6051
6755
|
}
|
|
6052
6756
|
}
|
|
6757
|
+
if (obj.tableType !== undefined) {
|
|
6758
|
+
const obj_tableType = obj.tableType;
|
|
6759
|
+
const path_tableType = path + '.tableType';
|
|
6760
|
+
if (typeof obj_tableType !== 'string') {
|
|
6761
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
6762
|
+
}
|
|
6763
|
+
}
|
|
6053
6764
|
})();
|
|
6054
6765
|
return v_error === undefined ? null : v_error;
|
|
6055
6766
|
}
|
|
@@ -6215,6 +6926,11 @@ const select$x = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
6215
6926
|
name: 'semanticViewTypeEnum',
|
|
6216
6927
|
kind: 'Scalar',
|
|
6217
6928
|
required: false
|
|
6929
|
+
},
|
|
6930
|
+
{
|
|
6931
|
+
name: 'tableType',
|
|
6932
|
+
kind: 'Scalar',
|
|
6933
|
+
required: false
|
|
6218
6934
|
}
|
|
6219
6935
|
]
|
|
6220
6936
|
};
|
|
@@ -6357,6 +7073,19 @@ function equals$h(existing, incoming) {
|
|
|
6357
7073
|
return false;
|
|
6358
7074
|
}
|
|
6359
7075
|
}
|
|
7076
|
+
const existing_tableType = existing.tableType;
|
|
7077
|
+
const incoming_tableType = incoming.tableType;
|
|
7078
|
+
// if at least one of these optionals is defined
|
|
7079
|
+
if (existing_tableType !== undefined || incoming_tableType !== undefined) {
|
|
7080
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7081
|
+
// not equal
|
|
7082
|
+
if (existing_tableType === undefined || incoming_tableType === undefined) {
|
|
7083
|
+
return false;
|
|
7084
|
+
}
|
|
7085
|
+
if (!(existing_tableType === incoming_tableType)) {
|
|
7086
|
+
return false;
|
|
7087
|
+
}
|
|
7088
|
+
}
|
|
6360
7089
|
const existing_filters = existing.filters;
|
|
6361
7090
|
const incoming_filters = incoming.filters;
|
|
6362
7091
|
// if at least one of these optionals is defined
|
|
@@ -7951,7 +8680,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7951
8680
|
});
|
|
7952
8681
|
}
|
|
7953
8682
|
|
|
7954
|
-
const VERSION$a = "
|
|
8683
|
+
const VERSION$a = "384950eda90c1492434fc4519368df85";
|
|
7955
8684
|
function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
7956
8685
|
const v_error = (() => {
|
|
7957
8686
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -7985,7 +8714,7 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
7985
8714
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
7986
8715
|
const obj_baseModels_item = obj_baseModels[i];
|
|
7987
8716
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
7988
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
8717
|
+
const referencepath_baseModels_itemValidationError = validate$G(obj_baseModels_item, path_baseModels_item);
|
|
7989
8718
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
7990
8719
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
7991
8720
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8036,6 +8765,40 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8036
8765
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
8037
8766
|
}
|
|
8038
8767
|
}
|
|
8768
|
+
if (obj.externalConnections !== undefined) {
|
|
8769
|
+
const obj_externalConnections = obj.externalConnections;
|
|
8770
|
+
const path_externalConnections = path + '.externalConnections';
|
|
8771
|
+
if (!ArrayIsArray(obj_externalConnections)) {
|
|
8772
|
+
return new TypeError('Expected "array" but received "' + typeof obj_externalConnections + '" (at "' + path_externalConnections + '")');
|
|
8773
|
+
}
|
|
8774
|
+
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
8775
|
+
const obj_externalConnections_item = obj_externalConnections[i];
|
|
8776
|
+
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
8777
|
+
const referencepath_externalConnections_itemValidationError = validate$E(obj_externalConnections_item, path_externalConnections_item);
|
|
8778
|
+
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
8779
|
+
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
8780
|
+
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8781
|
+
return new TypeError(message);
|
|
8782
|
+
}
|
|
8783
|
+
}
|
|
8784
|
+
}
|
|
8785
|
+
if (obj.fieldsOverrides !== undefined) {
|
|
8786
|
+
const obj_fieldsOverrides = obj.fieldsOverrides;
|
|
8787
|
+
const path_fieldsOverrides = path + '.fieldsOverrides';
|
|
8788
|
+
if (!ArrayIsArray(obj_fieldsOverrides)) {
|
|
8789
|
+
return new TypeError('Expected "array" but received "' + typeof obj_fieldsOverrides + '" (at "' + path_fieldsOverrides + '")');
|
|
8790
|
+
}
|
|
8791
|
+
for (let i = 0; i < obj_fieldsOverrides.length; i++) {
|
|
8792
|
+
const obj_fieldsOverrides_item = obj_fieldsOverrides[i];
|
|
8793
|
+
const path_fieldsOverrides_item = path_fieldsOverrides + '[' + i + ']';
|
|
8794
|
+
const referencepath_fieldsOverrides_itemValidationError = validate$D(obj_fieldsOverrides_item, path_fieldsOverrides_item);
|
|
8795
|
+
if (referencepath_fieldsOverrides_itemValidationError !== null) {
|
|
8796
|
+
let message = 'Object doesn\'t match SemanticOverrideOutputRepresentation (at "' + path_fieldsOverrides_item + '")\n';
|
|
8797
|
+
message += referencepath_fieldsOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8798
|
+
return new TypeError(message);
|
|
8799
|
+
}
|
|
8800
|
+
}
|
|
8801
|
+
}
|
|
8039
8802
|
const obj_id = obj.id;
|
|
8040
8803
|
const path_id = path + '.id';
|
|
8041
8804
|
if (typeof obj_id !== 'string') {
|
|
@@ -8426,7 +9189,9 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
8426
9189
|
return input;
|
|
8427
9190
|
}
|
|
8428
9191
|
const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
8429
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
9192
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$Q();
|
|
9193
|
+
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$O();
|
|
9194
|
+
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$N();
|
|
8430
9195
|
return {
|
|
8431
9196
|
kind: 'Fragment',
|
|
8432
9197
|
version: VERSION$a,
|
|
@@ -8481,6 +9246,20 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
8481
9246
|
kind: 'Scalar',
|
|
8482
9247
|
required: false
|
|
8483
9248
|
},
|
|
9249
|
+
{
|
|
9250
|
+
name: 'externalConnections',
|
|
9251
|
+
kind: 'Object',
|
|
9252
|
+
plural: true,
|
|
9253
|
+
selections: SemanticModelExternalConnectionOutputRepresentation__selections,
|
|
9254
|
+
required: false
|
|
9255
|
+
},
|
|
9256
|
+
{
|
|
9257
|
+
name: 'fieldsOverrides',
|
|
9258
|
+
kind: 'Object',
|
|
9259
|
+
plural: true,
|
|
9260
|
+
selections: SemanticOverrideOutputRepresentation__selections,
|
|
9261
|
+
required: false
|
|
9262
|
+
},
|
|
8484
9263
|
{
|
|
8485
9264
|
name: 'id',
|
|
8486
9265
|
kind: 'Scalar'
|
|
@@ -8853,7 +9632,7 @@ function equals$a(existing, incoming) {
|
|
|
8853
9632
|
return false;
|
|
8854
9633
|
}
|
|
8855
9634
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
8856
|
-
if (!(equals$
|
|
9635
|
+
if (!(equals$A(existing_baseModels_item, incoming_baseModels_item))) {
|
|
8857
9636
|
return false;
|
|
8858
9637
|
}
|
|
8859
9638
|
});
|
|
@@ -8879,6 +9658,42 @@ function equals$a(existing, incoming) {
|
|
|
8879
9658
|
return false;
|
|
8880
9659
|
}
|
|
8881
9660
|
}
|
|
9661
|
+
const existing_externalConnections = existing.externalConnections;
|
|
9662
|
+
const incoming_externalConnections = incoming.externalConnections;
|
|
9663
|
+
// if at least one of these optionals is defined
|
|
9664
|
+
if (existing_externalConnections !== undefined || incoming_externalConnections !== undefined) {
|
|
9665
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9666
|
+
// not equal
|
|
9667
|
+
if (existing_externalConnections === undefined || incoming_externalConnections === undefined) {
|
|
9668
|
+
return false;
|
|
9669
|
+
}
|
|
9670
|
+
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
9671
|
+
if (!(equals$y(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
9672
|
+
return false;
|
|
9673
|
+
}
|
|
9674
|
+
});
|
|
9675
|
+
if (equals_externalConnections_items === false) {
|
|
9676
|
+
return false;
|
|
9677
|
+
}
|
|
9678
|
+
}
|
|
9679
|
+
const existing_fieldsOverrides = existing.fieldsOverrides;
|
|
9680
|
+
const incoming_fieldsOverrides = incoming.fieldsOverrides;
|
|
9681
|
+
// if at least one of these optionals is defined
|
|
9682
|
+
if (existing_fieldsOverrides !== undefined || incoming_fieldsOverrides !== undefined) {
|
|
9683
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9684
|
+
// not equal
|
|
9685
|
+
if (existing_fieldsOverrides === undefined || incoming_fieldsOverrides === undefined) {
|
|
9686
|
+
return false;
|
|
9687
|
+
}
|
|
9688
|
+
const equals_fieldsOverrides_items = equalsArray(existing_fieldsOverrides, incoming_fieldsOverrides, (existing_fieldsOverrides_item, incoming_fieldsOverrides_item) => {
|
|
9689
|
+
if (!(equals$x(existing_fieldsOverrides_item, incoming_fieldsOverrides_item))) {
|
|
9690
|
+
return false;
|
|
9691
|
+
}
|
|
9692
|
+
});
|
|
9693
|
+
if (equals_fieldsOverrides_items === false) {
|
|
9694
|
+
return false;
|
|
9695
|
+
}
|
|
9696
|
+
}
|
|
8882
9697
|
const existing_semanticCalculatedDimensions = existing.semanticCalculatedDimensions;
|
|
8883
9698
|
const incoming_semanticCalculatedDimensions = incoming.semanticCalculatedDimensions;
|
|
8884
9699
|
// if at least one of these optionals is defined
|
|
@@ -9157,6 +9972,8 @@ const createSemanticModel_ConfigPropertyMetadata = [
|
|
|
9157
9972
|
generateParamConfigMetadata('sourceCreation', false, 2 /* Body */, 0 /* String */),
|
|
9158
9973
|
generateParamConfigMetadata('sourceCreationName', false, 2 /* Body */, 0 /* String */),
|
|
9159
9974
|
generateParamConfigMetadata('baseModels', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9975
|
+
generateParamConfigMetadata('externalConnections', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9976
|
+
generateParamConfigMetadata('fieldsOverrides', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9160
9977
|
generateParamConfigMetadata('semanticCalculatedDimensions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9161
9978
|
generateParamConfigMetadata('semanticCalculatedMeasurements', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9162
9979
|
generateParamConfigMetadata('semanticDataObjects', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -9176,19 +9993,43 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9176
9993
|
const untrustedConfig_baseModels_array = [];
|
|
9177
9994
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
9178
9995
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
9179
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
9996
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$15(untrustedConfig_baseModels_item);
|
|
9180
9997
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
9181
9998
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
9182
9999
|
}
|
|
9183
10000
|
}
|
|
9184
10001
|
config.baseModels = untrustedConfig_baseModels_array;
|
|
9185
10002
|
}
|
|
10003
|
+
const untrustedConfig_externalConnections = untrustedConfig.externalConnections;
|
|
10004
|
+
if (ArrayIsArray$1(untrustedConfig_externalConnections)) {
|
|
10005
|
+
const untrustedConfig_externalConnections_array = [];
|
|
10006
|
+
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
10007
|
+
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
10008
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$13(untrustedConfig_externalConnections_item);
|
|
10009
|
+
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
10010
|
+
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
10011
|
+
}
|
|
10012
|
+
}
|
|
10013
|
+
config.externalConnections = untrustedConfig_externalConnections_array;
|
|
10014
|
+
}
|
|
10015
|
+
const untrustedConfig_fieldsOverrides = untrustedConfig.fieldsOverrides;
|
|
10016
|
+
if (ArrayIsArray$1(untrustedConfig_fieldsOverrides)) {
|
|
10017
|
+
const untrustedConfig_fieldsOverrides_array = [];
|
|
10018
|
+
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
10019
|
+
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
10020
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$12(untrustedConfig_fieldsOverrides_item);
|
|
10021
|
+
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
10022
|
+
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
10023
|
+
}
|
|
10024
|
+
}
|
|
10025
|
+
config.fieldsOverrides = untrustedConfig_fieldsOverrides_array;
|
|
10026
|
+
}
|
|
9186
10027
|
const untrustedConfig_semanticCalculatedDimensions = untrustedConfig.semanticCalculatedDimensions;
|
|
9187
10028
|
if (ArrayIsArray$1(untrustedConfig_semanticCalculatedDimensions)) {
|
|
9188
10029
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
9189
10030
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
9190
10031
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
9191
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
10032
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$10(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9192
10033
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
9193
10034
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9194
10035
|
}
|
|
@@ -9200,7 +10041,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9200
10041
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
9201
10042
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
9202
10043
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
9203
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate
|
|
10044
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9204
10045
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
9205
10046
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9206
10047
|
}
|
|
@@ -9212,7 +10053,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9212
10053
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
9213
10054
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
9214
10055
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
9215
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10056
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$Y(untrustedConfig_semanticDataObjects_item);
|
|
9216
10057
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
9217
10058
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
9218
10059
|
}
|
|
@@ -9224,7 +10065,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9224
10065
|
const untrustedConfig_semanticGroupings_array = [];
|
|
9225
10066
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
9226
10067
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
9227
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10068
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$R(untrustedConfig_semanticGroupings_item);
|
|
9228
10069
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
9229
10070
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
9230
10071
|
}
|
|
@@ -9236,7 +10077,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9236
10077
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
9237
10078
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
9238
10079
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
9239
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10080
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$M(untrustedConfig_semanticLogicalViews_item);
|
|
9240
10081
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
9241
10082
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
9242
10083
|
}
|
|
@@ -9248,7 +10089,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9248
10089
|
const untrustedConfig_semanticMetrics_array = [];
|
|
9249
10090
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
9250
10091
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
9251
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10092
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$I(untrustedConfig_semanticMetrics_item);
|
|
9252
10093
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
9253
10094
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
9254
10095
|
}
|
|
@@ -9260,7 +10101,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9260
10101
|
const untrustedConfig_semanticParameters_array = [];
|
|
9261
10102
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
9262
10103
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
9263
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10104
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$H(untrustedConfig_semanticParameters_item);
|
|
9264
10105
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
9265
10106
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
9266
10107
|
}
|
|
@@ -9272,7 +10113,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9272
10113
|
const untrustedConfig_semanticRelationships_array = [];
|
|
9273
10114
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
9274
10115
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
9275
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10116
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$P(untrustedConfig_semanticRelationships_item);
|
|
9276
10117
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
9277
10118
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
9278
10119
|
}
|
|
@@ -9344,7 +10185,7 @@ function validate$d(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
9344
10185
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
9345
10186
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
9346
10187
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
9347
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
10188
|
+
const referencepath_statusConditions_itemValidationError = validate$19(obj_statusConditions_item, path_statusConditions_item);
|
|
9348
10189
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
9349
10190
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionInputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
9350
10191
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9404,7 +10245,7 @@ function validate$b(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
9404
10245
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
9405
10246
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
9406
10247
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
9407
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
10248
|
+
const referencepath_statusConditions_itemValidationError = validate$17(obj_statusConditions_item, path_statusConditions_item);
|
|
9408
10249
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
9409
10250
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
9410
10251
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9685,7 +10526,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
9685
10526
|
const untrustedConfig_filters_array = [];
|
|
9686
10527
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
9687
10528
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
9688
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
10529
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$11(untrustedConfig_filters_item);
|
|
9689
10530
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
9690
10531
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
9691
10532
|
}
|
|
@@ -10455,7 +11296,7 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
|
|
|
10455
11296
|
};
|
|
10456
11297
|
|
|
10457
11298
|
function select$i(luvio, params) {
|
|
10458
|
-
return select$
|
|
11299
|
+
return select$S();
|
|
10459
11300
|
}
|
|
10460
11301
|
function keyBuilder$j(luvio, params) {
|
|
10461
11302
|
return keyBuilder$B(luvio, {
|
|
@@ -11765,7 +12606,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
11765
12606
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
11766
12607
|
const obj_baseModels_item = obj_baseModels[i];
|
|
11767
12608
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
11768
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
12609
|
+
const referencepath_baseModels_itemValidationError = validate$G(obj_baseModels_item, path_baseModels_item);
|
|
11769
12610
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
11770
12611
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
11771
12612
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11937,7 +12778,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
11937
12778
|
return v_error === undefined ? null : v_error;
|
|
11938
12779
|
}
|
|
11939
12780
|
const select$9 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
11940
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
12781
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$Q();
|
|
11941
12782
|
return {
|
|
11942
12783
|
kind: 'Fragment',
|
|
11943
12784
|
version: VERSION$2,
|
|
@@ -12308,7 +13149,7 @@ function equals$2(existing, incoming) {
|
|
|
12308
13149
|
return false;
|
|
12309
13150
|
}
|
|
12310
13151
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
12311
|
-
if (!(equals$
|
|
13152
|
+
if (!(equals$A(existing_baseModels_item, incoming_baseModels_item))) {
|
|
12312
13153
|
return false;
|
|
12313
13154
|
}
|
|
12314
13155
|
});
|
|
@@ -13347,7 +14188,7 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
13347
14188
|
const untrustedConfig_statusConditions_array = [];
|
|
13348
14189
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
13349
14190
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
13350
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
14191
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$19(untrustedConfig_statusConditions_item);
|
|
13351
14192
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
13352
14193
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
13353
14194
|
}
|
|
@@ -13448,6 +14289,8 @@ const patchSemanticModel_ConfigPropertyMetadata = [
|
|
|
13448
14289
|
generateParamConfigMetadata('sourceCreation', false, 2 /* Body */, 0 /* String */),
|
|
13449
14290
|
generateParamConfigMetadata('sourceCreationName', false, 2 /* Body */, 0 /* String */),
|
|
13450
14291
|
generateParamConfigMetadata('baseModels', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
14292
|
+
generateParamConfigMetadata('externalConnections', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
14293
|
+
generateParamConfigMetadata('fieldsOverrides', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
13451
14294
|
generateParamConfigMetadata('semanticCalculatedDimensions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
13452
14295
|
generateParamConfigMetadata('semanticCalculatedMeasurements', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
13453
14296
|
generateParamConfigMetadata('semanticDataObjects', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -13467,19 +14310,43 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13467
14310
|
const untrustedConfig_baseModels_array = [];
|
|
13468
14311
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
13469
14312
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
13470
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
14313
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$15(untrustedConfig_baseModels_item);
|
|
13471
14314
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
13472
14315
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
13473
14316
|
}
|
|
13474
14317
|
}
|
|
13475
14318
|
config.baseModels = untrustedConfig_baseModels_array;
|
|
13476
14319
|
}
|
|
14320
|
+
const untrustedConfig_externalConnections = untrustedConfig.externalConnections;
|
|
14321
|
+
if (ArrayIsArray$1(untrustedConfig_externalConnections)) {
|
|
14322
|
+
const untrustedConfig_externalConnections_array = [];
|
|
14323
|
+
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
14324
|
+
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
14325
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$13(untrustedConfig_externalConnections_item);
|
|
14326
|
+
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
14327
|
+
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
14328
|
+
}
|
|
14329
|
+
}
|
|
14330
|
+
config.externalConnections = untrustedConfig_externalConnections_array;
|
|
14331
|
+
}
|
|
14332
|
+
const untrustedConfig_fieldsOverrides = untrustedConfig.fieldsOverrides;
|
|
14333
|
+
if (ArrayIsArray$1(untrustedConfig_fieldsOverrides)) {
|
|
14334
|
+
const untrustedConfig_fieldsOverrides_array = [];
|
|
14335
|
+
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
14336
|
+
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
14337
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$12(untrustedConfig_fieldsOverrides_item);
|
|
14338
|
+
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
14339
|
+
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
14340
|
+
}
|
|
14341
|
+
}
|
|
14342
|
+
config.fieldsOverrides = untrustedConfig_fieldsOverrides_array;
|
|
14343
|
+
}
|
|
13477
14344
|
const untrustedConfig_semanticCalculatedDimensions = untrustedConfig.semanticCalculatedDimensions;
|
|
13478
14345
|
if (ArrayIsArray$1(untrustedConfig_semanticCalculatedDimensions)) {
|
|
13479
14346
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
13480
14347
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
13481
14348
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
13482
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
14349
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$10(untrustedConfig_semanticCalculatedDimensions_item);
|
|
13483
14350
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
13484
14351
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
13485
14352
|
}
|
|
@@ -13491,7 +14358,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13491
14358
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
13492
14359
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
13493
14360
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
13494
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate
|
|
14361
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
13495
14362
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
13496
14363
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
13497
14364
|
}
|
|
@@ -13503,7 +14370,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13503
14370
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
13504
14371
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
13505
14372
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
13506
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
14373
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$Y(untrustedConfig_semanticDataObjects_item);
|
|
13507
14374
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
13508
14375
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
13509
14376
|
}
|
|
@@ -13515,7 +14382,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13515
14382
|
const untrustedConfig_semanticGroupings_array = [];
|
|
13516
14383
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
13517
14384
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
13518
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
14385
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$R(untrustedConfig_semanticGroupings_item);
|
|
13519
14386
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
13520
14387
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
13521
14388
|
}
|
|
@@ -13527,7 +14394,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13527
14394
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
13528
14395
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
13529
14396
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
13530
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
14397
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$M(untrustedConfig_semanticLogicalViews_item);
|
|
13531
14398
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
13532
14399
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
13533
14400
|
}
|
|
@@ -13539,7 +14406,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13539
14406
|
const untrustedConfig_semanticMetrics_array = [];
|
|
13540
14407
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
13541
14408
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
13542
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
14409
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$I(untrustedConfig_semanticMetrics_item);
|
|
13543
14410
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
13544
14411
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
13545
14412
|
}
|
|
@@ -13551,7 +14418,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13551
14418
|
const untrustedConfig_semanticParameters_array = [];
|
|
13552
14419
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
13553
14420
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
13554
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
14421
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$H(untrustedConfig_semanticParameters_item);
|
|
13555
14422
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
13556
14423
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
13557
14424
|
}
|
|
@@ -13563,7 +14430,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13563
14430
|
const untrustedConfig_semanticRelationships_array = [];
|
|
13564
14431
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
13565
14432
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
13566
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
14433
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$P(untrustedConfig_semanticRelationships_item);
|
|
13567
14434
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
13568
14435
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
13569
14436
|
}
|
|
@@ -13615,7 +14482,7 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
13615
14482
|
};
|
|
13616
14483
|
|
|
13617
14484
|
function select(luvio, params) {
|
|
13618
|
-
return select$
|
|
14485
|
+
return select$S();
|
|
13619
14486
|
}
|
|
13620
14487
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
13621
14488
|
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
@@ -13671,7 +14538,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
13671
14538
|
const config = {};
|
|
13672
14539
|
typeCheckConfig$k(untrustedConfig, config, updateSemanticGoal_ConfigPropertyMetadata);
|
|
13673
14540
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
13674
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
14541
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$1a(untrustedConfig_dateRange);
|
|
13675
14542
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
13676
14543
|
config.dateRange = untrustedConfig_dateRange;
|
|
13677
14544
|
}
|
|
@@ -13680,7 +14547,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
13680
14547
|
const untrustedConfig_statusConditions_array = [];
|
|
13681
14548
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
13682
14549
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
13683
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
14550
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$19(untrustedConfig_statusConditions_item);
|
|
13684
14551
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
13685
14552
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
13686
14553
|
}
|
|
@@ -13895,4 +14762,4 @@ withDefaultLuvio((luvio) => {
|
|
|
13895
14762
|
});
|
|
13896
14763
|
|
|
13897
14764
|
export { createSemanticGoal, createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticGoal, deleteSemanticSubMetric, getLeafDependenciesByTypes, getLeafDependenciesByTypes_imperative, getSemanticGoal, getSemanticGoalNotifyChange, getSemanticGoal_imperative, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticMetricGoal, patchSemanticModel, updateSemanticGoal };
|
|
13898
|
-
// version: 1.
|
|
14765
|
+
// version: 1.353.0-330d59cfcb
|