@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
|
@@ -92,8 +92,8 @@ function createLink(ref) {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
const VERSION$
|
|
96
|
-
function validate$
|
|
95
|
+
const VERSION$B = "a2976cd68e629a917463a3b690cf2527";
|
|
96
|
+
function validate$1a(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
97
97
|
const v_error = (() => {
|
|
98
98
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
99
99
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -115,10 +115,10 @@ function validate$18(obj, path = 'SemanticTableFieldReferenceOutputRepresentatio
|
|
|
115
115
|
})();
|
|
116
116
|
return v_error === undefined ? null : v_error;
|
|
117
117
|
}
|
|
118
|
-
const select$
|
|
118
|
+
const select$S = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
119
119
|
return {
|
|
120
120
|
kind: 'Fragment',
|
|
121
|
-
version: VERSION$
|
|
121
|
+
version: VERSION$B,
|
|
122
122
|
private: [],
|
|
123
123
|
selections: [
|
|
124
124
|
{
|
|
@@ -134,7 +134,7 @@ const select$R = function SemanticTableFieldReferenceOutputRepresentationSelect(
|
|
|
134
134
|
]
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
|
-
function equals$
|
|
137
|
+
function equals$B(existing, incoming) {
|
|
138
138
|
const existing_fieldApiName = existing.fieldApiName;
|
|
139
139
|
const incoming_fieldApiName = incoming.fieldApiName;
|
|
140
140
|
// if at least one of these optionals is defined
|
|
@@ -164,8 +164,8 @@ function equals$A(existing, incoming) {
|
|
|
164
164
|
return true;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
const VERSION$
|
|
168
|
-
function validate$
|
|
167
|
+
const VERSION$A = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
168
|
+
function validate$19(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
169
169
|
const v_error = (() => {
|
|
170
170
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
171
171
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -180,7 +180,7 @@ function validate$17(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
180
180
|
if (obj.tableFieldReference !== undefined) {
|
|
181
181
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
182
182
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
183
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
183
|
+
const referencepath_tableFieldReferenceValidationError = validate$1a(obj_tableFieldReference, path_tableFieldReference);
|
|
184
184
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
185
185
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
186
186
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -190,11 +190,11 @@ function validate$17(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
190
190
|
})();
|
|
191
191
|
return v_error === undefined ? null : v_error;
|
|
192
192
|
}
|
|
193
|
-
const select$
|
|
194
|
-
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$
|
|
193
|
+
const select$R = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
194
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$S();
|
|
195
195
|
return {
|
|
196
196
|
kind: 'Fragment',
|
|
197
|
-
version: VERSION$
|
|
197
|
+
version: VERSION$A,
|
|
198
198
|
private: [],
|
|
199
199
|
selections: [
|
|
200
200
|
{
|
|
@@ -211,7 +211,7 @@ const select$Q = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
|
211
211
|
]
|
|
212
212
|
};
|
|
213
213
|
};
|
|
214
|
-
function equals$
|
|
214
|
+
function equals$A(existing, incoming) {
|
|
215
215
|
const existing_calculatedFieldApiName = existing.calculatedFieldApiName;
|
|
216
216
|
const incoming_calculatedFieldApiName = incoming.calculatedFieldApiName;
|
|
217
217
|
// if at least one of these optionals is defined
|
|
@@ -234,15 +234,15 @@ function equals$z(existing, incoming) {
|
|
|
234
234
|
if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
|
|
235
235
|
return false;
|
|
236
236
|
}
|
|
237
|
-
if (!(equals$
|
|
237
|
+
if (!(equals$B(existing_tableFieldReference, incoming_tableFieldReference))) {
|
|
238
238
|
return false;
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
return true;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
const VERSION$
|
|
245
|
-
function validate$
|
|
244
|
+
const VERSION$z = "9b5a0e85af6a943c95625e2dfe81ab96";
|
|
245
|
+
function validate$18(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
246
246
|
const v_error = (() => {
|
|
247
247
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
248
248
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -271,10 +271,10 @@ function validate$16(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
|
271
271
|
})();
|
|
272
272
|
return v_error === undefined ? null : v_error;
|
|
273
273
|
}
|
|
274
|
-
const select$
|
|
274
|
+
const select$Q = function SemanticFilterOutputRepresentationSelect() {
|
|
275
275
|
return {
|
|
276
276
|
kind: 'Fragment',
|
|
277
|
-
version: VERSION$
|
|
277
|
+
version: VERSION$z,
|
|
278
278
|
private: [],
|
|
279
279
|
selections: [
|
|
280
280
|
{
|
|
@@ -295,7 +295,7 @@ const select$P = function SemanticFilterOutputRepresentationSelect() {
|
|
|
295
295
|
]
|
|
296
296
|
};
|
|
297
297
|
};
|
|
298
|
-
function equals$
|
|
298
|
+
function equals$z(existing, incoming) {
|
|
299
299
|
const existing_fieldName = existing.fieldName;
|
|
300
300
|
const incoming_fieldName = incoming.fieldName;
|
|
301
301
|
// if at least one of these optionals is defined
|
|
@@ -338,8 +338,8 @@ function equals$y(existing, incoming) {
|
|
|
338
338
|
return true;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
const VERSION$
|
|
342
|
-
function validate$
|
|
341
|
+
const VERSION$y = "a50848c632bb205d5e910bb726d9219e";
|
|
342
|
+
function validate$17(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
343
343
|
const v_error = (() => {
|
|
344
344
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
345
345
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -347,7 +347,7 @@ function validate$15(obj, path = 'SemanticIdentifyingDimensionOutputRepresentati
|
|
|
347
347
|
if (obj.identifierDimensionReference !== undefined) {
|
|
348
348
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
349
349
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
350
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
350
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$19(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
351
351
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
352
352
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
353
353
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -357,7 +357,7 @@ function validate$15(obj, path = 'SemanticIdentifyingDimensionOutputRepresentati
|
|
|
357
357
|
if (obj.namingDimensionReference !== undefined) {
|
|
358
358
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
359
359
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
360
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
360
|
+
const referencepath_namingDimensionReferenceValidationError = validate$19(obj_namingDimensionReference, path_namingDimensionReference);
|
|
361
361
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
362
362
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
363
363
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -367,11 +367,11 @@ function validate$15(obj, path = 'SemanticIdentifyingDimensionOutputRepresentati
|
|
|
367
367
|
})();
|
|
368
368
|
return v_error === undefined ? null : v_error;
|
|
369
369
|
}
|
|
370
|
-
const select$
|
|
371
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
370
|
+
const select$P = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
371
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$R();
|
|
372
372
|
return {
|
|
373
373
|
kind: 'Fragment',
|
|
374
|
-
version: VERSION$
|
|
374
|
+
version: VERSION$y,
|
|
375
375
|
private: [],
|
|
376
376
|
selections: [
|
|
377
377
|
{
|
|
@@ -389,7 +389,7 @@ const select$O = function SemanticIdentifyingDimensionOutputRepresentationSelect
|
|
|
389
389
|
]
|
|
390
390
|
};
|
|
391
391
|
};
|
|
392
|
-
function equals$
|
|
392
|
+
function equals$y(existing, incoming) {
|
|
393
393
|
const existing_identifierDimensionReference = existing.identifierDimensionReference;
|
|
394
394
|
const incoming_identifierDimensionReference = incoming.identifierDimensionReference;
|
|
395
395
|
// if at least one of these optionals is defined
|
|
@@ -399,7 +399,7 @@ function equals$x(existing, incoming) {
|
|
|
399
399
|
if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
|
|
400
400
|
return false;
|
|
401
401
|
}
|
|
402
|
-
if (!(equals$
|
|
402
|
+
if (!(equals$A(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
|
|
403
403
|
return false;
|
|
404
404
|
}
|
|
405
405
|
}
|
|
@@ -412,15 +412,15 @@ function equals$x(existing, incoming) {
|
|
|
412
412
|
if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
|
|
413
413
|
return false;
|
|
414
414
|
}
|
|
415
|
-
if (!(equals$
|
|
415
|
+
if (!(equals$A(existing_namingDimensionReference, incoming_namingDimensionReference))) {
|
|
416
416
|
return false;
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
419
|
return true;
|
|
420
420
|
}
|
|
421
421
|
|
|
422
|
-
const VERSION$
|
|
423
|
-
function validate$
|
|
422
|
+
const VERSION$x = "1b8cf2283d5d5c480459506274f0604c";
|
|
423
|
+
function validate$16(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
424
424
|
const v_error = (() => {
|
|
425
425
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
426
426
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -442,10 +442,10 @@ function validate$14(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
|
442
442
|
})();
|
|
443
443
|
return v_error === undefined ? null : v_error;
|
|
444
444
|
}
|
|
445
|
-
const select$
|
|
445
|
+
const select$O = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
446
446
|
return {
|
|
447
447
|
kind: 'Fragment',
|
|
448
|
-
version: VERSION$
|
|
448
|
+
version: VERSION$x,
|
|
449
449
|
private: [],
|
|
450
450
|
selections: [
|
|
451
451
|
{
|
|
@@ -461,7 +461,7 @@ const select$N = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
|
461
461
|
]
|
|
462
462
|
};
|
|
463
463
|
};
|
|
464
|
-
function equals$
|
|
464
|
+
function equals$x(existing, incoming) {
|
|
465
465
|
const existing_enabled = existing.enabled;
|
|
466
466
|
const incoming_enabled = incoming.enabled;
|
|
467
467
|
// if at least one of these optionals is defined
|
|
@@ -491,8 +491,8 @@ function equals$w(existing, incoming) {
|
|
|
491
491
|
return true;
|
|
492
492
|
}
|
|
493
493
|
|
|
494
|
-
const VERSION$
|
|
495
|
-
function validate$
|
|
494
|
+
const VERSION$w = "a3f5972287be7bcf9ca205af56046a58";
|
|
495
|
+
function validate$15(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
496
496
|
const v_error = (() => {
|
|
497
497
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
498
498
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -500,7 +500,7 @@ function validate$13(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
500
500
|
if (obj.identifyingDimension !== undefined) {
|
|
501
501
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
502
502
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
503
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
503
|
+
const referencepath_identifyingDimensionValidationError = validate$17(obj_identifyingDimension, path_identifyingDimension);
|
|
504
504
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
505
505
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
506
506
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -516,7 +516,7 @@ function validate$13(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
516
516
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
517
517
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
518
518
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
519
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
519
|
+
const referencepath_insightTypes_itemValidationError = validate$16(obj_insightTypes_item, path_insightTypes_item);
|
|
520
520
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
521
521
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
522
522
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -533,7 +533,7 @@ function validate$13(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
533
533
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
534
534
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
535
535
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
536
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
536
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$19(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
537
537
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
538
538
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
539
539
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -565,13 +565,13 @@ function validate$13(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
565
565
|
})();
|
|
566
566
|
return v_error === undefined ? null : v_error;
|
|
567
567
|
}
|
|
568
|
-
const select$
|
|
569
|
-
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$
|
|
570
|
-
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$
|
|
571
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
568
|
+
const select$N = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
569
|
+
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$P();
|
|
570
|
+
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$O();
|
|
571
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$R();
|
|
572
572
|
return {
|
|
573
573
|
kind: 'Fragment',
|
|
574
|
-
version: VERSION$
|
|
574
|
+
version: VERSION$w,
|
|
575
575
|
private: [],
|
|
576
576
|
selections: [
|
|
577
577
|
{
|
|
@@ -612,7 +612,7 @@ const select$M = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
|
612
612
|
]
|
|
613
613
|
};
|
|
614
614
|
};
|
|
615
|
-
function equals$
|
|
615
|
+
function equals$w(existing, incoming) {
|
|
616
616
|
const existing_pluralNoun = existing.pluralNoun;
|
|
617
617
|
const incoming_pluralNoun = incoming.pluralNoun;
|
|
618
618
|
// if at least one of these optionals is defined
|
|
@@ -661,7 +661,7 @@ function equals$v(existing, incoming) {
|
|
|
661
661
|
if (existing_identifyingDimension === undefined || incoming_identifyingDimension === undefined) {
|
|
662
662
|
return false;
|
|
663
663
|
}
|
|
664
|
-
if (!(equals$
|
|
664
|
+
if (!(equals$y(existing_identifyingDimension, incoming_identifyingDimension))) {
|
|
665
665
|
return false;
|
|
666
666
|
}
|
|
667
667
|
}
|
|
@@ -675,7 +675,7 @@ function equals$v(existing, incoming) {
|
|
|
675
675
|
return false;
|
|
676
676
|
}
|
|
677
677
|
const equals_insightTypes_items = equalsArray(existing_insightTypes, incoming_insightTypes, (existing_insightTypes_item, incoming_insightTypes_item) => {
|
|
678
|
-
if (!(equals$
|
|
678
|
+
if (!(equals$x(existing_insightTypes_item, incoming_insightTypes_item))) {
|
|
679
679
|
return false;
|
|
680
680
|
}
|
|
681
681
|
});
|
|
@@ -693,7 +693,7 @@ function equals$v(existing, incoming) {
|
|
|
693
693
|
return false;
|
|
694
694
|
}
|
|
695
695
|
const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
|
|
696
|
-
if (!(equals$
|
|
696
|
+
if (!(equals$A(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
|
|
697
697
|
return false;
|
|
698
698
|
}
|
|
699
699
|
});
|
|
@@ -704,8 +704,8 @@ function equals$v(existing, incoming) {
|
|
|
704
704
|
return true;
|
|
705
705
|
}
|
|
706
706
|
|
|
707
|
-
const VERSION$
|
|
708
|
-
function validate$
|
|
707
|
+
const VERSION$v = "0873ccd85b32d14c753931243d20ac8b";
|
|
708
|
+
function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
709
709
|
const v_error = (() => {
|
|
710
710
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
711
711
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -719,7 +719,7 @@ function validate$12(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
719
719
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
720
720
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
721
721
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
722
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
722
|
+
const referencepath_additionalDimensions_itemValidationError = validate$19(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
723
723
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
724
724
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
725
725
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -786,7 +786,7 @@ function validate$12(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
786
786
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
787
787
|
const obj_filters_item = obj_filters[i];
|
|
788
788
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
789
|
-
const referencepath_filters_itemValidationError = validate$
|
|
789
|
+
const referencepath_filters_itemValidationError = validate$18(obj_filters_item, path_filters_item);
|
|
790
790
|
if (referencepath_filters_itemValidationError !== null) {
|
|
791
791
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
792
792
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -802,7 +802,7 @@ function validate$12(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
802
802
|
if (obj.insightsSettings !== undefined) {
|
|
803
803
|
const obj_insightsSettings = obj.insightsSettings;
|
|
804
804
|
const path_insightsSettings = path + '.insightsSettings';
|
|
805
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
805
|
+
const referencepath_insightsSettingsValidationError = validate$15(obj_insightsSettings, path_insightsSettings);
|
|
806
806
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
807
807
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
808
808
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -840,7 +840,7 @@ function validate$12(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
840
840
|
if (obj.measurementReference !== undefined) {
|
|
841
841
|
const obj_measurementReference = obj.measurementReference;
|
|
842
842
|
const path_measurementReference = path + '.measurementReference';
|
|
843
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
843
|
+
const referencepath_measurementReferenceValidationError = validate$19(obj_measurementReference, path_measurementReference);
|
|
844
844
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
845
845
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
846
846
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -850,7 +850,7 @@ function validate$12(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
850
850
|
if (obj.timeDimensionReference !== undefined) {
|
|
851
851
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
852
852
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
853
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
853
|
+
const referencepath_timeDimensionReferenceValidationError = validate$19(obj_timeDimensionReference, path_timeDimensionReference);
|
|
854
854
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
855
855
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
856
856
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -887,13 +887,13 @@ function keyBuilderFromType$c(luvio, object) {
|
|
|
887
887
|
function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
888
888
|
return input;
|
|
889
889
|
}
|
|
890
|
-
const select$
|
|
891
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
892
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
893
|
-
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$
|
|
890
|
+
const select$M = function SemanticMetricOutputRepresentationSelect() {
|
|
891
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$R();
|
|
892
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
893
|
+
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$N();
|
|
894
894
|
return {
|
|
895
895
|
kind: 'Fragment',
|
|
896
|
-
version: VERSION$
|
|
896
|
+
version: VERSION$v,
|
|
897
897
|
private: [],
|
|
898
898
|
selections: [
|
|
899
899
|
{
|
|
@@ -998,7 +998,7 @@ const select$L = function SemanticMetricOutputRepresentationSelect() {
|
|
|
998
998
|
]
|
|
999
999
|
};
|
|
1000
1000
|
};
|
|
1001
|
-
function equals$
|
|
1001
|
+
function equals$v(existing, incoming) {
|
|
1002
1002
|
const existing_isCumulative = existing.isCumulative;
|
|
1003
1003
|
const incoming_isCumulative = incoming.isCumulative;
|
|
1004
1004
|
// if at least one of these optionals is defined
|
|
@@ -1146,7 +1146,7 @@ function equals$u(existing, incoming) {
|
|
|
1146
1146
|
return false;
|
|
1147
1147
|
}
|
|
1148
1148
|
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
1149
|
-
if (!(equals$
|
|
1149
|
+
if (!(equals$A(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
1150
1150
|
return false;
|
|
1151
1151
|
}
|
|
1152
1152
|
});
|
|
@@ -1164,7 +1164,7 @@ function equals$u(existing, incoming) {
|
|
|
1164
1164
|
return false;
|
|
1165
1165
|
}
|
|
1166
1166
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
1167
|
-
if (!(equals$
|
|
1167
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
1168
1168
|
return false;
|
|
1169
1169
|
}
|
|
1170
1170
|
});
|
|
@@ -1181,7 +1181,7 @@ function equals$u(existing, incoming) {
|
|
|
1181
1181
|
if (existing_insightsSettings === undefined || incoming_insightsSettings === undefined) {
|
|
1182
1182
|
return false;
|
|
1183
1183
|
}
|
|
1184
|
-
if (!(equals$
|
|
1184
|
+
if (!(equals$w(existing_insightsSettings, incoming_insightsSettings))) {
|
|
1185
1185
|
return false;
|
|
1186
1186
|
}
|
|
1187
1187
|
}
|
|
@@ -1194,7 +1194,7 @@ function equals$u(existing, incoming) {
|
|
|
1194
1194
|
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
1195
1195
|
return false;
|
|
1196
1196
|
}
|
|
1197
|
-
if (!(equals$
|
|
1197
|
+
if (!(equals$A(existing_measurementReference, incoming_measurementReference))) {
|
|
1198
1198
|
return false;
|
|
1199
1199
|
}
|
|
1200
1200
|
}
|
|
@@ -1207,7 +1207,7 @@ function equals$u(existing, incoming) {
|
|
|
1207
1207
|
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
1208
1208
|
return false;
|
|
1209
1209
|
}
|
|
1210
|
-
if (!(equals$
|
|
1210
|
+
if (!(equals$A(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
1211
1211
|
return false;
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
@@ -1233,14 +1233,14 @@ function equals$u(existing, incoming) {
|
|
|
1233
1233
|
}
|
|
1234
1234
|
const ingest$i = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1235
1235
|
if (process.env.NODE_ENV !== 'production') {
|
|
1236
|
-
const validateError = validate$
|
|
1236
|
+
const validateError = validate$14(input);
|
|
1237
1237
|
if (validateError !== null) {
|
|
1238
1238
|
throw validateError;
|
|
1239
1239
|
}
|
|
1240
1240
|
}
|
|
1241
1241
|
const key = keyBuilderFromType$c(luvio, input);
|
|
1242
1242
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
1243
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$
|
|
1243
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$v, RepresentationType$i, equals$v);
|
|
1244
1244
|
return createLink(key);
|
|
1245
1245
|
};
|
|
1246
1246
|
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1253,8 +1253,8 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1253
1253
|
});
|
|
1254
1254
|
}
|
|
1255
1255
|
|
|
1256
|
-
const VERSION$
|
|
1257
|
-
function validate$
|
|
1256
|
+
const VERSION$u = "a6709a9f16e02d0d8e3d8423ebc79c2b";
|
|
1257
|
+
function validate$13(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
|
|
1258
1258
|
const v_error = (() => {
|
|
1259
1259
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1260
1260
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1298,10 +1298,10 @@ function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
|
1298
1298
|
}
|
|
1299
1299
|
return input;
|
|
1300
1300
|
}
|
|
1301
|
-
const select$
|
|
1301
|
+
const select$L = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
1302
1302
|
return {
|
|
1303
1303
|
kind: 'Fragment',
|
|
1304
|
-
version: VERSION$
|
|
1304
|
+
version: VERSION$u,
|
|
1305
1305
|
private: [],
|
|
1306
1306
|
selections: [
|
|
1307
1307
|
{
|
|
@@ -1309,12 +1309,12 @@ const select$K = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
|
1309
1309
|
kind: 'Link',
|
|
1310
1310
|
plural: true,
|
|
1311
1311
|
required: false,
|
|
1312
|
-
fragment: select$
|
|
1312
|
+
fragment: select$M()
|
|
1313
1313
|
}
|
|
1314
1314
|
]
|
|
1315
1315
|
};
|
|
1316
1316
|
};
|
|
1317
|
-
function equals$
|
|
1317
|
+
function equals$u(existing, incoming) {
|
|
1318
1318
|
const existing_metrics = existing.metrics;
|
|
1319
1319
|
const incoming_metrics = incoming.metrics;
|
|
1320
1320
|
// if at least one of these optionals is defined
|
|
@@ -1337,14 +1337,14 @@ function equals$t(existing, incoming) {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
const ingest$h = function SemanticMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1339
1339
|
if (process.env.NODE_ENV !== 'production') {
|
|
1340
|
-
const validateError = validate$
|
|
1340
|
+
const validateError = validate$13(input);
|
|
1341
1341
|
if (validateError !== null) {
|
|
1342
1342
|
throw validateError;
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
const key = path.fullPath;
|
|
1346
1346
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
1347
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$
|
|
1347
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$u, RepresentationType$h, equals$u);
|
|
1348
1348
|
return createLink(key);
|
|
1349
1349
|
};
|
|
1350
1350
|
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1363,8 +1363,8 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
1365
1365
|
|
|
1366
|
-
function select$
|
|
1367
|
-
return select$
|
|
1366
|
+
function select$K(luvio, params) {
|
|
1367
|
+
return select$L();
|
|
1368
1368
|
}
|
|
1369
1369
|
function keyBuilder$A(luvio, params) {
|
|
1370
1370
|
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'metricIds:' + params.urlParams.metricIds + ')';
|
|
@@ -1378,7 +1378,7 @@ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1378
1378
|
luvio.storeIngest(key, ingest$h, body);
|
|
1379
1379
|
const snapshot = luvio.storeLookup({
|
|
1380
1380
|
recordId: key,
|
|
1381
|
-
node: select$
|
|
1381
|
+
node: select$K(),
|
|
1382
1382
|
variables: {},
|
|
1383
1383
|
}, snapshotRefresh);
|
|
1384
1384
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1441,7 +1441,7 @@ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
|
|
|
1441
1441
|
}
|
|
1442
1442
|
function adapterFragment$a(luvio, config) {
|
|
1443
1443
|
createResourceParams$j(config);
|
|
1444
|
-
return select$
|
|
1444
|
+
return select$K();
|
|
1445
1445
|
}
|
|
1446
1446
|
function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
|
|
1447
1447
|
const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
|
|
@@ -1497,8 +1497,8 @@ const getSemanticMetricsByIdsAdapterFactory = (luvio) => function SemanticAuthor
|
|
|
1497
1497
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
|
|
1498
1498
|
};
|
|
1499
1499
|
|
|
1500
|
-
const VERSION$
|
|
1501
|
-
function validate$
|
|
1500
|
+
const VERSION$t = "3a32d382e7a2268096278aa8e5c6761a";
|
|
1501
|
+
function validate$12(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
1502
1502
|
const v_error = (() => {
|
|
1503
1503
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1504
1504
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1518,10 +1518,10 @@ function validate$10(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
|
1518
1518
|
})();
|
|
1519
1519
|
return v_error === undefined ? null : v_error;
|
|
1520
1520
|
}
|
|
1521
|
-
const select$
|
|
1521
|
+
const select$J = function SemanticBaseModelOutputRepresentationSelect() {
|
|
1522
1522
|
return {
|
|
1523
1523
|
kind: 'Fragment',
|
|
1524
|
-
version: VERSION$
|
|
1524
|
+
version: VERSION$t,
|
|
1525
1525
|
private: [],
|
|
1526
1526
|
selections: [
|
|
1527
1527
|
{
|
|
@@ -1536,7 +1536,7 @@ const select$I = function SemanticBaseModelOutputRepresentationSelect() {
|
|
|
1536
1536
|
]
|
|
1537
1537
|
};
|
|
1538
1538
|
};
|
|
1539
|
-
function equals$
|
|
1539
|
+
function equals$t(existing, incoming) {
|
|
1540
1540
|
const existing_apiName = existing.apiName;
|
|
1541
1541
|
const incoming_apiName = incoming.apiName;
|
|
1542
1542
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -1558,8 +1558,8 @@ function equals$s(existing, incoming) {
|
|
|
1558
1558
|
return true;
|
|
1559
1559
|
}
|
|
1560
1560
|
|
|
1561
|
-
const VERSION$
|
|
1562
|
-
function validate
|
|
1561
|
+
const VERSION$s = "c9079354cd8127a37c0c13ea6686383c";
|
|
1562
|
+
function validate$11(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
1563
1563
|
const v_error = (() => {
|
|
1564
1564
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1565
1565
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1592,7 +1592,7 @@ function validate$$(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
1592
1592
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
1593
1593
|
const obj_baseModels_item = obj_baseModels[i];
|
|
1594
1594
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
1595
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
1595
|
+
const referencepath_baseModels_itemValidationError = validate$12(obj_baseModels_item, path_baseModels_item);
|
|
1596
1596
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
1597
1597
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
1598
1598
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1763,11 +1763,11 @@ function validate$$(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
1763
1763
|
})();
|
|
1764
1764
|
return v_error === undefined ? null : v_error;
|
|
1765
1765
|
}
|
|
1766
|
-
const select$
|
|
1767
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
1766
|
+
const select$I = function SemanticModelPartialOutputRepresentationSelect() {
|
|
1767
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$J();
|
|
1768
1768
|
return {
|
|
1769
1769
|
kind: 'Fragment',
|
|
1770
|
-
version: VERSION$
|
|
1770
|
+
version: VERSION$s,
|
|
1771
1771
|
private: [],
|
|
1772
1772
|
selections: [
|
|
1773
1773
|
{
|
|
@@ -1891,7 +1891,7 @@ const select$H = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
1891
1891
|
]
|
|
1892
1892
|
};
|
|
1893
1893
|
};
|
|
1894
|
-
function equals$
|
|
1894
|
+
function equals$s(existing, incoming) {
|
|
1895
1895
|
const existing_isLocked = existing.isLocked;
|
|
1896
1896
|
const incoming_isLocked = incoming.isLocked;
|
|
1897
1897
|
// if at least one of these optionals is defined
|
|
@@ -2135,7 +2135,7 @@ function equals$r(existing, incoming) {
|
|
|
2135
2135
|
return false;
|
|
2136
2136
|
}
|
|
2137
2137
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
2138
|
-
if (!(equals$
|
|
2138
|
+
if (!(equals$t(existing_baseModels_item, incoming_baseModels_item))) {
|
|
2139
2139
|
return false;
|
|
2140
2140
|
}
|
|
2141
2141
|
});
|
|
@@ -2177,8 +2177,8 @@ function equals$r(existing, incoming) {
|
|
|
2177
2177
|
return true;
|
|
2178
2178
|
}
|
|
2179
2179
|
|
|
2180
|
-
const VERSION$
|
|
2181
|
-
function validate$
|
|
2180
|
+
const VERSION$r = "198423ec58354256cc7ea6f4661ef669";
|
|
2181
|
+
function validate$10(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
2182
2182
|
const v_error = (() => {
|
|
2183
2183
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2184
2184
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2225,7 +2225,7 @@ function validate$_(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
|
2225
2225
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2226
2226
|
const obj_items_item = obj_items[i];
|
|
2227
2227
|
const path_items_item = path_items + '[' + i + ']';
|
|
2228
|
-
const referencepath_items_itemValidationError = validate
|
|
2228
|
+
const referencepath_items_itemValidationError = validate$11(obj_items_item, path_items_item);
|
|
2229
2229
|
if (referencepath_items_itemValidationError !== null) {
|
|
2230
2230
|
let message = 'Object doesn\'t match SemanticModelPartialOutputRepresentation (at "' + path_items_item + '")\n';
|
|
2231
2231
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2301,11 +2301,11 @@ const RepresentationType$g = 'SemanticModelCollectionOutputRepresentation';
|
|
|
2301
2301
|
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
2302
2302
|
return input;
|
|
2303
2303
|
}
|
|
2304
|
-
const select$
|
|
2305
|
-
const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$
|
|
2304
|
+
const select$H = function SemanticModelCollectionOutputRepresentationSelect() {
|
|
2305
|
+
const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$I();
|
|
2306
2306
|
return {
|
|
2307
2307
|
kind: 'Fragment',
|
|
2308
|
-
version: VERSION$
|
|
2308
|
+
version: VERSION$r,
|
|
2309
2309
|
private: [],
|
|
2310
2310
|
selections: [
|
|
2311
2311
|
{
|
|
@@ -2341,7 +2341,7 @@ const select$G = function SemanticModelCollectionOutputRepresentationSelect() {
|
|
|
2341
2341
|
]
|
|
2342
2342
|
};
|
|
2343
2343
|
};
|
|
2344
|
-
function equals$
|
|
2344
|
+
function equals$r(existing, incoming) {
|
|
2345
2345
|
const existing_count = existing.count;
|
|
2346
2346
|
const incoming_count = incoming.count;
|
|
2347
2347
|
if (!(existing_count === incoming_count)) {
|
|
@@ -2375,7 +2375,7 @@ function equals$q(existing, incoming) {
|
|
|
2375
2375
|
return false;
|
|
2376
2376
|
}
|
|
2377
2377
|
const equals_items_items = equalsArray(existing_items, incoming_items, (existing_items_item, incoming_items_item) => {
|
|
2378
|
-
if (!(equals$
|
|
2378
|
+
if (!(equals$s(existing_items_item, incoming_items_item))) {
|
|
2379
2379
|
return false;
|
|
2380
2380
|
}
|
|
2381
2381
|
});
|
|
@@ -2413,14 +2413,14 @@ function equals$q(existing, incoming) {
|
|
|
2413
2413
|
}
|
|
2414
2414
|
const ingest$g = function SemanticModelCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2415
2415
|
if (process.env.NODE_ENV !== 'production') {
|
|
2416
|
-
const validateError = validate$
|
|
2416
|
+
const validateError = validate$10(input);
|
|
2417
2417
|
if (validateError !== null) {
|
|
2418
2418
|
throw validateError;
|
|
2419
2419
|
}
|
|
2420
2420
|
}
|
|
2421
2421
|
const key = path.fullPath;
|
|
2422
2422
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
2423
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$
|
|
2423
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$r, RepresentationType$g, equals$r);
|
|
2424
2424
|
return createLink(key);
|
|
2425
2425
|
};
|
|
2426
2426
|
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2433,8 +2433,8 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2433
2433
|
});
|
|
2434
2434
|
}
|
|
2435
2435
|
|
|
2436
|
-
function select$
|
|
2437
|
-
return select$
|
|
2436
|
+
function select$G(luvio, params) {
|
|
2437
|
+
return select$H();
|
|
2438
2438
|
}
|
|
2439
2439
|
function keyBuilder$y(luvio, params) {
|
|
2440
2440
|
return keyPrefix + '::SemanticModelCollectionOutputRepresentation:(' + 'app:' + params.queryParams.app + ',' + 'category:' + params.queryParams.category + ',' + 'dataspace:' + params.queryParams.dataspace + ',' + 'label:' + params.queryParams.label + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'sourceCreation:' + params.queryParams.sourceCreation + ',' + 'sourceCreationName:' + params.queryParams.sourceCreationName + ')';
|
|
@@ -2448,7 +2448,7 @@ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2448
2448
|
luvio.storeIngest(key, ingest$g, body);
|
|
2449
2449
|
const snapshot = luvio.storeLookup({
|
|
2450
2450
|
recordId: key,
|
|
2451
|
-
node: select$
|
|
2451
|
+
node: select$G(),
|
|
2452
2452
|
variables: {},
|
|
2453
2453
|
}, snapshotRefresh);
|
|
2454
2454
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2517,7 +2517,7 @@ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
|
|
|
2517
2517
|
}
|
|
2518
2518
|
function adapterFragment$9(luvio, config) {
|
|
2519
2519
|
createResourceParams$i(config);
|
|
2520
|
-
return select$
|
|
2520
|
+
return select$G();
|
|
2521
2521
|
}
|
|
2522
2522
|
function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
|
|
2523
2523
|
const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
|
|
@@ -2573,7 +2573,7 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
2573
2573
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
|
|
2574
2574
|
};
|
|
2575
2575
|
|
|
2576
|
-
function validate
|
|
2576
|
+
function validate$$(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
2577
2577
|
const v_error = (() => {
|
|
2578
2578
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2579
2579
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2589,7 +2589,7 @@ function validate$Z(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
2589
2589
|
return v_error === undefined ? null : v_error;
|
|
2590
2590
|
}
|
|
2591
2591
|
|
|
2592
|
-
function validate$
|
|
2592
|
+
function validate$_(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation') {
|
|
2593
2593
|
const v_error = (() => {
|
|
2594
2594
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2595
2595
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2618,7 +2618,7 @@ function validate$Y(obj, path = 'SemanticModelExternalConnectionTableauPublished
|
|
|
2618
2618
|
return v_error === undefined ? null : v_error;
|
|
2619
2619
|
}
|
|
2620
2620
|
|
|
2621
|
-
function validate$
|
|
2621
|
+
function validate$Z(obj, path = 'SemanticModelExternalConnectionInputRepresentation') {
|
|
2622
2622
|
const v_error = (() => {
|
|
2623
2623
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2624
2624
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2638,7 +2638,7 @@ function validate$X(obj, path = 'SemanticModelExternalConnectionInputRepresentat
|
|
|
2638
2638
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
2639
2639
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
2640
2640
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
2641
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
2641
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$_(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
2642
2642
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
2643
2643
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
2644
2644
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2654,7 +2654,37 @@ function validate$X(obj, path = 'SemanticModelExternalConnectionInputRepresentat
|
|
|
2654
2654
|
return v_error === undefined ? null : v_error;
|
|
2655
2655
|
}
|
|
2656
2656
|
|
|
2657
|
-
function validate$
|
|
2657
|
+
function validate$Y(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
2658
|
+
const v_error = (() => {
|
|
2659
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2660
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2661
|
+
}
|
|
2662
|
+
if (obj.entityFqn !== undefined) {
|
|
2663
|
+
const obj_entityFqn = obj.entityFqn;
|
|
2664
|
+
const path_entityFqn = path + '.entityFqn';
|
|
2665
|
+
if (typeof obj_entityFqn !== 'string') {
|
|
2666
|
+
return new TypeError('Expected "string" but received "' + typeof obj_entityFqn + '" (at "' + path_entityFqn + '")');
|
|
2667
|
+
}
|
|
2668
|
+
}
|
|
2669
|
+
if (obj.propertyName !== undefined) {
|
|
2670
|
+
const obj_propertyName = obj.propertyName;
|
|
2671
|
+
const path_propertyName = path + '.propertyName';
|
|
2672
|
+
if (typeof obj_propertyName !== 'string') {
|
|
2673
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyName + '" (at "' + path_propertyName + '")');
|
|
2674
|
+
}
|
|
2675
|
+
}
|
|
2676
|
+
if (obj.propertyOverrideValue !== undefined) {
|
|
2677
|
+
const obj_propertyOverrideValue = obj.propertyOverrideValue;
|
|
2678
|
+
const path_propertyOverrideValue = path + '.propertyOverrideValue';
|
|
2679
|
+
if (typeof obj_propertyOverrideValue !== 'string') {
|
|
2680
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyOverrideValue + '" (at "' + path_propertyOverrideValue + '")');
|
|
2681
|
+
}
|
|
2682
|
+
}
|
|
2683
|
+
})();
|
|
2684
|
+
return v_error === undefined ? null : v_error;
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2687
|
+
function validate$X(obj, path = 'SemanticFilterInputRepresentation') {
|
|
2658
2688
|
const v_error = (() => {
|
|
2659
2689
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2660
2690
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2684,7 +2714,7 @@ function validate$W(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
2684
2714
|
return v_error === undefined ? null : v_error;
|
|
2685
2715
|
}
|
|
2686
2716
|
|
|
2687
|
-
function validate$
|
|
2717
|
+
function validate$W(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
2688
2718
|
const v_error = (() => {
|
|
2689
2719
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2690
2720
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2747,7 +2777,7 @@ function validate$V(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2747
2777
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2748
2778
|
const obj_filters_item = obj_filters[i];
|
|
2749
2779
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2750
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2780
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
2751
2781
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2752
2782
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2753
2783
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2755,6 +2785,13 @@ function validate$V(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2755
2785
|
}
|
|
2756
2786
|
}
|
|
2757
2787
|
}
|
|
2788
|
+
if (obj.isOverrideBase !== undefined) {
|
|
2789
|
+
const obj_isOverrideBase = obj.isOverrideBase;
|
|
2790
|
+
const path_isOverrideBase = path + '.isOverrideBase';
|
|
2791
|
+
if (typeof obj_isOverrideBase !== 'boolean') {
|
|
2792
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
2793
|
+
}
|
|
2794
|
+
}
|
|
2758
2795
|
if (obj.isVisible !== undefined) {
|
|
2759
2796
|
const obj_isVisible = obj.isVisible;
|
|
2760
2797
|
const path_isVisible = path + '.isVisible';
|
|
@@ -2794,7 +2831,7 @@ function validate$V(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2794
2831
|
return v_error === undefined ? null : v_error;
|
|
2795
2832
|
}
|
|
2796
2833
|
|
|
2797
|
-
function validate$
|
|
2834
|
+
function validate$V(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
2798
2835
|
const v_error = (() => {
|
|
2799
2836
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2800
2837
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2871,7 +2908,7 @@ function validate$U(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2871
2908
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2872
2909
|
const obj_filters_item = obj_filters[i];
|
|
2873
2910
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2874
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2911
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
2875
2912
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2876
2913
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2877
2914
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2879,6 +2916,13 @@ function validate$U(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2879
2916
|
}
|
|
2880
2917
|
}
|
|
2881
2918
|
}
|
|
2919
|
+
if (obj.isOverrideBase !== undefined) {
|
|
2920
|
+
const obj_isOverrideBase = obj.isOverrideBase;
|
|
2921
|
+
const path_isOverrideBase = path + '.isOverrideBase';
|
|
2922
|
+
if (typeof obj_isOverrideBase !== 'boolean') {
|
|
2923
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
2924
|
+
}
|
|
2925
|
+
}
|
|
2882
2926
|
if (obj.isVisible !== undefined) {
|
|
2883
2927
|
const obj_isVisible = obj.isVisible;
|
|
2884
2928
|
const path_isVisible = path + '.isVisible';
|
|
@@ -2939,7 +2983,7 @@ function validate$U(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2939
2983
|
return v_error === undefined ? null : v_error;
|
|
2940
2984
|
}
|
|
2941
2985
|
|
|
2942
|
-
function validate$
|
|
2986
|
+
function validate$U(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
2943
2987
|
const v_error = (() => {
|
|
2944
2988
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2945
2989
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3018,7 +3062,7 @@ function validate$T(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
3018
3062
|
return v_error === undefined ? null : v_error;
|
|
3019
3063
|
}
|
|
3020
3064
|
|
|
3021
|
-
function validate$
|
|
3065
|
+
function validate$T(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
3022
3066
|
const v_error = (() => {
|
|
3023
3067
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3024
3068
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3125,7 +3169,7 @@ function validate$S(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
3125
3169
|
return v_error === undefined ? null : v_error;
|
|
3126
3170
|
}
|
|
3127
3171
|
|
|
3128
|
-
function validate$
|
|
3172
|
+
function validate$S(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
3129
3173
|
const v_error = (() => {
|
|
3130
3174
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3131
3175
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3174,7 +3218,7 @@ function validate$R(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3174
3218
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3175
3219
|
const obj_filters_item = obj_filters[i];
|
|
3176
3220
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3177
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3221
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
3178
3222
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3179
3223
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3180
3224
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3205,7 +3249,7 @@ function validate$R(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3205
3249
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
3206
3250
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
3207
3251
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
3208
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
3252
|
+
const referencepath_semanticDimensions_itemValidationError = validate$U(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
3209
3253
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
3210
3254
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
3211
3255
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3222,7 +3266,7 @@ function validate$R(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3222
3266
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
3223
3267
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
3224
3268
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
3225
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
3269
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$T(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
3226
3270
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
3227
3271
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
3228
3272
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3248,7 +3292,7 @@ function validate$R(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3248
3292
|
return v_error === undefined ? null : v_error;
|
|
3249
3293
|
}
|
|
3250
3294
|
|
|
3251
|
-
function validate$
|
|
3295
|
+
function validate$R(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
3252
3296
|
const v_error = (() => {
|
|
3253
3297
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3254
3298
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3260,7 +3304,7 @@ function validate$Q(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
3260
3304
|
return v_error === undefined ? null : v_error;
|
|
3261
3305
|
}
|
|
3262
3306
|
|
|
3263
|
-
function validate$
|
|
3307
|
+
function validate$Q(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
3264
3308
|
const v_error = (() => {
|
|
3265
3309
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3266
3310
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3290,7 +3334,7 @@ function validate$P(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
3290
3334
|
return v_error === undefined ? null : v_error;
|
|
3291
3335
|
}
|
|
3292
3336
|
|
|
3293
|
-
function validate$
|
|
3337
|
+
function validate$P(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
3294
3338
|
const v_error = (() => {
|
|
3295
3339
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3296
3340
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3304,7 +3348,7 @@ function validate$O(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3304
3348
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
3305
3349
|
const obj_groups_item = obj_groups[i];
|
|
3306
3350
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
3307
|
-
const referencepath_groups_itemValidationError = validate$
|
|
3351
|
+
const referencepath_groups_itemValidationError = validate$Q(obj_groups_item, path_groups_item);
|
|
3308
3352
|
if (referencepath_groups_itemValidationError !== null) {
|
|
3309
3353
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
3310
3354
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3323,7 +3367,7 @@ function validate$O(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3323
3367
|
return v_error === undefined ? null : v_error;
|
|
3324
3368
|
}
|
|
3325
3369
|
|
|
3326
|
-
function validate$
|
|
3370
|
+
function validate$O(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
3327
3371
|
const v_error = (() => {
|
|
3328
3372
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3329
3373
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3331,7 +3375,7 @@ function validate$N(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3331
3375
|
if (obj.binDimension !== undefined) {
|
|
3332
3376
|
const obj_binDimension = obj.binDimension;
|
|
3333
3377
|
const path_binDimension = path + '.binDimension';
|
|
3334
|
-
const referencepath_binDimensionValidationError = validate$
|
|
3378
|
+
const referencepath_binDimensionValidationError = validate$R(obj_binDimension, path_binDimension);
|
|
3335
3379
|
if (referencepath_binDimensionValidationError !== null) {
|
|
3336
3380
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
3337
3381
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3341,7 +3385,7 @@ function validate$N(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3341
3385
|
if (obj.groupDimension !== undefined) {
|
|
3342
3386
|
const obj_groupDimension = obj.groupDimension;
|
|
3343
3387
|
const path_groupDimension = path + '.groupDimension';
|
|
3344
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
3388
|
+
const referencepath_groupDimensionValidationError = validate$P(obj_groupDimension, path_groupDimension);
|
|
3345
3389
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
3346
3390
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
3347
3391
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3352,7 +3396,7 @@ function validate$N(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3352
3396
|
return v_error === undefined ? null : v_error;
|
|
3353
3397
|
}
|
|
3354
3398
|
|
|
3355
|
-
function validate$
|
|
3399
|
+
function validate$N(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
3356
3400
|
const v_error = (() => {
|
|
3357
3401
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3358
3402
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3375,7 +3419,7 @@ function validate$M(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
3375
3419
|
return v_error === undefined ? null : v_error;
|
|
3376
3420
|
}
|
|
3377
3421
|
|
|
3378
|
-
function validate$
|
|
3422
|
+
function validate$M(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
3379
3423
|
const v_error = (() => {
|
|
3380
3424
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3381
3425
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3390,7 +3434,7 @@ function validate$L(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3390
3434
|
if (obj.tableFieldReference !== undefined) {
|
|
3391
3435
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
3392
3436
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
3393
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
3437
|
+
const referencepath_tableFieldReferenceValidationError = validate$N(obj_tableFieldReference, path_tableFieldReference);
|
|
3394
3438
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
3395
3439
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
3396
3440
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3401,7 +3445,7 @@ function validate$L(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3401
3445
|
return v_error === undefined ? null : v_error;
|
|
3402
3446
|
}
|
|
3403
3447
|
|
|
3404
|
-
function validate$
|
|
3448
|
+
function validate$L(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
3405
3449
|
const v_error = (() => {
|
|
3406
3450
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3407
3451
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3416,7 +3460,7 @@ function validate$K(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3416
3460
|
if (obj.configuration !== undefined) {
|
|
3417
3461
|
const obj_configuration = obj.configuration;
|
|
3418
3462
|
const path_configuration = path + '.configuration';
|
|
3419
|
-
const referencepath_configurationValidationError = validate$
|
|
3463
|
+
const referencepath_configurationValidationError = validate$O(obj_configuration, path_configuration);
|
|
3420
3464
|
if (referencepath_configurationValidationError !== null) {
|
|
3421
3465
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
3422
3466
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3433,7 +3477,7 @@ function validate$K(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3433
3477
|
if (obj.fieldReference !== undefined) {
|
|
3434
3478
|
const obj_fieldReference = obj.fieldReference;
|
|
3435
3479
|
const path_fieldReference = path + '.fieldReference';
|
|
3436
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
3480
|
+
const referencepath_fieldReferenceValidationError = validate$M(obj_fieldReference, path_fieldReference);
|
|
3437
3481
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
3438
3482
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
3439
3483
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3458,7 +3502,7 @@ function validate$K(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3458
3502
|
return v_error === undefined ? null : v_error;
|
|
3459
3503
|
}
|
|
3460
3504
|
|
|
3461
|
-
function validate$
|
|
3505
|
+
function validate$K(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
3462
3506
|
const v_error = (() => {
|
|
3463
3507
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3464
3508
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3502,7 +3546,7 @@ function validate$J(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
3502
3546
|
return v_error === undefined ? null : v_error;
|
|
3503
3547
|
}
|
|
3504
3548
|
|
|
3505
|
-
function validate$
|
|
3549
|
+
function validate$J(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
3506
3550
|
const v_error = (() => {
|
|
3507
3551
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3508
3552
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3530,7 +3574,7 @@ function validate$I(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3530
3574
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
3531
3575
|
const obj_criteria_item = obj_criteria[i];
|
|
3532
3576
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
3533
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
3577
|
+
const referencepath_criteria_itemValidationError = validate$K(obj_criteria_item, path_criteria_item);
|
|
3534
3578
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
3535
3579
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
3536
3580
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3591,7 +3635,7 @@ function validate$I(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3591
3635
|
return v_error === undefined ? null : v_error;
|
|
3592
3636
|
}
|
|
3593
3637
|
|
|
3594
|
-
function validate$
|
|
3638
|
+
function validate$I(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
3595
3639
|
const v_error = (() => {
|
|
3596
3640
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3597
3641
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3619,7 +3663,7 @@ function validate$H(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3619
3663
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
3620
3664
|
const obj_fields_item = obj_fields[i];
|
|
3621
3665
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
3622
|
-
const referencepath_fields_itemValidationError = validate$
|
|
3666
|
+
const referencepath_fields_itemValidationError = validate$N(obj_fields_item, path_fields_item);
|
|
3623
3667
|
if (referencepath_fields_itemValidationError !== null) {
|
|
3624
3668
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
3625
3669
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3644,7 +3688,7 @@ function validate$H(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3644
3688
|
if (obj.semanticDimension !== undefined) {
|
|
3645
3689
|
const obj_semanticDimension = obj.semanticDimension;
|
|
3646
3690
|
const path_semanticDimension = path + '.semanticDimension';
|
|
3647
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
3691
|
+
const referencepath_semanticDimensionValidationError = validate$U(obj_semanticDimension, path_semanticDimension);
|
|
3648
3692
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
3649
3693
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
3650
3694
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3654,7 +3698,7 @@ function validate$H(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3654
3698
|
if (obj.semanticMeasurement !== undefined) {
|
|
3655
3699
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
3656
3700
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
3657
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
3701
|
+
const referencepath_semanticMeasurementValidationError = validate$T(obj_semanticMeasurement, path_semanticMeasurement);
|
|
3658
3702
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
3659
3703
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
3660
3704
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3665,7 +3709,7 @@ function validate$H(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3665
3709
|
return v_error === undefined ? null : v_error;
|
|
3666
3710
|
}
|
|
3667
3711
|
|
|
3668
|
-
function validate$
|
|
3712
|
+
function validate$H(obj, path = 'SemanticUnionInputRepresentation') {
|
|
3669
3713
|
const v_error = (() => {
|
|
3670
3714
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3671
3715
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3700,7 +3744,7 @@ function validate$G(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3700
3744
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
3701
3745
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
3702
3746
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
3703
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
3747
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$S(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
3704
3748
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
3705
3749
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
3706
3750
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3717,7 +3761,7 @@ function validate$G(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3717
3761
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
3718
3762
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
3719
3763
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
3720
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
3764
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$I(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
3721
3765
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
3722
3766
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
3723
3767
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3729,7 +3773,7 @@ function validate$G(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3729
3773
|
return v_error === undefined ? null : v_error;
|
|
3730
3774
|
}
|
|
3731
3775
|
|
|
3732
|
-
function validate$
|
|
3776
|
+
function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
3733
3777
|
const v_error = (() => {
|
|
3734
3778
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3735
3779
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3771,7 +3815,7 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3771
3815
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3772
3816
|
const obj_filters_item = obj_filters[i];
|
|
3773
3817
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3774
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3818
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
3775
3819
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3776
3820
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3777
3821
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3795,7 +3839,7 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3795
3839
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
3796
3840
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
3797
3841
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
3798
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
3842
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$S(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
3799
3843
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
3800
3844
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
3801
3845
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3812,7 +3856,7 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3812
3856
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
3813
3857
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
3814
3858
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
3815
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
3859
|
+
const referencepath_semanticRelationships_itemValidationError = validate$J(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
3816
3860
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
3817
3861
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
3818
3862
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3829,7 +3873,7 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3829
3873
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
3830
3874
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
3831
3875
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
3832
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
3876
|
+
const referencepath_semanticUnions_itemValidationError = validate$H(obj_semanticUnions_item, path_semanticUnions_item);
|
|
3833
3877
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
3834
3878
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
3835
3879
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3848,7 +3892,7 @@ function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3848
3892
|
return v_error === undefined ? null : v_error;
|
|
3849
3893
|
}
|
|
3850
3894
|
|
|
3851
|
-
function validate$
|
|
3895
|
+
function validate$F(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
3852
3896
|
const v_error = (() => {
|
|
3853
3897
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3854
3898
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3856,7 +3900,7 @@ function validate$E(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3856
3900
|
if (obj.identifierDimensionReference !== undefined) {
|
|
3857
3901
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
3858
3902
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
3859
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
3903
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$M(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
3860
3904
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
3861
3905
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
3862
3906
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3866,7 +3910,7 @@ function validate$E(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3866
3910
|
if (obj.namingDimensionReference !== undefined) {
|
|
3867
3911
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
3868
3912
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
3869
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
3913
|
+
const referencepath_namingDimensionReferenceValidationError = validate$M(obj_namingDimensionReference, path_namingDimensionReference);
|
|
3870
3914
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
3871
3915
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
3872
3916
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3877,7 +3921,7 @@ function validate$E(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3877
3921
|
return v_error === undefined ? null : v_error;
|
|
3878
3922
|
}
|
|
3879
3923
|
|
|
3880
|
-
function validate$
|
|
3924
|
+
function validate$E(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
3881
3925
|
const v_error = (() => {
|
|
3882
3926
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3883
3927
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3900,7 +3944,7 @@ function validate$D(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
3900
3944
|
return v_error === undefined ? null : v_error;
|
|
3901
3945
|
}
|
|
3902
3946
|
|
|
3903
|
-
function validate$
|
|
3947
|
+
function validate$D(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
3904
3948
|
const v_error = (() => {
|
|
3905
3949
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3906
3950
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3908,7 +3952,7 @@ function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3908
3952
|
if (obj.identifyingDimension !== undefined) {
|
|
3909
3953
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
3910
3954
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
3911
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
3955
|
+
const referencepath_identifyingDimensionValidationError = validate$F(obj_identifyingDimension, path_identifyingDimension);
|
|
3912
3956
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
3913
3957
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
3914
3958
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3924,7 +3968,7 @@ function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3924
3968
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
3925
3969
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
3926
3970
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
3927
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
3971
|
+
const referencepath_insightTypes_itemValidationError = validate$E(obj_insightTypes_item, path_insightTypes_item);
|
|
3928
3972
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
3929
3973
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
3930
3974
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3941,7 +3985,7 @@ function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3941
3985
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
3942
3986
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
3943
3987
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
3944
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
3988
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$M(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
3945
3989
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
3946
3990
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
3947
3991
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3974,7 +4018,7 @@ function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3974
4018
|
return v_error === undefined ? null : v_error;
|
|
3975
4019
|
}
|
|
3976
4020
|
|
|
3977
|
-
function validate$
|
|
4021
|
+
function validate$C(obj, path = 'SemanticMetricInputRepresentation') {
|
|
3978
4022
|
const v_error = (() => {
|
|
3979
4023
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3980
4024
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3988,7 +4032,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3988
4032
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
3989
4033
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
3990
4034
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
3991
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
4035
|
+
const referencepath_additionalDimensions_itemValidationError = validate$M(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
3992
4036
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
3993
4037
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
3994
4038
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4033,7 +4077,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4033
4077
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4034
4078
|
const obj_filters_item = obj_filters[i];
|
|
4035
4079
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4036
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4080
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
4037
4081
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4038
4082
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
4039
4083
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4044,7 +4088,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4044
4088
|
if (obj.insightsSettings !== undefined) {
|
|
4045
4089
|
const obj_insightsSettings = obj.insightsSettings;
|
|
4046
4090
|
const path_insightsSettings = path + '.insightsSettings';
|
|
4047
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
4091
|
+
const referencepath_insightsSettingsValidationError = validate$D(obj_insightsSettings, path_insightsSettings);
|
|
4048
4092
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
4049
4093
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
4050
4094
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4068,7 +4112,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4068
4112
|
if (obj.measurementReference !== undefined) {
|
|
4069
4113
|
const obj_measurementReference = obj.measurementReference;
|
|
4070
4114
|
const path_measurementReference = path + '.measurementReference';
|
|
4071
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
4115
|
+
const referencepath_measurementReferenceValidationError = validate$M(obj_measurementReference, path_measurementReference);
|
|
4072
4116
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
4073
4117
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
4074
4118
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4078,7 +4122,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4078
4122
|
if (obj.timeDimensionReference !== undefined) {
|
|
4079
4123
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
4080
4124
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
4081
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
4125
|
+
const referencepath_timeDimensionReferenceValidationError = validate$M(obj_timeDimensionReference, path_timeDimensionReference);
|
|
4082
4126
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
4083
4127
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
4084
4128
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4103,7 +4147,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4103
4147
|
return v_error === undefined ? null : v_error;
|
|
4104
4148
|
}
|
|
4105
4149
|
|
|
4106
|
-
function validate$
|
|
4150
|
+
function validate$B(obj, path = 'SemanticParameterInputRepresentation') {
|
|
4107
4151
|
const v_error = (() => {
|
|
4108
4152
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4109
4153
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4203,8 +4247,8 @@ function validate$A(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
4203
4247
|
return v_error === undefined ? null : v_error;
|
|
4204
4248
|
}
|
|
4205
4249
|
|
|
4206
|
-
const VERSION$
|
|
4207
|
-
function validate$
|
|
4250
|
+
const VERSION$q = "221b0931360d7fcb0a1402b0b82071bd";
|
|
4251
|
+
function validate$A(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation') {
|
|
4208
4252
|
const v_error = (() => {
|
|
4209
4253
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4210
4254
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4232,10 +4276,10 @@ function validate$z(obj, path = 'SemanticModelExternalConnectionTableauPublished
|
|
|
4232
4276
|
})();
|
|
4233
4277
|
return v_error === undefined ? null : v_error;
|
|
4234
4278
|
}
|
|
4235
|
-
const select$
|
|
4279
|
+
const select$F = function SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentationSelect() {
|
|
4236
4280
|
return {
|
|
4237
4281
|
kind: 'Fragment',
|
|
4238
|
-
version: VERSION$
|
|
4282
|
+
version: VERSION$q,
|
|
4239
4283
|
private: [],
|
|
4240
4284
|
selections: [
|
|
4241
4285
|
{
|
|
@@ -4257,7 +4301,7 @@ const select$E = function SemanticModelExternalConnectionTableauPublishedDataSou
|
|
|
4257
4301
|
]
|
|
4258
4302
|
};
|
|
4259
4303
|
};
|
|
4260
|
-
function equals$
|
|
4304
|
+
function equals$q(existing, incoming) {
|
|
4261
4305
|
const existing_dataSourceId = existing.dataSourceId;
|
|
4262
4306
|
const incoming_dataSourceId = incoming.dataSourceId;
|
|
4263
4307
|
if (!(existing_dataSourceId === incoming_dataSourceId)) {
|
|
@@ -4281,8 +4325,8 @@ function equals$p(existing, incoming) {
|
|
|
4281
4325
|
return true;
|
|
4282
4326
|
}
|
|
4283
4327
|
|
|
4284
|
-
const VERSION$
|
|
4285
|
-
function validate$
|
|
4328
|
+
const VERSION$p = "e760a2becca995f7bd15e714d50c088c";
|
|
4329
|
+
function validate$z(obj, path = 'SemanticModelExternalConnectionOutputRepresentation') {
|
|
4286
4330
|
const v_error = (() => {
|
|
4287
4331
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4288
4332
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4314,7 +4358,7 @@ function validate$y(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
4314
4358
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
4315
4359
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
4316
4360
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
4317
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
4361
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$A(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
4318
4362
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
4319
4363
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
4320
4364
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4329,11 +4373,11 @@ function validate$y(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
4329
4373
|
})();
|
|
4330
4374
|
return v_error === undefined ? null : v_error;
|
|
4331
4375
|
}
|
|
4332
|
-
const select$
|
|
4333
|
-
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$
|
|
4376
|
+
const select$E = function SemanticModelExternalConnectionOutputRepresentationSelect() {
|
|
4377
|
+
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$F();
|
|
4334
4378
|
return {
|
|
4335
4379
|
kind: 'Fragment',
|
|
4336
|
-
version: VERSION$
|
|
4380
|
+
version: VERSION$p,
|
|
4337
4381
|
private: [],
|
|
4338
4382
|
selections: [
|
|
4339
4383
|
{
|
|
@@ -4367,7 +4411,7 @@ const select$D = function SemanticModelExternalConnectionOutputRepresentationSel
|
|
|
4367
4411
|
]
|
|
4368
4412
|
};
|
|
4369
4413
|
};
|
|
4370
|
-
function equals$
|
|
4414
|
+
function equals$p(existing, incoming) {
|
|
4371
4415
|
const existing_apiName = existing.apiName;
|
|
4372
4416
|
const incoming_apiName = incoming.apiName;
|
|
4373
4417
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -4418,14 +4462,131 @@ function equals$o(existing, incoming) {
|
|
|
4418
4462
|
if (existing_tableauPublishedDataSource === undefined || incoming_tableauPublishedDataSource === undefined) {
|
|
4419
4463
|
return false;
|
|
4420
4464
|
}
|
|
4421
|
-
if (!(equals$
|
|
4465
|
+
if (!(equals$q(existing_tableauPublishedDataSource, incoming_tableauPublishedDataSource))) {
|
|
4466
|
+
return false;
|
|
4467
|
+
}
|
|
4468
|
+
}
|
|
4469
|
+
return true;
|
|
4470
|
+
}
|
|
4471
|
+
|
|
4472
|
+
const VERSION$o = "6f06bef394bf9744da80affc7b8109c6";
|
|
4473
|
+
function validate$y(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
4474
|
+
const v_error = (() => {
|
|
4475
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4476
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4477
|
+
}
|
|
4478
|
+
const obj_entityFqn = obj.entityFqn;
|
|
4479
|
+
const path_entityFqn = path + '.entityFqn';
|
|
4480
|
+
if (typeof obj_entityFqn !== 'string') {
|
|
4481
|
+
return new TypeError('Expected "string" but received "' + typeof obj_entityFqn + '" (at "' + path_entityFqn + '")');
|
|
4482
|
+
}
|
|
4483
|
+
const obj_entityId = obj.entityId;
|
|
4484
|
+
const path_entityId = path + '.entityId';
|
|
4485
|
+
if (typeof obj_entityId !== 'string') {
|
|
4486
|
+
return new TypeError('Expected "string" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
|
|
4487
|
+
}
|
|
4488
|
+
const obj_id = obj.id;
|
|
4489
|
+
const path_id = path + '.id';
|
|
4490
|
+
if (typeof obj_id !== 'string') {
|
|
4491
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
4492
|
+
}
|
|
4493
|
+
if (obj.propertyBaseModelValue !== undefined) {
|
|
4494
|
+
const obj_propertyBaseModelValue = obj.propertyBaseModelValue;
|
|
4495
|
+
const path_propertyBaseModelValue = path + '.propertyBaseModelValue';
|
|
4496
|
+
if (typeof obj_propertyBaseModelValue !== 'string') {
|
|
4497
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyBaseModelValue + '" (at "' + path_propertyBaseModelValue + '")');
|
|
4498
|
+
}
|
|
4499
|
+
}
|
|
4500
|
+
const obj_propertyName = obj.propertyName;
|
|
4501
|
+
const path_propertyName = path + '.propertyName';
|
|
4502
|
+
if (typeof obj_propertyName !== 'string') {
|
|
4503
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyName + '" (at "' + path_propertyName + '")');
|
|
4504
|
+
}
|
|
4505
|
+
const obj_propertyOverrideValue = obj.propertyOverrideValue;
|
|
4506
|
+
const path_propertyOverrideValue = path + '.propertyOverrideValue';
|
|
4507
|
+
if (typeof obj_propertyOverrideValue !== 'string') {
|
|
4508
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyOverrideValue + '" (at "' + path_propertyOverrideValue + '")');
|
|
4509
|
+
}
|
|
4510
|
+
})();
|
|
4511
|
+
return v_error === undefined ? null : v_error;
|
|
4512
|
+
}
|
|
4513
|
+
const select$D = function SemanticOverrideOutputRepresentationSelect() {
|
|
4514
|
+
return {
|
|
4515
|
+
kind: 'Fragment',
|
|
4516
|
+
version: VERSION$o,
|
|
4517
|
+
private: [],
|
|
4518
|
+
selections: [
|
|
4519
|
+
{
|
|
4520
|
+
name: 'entityFqn',
|
|
4521
|
+
kind: 'Scalar'
|
|
4522
|
+
},
|
|
4523
|
+
{
|
|
4524
|
+
name: 'entityId',
|
|
4525
|
+
kind: 'Scalar'
|
|
4526
|
+
},
|
|
4527
|
+
{
|
|
4528
|
+
name: 'id',
|
|
4529
|
+
kind: 'Scalar'
|
|
4530
|
+
},
|
|
4531
|
+
{
|
|
4532
|
+
name: 'propertyBaseModelValue',
|
|
4533
|
+
kind: 'Scalar',
|
|
4534
|
+
required: false
|
|
4535
|
+
},
|
|
4536
|
+
{
|
|
4537
|
+
name: 'propertyName',
|
|
4538
|
+
kind: 'Scalar'
|
|
4539
|
+
},
|
|
4540
|
+
{
|
|
4541
|
+
name: 'propertyOverrideValue',
|
|
4542
|
+
kind: 'Scalar'
|
|
4543
|
+
}
|
|
4544
|
+
]
|
|
4545
|
+
};
|
|
4546
|
+
};
|
|
4547
|
+
function equals$o(existing, incoming) {
|
|
4548
|
+
const existing_entityFqn = existing.entityFqn;
|
|
4549
|
+
const incoming_entityFqn = incoming.entityFqn;
|
|
4550
|
+
if (!(existing_entityFqn === incoming_entityFqn)) {
|
|
4551
|
+
return false;
|
|
4552
|
+
}
|
|
4553
|
+
const existing_entityId = existing.entityId;
|
|
4554
|
+
const incoming_entityId = incoming.entityId;
|
|
4555
|
+
if (!(existing_entityId === incoming_entityId)) {
|
|
4556
|
+
return false;
|
|
4557
|
+
}
|
|
4558
|
+
const existing_id = existing.id;
|
|
4559
|
+
const incoming_id = incoming.id;
|
|
4560
|
+
if (!(existing_id === incoming_id)) {
|
|
4561
|
+
return false;
|
|
4562
|
+
}
|
|
4563
|
+
const existing_propertyBaseModelValue = existing.propertyBaseModelValue;
|
|
4564
|
+
const incoming_propertyBaseModelValue = incoming.propertyBaseModelValue;
|
|
4565
|
+
// if at least one of these optionals is defined
|
|
4566
|
+
if (existing_propertyBaseModelValue !== undefined || incoming_propertyBaseModelValue !== undefined) {
|
|
4567
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4568
|
+
// not equal
|
|
4569
|
+
if (existing_propertyBaseModelValue === undefined || incoming_propertyBaseModelValue === undefined) {
|
|
4570
|
+
return false;
|
|
4571
|
+
}
|
|
4572
|
+
if (!(existing_propertyBaseModelValue === incoming_propertyBaseModelValue)) {
|
|
4422
4573
|
return false;
|
|
4423
4574
|
}
|
|
4424
4575
|
}
|
|
4576
|
+
const existing_propertyName = existing.propertyName;
|
|
4577
|
+
const incoming_propertyName = incoming.propertyName;
|
|
4578
|
+
if (!(existing_propertyName === incoming_propertyName)) {
|
|
4579
|
+
return false;
|
|
4580
|
+
}
|
|
4581
|
+
const existing_propertyOverrideValue = existing.propertyOverrideValue;
|
|
4582
|
+
const incoming_propertyOverrideValue = incoming.propertyOverrideValue;
|
|
4583
|
+
if (!(existing_propertyOverrideValue === incoming_propertyOverrideValue)) {
|
|
4584
|
+
return false;
|
|
4585
|
+
}
|
|
4425
4586
|
return true;
|
|
4426
4587
|
}
|
|
4427
4588
|
|
|
4428
|
-
const VERSION$n = "
|
|
4589
|
+
const VERSION$n = "8e79a20925f9ec85025ffe505523c74c";
|
|
4429
4590
|
function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
4430
4591
|
const v_error = (() => {
|
|
4431
4592
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4525,7 +4686,7 @@ function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4525
4686
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4526
4687
|
const obj_filters_item = obj_filters[i];
|
|
4527
4688
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4528
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4689
|
+
const referencepath_filters_itemValidationError = validate$18(obj_filters_item, path_filters_item);
|
|
4529
4690
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4530
4691
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4531
4692
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4538,6 +4699,13 @@ function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4538
4699
|
if (typeof obj_id !== 'string') {
|
|
4539
4700
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
4540
4701
|
}
|
|
4702
|
+
if (obj.isOverrideBase !== undefined) {
|
|
4703
|
+
const obj_isOverrideBase = obj.isOverrideBase;
|
|
4704
|
+
const path_isOverrideBase = path + '.isOverrideBase';
|
|
4705
|
+
if (typeof obj_isOverrideBase !== 'boolean') {
|
|
4706
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
4707
|
+
}
|
|
4708
|
+
}
|
|
4541
4709
|
if (obj.isVisible !== undefined) {
|
|
4542
4710
|
const obj_isVisible = obj.isVisible;
|
|
4543
4711
|
const path_isVisible = path + '.isVisible';
|
|
@@ -4611,7 +4779,7 @@ function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
|
4611
4779
|
return input;
|
|
4612
4780
|
}
|
|
4613
4781
|
const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
4614
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
4782
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
4615
4783
|
return {
|
|
4616
4784
|
kind: 'Fragment',
|
|
4617
4785
|
version: VERSION$n,
|
|
@@ -4690,6 +4858,11 @@ const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
4690
4858
|
name: 'id',
|
|
4691
4859
|
kind: 'Scalar'
|
|
4692
4860
|
},
|
|
4861
|
+
{
|
|
4862
|
+
name: 'isOverrideBase',
|
|
4863
|
+
kind: 'Scalar',
|
|
4864
|
+
required: false
|
|
4865
|
+
},
|
|
4693
4866
|
{
|
|
4694
4867
|
name: 'isVisible',
|
|
4695
4868
|
kind: 'Scalar',
|
|
@@ -4734,6 +4907,19 @@ const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
4734
4907
|
};
|
|
4735
4908
|
};
|
|
4736
4909
|
function equals$n(existing, incoming) {
|
|
4910
|
+
const existing_isOverrideBase = existing.isOverrideBase;
|
|
4911
|
+
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
4912
|
+
// if at least one of these optionals is defined
|
|
4913
|
+
if (existing_isOverrideBase !== undefined || incoming_isOverrideBase !== undefined) {
|
|
4914
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4915
|
+
// not equal
|
|
4916
|
+
if (existing_isOverrideBase === undefined || incoming_isOverrideBase === undefined) {
|
|
4917
|
+
return false;
|
|
4918
|
+
}
|
|
4919
|
+
if (!(existing_isOverrideBase === incoming_isOverrideBase)) {
|
|
4920
|
+
return false;
|
|
4921
|
+
}
|
|
4922
|
+
}
|
|
4737
4923
|
const existing_isVisible = existing.isVisible;
|
|
4738
4924
|
const incoming_isVisible = incoming.isVisible;
|
|
4739
4925
|
// if at least one of these optionals is defined
|
|
@@ -4998,7 +5184,7 @@ function equals$n(existing, incoming) {
|
|
|
4998
5184
|
return false;
|
|
4999
5185
|
}
|
|
5000
5186
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
5001
|
-
if (!(equals$
|
|
5187
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
5002
5188
|
return false;
|
|
5003
5189
|
}
|
|
5004
5190
|
});
|
|
@@ -5030,7 +5216,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5030
5216
|
});
|
|
5031
5217
|
}
|
|
5032
5218
|
|
|
5033
|
-
const VERSION$m = "
|
|
5219
|
+
const VERSION$m = "bc21c46456a2024253da5ae96ccf7dfe";
|
|
5034
5220
|
function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
5035
5221
|
const v_error = (() => {
|
|
5036
5222
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5144,7 +5330,7 @@ function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
5144
5330
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5145
5331
|
const obj_filters_item = obj_filters[i];
|
|
5146
5332
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5147
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5333
|
+
const referencepath_filters_itemValidationError = validate$18(obj_filters_item, path_filters_item);
|
|
5148
5334
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5149
5335
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5150
5336
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5164,6 +5350,13 @@ function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
5164
5350
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isAggregatable + '" (at "' + path_isAggregatable + '")');
|
|
5165
5351
|
}
|
|
5166
5352
|
}
|
|
5353
|
+
if (obj.isOverrideBase !== undefined) {
|
|
5354
|
+
const obj_isOverrideBase = obj.isOverrideBase;
|
|
5355
|
+
const path_isOverrideBase = path + '.isOverrideBase';
|
|
5356
|
+
if (typeof obj_isOverrideBase !== 'boolean') {
|
|
5357
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
5358
|
+
}
|
|
5359
|
+
}
|
|
5167
5360
|
if (obj.isVisible !== undefined) {
|
|
5168
5361
|
const obj_isVisible = obj.isVisible;
|
|
5169
5362
|
const path_isVisible = path + '.isVisible';
|
|
@@ -5258,7 +5451,7 @@ function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
|
5258
5451
|
return input;
|
|
5259
5452
|
}
|
|
5260
5453
|
const select$B = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
5261
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
5454
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
5262
5455
|
return {
|
|
5263
5456
|
kind: 'Fragment',
|
|
5264
5457
|
version: VERSION$m,
|
|
@@ -5352,6 +5545,11 @@ const select$B = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
5352
5545
|
kind: 'Scalar',
|
|
5353
5546
|
required: false
|
|
5354
5547
|
},
|
|
5548
|
+
{
|
|
5549
|
+
name: 'isOverrideBase',
|
|
5550
|
+
kind: 'Scalar',
|
|
5551
|
+
required: false
|
|
5552
|
+
},
|
|
5355
5553
|
{
|
|
5356
5554
|
name: 'isVisible',
|
|
5357
5555
|
kind: 'Scalar',
|
|
@@ -5424,6 +5622,19 @@ function equals$m(existing, incoming) {
|
|
|
5424
5622
|
return false;
|
|
5425
5623
|
}
|
|
5426
5624
|
}
|
|
5625
|
+
const existing_isOverrideBase = existing.isOverrideBase;
|
|
5626
|
+
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
5627
|
+
// if at least one of these optionals is defined
|
|
5628
|
+
if (existing_isOverrideBase !== undefined || incoming_isOverrideBase !== undefined) {
|
|
5629
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5630
|
+
// not equal
|
|
5631
|
+
if (existing_isOverrideBase === undefined || incoming_isOverrideBase === undefined) {
|
|
5632
|
+
return false;
|
|
5633
|
+
}
|
|
5634
|
+
if (!(existing_isOverrideBase === incoming_isOverrideBase)) {
|
|
5635
|
+
return false;
|
|
5636
|
+
}
|
|
5637
|
+
}
|
|
5427
5638
|
const existing_isVisible = existing.isVisible;
|
|
5428
5639
|
const incoming_isVisible = incoming.isVisible;
|
|
5429
5640
|
// if at least one of these optionals is defined
|
|
@@ -5753,7 +5964,7 @@ function equals$m(existing, incoming) {
|
|
|
5753
5964
|
return false;
|
|
5754
5965
|
}
|
|
5755
5966
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
5756
|
-
if (!(equals$
|
|
5967
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
5757
5968
|
return false;
|
|
5758
5969
|
}
|
|
5759
5970
|
});
|
|
@@ -6209,7 +6420,7 @@ function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
6209
6420
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
6210
6421
|
const obj_filters_item = obj_filters[i];
|
|
6211
6422
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
6212
|
-
const referencepath_filters_itemValidationError = validate$
|
|
6423
|
+
const referencepath_filters_itemValidationError = validate$18(obj_filters_item, path_filters_item);
|
|
6213
6424
|
if (referencepath_filters_itemValidationError !== null) {
|
|
6214
6425
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
6215
6426
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6694,7 +6905,7 @@ function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
6694
6905
|
}
|
|
6695
6906
|
const obj_fieldReference = obj.fieldReference;
|
|
6696
6907
|
const path_fieldReference = path + '.fieldReference';
|
|
6697
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
6908
|
+
const referencepath_fieldReferenceValidationError = validate$19(obj_fieldReference, path_fieldReference);
|
|
6698
6909
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
6699
6910
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
6700
6911
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6749,7 +6960,7 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
|
6749
6960
|
}
|
|
6750
6961
|
const select$v = function SemanticGroupingOutputRepresentationSelect() {
|
|
6751
6962
|
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$w();
|
|
6752
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
6963
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$R();
|
|
6753
6964
|
return {
|
|
6754
6965
|
kind: 'Fragment',
|
|
6755
6966
|
version: VERSION$g,
|
|
@@ -6929,7 +7140,7 @@ function equals$g(existing, incoming) {
|
|
|
6929
7140
|
}
|
|
6930
7141
|
const existing_fieldReference = existing.fieldReference;
|
|
6931
7142
|
const incoming_fieldReference = incoming.fieldReference;
|
|
6932
|
-
if (!(equals$
|
|
7143
|
+
if (!(equals$A(existing_fieldReference, incoming_fieldReference))) {
|
|
6933
7144
|
return false;
|
|
6934
7145
|
}
|
|
6935
7146
|
return true;
|
|
@@ -7609,7 +7820,7 @@ function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
7609
7820
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
7610
7821
|
const obj_fields_item = obj_fields[i];
|
|
7611
7822
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
7612
|
-
const referencepath_fields_itemValidationError = validate$
|
|
7823
|
+
const referencepath_fields_itemValidationError = validate$1a(obj_fields_item, path_fields_item);
|
|
7613
7824
|
if (referencepath_fields_itemValidationError !== null) {
|
|
7614
7825
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
7615
7826
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8221,7 +8432,7 @@ function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
8221
8432
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
8222
8433
|
const obj_filters_item = obj_filters[i];
|
|
8223
8434
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
8224
|
-
const referencepath_filters_itemValidationError = validate$
|
|
8435
|
+
const referencepath_filters_itemValidationError = validate$18(obj_filters_item, path_filters_item);
|
|
8225
8436
|
if (referencepath_filters_itemValidationError !== null) {
|
|
8226
8437
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
8227
8438
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8382,7 +8593,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
8382
8593
|
return input;
|
|
8383
8594
|
}
|
|
8384
8595
|
const select$q = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
8385
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
8596
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
8386
8597
|
return {
|
|
8387
8598
|
kind: 'Fragment',
|
|
8388
8599
|
version: VERSION$b,
|
|
@@ -8646,7 +8857,7 @@ function equals$b(existing, incoming) {
|
|
|
8646
8857
|
return false;
|
|
8647
8858
|
}
|
|
8648
8859
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
8649
|
-
if (!(equals$
|
|
8860
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
8650
8861
|
return false;
|
|
8651
8862
|
}
|
|
8652
8863
|
});
|
|
@@ -9315,7 +9526,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9315
9526
|
});
|
|
9316
9527
|
}
|
|
9317
9528
|
|
|
9318
|
-
const VERSION$8 = "
|
|
9529
|
+
const VERSION$8 = "384950eda90c1492434fc4519368df85";
|
|
9319
9530
|
function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
9320
9531
|
const v_error = (() => {
|
|
9321
9532
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9349,7 +9560,7 @@ function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9349
9560
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
9350
9561
|
const obj_baseModels_item = obj_baseModels[i];
|
|
9351
9562
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
9352
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
9563
|
+
const referencepath_baseModels_itemValidationError = validate$12(obj_baseModels_item, path_baseModels_item);
|
|
9353
9564
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
9354
9565
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
9355
9566
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9409,7 +9620,7 @@ function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9409
9620
|
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
9410
9621
|
const obj_externalConnections_item = obj_externalConnections[i];
|
|
9411
9622
|
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
9412
|
-
const referencepath_externalConnections_itemValidationError = validate$
|
|
9623
|
+
const referencepath_externalConnections_itemValidationError = validate$z(obj_externalConnections_item, path_externalConnections_item);
|
|
9413
9624
|
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
9414
9625
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
9415
9626
|
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9417,6 +9628,23 @@ function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9417
9628
|
}
|
|
9418
9629
|
}
|
|
9419
9630
|
}
|
|
9631
|
+
if (obj.fieldsOverrides !== undefined) {
|
|
9632
|
+
const obj_fieldsOverrides = obj.fieldsOverrides;
|
|
9633
|
+
const path_fieldsOverrides = path + '.fieldsOverrides';
|
|
9634
|
+
if (!ArrayIsArray(obj_fieldsOverrides)) {
|
|
9635
|
+
return new TypeError('Expected "array" but received "' + typeof obj_fieldsOverrides + '" (at "' + path_fieldsOverrides + '")');
|
|
9636
|
+
}
|
|
9637
|
+
for (let i = 0; i < obj_fieldsOverrides.length; i++) {
|
|
9638
|
+
const obj_fieldsOverrides_item = obj_fieldsOverrides[i];
|
|
9639
|
+
const path_fieldsOverrides_item = path_fieldsOverrides + '[' + i + ']';
|
|
9640
|
+
const referencepath_fieldsOverrides_itemValidationError = validate$y(obj_fieldsOverrides_item, path_fieldsOverrides_item);
|
|
9641
|
+
if (referencepath_fieldsOverrides_itemValidationError !== null) {
|
|
9642
|
+
let message = 'Object doesn\'t match SemanticOverrideOutputRepresentation (at "' + path_fieldsOverrides_item + '")\n';
|
|
9643
|
+
message += referencepath_fieldsOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
9644
|
+
return new TypeError(message);
|
|
9645
|
+
}
|
|
9646
|
+
}
|
|
9647
|
+
}
|
|
9420
9648
|
const obj_id = obj.id;
|
|
9421
9649
|
const path_id = path + '.id';
|
|
9422
9650
|
if (typeof obj_id !== 'string') {
|
|
@@ -9807,8 +10035,9 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
9807
10035
|
return input;
|
|
9808
10036
|
}
|
|
9809
10037
|
const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
9810
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
9811
|
-
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$
|
|
10038
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$J();
|
|
10039
|
+
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$E();
|
|
10040
|
+
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$D();
|
|
9812
10041
|
return {
|
|
9813
10042
|
kind: 'Fragment',
|
|
9814
10043
|
version: VERSION$8,
|
|
@@ -9870,6 +10099,13 @@ const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
|
9870
10099
|
selections: SemanticModelExternalConnectionOutputRepresentation__selections,
|
|
9871
10100
|
required: false
|
|
9872
10101
|
},
|
|
10102
|
+
{
|
|
10103
|
+
name: 'fieldsOverrides',
|
|
10104
|
+
kind: 'Object',
|
|
10105
|
+
plural: true,
|
|
10106
|
+
selections: SemanticOverrideOutputRepresentation__selections,
|
|
10107
|
+
required: false
|
|
10108
|
+
},
|
|
9873
10109
|
{
|
|
9874
10110
|
name: 'id',
|
|
9875
10111
|
kind: 'Scalar'
|
|
@@ -9959,7 +10195,7 @@ const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
|
9959
10195
|
kind: 'Link',
|
|
9960
10196
|
plural: true,
|
|
9961
10197
|
required: false,
|
|
9962
|
-
fragment: select$
|
|
10198
|
+
fragment: select$M()
|
|
9963
10199
|
},
|
|
9964
10200
|
{
|
|
9965
10201
|
name: 'semanticParameters',
|
|
@@ -10242,7 +10478,7 @@ function equals$8(existing, incoming) {
|
|
|
10242
10478
|
return false;
|
|
10243
10479
|
}
|
|
10244
10480
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
10245
|
-
if (!(equals$
|
|
10481
|
+
if (!(equals$t(existing_baseModels_item, incoming_baseModels_item))) {
|
|
10246
10482
|
return false;
|
|
10247
10483
|
}
|
|
10248
10484
|
});
|
|
@@ -10278,7 +10514,7 @@ function equals$8(existing, incoming) {
|
|
|
10278
10514
|
return false;
|
|
10279
10515
|
}
|
|
10280
10516
|
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
10281
|
-
if (!(equals$
|
|
10517
|
+
if (!(equals$p(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
10282
10518
|
return false;
|
|
10283
10519
|
}
|
|
10284
10520
|
});
|
|
@@ -10286,6 +10522,24 @@ function equals$8(existing, incoming) {
|
|
|
10286
10522
|
return false;
|
|
10287
10523
|
}
|
|
10288
10524
|
}
|
|
10525
|
+
const existing_fieldsOverrides = existing.fieldsOverrides;
|
|
10526
|
+
const incoming_fieldsOverrides = incoming.fieldsOverrides;
|
|
10527
|
+
// if at least one of these optionals is defined
|
|
10528
|
+
if (existing_fieldsOverrides !== undefined || incoming_fieldsOverrides !== undefined) {
|
|
10529
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10530
|
+
// not equal
|
|
10531
|
+
if (existing_fieldsOverrides === undefined || incoming_fieldsOverrides === undefined) {
|
|
10532
|
+
return false;
|
|
10533
|
+
}
|
|
10534
|
+
const equals_fieldsOverrides_items = equalsArray(existing_fieldsOverrides, incoming_fieldsOverrides, (existing_fieldsOverrides_item, incoming_fieldsOverrides_item) => {
|
|
10535
|
+
if (!(equals$o(existing_fieldsOverrides_item, incoming_fieldsOverrides_item))) {
|
|
10536
|
+
return false;
|
|
10537
|
+
}
|
|
10538
|
+
});
|
|
10539
|
+
if (equals_fieldsOverrides_items === false) {
|
|
10540
|
+
return false;
|
|
10541
|
+
}
|
|
10542
|
+
}
|
|
10289
10543
|
const existing_semanticCalculatedDimensions = existing.semanticCalculatedDimensions;
|
|
10290
10544
|
const incoming_semanticCalculatedDimensions = incoming.semanticCalculatedDimensions;
|
|
10291
10545
|
// if at least one of these optionals is defined
|
|
@@ -10565,6 +10819,7 @@ const createSemanticModel_ConfigPropertyMetadata = [
|
|
|
10565
10819
|
generateParamConfigMetadata('sourceCreationName', false, 2 /* Body */, 0 /* String */),
|
|
10566
10820
|
generateParamConfigMetadata('baseModels', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10567
10821
|
generateParamConfigMetadata('externalConnections', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10822
|
+
generateParamConfigMetadata('fieldsOverrides', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10568
10823
|
generateParamConfigMetadata('semanticCalculatedDimensions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10569
10824
|
generateParamConfigMetadata('semanticCalculatedMeasurements', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10570
10825
|
generateParamConfigMetadata('semanticDataObjects', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -10584,7 +10839,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10584
10839
|
const untrustedConfig_baseModels_array = [];
|
|
10585
10840
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
10586
10841
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
10587
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
10842
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
|
|
10588
10843
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
10589
10844
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
10590
10845
|
}
|
|
@@ -10596,19 +10851,31 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10596
10851
|
const untrustedConfig_externalConnections_array = [];
|
|
10597
10852
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
10598
10853
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
10599
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
10854
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$Z(untrustedConfig_externalConnections_item);
|
|
10600
10855
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
10601
10856
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
10602
10857
|
}
|
|
10603
10858
|
}
|
|
10604
10859
|
config.externalConnections = untrustedConfig_externalConnections_array;
|
|
10605
10860
|
}
|
|
10861
|
+
const untrustedConfig_fieldsOverrides = untrustedConfig.fieldsOverrides;
|
|
10862
|
+
if (ArrayIsArray$1(untrustedConfig_fieldsOverrides)) {
|
|
10863
|
+
const untrustedConfig_fieldsOverrides_array = [];
|
|
10864
|
+
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
10865
|
+
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
10866
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$Y(untrustedConfig_fieldsOverrides_item);
|
|
10867
|
+
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
10868
|
+
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
10869
|
+
}
|
|
10870
|
+
}
|
|
10871
|
+
config.fieldsOverrides = untrustedConfig_fieldsOverrides_array;
|
|
10872
|
+
}
|
|
10606
10873
|
const untrustedConfig_semanticCalculatedDimensions = untrustedConfig.semanticCalculatedDimensions;
|
|
10607
10874
|
if (ArrayIsArray$1(untrustedConfig_semanticCalculatedDimensions)) {
|
|
10608
10875
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10609
10876
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10610
10877
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10611
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
10878
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$W(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10612
10879
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10613
10880
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10614
10881
|
}
|
|
@@ -10620,7 +10887,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10620
10887
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10621
10888
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10622
10889
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10623
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
10890
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10624
10891
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10625
10892
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10626
10893
|
}
|
|
@@ -10632,7 +10899,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10632
10899
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10633
10900
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
10634
10901
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
10635
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10902
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$S(untrustedConfig_semanticDataObjects_item);
|
|
10636
10903
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
10637
10904
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
10638
10905
|
}
|
|
@@ -10644,7 +10911,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10644
10911
|
const untrustedConfig_semanticGroupings_array = [];
|
|
10645
10912
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
10646
10913
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
10647
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10914
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$L(untrustedConfig_semanticGroupings_item);
|
|
10648
10915
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
10649
10916
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
10650
10917
|
}
|
|
@@ -10656,7 +10923,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10656
10923
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
10657
10924
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
10658
10925
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
10659
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10926
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$G(untrustedConfig_semanticLogicalViews_item);
|
|
10660
10927
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
10661
10928
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
10662
10929
|
}
|
|
@@ -10668,7 +10935,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10668
10935
|
const untrustedConfig_semanticMetrics_array = [];
|
|
10669
10936
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
10670
10937
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
10671
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10938
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$C(untrustedConfig_semanticMetrics_item);
|
|
10672
10939
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
10673
10940
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
10674
10941
|
}
|
|
@@ -10680,7 +10947,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10680
10947
|
const untrustedConfig_semanticParameters_array = [];
|
|
10681
10948
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
10682
10949
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
10683
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10950
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$B(untrustedConfig_semanticParameters_item);
|
|
10684
10951
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
10685
10952
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
10686
10953
|
}
|
|
@@ -10692,7 +10959,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10692
10959
|
const untrustedConfig_semanticRelationships_array = [];
|
|
10693
10960
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
10694
10961
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
10695
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10962
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$J(untrustedConfig_semanticRelationships_item);
|
|
10696
10963
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
10697
10964
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
10698
10965
|
}
|
|
@@ -10931,6 +11198,7 @@ const patchSemanticModel_ConfigPropertyMetadata = [
|
|
|
10931
11198
|
generateParamConfigMetadata('sourceCreationName', false, 2 /* Body */, 0 /* String */),
|
|
10932
11199
|
generateParamConfigMetadata('baseModels', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10933
11200
|
generateParamConfigMetadata('externalConnections', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11201
|
+
generateParamConfigMetadata('fieldsOverrides', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10934
11202
|
generateParamConfigMetadata('semanticCalculatedDimensions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10935
11203
|
generateParamConfigMetadata('semanticCalculatedMeasurements', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10936
11204
|
generateParamConfigMetadata('semanticDataObjects', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -10950,7 +11218,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10950
11218
|
const untrustedConfig_baseModels_array = [];
|
|
10951
11219
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
10952
11220
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
10953
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
11221
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
|
|
10954
11222
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
10955
11223
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
10956
11224
|
}
|
|
@@ -10962,19 +11230,31 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10962
11230
|
const untrustedConfig_externalConnections_array = [];
|
|
10963
11231
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
10964
11232
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
10965
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
11233
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$Z(untrustedConfig_externalConnections_item);
|
|
10966
11234
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
10967
11235
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
10968
11236
|
}
|
|
10969
11237
|
}
|
|
10970
11238
|
config.externalConnections = untrustedConfig_externalConnections_array;
|
|
10971
11239
|
}
|
|
11240
|
+
const untrustedConfig_fieldsOverrides = untrustedConfig.fieldsOverrides;
|
|
11241
|
+
if (ArrayIsArray$1(untrustedConfig_fieldsOverrides)) {
|
|
11242
|
+
const untrustedConfig_fieldsOverrides_array = [];
|
|
11243
|
+
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
11244
|
+
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
11245
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$Y(untrustedConfig_fieldsOverrides_item);
|
|
11246
|
+
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
11247
|
+
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
11248
|
+
}
|
|
11249
|
+
}
|
|
11250
|
+
config.fieldsOverrides = untrustedConfig_fieldsOverrides_array;
|
|
11251
|
+
}
|
|
10972
11252
|
const untrustedConfig_semanticCalculatedDimensions = untrustedConfig.semanticCalculatedDimensions;
|
|
10973
11253
|
if (ArrayIsArray$1(untrustedConfig_semanticCalculatedDimensions)) {
|
|
10974
11254
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10975
11255
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10976
11256
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10977
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
11257
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$W(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10978
11258
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10979
11259
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10980
11260
|
}
|
|
@@ -10986,7 +11266,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10986
11266
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10987
11267
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10988
11268
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10989
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
11269
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10990
11270
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10991
11271
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10992
11272
|
}
|
|
@@ -10998,7 +11278,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10998
11278
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10999
11279
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
11000
11280
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
11001
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
11281
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$S(untrustedConfig_semanticDataObjects_item);
|
|
11002
11282
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
11003
11283
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
11004
11284
|
}
|
|
@@ -11010,7 +11290,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11010
11290
|
const untrustedConfig_semanticGroupings_array = [];
|
|
11011
11291
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
11012
11292
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
11013
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
11293
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$L(untrustedConfig_semanticGroupings_item);
|
|
11014
11294
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
11015
11295
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
11016
11296
|
}
|
|
@@ -11022,7 +11302,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11022
11302
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
11023
11303
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
11024
11304
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
11025
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
11305
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$G(untrustedConfig_semanticLogicalViews_item);
|
|
11026
11306
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
11027
11307
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
11028
11308
|
}
|
|
@@ -11034,7 +11314,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11034
11314
|
const untrustedConfig_semanticMetrics_array = [];
|
|
11035
11315
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
11036
11316
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
11037
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
11317
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$C(untrustedConfig_semanticMetrics_item);
|
|
11038
11318
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
11039
11319
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
11040
11320
|
}
|
|
@@ -11046,7 +11326,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11046
11326
|
const untrustedConfig_semanticParameters_array = [];
|
|
11047
11327
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
11048
11328
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
11049
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
11329
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$B(untrustedConfig_semanticParameters_item);
|
|
11050
11330
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
11051
11331
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
11052
11332
|
}
|
|
@@ -11058,7 +11338,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11058
11338
|
const untrustedConfig_semanticRelationships_array = [];
|
|
11059
11339
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
11060
11340
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
11061
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
11341
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$J(untrustedConfig_semanticRelationships_item);
|
|
11062
11342
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
11063
11343
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
11064
11344
|
}
|
|
@@ -12423,7 +12703,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
12423
12703
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
12424
12704
|
const obj_filters_item = obj_filters[i];
|
|
12425
12705
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
12426
|
-
const referencepath_filters_itemValidationError = validate$
|
|
12706
|
+
const referencepath_filters_itemValidationError = validate$18(obj_filters_item, path_filters_item);
|
|
12427
12707
|
if (referencepath_filters_itemValidationError !== null) {
|
|
12428
12708
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
12429
12709
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12477,7 +12757,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
12477
12757
|
if (obj.semanticMetric !== undefined) {
|
|
12478
12758
|
const obj_semanticMetric = obj.semanticMetric;
|
|
12479
12759
|
const path_semanticMetric = path + '.semanticMetric';
|
|
12480
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
12760
|
+
const referencepath_semanticMetricValidationError = validate$14(obj_semanticMetric, path_semanticMetric);
|
|
12481
12761
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
12482
12762
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
12483
12763
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12925,7 +13205,7 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
12925
13205
|
};
|
|
12926
13206
|
|
|
12927
13207
|
function select$7(luvio, params) {
|
|
12928
|
-
return select$
|
|
13208
|
+
return select$L();
|
|
12929
13209
|
}
|
|
12930
13210
|
function keyBuilder$b(luvio, params) {
|
|
12931
13211
|
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
|
|
@@ -13057,7 +13337,7 @@ const getSemanticMetricsAdapterFactory = (luvio) => function SemanticAuthoring__
|
|
|
13057
13337
|
};
|
|
13058
13338
|
|
|
13059
13339
|
function select$6(luvio, params) {
|
|
13060
|
-
return select$
|
|
13340
|
+
return select$M();
|
|
13061
13341
|
}
|
|
13062
13342
|
function keyBuilder$9(luvio, params) {
|
|
13063
13343
|
return keyBuilder$B(luvio, {
|
|
@@ -13555,7 +13835,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
13555
13835
|
const untrustedConfig_filters_array = [];
|
|
13556
13836
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
13557
13837
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
13558
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
13838
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$X(untrustedConfig_filters_item);
|
|
13559
13839
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
13560
13840
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
13561
13841
|
}
|