@salesforce/lds-adapters-cdp-semantic-authoring 1.351.1 → 1.353.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cdp-semantic-authoring.js +1074 -207
- package/dist/es/es2018/types/src/generated/adapters/createSemanticModel.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/adapters/patchSemanticModel.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsByModelApiNameOrId.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModels.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsCalculatedDimensionsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsCalculatedMeasurementsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsDataObjectsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsByModelApiNameOrId.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedDimensionsByCalculatedDimensionNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedDimensionsConvertToMeasurementByCalculatedDimensionNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedMeasurementsByCalculatedMeasurementNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedMeasurementsConvertToDimensionByCalculatedMeasurementNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsByDataObjectNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +13 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +13 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDataObjectInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDataObjectOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewPartialInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelInputRepresentation.d.ts +9 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +9 -1
- package/package.json +3 -3
- package/sfdc/index.js +983 -116
- package/src/raml/api.raml +250 -2
|
@@ -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$14(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$P = 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$y(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$13(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$13(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$O = 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$x(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$12(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$N = 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$w(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$11(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$11(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$11(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$M = 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$v(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$v(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$10(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$L = 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$u(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$$(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$$(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$$(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$$(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$K = 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$t(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$t(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$t(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$t(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$_(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$_(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$_(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$_(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$_(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$J = 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$s(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$s(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$s(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$s(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$s(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$s(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$I = 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$r(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$Y(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$G = 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$q(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$X(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$X(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$F = 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$p(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$p(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$W(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$E = 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$o(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$o(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,102 @@ function validate$V(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
|
+
const v_error = (() => {
|
|
2594
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2595
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2596
|
+
}
|
|
2597
|
+
const obj_dataSourceId = obj.dataSourceId;
|
|
2598
|
+
const path_dataSourceId = path + '.dataSourceId';
|
|
2599
|
+
if (typeof obj_dataSourceId !== 'string') {
|
|
2600
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataSourceId + '" (at "' + path_dataSourceId + '")');
|
|
2601
|
+
}
|
|
2602
|
+
const obj_siteId = obj.siteId;
|
|
2603
|
+
const path_siteId = path + '.siteId';
|
|
2604
|
+
if (typeof obj_siteId !== 'string') {
|
|
2605
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteId + '" (at "' + path_siteId + '")');
|
|
2606
|
+
}
|
|
2607
|
+
const obj_siteName = obj.siteName;
|
|
2608
|
+
const path_siteName = path + '.siteName';
|
|
2609
|
+
if (typeof obj_siteName !== 'string') {
|
|
2610
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteName + '" (at "' + path_siteName + '")');
|
|
2611
|
+
}
|
|
2612
|
+
const obj_siteUrl = obj.siteUrl;
|
|
2613
|
+
const path_siteUrl = path + '.siteUrl';
|
|
2614
|
+
if (typeof obj_siteUrl !== 'string') {
|
|
2615
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteUrl + '" (at "' + path_siteUrl + '")');
|
|
2616
|
+
}
|
|
2617
|
+
})();
|
|
2618
|
+
return v_error === undefined ? null : v_error;
|
|
2619
|
+
}
|
|
2620
|
+
|
|
2621
|
+
function validate$Z(obj, path = 'SemanticModelExternalConnectionInputRepresentation') {
|
|
2622
|
+
const v_error = (() => {
|
|
2623
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2624
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2625
|
+
}
|
|
2626
|
+
const obj_apiName = obj.apiName;
|
|
2627
|
+
const path_apiName = path + '.apiName';
|
|
2628
|
+
if (typeof obj_apiName !== 'string') {
|
|
2629
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
2630
|
+
}
|
|
2631
|
+
if (obj.label !== undefined) {
|
|
2632
|
+
const obj_label = obj.label;
|
|
2633
|
+
const path_label = path + '.label';
|
|
2634
|
+
if (typeof obj_label !== 'string') {
|
|
2635
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
if (obj.tableauPublishedDataSource !== undefined) {
|
|
2639
|
+
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
2640
|
+
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
2641
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$_(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
2642
|
+
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
2643
|
+
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
2644
|
+
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2645
|
+
return new TypeError(message);
|
|
2646
|
+
}
|
|
2647
|
+
}
|
|
2648
|
+
const obj_type = obj.type;
|
|
2649
|
+
const path_type = path + '.type';
|
|
2650
|
+
if (typeof obj_type !== 'string') {
|
|
2651
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
2652
|
+
}
|
|
2653
|
+
})();
|
|
2654
|
+
return v_error === undefined ? null : v_error;
|
|
2655
|
+
}
|
|
2656
|
+
|
|
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') {
|
|
2593
2688
|
const v_error = (() => {
|
|
2594
2689
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2595
2690
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2619,7 +2714,7 @@ function validate$U(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
2619
2714
|
return v_error === undefined ? null : v_error;
|
|
2620
2715
|
}
|
|
2621
2716
|
|
|
2622
|
-
function validate$
|
|
2717
|
+
function validate$W(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
2623
2718
|
const v_error = (() => {
|
|
2624
2719
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2625
2720
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2682,7 +2777,7 @@ function validate$T(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2682
2777
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2683
2778
|
const obj_filters_item = obj_filters[i];
|
|
2684
2779
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2685
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2780
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
2686
2781
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2687
2782
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2688
2783
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2690,6 +2785,13 @@ function validate$T(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2690
2785
|
}
|
|
2691
2786
|
}
|
|
2692
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
|
+
}
|
|
2693
2795
|
if (obj.isVisible !== undefined) {
|
|
2694
2796
|
const obj_isVisible = obj.isVisible;
|
|
2695
2797
|
const path_isVisible = path + '.isVisible';
|
|
@@ -2729,7 +2831,7 @@ function validate$T(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2729
2831
|
return v_error === undefined ? null : v_error;
|
|
2730
2832
|
}
|
|
2731
2833
|
|
|
2732
|
-
function validate$
|
|
2834
|
+
function validate$V(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
2733
2835
|
const v_error = (() => {
|
|
2734
2836
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2735
2837
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2806,7 +2908,7 @@ function validate$S(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2806
2908
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2807
2909
|
const obj_filters_item = obj_filters[i];
|
|
2808
2910
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2809
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2911
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
2810
2912
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2811
2913
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2812
2914
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2814,6 +2916,13 @@ function validate$S(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2814
2916
|
}
|
|
2815
2917
|
}
|
|
2816
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
|
+
}
|
|
2817
2926
|
if (obj.isVisible !== undefined) {
|
|
2818
2927
|
const obj_isVisible = obj.isVisible;
|
|
2819
2928
|
const path_isVisible = path + '.isVisible';
|
|
@@ -2874,7 +2983,7 @@ function validate$S(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2874
2983
|
return v_error === undefined ? null : v_error;
|
|
2875
2984
|
}
|
|
2876
2985
|
|
|
2877
|
-
function validate$
|
|
2986
|
+
function validate$U(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
2878
2987
|
const v_error = (() => {
|
|
2879
2988
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2880
2989
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2953,7 +3062,7 @@ function validate$R(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
2953
3062
|
return v_error === undefined ? null : v_error;
|
|
2954
3063
|
}
|
|
2955
3064
|
|
|
2956
|
-
function validate$
|
|
3065
|
+
function validate$T(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
2957
3066
|
const v_error = (() => {
|
|
2958
3067
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2959
3068
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3060,7 +3169,7 @@ function validate$Q(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
3060
3169
|
return v_error === undefined ? null : v_error;
|
|
3061
3170
|
}
|
|
3062
3171
|
|
|
3063
|
-
function validate$
|
|
3172
|
+
function validate$S(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
3064
3173
|
const v_error = (() => {
|
|
3065
3174
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3066
3175
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3109,7 +3218,7 @@ function validate$P(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3109
3218
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3110
3219
|
const obj_filters_item = obj_filters[i];
|
|
3111
3220
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3112
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3221
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
3113
3222
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3114
3223
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3115
3224
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3140,7 +3249,7 @@ function validate$P(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3140
3249
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
3141
3250
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
3142
3251
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
3143
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
3252
|
+
const referencepath_semanticDimensions_itemValidationError = validate$U(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
3144
3253
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
3145
3254
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
3146
3255
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3157,7 +3266,7 @@ function validate$P(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3157
3266
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
3158
3267
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
3159
3268
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
3160
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
3269
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$T(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
3161
3270
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
3162
3271
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
3163
3272
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3172,11 +3281,18 @@ function validate$P(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3172
3281
|
return new TypeError('Expected "boolean" but received "' + typeof obj_shouldIncludeAllFields + '" (at "' + path_shouldIncludeAllFields + '")');
|
|
3173
3282
|
}
|
|
3174
3283
|
}
|
|
3284
|
+
if (obj.tableType !== undefined) {
|
|
3285
|
+
const obj_tableType = obj.tableType;
|
|
3286
|
+
const path_tableType = path + '.tableType';
|
|
3287
|
+
if (typeof obj_tableType !== 'string') {
|
|
3288
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
3289
|
+
}
|
|
3290
|
+
}
|
|
3175
3291
|
})();
|
|
3176
3292
|
return v_error === undefined ? null : v_error;
|
|
3177
3293
|
}
|
|
3178
3294
|
|
|
3179
|
-
function validate$
|
|
3295
|
+
function validate$R(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
3180
3296
|
const v_error = (() => {
|
|
3181
3297
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3182
3298
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3188,7 +3304,7 @@ function validate$O(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
3188
3304
|
return v_error === undefined ? null : v_error;
|
|
3189
3305
|
}
|
|
3190
3306
|
|
|
3191
|
-
function validate$
|
|
3307
|
+
function validate$Q(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
3192
3308
|
const v_error = (() => {
|
|
3193
3309
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3194
3310
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3218,7 +3334,7 @@ function validate$N(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
3218
3334
|
return v_error === undefined ? null : v_error;
|
|
3219
3335
|
}
|
|
3220
3336
|
|
|
3221
|
-
function validate$
|
|
3337
|
+
function validate$P(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
3222
3338
|
const v_error = (() => {
|
|
3223
3339
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3224
3340
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3232,7 +3348,7 @@ function validate$M(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3232
3348
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
3233
3349
|
const obj_groups_item = obj_groups[i];
|
|
3234
3350
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
3235
|
-
const referencepath_groups_itemValidationError = validate$
|
|
3351
|
+
const referencepath_groups_itemValidationError = validate$Q(obj_groups_item, path_groups_item);
|
|
3236
3352
|
if (referencepath_groups_itemValidationError !== null) {
|
|
3237
3353
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
3238
3354
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3251,7 +3367,7 @@ function validate$M(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3251
3367
|
return v_error === undefined ? null : v_error;
|
|
3252
3368
|
}
|
|
3253
3369
|
|
|
3254
|
-
function validate$
|
|
3370
|
+
function validate$O(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
3255
3371
|
const v_error = (() => {
|
|
3256
3372
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3257
3373
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3259,7 +3375,7 @@ function validate$L(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3259
3375
|
if (obj.binDimension !== undefined) {
|
|
3260
3376
|
const obj_binDimension = obj.binDimension;
|
|
3261
3377
|
const path_binDimension = path + '.binDimension';
|
|
3262
|
-
const referencepath_binDimensionValidationError = validate$
|
|
3378
|
+
const referencepath_binDimensionValidationError = validate$R(obj_binDimension, path_binDimension);
|
|
3263
3379
|
if (referencepath_binDimensionValidationError !== null) {
|
|
3264
3380
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
3265
3381
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3269,7 +3385,7 @@ function validate$L(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3269
3385
|
if (obj.groupDimension !== undefined) {
|
|
3270
3386
|
const obj_groupDimension = obj.groupDimension;
|
|
3271
3387
|
const path_groupDimension = path + '.groupDimension';
|
|
3272
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
3388
|
+
const referencepath_groupDimensionValidationError = validate$P(obj_groupDimension, path_groupDimension);
|
|
3273
3389
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
3274
3390
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
3275
3391
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3280,7 +3396,7 @@ function validate$L(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3280
3396
|
return v_error === undefined ? null : v_error;
|
|
3281
3397
|
}
|
|
3282
3398
|
|
|
3283
|
-
function validate$
|
|
3399
|
+
function validate$N(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
3284
3400
|
const v_error = (() => {
|
|
3285
3401
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3286
3402
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3303,7 +3419,7 @@ function validate$K(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
3303
3419
|
return v_error === undefined ? null : v_error;
|
|
3304
3420
|
}
|
|
3305
3421
|
|
|
3306
|
-
function validate$
|
|
3422
|
+
function validate$M(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
3307
3423
|
const v_error = (() => {
|
|
3308
3424
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3309
3425
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3318,7 +3434,7 @@ function validate$J(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3318
3434
|
if (obj.tableFieldReference !== undefined) {
|
|
3319
3435
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
3320
3436
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
3321
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
3437
|
+
const referencepath_tableFieldReferenceValidationError = validate$N(obj_tableFieldReference, path_tableFieldReference);
|
|
3322
3438
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
3323
3439
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
3324
3440
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3329,7 +3445,7 @@ function validate$J(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3329
3445
|
return v_error === undefined ? null : v_error;
|
|
3330
3446
|
}
|
|
3331
3447
|
|
|
3332
|
-
function validate$
|
|
3448
|
+
function validate$L(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
3333
3449
|
const v_error = (() => {
|
|
3334
3450
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3335
3451
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3344,7 +3460,7 @@ function validate$I(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3344
3460
|
if (obj.configuration !== undefined) {
|
|
3345
3461
|
const obj_configuration = obj.configuration;
|
|
3346
3462
|
const path_configuration = path + '.configuration';
|
|
3347
|
-
const referencepath_configurationValidationError = validate$
|
|
3463
|
+
const referencepath_configurationValidationError = validate$O(obj_configuration, path_configuration);
|
|
3348
3464
|
if (referencepath_configurationValidationError !== null) {
|
|
3349
3465
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
3350
3466
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3361,7 +3477,7 @@ function validate$I(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3361
3477
|
if (obj.fieldReference !== undefined) {
|
|
3362
3478
|
const obj_fieldReference = obj.fieldReference;
|
|
3363
3479
|
const path_fieldReference = path + '.fieldReference';
|
|
3364
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
3480
|
+
const referencepath_fieldReferenceValidationError = validate$M(obj_fieldReference, path_fieldReference);
|
|
3365
3481
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
3366
3482
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
3367
3483
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3386,7 +3502,7 @@ function validate$I(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3386
3502
|
return v_error === undefined ? null : v_error;
|
|
3387
3503
|
}
|
|
3388
3504
|
|
|
3389
|
-
function validate$
|
|
3505
|
+
function validate$K(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
3390
3506
|
const v_error = (() => {
|
|
3391
3507
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3392
3508
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3430,7 +3546,7 @@ function validate$H(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
3430
3546
|
return v_error === undefined ? null : v_error;
|
|
3431
3547
|
}
|
|
3432
3548
|
|
|
3433
|
-
function validate$
|
|
3549
|
+
function validate$J(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
3434
3550
|
const v_error = (() => {
|
|
3435
3551
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3436
3552
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3458,7 +3574,7 @@ function validate$G(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3458
3574
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
3459
3575
|
const obj_criteria_item = obj_criteria[i];
|
|
3460
3576
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
3461
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
3577
|
+
const referencepath_criteria_itemValidationError = validate$K(obj_criteria_item, path_criteria_item);
|
|
3462
3578
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
3463
3579
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
3464
3580
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3519,7 +3635,7 @@ function validate$G(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3519
3635
|
return v_error === undefined ? null : v_error;
|
|
3520
3636
|
}
|
|
3521
3637
|
|
|
3522
|
-
function validate$
|
|
3638
|
+
function validate$I(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
3523
3639
|
const v_error = (() => {
|
|
3524
3640
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3525
3641
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3547,7 +3663,7 @@ function validate$F(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3547
3663
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
3548
3664
|
const obj_fields_item = obj_fields[i];
|
|
3549
3665
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
3550
|
-
const referencepath_fields_itemValidationError = validate$
|
|
3666
|
+
const referencepath_fields_itemValidationError = validate$N(obj_fields_item, path_fields_item);
|
|
3551
3667
|
if (referencepath_fields_itemValidationError !== null) {
|
|
3552
3668
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
3553
3669
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3572,7 +3688,7 @@ function validate$F(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3572
3688
|
if (obj.semanticDimension !== undefined) {
|
|
3573
3689
|
const obj_semanticDimension = obj.semanticDimension;
|
|
3574
3690
|
const path_semanticDimension = path + '.semanticDimension';
|
|
3575
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
3691
|
+
const referencepath_semanticDimensionValidationError = validate$U(obj_semanticDimension, path_semanticDimension);
|
|
3576
3692
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
3577
3693
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
3578
3694
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3582,7 +3698,7 @@ function validate$F(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3582
3698
|
if (obj.semanticMeasurement !== undefined) {
|
|
3583
3699
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
3584
3700
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
3585
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
3701
|
+
const referencepath_semanticMeasurementValidationError = validate$T(obj_semanticMeasurement, path_semanticMeasurement);
|
|
3586
3702
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
3587
3703
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
3588
3704
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3593,7 +3709,7 @@ function validate$F(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3593
3709
|
return v_error === undefined ? null : v_error;
|
|
3594
3710
|
}
|
|
3595
3711
|
|
|
3596
|
-
function validate$
|
|
3712
|
+
function validate$H(obj, path = 'SemanticUnionInputRepresentation') {
|
|
3597
3713
|
const v_error = (() => {
|
|
3598
3714
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3599
3715
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3628,7 +3744,7 @@ function validate$E(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3628
3744
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
3629
3745
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
3630
3746
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
3631
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
3747
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$S(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
3632
3748
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
3633
3749
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
3634
3750
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3645,7 +3761,7 @@ function validate$E(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3645
3761
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
3646
3762
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
3647
3763
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
3648
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
3764
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$I(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
3649
3765
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
3650
3766
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
3651
3767
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3657,7 +3773,7 @@ function validate$E(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3657
3773
|
return v_error === undefined ? null : v_error;
|
|
3658
3774
|
}
|
|
3659
3775
|
|
|
3660
|
-
function validate$
|
|
3776
|
+
function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
3661
3777
|
const v_error = (() => {
|
|
3662
3778
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3663
3779
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3699,7 +3815,7 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3699
3815
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3700
3816
|
const obj_filters_item = obj_filters[i];
|
|
3701
3817
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3702
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3818
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
3703
3819
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3704
3820
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3705
3821
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3723,7 +3839,7 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3723
3839
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
3724
3840
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
3725
3841
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
3726
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
3842
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$S(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
3727
3843
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
3728
3844
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
3729
3845
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3740,7 +3856,7 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3740
3856
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
3741
3857
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
3742
3858
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
3743
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
3859
|
+
const referencepath_semanticRelationships_itemValidationError = validate$J(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
3744
3860
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
3745
3861
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
3746
3862
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3757,7 +3873,7 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3757
3873
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
3758
3874
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
3759
3875
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
3760
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
3876
|
+
const referencepath_semanticUnions_itemValidationError = validate$H(obj_semanticUnions_item, path_semanticUnions_item);
|
|
3761
3877
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
3762
3878
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
3763
3879
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3765,11 +3881,18 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3765
3881
|
}
|
|
3766
3882
|
}
|
|
3767
3883
|
}
|
|
3884
|
+
if (obj.tableType !== undefined) {
|
|
3885
|
+
const obj_tableType = obj.tableType;
|
|
3886
|
+
const path_tableType = path + '.tableType';
|
|
3887
|
+
if (typeof obj_tableType !== 'string') {
|
|
3888
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
3889
|
+
}
|
|
3890
|
+
}
|
|
3768
3891
|
})();
|
|
3769
3892
|
return v_error === undefined ? null : v_error;
|
|
3770
3893
|
}
|
|
3771
3894
|
|
|
3772
|
-
function validate$
|
|
3895
|
+
function validate$F(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
3773
3896
|
const v_error = (() => {
|
|
3774
3897
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3775
3898
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3777,7 +3900,7 @@ function validate$C(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3777
3900
|
if (obj.identifierDimensionReference !== undefined) {
|
|
3778
3901
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
3779
3902
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
3780
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
3903
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$M(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
3781
3904
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
3782
3905
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
3783
3906
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3787,7 +3910,7 @@ function validate$C(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3787
3910
|
if (obj.namingDimensionReference !== undefined) {
|
|
3788
3911
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
3789
3912
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
3790
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
3913
|
+
const referencepath_namingDimensionReferenceValidationError = validate$M(obj_namingDimensionReference, path_namingDimensionReference);
|
|
3791
3914
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
3792
3915
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
3793
3916
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3798,7 +3921,7 @@ function validate$C(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3798
3921
|
return v_error === undefined ? null : v_error;
|
|
3799
3922
|
}
|
|
3800
3923
|
|
|
3801
|
-
function validate$
|
|
3924
|
+
function validate$E(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
3802
3925
|
const v_error = (() => {
|
|
3803
3926
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3804
3927
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3821,7 +3944,7 @@ function validate$B(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
3821
3944
|
return v_error === undefined ? null : v_error;
|
|
3822
3945
|
}
|
|
3823
3946
|
|
|
3824
|
-
function validate$
|
|
3947
|
+
function validate$D(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
3825
3948
|
const v_error = (() => {
|
|
3826
3949
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3827
3950
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3829,7 +3952,7 @@ function validate$A(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3829
3952
|
if (obj.identifyingDimension !== undefined) {
|
|
3830
3953
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
3831
3954
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
3832
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
3955
|
+
const referencepath_identifyingDimensionValidationError = validate$F(obj_identifyingDimension, path_identifyingDimension);
|
|
3833
3956
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
3834
3957
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
3835
3958
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3845,7 +3968,7 @@ function validate$A(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3845
3968
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
3846
3969
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
3847
3970
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
3848
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
3971
|
+
const referencepath_insightTypes_itemValidationError = validate$E(obj_insightTypes_item, path_insightTypes_item);
|
|
3849
3972
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
3850
3973
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
3851
3974
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3862,7 +3985,7 @@ function validate$A(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3862
3985
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
3863
3986
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
3864
3987
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
3865
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
3988
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$M(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
3866
3989
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
3867
3990
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
3868
3991
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3895,7 +4018,7 @@ function validate$A(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3895
4018
|
return v_error === undefined ? null : v_error;
|
|
3896
4019
|
}
|
|
3897
4020
|
|
|
3898
|
-
function validate$
|
|
4021
|
+
function validate$C(obj, path = 'SemanticMetricInputRepresentation') {
|
|
3899
4022
|
const v_error = (() => {
|
|
3900
4023
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3901
4024
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3909,7 +4032,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3909
4032
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
3910
4033
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
3911
4034
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
3912
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
4035
|
+
const referencepath_additionalDimensions_itemValidationError = validate$M(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
3913
4036
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
3914
4037
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
3915
4038
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3954,7 +4077,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3954
4077
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3955
4078
|
const obj_filters_item = obj_filters[i];
|
|
3956
4079
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3957
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4080
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
3958
4081
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3959
4082
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3960
4083
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3965,7 +4088,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3965
4088
|
if (obj.insightsSettings !== undefined) {
|
|
3966
4089
|
const obj_insightsSettings = obj.insightsSettings;
|
|
3967
4090
|
const path_insightsSettings = path + '.insightsSettings';
|
|
3968
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
4091
|
+
const referencepath_insightsSettingsValidationError = validate$D(obj_insightsSettings, path_insightsSettings);
|
|
3969
4092
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
3970
4093
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
3971
4094
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3989,7 +4112,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3989
4112
|
if (obj.measurementReference !== undefined) {
|
|
3990
4113
|
const obj_measurementReference = obj.measurementReference;
|
|
3991
4114
|
const path_measurementReference = path + '.measurementReference';
|
|
3992
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
4115
|
+
const referencepath_measurementReferenceValidationError = validate$M(obj_measurementReference, path_measurementReference);
|
|
3993
4116
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
3994
4117
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
3995
4118
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3999,7 +4122,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3999
4122
|
if (obj.timeDimensionReference !== undefined) {
|
|
4000
4123
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
4001
4124
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
4002
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
4125
|
+
const referencepath_timeDimensionReferenceValidationError = validate$M(obj_timeDimensionReference, path_timeDimensionReference);
|
|
4003
4126
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
4004
4127
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
4005
4128
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4024,7 +4147,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4024
4147
|
return v_error === undefined ? null : v_error;
|
|
4025
4148
|
}
|
|
4026
4149
|
|
|
4027
|
-
function validate$
|
|
4150
|
+
function validate$B(obj, path = 'SemanticParameterInputRepresentation') {
|
|
4028
4151
|
const v_error = (() => {
|
|
4029
4152
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4030
4153
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4124,7 +4247,346 @@ function validate$y(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
4124
4247
|
return v_error === undefined ? null : v_error;
|
|
4125
4248
|
}
|
|
4126
4249
|
|
|
4127
|
-
const VERSION$
|
|
4250
|
+
const VERSION$q = "221b0931360d7fcb0a1402b0b82071bd";
|
|
4251
|
+
function validate$A(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation') {
|
|
4252
|
+
const v_error = (() => {
|
|
4253
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4254
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4255
|
+
}
|
|
4256
|
+
const obj_dataSourceId = obj.dataSourceId;
|
|
4257
|
+
const path_dataSourceId = path + '.dataSourceId';
|
|
4258
|
+
if (typeof obj_dataSourceId !== 'string') {
|
|
4259
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataSourceId + '" (at "' + path_dataSourceId + '")');
|
|
4260
|
+
}
|
|
4261
|
+
const obj_siteId = obj.siteId;
|
|
4262
|
+
const path_siteId = path + '.siteId';
|
|
4263
|
+
if (typeof obj_siteId !== 'string') {
|
|
4264
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteId + '" (at "' + path_siteId + '")');
|
|
4265
|
+
}
|
|
4266
|
+
const obj_siteName = obj.siteName;
|
|
4267
|
+
const path_siteName = path + '.siteName';
|
|
4268
|
+
if (typeof obj_siteName !== 'string') {
|
|
4269
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteName + '" (at "' + path_siteName + '")');
|
|
4270
|
+
}
|
|
4271
|
+
const obj_siteUrl = obj.siteUrl;
|
|
4272
|
+
const path_siteUrl = path + '.siteUrl';
|
|
4273
|
+
if (typeof obj_siteUrl !== 'string') {
|
|
4274
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteUrl + '" (at "' + path_siteUrl + '")');
|
|
4275
|
+
}
|
|
4276
|
+
})();
|
|
4277
|
+
return v_error === undefined ? null : v_error;
|
|
4278
|
+
}
|
|
4279
|
+
const select$F = function SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentationSelect() {
|
|
4280
|
+
return {
|
|
4281
|
+
kind: 'Fragment',
|
|
4282
|
+
version: VERSION$q,
|
|
4283
|
+
private: [],
|
|
4284
|
+
selections: [
|
|
4285
|
+
{
|
|
4286
|
+
name: 'dataSourceId',
|
|
4287
|
+
kind: 'Scalar'
|
|
4288
|
+
},
|
|
4289
|
+
{
|
|
4290
|
+
name: 'siteId',
|
|
4291
|
+
kind: 'Scalar'
|
|
4292
|
+
},
|
|
4293
|
+
{
|
|
4294
|
+
name: 'siteName',
|
|
4295
|
+
kind: 'Scalar'
|
|
4296
|
+
},
|
|
4297
|
+
{
|
|
4298
|
+
name: 'siteUrl',
|
|
4299
|
+
kind: 'Scalar'
|
|
4300
|
+
}
|
|
4301
|
+
]
|
|
4302
|
+
};
|
|
4303
|
+
};
|
|
4304
|
+
function equals$q(existing, incoming) {
|
|
4305
|
+
const existing_dataSourceId = existing.dataSourceId;
|
|
4306
|
+
const incoming_dataSourceId = incoming.dataSourceId;
|
|
4307
|
+
if (!(existing_dataSourceId === incoming_dataSourceId)) {
|
|
4308
|
+
return false;
|
|
4309
|
+
}
|
|
4310
|
+
const existing_siteId = existing.siteId;
|
|
4311
|
+
const incoming_siteId = incoming.siteId;
|
|
4312
|
+
if (!(existing_siteId === incoming_siteId)) {
|
|
4313
|
+
return false;
|
|
4314
|
+
}
|
|
4315
|
+
const existing_siteName = existing.siteName;
|
|
4316
|
+
const incoming_siteName = incoming.siteName;
|
|
4317
|
+
if (!(existing_siteName === incoming_siteName)) {
|
|
4318
|
+
return false;
|
|
4319
|
+
}
|
|
4320
|
+
const existing_siteUrl = existing.siteUrl;
|
|
4321
|
+
const incoming_siteUrl = incoming.siteUrl;
|
|
4322
|
+
if (!(existing_siteUrl === incoming_siteUrl)) {
|
|
4323
|
+
return false;
|
|
4324
|
+
}
|
|
4325
|
+
return true;
|
|
4326
|
+
}
|
|
4327
|
+
|
|
4328
|
+
const VERSION$p = "e760a2becca995f7bd15e714d50c088c";
|
|
4329
|
+
function validate$z(obj, path = 'SemanticModelExternalConnectionOutputRepresentation') {
|
|
4330
|
+
const v_error = (() => {
|
|
4331
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4332
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4333
|
+
}
|
|
4334
|
+
const obj_apiName = obj.apiName;
|
|
4335
|
+
const path_apiName = path + '.apiName';
|
|
4336
|
+
if (typeof obj_apiName !== 'string') {
|
|
4337
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
4338
|
+
}
|
|
4339
|
+
if (obj.baseModelApiName !== undefined) {
|
|
4340
|
+
const obj_baseModelApiName = obj.baseModelApiName;
|
|
4341
|
+
const path_baseModelApiName = path + '.baseModelApiName';
|
|
4342
|
+
if (typeof obj_baseModelApiName !== 'string') {
|
|
4343
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
4344
|
+
}
|
|
4345
|
+
}
|
|
4346
|
+
const obj_id = obj.id;
|
|
4347
|
+
const path_id = path + '.id';
|
|
4348
|
+
if (typeof obj_id !== 'string') {
|
|
4349
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
4350
|
+
}
|
|
4351
|
+
if (obj.label !== undefined) {
|
|
4352
|
+
const obj_label = obj.label;
|
|
4353
|
+
const path_label = path + '.label';
|
|
4354
|
+
if (typeof obj_label !== 'string') {
|
|
4355
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
4356
|
+
}
|
|
4357
|
+
}
|
|
4358
|
+
if (obj.tableauPublishedDataSource !== undefined) {
|
|
4359
|
+
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
4360
|
+
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
4361
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$A(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
4362
|
+
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
4363
|
+
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
4364
|
+
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4365
|
+
return new TypeError(message);
|
|
4366
|
+
}
|
|
4367
|
+
}
|
|
4368
|
+
const obj_type = obj.type;
|
|
4369
|
+
const path_type = path + '.type';
|
|
4370
|
+
if (typeof obj_type !== 'string') {
|
|
4371
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
4372
|
+
}
|
|
4373
|
+
})();
|
|
4374
|
+
return v_error === undefined ? null : v_error;
|
|
4375
|
+
}
|
|
4376
|
+
const select$E = function SemanticModelExternalConnectionOutputRepresentationSelect() {
|
|
4377
|
+
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$F();
|
|
4378
|
+
return {
|
|
4379
|
+
kind: 'Fragment',
|
|
4380
|
+
version: VERSION$p,
|
|
4381
|
+
private: [],
|
|
4382
|
+
selections: [
|
|
4383
|
+
{
|
|
4384
|
+
name: 'apiName',
|
|
4385
|
+
kind: 'Scalar'
|
|
4386
|
+
},
|
|
4387
|
+
{
|
|
4388
|
+
name: 'baseModelApiName',
|
|
4389
|
+
kind: 'Scalar',
|
|
4390
|
+
required: false
|
|
4391
|
+
},
|
|
4392
|
+
{
|
|
4393
|
+
name: 'id',
|
|
4394
|
+
kind: 'Scalar'
|
|
4395
|
+
},
|
|
4396
|
+
{
|
|
4397
|
+
name: 'label',
|
|
4398
|
+
kind: 'Scalar',
|
|
4399
|
+
required: false
|
|
4400
|
+
},
|
|
4401
|
+
{
|
|
4402
|
+
name: 'tableauPublishedDataSource',
|
|
4403
|
+
kind: 'Object',
|
|
4404
|
+
selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections,
|
|
4405
|
+
required: false
|
|
4406
|
+
},
|
|
4407
|
+
{
|
|
4408
|
+
name: 'type',
|
|
4409
|
+
kind: 'Scalar'
|
|
4410
|
+
}
|
|
4411
|
+
]
|
|
4412
|
+
};
|
|
4413
|
+
};
|
|
4414
|
+
function equals$p(existing, incoming) {
|
|
4415
|
+
const existing_apiName = existing.apiName;
|
|
4416
|
+
const incoming_apiName = incoming.apiName;
|
|
4417
|
+
if (!(existing_apiName === incoming_apiName)) {
|
|
4418
|
+
return false;
|
|
4419
|
+
}
|
|
4420
|
+
const existing_baseModelApiName = existing.baseModelApiName;
|
|
4421
|
+
const incoming_baseModelApiName = incoming.baseModelApiName;
|
|
4422
|
+
// if at least one of these optionals is defined
|
|
4423
|
+
if (existing_baseModelApiName !== undefined || incoming_baseModelApiName !== undefined) {
|
|
4424
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4425
|
+
// not equal
|
|
4426
|
+
if (existing_baseModelApiName === undefined || incoming_baseModelApiName === undefined) {
|
|
4427
|
+
return false;
|
|
4428
|
+
}
|
|
4429
|
+
if (!(existing_baseModelApiName === incoming_baseModelApiName)) {
|
|
4430
|
+
return false;
|
|
4431
|
+
}
|
|
4432
|
+
}
|
|
4433
|
+
const existing_id = existing.id;
|
|
4434
|
+
const incoming_id = incoming.id;
|
|
4435
|
+
if (!(existing_id === incoming_id)) {
|
|
4436
|
+
return false;
|
|
4437
|
+
}
|
|
4438
|
+
const existing_label = existing.label;
|
|
4439
|
+
const incoming_label = incoming.label;
|
|
4440
|
+
// if at least one of these optionals is defined
|
|
4441
|
+
if (existing_label !== undefined || incoming_label !== undefined) {
|
|
4442
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4443
|
+
// not equal
|
|
4444
|
+
if (existing_label === undefined || incoming_label === undefined) {
|
|
4445
|
+
return false;
|
|
4446
|
+
}
|
|
4447
|
+
if (!(existing_label === incoming_label)) {
|
|
4448
|
+
return false;
|
|
4449
|
+
}
|
|
4450
|
+
}
|
|
4451
|
+
const existing_type = existing.type;
|
|
4452
|
+
const incoming_type = incoming.type;
|
|
4453
|
+
if (!(existing_type === incoming_type)) {
|
|
4454
|
+
return false;
|
|
4455
|
+
}
|
|
4456
|
+
const existing_tableauPublishedDataSource = existing.tableauPublishedDataSource;
|
|
4457
|
+
const incoming_tableauPublishedDataSource = incoming.tableauPublishedDataSource;
|
|
4458
|
+
// if at least one of these optionals is defined
|
|
4459
|
+
if (existing_tableauPublishedDataSource !== undefined || incoming_tableauPublishedDataSource !== undefined) {
|
|
4460
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4461
|
+
// not equal
|
|
4462
|
+
if (existing_tableauPublishedDataSource === undefined || incoming_tableauPublishedDataSource === undefined) {
|
|
4463
|
+
return false;
|
|
4464
|
+
}
|
|
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)) {
|
|
4573
|
+
return false;
|
|
4574
|
+
}
|
|
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
|
+
}
|
|
4586
|
+
return true;
|
|
4587
|
+
}
|
|
4588
|
+
|
|
4589
|
+
const VERSION$n = "8e79a20925f9ec85025ffe505523c74c";
|
|
4128
4590
|
function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
4129
4591
|
const v_error = (() => {
|
|
4130
4592
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4194,6 +4656,20 @@ function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4194
4656
|
return new TypeError('Expected "string" but received "' + typeof obj_expression + '" (at "' + path_expression + '")');
|
|
4195
4657
|
}
|
|
4196
4658
|
}
|
|
4659
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
4660
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
4661
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
4662
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
4663
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
4664
|
+
}
|
|
4665
|
+
}
|
|
4666
|
+
if (obj.externalStorageName !== undefined) {
|
|
4667
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
4668
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
4669
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
4670
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
4671
|
+
}
|
|
4672
|
+
}
|
|
4197
4673
|
if (obj.filterLogic !== undefined) {
|
|
4198
4674
|
const obj_filterLogic = obj.filterLogic;
|
|
4199
4675
|
const path_filterLogic = path + '.filterLogic';
|
|
@@ -4210,7 +4686,7 @@ function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4210
4686
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4211
4687
|
const obj_filters_item = obj_filters[i];
|
|
4212
4688
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4213
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4689
|
+
const referencepath_filters_itemValidationError = validate$18(obj_filters_item, path_filters_item);
|
|
4214
4690
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4215
4691
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4216
4692
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4223,6 +4699,13 @@ function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4223
4699
|
if (typeof obj_id !== 'string') {
|
|
4224
4700
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
4225
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
|
+
}
|
|
4226
4709
|
if (obj.isVisible !== undefined) {
|
|
4227
4710
|
const obj_isVisible = obj.isVisible;
|
|
4228
4711
|
const path_isVisible = path + '.isVisible';
|
|
@@ -4251,6 +4734,13 @@ function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4251
4734
|
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
4252
4735
|
}
|
|
4253
4736
|
}
|
|
4737
|
+
if (obj.level !== undefined) {
|
|
4738
|
+
const obj_level = obj.level;
|
|
4739
|
+
const path_level = path + '.level';
|
|
4740
|
+
if (typeof obj_level !== 'string') {
|
|
4741
|
+
return new TypeError('Expected "string" but received "' + typeof obj_level + '" (at "' + path_level + '")');
|
|
4742
|
+
}
|
|
4743
|
+
}
|
|
4254
4744
|
if (obj.semanticDataType !== undefined) {
|
|
4255
4745
|
const obj_semanticDataType = obj.semanticDataType;
|
|
4256
4746
|
const path_semanticDataType = path + '.semanticDataType';
|
|
@@ -4289,7 +4779,7 @@ function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
|
4289
4779
|
return input;
|
|
4290
4780
|
}
|
|
4291
4781
|
const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
4292
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
4782
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
4293
4783
|
return {
|
|
4294
4784
|
kind: 'Fragment',
|
|
4295
4785
|
version: VERSION$n,
|
|
@@ -4342,6 +4832,16 @@ const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
4342
4832
|
kind: 'Scalar',
|
|
4343
4833
|
required: false
|
|
4344
4834
|
},
|
|
4835
|
+
{
|
|
4836
|
+
name: 'externalConnectionApiName',
|
|
4837
|
+
kind: 'Scalar',
|
|
4838
|
+
required: false
|
|
4839
|
+
},
|
|
4840
|
+
{
|
|
4841
|
+
name: 'externalStorageName',
|
|
4842
|
+
kind: 'Scalar',
|
|
4843
|
+
required: false
|
|
4844
|
+
},
|
|
4345
4845
|
{
|
|
4346
4846
|
name: 'filterLogic',
|
|
4347
4847
|
kind: 'Scalar',
|
|
@@ -4358,6 +4858,11 @@ const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
4358
4858
|
name: 'id',
|
|
4359
4859
|
kind: 'Scalar'
|
|
4360
4860
|
},
|
|
4861
|
+
{
|
|
4862
|
+
name: 'isOverrideBase',
|
|
4863
|
+
kind: 'Scalar',
|
|
4864
|
+
required: false
|
|
4865
|
+
},
|
|
4361
4866
|
{
|
|
4362
4867
|
name: 'isVisible',
|
|
4363
4868
|
kind: 'Scalar',
|
|
@@ -4378,6 +4883,11 @@ const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
4378
4883
|
kind: 'Scalar',
|
|
4379
4884
|
required: false
|
|
4380
4885
|
},
|
|
4886
|
+
{
|
|
4887
|
+
name: 'level',
|
|
4888
|
+
kind: 'Scalar',
|
|
4889
|
+
required: false
|
|
4890
|
+
},
|
|
4381
4891
|
{
|
|
4382
4892
|
name: 'semanticDataType',
|
|
4383
4893
|
kind: 'Scalar',
|
|
@@ -4397,6 +4907,19 @@ const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
4397
4907
|
};
|
|
4398
4908
|
};
|
|
4399
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
|
+
}
|
|
4400
4923
|
const existing_isVisible = existing.isVisible;
|
|
4401
4924
|
const incoming_isVisible = incoming.isVisible;
|
|
4402
4925
|
// if at least one of these optionals is defined
|
|
@@ -4516,6 +5039,32 @@ function equals$n(existing, incoming) {
|
|
|
4516
5039
|
return false;
|
|
4517
5040
|
}
|
|
4518
5041
|
}
|
|
5042
|
+
const existing_externalConnectionApiName = existing.externalConnectionApiName;
|
|
5043
|
+
const incoming_externalConnectionApiName = incoming.externalConnectionApiName;
|
|
5044
|
+
// if at least one of these optionals is defined
|
|
5045
|
+
if (existing_externalConnectionApiName !== undefined || incoming_externalConnectionApiName !== undefined) {
|
|
5046
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5047
|
+
// not equal
|
|
5048
|
+
if (existing_externalConnectionApiName === undefined || incoming_externalConnectionApiName === undefined) {
|
|
5049
|
+
return false;
|
|
5050
|
+
}
|
|
5051
|
+
if (!(existing_externalConnectionApiName === incoming_externalConnectionApiName)) {
|
|
5052
|
+
return false;
|
|
5053
|
+
}
|
|
5054
|
+
}
|
|
5055
|
+
const existing_externalStorageName = existing.externalStorageName;
|
|
5056
|
+
const incoming_externalStorageName = incoming.externalStorageName;
|
|
5057
|
+
// if at least one of these optionals is defined
|
|
5058
|
+
if (existing_externalStorageName !== undefined || incoming_externalStorageName !== undefined) {
|
|
5059
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5060
|
+
// not equal
|
|
5061
|
+
if (existing_externalStorageName === undefined || incoming_externalStorageName === undefined) {
|
|
5062
|
+
return false;
|
|
5063
|
+
}
|
|
5064
|
+
if (!(existing_externalStorageName === incoming_externalStorageName)) {
|
|
5065
|
+
return false;
|
|
5066
|
+
}
|
|
5067
|
+
}
|
|
4519
5068
|
const existing_filterLogic = existing.filterLogic;
|
|
4520
5069
|
const incoming_filterLogic = incoming.filterLogic;
|
|
4521
5070
|
// if at least one of these optionals is defined
|
|
@@ -4573,6 +5122,19 @@ function equals$n(existing, incoming) {
|
|
|
4573
5122
|
return false;
|
|
4574
5123
|
}
|
|
4575
5124
|
}
|
|
5125
|
+
const existing_level = existing.level;
|
|
5126
|
+
const incoming_level = incoming.level;
|
|
5127
|
+
// if at least one of these optionals is defined
|
|
5128
|
+
if (existing_level !== undefined || incoming_level !== undefined) {
|
|
5129
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5130
|
+
// not equal
|
|
5131
|
+
if (existing_level === undefined || incoming_level === undefined) {
|
|
5132
|
+
return false;
|
|
5133
|
+
}
|
|
5134
|
+
if (!(existing_level === incoming_level)) {
|
|
5135
|
+
return false;
|
|
5136
|
+
}
|
|
5137
|
+
}
|
|
4576
5138
|
const existing_semanticDataType = existing.semanticDataType;
|
|
4577
5139
|
const incoming_semanticDataType = incoming.semanticDataType;
|
|
4578
5140
|
// if at least one of these optionals is defined
|
|
@@ -4622,7 +5184,7 @@ function equals$n(existing, incoming) {
|
|
|
4622
5184
|
return false;
|
|
4623
5185
|
}
|
|
4624
5186
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
4625
|
-
if (!(equals$
|
|
5187
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
4626
5188
|
return false;
|
|
4627
5189
|
}
|
|
4628
5190
|
});
|
|
@@ -4654,7 +5216,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4654
5216
|
});
|
|
4655
5217
|
}
|
|
4656
5218
|
|
|
4657
|
-
const VERSION$m = "
|
|
5219
|
+
const VERSION$m = "bc21c46456a2024253da5ae96ccf7dfe";
|
|
4658
5220
|
function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
4659
5221
|
const v_error = (() => {
|
|
4660
5222
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4738,6 +5300,20 @@ function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
4738
5300
|
return new TypeError('Expected "string" but received "' + typeof obj_expression + '" (at "' + path_expression + '")');
|
|
4739
5301
|
}
|
|
4740
5302
|
}
|
|
5303
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
5304
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
5305
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
5306
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
5307
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
5308
|
+
}
|
|
5309
|
+
}
|
|
5310
|
+
if (obj.externalStorageName !== undefined) {
|
|
5311
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
5312
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
5313
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
5314
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
5315
|
+
}
|
|
5316
|
+
}
|
|
4741
5317
|
if (obj.filterLogic !== undefined) {
|
|
4742
5318
|
const obj_filterLogic = obj.filterLogic;
|
|
4743
5319
|
const path_filterLogic = path + '.filterLogic';
|
|
@@ -4754,7 +5330,7 @@ function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
4754
5330
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4755
5331
|
const obj_filters_item = obj_filters[i];
|
|
4756
5332
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4757
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5333
|
+
const referencepath_filters_itemValidationError = validate$18(obj_filters_item, path_filters_item);
|
|
4758
5334
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4759
5335
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4760
5336
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4774,6 +5350,13 @@ function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
4774
5350
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isAggregatable + '" (at "' + path_isAggregatable + '")');
|
|
4775
5351
|
}
|
|
4776
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
|
+
}
|
|
4777
5360
|
if (obj.isVisible !== undefined) {
|
|
4778
5361
|
const obj_isVisible = obj.isVisible;
|
|
4779
5362
|
const path_isVisible = path + '.isVisible';
|
|
@@ -4802,6 +5385,13 @@ function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
4802
5385
|
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
4803
5386
|
}
|
|
4804
5387
|
}
|
|
5388
|
+
if (obj.level !== undefined) {
|
|
5389
|
+
const obj_level = obj.level;
|
|
5390
|
+
const path_level = path + '.level';
|
|
5391
|
+
if (typeof obj_level !== 'string') {
|
|
5392
|
+
return new TypeError('Expected "string" but received "' + typeof obj_level + '" (at "' + path_level + '")');
|
|
5393
|
+
}
|
|
5394
|
+
}
|
|
4805
5395
|
if (obj.semanticDataType !== undefined) {
|
|
4806
5396
|
const obj_semanticDataType = obj.semanticDataType;
|
|
4807
5397
|
const path_semanticDataType = path + '.semanticDataType';
|
|
@@ -4861,7 +5451,7 @@ function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
|
4861
5451
|
return input;
|
|
4862
5452
|
}
|
|
4863
5453
|
const select$B = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
4864
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
5454
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
4865
5455
|
return {
|
|
4866
5456
|
kind: 'Fragment',
|
|
4867
5457
|
version: VERSION$m,
|
|
@@ -4924,6 +5514,16 @@ const select$B = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
4924
5514
|
kind: 'Scalar',
|
|
4925
5515
|
required: false
|
|
4926
5516
|
},
|
|
5517
|
+
{
|
|
5518
|
+
name: 'externalConnectionApiName',
|
|
5519
|
+
kind: 'Scalar',
|
|
5520
|
+
required: false
|
|
5521
|
+
},
|
|
5522
|
+
{
|
|
5523
|
+
name: 'externalStorageName',
|
|
5524
|
+
kind: 'Scalar',
|
|
5525
|
+
required: false
|
|
5526
|
+
},
|
|
4927
5527
|
{
|
|
4928
5528
|
name: 'filterLogic',
|
|
4929
5529
|
kind: 'Scalar',
|
|
@@ -4945,6 +5545,11 @@ const select$B = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
4945
5545
|
kind: 'Scalar',
|
|
4946
5546
|
required: false
|
|
4947
5547
|
},
|
|
5548
|
+
{
|
|
5549
|
+
name: 'isOverrideBase',
|
|
5550
|
+
kind: 'Scalar',
|
|
5551
|
+
required: false
|
|
5552
|
+
},
|
|
4948
5553
|
{
|
|
4949
5554
|
name: 'isVisible',
|
|
4950
5555
|
kind: 'Scalar',
|
|
@@ -4965,6 +5570,11 @@ const select$B = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
4965
5570
|
kind: 'Scalar',
|
|
4966
5571
|
required: false
|
|
4967
5572
|
},
|
|
5573
|
+
{
|
|
5574
|
+
name: 'level',
|
|
5575
|
+
kind: 'Scalar',
|
|
5576
|
+
required: false
|
|
5577
|
+
},
|
|
4968
5578
|
{
|
|
4969
5579
|
name: 'semanticDataType',
|
|
4970
5580
|
kind: 'Scalar',
|
|
@@ -5012,6 +5622,19 @@ function equals$m(existing, incoming) {
|
|
|
5012
5622
|
return false;
|
|
5013
5623
|
}
|
|
5014
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
|
+
}
|
|
5015
5638
|
const existing_isVisible = existing.isVisible;
|
|
5016
5639
|
const incoming_isVisible = incoming.isVisible;
|
|
5017
5640
|
// if at least one of these optionals is defined
|
|
@@ -5170,6 +5793,32 @@ function equals$m(existing, incoming) {
|
|
|
5170
5793
|
return false;
|
|
5171
5794
|
}
|
|
5172
5795
|
}
|
|
5796
|
+
const existing_externalConnectionApiName = existing.externalConnectionApiName;
|
|
5797
|
+
const incoming_externalConnectionApiName = incoming.externalConnectionApiName;
|
|
5798
|
+
// if at least one of these optionals is defined
|
|
5799
|
+
if (existing_externalConnectionApiName !== undefined || incoming_externalConnectionApiName !== undefined) {
|
|
5800
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5801
|
+
// not equal
|
|
5802
|
+
if (existing_externalConnectionApiName === undefined || incoming_externalConnectionApiName === undefined) {
|
|
5803
|
+
return false;
|
|
5804
|
+
}
|
|
5805
|
+
if (!(existing_externalConnectionApiName === incoming_externalConnectionApiName)) {
|
|
5806
|
+
return false;
|
|
5807
|
+
}
|
|
5808
|
+
}
|
|
5809
|
+
const existing_externalStorageName = existing.externalStorageName;
|
|
5810
|
+
const incoming_externalStorageName = incoming.externalStorageName;
|
|
5811
|
+
// if at least one of these optionals is defined
|
|
5812
|
+
if (existing_externalStorageName !== undefined || incoming_externalStorageName !== undefined) {
|
|
5813
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5814
|
+
// not equal
|
|
5815
|
+
if (existing_externalStorageName === undefined || incoming_externalStorageName === undefined) {
|
|
5816
|
+
return false;
|
|
5817
|
+
}
|
|
5818
|
+
if (!(existing_externalStorageName === incoming_externalStorageName)) {
|
|
5819
|
+
return false;
|
|
5820
|
+
}
|
|
5821
|
+
}
|
|
5173
5822
|
const existing_filterLogic = existing.filterLogic;
|
|
5174
5823
|
const incoming_filterLogic = incoming.filterLogic;
|
|
5175
5824
|
// if at least one of these optionals is defined
|
|
@@ -5227,6 +5876,19 @@ function equals$m(existing, incoming) {
|
|
|
5227
5876
|
return false;
|
|
5228
5877
|
}
|
|
5229
5878
|
}
|
|
5879
|
+
const existing_level = existing.level;
|
|
5880
|
+
const incoming_level = incoming.level;
|
|
5881
|
+
// if at least one of these optionals is defined
|
|
5882
|
+
if (existing_level !== undefined || incoming_level !== undefined) {
|
|
5883
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5884
|
+
// not equal
|
|
5885
|
+
if (existing_level === undefined || incoming_level === undefined) {
|
|
5886
|
+
return false;
|
|
5887
|
+
}
|
|
5888
|
+
if (!(existing_level === incoming_level)) {
|
|
5889
|
+
return false;
|
|
5890
|
+
}
|
|
5891
|
+
}
|
|
5230
5892
|
const existing_semanticDataType = existing.semanticDataType;
|
|
5231
5893
|
const incoming_semanticDataType = incoming.semanticDataType;
|
|
5232
5894
|
// if at least one of these optionals is defined
|
|
@@ -5302,7 +5964,7 @@ function equals$m(existing, incoming) {
|
|
|
5302
5964
|
return false;
|
|
5303
5965
|
}
|
|
5304
5966
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
5305
|
-
if (!(equals$
|
|
5967
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
5306
5968
|
return false;
|
|
5307
5969
|
}
|
|
5308
5970
|
});
|
|
@@ -5403,6 +6065,13 @@ function validate$v(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
5403
6065
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
5404
6066
|
}
|
|
5405
6067
|
}
|
|
6068
|
+
if (obj.externalStorageName !== undefined) {
|
|
6069
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
6070
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
6071
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
6072
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
6073
|
+
}
|
|
6074
|
+
}
|
|
5406
6075
|
const obj_id = obj.id;
|
|
5407
6076
|
const path_id = path + '.id';
|
|
5408
6077
|
if (typeof obj_id !== 'string') {
|
|
@@ -5471,6 +6140,13 @@ function validate$v(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
5471
6140
|
return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
|
|
5472
6141
|
}
|
|
5473
6142
|
}
|
|
6143
|
+
if (obj.storageDataType !== undefined) {
|
|
6144
|
+
const obj_storageDataType = obj.storageDataType;
|
|
6145
|
+
const path_storageDataType = path + '.storageDataType';
|
|
6146
|
+
if (typeof obj_storageDataType !== 'string') {
|
|
6147
|
+
return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
|
|
6148
|
+
}
|
|
6149
|
+
}
|
|
5474
6150
|
})();
|
|
5475
6151
|
return v_error === undefined ? null : v_error;
|
|
5476
6152
|
}
|
|
@@ -5558,6 +6234,13 @@ function validate$u(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
5558
6234
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
5559
6235
|
}
|
|
5560
6236
|
}
|
|
6237
|
+
if (obj.externalStorageName !== undefined) {
|
|
6238
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
6239
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
6240
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
6241
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
6242
|
+
}
|
|
6243
|
+
}
|
|
5561
6244
|
const obj_id = obj.id;
|
|
5562
6245
|
const path_id = path + '.id';
|
|
5563
6246
|
if (typeof obj_id !== 'string') {
|
|
@@ -5647,11 +6330,18 @@ function validate$u(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
5647
6330
|
return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
|
|
5648
6331
|
}
|
|
5649
6332
|
}
|
|
6333
|
+
if (obj.storageDataType !== undefined) {
|
|
6334
|
+
const obj_storageDataType = obj.storageDataType;
|
|
6335
|
+
const path_storageDataType = path + '.storageDataType';
|
|
6336
|
+
if (typeof obj_storageDataType !== 'string') {
|
|
6337
|
+
return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
|
|
6338
|
+
}
|
|
6339
|
+
}
|
|
5650
6340
|
})();
|
|
5651
6341
|
return v_error === undefined ? null : v_error;
|
|
5652
6342
|
}
|
|
5653
6343
|
|
|
5654
|
-
const VERSION$l = "
|
|
6344
|
+
const VERSION$l = "bfd1e674b4ba4471bf20fd29dda1f7e7";
|
|
5655
6345
|
function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
5656
6346
|
const v_error = (() => {
|
|
5657
6347
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5707,6 +6397,13 @@ function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5707
6397
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
5708
6398
|
}
|
|
5709
6399
|
}
|
|
6400
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
6401
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
6402
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
6403
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
6404
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
6405
|
+
}
|
|
6406
|
+
}
|
|
5710
6407
|
if (obj.filterLogic !== undefined) {
|
|
5711
6408
|
const obj_filterLogic = obj.filterLogic;
|
|
5712
6409
|
const path_filterLogic = path + '.filterLogic';
|
|
@@ -5723,7 +6420,7 @@ function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5723
6420
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5724
6421
|
const obj_filters_item = obj_filters[i];
|
|
5725
6422
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5726
|
-
const referencepath_filters_itemValidationError = validate$
|
|
6423
|
+
const referencepath_filters_itemValidationError = validate$18(obj_filters_item, path_filters_item);
|
|
5727
6424
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5728
6425
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5729
6426
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5819,6 +6516,13 @@ function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5819
6516
|
return new TypeError('Expected "boolean" but received "' + typeof obj_shouldIncludeAllFields + '" (at "' + path_shouldIncludeAllFields + '")');
|
|
5820
6517
|
}
|
|
5821
6518
|
}
|
|
6519
|
+
if (obj.tableType !== undefined) {
|
|
6520
|
+
const obj_tableType = obj.tableType;
|
|
6521
|
+
const path_tableType = path + '.tableType';
|
|
6522
|
+
if (typeof obj_tableType !== 'string') {
|
|
6523
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
6524
|
+
}
|
|
6525
|
+
}
|
|
5822
6526
|
})();
|
|
5823
6527
|
return v_error === undefined ? null : v_error;
|
|
5824
6528
|
}
|
|
@@ -6201,7 +6905,7 @@ function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
6201
6905
|
}
|
|
6202
6906
|
const obj_fieldReference = obj.fieldReference;
|
|
6203
6907
|
const path_fieldReference = path + '.fieldReference';
|
|
6204
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
6908
|
+
const referencepath_fieldReferenceValidationError = validate$19(obj_fieldReference, path_fieldReference);
|
|
6205
6909
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
6206
6910
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
6207
6911
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6256,7 +6960,7 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
|
6256
6960
|
}
|
|
6257
6961
|
const select$v = function SemanticGroupingOutputRepresentationSelect() {
|
|
6258
6962
|
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$w();
|
|
6259
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
6963
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$R();
|
|
6260
6964
|
return {
|
|
6261
6965
|
kind: 'Fragment',
|
|
6262
6966
|
version: VERSION$g,
|
|
@@ -6436,7 +7140,7 @@ function equals$g(existing, incoming) {
|
|
|
6436
7140
|
}
|
|
6437
7141
|
const existing_fieldReference = existing.fieldReference;
|
|
6438
7142
|
const incoming_fieldReference = incoming.fieldReference;
|
|
6439
|
-
if (!(equals$
|
|
7143
|
+
if (!(equals$A(existing_fieldReference, incoming_fieldReference))) {
|
|
6440
7144
|
return false;
|
|
6441
7145
|
}
|
|
6442
7146
|
return true;
|
|
@@ -7116,7 +7820,7 @@ function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
7116
7820
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
7117
7821
|
const obj_fields_item = obj_fields[i];
|
|
7118
7822
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
7119
|
-
const referencepath_fields_itemValidationError = validate$
|
|
7823
|
+
const referencepath_fields_itemValidationError = validate$1a(obj_fields_item, path_fields_item);
|
|
7120
7824
|
if (referencepath_fields_itemValidationError !== null) {
|
|
7121
7825
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
7122
7826
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7663,7 +8367,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7663
8367
|
}
|
|
7664
8368
|
}
|
|
7665
8369
|
|
|
7666
|
-
const VERSION$b = "
|
|
8370
|
+
const VERSION$b = "a07c1d2e7b0cc8a4933ca0e63af3ff50";
|
|
7667
8371
|
function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
7668
8372
|
const v_error = (() => {
|
|
7669
8373
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -7728,7 +8432,7 @@ function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7728
8432
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7729
8433
|
const obj_filters_item = obj_filters[i];
|
|
7730
8434
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7731
|
-
const referencepath_filters_itemValidationError = validate$
|
|
8435
|
+
const referencepath_filters_itemValidationError = validate$18(obj_filters_item, path_filters_item);
|
|
7732
8436
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7733
8437
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7734
8438
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7811,6 +8515,13 @@ function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7811
8515
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticViewTypeEnum + '" (at "' + path_semanticViewTypeEnum + '")');
|
|
7812
8516
|
}
|
|
7813
8517
|
}
|
|
8518
|
+
if (obj.tableType !== undefined) {
|
|
8519
|
+
const obj_tableType = obj.tableType;
|
|
8520
|
+
const path_tableType = path + '.tableType';
|
|
8521
|
+
if (typeof obj_tableType !== 'string') {
|
|
8522
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
8523
|
+
}
|
|
8524
|
+
}
|
|
7814
8525
|
})();
|
|
7815
8526
|
return v_error === undefined ? null : v_error;
|
|
7816
8527
|
}
|
|
@@ -7882,7 +8593,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
7882
8593
|
return input;
|
|
7883
8594
|
}
|
|
7884
8595
|
const select$q = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
7885
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
8596
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
7886
8597
|
return {
|
|
7887
8598
|
kind: 'Fragment',
|
|
7888
8599
|
version: VERSION$b,
|
|
@@ -7976,6 +8687,11 @@ const select$q = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7976
8687
|
name: 'semanticViewTypeEnum',
|
|
7977
8688
|
kind: 'Scalar',
|
|
7978
8689
|
required: false
|
|
8690
|
+
},
|
|
8691
|
+
{
|
|
8692
|
+
name: 'tableType',
|
|
8693
|
+
kind: 'Scalar',
|
|
8694
|
+
required: false
|
|
7979
8695
|
}
|
|
7980
8696
|
]
|
|
7981
8697
|
};
|
|
@@ -8118,6 +8834,19 @@ function equals$b(existing, incoming) {
|
|
|
8118
8834
|
return false;
|
|
8119
8835
|
}
|
|
8120
8836
|
}
|
|
8837
|
+
const existing_tableType = existing.tableType;
|
|
8838
|
+
const incoming_tableType = incoming.tableType;
|
|
8839
|
+
// if at least one of these optionals is defined
|
|
8840
|
+
if (existing_tableType !== undefined || incoming_tableType !== undefined) {
|
|
8841
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8842
|
+
// not equal
|
|
8843
|
+
if (existing_tableType === undefined || incoming_tableType === undefined) {
|
|
8844
|
+
return false;
|
|
8845
|
+
}
|
|
8846
|
+
if (!(existing_tableType === incoming_tableType)) {
|
|
8847
|
+
return false;
|
|
8848
|
+
}
|
|
8849
|
+
}
|
|
8121
8850
|
const existing_filters = existing.filters;
|
|
8122
8851
|
const incoming_filters = incoming.filters;
|
|
8123
8852
|
// if at least one of these optionals is defined
|
|
@@ -8128,7 +8857,7 @@ function equals$b(existing, incoming) {
|
|
|
8128
8857
|
return false;
|
|
8129
8858
|
}
|
|
8130
8859
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
8131
|
-
if (!(equals$
|
|
8860
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
8132
8861
|
return false;
|
|
8133
8862
|
}
|
|
8134
8863
|
});
|
|
@@ -8797,7 +9526,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8797
9526
|
});
|
|
8798
9527
|
}
|
|
8799
9528
|
|
|
8800
|
-
const VERSION$8 = "
|
|
9529
|
+
const VERSION$8 = "384950eda90c1492434fc4519368df85";
|
|
8801
9530
|
function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
8802
9531
|
const v_error = (() => {
|
|
8803
9532
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8831,7 +9560,7 @@ function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8831
9560
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
8832
9561
|
const obj_baseModels_item = obj_baseModels[i];
|
|
8833
9562
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
8834
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
9563
|
+
const referencepath_baseModels_itemValidationError = validate$12(obj_baseModels_item, path_baseModels_item);
|
|
8835
9564
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
8836
9565
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
8837
9566
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8882,6 +9611,40 @@ function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8882
9611
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
8883
9612
|
}
|
|
8884
9613
|
}
|
|
9614
|
+
if (obj.externalConnections !== undefined) {
|
|
9615
|
+
const obj_externalConnections = obj.externalConnections;
|
|
9616
|
+
const path_externalConnections = path + '.externalConnections';
|
|
9617
|
+
if (!ArrayIsArray(obj_externalConnections)) {
|
|
9618
|
+
return new TypeError('Expected "array" but received "' + typeof obj_externalConnections + '" (at "' + path_externalConnections + '")');
|
|
9619
|
+
}
|
|
9620
|
+
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
9621
|
+
const obj_externalConnections_item = obj_externalConnections[i];
|
|
9622
|
+
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
9623
|
+
const referencepath_externalConnections_itemValidationError = validate$z(obj_externalConnections_item, path_externalConnections_item);
|
|
9624
|
+
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
9625
|
+
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
9626
|
+
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
9627
|
+
return new TypeError(message);
|
|
9628
|
+
}
|
|
9629
|
+
}
|
|
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
|
+
}
|
|
8885
9648
|
const obj_id = obj.id;
|
|
8886
9649
|
const path_id = path + '.id';
|
|
8887
9650
|
if (typeof obj_id !== 'string') {
|
|
@@ -9272,7 +10035,9 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
9272
10035
|
return input;
|
|
9273
10036
|
}
|
|
9274
10037
|
const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
9275
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__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();
|
|
9276
10041
|
return {
|
|
9277
10042
|
kind: 'Fragment',
|
|
9278
10043
|
version: VERSION$8,
|
|
@@ -9327,6 +10092,20 @@ const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
|
9327
10092
|
kind: 'Scalar',
|
|
9328
10093
|
required: false
|
|
9329
10094
|
},
|
|
10095
|
+
{
|
|
10096
|
+
name: 'externalConnections',
|
|
10097
|
+
kind: 'Object',
|
|
10098
|
+
plural: true,
|
|
10099
|
+
selections: SemanticModelExternalConnectionOutputRepresentation__selections,
|
|
10100
|
+
required: false
|
|
10101
|
+
},
|
|
10102
|
+
{
|
|
10103
|
+
name: 'fieldsOverrides',
|
|
10104
|
+
kind: 'Object',
|
|
10105
|
+
plural: true,
|
|
10106
|
+
selections: SemanticOverrideOutputRepresentation__selections,
|
|
10107
|
+
required: false
|
|
10108
|
+
},
|
|
9330
10109
|
{
|
|
9331
10110
|
name: 'id',
|
|
9332
10111
|
kind: 'Scalar'
|
|
@@ -9416,7 +10195,7 @@ const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
|
9416
10195
|
kind: 'Link',
|
|
9417
10196
|
plural: true,
|
|
9418
10197
|
required: false,
|
|
9419
|
-
fragment: select$
|
|
10198
|
+
fragment: select$M()
|
|
9420
10199
|
},
|
|
9421
10200
|
{
|
|
9422
10201
|
name: 'semanticParameters',
|
|
@@ -9699,7 +10478,7 @@ function equals$8(existing, incoming) {
|
|
|
9699
10478
|
return false;
|
|
9700
10479
|
}
|
|
9701
10480
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
9702
|
-
if (!(equals$
|
|
10481
|
+
if (!(equals$t(existing_baseModels_item, incoming_baseModels_item))) {
|
|
9703
10482
|
return false;
|
|
9704
10483
|
}
|
|
9705
10484
|
});
|
|
@@ -9725,6 +10504,42 @@ function equals$8(existing, incoming) {
|
|
|
9725
10504
|
return false;
|
|
9726
10505
|
}
|
|
9727
10506
|
}
|
|
10507
|
+
const existing_externalConnections = existing.externalConnections;
|
|
10508
|
+
const incoming_externalConnections = incoming.externalConnections;
|
|
10509
|
+
// if at least one of these optionals is defined
|
|
10510
|
+
if (existing_externalConnections !== undefined || incoming_externalConnections !== undefined) {
|
|
10511
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10512
|
+
// not equal
|
|
10513
|
+
if (existing_externalConnections === undefined || incoming_externalConnections === undefined) {
|
|
10514
|
+
return false;
|
|
10515
|
+
}
|
|
10516
|
+
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
10517
|
+
if (!(equals$p(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
10518
|
+
return false;
|
|
10519
|
+
}
|
|
10520
|
+
});
|
|
10521
|
+
if (equals_externalConnections_items === false) {
|
|
10522
|
+
return false;
|
|
10523
|
+
}
|
|
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
|
+
}
|
|
9728
10543
|
const existing_semanticCalculatedDimensions = existing.semanticCalculatedDimensions;
|
|
9729
10544
|
const incoming_semanticCalculatedDimensions = incoming.semanticCalculatedDimensions;
|
|
9730
10545
|
// if at least one of these optionals is defined
|
|
@@ -10003,6 +10818,8 @@ const createSemanticModel_ConfigPropertyMetadata = [
|
|
|
10003
10818
|
generateParamConfigMetadata('sourceCreation', false, 2 /* Body */, 0 /* String */),
|
|
10004
10819
|
generateParamConfigMetadata('sourceCreationName', false, 2 /* Body */, 0 /* String */),
|
|
10005
10820
|
generateParamConfigMetadata('baseModels', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10821
|
+
generateParamConfigMetadata('externalConnections', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10822
|
+
generateParamConfigMetadata('fieldsOverrides', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10006
10823
|
generateParamConfigMetadata('semanticCalculatedDimensions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10007
10824
|
generateParamConfigMetadata('semanticCalculatedMeasurements', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10008
10825
|
generateParamConfigMetadata('semanticDataObjects', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -10022,19 +10839,43 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10022
10839
|
const untrustedConfig_baseModels_array = [];
|
|
10023
10840
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
10024
10841
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
10025
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
10842
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
|
|
10026
10843
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
10027
10844
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
10028
10845
|
}
|
|
10029
10846
|
}
|
|
10030
10847
|
config.baseModels = untrustedConfig_baseModels_array;
|
|
10031
10848
|
}
|
|
10849
|
+
const untrustedConfig_externalConnections = untrustedConfig.externalConnections;
|
|
10850
|
+
if (ArrayIsArray$1(untrustedConfig_externalConnections)) {
|
|
10851
|
+
const untrustedConfig_externalConnections_array = [];
|
|
10852
|
+
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
10853
|
+
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
10854
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$Z(untrustedConfig_externalConnections_item);
|
|
10855
|
+
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
10856
|
+
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
10857
|
+
}
|
|
10858
|
+
}
|
|
10859
|
+
config.externalConnections = untrustedConfig_externalConnections_array;
|
|
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
|
+
}
|
|
10032
10873
|
const untrustedConfig_semanticCalculatedDimensions = untrustedConfig.semanticCalculatedDimensions;
|
|
10033
10874
|
if (ArrayIsArray$1(untrustedConfig_semanticCalculatedDimensions)) {
|
|
10034
10875
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10035
10876
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10036
10877
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10037
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
10878
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$W(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10038
10879
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10039
10880
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10040
10881
|
}
|
|
@@ -10046,7 +10887,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10046
10887
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10047
10888
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10048
10889
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10049
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
10890
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10050
10891
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10051
10892
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10052
10893
|
}
|
|
@@ -10058,7 +10899,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10058
10899
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10059
10900
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
10060
10901
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
10061
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10902
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$S(untrustedConfig_semanticDataObjects_item);
|
|
10062
10903
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
10063
10904
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
10064
10905
|
}
|
|
@@ -10070,7 +10911,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10070
10911
|
const untrustedConfig_semanticGroupings_array = [];
|
|
10071
10912
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
10072
10913
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
10073
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10914
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$L(untrustedConfig_semanticGroupings_item);
|
|
10074
10915
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
10075
10916
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
10076
10917
|
}
|
|
@@ -10082,7 +10923,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10082
10923
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
10083
10924
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
10084
10925
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
10085
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10926
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$G(untrustedConfig_semanticLogicalViews_item);
|
|
10086
10927
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
10087
10928
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
10088
10929
|
}
|
|
@@ -10094,7 +10935,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10094
10935
|
const untrustedConfig_semanticMetrics_array = [];
|
|
10095
10936
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
10096
10937
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
10097
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10938
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$C(untrustedConfig_semanticMetrics_item);
|
|
10098
10939
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
10099
10940
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
10100
10941
|
}
|
|
@@ -10106,7 +10947,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10106
10947
|
const untrustedConfig_semanticParameters_array = [];
|
|
10107
10948
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
10108
10949
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
10109
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10950
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$B(untrustedConfig_semanticParameters_item);
|
|
10110
10951
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
10111
10952
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
10112
10953
|
}
|
|
@@ -10118,7 +10959,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10118
10959
|
const untrustedConfig_semanticRelationships_array = [];
|
|
10119
10960
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
10120
10961
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
10121
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10962
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$J(untrustedConfig_semanticRelationships_item);
|
|
10122
10963
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
10123
10964
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
10124
10965
|
}
|
|
@@ -10356,6 +11197,8 @@ const patchSemanticModel_ConfigPropertyMetadata = [
|
|
|
10356
11197
|
generateParamConfigMetadata('sourceCreation', false, 2 /* Body */, 0 /* String */),
|
|
10357
11198
|
generateParamConfigMetadata('sourceCreationName', false, 2 /* Body */, 0 /* String */),
|
|
10358
11199
|
generateParamConfigMetadata('baseModels', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11200
|
+
generateParamConfigMetadata('externalConnections', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11201
|
+
generateParamConfigMetadata('fieldsOverrides', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10359
11202
|
generateParamConfigMetadata('semanticCalculatedDimensions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10360
11203
|
generateParamConfigMetadata('semanticCalculatedMeasurements', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10361
11204
|
generateParamConfigMetadata('semanticDataObjects', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -10375,19 +11218,43 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10375
11218
|
const untrustedConfig_baseModels_array = [];
|
|
10376
11219
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
10377
11220
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
10378
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
11221
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
|
|
10379
11222
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
10380
11223
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
10381
11224
|
}
|
|
10382
11225
|
}
|
|
10383
11226
|
config.baseModels = untrustedConfig_baseModels_array;
|
|
10384
11227
|
}
|
|
11228
|
+
const untrustedConfig_externalConnections = untrustedConfig.externalConnections;
|
|
11229
|
+
if (ArrayIsArray$1(untrustedConfig_externalConnections)) {
|
|
11230
|
+
const untrustedConfig_externalConnections_array = [];
|
|
11231
|
+
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
11232
|
+
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
11233
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$Z(untrustedConfig_externalConnections_item);
|
|
11234
|
+
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
11235
|
+
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
11236
|
+
}
|
|
11237
|
+
}
|
|
11238
|
+
config.externalConnections = untrustedConfig_externalConnections_array;
|
|
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
|
+
}
|
|
10385
11252
|
const untrustedConfig_semanticCalculatedDimensions = untrustedConfig.semanticCalculatedDimensions;
|
|
10386
11253
|
if (ArrayIsArray$1(untrustedConfig_semanticCalculatedDimensions)) {
|
|
10387
11254
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10388
11255
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10389
11256
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10390
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
11257
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$W(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10391
11258
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10392
11259
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10393
11260
|
}
|
|
@@ -10399,7 +11266,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10399
11266
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10400
11267
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10401
11268
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10402
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
11269
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10403
11270
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10404
11271
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10405
11272
|
}
|
|
@@ -10411,7 +11278,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10411
11278
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10412
11279
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
10413
11280
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
10414
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
11281
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$S(untrustedConfig_semanticDataObjects_item);
|
|
10415
11282
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
10416
11283
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
10417
11284
|
}
|
|
@@ -10423,7 +11290,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10423
11290
|
const untrustedConfig_semanticGroupings_array = [];
|
|
10424
11291
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
10425
11292
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
10426
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
11293
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$L(untrustedConfig_semanticGroupings_item);
|
|
10427
11294
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
10428
11295
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
10429
11296
|
}
|
|
@@ -10435,7 +11302,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10435
11302
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
10436
11303
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
10437
11304
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
10438
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
11305
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$G(untrustedConfig_semanticLogicalViews_item);
|
|
10439
11306
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
10440
11307
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
10441
11308
|
}
|
|
@@ -10447,7 +11314,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10447
11314
|
const untrustedConfig_semanticMetrics_array = [];
|
|
10448
11315
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
10449
11316
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
10450
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
11317
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$C(untrustedConfig_semanticMetrics_item);
|
|
10451
11318
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
10452
11319
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
10453
11320
|
}
|
|
@@ -10459,7 +11326,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10459
11326
|
const untrustedConfig_semanticParameters_array = [];
|
|
10460
11327
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
10461
11328
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
10462
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
11329
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$B(untrustedConfig_semanticParameters_item);
|
|
10463
11330
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
10464
11331
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
10465
11332
|
}
|
|
@@ -10471,7 +11338,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10471
11338
|
const untrustedConfig_semanticRelationships_array = [];
|
|
10472
11339
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
10473
11340
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
10474
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
11341
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$J(untrustedConfig_semanticRelationships_item);
|
|
10475
11342
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
10476
11343
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
10477
11344
|
}
|
|
@@ -11836,7 +12703,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
11836
12703
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
11837
12704
|
const obj_filters_item = obj_filters[i];
|
|
11838
12705
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
11839
|
-
const referencepath_filters_itemValidationError = validate$
|
|
12706
|
+
const referencepath_filters_itemValidationError = validate$18(obj_filters_item, path_filters_item);
|
|
11840
12707
|
if (referencepath_filters_itemValidationError !== null) {
|
|
11841
12708
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
11842
12709
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11890,7 +12757,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
11890
12757
|
if (obj.semanticMetric !== undefined) {
|
|
11891
12758
|
const obj_semanticMetric = obj.semanticMetric;
|
|
11892
12759
|
const path_semanticMetric = path + '.semanticMetric';
|
|
11893
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
12760
|
+
const referencepath_semanticMetricValidationError = validate$14(obj_semanticMetric, path_semanticMetric);
|
|
11894
12761
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
11895
12762
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
11896
12763
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12338,7 +13205,7 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
12338
13205
|
};
|
|
12339
13206
|
|
|
12340
13207
|
function select$7(luvio, params) {
|
|
12341
|
-
return select$
|
|
13208
|
+
return select$L();
|
|
12342
13209
|
}
|
|
12343
13210
|
function keyBuilder$b(luvio, params) {
|
|
12344
13211
|
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
|
|
@@ -12470,7 +13337,7 @@ const getSemanticMetricsAdapterFactory = (luvio) => function SemanticAuthoring__
|
|
|
12470
13337
|
};
|
|
12471
13338
|
|
|
12472
13339
|
function select$6(luvio, params) {
|
|
12473
|
-
return select$
|
|
13340
|
+
return select$M();
|
|
12474
13341
|
}
|
|
12475
13342
|
function keyBuilder$9(luvio, params) {
|
|
12476
13343
|
return keyBuilder$B(luvio, {
|
|
@@ -12968,7 +13835,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
12968
13835
|
const untrustedConfig_filters_array = [];
|
|
12969
13836
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
12970
13837
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
12971
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
13838
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$X(untrustedConfig_filters_item);
|
|
12972
13839
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
12973
13840
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
12974
13841
|
}
|