@salesforce/lds-adapters-cdp-semantic-authoring 1.351.1 → 1.352.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 +794 -207
- package/dist/es/es2018/types/src/generated/adapters/createSemanticModel.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/adapters/patchSemanticModel.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsByModelApiNameOrId.d.ts +2 -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 +2 -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 +2 -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/SemanticCalculatedDimensionOutputRepresentation.d.ts +10 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +10 -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 +5 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +5 -1
- package/package.json +3 -3
- package/sfdc/index.js +701 -114
- package/src/raml/api.raml +220 -0
package/sfdc/index.js
CHANGED
|
@@ -102,7 +102,7 @@ function createLink(ref) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
function validate$
|
|
105
|
+
function validate$18(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$17(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$16(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$15(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$A = "a6367e92be7c02cf72fcdd9bad3cf81d";
|
|
240
|
+
function validate$14(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$16(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$15(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$R = function SemanticGoalOutputRepresentationSelect() {
|
|
359
359
|
return {
|
|
360
360
|
kind: 'Fragment',
|
|
361
|
-
version: VERSION$
|
|
361
|
+
version: VERSION$A,
|
|
362
362
|
private: [],
|
|
363
363
|
opaque: true
|
|
364
364
|
};
|
|
365
365
|
};
|
|
366
|
-
function equals$
|
|
366
|
+
function equals$A(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$14(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$A, RepresentationType$i, equals$A);
|
|
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$Q(luvio, params) {
|
|
395
|
+
return select$R();
|
|
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$Q(),
|
|
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$18(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$17(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$13(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,72 @@ function validate$$(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
521
521
|
return v_error === undefined ? null : v_error;
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
function validate$
|
|
524
|
+
function validate$12(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$11(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$12(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$10(obj, path = 'SemanticFilterInputRepresentation') {
|
|
525
590
|
const v_error = (() => {
|
|
526
591
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
527
592
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -551,7 +616,7 @@ function validate$_(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
551
616
|
return v_error === undefined ? null : v_error;
|
|
552
617
|
}
|
|
553
618
|
|
|
554
|
-
function validate
|
|
619
|
+
function validate$$(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
555
620
|
const v_error = (() => {
|
|
556
621
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
557
622
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -614,7 +679,7 @@ function validate$Z(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
614
679
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
615
680
|
const obj_filters_item = obj_filters[i];
|
|
616
681
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
617
|
-
const referencepath_filters_itemValidationError = validate$
|
|
682
|
+
const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
|
|
618
683
|
if (referencepath_filters_itemValidationError !== null) {
|
|
619
684
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
620
685
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -661,7 +726,7 @@ function validate$Z(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
661
726
|
return v_error === undefined ? null : v_error;
|
|
662
727
|
}
|
|
663
728
|
|
|
664
|
-
function validate$
|
|
729
|
+
function validate$_(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
665
730
|
const v_error = (() => {
|
|
666
731
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
667
732
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -738,7 +803,7 @@ function validate$Y(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
738
803
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
739
804
|
const obj_filters_item = obj_filters[i];
|
|
740
805
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
741
|
-
const referencepath_filters_itemValidationError = validate$
|
|
806
|
+
const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
|
|
742
807
|
if (referencepath_filters_itemValidationError !== null) {
|
|
743
808
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
744
809
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -806,7 +871,7 @@ function validate$Y(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
806
871
|
return v_error === undefined ? null : v_error;
|
|
807
872
|
}
|
|
808
873
|
|
|
809
|
-
function validate$
|
|
874
|
+
function validate$Z(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
810
875
|
const v_error = (() => {
|
|
811
876
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
812
877
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -885,7 +950,7 @@ function validate$X(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
885
950
|
return v_error === undefined ? null : v_error;
|
|
886
951
|
}
|
|
887
952
|
|
|
888
|
-
function validate$
|
|
953
|
+
function validate$Y(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
889
954
|
const v_error = (() => {
|
|
890
955
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
891
956
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -992,7 +1057,7 @@ function validate$W(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
992
1057
|
return v_error === undefined ? null : v_error;
|
|
993
1058
|
}
|
|
994
1059
|
|
|
995
|
-
function validate$
|
|
1060
|
+
function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
996
1061
|
const v_error = (() => {
|
|
997
1062
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
998
1063
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1041,7 +1106,7 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1041
1106
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1042
1107
|
const obj_filters_item = obj_filters[i];
|
|
1043
1108
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1044
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1109
|
+
const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
|
|
1045
1110
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1046
1111
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1047
1112
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1072,7 +1137,7 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1072
1137
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
1073
1138
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
1074
1139
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
1075
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
1140
|
+
const referencepath_semanticDimensions_itemValidationError = validate$Z(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
1076
1141
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
1077
1142
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
1078
1143
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1089,7 +1154,7 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1089
1154
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
1090
1155
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
1091
1156
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
1092
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
1157
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$Y(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
1093
1158
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
1094
1159
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
1095
1160
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1104,11 +1169,18 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1104
1169
|
return new TypeError('Expected "boolean" but received "' + typeof obj_shouldIncludeAllFields + '" (at "' + path_shouldIncludeAllFields + '")');
|
|
1105
1170
|
}
|
|
1106
1171
|
}
|
|
1172
|
+
if (obj.tableType !== undefined) {
|
|
1173
|
+
const obj_tableType = obj.tableType;
|
|
1174
|
+
const path_tableType = path + '.tableType';
|
|
1175
|
+
if (typeof obj_tableType !== 'string') {
|
|
1176
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1107
1179
|
})();
|
|
1108
1180
|
return v_error === undefined ? null : v_error;
|
|
1109
1181
|
}
|
|
1110
1182
|
|
|
1111
|
-
function validate$
|
|
1183
|
+
function validate$W(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
1112
1184
|
const v_error = (() => {
|
|
1113
1185
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1114
1186
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1120,7 +1192,7 @@ function validate$U(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
1120
1192
|
return v_error === undefined ? null : v_error;
|
|
1121
1193
|
}
|
|
1122
1194
|
|
|
1123
|
-
function validate$
|
|
1195
|
+
function validate$V(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
1124
1196
|
const v_error = (() => {
|
|
1125
1197
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1126
1198
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1150,7 +1222,7 @@ function validate$T(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
1150
1222
|
return v_error === undefined ? null : v_error;
|
|
1151
1223
|
}
|
|
1152
1224
|
|
|
1153
|
-
function validate$
|
|
1225
|
+
function validate$U(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
1154
1226
|
const v_error = (() => {
|
|
1155
1227
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1156
1228
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1164,7 +1236,7 @@ function validate$S(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1164
1236
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
1165
1237
|
const obj_groups_item = obj_groups[i];
|
|
1166
1238
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
1167
|
-
const referencepath_groups_itemValidationError = validate$
|
|
1239
|
+
const referencepath_groups_itemValidationError = validate$V(obj_groups_item, path_groups_item);
|
|
1168
1240
|
if (referencepath_groups_itemValidationError !== null) {
|
|
1169
1241
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
1170
1242
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1183,7 +1255,7 @@ function validate$S(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1183
1255
|
return v_error === undefined ? null : v_error;
|
|
1184
1256
|
}
|
|
1185
1257
|
|
|
1186
|
-
function validate$
|
|
1258
|
+
function validate$T(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
1187
1259
|
const v_error = (() => {
|
|
1188
1260
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1189
1261
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1191,7 +1263,7 @@ function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1191
1263
|
if (obj.binDimension !== undefined) {
|
|
1192
1264
|
const obj_binDimension = obj.binDimension;
|
|
1193
1265
|
const path_binDimension = path + '.binDimension';
|
|
1194
|
-
const referencepath_binDimensionValidationError = validate$
|
|
1266
|
+
const referencepath_binDimensionValidationError = validate$W(obj_binDimension, path_binDimension);
|
|
1195
1267
|
if (referencepath_binDimensionValidationError !== null) {
|
|
1196
1268
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
1197
1269
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1201,7 +1273,7 @@ function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1201
1273
|
if (obj.groupDimension !== undefined) {
|
|
1202
1274
|
const obj_groupDimension = obj.groupDimension;
|
|
1203
1275
|
const path_groupDimension = path + '.groupDimension';
|
|
1204
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
1276
|
+
const referencepath_groupDimensionValidationError = validate$U(obj_groupDimension, path_groupDimension);
|
|
1205
1277
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
1206
1278
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
1207
1279
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1212,7 +1284,7 @@ function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1212
1284
|
return v_error === undefined ? null : v_error;
|
|
1213
1285
|
}
|
|
1214
1286
|
|
|
1215
|
-
function validate$
|
|
1287
|
+
function validate$S(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
1216
1288
|
const v_error = (() => {
|
|
1217
1289
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1218
1290
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1235,7 +1307,7 @@ function validate$Q(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
1235
1307
|
return v_error === undefined ? null : v_error;
|
|
1236
1308
|
}
|
|
1237
1309
|
|
|
1238
|
-
function validate$
|
|
1310
|
+
function validate$R(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
1239
1311
|
const v_error = (() => {
|
|
1240
1312
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1241
1313
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1250,7 +1322,7 @@ function validate$P(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1250
1322
|
if (obj.tableFieldReference !== undefined) {
|
|
1251
1323
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
1252
1324
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
1253
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
1325
|
+
const referencepath_tableFieldReferenceValidationError = validate$S(obj_tableFieldReference, path_tableFieldReference);
|
|
1254
1326
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
1255
1327
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
1256
1328
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1261,7 +1333,7 @@ function validate$P(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1261
1333
|
return v_error === undefined ? null : v_error;
|
|
1262
1334
|
}
|
|
1263
1335
|
|
|
1264
|
-
function validate$
|
|
1336
|
+
function validate$Q(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
1265
1337
|
const v_error = (() => {
|
|
1266
1338
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1267
1339
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1276,7 +1348,7 @@ function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1276
1348
|
if (obj.configuration !== undefined) {
|
|
1277
1349
|
const obj_configuration = obj.configuration;
|
|
1278
1350
|
const path_configuration = path + '.configuration';
|
|
1279
|
-
const referencepath_configurationValidationError = validate$
|
|
1351
|
+
const referencepath_configurationValidationError = validate$T(obj_configuration, path_configuration);
|
|
1280
1352
|
if (referencepath_configurationValidationError !== null) {
|
|
1281
1353
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
1282
1354
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1293,7 +1365,7 @@ function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1293
1365
|
if (obj.fieldReference !== undefined) {
|
|
1294
1366
|
const obj_fieldReference = obj.fieldReference;
|
|
1295
1367
|
const path_fieldReference = path + '.fieldReference';
|
|
1296
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
1368
|
+
const referencepath_fieldReferenceValidationError = validate$R(obj_fieldReference, path_fieldReference);
|
|
1297
1369
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
1298
1370
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
1299
1371
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1318,7 +1390,7 @@ function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1318
1390
|
return v_error === undefined ? null : v_error;
|
|
1319
1391
|
}
|
|
1320
1392
|
|
|
1321
|
-
function validate$
|
|
1393
|
+
function validate$P(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
1322
1394
|
const v_error = (() => {
|
|
1323
1395
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1324
1396
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1362,7 +1434,7 @@ function validate$N(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
1362
1434
|
return v_error === undefined ? null : v_error;
|
|
1363
1435
|
}
|
|
1364
1436
|
|
|
1365
|
-
function validate$
|
|
1437
|
+
function validate$O(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
1366
1438
|
const v_error = (() => {
|
|
1367
1439
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1368
1440
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1390,7 +1462,7 @@ function validate$M(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1390
1462
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
1391
1463
|
const obj_criteria_item = obj_criteria[i];
|
|
1392
1464
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
1393
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
1465
|
+
const referencepath_criteria_itemValidationError = validate$P(obj_criteria_item, path_criteria_item);
|
|
1394
1466
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
1395
1467
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
1396
1468
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1451,7 +1523,7 @@ function validate$M(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1451
1523
|
return v_error === undefined ? null : v_error;
|
|
1452
1524
|
}
|
|
1453
1525
|
|
|
1454
|
-
function validate$
|
|
1526
|
+
function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
1455
1527
|
const v_error = (() => {
|
|
1456
1528
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1457
1529
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1479,7 +1551,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1479
1551
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
1480
1552
|
const obj_fields_item = obj_fields[i];
|
|
1481
1553
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
1482
|
-
const referencepath_fields_itemValidationError = validate$
|
|
1554
|
+
const referencepath_fields_itemValidationError = validate$S(obj_fields_item, path_fields_item);
|
|
1483
1555
|
if (referencepath_fields_itemValidationError !== null) {
|
|
1484
1556
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
1485
1557
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1504,7 +1576,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1504
1576
|
if (obj.semanticDimension !== undefined) {
|
|
1505
1577
|
const obj_semanticDimension = obj.semanticDimension;
|
|
1506
1578
|
const path_semanticDimension = path + '.semanticDimension';
|
|
1507
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
1579
|
+
const referencepath_semanticDimensionValidationError = validate$Z(obj_semanticDimension, path_semanticDimension);
|
|
1508
1580
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
1509
1581
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
1510
1582
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1514,7 +1586,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1514
1586
|
if (obj.semanticMeasurement !== undefined) {
|
|
1515
1587
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
1516
1588
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
1517
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
1589
|
+
const referencepath_semanticMeasurementValidationError = validate$Y(obj_semanticMeasurement, path_semanticMeasurement);
|
|
1518
1590
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
1519
1591
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
1520
1592
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1525,7 +1597,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1525
1597
|
return v_error === undefined ? null : v_error;
|
|
1526
1598
|
}
|
|
1527
1599
|
|
|
1528
|
-
function validate$
|
|
1600
|
+
function validate$M(obj, path = 'SemanticUnionInputRepresentation') {
|
|
1529
1601
|
const v_error = (() => {
|
|
1530
1602
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1531
1603
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1560,7 +1632,7 @@ function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1560
1632
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1561
1633
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1562
1634
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1563
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1635
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$X(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1564
1636
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1565
1637
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1566
1638
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1577,7 +1649,7 @@ function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1577
1649
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
1578
1650
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
1579
1651
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
1580
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
1652
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$N(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
1581
1653
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
1582
1654
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
1583
1655
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1589,7 +1661,7 @@ function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1589
1661
|
return v_error === undefined ? null : v_error;
|
|
1590
1662
|
}
|
|
1591
1663
|
|
|
1592
|
-
function validate$
|
|
1664
|
+
function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
1593
1665
|
const v_error = (() => {
|
|
1594
1666
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1595
1667
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1631,7 +1703,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1631
1703
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1632
1704
|
const obj_filters_item = obj_filters[i];
|
|
1633
1705
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1634
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1706
|
+
const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
|
|
1635
1707
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1636
1708
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1637
1709
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1655,7 +1727,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1655
1727
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1656
1728
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1657
1729
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1658
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1730
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$X(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1659
1731
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1660
1732
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1661
1733
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1672,7 +1744,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1672
1744
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
1673
1745
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
1674
1746
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
1675
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
1747
|
+
const referencepath_semanticRelationships_itemValidationError = validate$O(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
1676
1748
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
1677
1749
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
1678
1750
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1689,7 +1761,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1689
1761
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
1690
1762
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
1691
1763
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
1692
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
1764
|
+
const referencepath_semanticUnions_itemValidationError = validate$M(obj_semanticUnions_item, path_semanticUnions_item);
|
|
1693
1765
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
1694
1766
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
1695
1767
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1697,11 +1769,18 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1697
1769
|
}
|
|
1698
1770
|
}
|
|
1699
1771
|
}
|
|
1772
|
+
if (obj.tableType !== undefined) {
|
|
1773
|
+
const obj_tableType = obj.tableType;
|
|
1774
|
+
const path_tableType = path + '.tableType';
|
|
1775
|
+
if (typeof obj_tableType !== 'string') {
|
|
1776
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1700
1779
|
})();
|
|
1701
1780
|
return v_error === undefined ? null : v_error;
|
|
1702
1781
|
}
|
|
1703
1782
|
|
|
1704
|
-
function validate$
|
|
1783
|
+
function validate$K(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
1705
1784
|
const v_error = (() => {
|
|
1706
1785
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1707
1786
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1709,7 +1788,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1709
1788
|
if (obj.identifierDimensionReference !== undefined) {
|
|
1710
1789
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
1711
1790
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
1712
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
1791
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$R(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
1713
1792
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
1714
1793
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
1715
1794
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1719,7 +1798,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1719
1798
|
if (obj.namingDimensionReference !== undefined) {
|
|
1720
1799
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
1721
1800
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
1722
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
1801
|
+
const referencepath_namingDimensionReferenceValidationError = validate$R(obj_namingDimensionReference, path_namingDimensionReference);
|
|
1723
1802
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
1724
1803
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
1725
1804
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1730,7 +1809,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1730
1809
|
return v_error === undefined ? null : v_error;
|
|
1731
1810
|
}
|
|
1732
1811
|
|
|
1733
|
-
function validate$
|
|
1812
|
+
function validate$J(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
1734
1813
|
const v_error = (() => {
|
|
1735
1814
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1736
1815
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1753,7 +1832,7 @@ function validate$H(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
1753
1832
|
return v_error === undefined ? null : v_error;
|
|
1754
1833
|
}
|
|
1755
1834
|
|
|
1756
|
-
function validate$
|
|
1835
|
+
function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
1757
1836
|
const v_error = (() => {
|
|
1758
1837
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1759
1838
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1761,7 +1840,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1761
1840
|
if (obj.identifyingDimension !== undefined) {
|
|
1762
1841
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
1763
1842
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
1764
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
1843
|
+
const referencepath_identifyingDimensionValidationError = validate$K(obj_identifyingDimension, path_identifyingDimension);
|
|
1765
1844
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
1766
1845
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
1767
1846
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1777,7 +1856,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1777
1856
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
1778
1857
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
1779
1858
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
1780
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
1859
|
+
const referencepath_insightTypes_itemValidationError = validate$J(obj_insightTypes_item, path_insightTypes_item);
|
|
1781
1860
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
1782
1861
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
1783
1862
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1794,7 +1873,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1794
1873
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
1795
1874
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
1796
1875
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
1797
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
1876
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$R(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
1798
1877
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
1799
1878
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
1800
1879
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1827,7 +1906,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1827
1906
|
return v_error === undefined ? null : v_error;
|
|
1828
1907
|
}
|
|
1829
1908
|
|
|
1830
|
-
function validate$
|
|
1909
|
+
function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
1831
1910
|
const v_error = (() => {
|
|
1832
1911
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1833
1912
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1841,7 +1920,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1841
1920
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
1842
1921
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
1843
1922
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
1844
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
1923
|
+
const referencepath_additionalDimensions_itemValidationError = validate$R(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
1845
1924
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
1846
1925
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
1847
1926
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1886,7 +1965,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1886
1965
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1887
1966
|
const obj_filters_item = obj_filters[i];
|
|
1888
1967
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1889
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1968
|
+
const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
|
|
1890
1969
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1891
1970
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1892
1971
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1897,7 +1976,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1897
1976
|
if (obj.insightsSettings !== undefined) {
|
|
1898
1977
|
const obj_insightsSettings = obj.insightsSettings;
|
|
1899
1978
|
const path_insightsSettings = path + '.insightsSettings';
|
|
1900
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
1979
|
+
const referencepath_insightsSettingsValidationError = validate$I(obj_insightsSettings, path_insightsSettings);
|
|
1901
1980
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
1902
1981
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
1903
1982
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1921,7 +2000,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1921
2000
|
if (obj.measurementReference !== undefined) {
|
|
1922
2001
|
const obj_measurementReference = obj.measurementReference;
|
|
1923
2002
|
const path_measurementReference = path + '.measurementReference';
|
|
1924
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
2003
|
+
const referencepath_measurementReferenceValidationError = validate$R(obj_measurementReference, path_measurementReference);
|
|
1925
2004
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
1926
2005
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
1927
2006
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1931,7 +2010,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1931
2010
|
if (obj.timeDimensionReference !== undefined) {
|
|
1932
2011
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
1933
2012
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
1934
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
2013
|
+
const referencepath_timeDimensionReferenceValidationError = validate$R(obj_timeDimensionReference, path_timeDimensionReference);
|
|
1935
2014
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
1936
2015
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
1937
2016
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1956,7 +2035,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1956
2035
|
return v_error === undefined ? null : v_error;
|
|
1957
2036
|
}
|
|
1958
2037
|
|
|
1959
|
-
function validate$
|
|
2038
|
+
function validate$G(obj, path = 'SemanticParameterInputRepresentation') {
|
|
1960
2039
|
const v_error = (() => {
|
|
1961
2040
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1962
2041
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2056,8 +2135,8 @@ function validate$E(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
2056
2135
|
return v_error === undefined ? null : v_error;
|
|
2057
2136
|
}
|
|
2058
2137
|
|
|
2059
|
-
const VERSION$
|
|
2060
|
-
function validate$
|
|
2138
|
+
const VERSION$z = "3a32d382e7a2268096278aa8e5c6761a";
|
|
2139
|
+
function validate$F(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
2061
2140
|
const v_error = (() => {
|
|
2062
2141
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2063
2142
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2077,7 +2156,174 @@ function validate$D(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
|
2077
2156
|
})();
|
|
2078
2157
|
return v_error === undefined ? null : v_error;
|
|
2079
2158
|
}
|
|
2080
|
-
const select$
|
|
2159
|
+
const select$P = function SemanticBaseModelOutputRepresentationSelect() {
|
|
2160
|
+
return {
|
|
2161
|
+
kind: 'Fragment',
|
|
2162
|
+
version: VERSION$z,
|
|
2163
|
+
private: [],
|
|
2164
|
+
selections: [
|
|
2165
|
+
{
|
|
2166
|
+
name: 'apiName',
|
|
2167
|
+
kind: 'Scalar'
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
name: 'label',
|
|
2171
|
+
kind: 'Scalar',
|
|
2172
|
+
required: false
|
|
2173
|
+
}
|
|
2174
|
+
]
|
|
2175
|
+
};
|
|
2176
|
+
};
|
|
2177
|
+
function equals$z(existing, incoming) {
|
|
2178
|
+
const existing_apiName = existing.apiName;
|
|
2179
|
+
const incoming_apiName = incoming.apiName;
|
|
2180
|
+
if (!(existing_apiName === incoming_apiName)) {
|
|
2181
|
+
return false;
|
|
2182
|
+
}
|
|
2183
|
+
const existing_label = existing.label;
|
|
2184
|
+
const incoming_label = incoming.label;
|
|
2185
|
+
// if at least one of these optionals is defined
|
|
2186
|
+
if (existing_label !== undefined || incoming_label !== undefined) {
|
|
2187
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2188
|
+
// not equal
|
|
2189
|
+
if (existing_label === undefined || incoming_label === undefined) {
|
|
2190
|
+
return false;
|
|
2191
|
+
}
|
|
2192
|
+
if (!(existing_label === incoming_label)) {
|
|
2193
|
+
return false;
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
return true;
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
const VERSION$y = "221b0931360d7fcb0a1402b0b82071bd";
|
|
2200
|
+
function validate$E(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation') {
|
|
2201
|
+
const v_error = (() => {
|
|
2202
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2203
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2204
|
+
}
|
|
2205
|
+
const obj_dataSourceId = obj.dataSourceId;
|
|
2206
|
+
const path_dataSourceId = path + '.dataSourceId';
|
|
2207
|
+
if (typeof obj_dataSourceId !== 'string') {
|
|
2208
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataSourceId + '" (at "' + path_dataSourceId + '")');
|
|
2209
|
+
}
|
|
2210
|
+
const obj_siteId = obj.siteId;
|
|
2211
|
+
const path_siteId = path + '.siteId';
|
|
2212
|
+
if (typeof obj_siteId !== 'string') {
|
|
2213
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteId + '" (at "' + path_siteId + '")');
|
|
2214
|
+
}
|
|
2215
|
+
const obj_siteName = obj.siteName;
|
|
2216
|
+
const path_siteName = path + '.siteName';
|
|
2217
|
+
if (typeof obj_siteName !== 'string') {
|
|
2218
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteName + '" (at "' + path_siteName + '")');
|
|
2219
|
+
}
|
|
2220
|
+
const obj_siteUrl = obj.siteUrl;
|
|
2221
|
+
const path_siteUrl = path + '.siteUrl';
|
|
2222
|
+
if (typeof obj_siteUrl !== 'string') {
|
|
2223
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteUrl + '" (at "' + path_siteUrl + '")');
|
|
2224
|
+
}
|
|
2225
|
+
})();
|
|
2226
|
+
return v_error === undefined ? null : v_error;
|
|
2227
|
+
}
|
|
2228
|
+
const select$O = function SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentationSelect() {
|
|
2229
|
+
return {
|
|
2230
|
+
kind: 'Fragment',
|
|
2231
|
+
version: VERSION$y,
|
|
2232
|
+
private: [],
|
|
2233
|
+
selections: [
|
|
2234
|
+
{
|
|
2235
|
+
name: 'dataSourceId',
|
|
2236
|
+
kind: 'Scalar'
|
|
2237
|
+
},
|
|
2238
|
+
{
|
|
2239
|
+
name: 'siteId',
|
|
2240
|
+
kind: 'Scalar'
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
name: 'siteName',
|
|
2244
|
+
kind: 'Scalar'
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
name: 'siteUrl',
|
|
2248
|
+
kind: 'Scalar'
|
|
2249
|
+
}
|
|
2250
|
+
]
|
|
2251
|
+
};
|
|
2252
|
+
};
|
|
2253
|
+
function equals$y(existing, incoming) {
|
|
2254
|
+
const existing_dataSourceId = existing.dataSourceId;
|
|
2255
|
+
const incoming_dataSourceId = incoming.dataSourceId;
|
|
2256
|
+
if (!(existing_dataSourceId === incoming_dataSourceId)) {
|
|
2257
|
+
return false;
|
|
2258
|
+
}
|
|
2259
|
+
const existing_siteId = existing.siteId;
|
|
2260
|
+
const incoming_siteId = incoming.siteId;
|
|
2261
|
+
if (!(existing_siteId === incoming_siteId)) {
|
|
2262
|
+
return false;
|
|
2263
|
+
}
|
|
2264
|
+
const existing_siteName = existing.siteName;
|
|
2265
|
+
const incoming_siteName = incoming.siteName;
|
|
2266
|
+
if (!(existing_siteName === incoming_siteName)) {
|
|
2267
|
+
return false;
|
|
2268
|
+
}
|
|
2269
|
+
const existing_siteUrl = existing.siteUrl;
|
|
2270
|
+
const incoming_siteUrl = incoming.siteUrl;
|
|
2271
|
+
if (!(existing_siteUrl === incoming_siteUrl)) {
|
|
2272
|
+
return false;
|
|
2273
|
+
}
|
|
2274
|
+
return true;
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
const VERSION$x = "e760a2becca995f7bd15e714d50c088c";
|
|
2278
|
+
function validate$D(obj, path = 'SemanticModelExternalConnectionOutputRepresentation') {
|
|
2279
|
+
const v_error = (() => {
|
|
2280
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2281
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2282
|
+
}
|
|
2283
|
+
const obj_apiName = obj.apiName;
|
|
2284
|
+
const path_apiName = path + '.apiName';
|
|
2285
|
+
if (typeof obj_apiName !== 'string') {
|
|
2286
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
2287
|
+
}
|
|
2288
|
+
if (obj.baseModelApiName !== undefined) {
|
|
2289
|
+
const obj_baseModelApiName = obj.baseModelApiName;
|
|
2290
|
+
const path_baseModelApiName = path + '.baseModelApiName';
|
|
2291
|
+
if (typeof obj_baseModelApiName !== 'string') {
|
|
2292
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
const obj_id = obj.id;
|
|
2296
|
+
const path_id = path + '.id';
|
|
2297
|
+
if (typeof obj_id !== 'string') {
|
|
2298
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2299
|
+
}
|
|
2300
|
+
if (obj.label !== undefined) {
|
|
2301
|
+
const obj_label = obj.label;
|
|
2302
|
+
const path_label = path + '.label';
|
|
2303
|
+
if (typeof obj_label !== 'string') {
|
|
2304
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
2305
|
+
}
|
|
2306
|
+
}
|
|
2307
|
+
if (obj.tableauPublishedDataSource !== undefined) {
|
|
2308
|
+
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
2309
|
+
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
2310
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$E(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
2311
|
+
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
2312
|
+
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
2313
|
+
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2314
|
+
return new TypeError(message);
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2317
|
+
const obj_type = obj.type;
|
|
2318
|
+
const path_type = path + '.type';
|
|
2319
|
+
if (typeof obj_type !== 'string') {
|
|
2320
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
2321
|
+
}
|
|
2322
|
+
})();
|
|
2323
|
+
return v_error === undefined ? null : v_error;
|
|
2324
|
+
}
|
|
2325
|
+
const select$N = function SemanticModelExternalConnectionOutputRepresentationSelect() {
|
|
2326
|
+
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$O();
|
|
2081
2327
|
return {
|
|
2082
2328
|
kind: 'Fragment',
|
|
2083
2329
|
version: VERSION$x,
|
|
@@ -2087,10 +2333,29 @@ const select$N = function SemanticBaseModelOutputRepresentationSelect() {
|
|
|
2087
2333
|
name: 'apiName',
|
|
2088
2334
|
kind: 'Scalar'
|
|
2089
2335
|
},
|
|
2336
|
+
{
|
|
2337
|
+
name: 'baseModelApiName',
|
|
2338
|
+
kind: 'Scalar',
|
|
2339
|
+
required: false
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
name: 'id',
|
|
2343
|
+
kind: 'Scalar'
|
|
2344
|
+
},
|
|
2090
2345
|
{
|
|
2091
2346
|
name: 'label',
|
|
2092
2347
|
kind: 'Scalar',
|
|
2093
2348
|
required: false
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
name: 'tableauPublishedDataSource',
|
|
2352
|
+
kind: 'Object',
|
|
2353
|
+
selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections,
|
|
2354
|
+
required: false
|
|
2355
|
+
},
|
|
2356
|
+
{
|
|
2357
|
+
name: 'type',
|
|
2358
|
+
kind: 'Scalar'
|
|
2094
2359
|
}
|
|
2095
2360
|
]
|
|
2096
2361
|
};
|
|
@@ -2101,6 +2366,24 @@ function equals$x(existing, incoming) {
|
|
|
2101
2366
|
if (!(existing_apiName === incoming_apiName)) {
|
|
2102
2367
|
return false;
|
|
2103
2368
|
}
|
|
2369
|
+
const existing_baseModelApiName = existing.baseModelApiName;
|
|
2370
|
+
const incoming_baseModelApiName = incoming.baseModelApiName;
|
|
2371
|
+
// if at least one of these optionals is defined
|
|
2372
|
+
if (existing_baseModelApiName !== undefined || incoming_baseModelApiName !== undefined) {
|
|
2373
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2374
|
+
// not equal
|
|
2375
|
+
if (existing_baseModelApiName === undefined || incoming_baseModelApiName === undefined) {
|
|
2376
|
+
return false;
|
|
2377
|
+
}
|
|
2378
|
+
if (!(existing_baseModelApiName === incoming_baseModelApiName)) {
|
|
2379
|
+
return false;
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
const existing_id = existing.id;
|
|
2383
|
+
const incoming_id = incoming.id;
|
|
2384
|
+
if (!(existing_id === incoming_id)) {
|
|
2385
|
+
return false;
|
|
2386
|
+
}
|
|
2104
2387
|
const existing_label = existing.label;
|
|
2105
2388
|
const incoming_label = incoming.label;
|
|
2106
2389
|
// if at least one of these optionals is defined
|
|
@@ -2114,6 +2397,24 @@ function equals$x(existing, incoming) {
|
|
|
2114
2397
|
return false;
|
|
2115
2398
|
}
|
|
2116
2399
|
}
|
|
2400
|
+
const existing_type = existing.type;
|
|
2401
|
+
const incoming_type = incoming.type;
|
|
2402
|
+
if (!(existing_type === incoming_type)) {
|
|
2403
|
+
return false;
|
|
2404
|
+
}
|
|
2405
|
+
const existing_tableauPublishedDataSource = existing.tableauPublishedDataSource;
|
|
2406
|
+
const incoming_tableauPublishedDataSource = incoming.tableauPublishedDataSource;
|
|
2407
|
+
// if at least one of these optionals is defined
|
|
2408
|
+
if (existing_tableauPublishedDataSource !== undefined || incoming_tableauPublishedDataSource !== undefined) {
|
|
2409
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2410
|
+
// not equal
|
|
2411
|
+
if (existing_tableauPublishedDataSource === undefined || incoming_tableauPublishedDataSource === undefined) {
|
|
2412
|
+
return false;
|
|
2413
|
+
}
|
|
2414
|
+
if (!(equals$y(existing_tableauPublishedDataSource, incoming_tableauPublishedDataSource))) {
|
|
2415
|
+
return false;
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2117
2418
|
return true;
|
|
2118
2419
|
}
|
|
2119
2420
|
|
|
@@ -2214,7 +2515,7 @@ function equals$w(existing, incoming) {
|
|
|
2214
2515
|
return true;
|
|
2215
2516
|
}
|
|
2216
2517
|
|
|
2217
|
-
const VERSION$v = "
|
|
2518
|
+
const VERSION$v = "fe504332a165b7357b53e140402c6704";
|
|
2218
2519
|
function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
2219
2520
|
const v_error = (() => {
|
|
2220
2521
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2284,6 +2585,20 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2284
2585
|
return new TypeError('Expected "string" but received "' + typeof obj_expression + '" (at "' + path_expression + '")');
|
|
2285
2586
|
}
|
|
2286
2587
|
}
|
|
2588
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
2589
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
2590
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
2591
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
2592
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
if (obj.externalStorageName !== undefined) {
|
|
2596
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
2597
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
2598
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
2599
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
2600
|
+
}
|
|
2601
|
+
}
|
|
2287
2602
|
if (obj.filterLogic !== undefined) {
|
|
2288
2603
|
const obj_filterLogic = obj.filterLogic;
|
|
2289
2604
|
const path_filterLogic = path + '.filterLogic';
|
|
@@ -2341,6 +2656,13 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2341
2656
|
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
2342
2657
|
}
|
|
2343
2658
|
}
|
|
2659
|
+
if (obj.level !== undefined) {
|
|
2660
|
+
const obj_level = obj.level;
|
|
2661
|
+
const path_level = path + '.level';
|
|
2662
|
+
if (typeof obj_level !== 'string') {
|
|
2663
|
+
return new TypeError('Expected "string" but received "' + typeof obj_level + '" (at "' + path_level + '")');
|
|
2664
|
+
}
|
|
2665
|
+
}
|
|
2344
2666
|
if (obj.semanticDataType !== undefined) {
|
|
2345
2667
|
const obj_semanticDataType = obj.semanticDataType;
|
|
2346
2668
|
const path_semanticDataType = path + '.semanticDataType';
|
|
@@ -2432,6 +2754,16 @@ const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2432
2754
|
kind: 'Scalar',
|
|
2433
2755
|
required: false
|
|
2434
2756
|
},
|
|
2757
|
+
{
|
|
2758
|
+
name: 'externalConnectionApiName',
|
|
2759
|
+
kind: 'Scalar',
|
|
2760
|
+
required: false
|
|
2761
|
+
},
|
|
2762
|
+
{
|
|
2763
|
+
name: 'externalStorageName',
|
|
2764
|
+
kind: 'Scalar',
|
|
2765
|
+
required: false
|
|
2766
|
+
},
|
|
2435
2767
|
{
|
|
2436
2768
|
name: 'filterLogic',
|
|
2437
2769
|
kind: 'Scalar',
|
|
@@ -2468,6 +2800,11 @@ const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2468
2800
|
kind: 'Scalar',
|
|
2469
2801
|
required: false
|
|
2470
2802
|
},
|
|
2803
|
+
{
|
|
2804
|
+
name: 'level',
|
|
2805
|
+
kind: 'Scalar',
|
|
2806
|
+
required: false
|
|
2807
|
+
},
|
|
2471
2808
|
{
|
|
2472
2809
|
name: 'semanticDataType',
|
|
2473
2810
|
kind: 'Scalar',
|
|
@@ -2606,6 +2943,32 @@ function equals$v(existing, incoming) {
|
|
|
2606
2943
|
return false;
|
|
2607
2944
|
}
|
|
2608
2945
|
}
|
|
2946
|
+
const existing_externalConnectionApiName = existing.externalConnectionApiName;
|
|
2947
|
+
const incoming_externalConnectionApiName = incoming.externalConnectionApiName;
|
|
2948
|
+
// if at least one of these optionals is defined
|
|
2949
|
+
if (existing_externalConnectionApiName !== undefined || incoming_externalConnectionApiName !== undefined) {
|
|
2950
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2951
|
+
// not equal
|
|
2952
|
+
if (existing_externalConnectionApiName === undefined || incoming_externalConnectionApiName === undefined) {
|
|
2953
|
+
return false;
|
|
2954
|
+
}
|
|
2955
|
+
if (!(existing_externalConnectionApiName === incoming_externalConnectionApiName)) {
|
|
2956
|
+
return false;
|
|
2957
|
+
}
|
|
2958
|
+
}
|
|
2959
|
+
const existing_externalStorageName = existing.externalStorageName;
|
|
2960
|
+
const incoming_externalStorageName = incoming.externalStorageName;
|
|
2961
|
+
// if at least one of these optionals is defined
|
|
2962
|
+
if (existing_externalStorageName !== undefined || incoming_externalStorageName !== undefined) {
|
|
2963
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2964
|
+
// not equal
|
|
2965
|
+
if (existing_externalStorageName === undefined || incoming_externalStorageName === undefined) {
|
|
2966
|
+
return false;
|
|
2967
|
+
}
|
|
2968
|
+
if (!(existing_externalStorageName === incoming_externalStorageName)) {
|
|
2969
|
+
return false;
|
|
2970
|
+
}
|
|
2971
|
+
}
|
|
2609
2972
|
const existing_filterLogic = existing.filterLogic;
|
|
2610
2973
|
const incoming_filterLogic = incoming.filterLogic;
|
|
2611
2974
|
// if at least one of these optionals is defined
|
|
@@ -2663,6 +3026,19 @@ function equals$v(existing, incoming) {
|
|
|
2663
3026
|
return false;
|
|
2664
3027
|
}
|
|
2665
3028
|
}
|
|
3029
|
+
const existing_level = existing.level;
|
|
3030
|
+
const incoming_level = incoming.level;
|
|
3031
|
+
// if at least one of these optionals is defined
|
|
3032
|
+
if (existing_level !== undefined || incoming_level !== undefined) {
|
|
3033
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3034
|
+
// not equal
|
|
3035
|
+
if (existing_level === undefined || incoming_level === undefined) {
|
|
3036
|
+
return false;
|
|
3037
|
+
}
|
|
3038
|
+
if (!(existing_level === incoming_level)) {
|
|
3039
|
+
return false;
|
|
3040
|
+
}
|
|
3041
|
+
}
|
|
2666
3042
|
const existing_semanticDataType = existing.semanticDataType;
|
|
2667
3043
|
const incoming_semanticDataType = incoming.semanticDataType;
|
|
2668
3044
|
// if at least one of these optionals is defined
|
|
@@ -2744,7 +3120,7 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2744
3120
|
});
|
|
2745
3121
|
}
|
|
2746
3122
|
|
|
2747
|
-
const VERSION$u = "
|
|
3123
|
+
const VERSION$u = "a476df60bf22b533d829362d80a48a3e";
|
|
2748
3124
|
function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
2749
3125
|
const v_error = (() => {
|
|
2750
3126
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2828,6 +3204,20 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
2828
3204
|
return new TypeError('Expected "string" but received "' + typeof obj_expression + '" (at "' + path_expression + '")');
|
|
2829
3205
|
}
|
|
2830
3206
|
}
|
|
3207
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
3208
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
3209
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
3210
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
3211
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
3212
|
+
}
|
|
3213
|
+
}
|
|
3214
|
+
if (obj.externalStorageName !== undefined) {
|
|
3215
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
3216
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
3217
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
3218
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
3219
|
+
}
|
|
3220
|
+
}
|
|
2831
3221
|
if (obj.filterLogic !== undefined) {
|
|
2832
3222
|
const obj_filterLogic = obj.filterLogic;
|
|
2833
3223
|
const path_filterLogic = path + '.filterLogic';
|
|
@@ -2892,6 +3282,13 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
2892
3282
|
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
2893
3283
|
}
|
|
2894
3284
|
}
|
|
3285
|
+
if (obj.level !== undefined) {
|
|
3286
|
+
const obj_level = obj.level;
|
|
3287
|
+
const path_level = path + '.level';
|
|
3288
|
+
if (typeof obj_level !== 'string') {
|
|
3289
|
+
return new TypeError('Expected "string" but received "' + typeof obj_level + '" (at "' + path_level + '")');
|
|
3290
|
+
}
|
|
3291
|
+
}
|
|
2895
3292
|
if (obj.semanticDataType !== undefined) {
|
|
2896
3293
|
const obj_semanticDataType = obj.semanticDataType;
|
|
2897
3294
|
const path_semanticDataType = path + '.semanticDataType';
|
|
@@ -3014,6 +3411,16 @@ const select$K = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3014
3411
|
kind: 'Scalar',
|
|
3015
3412
|
required: false
|
|
3016
3413
|
},
|
|
3414
|
+
{
|
|
3415
|
+
name: 'externalConnectionApiName',
|
|
3416
|
+
kind: 'Scalar',
|
|
3417
|
+
required: false
|
|
3418
|
+
},
|
|
3419
|
+
{
|
|
3420
|
+
name: 'externalStorageName',
|
|
3421
|
+
kind: 'Scalar',
|
|
3422
|
+
required: false
|
|
3423
|
+
},
|
|
3017
3424
|
{
|
|
3018
3425
|
name: 'filterLogic',
|
|
3019
3426
|
kind: 'Scalar',
|
|
@@ -3055,6 +3462,11 @@ const select$K = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3055
3462
|
kind: 'Scalar',
|
|
3056
3463
|
required: false
|
|
3057
3464
|
},
|
|
3465
|
+
{
|
|
3466
|
+
name: 'level',
|
|
3467
|
+
kind: 'Scalar',
|
|
3468
|
+
required: false
|
|
3469
|
+
},
|
|
3058
3470
|
{
|
|
3059
3471
|
name: 'semanticDataType',
|
|
3060
3472
|
kind: 'Scalar',
|
|
@@ -3260,6 +3672,32 @@ function equals$u(existing, incoming) {
|
|
|
3260
3672
|
return false;
|
|
3261
3673
|
}
|
|
3262
3674
|
}
|
|
3675
|
+
const existing_externalConnectionApiName = existing.externalConnectionApiName;
|
|
3676
|
+
const incoming_externalConnectionApiName = incoming.externalConnectionApiName;
|
|
3677
|
+
// if at least one of these optionals is defined
|
|
3678
|
+
if (existing_externalConnectionApiName !== undefined || incoming_externalConnectionApiName !== undefined) {
|
|
3679
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3680
|
+
// not equal
|
|
3681
|
+
if (existing_externalConnectionApiName === undefined || incoming_externalConnectionApiName === undefined) {
|
|
3682
|
+
return false;
|
|
3683
|
+
}
|
|
3684
|
+
if (!(existing_externalConnectionApiName === incoming_externalConnectionApiName)) {
|
|
3685
|
+
return false;
|
|
3686
|
+
}
|
|
3687
|
+
}
|
|
3688
|
+
const existing_externalStorageName = existing.externalStorageName;
|
|
3689
|
+
const incoming_externalStorageName = incoming.externalStorageName;
|
|
3690
|
+
// if at least one of these optionals is defined
|
|
3691
|
+
if (existing_externalStorageName !== undefined || incoming_externalStorageName !== undefined) {
|
|
3692
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3693
|
+
// not equal
|
|
3694
|
+
if (existing_externalStorageName === undefined || incoming_externalStorageName === undefined) {
|
|
3695
|
+
return false;
|
|
3696
|
+
}
|
|
3697
|
+
if (!(existing_externalStorageName === incoming_externalStorageName)) {
|
|
3698
|
+
return false;
|
|
3699
|
+
}
|
|
3700
|
+
}
|
|
3263
3701
|
const existing_filterLogic = existing.filterLogic;
|
|
3264
3702
|
const incoming_filterLogic = incoming.filterLogic;
|
|
3265
3703
|
// if at least one of these optionals is defined
|
|
@@ -3317,6 +3755,19 @@ function equals$u(existing, incoming) {
|
|
|
3317
3755
|
return false;
|
|
3318
3756
|
}
|
|
3319
3757
|
}
|
|
3758
|
+
const existing_level = existing.level;
|
|
3759
|
+
const incoming_level = incoming.level;
|
|
3760
|
+
// if at least one of these optionals is defined
|
|
3761
|
+
if (existing_level !== undefined || incoming_level !== undefined) {
|
|
3762
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3763
|
+
// not equal
|
|
3764
|
+
if (existing_level === undefined || incoming_level === undefined) {
|
|
3765
|
+
return false;
|
|
3766
|
+
}
|
|
3767
|
+
if (!(existing_level === incoming_level)) {
|
|
3768
|
+
return false;
|
|
3769
|
+
}
|
|
3770
|
+
}
|
|
3320
3771
|
const existing_semanticDataType = existing.semanticDataType;
|
|
3321
3772
|
const incoming_semanticDataType = incoming.semanticDataType;
|
|
3322
3773
|
// if at least one of these optionals is defined
|
|
@@ -3493,6 +3944,13 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
3493
3944
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
3494
3945
|
}
|
|
3495
3946
|
}
|
|
3947
|
+
if (obj.externalStorageName !== undefined) {
|
|
3948
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
3949
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
3950
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
3951
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
3952
|
+
}
|
|
3953
|
+
}
|
|
3496
3954
|
const obj_id = obj.id;
|
|
3497
3955
|
const path_id = path + '.id';
|
|
3498
3956
|
if (typeof obj_id !== 'string') {
|
|
@@ -3561,6 +4019,13 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
3561
4019
|
return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
|
|
3562
4020
|
}
|
|
3563
4021
|
}
|
|
4022
|
+
if (obj.storageDataType !== undefined) {
|
|
4023
|
+
const obj_storageDataType = obj.storageDataType;
|
|
4024
|
+
const path_storageDataType = path + '.storageDataType';
|
|
4025
|
+
if (typeof obj_storageDataType !== 'string') {
|
|
4026
|
+
return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
|
|
4027
|
+
}
|
|
4028
|
+
}
|
|
3564
4029
|
})();
|
|
3565
4030
|
return v_error === undefined ? null : v_error;
|
|
3566
4031
|
}
|
|
@@ -3648,6 +4113,13 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
3648
4113
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
3649
4114
|
}
|
|
3650
4115
|
}
|
|
4116
|
+
if (obj.externalStorageName !== undefined) {
|
|
4117
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
4118
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
4119
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
4120
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
4121
|
+
}
|
|
4122
|
+
}
|
|
3651
4123
|
const obj_id = obj.id;
|
|
3652
4124
|
const path_id = path + '.id';
|
|
3653
4125
|
if (typeof obj_id !== 'string') {
|
|
@@ -3737,11 +4209,18 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
3737
4209
|
return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
|
|
3738
4210
|
}
|
|
3739
4211
|
}
|
|
4212
|
+
if (obj.storageDataType !== undefined) {
|
|
4213
|
+
const obj_storageDataType = obj.storageDataType;
|
|
4214
|
+
const path_storageDataType = path + '.storageDataType';
|
|
4215
|
+
if (typeof obj_storageDataType !== 'string') {
|
|
4216
|
+
return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
|
|
4217
|
+
}
|
|
4218
|
+
}
|
|
3740
4219
|
})();
|
|
3741
4220
|
return v_error === undefined ? null : v_error;
|
|
3742
4221
|
}
|
|
3743
4222
|
|
|
3744
|
-
const VERSION$t = "
|
|
4223
|
+
const VERSION$t = "bfd1e674b4ba4471bf20fd29dda1f7e7";
|
|
3745
4224
|
function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
3746
4225
|
const v_error = (() => {
|
|
3747
4226
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3797,6 +4276,13 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3797
4276
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
3798
4277
|
}
|
|
3799
4278
|
}
|
|
4279
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
4280
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
4281
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
4282
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
4283
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
4284
|
+
}
|
|
4285
|
+
}
|
|
3800
4286
|
if (obj.filterLogic !== undefined) {
|
|
3801
4287
|
const obj_filterLogic = obj.filterLogic;
|
|
3802
4288
|
const path_filterLogic = path + '.filterLogic';
|
|
@@ -3909,6 +4395,13 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3909
4395
|
return new TypeError('Expected "boolean" but received "' + typeof obj_shouldIncludeAllFields + '" (at "' + path_shouldIncludeAllFields + '")');
|
|
3910
4396
|
}
|
|
3911
4397
|
}
|
|
4398
|
+
if (obj.tableType !== undefined) {
|
|
4399
|
+
const obj_tableType = obj.tableType;
|
|
4400
|
+
const path_tableType = path + '.tableType';
|
|
4401
|
+
if (typeof obj_tableType !== 'string') {
|
|
4402
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
4403
|
+
}
|
|
4404
|
+
}
|
|
3912
4405
|
})();
|
|
3913
4406
|
return v_error === undefined ? null : v_error;
|
|
3914
4407
|
}
|
|
@@ -5902,7 +6395,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5902
6395
|
}
|
|
5903
6396
|
}
|
|
5904
6397
|
|
|
5905
|
-
const VERSION$h = "
|
|
6398
|
+
const VERSION$h = "a07c1d2e7b0cc8a4933ca0e63af3ff50";
|
|
5906
6399
|
function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
5907
6400
|
const v_error = (() => {
|
|
5908
6401
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -6050,6 +6543,13 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6050
6543
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticViewTypeEnum + '" (at "' + path_semanticViewTypeEnum + '")');
|
|
6051
6544
|
}
|
|
6052
6545
|
}
|
|
6546
|
+
if (obj.tableType !== undefined) {
|
|
6547
|
+
const obj_tableType = obj.tableType;
|
|
6548
|
+
const path_tableType = path + '.tableType';
|
|
6549
|
+
if (typeof obj_tableType !== 'string') {
|
|
6550
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
6551
|
+
}
|
|
6552
|
+
}
|
|
6053
6553
|
})();
|
|
6054
6554
|
return v_error === undefined ? null : v_error;
|
|
6055
6555
|
}
|
|
@@ -6215,6 +6715,11 @@ const select$x = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
6215
6715
|
name: 'semanticViewTypeEnum',
|
|
6216
6716
|
kind: 'Scalar',
|
|
6217
6717
|
required: false
|
|
6718
|
+
},
|
|
6719
|
+
{
|
|
6720
|
+
name: 'tableType',
|
|
6721
|
+
kind: 'Scalar',
|
|
6722
|
+
required: false
|
|
6218
6723
|
}
|
|
6219
6724
|
]
|
|
6220
6725
|
};
|
|
@@ -6357,6 +6862,19 @@ function equals$h(existing, incoming) {
|
|
|
6357
6862
|
return false;
|
|
6358
6863
|
}
|
|
6359
6864
|
}
|
|
6865
|
+
const existing_tableType = existing.tableType;
|
|
6866
|
+
const incoming_tableType = incoming.tableType;
|
|
6867
|
+
// if at least one of these optionals is defined
|
|
6868
|
+
if (existing_tableType !== undefined || incoming_tableType !== undefined) {
|
|
6869
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6870
|
+
// not equal
|
|
6871
|
+
if (existing_tableType === undefined || incoming_tableType === undefined) {
|
|
6872
|
+
return false;
|
|
6873
|
+
}
|
|
6874
|
+
if (!(existing_tableType === incoming_tableType)) {
|
|
6875
|
+
return false;
|
|
6876
|
+
}
|
|
6877
|
+
}
|
|
6360
6878
|
const existing_filters = existing.filters;
|
|
6361
6879
|
const incoming_filters = incoming.filters;
|
|
6362
6880
|
// if at least one of these optionals is defined
|
|
@@ -7951,7 +8469,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7951
8469
|
});
|
|
7952
8470
|
}
|
|
7953
8471
|
|
|
7954
|
-
const VERSION$a = "
|
|
8472
|
+
const VERSION$a = "b9f10c6da39956d7c5fc9f4852c0536e";
|
|
7955
8473
|
function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
7956
8474
|
const v_error = (() => {
|
|
7957
8475
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -7985,7 +8503,7 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
7985
8503
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
7986
8504
|
const obj_baseModels_item = obj_baseModels[i];
|
|
7987
8505
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
7988
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
8506
|
+
const referencepath_baseModels_itemValidationError = validate$F(obj_baseModels_item, path_baseModels_item);
|
|
7989
8507
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
7990
8508
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
7991
8509
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8036,6 +8554,23 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8036
8554
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
8037
8555
|
}
|
|
8038
8556
|
}
|
|
8557
|
+
if (obj.externalConnections !== undefined) {
|
|
8558
|
+
const obj_externalConnections = obj.externalConnections;
|
|
8559
|
+
const path_externalConnections = path + '.externalConnections';
|
|
8560
|
+
if (!ArrayIsArray(obj_externalConnections)) {
|
|
8561
|
+
return new TypeError('Expected "array" but received "' + typeof obj_externalConnections + '" (at "' + path_externalConnections + '")');
|
|
8562
|
+
}
|
|
8563
|
+
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
8564
|
+
const obj_externalConnections_item = obj_externalConnections[i];
|
|
8565
|
+
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
8566
|
+
const referencepath_externalConnections_itemValidationError = validate$D(obj_externalConnections_item, path_externalConnections_item);
|
|
8567
|
+
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
8568
|
+
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
8569
|
+
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8570
|
+
return new TypeError(message);
|
|
8571
|
+
}
|
|
8572
|
+
}
|
|
8573
|
+
}
|
|
8039
8574
|
const obj_id = obj.id;
|
|
8040
8575
|
const path_id = path + '.id';
|
|
8041
8576
|
if (typeof obj_id !== 'string') {
|
|
@@ -8426,7 +8961,8 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
8426
8961
|
return input;
|
|
8427
8962
|
}
|
|
8428
8963
|
const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
8429
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
8964
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$P();
|
|
8965
|
+
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$N();
|
|
8430
8966
|
return {
|
|
8431
8967
|
kind: 'Fragment',
|
|
8432
8968
|
version: VERSION$a,
|
|
@@ -8481,6 +9017,13 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
8481
9017
|
kind: 'Scalar',
|
|
8482
9018
|
required: false
|
|
8483
9019
|
},
|
|
9020
|
+
{
|
|
9021
|
+
name: 'externalConnections',
|
|
9022
|
+
kind: 'Object',
|
|
9023
|
+
plural: true,
|
|
9024
|
+
selections: SemanticModelExternalConnectionOutputRepresentation__selections,
|
|
9025
|
+
required: false
|
|
9026
|
+
},
|
|
8484
9027
|
{
|
|
8485
9028
|
name: 'id',
|
|
8486
9029
|
kind: 'Scalar'
|
|
@@ -8853,7 +9396,7 @@ function equals$a(existing, incoming) {
|
|
|
8853
9396
|
return false;
|
|
8854
9397
|
}
|
|
8855
9398
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
8856
|
-
if (!(equals$
|
|
9399
|
+
if (!(equals$z(existing_baseModels_item, incoming_baseModels_item))) {
|
|
8857
9400
|
return false;
|
|
8858
9401
|
}
|
|
8859
9402
|
});
|
|
@@ -8879,6 +9422,24 @@ function equals$a(existing, incoming) {
|
|
|
8879
9422
|
return false;
|
|
8880
9423
|
}
|
|
8881
9424
|
}
|
|
9425
|
+
const existing_externalConnections = existing.externalConnections;
|
|
9426
|
+
const incoming_externalConnections = incoming.externalConnections;
|
|
9427
|
+
// if at least one of these optionals is defined
|
|
9428
|
+
if (existing_externalConnections !== undefined || incoming_externalConnections !== undefined) {
|
|
9429
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9430
|
+
// not equal
|
|
9431
|
+
if (existing_externalConnections === undefined || incoming_externalConnections === undefined) {
|
|
9432
|
+
return false;
|
|
9433
|
+
}
|
|
9434
|
+
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
9435
|
+
if (!(equals$x(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
9436
|
+
return false;
|
|
9437
|
+
}
|
|
9438
|
+
});
|
|
9439
|
+
if (equals_externalConnections_items === false) {
|
|
9440
|
+
return false;
|
|
9441
|
+
}
|
|
9442
|
+
}
|
|
8882
9443
|
const existing_semanticCalculatedDimensions = existing.semanticCalculatedDimensions;
|
|
8883
9444
|
const incoming_semanticCalculatedDimensions = incoming.semanticCalculatedDimensions;
|
|
8884
9445
|
// if at least one of these optionals is defined
|
|
@@ -9157,6 +9718,7 @@ const createSemanticModel_ConfigPropertyMetadata = [
|
|
|
9157
9718
|
generateParamConfigMetadata('sourceCreation', false, 2 /* Body */, 0 /* String */),
|
|
9158
9719
|
generateParamConfigMetadata('sourceCreationName', false, 2 /* Body */, 0 /* String */),
|
|
9159
9720
|
generateParamConfigMetadata('baseModels', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9721
|
+
generateParamConfigMetadata('externalConnections', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9160
9722
|
generateParamConfigMetadata('semanticCalculatedDimensions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9161
9723
|
generateParamConfigMetadata('semanticCalculatedMeasurements', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9162
9724
|
generateParamConfigMetadata('semanticDataObjects', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -9176,19 +9738,31 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9176
9738
|
const untrustedConfig_baseModels_array = [];
|
|
9177
9739
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
9178
9740
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
9179
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
9741
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$13(untrustedConfig_baseModels_item);
|
|
9180
9742
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
9181
9743
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
9182
9744
|
}
|
|
9183
9745
|
}
|
|
9184
9746
|
config.baseModels = untrustedConfig_baseModels_array;
|
|
9185
9747
|
}
|
|
9748
|
+
const untrustedConfig_externalConnections = untrustedConfig.externalConnections;
|
|
9749
|
+
if (ArrayIsArray$1(untrustedConfig_externalConnections)) {
|
|
9750
|
+
const untrustedConfig_externalConnections_array = [];
|
|
9751
|
+
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
9752
|
+
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
9753
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$11(untrustedConfig_externalConnections_item);
|
|
9754
|
+
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
9755
|
+
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
9756
|
+
}
|
|
9757
|
+
}
|
|
9758
|
+
config.externalConnections = untrustedConfig_externalConnections_array;
|
|
9759
|
+
}
|
|
9186
9760
|
const untrustedConfig_semanticCalculatedDimensions = untrustedConfig.semanticCalculatedDimensions;
|
|
9187
9761
|
if (ArrayIsArray$1(untrustedConfig_semanticCalculatedDimensions)) {
|
|
9188
9762
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
9189
9763
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
9190
9764
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
9191
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
9765
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9192
9766
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
9193
9767
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9194
9768
|
}
|
|
@@ -9200,7 +9774,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9200
9774
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
9201
9775
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
9202
9776
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
9203
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
9777
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9204
9778
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
9205
9779
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9206
9780
|
}
|
|
@@ -9212,7 +9786,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9212
9786
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
9213
9787
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
9214
9788
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
9215
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
9789
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$X(untrustedConfig_semanticDataObjects_item);
|
|
9216
9790
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
9217
9791
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
9218
9792
|
}
|
|
@@ -9224,7 +9798,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9224
9798
|
const untrustedConfig_semanticGroupings_array = [];
|
|
9225
9799
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
9226
9800
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
9227
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
9801
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$Q(untrustedConfig_semanticGroupings_item);
|
|
9228
9802
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
9229
9803
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
9230
9804
|
}
|
|
@@ -9236,7 +9810,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9236
9810
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
9237
9811
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
9238
9812
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
9239
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
9813
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$L(untrustedConfig_semanticLogicalViews_item);
|
|
9240
9814
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
9241
9815
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
9242
9816
|
}
|
|
@@ -9248,7 +9822,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9248
9822
|
const untrustedConfig_semanticMetrics_array = [];
|
|
9249
9823
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
9250
9824
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
9251
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
9825
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$H(untrustedConfig_semanticMetrics_item);
|
|
9252
9826
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
9253
9827
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
9254
9828
|
}
|
|
@@ -9260,7 +9834,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9260
9834
|
const untrustedConfig_semanticParameters_array = [];
|
|
9261
9835
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
9262
9836
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
9263
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
9837
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$G(untrustedConfig_semanticParameters_item);
|
|
9264
9838
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
9265
9839
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
9266
9840
|
}
|
|
@@ -9272,7 +9846,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9272
9846
|
const untrustedConfig_semanticRelationships_array = [];
|
|
9273
9847
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
9274
9848
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
9275
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
9849
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$O(untrustedConfig_semanticRelationships_item);
|
|
9276
9850
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
9277
9851
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
9278
9852
|
}
|
|
@@ -9344,7 +9918,7 @@ function validate$d(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
9344
9918
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
9345
9919
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
9346
9920
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
9347
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
9921
|
+
const referencepath_statusConditions_itemValidationError = validate$17(obj_statusConditions_item, path_statusConditions_item);
|
|
9348
9922
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
9349
9923
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionInputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
9350
9924
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9404,7 +9978,7 @@ function validate$b(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
9404
9978
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
9405
9979
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
9406
9980
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
9407
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
9981
|
+
const referencepath_statusConditions_itemValidationError = validate$15(obj_statusConditions_item, path_statusConditions_item);
|
|
9408
9982
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
9409
9983
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
9410
9984
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9685,7 +10259,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
9685
10259
|
const untrustedConfig_filters_array = [];
|
|
9686
10260
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
9687
10261
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
9688
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
10262
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$10(untrustedConfig_filters_item);
|
|
9689
10263
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
9690
10264
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
9691
10265
|
}
|
|
@@ -10455,7 +11029,7 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
|
|
|
10455
11029
|
};
|
|
10456
11030
|
|
|
10457
11031
|
function select$i(luvio, params) {
|
|
10458
|
-
return select$
|
|
11032
|
+
return select$R();
|
|
10459
11033
|
}
|
|
10460
11034
|
function keyBuilder$j(luvio, params) {
|
|
10461
11035
|
return keyBuilder$B(luvio, {
|
|
@@ -11765,7 +12339,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
11765
12339
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
11766
12340
|
const obj_baseModels_item = obj_baseModels[i];
|
|
11767
12341
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
11768
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
12342
|
+
const referencepath_baseModels_itemValidationError = validate$F(obj_baseModels_item, path_baseModels_item);
|
|
11769
12343
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
11770
12344
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
11771
12345
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11937,7 +12511,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
11937
12511
|
return v_error === undefined ? null : v_error;
|
|
11938
12512
|
}
|
|
11939
12513
|
const select$9 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
11940
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
12514
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$P();
|
|
11941
12515
|
return {
|
|
11942
12516
|
kind: 'Fragment',
|
|
11943
12517
|
version: VERSION$2,
|
|
@@ -12308,7 +12882,7 @@ function equals$2(existing, incoming) {
|
|
|
12308
12882
|
return false;
|
|
12309
12883
|
}
|
|
12310
12884
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
12311
|
-
if (!(equals$
|
|
12885
|
+
if (!(equals$z(existing_baseModels_item, incoming_baseModels_item))) {
|
|
12312
12886
|
return false;
|
|
12313
12887
|
}
|
|
12314
12888
|
});
|
|
@@ -13347,7 +13921,7 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
13347
13921
|
const untrustedConfig_statusConditions_array = [];
|
|
13348
13922
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
13349
13923
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
13350
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
13924
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$17(untrustedConfig_statusConditions_item);
|
|
13351
13925
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
13352
13926
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
13353
13927
|
}
|
|
@@ -13448,6 +14022,7 @@ const patchSemanticModel_ConfigPropertyMetadata = [
|
|
|
13448
14022
|
generateParamConfigMetadata('sourceCreation', false, 2 /* Body */, 0 /* String */),
|
|
13449
14023
|
generateParamConfigMetadata('sourceCreationName', false, 2 /* Body */, 0 /* String */),
|
|
13450
14024
|
generateParamConfigMetadata('baseModels', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
14025
|
+
generateParamConfigMetadata('externalConnections', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
13451
14026
|
generateParamConfigMetadata('semanticCalculatedDimensions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
13452
14027
|
generateParamConfigMetadata('semanticCalculatedMeasurements', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
13453
14028
|
generateParamConfigMetadata('semanticDataObjects', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -13467,19 +14042,31 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13467
14042
|
const untrustedConfig_baseModels_array = [];
|
|
13468
14043
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
13469
14044
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
13470
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
14045
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$13(untrustedConfig_baseModels_item);
|
|
13471
14046
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
13472
14047
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
13473
14048
|
}
|
|
13474
14049
|
}
|
|
13475
14050
|
config.baseModels = untrustedConfig_baseModels_array;
|
|
13476
14051
|
}
|
|
14052
|
+
const untrustedConfig_externalConnections = untrustedConfig.externalConnections;
|
|
14053
|
+
if (ArrayIsArray$1(untrustedConfig_externalConnections)) {
|
|
14054
|
+
const untrustedConfig_externalConnections_array = [];
|
|
14055
|
+
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
14056
|
+
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
14057
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$11(untrustedConfig_externalConnections_item);
|
|
14058
|
+
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
14059
|
+
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
14060
|
+
}
|
|
14061
|
+
}
|
|
14062
|
+
config.externalConnections = untrustedConfig_externalConnections_array;
|
|
14063
|
+
}
|
|
13477
14064
|
const untrustedConfig_semanticCalculatedDimensions = untrustedConfig.semanticCalculatedDimensions;
|
|
13478
14065
|
if (ArrayIsArray$1(untrustedConfig_semanticCalculatedDimensions)) {
|
|
13479
14066
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
13480
14067
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
13481
14068
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
13482
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
14069
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedDimensions_item);
|
|
13483
14070
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
13484
14071
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
13485
14072
|
}
|
|
@@ -13491,7 +14078,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13491
14078
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
13492
14079
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
13493
14080
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
13494
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
14081
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
13495
14082
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
13496
14083
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
13497
14084
|
}
|
|
@@ -13503,7 +14090,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13503
14090
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
13504
14091
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
13505
14092
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
13506
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
14093
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$X(untrustedConfig_semanticDataObjects_item);
|
|
13507
14094
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
13508
14095
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
13509
14096
|
}
|
|
@@ -13515,7 +14102,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13515
14102
|
const untrustedConfig_semanticGroupings_array = [];
|
|
13516
14103
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
13517
14104
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
13518
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
14105
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$Q(untrustedConfig_semanticGroupings_item);
|
|
13519
14106
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
13520
14107
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
13521
14108
|
}
|
|
@@ -13527,7 +14114,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13527
14114
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
13528
14115
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
13529
14116
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
13530
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
14117
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$L(untrustedConfig_semanticLogicalViews_item);
|
|
13531
14118
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
13532
14119
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
13533
14120
|
}
|
|
@@ -13539,7 +14126,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13539
14126
|
const untrustedConfig_semanticMetrics_array = [];
|
|
13540
14127
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
13541
14128
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
13542
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
14129
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$H(untrustedConfig_semanticMetrics_item);
|
|
13543
14130
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
13544
14131
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
13545
14132
|
}
|
|
@@ -13551,7 +14138,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13551
14138
|
const untrustedConfig_semanticParameters_array = [];
|
|
13552
14139
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
13553
14140
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
13554
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
14141
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$G(untrustedConfig_semanticParameters_item);
|
|
13555
14142
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
13556
14143
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
13557
14144
|
}
|
|
@@ -13563,7 +14150,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
13563
14150
|
const untrustedConfig_semanticRelationships_array = [];
|
|
13564
14151
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
13565
14152
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
13566
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
14153
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$O(untrustedConfig_semanticRelationships_item);
|
|
13567
14154
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
13568
14155
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
13569
14156
|
}
|
|
@@ -13615,7 +14202,7 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
13615
14202
|
};
|
|
13616
14203
|
|
|
13617
14204
|
function select(luvio, params) {
|
|
13618
|
-
return select$
|
|
14205
|
+
return select$R();
|
|
13619
14206
|
}
|
|
13620
14207
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
13621
14208
|
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
@@ -13671,7 +14258,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
13671
14258
|
const config = {};
|
|
13672
14259
|
typeCheckConfig$k(untrustedConfig, config, updateSemanticGoal_ConfigPropertyMetadata);
|
|
13673
14260
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
13674
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
14261
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$18(untrustedConfig_dateRange);
|
|
13675
14262
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
13676
14263
|
config.dateRange = untrustedConfig_dateRange;
|
|
13677
14264
|
}
|
|
@@ -13680,7 +14267,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
13680
14267
|
const untrustedConfig_statusConditions_array = [];
|
|
13681
14268
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
13682
14269
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
13683
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
14270
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$17(untrustedConfig_statusConditions_item);
|
|
13684
14271
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
13685
14272
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
13686
14273
|
}
|
|
@@ -13895,4 +14482,4 @@ withDefaultLuvio((luvio) => {
|
|
|
13895
14482
|
});
|
|
13896
14483
|
|
|
13897
14484
|
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.
|
|
14485
|
+
// version: 1.352.0-abe5da40fa
|