@salesforce/lds-adapters-cdp-semantic-authoring 1.351.1 → 1.352.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cdp-semantic-authoring.js +794 -207
- package/dist/es/es2018/types/src/generated/adapters/createSemanticModel.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/adapters/patchSemanticModel.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModels.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsDataObjectsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsByDataObjectNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +10 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +10 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDataObjectInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDataObjectOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewPartialInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelInputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +5 -1
- package/package.json +3 -3
- package/sfdc/index.js +701 -114
- package/src/raml/api.raml +220 -0
|
@@ -92,8 +92,8 @@ function createLink(ref) {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
const VERSION$
|
|
96
|
-
function validate$
|
|
95
|
+
const VERSION$A = "a2976cd68e629a917463a3b690cf2527";
|
|
96
|
+
function validate$18(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$R = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
119
119
|
return {
|
|
120
120
|
kind: 'Fragment',
|
|
121
|
-
version: VERSION$
|
|
121
|
+
version: VERSION$A,
|
|
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$A(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$z = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
168
|
+
function validate$17(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$18(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$Q = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
194
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$R();
|
|
195
195
|
return {
|
|
196
196
|
kind: 'Fragment',
|
|
197
|
-
version: VERSION$
|
|
197
|
+
version: VERSION$z,
|
|
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$z(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$A(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$y = "9b5a0e85af6a943c95625e2dfe81ab96";
|
|
245
|
+
function validate$16(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$P = function SemanticFilterOutputRepresentationSelect() {
|
|
275
275
|
return {
|
|
276
276
|
kind: 'Fragment',
|
|
277
|
-
version: VERSION$
|
|
277
|
+
version: VERSION$y,
|
|
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$y(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$x = "a50848c632bb205d5e910bb726d9219e";
|
|
342
|
+
function validate$15(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$17(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$17(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$O = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
371
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$Q();
|
|
372
372
|
return {
|
|
373
373
|
kind: 'Fragment',
|
|
374
|
-
version: VERSION$
|
|
374
|
+
version: VERSION$x,
|
|
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$x(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$z(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$z(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$w = "1b8cf2283d5d5c480459506274f0604c";
|
|
423
|
+
function validate$14(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$N = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
446
446
|
return {
|
|
447
447
|
kind: 'Fragment',
|
|
448
|
-
version: VERSION$
|
|
448
|
+
version: VERSION$w,
|
|
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$w(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$v = "a3f5972287be7bcf9ca205af56046a58";
|
|
495
|
+
function validate$13(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$15(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$14(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$17(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$M = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
569
|
+
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$O();
|
|
570
|
+
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$N();
|
|
571
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$Q();
|
|
572
572
|
return {
|
|
573
573
|
kind: 'Fragment',
|
|
574
|
-
version: VERSION$
|
|
574
|
+
version: VERSION$v,
|
|
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$v(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$x(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$w(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$z(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$u = "0873ccd85b32d14c753931243d20ac8b";
|
|
708
|
+
function validate$12(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$17(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$16(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$13(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$17(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$17(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$L = function SemanticMetricOutputRepresentationSelect() {
|
|
891
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$Q();
|
|
892
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$P();
|
|
893
|
+
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$M();
|
|
894
894
|
return {
|
|
895
895
|
kind: 'Fragment',
|
|
896
|
-
version: VERSION$
|
|
896
|
+
version: VERSION$u,
|
|
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$u(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$z(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$y(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$v(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$z(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$z(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$12(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$u, RepresentationType$i, equals$u);
|
|
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$t = "a6709a9f16e02d0d8e3d8423ebc79c2b";
|
|
1257
|
+
function validate$11(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$K = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
1302
1302
|
return {
|
|
1303
1303
|
kind: 'Fragment',
|
|
1304
|
-
version: VERSION$
|
|
1304
|
+
version: VERSION$t,
|
|
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$L()
|
|
1313
1313
|
}
|
|
1314
1314
|
]
|
|
1315
1315
|
};
|
|
1316
1316
|
};
|
|
1317
|
-
function equals$
|
|
1317
|
+
function equals$t(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$11(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$t, RepresentationType$h, equals$t);
|
|
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$J(luvio, params) {
|
|
1367
|
+
return select$K();
|
|
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$J(),
|
|
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$J();
|
|
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$s = "3a32d382e7a2268096278aa8e5c6761a";
|
|
1501
|
+
function validate$10(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$I = function SemanticBaseModelOutputRepresentationSelect() {
|
|
1522
1522
|
return {
|
|
1523
1523
|
kind: 'Fragment',
|
|
1524
|
-
version: VERSION$
|
|
1524
|
+
version: VERSION$s,
|
|
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$s(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$r = "c9079354cd8127a37c0c13ea6686383c";
|
|
1562
|
+
function validate$$(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$10(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$H = function SemanticModelPartialOutputRepresentationSelect() {
|
|
1767
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$I();
|
|
1768
1768
|
return {
|
|
1769
1769
|
kind: 'Fragment',
|
|
1770
|
-
version: VERSION$
|
|
1770
|
+
version: VERSION$r,
|
|
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$r(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$s(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$q = "198423ec58354256cc7ea6f4661ef669";
|
|
2181
|
+
function validate$_(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$$(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$G = function SemanticModelCollectionOutputRepresentationSelect() {
|
|
2305
|
+
const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$H();
|
|
2306
2306
|
return {
|
|
2307
2307
|
kind: 'Fragment',
|
|
2308
|
-
version: VERSION$
|
|
2308
|
+
version: VERSION$q,
|
|
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$q(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$r(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$_(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$q, RepresentationType$g, equals$q);
|
|
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$F(luvio, params) {
|
|
2437
|
+
return select$G();
|
|
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$F(),
|
|
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$F();
|
|
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$Z(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,72 @@ 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$Y(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$X(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$Y(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$W(obj, path = 'SemanticFilterInputRepresentation') {
|
|
2593
2658
|
const v_error = (() => {
|
|
2594
2659
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2595
2660
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2619,7 +2684,7 @@ function validate$U(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
2619
2684
|
return v_error === undefined ? null : v_error;
|
|
2620
2685
|
}
|
|
2621
2686
|
|
|
2622
|
-
function validate$
|
|
2687
|
+
function validate$V(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
2623
2688
|
const v_error = (() => {
|
|
2624
2689
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2625
2690
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2682,7 +2747,7 @@ function validate$T(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2682
2747
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2683
2748
|
const obj_filters_item = obj_filters[i];
|
|
2684
2749
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2685
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2750
|
+
const referencepath_filters_itemValidationError = validate$W(obj_filters_item, path_filters_item);
|
|
2686
2751
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2687
2752
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2688
2753
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2729,7 +2794,7 @@ function validate$T(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2729
2794
|
return v_error === undefined ? null : v_error;
|
|
2730
2795
|
}
|
|
2731
2796
|
|
|
2732
|
-
function validate$
|
|
2797
|
+
function validate$U(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
2733
2798
|
const v_error = (() => {
|
|
2734
2799
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2735
2800
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2806,7 +2871,7 @@ function validate$S(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2806
2871
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2807
2872
|
const obj_filters_item = obj_filters[i];
|
|
2808
2873
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2809
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2874
|
+
const referencepath_filters_itemValidationError = validate$W(obj_filters_item, path_filters_item);
|
|
2810
2875
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2811
2876
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2812
2877
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2874,7 +2939,7 @@ function validate$S(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2874
2939
|
return v_error === undefined ? null : v_error;
|
|
2875
2940
|
}
|
|
2876
2941
|
|
|
2877
|
-
function validate$
|
|
2942
|
+
function validate$T(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
2878
2943
|
const v_error = (() => {
|
|
2879
2944
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2880
2945
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2953,7 +3018,7 @@ function validate$R(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
2953
3018
|
return v_error === undefined ? null : v_error;
|
|
2954
3019
|
}
|
|
2955
3020
|
|
|
2956
|
-
function validate$
|
|
3021
|
+
function validate$S(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
2957
3022
|
const v_error = (() => {
|
|
2958
3023
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2959
3024
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3060,7 +3125,7 @@ function validate$Q(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
3060
3125
|
return v_error === undefined ? null : v_error;
|
|
3061
3126
|
}
|
|
3062
3127
|
|
|
3063
|
-
function validate$
|
|
3128
|
+
function validate$R(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
3064
3129
|
const v_error = (() => {
|
|
3065
3130
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3066
3131
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3109,7 +3174,7 @@ function validate$P(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3109
3174
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3110
3175
|
const obj_filters_item = obj_filters[i];
|
|
3111
3176
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3112
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3177
|
+
const referencepath_filters_itemValidationError = validate$W(obj_filters_item, path_filters_item);
|
|
3113
3178
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3114
3179
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3115
3180
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3140,7 +3205,7 @@ function validate$P(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3140
3205
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
3141
3206
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
3142
3207
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
3143
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
3208
|
+
const referencepath_semanticDimensions_itemValidationError = validate$T(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
3144
3209
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
3145
3210
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
3146
3211
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3157,7 +3222,7 @@ function validate$P(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3157
3222
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
3158
3223
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
3159
3224
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
3160
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
3225
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$S(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
3161
3226
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
3162
3227
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
3163
3228
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3172,11 +3237,18 @@ function validate$P(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3172
3237
|
return new TypeError('Expected "boolean" but received "' + typeof obj_shouldIncludeAllFields + '" (at "' + path_shouldIncludeAllFields + '")');
|
|
3173
3238
|
}
|
|
3174
3239
|
}
|
|
3240
|
+
if (obj.tableType !== undefined) {
|
|
3241
|
+
const obj_tableType = obj.tableType;
|
|
3242
|
+
const path_tableType = path + '.tableType';
|
|
3243
|
+
if (typeof obj_tableType !== 'string') {
|
|
3244
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
3245
|
+
}
|
|
3246
|
+
}
|
|
3175
3247
|
})();
|
|
3176
3248
|
return v_error === undefined ? null : v_error;
|
|
3177
3249
|
}
|
|
3178
3250
|
|
|
3179
|
-
function validate$
|
|
3251
|
+
function validate$Q(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
3180
3252
|
const v_error = (() => {
|
|
3181
3253
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3182
3254
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3188,7 +3260,7 @@ function validate$O(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
3188
3260
|
return v_error === undefined ? null : v_error;
|
|
3189
3261
|
}
|
|
3190
3262
|
|
|
3191
|
-
function validate$
|
|
3263
|
+
function validate$P(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
3192
3264
|
const v_error = (() => {
|
|
3193
3265
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3194
3266
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3218,7 +3290,7 @@ function validate$N(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
3218
3290
|
return v_error === undefined ? null : v_error;
|
|
3219
3291
|
}
|
|
3220
3292
|
|
|
3221
|
-
function validate$
|
|
3293
|
+
function validate$O(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
3222
3294
|
const v_error = (() => {
|
|
3223
3295
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3224
3296
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3232,7 +3304,7 @@ function validate$M(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3232
3304
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
3233
3305
|
const obj_groups_item = obj_groups[i];
|
|
3234
3306
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
3235
|
-
const referencepath_groups_itemValidationError = validate$
|
|
3307
|
+
const referencepath_groups_itemValidationError = validate$P(obj_groups_item, path_groups_item);
|
|
3236
3308
|
if (referencepath_groups_itemValidationError !== null) {
|
|
3237
3309
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
3238
3310
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3251,7 +3323,7 @@ function validate$M(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3251
3323
|
return v_error === undefined ? null : v_error;
|
|
3252
3324
|
}
|
|
3253
3325
|
|
|
3254
|
-
function validate$
|
|
3326
|
+
function validate$N(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
3255
3327
|
const v_error = (() => {
|
|
3256
3328
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3257
3329
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3259,7 +3331,7 @@ function validate$L(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3259
3331
|
if (obj.binDimension !== undefined) {
|
|
3260
3332
|
const obj_binDimension = obj.binDimension;
|
|
3261
3333
|
const path_binDimension = path + '.binDimension';
|
|
3262
|
-
const referencepath_binDimensionValidationError = validate$
|
|
3334
|
+
const referencepath_binDimensionValidationError = validate$Q(obj_binDimension, path_binDimension);
|
|
3263
3335
|
if (referencepath_binDimensionValidationError !== null) {
|
|
3264
3336
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
3265
3337
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3269,7 +3341,7 @@ function validate$L(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3269
3341
|
if (obj.groupDimension !== undefined) {
|
|
3270
3342
|
const obj_groupDimension = obj.groupDimension;
|
|
3271
3343
|
const path_groupDimension = path + '.groupDimension';
|
|
3272
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
3344
|
+
const referencepath_groupDimensionValidationError = validate$O(obj_groupDimension, path_groupDimension);
|
|
3273
3345
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
3274
3346
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
3275
3347
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3280,7 +3352,7 @@ function validate$L(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3280
3352
|
return v_error === undefined ? null : v_error;
|
|
3281
3353
|
}
|
|
3282
3354
|
|
|
3283
|
-
function validate$
|
|
3355
|
+
function validate$M(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
3284
3356
|
const v_error = (() => {
|
|
3285
3357
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3286
3358
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3303,7 +3375,7 @@ function validate$K(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
3303
3375
|
return v_error === undefined ? null : v_error;
|
|
3304
3376
|
}
|
|
3305
3377
|
|
|
3306
|
-
function validate$
|
|
3378
|
+
function validate$L(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
3307
3379
|
const v_error = (() => {
|
|
3308
3380
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3309
3381
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3318,7 +3390,7 @@ function validate$J(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3318
3390
|
if (obj.tableFieldReference !== undefined) {
|
|
3319
3391
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
3320
3392
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
3321
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
3393
|
+
const referencepath_tableFieldReferenceValidationError = validate$M(obj_tableFieldReference, path_tableFieldReference);
|
|
3322
3394
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
3323
3395
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
3324
3396
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3329,7 +3401,7 @@ function validate$J(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3329
3401
|
return v_error === undefined ? null : v_error;
|
|
3330
3402
|
}
|
|
3331
3403
|
|
|
3332
|
-
function validate$
|
|
3404
|
+
function validate$K(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
3333
3405
|
const v_error = (() => {
|
|
3334
3406
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3335
3407
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3344,7 +3416,7 @@ function validate$I(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3344
3416
|
if (obj.configuration !== undefined) {
|
|
3345
3417
|
const obj_configuration = obj.configuration;
|
|
3346
3418
|
const path_configuration = path + '.configuration';
|
|
3347
|
-
const referencepath_configurationValidationError = validate$
|
|
3419
|
+
const referencepath_configurationValidationError = validate$N(obj_configuration, path_configuration);
|
|
3348
3420
|
if (referencepath_configurationValidationError !== null) {
|
|
3349
3421
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
3350
3422
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3361,7 +3433,7 @@ function validate$I(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3361
3433
|
if (obj.fieldReference !== undefined) {
|
|
3362
3434
|
const obj_fieldReference = obj.fieldReference;
|
|
3363
3435
|
const path_fieldReference = path + '.fieldReference';
|
|
3364
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
3436
|
+
const referencepath_fieldReferenceValidationError = validate$L(obj_fieldReference, path_fieldReference);
|
|
3365
3437
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
3366
3438
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
3367
3439
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3386,7 +3458,7 @@ function validate$I(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3386
3458
|
return v_error === undefined ? null : v_error;
|
|
3387
3459
|
}
|
|
3388
3460
|
|
|
3389
|
-
function validate$
|
|
3461
|
+
function validate$J(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
3390
3462
|
const v_error = (() => {
|
|
3391
3463
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3392
3464
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3430,7 +3502,7 @@ function validate$H(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
3430
3502
|
return v_error === undefined ? null : v_error;
|
|
3431
3503
|
}
|
|
3432
3504
|
|
|
3433
|
-
function validate$
|
|
3505
|
+
function validate$I(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
3434
3506
|
const v_error = (() => {
|
|
3435
3507
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3436
3508
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3458,7 +3530,7 @@ function validate$G(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3458
3530
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
3459
3531
|
const obj_criteria_item = obj_criteria[i];
|
|
3460
3532
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
3461
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
3533
|
+
const referencepath_criteria_itemValidationError = validate$J(obj_criteria_item, path_criteria_item);
|
|
3462
3534
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
3463
3535
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
3464
3536
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3519,7 +3591,7 @@ function validate$G(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3519
3591
|
return v_error === undefined ? null : v_error;
|
|
3520
3592
|
}
|
|
3521
3593
|
|
|
3522
|
-
function validate$
|
|
3594
|
+
function validate$H(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
3523
3595
|
const v_error = (() => {
|
|
3524
3596
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3525
3597
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3547,7 +3619,7 @@ function validate$F(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3547
3619
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
3548
3620
|
const obj_fields_item = obj_fields[i];
|
|
3549
3621
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
3550
|
-
const referencepath_fields_itemValidationError = validate$
|
|
3622
|
+
const referencepath_fields_itemValidationError = validate$M(obj_fields_item, path_fields_item);
|
|
3551
3623
|
if (referencepath_fields_itemValidationError !== null) {
|
|
3552
3624
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
3553
3625
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3572,7 +3644,7 @@ function validate$F(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3572
3644
|
if (obj.semanticDimension !== undefined) {
|
|
3573
3645
|
const obj_semanticDimension = obj.semanticDimension;
|
|
3574
3646
|
const path_semanticDimension = path + '.semanticDimension';
|
|
3575
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
3647
|
+
const referencepath_semanticDimensionValidationError = validate$T(obj_semanticDimension, path_semanticDimension);
|
|
3576
3648
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
3577
3649
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
3578
3650
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3582,7 +3654,7 @@ function validate$F(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3582
3654
|
if (obj.semanticMeasurement !== undefined) {
|
|
3583
3655
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
3584
3656
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
3585
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
3657
|
+
const referencepath_semanticMeasurementValidationError = validate$S(obj_semanticMeasurement, path_semanticMeasurement);
|
|
3586
3658
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
3587
3659
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
3588
3660
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3593,7 +3665,7 @@ function validate$F(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3593
3665
|
return v_error === undefined ? null : v_error;
|
|
3594
3666
|
}
|
|
3595
3667
|
|
|
3596
|
-
function validate$
|
|
3668
|
+
function validate$G(obj, path = 'SemanticUnionInputRepresentation') {
|
|
3597
3669
|
const v_error = (() => {
|
|
3598
3670
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3599
3671
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3628,7 +3700,7 @@ function validate$E(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3628
3700
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
3629
3701
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
3630
3702
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
3631
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
3703
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$R(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
3632
3704
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
3633
3705
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
3634
3706
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3645,7 +3717,7 @@ function validate$E(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3645
3717
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
3646
3718
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
3647
3719
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
3648
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
3720
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$H(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
3649
3721
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
3650
3722
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
3651
3723
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3657,7 +3729,7 @@ function validate$E(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3657
3729
|
return v_error === undefined ? null : v_error;
|
|
3658
3730
|
}
|
|
3659
3731
|
|
|
3660
|
-
function validate$
|
|
3732
|
+
function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
3661
3733
|
const v_error = (() => {
|
|
3662
3734
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3663
3735
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3699,7 +3771,7 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3699
3771
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3700
3772
|
const obj_filters_item = obj_filters[i];
|
|
3701
3773
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3702
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3774
|
+
const referencepath_filters_itemValidationError = validate$W(obj_filters_item, path_filters_item);
|
|
3703
3775
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3704
3776
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3705
3777
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3723,7 +3795,7 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3723
3795
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
3724
3796
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
3725
3797
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
3726
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
3798
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$R(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
3727
3799
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
3728
3800
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
3729
3801
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3740,7 +3812,7 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3740
3812
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
3741
3813
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
3742
3814
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
3743
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
3815
|
+
const referencepath_semanticRelationships_itemValidationError = validate$I(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
3744
3816
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
3745
3817
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
3746
3818
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3757,7 +3829,7 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3757
3829
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
3758
3830
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
3759
3831
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
3760
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
3832
|
+
const referencepath_semanticUnions_itemValidationError = validate$G(obj_semanticUnions_item, path_semanticUnions_item);
|
|
3761
3833
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
3762
3834
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
3763
3835
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3765,11 +3837,18 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3765
3837
|
}
|
|
3766
3838
|
}
|
|
3767
3839
|
}
|
|
3840
|
+
if (obj.tableType !== undefined) {
|
|
3841
|
+
const obj_tableType = obj.tableType;
|
|
3842
|
+
const path_tableType = path + '.tableType';
|
|
3843
|
+
if (typeof obj_tableType !== 'string') {
|
|
3844
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
3845
|
+
}
|
|
3846
|
+
}
|
|
3768
3847
|
})();
|
|
3769
3848
|
return v_error === undefined ? null : v_error;
|
|
3770
3849
|
}
|
|
3771
3850
|
|
|
3772
|
-
function validate$
|
|
3851
|
+
function validate$E(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
3773
3852
|
const v_error = (() => {
|
|
3774
3853
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3775
3854
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3777,7 +3856,7 @@ function validate$C(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3777
3856
|
if (obj.identifierDimensionReference !== undefined) {
|
|
3778
3857
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
3779
3858
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
3780
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
3859
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$L(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
3781
3860
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
3782
3861
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
3783
3862
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3787,7 +3866,7 @@ function validate$C(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3787
3866
|
if (obj.namingDimensionReference !== undefined) {
|
|
3788
3867
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
3789
3868
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
3790
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
3869
|
+
const referencepath_namingDimensionReferenceValidationError = validate$L(obj_namingDimensionReference, path_namingDimensionReference);
|
|
3791
3870
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
3792
3871
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
3793
3872
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3798,7 +3877,7 @@ function validate$C(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3798
3877
|
return v_error === undefined ? null : v_error;
|
|
3799
3878
|
}
|
|
3800
3879
|
|
|
3801
|
-
function validate$
|
|
3880
|
+
function validate$D(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
3802
3881
|
const v_error = (() => {
|
|
3803
3882
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3804
3883
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3821,7 +3900,7 @@ function validate$B(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
3821
3900
|
return v_error === undefined ? null : v_error;
|
|
3822
3901
|
}
|
|
3823
3902
|
|
|
3824
|
-
function validate$
|
|
3903
|
+
function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
3825
3904
|
const v_error = (() => {
|
|
3826
3905
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3827
3906
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3829,7 +3908,7 @@ function validate$A(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3829
3908
|
if (obj.identifyingDimension !== undefined) {
|
|
3830
3909
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
3831
3910
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
3832
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
3911
|
+
const referencepath_identifyingDimensionValidationError = validate$E(obj_identifyingDimension, path_identifyingDimension);
|
|
3833
3912
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
3834
3913
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
3835
3914
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3845,7 +3924,7 @@ function validate$A(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3845
3924
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
3846
3925
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
3847
3926
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
3848
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
3927
|
+
const referencepath_insightTypes_itemValidationError = validate$D(obj_insightTypes_item, path_insightTypes_item);
|
|
3849
3928
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
3850
3929
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
3851
3930
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3862,7 +3941,7 @@ function validate$A(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3862
3941
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
3863
3942
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
3864
3943
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
3865
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
3944
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$L(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
3866
3945
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
3867
3946
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
3868
3947
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3895,7 +3974,7 @@ function validate$A(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3895
3974
|
return v_error === undefined ? null : v_error;
|
|
3896
3975
|
}
|
|
3897
3976
|
|
|
3898
|
-
function validate$
|
|
3977
|
+
function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
3899
3978
|
const v_error = (() => {
|
|
3900
3979
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3901
3980
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3909,7 +3988,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3909
3988
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
3910
3989
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
3911
3990
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
3912
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
3991
|
+
const referencepath_additionalDimensions_itemValidationError = validate$L(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
3913
3992
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
3914
3993
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
3915
3994
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3954,7 +4033,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3954
4033
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3955
4034
|
const obj_filters_item = obj_filters[i];
|
|
3956
4035
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3957
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4036
|
+
const referencepath_filters_itemValidationError = validate$W(obj_filters_item, path_filters_item);
|
|
3958
4037
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3959
4038
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3960
4039
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3965,7 +4044,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3965
4044
|
if (obj.insightsSettings !== undefined) {
|
|
3966
4045
|
const obj_insightsSettings = obj.insightsSettings;
|
|
3967
4046
|
const path_insightsSettings = path + '.insightsSettings';
|
|
3968
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
4047
|
+
const referencepath_insightsSettingsValidationError = validate$C(obj_insightsSettings, path_insightsSettings);
|
|
3969
4048
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
3970
4049
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
3971
4050
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3989,7 +4068,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3989
4068
|
if (obj.measurementReference !== undefined) {
|
|
3990
4069
|
const obj_measurementReference = obj.measurementReference;
|
|
3991
4070
|
const path_measurementReference = path + '.measurementReference';
|
|
3992
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
4071
|
+
const referencepath_measurementReferenceValidationError = validate$L(obj_measurementReference, path_measurementReference);
|
|
3993
4072
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
3994
4073
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
3995
4074
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3999,7 +4078,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3999
4078
|
if (obj.timeDimensionReference !== undefined) {
|
|
4000
4079
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
4001
4080
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
4002
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
4081
|
+
const referencepath_timeDimensionReferenceValidationError = validate$L(obj_timeDimensionReference, path_timeDimensionReference);
|
|
4003
4082
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
4004
4083
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
4005
4084
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4024,7 +4103,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4024
4103
|
return v_error === undefined ? null : v_error;
|
|
4025
4104
|
}
|
|
4026
4105
|
|
|
4027
|
-
function validate$
|
|
4106
|
+
function validate$A(obj, path = 'SemanticParameterInputRepresentation') {
|
|
4028
4107
|
const v_error = (() => {
|
|
4029
4108
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4030
4109
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4124,7 +4203,229 @@ function validate$y(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
4124
4203
|
return v_error === undefined ? null : v_error;
|
|
4125
4204
|
}
|
|
4126
4205
|
|
|
4127
|
-
const VERSION$
|
|
4206
|
+
const VERSION$p = "221b0931360d7fcb0a1402b0b82071bd";
|
|
4207
|
+
function validate$z(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation') {
|
|
4208
|
+
const v_error = (() => {
|
|
4209
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4210
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4211
|
+
}
|
|
4212
|
+
const obj_dataSourceId = obj.dataSourceId;
|
|
4213
|
+
const path_dataSourceId = path + '.dataSourceId';
|
|
4214
|
+
if (typeof obj_dataSourceId !== 'string') {
|
|
4215
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataSourceId + '" (at "' + path_dataSourceId + '")');
|
|
4216
|
+
}
|
|
4217
|
+
const obj_siteId = obj.siteId;
|
|
4218
|
+
const path_siteId = path + '.siteId';
|
|
4219
|
+
if (typeof obj_siteId !== 'string') {
|
|
4220
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteId + '" (at "' + path_siteId + '")');
|
|
4221
|
+
}
|
|
4222
|
+
const obj_siteName = obj.siteName;
|
|
4223
|
+
const path_siteName = path + '.siteName';
|
|
4224
|
+
if (typeof obj_siteName !== 'string') {
|
|
4225
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteName + '" (at "' + path_siteName + '")');
|
|
4226
|
+
}
|
|
4227
|
+
const obj_siteUrl = obj.siteUrl;
|
|
4228
|
+
const path_siteUrl = path + '.siteUrl';
|
|
4229
|
+
if (typeof obj_siteUrl !== 'string') {
|
|
4230
|
+
return new TypeError('Expected "string" but received "' + typeof obj_siteUrl + '" (at "' + path_siteUrl + '")');
|
|
4231
|
+
}
|
|
4232
|
+
})();
|
|
4233
|
+
return v_error === undefined ? null : v_error;
|
|
4234
|
+
}
|
|
4235
|
+
const select$E = function SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentationSelect() {
|
|
4236
|
+
return {
|
|
4237
|
+
kind: 'Fragment',
|
|
4238
|
+
version: VERSION$p,
|
|
4239
|
+
private: [],
|
|
4240
|
+
selections: [
|
|
4241
|
+
{
|
|
4242
|
+
name: 'dataSourceId',
|
|
4243
|
+
kind: 'Scalar'
|
|
4244
|
+
},
|
|
4245
|
+
{
|
|
4246
|
+
name: 'siteId',
|
|
4247
|
+
kind: 'Scalar'
|
|
4248
|
+
},
|
|
4249
|
+
{
|
|
4250
|
+
name: 'siteName',
|
|
4251
|
+
kind: 'Scalar'
|
|
4252
|
+
},
|
|
4253
|
+
{
|
|
4254
|
+
name: 'siteUrl',
|
|
4255
|
+
kind: 'Scalar'
|
|
4256
|
+
}
|
|
4257
|
+
]
|
|
4258
|
+
};
|
|
4259
|
+
};
|
|
4260
|
+
function equals$p(existing, incoming) {
|
|
4261
|
+
const existing_dataSourceId = existing.dataSourceId;
|
|
4262
|
+
const incoming_dataSourceId = incoming.dataSourceId;
|
|
4263
|
+
if (!(existing_dataSourceId === incoming_dataSourceId)) {
|
|
4264
|
+
return false;
|
|
4265
|
+
}
|
|
4266
|
+
const existing_siteId = existing.siteId;
|
|
4267
|
+
const incoming_siteId = incoming.siteId;
|
|
4268
|
+
if (!(existing_siteId === incoming_siteId)) {
|
|
4269
|
+
return false;
|
|
4270
|
+
}
|
|
4271
|
+
const existing_siteName = existing.siteName;
|
|
4272
|
+
const incoming_siteName = incoming.siteName;
|
|
4273
|
+
if (!(existing_siteName === incoming_siteName)) {
|
|
4274
|
+
return false;
|
|
4275
|
+
}
|
|
4276
|
+
const existing_siteUrl = existing.siteUrl;
|
|
4277
|
+
const incoming_siteUrl = incoming.siteUrl;
|
|
4278
|
+
if (!(existing_siteUrl === incoming_siteUrl)) {
|
|
4279
|
+
return false;
|
|
4280
|
+
}
|
|
4281
|
+
return true;
|
|
4282
|
+
}
|
|
4283
|
+
|
|
4284
|
+
const VERSION$o = "e760a2becca995f7bd15e714d50c088c";
|
|
4285
|
+
function validate$y(obj, path = 'SemanticModelExternalConnectionOutputRepresentation') {
|
|
4286
|
+
const v_error = (() => {
|
|
4287
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4288
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4289
|
+
}
|
|
4290
|
+
const obj_apiName = obj.apiName;
|
|
4291
|
+
const path_apiName = path + '.apiName';
|
|
4292
|
+
if (typeof obj_apiName !== 'string') {
|
|
4293
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
4294
|
+
}
|
|
4295
|
+
if (obj.baseModelApiName !== undefined) {
|
|
4296
|
+
const obj_baseModelApiName = obj.baseModelApiName;
|
|
4297
|
+
const path_baseModelApiName = path + '.baseModelApiName';
|
|
4298
|
+
if (typeof obj_baseModelApiName !== 'string') {
|
|
4299
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
4300
|
+
}
|
|
4301
|
+
}
|
|
4302
|
+
const obj_id = obj.id;
|
|
4303
|
+
const path_id = path + '.id';
|
|
4304
|
+
if (typeof obj_id !== 'string') {
|
|
4305
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
4306
|
+
}
|
|
4307
|
+
if (obj.label !== undefined) {
|
|
4308
|
+
const obj_label = obj.label;
|
|
4309
|
+
const path_label = path + '.label';
|
|
4310
|
+
if (typeof obj_label !== 'string') {
|
|
4311
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
4312
|
+
}
|
|
4313
|
+
}
|
|
4314
|
+
if (obj.tableauPublishedDataSource !== undefined) {
|
|
4315
|
+
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
4316
|
+
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
4317
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$z(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
4318
|
+
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
4319
|
+
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
4320
|
+
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4321
|
+
return new TypeError(message);
|
|
4322
|
+
}
|
|
4323
|
+
}
|
|
4324
|
+
const obj_type = obj.type;
|
|
4325
|
+
const path_type = path + '.type';
|
|
4326
|
+
if (typeof obj_type !== 'string') {
|
|
4327
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
4328
|
+
}
|
|
4329
|
+
})();
|
|
4330
|
+
return v_error === undefined ? null : v_error;
|
|
4331
|
+
}
|
|
4332
|
+
const select$D = function SemanticModelExternalConnectionOutputRepresentationSelect() {
|
|
4333
|
+
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$E();
|
|
4334
|
+
return {
|
|
4335
|
+
kind: 'Fragment',
|
|
4336
|
+
version: VERSION$o,
|
|
4337
|
+
private: [],
|
|
4338
|
+
selections: [
|
|
4339
|
+
{
|
|
4340
|
+
name: 'apiName',
|
|
4341
|
+
kind: 'Scalar'
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
name: 'baseModelApiName',
|
|
4345
|
+
kind: 'Scalar',
|
|
4346
|
+
required: false
|
|
4347
|
+
},
|
|
4348
|
+
{
|
|
4349
|
+
name: 'id',
|
|
4350
|
+
kind: 'Scalar'
|
|
4351
|
+
},
|
|
4352
|
+
{
|
|
4353
|
+
name: 'label',
|
|
4354
|
+
kind: 'Scalar',
|
|
4355
|
+
required: false
|
|
4356
|
+
},
|
|
4357
|
+
{
|
|
4358
|
+
name: 'tableauPublishedDataSource',
|
|
4359
|
+
kind: 'Object',
|
|
4360
|
+
selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections,
|
|
4361
|
+
required: false
|
|
4362
|
+
},
|
|
4363
|
+
{
|
|
4364
|
+
name: 'type',
|
|
4365
|
+
kind: 'Scalar'
|
|
4366
|
+
}
|
|
4367
|
+
]
|
|
4368
|
+
};
|
|
4369
|
+
};
|
|
4370
|
+
function equals$o(existing, incoming) {
|
|
4371
|
+
const existing_apiName = existing.apiName;
|
|
4372
|
+
const incoming_apiName = incoming.apiName;
|
|
4373
|
+
if (!(existing_apiName === incoming_apiName)) {
|
|
4374
|
+
return false;
|
|
4375
|
+
}
|
|
4376
|
+
const existing_baseModelApiName = existing.baseModelApiName;
|
|
4377
|
+
const incoming_baseModelApiName = incoming.baseModelApiName;
|
|
4378
|
+
// if at least one of these optionals is defined
|
|
4379
|
+
if (existing_baseModelApiName !== undefined || incoming_baseModelApiName !== undefined) {
|
|
4380
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4381
|
+
// not equal
|
|
4382
|
+
if (existing_baseModelApiName === undefined || incoming_baseModelApiName === undefined) {
|
|
4383
|
+
return false;
|
|
4384
|
+
}
|
|
4385
|
+
if (!(existing_baseModelApiName === incoming_baseModelApiName)) {
|
|
4386
|
+
return false;
|
|
4387
|
+
}
|
|
4388
|
+
}
|
|
4389
|
+
const existing_id = existing.id;
|
|
4390
|
+
const incoming_id = incoming.id;
|
|
4391
|
+
if (!(existing_id === incoming_id)) {
|
|
4392
|
+
return false;
|
|
4393
|
+
}
|
|
4394
|
+
const existing_label = existing.label;
|
|
4395
|
+
const incoming_label = incoming.label;
|
|
4396
|
+
// if at least one of these optionals is defined
|
|
4397
|
+
if (existing_label !== undefined || incoming_label !== undefined) {
|
|
4398
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4399
|
+
// not equal
|
|
4400
|
+
if (existing_label === undefined || incoming_label === undefined) {
|
|
4401
|
+
return false;
|
|
4402
|
+
}
|
|
4403
|
+
if (!(existing_label === incoming_label)) {
|
|
4404
|
+
return false;
|
|
4405
|
+
}
|
|
4406
|
+
}
|
|
4407
|
+
const existing_type = existing.type;
|
|
4408
|
+
const incoming_type = incoming.type;
|
|
4409
|
+
if (!(existing_type === incoming_type)) {
|
|
4410
|
+
return false;
|
|
4411
|
+
}
|
|
4412
|
+
const existing_tableauPublishedDataSource = existing.tableauPublishedDataSource;
|
|
4413
|
+
const incoming_tableauPublishedDataSource = incoming.tableauPublishedDataSource;
|
|
4414
|
+
// if at least one of these optionals is defined
|
|
4415
|
+
if (existing_tableauPublishedDataSource !== undefined || incoming_tableauPublishedDataSource !== undefined) {
|
|
4416
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4417
|
+
// not equal
|
|
4418
|
+
if (existing_tableauPublishedDataSource === undefined || incoming_tableauPublishedDataSource === undefined) {
|
|
4419
|
+
return false;
|
|
4420
|
+
}
|
|
4421
|
+
if (!(equals$p(existing_tableauPublishedDataSource, incoming_tableauPublishedDataSource))) {
|
|
4422
|
+
return false;
|
|
4423
|
+
}
|
|
4424
|
+
}
|
|
4425
|
+
return true;
|
|
4426
|
+
}
|
|
4427
|
+
|
|
4428
|
+
const VERSION$n = "fe504332a165b7357b53e140402c6704";
|
|
4128
4429
|
function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
4129
4430
|
const v_error = (() => {
|
|
4130
4431
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4194,6 +4495,20 @@ function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4194
4495
|
return new TypeError('Expected "string" but received "' + typeof obj_expression + '" (at "' + path_expression + '")');
|
|
4195
4496
|
}
|
|
4196
4497
|
}
|
|
4498
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
4499
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
4500
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
4501
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
4502
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
4503
|
+
}
|
|
4504
|
+
}
|
|
4505
|
+
if (obj.externalStorageName !== undefined) {
|
|
4506
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
4507
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
4508
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
4509
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
4510
|
+
}
|
|
4511
|
+
}
|
|
4197
4512
|
if (obj.filterLogic !== undefined) {
|
|
4198
4513
|
const obj_filterLogic = obj.filterLogic;
|
|
4199
4514
|
const path_filterLogic = path + '.filterLogic';
|
|
@@ -4210,7 +4525,7 @@ function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4210
4525
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4211
4526
|
const obj_filters_item = obj_filters[i];
|
|
4212
4527
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4213
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4528
|
+
const referencepath_filters_itemValidationError = validate$16(obj_filters_item, path_filters_item);
|
|
4214
4529
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4215
4530
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4216
4531
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4251,6 +4566,13 @@ function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4251
4566
|
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
4252
4567
|
}
|
|
4253
4568
|
}
|
|
4569
|
+
if (obj.level !== undefined) {
|
|
4570
|
+
const obj_level = obj.level;
|
|
4571
|
+
const path_level = path + '.level';
|
|
4572
|
+
if (typeof obj_level !== 'string') {
|
|
4573
|
+
return new TypeError('Expected "string" but received "' + typeof obj_level + '" (at "' + path_level + '")');
|
|
4574
|
+
}
|
|
4575
|
+
}
|
|
4254
4576
|
if (obj.semanticDataType !== undefined) {
|
|
4255
4577
|
const obj_semanticDataType = obj.semanticDataType;
|
|
4256
4578
|
const path_semanticDataType = path + '.semanticDataType';
|
|
@@ -4289,7 +4611,7 @@ function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
|
4289
4611
|
return input;
|
|
4290
4612
|
}
|
|
4291
4613
|
const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
4292
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
4614
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$P();
|
|
4293
4615
|
return {
|
|
4294
4616
|
kind: 'Fragment',
|
|
4295
4617
|
version: VERSION$n,
|
|
@@ -4342,6 +4664,16 @@ const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
4342
4664
|
kind: 'Scalar',
|
|
4343
4665
|
required: false
|
|
4344
4666
|
},
|
|
4667
|
+
{
|
|
4668
|
+
name: 'externalConnectionApiName',
|
|
4669
|
+
kind: 'Scalar',
|
|
4670
|
+
required: false
|
|
4671
|
+
},
|
|
4672
|
+
{
|
|
4673
|
+
name: 'externalStorageName',
|
|
4674
|
+
kind: 'Scalar',
|
|
4675
|
+
required: false
|
|
4676
|
+
},
|
|
4345
4677
|
{
|
|
4346
4678
|
name: 'filterLogic',
|
|
4347
4679
|
kind: 'Scalar',
|
|
@@ -4378,6 +4710,11 @@ const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
4378
4710
|
kind: 'Scalar',
|
|
4379
4711
|
required: false
|
|
4380
4712
|
},
|
|
4713
|
+
{
|
|
4714
|
+
name: 'level',
|
|
4715
|
+
kind: 'Scalar',
|
|
4716
|
+
required: false
|
|
4717
|
+
},
|
|
4381
4718
|
{
|
|
4382
4719
|
name: 'semanticDataType',
|
|
4383
4720
|
kind: 'Scalar',
|
|
@@ -4516,6 +4853,32 @@ function equals$n(existing, incoming) {
|
|
|
4516
4853
|
return false;
|
|
4517
4854
|
}
|
|
4518
4855
|
}
|
|
4856
|
+
const existing_externalConnectionApiName = existing.externalConnectionApiName;
|
|
4857
|
+
const incoming_externalConnectionApiName = incoming.externalConnectionApiName;
|
|
4858
|
+
// if at least one of these optionals is defined
|
|
4859
|
+
if (existing_externalConnectionApiName !== undefined || incoming_externalConnectionApiName !== undefined) {
|
|
4860
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4861
|
+
// not equal
|
|
4862
|
+
if (existing_externalConnectionApiName === undefined || incoming_externalConnectionApiName === undefined) {
|
|
4863
|
+
return false;
|
|
4864
|
+
}
|
|
4865
|
+
if (!(existing_externalConnectionApiName === incoming_externalConnectionApiName)) {
|
|
4866
|
+
return false;
|
|
4867
|
+
}
|
|
4868
|
+
}
|
|
4869
|
+
const existing_externalStorageName = existing.externalStorageName;
|
|
4870
|
+
const incoming_externalStorageName = incoming.externalStorageName;
|
|
4871
|
+
// if at least one of these optionals is defined
|
|
4872
|
+
if (existing_externalStorageName !== undefined || incoming_externalStorageName !== undefined) {
|
|
4873
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4874
|
+
// not equal
|
|
4875
|
+
if (existing_externalStorageName === undefined || incoming_externalStorageName === undefined) {
|
|
4876
|
+
return false;
|
|
4877
|
+
}
|
|
4878
|
+
if (!(existing_externalStorageName === incoming_externalStorageName)) {
|
|
4879
|
+
return false;
|
|
4880
|
+
}
|
|
4881
|
+
}
|
|
4519
4882
|
const existing_filterLogic = existing.filterLogic;
|
|
4520
4883
|
const incoming_filterLogic = incoming.filterLogic;
|
|
4521
4884
|
// if at least one of these optionals is defined
|
|
@@ -4573,6 +4936,19 @@ function equals$n(existing, incoming) {
|
|
|
4573
4936
|
return false;
|
|
4574
4937
|
}
|
|
4575
4938
|
}
|
|
4939
|
+
const existing_level = existing.level;
|
|
4940
|
+
const incoming_level = incoming.level;
|
|
4941
|
+
// if at least one of these optionals is defined
|
|
4942
|
+
if (existing_level !== undefined || incoming_level !== undefined) {
|
|
4943
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4944
|
+
// not equal
|
|
4945
|
+
if (existing_level === undefined || incoming_level === undefined) {
|
|
4946
|
+
return false;
|
|
4947
|
+
}
|
|
4948
|
+
if (!(existing_level === incoming_level)) {
|
|
4949
|
+
return false;
|
|
4950
|
+
}
|
|
4951
|
+
}
|
|
4576
4952
|
const existing_semanticDataType = existing.semanticDataType;
|
|
4577
4953
|
const incoming_semanticDataType = incoming.semanticDataType;
|
|
4578
4954
|
// if at least one of these optionals is defined
|
|
@@ -4622,7 +4998,7 @@ function equals$n(existing, incoming) {
|
|
|
4622
4998
|
return false;
|
|
4623
4999
|
}
|
|
4624
5000
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
4625
|
-
if (!(equals$
|
|
5001
|
+
if (!(equals$y(existing_filters_item, incoming_filters_item))) {
|
|
4626
5002
|
return false;
|
|
4627
5003
|
}
|
|
4628
5004
|
});
|
|
@@ -4654,7 +5030,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4654
5030
|
});
|
|
4655
5031
|
}
|
|
4656
5032
|
|
|
4657
|
-
const VERSION$m = "
|
|
5033
|
+
const VERSION$m = "a476df60bf22b533d829362d80a48a3e";
|
|
4658
5034
|
function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
4659
5035
|
const v_error = (() => {
|
|
4660
5036
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4738,6 +5114,20 @@ function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
4738
5114
|
return new TypeError('Expected "string" but received "' + typeof obj_expression + '" (at "' + path_expression + '")');
|
|
4739
5115
|
}
|
|
4740
5116
|
}
|
|
5117
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
5118
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
5119
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
5120
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
5121
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
5122
|
+
}
|
|
5123
|
+
}
|
|
5124
|
+
if (obj.externalStorageName !== undefined) {
|
|
5125
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
5126
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
5127
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
5128
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
5129
|
+
}
|
|
5130
|
+
}
|
|
4741
5131
|
if (obj.filterLogic !== undefined) {
|
|
4742
5132
|
const obj_filterLogic = obj.filterLogic;
|
|
4743
5133
|
const path_filterLogic = path + '.filterLogic';
|
|
@@ -4754,7 +5144,7 @@ function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
4754
5144
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4755
5145
|
const obj_filters_item = obj_filters[i];
|
|
4756
5146
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4757
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5147
|
+
const referencepath_filters_itemValidationError = validate$16(obj_filters_item, path_filters_item);
|
|
4758
5148
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4759
5149
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4760
5150
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4802,6 +5192,13 @@ function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
4802
5192
|
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
4803
5193
|
}
|
|
4804
5194
|
}
|
|
5195
|
+
if (obj.level !== undefined) {
|
|
5196
|
+
const obj_level = obj.level;
|
|
5197
|
+
const path_level = path + '.level';
|
|
5198
|
+
if (typeof obj_level !== 'string') {
|
|
5199
|
+
return new TypeError('Expected "string" but received "' + typeof obj_level + '" (at "' + path_level + '")');
|
|
5200
|
+
}
|
|
5201
|
+
}
|
|
4805
5202
|
if (obj.semanticDataType !== undefined) {
|
|
4806
5203
|
const obj_semanticDataType = obj.semanticDataType;
|
|
4807
5204
|
const path_semanticDataType = path + '.semanticDataType';
|
|
@@ -4861,7 +5258,7 @@ function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
|
4861
5258
|
return input;
|
|
4862
5259
|
}
|
|
4863
5260
|
const select$B = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
4864
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
5261
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$P();
|
|
4865
5262
|
return {
|
|
4866
5263
|
kind: 'Fragment',
|
|
4867
5264
|
version: VERSION$m,
|
|
@@ -4924,6 +5321,16 @@ const select$B = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
4924
5321
|
kind: 'Scalar',
|
|
4925
5322
|
required: false
|
|
4926
5323
|
},
|
|
5324
|
+
{
|
|
5325
|
+
name: 'externalConnectionApiName',
|
|
5326
|
+
kind: 'Scalar',
|
|
5327
|
+
required: false
|
|
5328
|
+
},
|
|
5329
|
+
{
|
|
5330
|
+
name: 'externalStorageName',
|
|
5331
|
+
kind: 'Scalar',
|
|
5332
|
+
required: false
|
|
5333
|
+
},
|
|
4927
5334
|
{
|
|
4928
5335
|
name: 'filterLogic',
|
|
4929
5336
|
kind: 'Scalar',
|
|
@@ -4965,6 +5372,11 @@ const select$B = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
4965
5372
|
kind: 'Scalar',
|
|
4966
5373
|
required: false
|
|
4967
5374
|
},
|
|
5375
|
+
{
|
|
5376
|
+
name: 'level',
|
|
5377
|
+
kind: 'Scalar',
|
|
5378
|
+
required: false
|
|
5379
|
+
},
|
|
4968
5380
|
{
|
|
4969
5381
|
name: 'semanticDataType',
|
|
4970
5382
|
kind: 'Scalar',
|
|
@@ -5170,6 +5582,32 @@ function equals$m(existing, incoming) {
|
|
|
5170
5582
|
return false;
|
|
5171
5583
|
}
|
|
5172
5584
|
}
|
|
5585
|
+
const existing_externalConnectionApiName = existing.externalConnectionApiName;
|
|
5586
|
+
const incoming_externalConnectionApiName = incoming.externalConnectionApiName;
|
|
5587
|
+
// if at least one of these optionals is defined
|
|
5588
|
+
if (existing_externalConnectionApiName !== undefined || incoming_externalConnectionApiName !== undefined) {
|
|
5589
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5590
|
+
// not equal
|
|
5591
|
+
if (existing_externalConnectionApiName === undefined || incoming_externalConnectionApiName === undefined) {
|
|
5592
|
+
return false;
|
|
5593
|
+
}
|
|
5594
|
+
if (!(existing_externalConnectionApiName === incoming_externalConnectionApiName)) {
|
|
5595
|
+
return false;
|
|
5596
|
+
}
|
|
5597
|
+
}
|
|
5598
|
+
const existing_externalStorageName = existing.externalStorageName;
|
|
5599
|
+
const incoming_externalStorageName = incoming.externalStorageName;
|
|
5600
|
+
// if at least one of these optionals is defined
|
|
5601
|
+
if (existing_externalStorageName !== undefined || incoming_externalStorageName !== undefined) {
|
|
5602
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5603
|
+
// not equal
|
|
5604
|
+
if (existing_externalStorageName === undefined || incoming_externalStorageName === undefined) {
|
|
5605
|
+
return false;
|
|
5606
|
+
}
|
|
5607
|
+
if (!(existing_externalStorageName === incoming_externalStorageName)) {
|
|
5608
|
+
return false;
|
|
5609
|
+
}
|
|
5610
|
+
}
|
|
5173
5611
|
const existing_filterLogic = existing.filterLogic;
|
|
5174
5612
|
const incoming_filterLogic = incoming.filterLogic;
|
|
5175
5613
|
// if at least one of these optionals is defined
|
|
@@ -5227,6 +5665,19 @@ function equals$m(existing, incoming) {
|
|
|
5227
5665
|
return false;
|
|
5228
5666
|
}
|
|
5229
5667
|
}
|
|
5668
|
+
const existing_level = existing.level;
|
|
5669
|
+
const incoming_level = incoming.level;
|
|
5670
|
+
// if at least one of these optionals is defined
|
|
5671
|
+
if (existing_level !== undefined || incoming_level !== undefined) {
|
|
5672
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5673
|
+
// not equal
|
|
5674
|
+
if (existing_level === undefined || incoming_level === undefined) {
|
|
5675
|
+
return false;
|
|
5676
|
+
}
|
|
5677
|
+
if (!(existing_level === incoming_level)) {
|
|
5678
|
+
return false;
|
|
5679
|
+
}
|
|
5680
|
+
}
|
|
5230
5681
|
const existing_semanticDataType = existing.semanticDataType;
|
|
5231
5682
|
const incoming_semanticDataType = incoming.semanticDataType;
|
|
5232
5683
|
// if at least one of these optionals is defined
|
|
@@ -5302,7 +5753,7 @@ function equals$m(existing, incoming) {
|
|
|
5302
5753
|
return false;
|
|
5303
5754
|
}
|
|
5304
5755
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
5305
|
-
if (!(equals$
|
|
5756
|
+
if (!(equals$y(existing_filters_item, incoming_filters_item))) {
|
|
5306
5757
|
return false;
|
|
5307
5758
|
}
|
|
5308
5759
|
});
|
|
@@ -5403,6 +5854,13 @@ function validate$v(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
5403
5854
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
5404
5855
|
}
|
|
5405
5856
|
}
|
|
5857
|
+
if (obj.externalStorageName !== undefined) {
|
|
5858
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
5859
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
5860
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
5861
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
5862
|
+
}
|
|
5863
|
+
}
|
|
5406
5864
|
const obj_id = obj.id;
|
|
5407
5865
|
const path_id = path + '.id';
|
|
5408
5866
|
if (typeof obj_id !== 'string') {
|
|
@@ -5471,6 +5929,13 @@ function validate$v(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
5471
5929
|
return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
|
|
5472
5930
|
}
|
|
5473
5931
|
}
|
|
5932
|
+
if (obj.storageDataType !== undefined) {
|
|
5933
|
+
const obj_storageDataType = obj.storageDataType;
|
|
5934
|
+
const path_storageDataType = path + '.storageDataType';
|
|
5935
|
+
if (typeof obj_storageDataType !== 'string') {
|
|
5936
|
+
return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
|
|
5937
|
+
}
|
|
5938
|
+
}
|
|
5474
5939
|
})();
|
|
5475
5940
|
return v_error === undefined ? null : v_error;
|
|
5476
5941
|
}
|
|
@@ -5558,6 +6023,13 @@ function validate$u(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
5558
6023
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
5559
6024
|
}
|
|
5560
6025
|
}
|
|
6026
|
+
if (obj.externalStorageName !== undefined) {
|
|
6027
|
+
const obj_externalStorageName = obj.externalStorageName;
|
|
6028
|
+
const path_externalStorageName = path + '.externalStorageName';
|
|
6029
|
+
if (typeof obj_externalStorageName !== 'string') {
|
|
6030
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalStorageName + '" (at "' + path_externalStorageName + '")');
|
|
6031
|
+
}
|
|
6032
|
+
}
|
|
5561
6033
|
const obj_id = obj.id;
|
|
5562
6034
|
const path_id = path + '.id';
|
|
5563
6035
|
if (typeof obj_id !== 'string') {
|
|
@@ -5647,11 +6119,18 @@ function validate$u(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
5647
6119
|
return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
|
|
5648
6120
|
}
|
|
5649
6121
|
}
|
|
6122
|
+
if (obj.storageDataType !== undefined) {
|
|
6123
|
+
const obj_storageDataType = obj.storageDataType;
|
|
6124
|
+
const path_storageDataType = path + '.storageDataType';
|
|
6125
|
+
if (typeof obj_storageDataType !== 'string') {
|
|
6126
|
+
return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
|
|
6127
|
+
}
|
|
6128
|
+
}
|
|
5650
6129
|
})();
|
|
5651
6130
|
return v_error === undefined ? null : v_error;
|
|
5652
6131
|
}
|
|
5653
6132
|
|
|
5654
|
-
const VERSION$l = "
|
|
6133
|
+
const VERSION$l = "bfd1e674b4ba4471bf20fd29dda1f7e7";
|
|
5655
6134
|
function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
5656
6135
|
const v_error = (() => {
|
|
5657
6136
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5707,6 +6186,13 @@ function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5707
6186
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
5708
6187
|
}
|
|
5709
6188
|
}
|
|
6189
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
6190
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
6191
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
6192
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
6193
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
6194
|
+
}
|
|
6195
|
+
}
|
|
5710
6196
|
if (obj.filterLogic !== undefined) {
|
|
5711
6197
|
const obj_filterLogic = obj.filterLogic;
|
|
5712
6198
|
const path_filterLogic = path + '.filterLogic';
|
|
@@ -5723,7 +6209,7 @@ function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5723
6209
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5724
6210
|
const obj_filters_item = obj_filters[i];
|
|
5725
6211
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5726
|
-
const referencepath_filters_itemValidationError = validate$
|
|
6212
|
+
const referencepath_filters_itemValidationError = validate$16(obj_filters_item, path_filters_item);
|
|
5727
6213
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5728
6214
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5729
6215
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5819,6 +6305,13 @@ function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5819
6305
|
return new TypeError('Expected "boolean" but received "' + typeof obj_shouldIncludeAllFields + '" (at "' + path_shouldIncludeAllFields + '")');
|
|
5820
6306
|
}
|
|
5821
6307
|
}
|
|
6308
|
+
if (obj.tableType !== undefined) {
|
|
6309
|
+
const obj_tableType = obj.tableType;
|
|
6310
|
+
const path_tableType = path + '.tableType';
|
|
6311
|
+
if (typeof obj_tableType !== 'string') {
|
|
6312
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
6313
|
+
}
|
|
6314
|
+
}
|
|
5822
6315
|
})();
|
|
5823
6316
|
return v_error === undefined ? null : v_error;
|
|
5824
6317
|
}
|
|
@@ -6201,7 +6694,7 @@ function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
6201
6694
|
}
|
|
6202
6695
|
const obj_fieldReference = obj.fieldReference;
|
|
6203
6696
|
const path_fieldReference = path + '.fieldReference';
|
|
6204
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
6697
|
+
const referencepath_fieldReferenceValidationError = validate$17(obj_fieldReference, path_fieldReference);
|
|
6205
6698
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
6206
6699
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
6207
6700
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6256,7 +6749,7 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
|
6256
6749
|
}
|
|
6257
6750
|
const select$v = function SemanticGroupingOutputRepresentationSelect() {
|
|
6258
6751
|
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$w();
|
|
6259
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
6752
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$Q();
|
|
6260
6753
|
return {
|
|
6261
6754
|
kind: 'Fragment',
|
|
6262
6755
|
version: VERSION$g,
|
|
@@ -6436,7 +6929,7 @@ function equals$g(existing, incoming) {
|
|
|
6436
6929
|
}
|
|
6437
6930
|
const existing_fieldReference = existing.fieldReference;
|
|
6438
6931
|
const incoming_fieldReference = incoming.fieldReference;
|
|
6439
|
-
if (!(equals$
|
|
6932
|
+
if (!(equals$z(existing_fieldReference, incoming_fieldReference))) {
|
|
6440
6933
|
return false;
|
|
6441
6934
|
}
|
|
6442
6935
|
return true;
|
|
@@ -7116,7 +7609,7 @@ function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
7116
7609
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
7117
7610
|
const obj_fields_item = obj_fields[i];
|
|
7118
7611
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
7119
|
-
const referencepath_fields_itemValidationError = validate$
|
|
7612
|
+
const referencepath_fields_itemValidationError = validate$18(obj_fields_item, path_fields_item);
|
|
7120
7613
|
if (referencepath_fields_itemValidationError !== null) {
|
|
7121
7614
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
7122
7615
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7663,7 +8156,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7663
8156
|
}
|
|
7664
8157
|
}
|
|
7665
8158
|
|
|
7666
|
-
const VERSION$b = "
|
|
8159
|
+
const VERSION$b = "a07c1d2e7b0cc8a4933ca0e63af3ff50";
|
|
7667
8160
|
function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
7668
8161
|
const v_error = (() => {
|
|
7669
8162
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -7728,7 +8221,7 @@ function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7728
8221
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7729
8222
|
const obj_filters_item = obj_filters[i];
|
|
7730
8223
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7731
|
-
const referencepath_filters_itemValidationError = validate$
|
|
8224
|
+
const referencepath_filters_itemValidationError = validate$16(obj_filters_item, path_filters_item);
|
|
7732
8225
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7733
8226
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7734
8227
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7811,6 +8304,13 @@ function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7811
8304
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticViewTypeEnum + '" (at "' + path_semanticViewTypeEnum + '")');
|
|
7812
8305
|
}
|
|
7813
8306
|
}
|
|
8307
|
+
if (obj.tableType !== undefined) {
|
|
8308
|
+
const obj_tableType = obj.tableType;
|
|
8309
|
+
const path_tableType = path + '.tableType';
|
|
8310
|
+
if (typeof obj_tableType !== 'string') {
|
|
8311
|
+
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
8312
|
+
}
|
|
8313
|
+
}
|
|
7814
8314
|
})();
|
|
7815
8315
|
return v_error === undefined ? null : v_error;
|
|
7816
8316
|
}
|
|
@@ -7882,7 +8382,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
7882
8382
|
return input;
|
|
7883
8383
|
}
|
|
7884
8384
|
const select$q = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
7885
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
8385
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$P();
|
|
7886
8386
|
return {
|
|
7887
8387
|
kind: 'Fragment',
|
|
7888
8388
|
version: VERSION$b,
|
|
@@ -7976,6 +8476,11 @@ const select$q = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7976
8476
|
name: 'semanticViewTypeEnum',
|
|
7977
8477
|
kind: 'Scalar',
|
|
7978
8478
|
required: false
|
|
8479
|
+
},
|
|
8480
|
+
{
|
|
8481
|
+
name: 'tableType',
|
|
8482
|
+
kind: 'Scalar',
|
|
8483
|
+
required: false
|
|
7979
8484
|
}
|
|
7980
8485
|
]
|
|
7981
8486
|
};
|
|
@@ -8118,6 +8623,19 @@ function equals$b(existing, incoming) {
|
|
|
8118
8623
|
return false;
|
|
8119
8624
|
}
|
|
8120
8625
|
}
|
|
8626
|
+
const existing_tableType = existing.tableType;
|
|
8627
|
+
const incoming_tableType = incoming.tableType;
|
|
8628
|
+
// if at least one of these optionals is defined
|
|
8629
|
+
if (existing_tableType !== undefined || incoming_tableType !== undefined) {
|
|
8630
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8631
|
+
// not equal
|
|
8632
|
+
if (existing_tableType === undefined || incoming_tableType === undefined) {
|
|
8633
|
+
return false;
|
|
8634
|
+
}
|
|
8635
|
+
if (!(existing_tableType === incoming_tableType)) {
|
|
8636
|
+
return false;
|
|
8637
|
+
}
|
|
8638
|
+
}
|
|
8121
8639
|
const existing_filters = existing.filters;
|
|
8122
8640
|
const incoming_filters = incoming.filters;
|
|
8123
8641
|
// if at least one of these optionals is defined
|
|
@@ -8128,7 +8646,7 @@ function equals$b(existing, incoming) {
|
|
|
8128
8646
|
return false;
|
|
8129
8647
|
}
|
|
8130
8648
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
8131
|
-
if (!(equals$
|
|
8649
|
+
if (!(equals$y(existing_filters_item, incoming_filters_item))) {
|
|
8132
8650
|
return false;
|
|
8133
8651
|
}
|
|
8134
8652
|
});
|
|
@@ -8797,7 +9315,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8797
9315
|
});
|
|
8798
9316
|
}
|
|
8799
9317
|
|
|
8800
|
-
const VERSION$8 = "
|
|
9318
|
+
const VERSION$8 = "b9f10c6da39956d7c5fc9f4852c0536e";
|
|
8801
9319
|
function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
8802
9320
|
const v_error = (() => {
|
|
8803
9321
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8831,7 +9349,7 @@ function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8831
9349
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
8832
9350
|
const obj_baseModels_item = obj_baseModels[i];
|
|
8833
9351
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
8834
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
9352
|
+
const referencepath_baseModels_itemValidationError = validate$10(obj_baseModels_item, path_baseModels_item);
|
|
8835
9353
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
8836
9354
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
8837
9355
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8882,6 +9400,23 @@ function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8882
9400
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
8883
9401
|
}
|
|
8884
9402
|
}
|
|
9403
|
+
if (obj.externalConnections !== undefined) {
|
|
9404
|
+
const obj_externalConnections = obj.externalConnections;
|
|
9405
|
+
const path_externalConnections = path + '.externalConnections';
|
|
9406
|
+
if (!ArrayIsArray(obj_externalConnections)) {
|
|
9407
|
+
return new TypeError('Expected "array" but received "' + typeof obj_externalConnections + '" (at "' + path_externalConnections + '")');
|
|
9408
|
+
}
|
|
9409
|
+
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
9410
|
+
const obj_externalConnections_item = obj_externalConnections[i];
|
|
9411
|
+
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
9412
|
+
const referencepath_externalConnections_itemValidationError = validate$y(obj_externalConnections_item, path_externalConnections_item);
|
|
9413
|
+
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
9414
|
+
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
9415
|
+
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
9416
|
+
return new TypeError(message);
|
|
9417
|
+
}
|
|
9418
|
+
}
|
|
9419
|
+
}
|
|
8885
9420
|
const obj_id = obj.id;
|
|
8886
9421
|
const path_id = path + '.id';
|
|
8887
9422
|
if (typeof obj_id !== 'string') {
|
|
@@ -9272,7 +9807,8 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
9272
9807
|
return input;
|
|
9273
9808
|
}
|
|
9274
9809
|
const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
9275
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
9810
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$I();
|
|
9811
|
+
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$D();
|
|
9276
9812
|
return {
|
|
9277
9813
|
kind: 'Fragment',
|
|
9278
9814
|
version: VERSION$8,
|
|
@@ -9327,6 +9863,13 @@ const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
|
9327
9863
|
kind: 'Scalar',
|
|
9328
9864
|
required: false
|
|
9329
9865
|
},
|
|
9866
|
+
{
|
|
9867
|
+
name: 'externalConnections',
|
|
9868
|
+
kind: 'Object',
|
|
9869
|
+
plural: true,
|
|
9870
|
+
selections: SemanticModelExternalConnectionOutputRepresentation__selections,
|
|
9871
|
+
required: false
|
|
9872
|
+
},
|
|
9330
9873
|
{
|
|
9331
9874
|
name: 'id',
|
|
9332
9875
|
kind: 'Scalar'
|
|
@@ -9416,7 +9959,7 @@ const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
|
9416
9959
|
kind: 'Link',
|
|
9417
9960
|
plural: true,
|
|
9418
9961
|
required: false,
|
|
9419
|
-
fragment: select$
|
|
9962
|
+
fragment: select$L()
|
|
9420
9963
|
},
|
|
9421
9964
|
{
|
|
9422
9965
|
name: 'semanticParameters',
|
|
@@ -9699,7 +10242,7 @@ function equals$8(existing, incoming) {
|
|
|
9699
10242
|
return false;
|
|
9700
10243
|
}
|
|
9701
10244
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
9702
|
-
if (!(equals$
|
|
10245
|
+
if (!(equals$s(existing_baseModels_item, incoming_baseModels_item))) {
|
|
9703
10246
|
return false;
|
|
9704
10247
|
}
|
|
9705
10248
|
});
|
|
@@ -9725,6 +10268,24 @@ function equals$8(existing, incoming) {
|
|
|
9725
10268
|
return false;
|
|
9726
10269
|
}
|
|
9727
10270
|
}
|
|
10271
|
+
const existing_externalConnections = existing.externalConnections;
|
|
10272
|
+
const incoming_externalConnections = incoming.externalConnections;
|
|
10273
|
+
// if at least one of these optionals is defined
|
|
10274
|
+
if (existing_externalConnections !== undefined || incoming_externalConnections !== undefined) {
|
|
10275
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10276
|
+
// not equal
|
|
10277
|
+
if (existing_externalConnections === undefined || incoming_externalConnections === undefined) {
|
|
10278
|
+
return false;
|
|
10279
|
+
}
|
|
10280
|
+
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
10281
|
+
if (!(equals$o(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
10282
|
+
return false;
|
|
10283
|
+
}
|
|
10284
|
+
});
|
|
10285
|
+
if (equals_externalConnections_items === false) {
|
|
10286
|
+
return false;
|
|
10287
|
+
}
|
|
10288
|
+
}
|
|
9728
10289
|
const existing_semanticCalculatedDimensions = existing.semanticCalculatedDimensions;
|
|
9729
10290
|
const incoming_semanticCalculatedDimensions = incoming.semanticCalculatedDimensions;
|
|
9730
10291
|
// if at least one of these optionals is defined
|
|
@@ -10003,6 +10564,7 @@ const createSemanticModel_ConfigPropertyMetadata = [
|
|
|
10003
10564
|
generateParamConfigMetadata('sourceCreation', false, 2 /* Body */, 0 /* String */),
|
|
10004
10565
|
generateParamConfigMetadata('sourceCreationName', false, 2 /* Body */, 0 /* String */),
|
|
10005
10566
|
generateParamConfigMetadata('baseModels', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10567
|
+
generateParamConfigMetadata('externalConnections', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10006
10568
|
generateParamConfigMetadata('semanticCalculatedDimensions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10007
10569
|
generateParamConfigMetadata('semanticCalculatedMeasurements', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10008
10570
|
generateParamConfigMetadata('semanticDataObjects', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -10022,19 +10584,31 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10022
10584
|
const untrustedConfig_baseModels_array = [];
|
|
10023
10585
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
10024
10586
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
10025
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
10587
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$Z(untrustedConfig_baseModels_item);
|
|
10026
10588
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
10027
10589
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
10028
10590
|
}
|
|
10029
10591
|
}
|
|
10030
10592
|
config.baseModels = untrustedConfig_baseModels_array;
|
|
10031
10593
|
}
|
|
10594
|
+
const untrustedConfig_externalConnections = untrustedConfig.externalConnections;
|
|
10595
|
+
if (ArrayIsArray$1(untrustedConfig_externalConnections)) {
|
|
10596
|
+
const untrustedConfig_externalConnections_array = [];
|
|
10597
|
+
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
10598
|
+
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
10599
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$X(untrustedConfig_externalConnections_item);
|
|
10600
|
+
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
10601
|
+
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
10602
|
+
}
|
|
10603
|
+
}
|
|
10604
|
+
config.externalConnections = untrustedConfig_externalConnections_array;
|
|
10605
|
+
}
|
|
10032
10606
|
const untrustedConfig_semanticCalculatedDimensions = untrustedConfig.semanticCalculatedDimensions;
|
|
10033
10607
|
if (ArrayIsArray$1(untrustedConfig_semanticCalculatedDimensions)) {
|
|
10034
10608
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10035
10609
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10036
10610
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10037
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
10611
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10038
10612
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10039
10613
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10040
10614
|
}
|
|
@@ -10046,7 +10620,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10046
10620
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10047
10621
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10048
10622
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10049
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
10623
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$U(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10050
10624
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10051
10625
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10052
10626
|
}
|
|
@@ -10058,7 +10632,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10058
10632
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10059
10633
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
10060
10634
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
10061
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10635
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$R(untrustedConfig_semanticDataObjects_item);
|
|
10062
10636
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
10063
10637
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
10064
10638
|
}
|
|
@@ -10070,7 +10644,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10070
10644
|
const untrustedConfig_semanticGroupings_array = [];
|
|
10071
10645
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
10072
10646
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
10073
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10647
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$K(untrustedConfig_semanticGroupings_item);
|
|
10074
10648
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
10075
10649
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
10076
10650
|
}
|
|
@@ -10082,7 +10656,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10082
10656
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
10083
10657
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
10084
10658
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
10085
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10659
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$F(untrustedConfig_semanticLogicalViews_item);
|
|
10086
10660
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
10087
10661
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
10088
10662
|
}
|
|
@@ -10094,7 +10668,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10094
10668
|
const untrustedConfig_semanticMetrics_array = [];
|
|
10095
10669
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
10096
10670
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
10097
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10671
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$B(untrustedConfig_semanticMetrics_item);
|
|
10098
10672
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
10099
10673
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
10100
10674
|
}
|
|
@@ -10106,7 +10680,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10106
10680
|
const untrustedConfig_semanticParameters_array = [];
|
|
10107
10681
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
10108
10682
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
10109
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10683
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$A(untrustedConfig_semanticParameters_item);
|
|
10110
10684
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
10111
10685
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
10112
10686
|
}
|
|
@@ -10118,7 +10692,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10118
10692
|
const untrustedConfig_semanticRelationships_array = [];
|
|
10119
10693
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
10120
10694
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
10121
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10695
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$I(untrustedConfig_semanticRelationships_item);
|
|
10122
10696
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
10123
10697
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
10124
10698
|
}
|
|
@@ -10356,6 +10930,7 @@ const patchSemanticModel_ConfigPropertyMetadata = [
|
|
|
10356
10930
|
generateParamConfigMetadata('sourceCreation', false, 2 /* Body */, 0 /* String */),
|
|
10357
10931
|
generateParamConfigMetadata('sourceCreationName', false, 2 /* Body */, 0 /* String */),
|
|
10358
10932
|
generateParamConfigMetadata('baseModels', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10933
|
+
generateParamConfigMetadata('externalConnections', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10359
10934
|
generateParamConfigMetadata('semanticCalculatedDimensions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10360
10935
|
generateParamConfigMetadata('semanticCalculatedMeasurements', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10361
10936
|
generateParamConfigMetadata('semanticDataObjects', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
@@ -10375,19 +10950,31 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10375
10950
|
const untrustedConfig_baseModels_array = [];
|
|
10376
10951
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
10377
10952
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
10378
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
10953
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$Z(untrustedConfig_baseModels_item);
|
|
10379
10954
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
10380
10955
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
10381
10956
|
}
|
|
10382
10957
|
}
|
|
10383
10958
|
config.baseModels = untrustedConfig_baseModels_array;
|
|
10384
10959
|
}
|
|
10960
|
+
const untrustedConfig_externalConnections = untrustedConfig.externalConnections;
|
|
10961
|
+
if (ArrayIsArray$1(untrustedConfig_externalConnections)) {
|
|
10962
|
+
const untrustedConfig_externalConnections_array = [];
|
|
10963
|
+
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
10964
|
+
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
10965
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$X(untrustedConfig_externalConnections_item);
|
|
10966
|
+
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
10967
|
+
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
10968
|
+
}
|
|
10969
|
+
}
|
|
10970
|
+
config.externalConnections = untrustedConfig_externalConnections_array;
|
|
10971
|
+
}
|
|
10385
10972
|
const untrustedConfig_semanticCalculatedDimensions = untrustedConfig.semanticCalculatedDimensions;
|
|
10386
10973
|
if (ArrayIsArray$1(untrustedConfig_semanticCalculatedDimensions)) {
|
|
10387
10974
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10388
10975
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10389
10976
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10390
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
10977
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10391
10978
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10392
10979
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10393
10980
|
}
|
|
@@ -10399,7 +10986,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10399
10986
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10400
10987
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10401
10988
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10402
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
10989
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$U(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10403
10990
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10404
10991
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10405
10992
|
}
|
|
@@ -10411,7 +10998,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10411
10998
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10412
10999
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
10413
11000
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
10414
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
11001
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$R(untrustedConfig_semanticDataObjects_item);
|
|
10415
11002
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
10416
11003
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
10417
11004
|
}
|
|
@@ -10423,7 +11010,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10423
11010
|
const untrustedConfig_semanticGroupings_array = [];
|
|
10424
11011
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
10425
11012
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
10426
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
11013
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$K(untrustedConfig_semanticGroupings_item);
|
|
10427
11014
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
10428
11015
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
10429
11016
|
}
|
|
@@ -10435,7 +11022,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10435
11022
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
10436
11023
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
10437
11024
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
10438
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
11025
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$F(untrustedConfig_semanticLogicalViews_item);
|
|
10439
11026
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
10440
11027
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
10441
11028
|
}
|
|
@@ -10447,7 +11034,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10447
11034
|
const untrustedConfig_semanticMetrics_array = [];
|
|
10448
11035
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
10449
11036
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
10450
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
11037
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$B(untrustedConfig_semanticMetrics_item);
|
|
10451
11038
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
10452
11039
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
10453
11040
|
}
|
|
@@ -10459,7 +11046,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10459
11046
|
const untrustedConfig_semanticParameters_array = [];
|
|
10460
11047
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
10461
11048
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
10462
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
11049
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$A(untrustedConfig_semanticParameters_item);
|
|
10463
11050
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
10464
11051
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
10465
11052
|
}
|
|
@@ -10471,7 +11058,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
10471
11058
|
const untrustedConfig_semanticRelationships_array = [];
|
|
10472
11059
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
10473
11060
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
10474
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
11061
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$I(untrustedConfig_semanticRelationships_item);
|
|
10475
11062
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
10476
11063
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
10477
11064
|
}
|
|
@@ -11836,7 +12423,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
11836
12423
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
11837
12424
|
const obj_filters_item = obj_filters[i];
|
|
11838
12425
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
11839
|
-
const referencepath_filters_itemValidationError = validate$
|
|
12426
|
+
const referencepath_filters_itemValidationError = validate$16(obj_filters_item, path_filters_item);
|
|
11840
12427
|
if (referencepath_filters_itemValidationError !== null) {
|
|
11841
12428
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
11842
12429
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11890,7 +12477,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
11890
12477
|
if (obj.semanticMetric !== undefined) {
|
|
11891
12478
|
const obj_semanticMetric = obj.semanticMetric;
|
|
11892
12479
|
const path_semanticMetric = path + '.semanticMetric';
|
|
11893
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
12480
|
+
const referencepath_semanticMetricValidationError = validate$12(obj_semanticMetric, path_semanticMetric);
|
|
11894
12481
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
11895
12482
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
11896
12483
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12338,7 +12925,7 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
12338
12925
|
};
|
|
12339
12926
|
|
|
12340
12927
|
function select$7(luvio, params) {
|
|
12341
|
-
return select$
|
|
12928
|
+
return select$K();
|
|
12342
12929
|
}
|
|
12343
12930
|
function keyBuilder$b(luvio, params) {
|
|
12344
12931
|
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
|
|
@@ -12470,7 +13057,7 @@ const getSemanticMetricsAdapterFactory = (luvio) => function SemanticAuthoring__
|
|
|
12470
13057
|
};
|
|
12471
13058
|
|
|
12472
13059
|
function select$6(luvio, params) {
|
|
12473
|
-
return select$
|
|
13060
|
+
return select$L();
|
|
12474
13061
|
}
|
|
12475
13062
|
function keyBuilder$9(luvio, params) {
|
|
12476
13063
|
return keyBuilder$B(luvio, {
|
|
@@ -12968,7 +13555,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
12968
13555
|
const untrustedConfig_filters_array = [];
|
|
12969
13556
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
12970
13557
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
12971
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
13558
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$W(untrustedConfig_filters_item);
|
|
12972
13559
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
12973
13560
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
12974
13561
|
}
|