@salesforce/lds-adapters-cdp-semantic-authoring 1.352.0 → 1.353.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cdp-semantic-authoring.js +506 -226
- 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/postSsotSemanticModels.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsCalculatedDimensionsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsCalculatedMeasurementsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedDimensionsByCalculatedDimensionNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedDimensionsConvertToMeasurementByCalculatedDimensionNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedMeasurementsByCalculatedMeasurementNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedMeasurementsConvertToDimensionByCalculatedMeasurementNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +4 -1
- 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 +415 -135
- package/src/raml/api.raml +30 -2
package/sfdc/index.js
CHANGED
|
@@ -102,7 +102,7 @@ function createLink(ref) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
function validate$
|
|
105
|
+
function validate$1a(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
|
|
106
106
|
const v_error = (() => {
|
|
107
107
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
108
108
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -125,7 +125,7 @@ function validate$18(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
|
|
|
125
125
|
return v_error === undefined ? null : v_error;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
function validate$
|
|
128
|
+
function validate$19(obj, path = 'SemanticGoalStatusConditionInputRepresentation') {
|
|
129
129
|
const v_error = (() => {
|
|
130
130
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
131
131
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -176,7 +176,7 @@ function validate$17(obj, path = 'SemanticGoalStatusConditionInputRepresentation
|
|
|
176
176
|
return v_error === undefined ? null : v_error;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
function validate$
|
|
179
|
+
function validate$18(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
|
|
180
180
|
const v_error = (() => {
|
|
181
181
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
182
182
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -195,7 +195,7 @@ function validate$16(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
|
|
|
195
195
|
return v_error === undefined ? null : v_error;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
function validate$
|
|
198
|
+
function validate$17(obj, path = 'SemanticGoalStatusConditionOutputRepresentation') {
|
|
199
199
|
const v_error = (() => {
|
|
200
200
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
201
201
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -236,8 +236,8 @@ function validate$15(obj, path = 'SemanticGoalStatusConditionOutputRepresentatio
|
|
|
236
236
|
return v_error === undefined ? null : v_error;
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
const VERSION$
|
|
240
|
-
function validate$
|
|
239
|
+
const VERSION$B = "a6367e92be7c02cf72fcdd9bad3cf81d";
|
|
240
|
+
function validate$16(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
241
241
|
const v_error = (() => {
|
|
242
242
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
243
243
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -273,7 +273,7 @@ function validate$14(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
|
273
273
|
}
|
|
274
274
|
const obj_dateRange = obj.dateRange;
|
|
275
275
|
const path_dateRange = path + '.dateRange';
|
|
276
|
-
const referencepath_dateRangeValidationError = validate$
|
|
276
|
+
const referencepath_dateRangeValidationError = validate$18(obj_dateRange, path_dateRange);
|
|
277
277
|
if (referencepath_dateRangeValidationError !== null) {
|
|
278
278
|
let message = 'Object doesn\'t match SemanticGoalDateRangeOutputRepresentation (at "' + path_dateRange + '")\n';
|
|
279
279
|
message += referencepath_dateRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -325,7 +325,7 @@ function validate$14(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
|
325
325
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
326
326
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
327
327
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
328
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
328
|
+
const referencepath_statusConditions_itemValidationError = validate$17(obj_statusConditions_item, path_statusConditions_item);
|
|
329
329
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
330
330
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
331
331
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -355,15 +355,15 @@ function keyBuilderFromType$c(luvio, object) {
|
|
|
355
355
|
function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
356
356
|
return input;
|
|
357
357
|
}
|
|
358
|
-
const select$
|
|
358
|
+
const select$S = function SemanticGoalOutputRepresentationSelect() {
|
|
359
359
|
return {
|
|
360
360
|
kind: 'Fragment',
|
|
361
|
-
version: VERSION$
|
|
361
|
+
version: VERSION$B,
|
|
362
362
|
private: [],
|
|
363
363
|
opaque: true
|
|
364
364
|
};
|
|
365
365
|
};
|
|
366
|
-
function equals$
|
|
366
|
+
function equals$B(existing, incoming) {
|
|
367
367
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
368
368
|
return false;
|
|
369
369
|
}
|
|
@@ -371,14 +371,14 @@ function equals$A(existing, incoming) {
|
|
|
371
371
|
}
|
|
372
372
|
const ingest$i = function SemanticGoalOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
373
373
|
if (process.env.NODE_ENV !== 'production') {
|
|
374
|
-
const validateError = validate$
|
|
374
|
+
const validateError = validate$16(input);
|
|
375
375
|
if (validateError !== null) {
|
|
376
376
|
throw validateError;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
const key = keyBuilderFromType$c(luvio, input);
|
|
380
380
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
381
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$
|
|
381
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$B, RepresentationType$i, equals$B);
|
|
382
382
|
return createLink(key);
|
|
383
383
|
};
|
|
384
384
|
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -391,8 +391,8 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
391
391
|
});
|
|
392
392
|
}
|
|
393
393
|
|
|
394
|
-
function select$
|
|
395
|
-
return select$
|
|
394
|
+
function select$R(luvio, params) {
|
|
395
|
+
return select$S();
|
|
396
396
|
}
|
|
397
397
|
function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
|
|
398
398
|
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
@@ -403,7 +403,7 @@ function ingestSuccess$g(luvio, resourceParams, response) {
|
|
|
403
403
|
luvio.storeIngest(key, ingest$i, body);
|
|
404
404
|
const snapshot = luvio.storeLookup({
|
|
405
405
|
recordId: key,
|
|
406
|
-
node: select$
|
|
406
|
+
node: select$R(),
|
|
407
407
|
variables: {},
|
|
408
408
|
});
|
|
409
409
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -445,7 +445,7 @@ function typeCheckConfig$j(untrustedConfig) {
|
|
|
445
445
|
const config = {};
|
|
446
446
|
typeCheckConfig$k(untrustedConfig, config, createSemanticGoal_ConfigPropertyMetadata);
|
|
447
447
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
448
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
448
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$1a(untrustedConfig_dateRange);
|
|
449
449
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
450
450
|
config.dateRange = untrustedConfig_dateRange;
|
|
451
451
|
}
|
|
@@ -454,7 +454,7 @@ function typeCheckConfig$j(untrustedConfig) {
|
|
|
454
454
|
const untrustedConfig_statusConditions_array = [];
|
|
455
455
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
456
456
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
457
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
457
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$19(untrustedConfig_statusConditions_item);
|
|
458
458
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
459
459
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
460
460
|
}
|
|
@@ -505,7 +505,7 @@ const createSemanticGoalAdapterFactory = (luvio) => {
|
|
|
505
505
|
};
|
|
506
506
|
};
|
|
507
507
|
|
|
508
|
-
function validate$
|
|
508
|
+
function validate$15(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
509
509
|
const v_error = (() => {
|
|
510
510
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
511
511
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -521,7 +521,7 @@ function validate$13(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
521
521
|
return v_error === undefined ? null : v_error;
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
function validate$
|
|
524
|
+
function validate$14(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation') {
|
|
525
525
|
const v_error = (() => {
|
|
526
526
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
527
527
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -550,7 +550,7 @@ function validate$12(obj, path = 'SemanticModelExternalConnectionTableauPublishe
|
|
|
550
550
|
return v_error === undefined ? null : v_error;
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
function validate$
|
|
553
|
+
function validate$13(obj, path = 'SemanticModelExternalConnectionInputRepresentation') {
|
|
554
554
|
const v_error = (() => {
|
|
555
555
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
556
556
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -570,7 +570,7 @@ function validate$11(obj, path = 'SemanticModelExternalConnectionInputRepresenta
|
|
|
570
570
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
571
571
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
572
572
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
573
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
573
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$14(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
574
574
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
575
575
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
576
576
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -586,7 +586,37 @@ function validate$11(obj, path = 'SemanticModelExternalConnectionInputRepresenta
|
|
|
586
586
|
return v_error === undefined ? null : v_error;
|
|
587
587
|
}
|
|
588
588
|
|
|
589
|
-
function validate$
|
|
589
|
+
function validate$12(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
590
|
+
const v_error = (() => {
|
|
591
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
592
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
593
|
+
}
|
|
594
|
+
if (obj.entityFqn !== undefined) {
|
|
595
|
+
const obj_entityFqn = obj.entityFqn;
|
|
596
|
+
const path_entityFqn = path + '.entityFqn';
|
|
597
|
+
if (typeof obj_entityFqn !== 'string') {
|
|
598
|
+
return new TypeError('Expected "string" but received "' + typeof obj_entityFqn + '" (at "' + path_entityFqn + '")');
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
if (obj.propertyName !== undefined) {
|
|
602
|
+
const obj_propertyName = obj.propertyName;
|
|
603
|
+
const path_propertyName = path + '.propertyName';
|
|
604
|
+
if (typeof obj_propertyName !== 'string') {
|
|
605
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyName + '" (at "' + path_propertyName + '")');
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
if (obj.propertyOverrideValue !== undefined) {
|
|
609
|
+
const obj_propertyOverrideValue = obj.propertyOverrideValue;
|
|
610
|
+
const path_propertyOverrideValue = path + '.propertyOverrideValue';
|
|
611
|
+
if (typeof obj_propertyOverrideValue !== 'string') {
|
|
612
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyOverrideValue + '" (at "' + path_propertyOverrideValue + '")');
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
})();
|
|
616
|
+
return v_error === undefined ? null : v_error;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
function validate$11(obj, path = 'SemanticFilterInputRepresentation') {
|
|
590
620
|
const v_error = (() => {
|
|
591
621
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
592
622
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -616,7 +646,7 @@ function validate$10(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
616
646
|
return v_error === undefined ? null : v_error;
|
|
617
647
|
}
|
|
618
648
|
|
|
619
|
-
function validate
|
|
649
|
+
function validate$10(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
620
650
|
const v_error = (() => {
|
|
621
651
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
622
652
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -679,7 +709,7 @@ function validate$$(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
679
709
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
680
710
|
const obj_filters_item = obj_filters[i];
|
|
681
711
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
682
|
-
const referencepath_filters_itemValidationError = validate$
|
|
712
|
+
const referencepath_filters_itemValidationError = validate$11(obj_filters_item, path_filters_item);
|
|
683
713
|
if (referencepath_filters_itemValidationError !== null) {
|
|
684
714
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
685
715
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -687,6 +717,13 @@ function validate$$(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
687
717
|
}
|
|
688
718
|
}
|
|
689
719
|
}
|
|
720
|
+
if (obj.isOverrideBase !== undefined) {
|
|
721
|
+
const obj_isOverrideBase = obj.isOverrideBase;
|
|
722
|
+
const path_isOverrideBase = path + '.isOverrideBase';
|
|
723
|
+
if (typeof obj_isOverrideBase !== 'boolean') {
|
|
724
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
725
|
+
}
|
|
726
|
+
}
|
|
690
727
|
if (obj.isVisible !== undefined) {
|
|
691
728
|
const obj_isVisible = obj.isVisible;
|
|
692
729
|
const path_isVisible = path + '.isVisible';
|
|
@@ -726,7 +763,7 @@ function validate$$(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
726
763
|
return v_error === undefined ? null : v_error;
|
|
727
764
|
}
|
|
728
765
|
|
|
729
|
-
function validate
|
|
766
|
+
function validate$$(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
730
767
|
const v_error = (() => {
|
|
731
768
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
732
769
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -803,7 +840,7 @@ function validate$_(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
803
840
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
804
841
|
const obj_filters_item = obj_filters[i];
|
|
805
842
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
806
|
-
const referencepath_filters_itemValidationError = validate$
|
|
843
|
+
const referencepath_filters_itemValidationError = validate$11(obj_filters_item, path_filters_item);
|
|
807
844
|
if (referencepath_filters_itemValidationError !== null) {
|
|
808
845
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
809
846
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -811,6 +848,13 @@ function validate$_(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
811
848
|
}
|
|
812
849
|
}
|
|
813
850
|
}
|
|
851
|
+
if (obj.isOverrideBase !== undefined) {
|
|
852
|
+
const obj_isOverrideBase = obj.isOverrideBase;
|
|
853
|
+
const path_isOverrideBase = path + '.isOverrideBase';
|
|
854
|
+
if (typeof obj_isOverrideBase !== 'boolean') {
|
|
855
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
856
|
+
}
|
|
857
|
+
}
|
|
814
858
|
if (obj.isVisible !== undefined) {
|
|
815
859
|
const obj_isVisible = obj.isVisible;
|
|
816
860
|
const path_isVisible = path + '.isVisible';
|
|
@@ -871,7 +915,7 @@ function validate$_(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
871
915
|
return v_error === undefined ? null : v_error;
|
|
872
916
|
}
|
|
873
917
|
|
|
874
|
-
function validate$
|
|
918
|
+
function validate$_(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
875
919
|
const v_error = (() => {
|
|
876
920
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
877
921
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -950,7 +994,7 @@ function validate$Z(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
950
994
|
return v_error === undefined ? null : v_error;
|
|
951
995
|
}
|
|
952
996
|
|
|
953
|
-
function validate$
|
|
997
|
+
function validate$Z(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
954
998
|
const v_error = (() => {
|
|
955
999
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
956
1000
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1057,7 +1101,7 @@ function validate$Y(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
1057
1101
|
return v_error === undefined ? null : v_error;
|
|
1058
1102
|
}
|
|
1059
1103
|
|
|
1060
|
-
function validate$
|
|
1104
|
+
function validate$Y(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
1061
1105
|
const v_error = (() => {
|
|
1062
1106
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1063
1107
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1106,7 +1150,7 @@ function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1106
1150
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1107
1151
|
const obj_filters_item = obj_filters[i];
|
|
1108
1152
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1109
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1153
|
+
const referencepath_filters_itemValidationError = validate$11(obj_filters_item, path_filters_item);
|
|
1110
1154
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1111
1155
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1112
1156
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1137,7 +1181,7 @@ function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1137
1181
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
1138
1182
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
1139
1183
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
1140
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
1184
|
+
const referencepath_semanticDimensions_itemValidationError = validate$_(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
1141
1185
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
1142
1186
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
1143
1187
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1154,7 +1198,7 @@ function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1154
1198
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
1155
1199
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
1156
1200
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
1157
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
1201
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$Z(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
1158
1202
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
1159
1203
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
1160
1204
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1180,7 +1224,7 @@ function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1180
1224
|
return v_error === undefined ? null : v_error;
|
|
1181
1225
|
}
|
|
1182
1226
|
|
|
1183
|
-
function validate$
|
|
1227
|
+
function validate$X(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
1184
1228
|
const v_error = (() => {
|
|
1185
1229
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1186
1230
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1192,7 +1236,7 @@ function validate$W(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
1192
1236
|
return v_error === undefined ? null : v_error;
|
|
1193
1237
|
}
|
|
1194
1238
|
|
|
1195
|
-
function validate$
|
|
1239
|
+
function validate$W(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
1196
1240
|
const v_error = (() => {
|
|
1197
1241
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1198
1242
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1222,7 +1266,7 @@ function validate$V(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
1222
1266
|
return v_error === undefined ? null : v_error;
|
|
1223
1267
|
}
|
|
1224
1268
|
|
|
1225
|
-
function validate$
|
|
1269
|
+
function validate$V(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
1226
1270
|
const v_error = (() => {
|
|
1227
1271
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1228
1272
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1236,7 +1280,7 @@ function validate$U(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1236
1280
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
1237
1281
|
const obj_groups_item = obj_groups[i];
|
|
1238
1282
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
1239
|
-
const referencepath_groups_itemValidationError = validate$
|
|
1283
|
+
const referencepath_groups_itemValidationError = validate$W(obj_groups_item, path_groups_item);
|
|
1240
1284
|
if (referencepath_groups_itemValidationError !== null) {
|
|
1241
1285
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
1242
1286
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1255,7 +1299,7 @@ function validate$U(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1255
1299
|
return v_error === undefined ? null : v_error;
|
|
1256
1300
|
}
|
|
1257
1301
|
|
|
1258
|
-
function validate$
|
|
1302
|
+
function validate$U(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
1259
1303
|
const v_error = (() => {
|
|
1260
1304
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1261
1305
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1263,7 +1307,7 @@ function validate$T(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1263
1307
|
if (obj.binDimension !== undefined) {
|
|
1264
1308
|
const obj_binDimension = obj.binDimension;
|
|
1265
1309
|
const path_binDimension = path + '.binDimension';
|
|
1266
|
-
const referencepath_binDimensionValidationError = validate$
|
|
1310
|
+
const referencepath_binDimensionValidationError = validate$X(obj_binDimension, path_binDimension);
|
|
1267
1311
|
if (referencepath_binDimensionValidationError !== null) {
|
|
1268
1312
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
1269
1313
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1273,7 +1317,7 @@ function validate$T(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1273
1317
|
if (obj.groupDimension !== undefined) {
|
|
1274
1318
|
const obj_groupDimension = obj.groupDimension;
|
|
1275
1319
|
const path_groupDimension = path + '.groupDimension';
|
|
1276
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
1320
|
+
const referencepath_groupDimensionValidationError = validate$V(obj_groupDimension, path_groupDimension);
|
|
1277
1321
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
1278
1322
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
1279
1323
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1284,7 +1328,7 @@ function validate$T(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1284
1328
|
return v_error === undefined ? null : v_error;
|
|
1285
1329
|
}
|
|
1286
1330
|
|
|
1287
|
-
function validate$
|
|
1331
|
+
function validate$T(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
1288
1332
|
const v_error = (() => {
|
|
1289
1333
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1290
1334
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1307,7 +1351,7 @@ function validate$S(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
1307
1351
|
return v_error === undefined ? null : v_error;
|
|
1308
1352
|
}
|
|
1309
1353
|
|
|
1310
|
-
function validate$
|
|
1354
|
+
function validate$S(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
1311
1355
|
const v_error = (() => {
|
|
1312
1356
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1313
1357
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1322,7 +1366,7 @@ function validate$R(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1322
1366
|
if (obj.tableFieldReference !== undefined) {
|
|
1323
1367
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
1324
1368
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
1325
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
1369
|
+
const referencepath_tableFieldReferenceValidationError = validate$T(obj_tableFieldReference, path_tableFieldReference);
|
|
1326
1370
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
1327
1371
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
1328
1372
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1333,7 +1377,7 @@ function validate$R(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1333
1377
|
return v_error === undefined ? null : v_error;
|
|
1334
1378
|
}
|
|
1335
1379
|
|
|
1336
|
-
function validate$
|
|
1380
|
+
function validate$R(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
1337
1381
|
const v_error = (() => {
|
|
1338
1382
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1339
1383
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1348,7 +1392,7 @@ function validate$Q(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1348
1392
|
if (obj.configuration !== undefined) {
|
|
1349
1393
|
const obj_configuration = obj.configuration;
|
|
1350
1394
|
const path_configuration = path + '.configuration';
|
|
1351
|
-
const referencepath_configurationValidationError = validate$
|
|
1395
|
+
const referencepath_configurationValidationError = validate$U(obj_configuration, path_configuration);
|
|
1352
1396
|
if (referencepath_configurationValidationError !== null) {
|
|
1353
1397
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
1354
1398
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1365,7 +1409,7 @@ function validate$Q(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1365
1409
|
if (obj.fieldReference !== undefined) {
|
|
1366
1410
|
const obj_fieldReference = obj.fieldReference;
|
|
1367
1411
|
const path_fieldReference = path + '.fieldReference';
|
|
1368
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
1412
|
+
const referencepath_fieldReferenceValidationError = validate$S(obj_fieldReference, path_fieldReference);
|
|
1369
1413
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
1370
1414
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
1371
1415
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1390,7 +1434,7 @@ function validate$Q(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1390
1434
|
return v_error === undefined ? null : v_error;
|
|
1391
1435
|
}
|
|
1392
1436
|
|
|
1393
|
-
function validate$
|
|
1437
|
+
function validate$Q(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
1394
1438
|
const v_error = (() => {
|
|
1395
1439
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1396
1440
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1434,7 +1478,7 @@ function validate$P(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
1434
1478
|
return v_error === undefined ? null : v_error;
|
|
1435
1479
|
}
|
|
1436
1480
|
|
|
1437
|
-
function validate$
|
|
1481
|
+
function validate$P(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
1438
1482
|
const v_error = (() => {
|
|
1439
1483
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1440
1484
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1462,7 +1506,7 @@ function validate$O(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1462
1506
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
1463
1507
|
const obj_criteria_item = obj_criteria[i];
|
|
1464
1508
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
1465
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
1509
|
+
const referencepath_criteria_itemValidationError = validate$Q(obj_criteria_item, path_criteria_item);
|
|
1466
1510
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
1467
1511
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
1468
1512
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1523,7 +1567,7 @@ function validate$O(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1523
1567
|
return v_error === undefined ? null : v_error;
|
|
1524
1568
|
}
|
|
1525
1569
|
|
|
1526
|
-
function validate$
|
|
1570
|
+
function validate$O(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
1527
1571
|
const v_error = (() => {
|
|
1528
1572
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1529
1573
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1551,7 +1595,7 @@ function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1551
1595
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
1552
1596
|
const obj_fields_item = obj_fields[i];
|
|
1553
1597
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
1554
|
-
const referencepath_fields_itemValidationError = validate$
|
|
1598
|
+
const referencepath_fields_itemValidationError = validate$T(obj_fields_item, path_fields_item);
|
|
1555
1599
|
if (referencepath_fields_itemValidationError !== null) {
|
|
1556
1600
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
1557
1601
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1576,7 +1620,7 @@ function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1576
1620
|
if (obj.semanticDimension !== undefined) {
|
|
1577
1621
|
const obj_semanticDimension = obj.semanticDimension;
|
|
1578
1622
|
const path_semanticDimension = path + '.semanticDimension';
|
|
1579
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
1623
|
+
const referencepath_semanticDimensionValidationError = validate$_(obj_semanticDimension, path_semanticDimension);
|
|
1580
1624
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
1581
1625
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
1582
1626
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1586,7 +1630,7 @@ function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1586
1630
|
if (obj.semanticMeasurement !== undefined) {
|
|
1587
1631
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
1588
1632
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
1589
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
1633
|
+
const referencepath_semanticMeasurementValidationError = validate$Z(obj_semanticMeasurement, path_semanticMeasurement);
|
|
1590
1634
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
1591
1635
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
1592
1636
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1597,7 +1641,7 @@ function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1597
1641
|
return v_error === undefined ? null : v_error;
|
|
1598
1642
|
}
|
|
1599
1643
|
|
|
1600
|
-
function validate$
|
|
1644
|
+
function validate$N(obj, path = 'SemanticUnionInputRepresentation') {
|
|
1601
1645
|
const v_error = (() => {
|
|
1602
1646
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1603
1647
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1632,7 +1676,7 @@ function validate$M(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1632
1676
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1633
1677
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1634
1678
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1635
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1679
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$Y(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1636
1680
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1637
1681
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1638
1682
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1649,7 +1693,7 @@ function validate$M(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1649
1693
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
1650
1694
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
1651
1695
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
1652
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
1696
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$O(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
1653
1697
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
1654
1698
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
1655
1699
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1661,7 +1705,7 @@ function validate$M(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1661
1705
|
return v_error === undefined ? null : v_error;
|
|
1662
1706
|
}
|
|
1663
1707
|
|
|
1664
|
-
function validate$
|
|
1708
|
+
function validate$M(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
1665
1709
|
const v_error = (() => {
|
|
1666
1710
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1667
1711
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1703,7 +1747,7 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1703
1747
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1704
1748
|
const obj_filters_item = obj_filters[i];
|
|
1705
1749
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1706
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1750
|
+
const referencepath_filters_itemValidationError = validate$11(obj_filters_item, path_filters_item);
|
|
1707
1751
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1708
1752
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1709
1753
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1727,7 +1771,7 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1727
1771
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1728
1772
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1729
1773
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1730
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1774
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$Y(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1731
1775
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1732
1776
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1733
1777
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1744,7 +1788,7 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1744
1788
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
1745
1789
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
1746
1790
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
1747
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
1791
|
+
const referencepath_semanticRelationships_itemValidationError = validate$P(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
1748
1792
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
1749
1793
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
1750
1794
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1761,7 +1805,7 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1761
1805
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
1762
1806
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
1763
1807
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
1764
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
1808
|
+
const referencepath_semanticUnions_itemValidationError = validate$N(obj_semanticUnions_item, path_semanticUnions_item);
|
|
1765
1809
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
1766
1810
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
1767
1811
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1780,7 +1824,7 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1780
1824
|
return v_error === undefined ? null : v_error;
|
|
1781
1825
|
}
|
|
1782
1826
|
|
|
1783
|
-
function validate$
|
|
1827
|
+
function validate$L(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
1784
1828
|
const v_error = (() => {
|
|
1785
1829
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1786
1830
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1788,7 +1832,7 @@ function validate$K(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1788
1832
|
if (obj.identifierDimensionReference !== undefined) {
|
|
1789
1833
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
1790
1834
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
1791
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
1835
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$S(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
1792
1836
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
1793
1837
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
1794
1838
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1798,7 +1842,7 @@ function validate$K(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1798
1842
|
if (obj.namingDimensionReference !== undefined) {
|
|
1799
1843
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
1800
1844
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
1801
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
1845
|
+
const referencepath_namingDimensionReferenceValidationError = validate$S(obj_namingDimensionReference, path_namingDimensionReference);
|
|
1802
1846
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
1803
1847
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
1804
1848
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1809,7 +1853,7 @@ function validate$K(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1809
1853
|
return v_error === undefined ? null : v_error;
|
|
1810
1854
|
}
|
|
1811
1855
|
|
|
1812
|
-
function validate$
|
|
1856
|
+
function validate$K(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
1813
1857
|
const v_error = (() => {
|
|
1814
1858
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1815
1859
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1832,7 +1876,7 @@ function validate$J(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
1832
1876
|
return v_error === undefined ? null : v_error;
|
|
1833
1877
|
}
|
|
1834
1878
|
|
|
1835
|
-
function validate$
|
|
1879
|
+
function validate$J(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
1836
1880
|
const v_error = (() => {
|
|
1837
1881
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1838
1882
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1840,7 +1884,7 @@ function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1840
1884
|
if (obj.identifyingDimension !== undefined) {
|
|
1841
1885
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
1842
1886
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
1843
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
1887
|
+
const referencepath_identifyingDimensionValidationError = validate$L(obj_identifyingDimension, path_identifyingDimension);
|
|
1844
1888
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
1845
1889
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
1846
1890
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1856,7 +1900,7 @@ function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1856
1900
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
1857
1901
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
1858
1902
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
1859
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
1903
|
+
const referencepath_insightTypes_itemValidationError = validate$K(obj_insightTypes_item, path_insightTypes_item);
|
|
1860
1904
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
1861
1905
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
1862
1906
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1873,7 +1917,7 @@ function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1873
1917
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
1874
1918
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
1875
1919
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
1876
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
1920
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$S(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
1877
1921
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
1878
1922
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
1879
1923
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1906,7 +1950,7 @@ function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1906
1950
|
return v_error === undefined ? null : v_error;
|
|
1907
1951
|
}
|
|
1908
1952
|
|
|
1909
|
-
function validate$
|
|
1953
|
+
function validate$I(obj, path = 'SemanticMetricInputRepresentation') {
|
|
1910
1954
|
const v_error = (() => {
|
|
1911
1955
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1912
1956
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1920,7 +1964,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1920
1964
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
1921
1965
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
1922
1966
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
1923
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
1967
|
+
const referencepath_additionalDimensions_itemValidationError = validate$S(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
1924
1968
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
1925
1969
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
1926
1970
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1965,7 +2009,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1965
2009
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1966
2010
|
const obj_filters_item = obj_filters[i];
|
|
1967
2011
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1968
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2012
|
+
const referencepath_filters_itemValidationError = validate$11(obj_filters_item, path_filters_item);
|
|
1969
2013
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1970
2014
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1971
2015
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1976,7 +2020,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1976
2020
|
if (obj.insightsSettings !== undefined) {
|
|
1977
2021
|
const obj_insightsSettings = obj.insightsSettings;
|
|
1978
2022
|
const path_insightsSettings = path + '.insightsSettings';
|
|
1979
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
2023
|
+
const referencepath_insightsSettingsValidationError = validate$J(obj_insightsSettings, path_insightsSettings);
|
|
1980
2024
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
1981
2025
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
1982
2026
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2000,7 +2044,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2000
2044
|
if (obj.measurementReference !== undefined) {
|
|
2001
2045
|
const obj_measurementReference = obj.measurementReference;
|
|
2002
2046
|
const path_measurementReference = path + '.measurementReference';
|
|
2003
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
2047
|
+
const referencepath_measurementReferenceValidationError = validate$S(obj_measurementReference, path_measurementReference);
|
|
2004
2048
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
2005
2049
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
2006
2050
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2010,7 +2054,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2010
2054
|
if (obj.timeDimensionReference !== undefined) {
|
|
2011
2055
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
2012
2056
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
2013
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
2057
|
+
const referencepath_timeDimensionReferenceValidationError = validate$S(obj_timeDimensionReference, path_timeDimensionReference);
|
|
2014
2058
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
2015
2059
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
2016
2060
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2035,7 +2079,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2035
2079
|
return v_error === undefined ? null : v_error;
|
|
2036
2080
|
}
|
|
2037
2081
|
|
|
2038
|
-
function validate$
|
|
2082
|
+
function validate$H(obj, path = 'SemanticParameterInputRepresentation') {
|
|
2039
2083
|
const v_error = (() => {
|
|
2040
2084
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2041
2085
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2135,8 +2179,8 @@ function validate$G(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
2135
2179
|
return v_error === undefined ? null : v_error;
|
|
2136
2180
|
}
|
|
2137
2181
|
|
|
2138
|
-
const VERSION$
|
|
2139
|
-
function validate$
|
|
2182
|
+
const VERSION$A = "3a32d382e7a2268096278aa8e5c6761a";
|
|
2183
|
+
function validate$G(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
2140
2184
|
const v_error = (() => {
|
|
2141
2185
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2142
2186
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2156,10 +2200,10 @@ function validate$F(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
|
2156
2200
|
})();
|
|
2157
2201
|
return v_error === undefined ? null : v_error;
|
|
2158
2202
|
}
|
|
2159
|
-
const select$
|
|
2203
|
+
const select$Q = function SemanticBaseModelOutputRepresentationSelect() {
|
|
2160
2204
|
return {
|
|
2161
2205
|
kind: 'Fragment',
|
|
2162
|
-
version: VERSION$
|
|
2206
|
+
version: VERSION$A,
|
|
2163
2207
|
private: [],
|
|
2164
2208
|
selections: [
|
|
2165
2209
|
{
|
|
@@ -2174,7 +2218,7 @@ const select$P = function SemanticBaseModelOutputRepresentationSelect() {
|
|
|
2174
2218
|
]
|
|
2175
2219
|
};
|
|
2176
2220
|
};
|
|
2177
|
-
function equals$
|
|
2221
|
+
function equals$A(existing, incoming) {
|
|
2178
2222
|
const existing_apiName = existing.apiName;
|
|
2179
2223
|
const incoming_apiName = incoming.apiName;
|
|
2180
2224
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -2196,8 +2240,8 @@ function equals$z(existing, incoming) {
|
|
|
2196
2240
|
return true;
|
|
2197
2241
|
}
|
|
2198
2242
|
|
|
2199
|
-
const VERSION$
|
|
2200
|
-
function validate$
|
|
2243
|
+
const VERSION$z = "221b0931360d7fcb0a1402b0b82071bd";
|
|
2244
|
+
function validate$F(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation') {
|
|
2201
2245
|
const v_error = (() => {
|
|
2202
2246
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2203
2247
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2225,10 +2269,10 @@ function validate$E(obj, path = 'SemanticModelExternalConnectionTableauPublished
|
|
|
2225
2269
|
})();
|
|
2226
2270
|
return v_error === undefined ? null : v_error;
|
|
2227
2271
|
}
|
|
2228
|
-
const select$
|
|
2272
|
+
const select$P = function SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentationSelect() {
|
|
2229
2273
|
return {
|
|
2230
2274
|
kind: 'Fragment',
|
|
2231
|
-
version: VERSION$
|
|
2275
|
+
version: VERSION$z,
|
|
2232
2276
|
private: [],
|
|
2233
2277
|
selections: [
|
|
2234
2278
|
{
|
|
@@ -2250,7 +2294,7 @@ const select$O = function SemanticModelExternalConnectionTableauPublishedDataSou
|
|
|
2250
2294
|
]
|
|
2251
2295
|
};
|
|
2252
2296
|
};
|
|
2253
|
-
function equals$
|
|
2297
|
+
function equals$z(existing, incoming) {
|
|
2254
2298
|
const existing_dataSourceId = existing.dataSourceId;
|
|
2255
2299
|
const incoming_dataSourceId = incoming.dataSourceId;
|
|
2256
2300
|
if (!(existing_dataSourceId === incoming_dataSourceId)) {
|
|
@@ -2274,8 +2318,8 @@ function equals$y(existing, incoming) {
|
|
|
2274
2318
|
return true;
|
|
2275
2319
|
}
|
|
2276
2320
|
|
|
2277
|
-
const VERSION$
|
|
2278
|
-
function validate$
|
|
2321
|
+
const VERSION$y = "e760a2becca995f7bd15e714d50c088c";
|
|
2322
|
+
function validate$E(obj, path = 'SemanticModelExternalConnectionOutputRepresentation') {
|
|
2279
2323
|
const v_error = (() => {
|
|
2280
2324
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2281
2325
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2307,7 +2351,7 @@ function validate$D(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
2307
2351
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
2308
2352
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
2309
2353
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
2310
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
2354
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$F(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
2311
2355
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
2312
2356
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
2313
2357
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2322,11 +2366,11 @@ function validate$D(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
2322
2366
|
})();
|
|
2323
2367
|
return v_error === undefined ? null : v_error;
|
|
2324
2368
|
}
|
|
2325
|
-
const select$
|
|
2326
|
-
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$
|
|
2369
|
+
const select$O = function SemanticModelExternalConnectionOutputRepresentationSelect() {
|
|
2370
|
+
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$P();
|
|
2327
2371
|
return {
|
|
2328
2372
|
kind: 'Fragment',
|
|
2329
|
-
version: VERSION$
|
|
2373
|
+
version: VERSION$y,
|
|
2330
2374
|
private: [],
|
|
2331
2375
|
selections: [
|
|
2332
2376
|
{
|
|
@@ -2360,7 +2404,7 @@ const select$N = function SemanticModelExternalConnectionOutputRepresentationSel
|
|
|
2360
2404
|
]
|
|
2361
2405
|
};
|
|
2362
2406
|
};
|
|
2363
|
-
function equals$
|
|
2407
|
+
function equals$y(existing, incoming) {
|
|
2364
2408
|
const existing_apiName = existing.apiName;
|
|
2365
2409
|
const incoming_apiName = incoming.apiName;
|
|
2366
2410
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -2411,10 +2455,127 @@ function equals$x(existing, incoming) {
|
|
|
2411
2455
|
if (existing_tableauPublishedDataSource === undefined || incoming_tableauPublishedDataSource === undefined) {
|
|
2412
2456
|
return false;
|
|
2413
2457
|
}
|
|
2414
|
-
if (!(equals$
|
|
2458
|
+
if (!(equals$z(existing_tableauPublishedDataSource, incoming_tableauPublishedDataSource))) {
|
|
2459
|
+
return false;
|
|
2460
|
+
}
|
|
2461
|
+
}
|
|
2462
|
+
return true;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
const VERSION$x = "6f06bef394bf9744da80affc7b8109c6";
|
|
2466
|
+
function validate$D(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
2467
|
+
const v_error = (() => {
|
|
2468
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2469
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2470
|
+
}
|
|
2471
|
+
const obj_entityFqn = obj.entityFqn;
|
|
2472
|
+
const path_entityFqn = path + '.entityFqn';
|
|
2473
|
+
if (typeof obj_entityFqn !== 'string') {
|
|
2474
|
+
return new TypeError('Expected "string" but received "' + typeof obj_entityFqn + '" (at "' + path_entityFqn + '")');
|
|
2475
|
+
}
|
|
2476
|
+
const obj_entityId = obj.entityId;
|
|
2477
|
+
const path_entityId = path + '.entityId';
|
|
2478
|
+
if (typeof obj_entityId !== 'string') {
|
|
2479
|
+
return new TypeError('Expected "string" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
|
|
2480
|
+
}
|
|
2481
|
+
const obj_id = obj.id;
|
|
2482
|
+
const path_id = path + '.id';
|
|
2483
|
+
if (typeof obj_id !== 'string') {
|
|
2484
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2485
|
+
}
|
|
2486
|
+
if (obj.propertyBaseModelValue !== undefined) {
|
|
2487
|
+
const obj_propertyBaseModelValue = obj.propertyBaseModelValue;
|
|
2488
|
+
const path_propertyBaseModelValue = path + '.propertyBaseModelValue';
|
|
2489
|
+
if (typeof obj_propertyBaseModelValue !== 'string') {
|
|
2490
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyBaseModelValue + '" (at "' + path_propertyBaseModelValue + '")');
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
const obj_propertyName = obj.propertyName;
|
|
2494
|
+
const path_propertyName = path + '.propertyName';
|
|
2495
|
+
if (typeof obj_propertyName !== 'string') {
|
|
2496
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyName + '" (at "' + path_propertyName + '")');
|
|
2497
|
+
}
|
|
2498
|
+
const obj_propertyOverrideValue = obj.propertyOverrideValue;
|
|
2499
|
+
const path_propertyOverrideValue = path + '.propertyOverrideValue';
|
|
2500
|
+
if (typeof obj_propertyOverrideValue !== 'string') {
|
|
2501
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyOverrideValue + '" (at "' + path_propertyOverrideValue + '")');
|
|
2502
|
+
}
|
|
2503
|
+
})();
|
|
2504
|
+
return v_error === undefined ? null : v_error;
|
|
2505
|
+
}
|
|
2506
|
+
const select$N = function SemanticOverrideOutputRepresentationSelect() {
|
|
2507
|
+
return {
|
|
2508
|
+
kind: 'Fragment',
|
|
2509
|
+
version: VERSION$x,
|
|
2510
|
+
private: [],
|
|
2511
|
+
selections: [
|
|
2512
|
+
{
|
|
2513
|
+
name: 'entityFqn',
|
|
2514
|
+
kind: 'Scalar'
|
|
2515
|
+
},
|
|
2516
|
+
{
|
|
2517
|
+
name: 'entityId',
|
|
2518
|
+
kind: 'Scalar'
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
name: 'id',
|
|
2522
|
+
kind: 'Scalar'
|
|
2523
|
+
},
|
|
2524
|
+
{
|
|
2525
|
+
name: 'propertyBaseModelValue',
|
|
2526
|
+
kind: 'Scalar',
|
|
2527
|
+
required: false
|
|
2528
|
+
},
|
|
2529
|
+
{
|
|
2530
|
+
name: 'propertyName',
|
|
2531
|
+
kind: 'Scalar'
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
name: 'propertyOverrideValue',
|
|
2535
|
+
kind: 'Scalar'
|
|
2536
|
+
}
|
|
2537
|
+
]
|
|
2538
|
+
};
|
|
2539
|
+
};
|
|
2540
|
+
function equals$x(existing, incoming) {
|
|
2541
|
+
const existing_entityFqn = existing.entityFqn;
|
|
2542
|
+
const incoming_entityFqn = incoming.entityFqn;
|
|
2543
|
+
if (!(existing_entityFqn === incoming_entityFqn)) {
|
|
2544
|
+
return false;
|
|
2545
|
+
}
|
|
2546
|
+
const existing_entityId = existing.entityId;
|
|
2547
|
+
const incoming_entityId = incoming.entityId;
|
|
2548
|
+
if (!(existing_entityId === incoming_entityId)) {
|
|
2549
|
+
return false;
|
|
2550
|
+
}
|
|
2551
|
+
const existing_id = existing.id;
|
|
2552
|
+
const incoming_id = incoming.id;
|
|
2553
|
+
if (!(existing_id === incoming_id)) {
|
|
2554
|
+
return false;
|
|
2555
|
+
}
|
|
2556
|
+
const existing_propertyBaseModelValue = existing.propertyBaseModelValue;
|
|
2557
|
+
const incoming_propertyBaseModelValue = incoming.propertyBaseModelValue;
|
|
2558
|
+
// if at least one of these optionals is defined
|
|
2559
|
+
if (existing_propertyBaseModelValue !== undefined || incoming_propertyBaseModelValue !== undefined) {
|
|
2560
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2561
|
+
// not equal
|
|
2562
|
+
if (existing_propertyBaseModelValue === undefined || incoming_propertyBaseModelValue === undefined) {
|
|
2563
|
+
return false;
|
|
2564
|
+
}
|
|
2565
|
+
if (!(existing_propertyBaseModelValue === incoming_propertyBaseModelValue)) {
|
|
2415
2566
|
return false;
|
|
2416
2567
|
}
|
|
2417
2568
|
}
|
|
2569
|
+
const existing_propertyName = existing.propertyName;
|
|
2570
|
+
const incoming_propertyName = incoming.propertyName;
|
|
2571
|
+
if (!(existing_propertyName === incoming_propertyName)) {
|
|
2572
|
+
return false;
|
|
2573
|
+
}
|
|
2574
|
+
const existing_propertyOverrideValue = existing.propertyOverrideValue;
|
|
2575
|
+
const incoming_propertyOverrideValue = incoming.propertyOverrideValue;
|
|
2576
|
+
if (!(existing_propertyOverrideValue === incoming_propertyOverrideValue)) {
|
|
2577
|
+
return false;
|
|
2578
|
+
}
|
|
2418
2579
|
return true;
|
|
2419
2580
|
}
|
|
2420
2581
|
|
|
@@ -2515,7 +2676,7 @@ function equals$w(existing, incoming) {
|
|
|
2515
2676
|
return true;
|
|
2516
2677
|
}
|
|
2517
2678
|
|
|
2518
|
-
const VERSION$v = "
|
|
2679
|
+
const VERSION$v = "8e79a20925f9ec85025ffe505523c74c";
|
|
2519
2680
|
function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
2520
2681
|
const v_error = (() => {
|
|
2521
2682
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2628,6 +2789,13 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2628
2789
|
if (typeof obj_id !== 'string') {
|
|
2629
2790
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2630
2791
|
}
|
|
2792
|
+
if (obj.isOverrideBase !== undefined) {
|
|
2793
|
+
const obj_isOverrideBase = obj.isOverrideBase;
|
|
2794
|
+
const path_isOverrideBase = path + '.isOverrideBase';
|
|
2795
|
+
if (typeof obj_isOverrideBase !== 'boolean') {
|
|
2796
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
2797
|
+
}
|
|
2798
|
+
}
|
|
2631
2799
|
if (obj.isVisible !== undefined) {
|
|
2632
2800
|
const obj_isVisible = obj.isVisible;
|
|
2633
2801
|
const path_isVisible = path + '.isVisible';
|
|
@@ -2780,6 +2948,11 @@ const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2780
2948
|
name: 'id',
|
|
2781
2949
|
kind: 'Scalar'
|
|
2782
2950
|
},
|
|
2951
|
+
{
|
|
2952
|
+
name: 'isOverrideBase',
|
|
2953
|
+
kind: 'Scalar',
|
|
2954
|
+
required: false
|
|
2955
|
+
},
|
|
2783
2956
|
{
|
|
2784
2957
|
name: 'isVisible',
|
|
2785
2958
|
kind: 'Scalar',
|
|
@@ -2824,6 +2997,19 @@ const select$L = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2824
2997
|
};
|
|
2825
2998
|
};
|
|
2826
2999
|
function equals$v(existing, incoming) {
|
|
3000
|
+
const existing_isOverrideBase = existing.isOverrideBase;
|
|
3001
|
+
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
3002
|
+
// if at least one of these optionals is defined
|
|
3003
|
+
if (existing_isOverrideBase !== undefined || incoming_isOverrideBase !== undefined) {
|
|
3004
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3005
|
+
// not equal
|
|
3006
|
+
if (existing_isOverrideBase === undefined || incoming_isOverrideBase === undefined) {
|
|
3007
|
+
return false;
|
|
3008
|
+
}
|
|
3009
|
+
if (!(existing_isOverrideBase === incoming_isOverrideBase)) {
|
|
3010
|
+
return false;
|
|
3011
|
+
}
|
|
3012
|
+
}
|
|
2827
3013
|
const existing_isVisible = existing.isVisible;
|
|
2828
3014
|
const incoming_isVisible = incoming.isVisible;
|
|
2829
3015
|
// if at least one of these optionals is defined
|
|
@@ -3120,7 +3306,7 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3120
3306
|
});
|
|
3121
3307
|
}
|
|
3122
3308
|
|
|
3123
|
-
const VERSION$u = "
|
|
3309
|
+
const VERSION$u = "bc21c46456a2024253da5ae96ccf7dfe";
|
|
3124
3310
|
function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
3125
3311
|
const v_error = (() => {
|
|
3126
3312
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3254,6 +3440,13 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3254
3440
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isAggregatable + '" (at "' + path_isAggregatable + '")');
|
|
3255
3441
|
}
|
|
3256
3442
|
}
|
|
3443
|
+
if (obj.isOverrideBase !== undefined) {
|
|
3444
|
+
const obj_isOverrideBase = obj.isOverrideBase;
|
|
3445
|
+
const path_isOverrideBase = path + '.isOverrideBase';
|
|
3446
|
+
if (typeof obj_isOverrideBase !== 'boolean') {
|
|
3447
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
3448
|
+
}
|
|
3449
|
+
}
|
|
3257
3450
|
if (obj.isVisible !== undefined) {
|
|
3258
3451
|
const obj_isVisible = obj.isVisible;
|
|
3259
3452
|
const path_isVisible = path + '.isVisible';
|
|
@@ -3442,6 +3635,11 @@ const select$K = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3442
3635
|
kind: 'Scalar',
|
|
3443
3636
|
required: false
|
|
3444
3637
|
},
|
|
3638
|
+
{
|
|
3639
|
+
name: 'isOverrideBase',
|
|
3640
|
+
kind: 'Scalar',
|
|
3641
|
+
required: false
|
|
3642
|
+
},
|
|
3445
3643
|
{
|
|
3446
3644
|
name: 'isVisible',
|
|
3447
3645
|
kind: 'Scalar',
|
|
@@ -3514,6 +3712,19 @@ function equals$u(existing, incoming) {
|
|
|
3514
3712
|
return false;
|
|
3515
3713
|
}
|
|
3516
3714
|
}
|
|
3715
|
+
const existing_isOverrideBase = existing.isOverrideBase;
|
|
3716
|
+
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
3717
|
+
// if at least one of these optionals is defined
|
|
3718
|
+
if (existing_isOverrideBase !== undefined || incoming_isOverrideBase !== undefined) {
|
|
3719
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3720
|
+
// not equal
|
|
3721
|
+
if (existing_isOverrideBase === undefined || incoming_isOverrideBase === undefined) {
|
|
3722
|
+
return false;
|
|
3723
|
+
}
|
|
3724
|
+
if (!(existing_isOverrideBase === incoming_isOverrideBase)) {
|
|
3725
|
+
return false;
|
|
3726
|
+
}
|
|
3727
|
+
}
|
|
3517
3728
|
const existing_isVisible = existing.isVisible;
|
|
3518
3729
|
const incoming_isVisible = incoming.isVisible;
|
|
3519
3730
|
// if at least one of these optionals is defined
|
|
@@ -8469,7 +8680,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8469
8680
|
});
|
|
8470
8681
|
}
|
|
8471
8682
|
|
|
8472
|
-
const VERSION$a = "
|
|
8683
|
+
const VERSION$a = "384950eda90c1492434fc4519368df85";
|
|
8473
8684
|
function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
8474
8685
|
const v_error = (() => {
|
|
8475
8686
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8503,7 +8714,7 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8503
8714
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
8504
8715
|
const obj_baseModels_item = obj_baseModels[i];
|
|
8505
8716
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
8506
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
8717
|
+
const referencepath_baseModels_itemValidationError = validate$G(obj_baseModels_item, path_baseModels_item);
|
|
8507
8718
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
8508
8719
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
8509
8720
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8563,7 +8774,7 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8563
8774
|
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
8564
8775
|
const obj_externalConnections_item = obj_externalConnections[i];
|
|
8565
8776
|
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
8566
|
-
const referencepath_externalConnections_itemValidationError = validate$
|
|
8777
|
+
const referencepath_externalConnections_itemValidationError = validate$E(obj_externalConnections_item, path_externalConnections_item);
|
|
8567
8778
|
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
8568
8779
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
8569
8780
|
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8571,6 +8782,23 @@ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8571
8782
|
}
|
|
8572
8783
|
}
|
|
8573
8784
|
}
|
|
8785
|
+
if (obj.fieldsOverrides !== undefined) {
|
|
8786
|
+
const obj_fieldsOverrides = obj.fieldsOverrides;
|
|
8787
|
+
const path_fieldsOverrides = path + '.fieldsOverrides';
|
|
8788
|
+
if (!ArrayIsArray(obj_fieldsOverrides)) {
|
|
8789
|
+
return new TypeError('Expected "array" but received "' + typeof obj_fieldsOverrides + '" (at "' + path_fieldsOverrides + '")');
|
|
8790
|
+
}
|
|
8791
|
+
for (let i = 0; i < obj_fieldsOverrides.length; i++) {
|
|
8792
|
+
const obj_fieldsOverrides_item = obj_fieldsOverrides[i];
|
|
8793
|
+
const path_fieldsOverrides_item = path_fieldsOverrides + '[' + i + ']';
|
|
8794
|
+
const referencepath_fieldsOverrides_itemValidationError = validate$D(obj_fieldsOverrides_item, path_fieldsOverrides_item);
|
|
8795
|
+
if (referencepath_fieldsOverrides_itemValidationError !== null) {
|
|
8796
|
+
let message = 'Object doesn\'t match SemanticOverrideOutputRepresentation (at "' + path_fieldsOverrides_item + '")\n';
|
|
8797
|
+
message += referencepath_fieldsOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8798
|
+
return new TypeError(message);
|
|
8799
|
+
}
|
|
8800
|
+
}
|
|
8801
|
+
}
|
|
8574
8802
|
const obj_id = obj.id;
|
|
8575
8803
|
const path_id = path + '.id';
|
|
8576
8804
|
if (typeof obj_id !== 'string') {
|
|
@@ -8961,8 +9189,9 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
8961
9189
|
return input;
|
|
8962
9190
|
}
|
|
8963
9191
|
const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
8964
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
8965
|
-
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$
|
|
9192
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$Q();
|
|
9193
|
+
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$O();
|
|
9194
|
+
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$N();
|
|
8966
9195
|
return {
|
|
8967
9196
|
kind: 'Fragment',
|
|
8968
9197
|
version: VERSION$a,
|
|
@@ -9024,6 +9253,13 @@ const select$q = function SemanticModelOutputRepresentationSelect() {
|
|
|
9024
9253
|
selections: SemanticModelExternalConnectionOutputRepresentation__selections,
|
|
9025
9254
|
required: false
|
|
9026
9255
|
},
|
|
9256
|
+
{
|
|
9257
|
+
name: 'fieldsOverrides',
|
|
9258
|
+
kind: 'Object',
|
|
9259
|
+
plural: true,
|
|
9260
|
+
selections: SemanticOverrideOutputRepresentation__selections,
|
|
9261
|
+
required: false
|
|
9262
|
+
},
|
|
9027
9263
|
{
|
|
9028
9264
|
name: 'id',
|
|
9029
9265
|
kind: 'Scalar'
|
|
@@ -9396,7 +9632,7 @@ function equals$a(existing, incoming) {
|
|
|
9396
9632
|
return false;
|
|
9397
9633
|
}
|
|
9398
9634
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
9399
|
-
if (!(equals$
|
|
9635
|
+
if (!(equals$A(existing_baseModels_item, incoming_baseModels_item))) {
|
|
9400
9636
|
return false;
|
|
9401
9637
|
}
|
|
9402
9638
|
});
|
|
@@ -9432,7 +9668,7 @@ function equals$a(existing, incoming) {
|
|
|
9432
9668
|
return false;
|
|
9433
9669
|
}
|
|
9434
9670
|
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
9435
|
-
if (!(equals$
|
|
9671
|
+
if (!(equals$y(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
9436
9672
|
return false;
|
|
9437
9673
|
}
|
|
9438
9674
|
});
|
|
@@ -9440,6 +9676,24 @@ function equals$a(existing, incoming) {
|
|
|
9440
9676
|
return false;
|
|
9441
9677
|
}
|
|
9442
9678
|
}
|
|
9679
|
+
const existing_fieldsOverrides = existing.fieldsOverrides;
|
|
9680
|
+
const incoming_fieldsOverrides = incoming.fieldsOverrides;
|
|
9681
|
+
// if at least one of these optionals is defined
|
|
9682
|
+
if (existing_fieldsOverrides !== undefined || incoming_fieldsOverrides !== undefined) {
|
|
9683
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9684
|
+
// not equal
|
|
9685
|
+
if (existing_fieldsOverrides === undefined || incoming_fieldsOverrides === undefined) {
|
|
9686
|
+
return false;
|
|
9687
|
+
}
|
|
9688
|
+
const equals_fieldsOverrides_items = equalsArray(existing_fieldsOverrides, incoming_fieldsOverrides, (existing_fieldsOverrides_item, incoming_fieldsOverrides_item) => {
|
|
9689
|
+
if (!(equals$x(existing_fieldsOverrides_item, incoming_fieldsOverrides_item))) {
|
|
9690
|
+
return false;
|
|
9691
|
+
}
|
|
9692
|
+
});
|
|
9693
|
+
if (equals_fieldsOverrides_items === false) {
|
|
9694
|
+
return false;
|
|
9695
|
+
}
|
|
9696
|
+
}
|
|
9443
9697
|
const existing_semanticCalculatedDimensions = existing.semanticCalculatedDimensions;
|
|
9444
9698
|
const incoming_semanticCalculatedDimensions = incoming.semanticCalculatedDimensions;
|
|
9445
9699
|
// if at least one of these optionals is defined
|
|
@@ -9719,6 +9973,7 @@ const createSemanticModel_ConfigPropertyMetadata = [
|
|
|
9719
9973
|
generateParamConfigMetadata('sourceCreationName', false, 2 /* Body */, 0 /* String */),
|
|
9720
9974
|
generateParamConfigMetadata('baseModels', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9721
9975
|
generateParamConfigMetadata('externalConnections', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9976
|
+
generateParamConfigMetadata('fieldsOverrides', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9722
9977
|
generateParamConfigMetadata('semanticCalculatedDimensions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9723
9978
|
generateParamConfigMetadata('semanticCalculatedMeasurements', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
9724
9979
|
generateParamConfigMetadata('semanticDataObjects', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -9738,7 +9993,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9738
9993
|
const untrustedConfig_baseModels_array = [];
|
|
9739
9994
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
9740
9995
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
9741
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
9996
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$15(untrustedConfig_baseModels_item);
|
|
9742
9997
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
9743
9998
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
9744
9999
|
}
|
|
@@ -9750,19 +10005,31 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9750
10005
|
const untrustedConfig_externalConnections_array = [];
|
|
9751
10006
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
9752
10007
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
9753
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
10008
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$13(untrustedConfig_externalConnections_item);
|
|
9754
10009
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
9755
10010
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
9756
10011
|
}
|
|
9757
10012
|
}
|
|
9758
10013
|
config.externalConnections = untrustedConfig_externalConnections_array;
|
|
9759
10014
|
}
|
|
10015
|
+
const untrustedConfig_fieldsOverrides = untrustedConfig.fieldsOverrides;
|
|
10016
|
+
if (ArrayIsArray$1(untrustedConfig_fieldsOverrides)) {
|
|
10017
|
+
const untrustedConfig_fieldsOverrides_array = [];
|
|
10018
|
+
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
10019
|
+
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
10020
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$12(untrustedConfig_fieldsOverrides_item);
|
|
10021
|
+
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
10022
|
+
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
10023
|
+
}
|
|
10024
|
+
}
|
|
10025
|
+
config.fieldsOverrides = untrustedConfig_fieldsOverrides_array;
|
|
10026
|
+
}
|
|
9760
10027
|
const untrustedConfig_semanticCalculatedDimensions = untrustedConfig.semanticCalculatedDimensions;
|
|
9761
10028
|
if (ArrayIsArray$1(untrustedConfig_semanticCalculatedDimensions)) {
|
|
9762
10029
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
9763
10030
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
9764
10031
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
9765
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
10032
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$10(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9766
10033
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
9767
10034
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9768
10035
|
}
|
|
@@ -9774,7 +10041,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9774
10041
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
9775
10042
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
9776
10043
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
9777
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate
|
|
10044
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9778
10045
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
9779
10046
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9780
10047
|
}
|
|
@@ -9786,7 +10053,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9786
10053
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
9787
10054
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
9788
10055
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
9789
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10056
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$Y(untrustedConfig_semanticDataObjects_item);
|
|
9790
10057
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
9791
10058
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
9792
10059
|
}
|
|
@@ -9798,7 +10065,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9798
10065
|
const untrustedConfig_semanticGroupings_array = [];
|
|
9799
10066
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
9800
10067
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
9801
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10068
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$R(untrustedConfig_semanticGroupings_item);
|
|
9802
10069
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
9803
10070
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
9804
10071
|
}
|
|
@@ -9810,7 +10077,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9810
10077
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
9811
10078
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
9812
10079
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
9813
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10080
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$M(untrustedConfig_semanticLogicalViews_item);
|
|
9814
10081
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
9815
10082
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
9816
10083
|
}
|
|
@@ -9822,7 +10089,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9822
10089
|
const untrustedConfig_semanticMetrics_array = [];
|
|
9823
10090
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
9824
10091
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
9825
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10092
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$I(untrustedConfig_semanticMetrics_item);
|
|
9826
10093
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
9827
10094
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
9828
10095
|
}
|
|
@@ -9834,7 +10101,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9834
10101
|
const untrustedConfig_semanticParameters_array = [];
|
|
9835
10102
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
9836
10103
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
9837
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10104
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$H(untrustedConfig_semanticParameters_item);
|
|
9838
10105
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
9839
10106
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
9840
10107
|
}
|
|
@@ -9846,7 +10113,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
9846
10113
|
const untrustedConfig_semanticRelationships_array = [];
|
|
9847
10114
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
9848
10115
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
9849
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10116
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$P(untrustedConfig_semanticRelationships_item);
|
|
9850
10117
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
9851
10118
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
9852
10119
|
}
|
|
@@ -9918,7 +10185,7 @@ function validate$d(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
9918
10185
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
9919
10186
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
9920
10187
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
9921
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
10188
|
+
const referencepath_statusConditions_itemValidationError = validate$19(obj_statusConditions_item, path_statusConditions_item);
|
|
9922
10189
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
9923
10190
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionInputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
9924
10191
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9978,7 +10245,7 @@ function validate$b(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
9978
10245
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
9979
10246
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
9980
10247
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
9981
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
10248
|
+
const referencepath_statusConditions_itemValidationError = validate$17(obj_statusConditions_item, path_statusConditions_item);
|
|
9982
10249
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
9983
10250
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
9984
10251
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10259,7 +10526,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10259
10526
|
const untrustedConfig_filters_array = [];
|
|
10260
10527
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
10261
10528
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
10262
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
10529
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$11(untrustedConfig_filters_item);
|
|
10263
10530
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
10264
10531
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
10265
10532
|
}
|
|
@@ -11029,7 +11296,7 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
|
|
|
11029
11296
|
};
|
|
11030
11297
|
|
|
11031
11298
|
function select$i(luvio, params) {
|
|
11032
|
-
return select$
|
|
11299
|
+
return select$S();
|
|
11033
11300
|
}
|
|
11034
11301
|
function keyBuilder$j(luvio, params) {
|
|
11035
11302
|
return keyBuilder$B(luvio, {
|
|
@@ -12339,7 +12606,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
12339
12606
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
12340
12607
|
const obj_baseModels_item = obj_baseModels[i];
|
|
12341
12608
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
12342
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
12609
|
+
const referencepath_baseModels_itemValidationError = validate$G(obj_baseModels_item, path_baseModels_item);
|
|
12343
12610
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
12344
12611
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
12345
12612
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12511,7 +12778,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
12511
12778
|
return v_error === undefined ? null : v_error;
|
|
12512
12779
|
}
|
|
12513
12780
|
const select$9 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
12514
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
12781
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$Q();
|
|
12515
12782
|
return {
|
|
12516
12783
|
kind: 'Fragment',
|
|
12517
12784
|
version: VERSION$2,
|
|
@@ -12882,7 +13149,7 @@ function equals$2(existing, incoming) {
|
|
|
12882
13149
|
return false;
|
|
12883
13150
|
}
|
|
12884
13151
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
12885
|
-
if (!(equals$
|
|
13152
|
+
if (!(equals$A(existing_baseModels_item, incoming_baseModels_item))) {
|
|
12886
13153
|
return false;
|
|
12887
13154
|
}
|
|
12888
13155
|
});
|
|
@@ -13921,7 +14188,7 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
13921
14188
|
const untrustedConfig_statusConditions_array = [];
|
|
13922
14189
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
13923
14190
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
13924
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
14191
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$19(untrustedConfig_statusConditions_item);
|
|
13925
14192
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
13926
14193
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
13927
14194
|
}
|
|
@@ -14023,6 +14290,7 @@ const patchSemanticModel_ConfigPropertyMetadata = [
|
|
|
14023
14290
|
generateParamConfigMetadata('sourceCreationName', false, 2 /* Body */, 0 /* String */),
|
|
14024
14291
|
generateParamConfigMetadata('baseModels', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
14025
14292
|
generateParamConfigMetadata('externalConnections', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
14293
|
+
generateParamConfigMetadata('fieldsOverrides', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
14026
14294
|
generateParamConfigMetadata('semanticCalculatedDimensions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
14027
14295
|
generateParamConfigMetadata('semanticCalculatedMeasurements', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
14028
14296
|
generateParamConfigMetadata('semanticDataObjects', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -14042,7 +14310,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14042
14310
|
const untrustedConfig_baseModels_array = [];
|
|
14043
14311
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
14044
14312
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
14045
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
14313
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$15(untrustedConfig_baseModels_item);
|
|
14046
14314
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
14047
14315
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
14048
14316
|
}
|
|
@@ -14054,19 +14322,31 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14054
14322
|
const untrustedConfig_externalConnections_array = [];
|
|
14055
14323
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
14056
14324
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
14057
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
14325
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$13(untrustedConfig_externalConnections_item);
|
|
14058
14326
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
14059
14327
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
14060
14328
|
}
|
|
14061
14329
|
}
|
|
14062
14330
|
config.externalConnections = untrustedConfig_externalConnections_array;
|
|
14063
14331
|
}
|
|
14332
|
+
const untrustedConfig_fieldsOverrides = untrustedConfig.fieldsOverrides;
|
|
14333
|
+
if (ArrayIsArray$1(untrustedConfig_fieldsOverrides)) {
|
|
14334
|
+
const untrustedConfig_fieldsOverrides_array = [];
|
|
14335
|
+
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
14336
|
+
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
14337
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$12(untrustedConfig_fieldsOverrides_item);
|
|
14338
|
+
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
14339
|
+
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
14340
|
+
}
|
|
14341
|
+
}
|
|
14342
|
+
config.fieldsOverrides = untrustedConfig_fieldsOverrides_array;
|
|
14343
|
+
}
|
|
14064
14344
|
const untrustedConfig_semanticCalculatedDimensions = untrustedConfig.semanticCalculatedDimensions;
|
|
14065
14345
|
if (ArrayIsArray$1(untrustedConfig_semanticCalculatedDimensions)) {
|
|
14066
14346
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
14067
14347
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
14068
14348
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
14069
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate
|
|
14349
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$10(untrustedConfig_semanticCalculatedDimensions_item);
|
|
14070
14350
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
14071
14351
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
14072
14352
|
}
|
|
@@ -14078,7 +14358,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14078
14358
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
14079
14359
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
14080
14360
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
14081
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate
|
|
14361
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
14082
14362
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
14083
14363
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
14084
14364
|
}
|
|
@@ -14090,7 +14370,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14090
14370
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
14091
14371
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
14092
14372
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
14093
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
14373
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$Y(untrustedConfig_semanticDataObjects_item);
|
|
14094
14374
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
14095
14375
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
14096
14376
|
}
|
|
@@ -14102,7 +14382,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14102
14382
|
const untrustedConfig_semanticGroupings_array = [];
|
|
14103
14383
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
14104
14384
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
14105
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
14385
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$R(untrustedConfig_semanticGroupings_item);
|
|
14106
14386
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
14107
14387
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
14108
14388
|
}
|
|
@@ -14114,7 +14394,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14114
14394
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
14115
14395
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
14116
14396
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
14117
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
14397
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$M(untrustedConfig_semanticLogicalViews_item);
|
|
14118
14398
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
14119
14399
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
14120
14400
|
}
|
|
@@ -14126,7 +14406,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14126
14406
|
const untrustedConfig_semanticMetrics_array = [];
|
|
14127
14407
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
14128
14408
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
14129
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
14409
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$I(untrustedConfig_semanticMetrics_item);
|
|
14130
14410
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
14131
14411
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
14132
14412
|
}
|
|
@@ -14138,7 +14418,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14138
14418
|
const untrustedConfig_semanticParameters_array = [];
|
|
14139
14419
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
14140
14420
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
14141
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
14421
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$H(untrustedConfig_semanticParameters_item);
|
|
14142
14422
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
14143
14423
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
14144
14424
|
}
|
|
@@ -14150,7 +14430,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
14150
14430
|
const untrustedConfig_semanticRelationships_array = [];
|
|
14151
14431
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
14152
14432
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
14153
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
14433
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$P(untrustedConfig_semanticRelationships_item);
|
|
14154
14434
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
14155
14435
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
14156
14436
|
}
|
|
@@ -14202,7 +14482,7 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
14202
14482
|
};
|
|
14203
14483
|
|
|
14204
14484
|
function select(luvio, params) {
|
|
14205
|
-
return select$
|
|
14485
|
+
return select$S();
|
|
14206
14486
|
}
|
|
14207
14487
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
14208
14488
|
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
@@ -14258,7 +14538,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
14258
14538
|
const config = {};
|
|
14259
14539
|
typeCheckConfig$k(untrustedConfig, config, updateSemanticGoal_ConfigPropertyMetadata);
|
|
14260
14540
|
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
14261
|
-
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$
|
|
14541
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$1a(untrustedConfig_dateRange);
|
|
14262
14542
|
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
14263
14543
|
config.dateRange = untrustedConfig_dateRange;
|
|
14264
14544
|
}
|
|
@@ -14267,7 +14547,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
14267
14547
|
const untrustedConfig_statusConditions_array = [];
|
|
14268
14548
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
14269
14549
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
14270
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
14550
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$19(untrustedConfig_statusConditions_item);
|
|
14271
14551
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
14272
14552
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
14273
14553
|
}
|
|
@@ -14482,4 +14762,4 @@ withDefaultLuvio((luvio) => {
|
|
|
14482
14762
|
});
|
|
14483
14763
|
|
|
14484
14764
|
export { createSemanticGoal, createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticGoal, deleteSemanticSubMetric, getLeafDependenciesByTypes, getLeafDependenciesByTypes_imperative, getSemanticGoal, getSemanticGoalNotifyChange, getSemanticGoal_imperative, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticMetricGoal, patchSemanticModel, updateSemanticGoal };
|
|
14485
|
-
// version: 1.
|
|
14765
|
+
// version: 1.353.0-330d59cfcb
|