@salesforce/lds-adapters-cdp-semantic-authoring 1.391.0 → 1.393.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 +1247 -699
- 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/deleteSsotSemanticModelsModelFiltersByFilterNameOrIdAndModelApiNameOrId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsModelFiltersByFilterNameOrIdAndModelApiNameOrId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsModelFiltersByModelApiNameOrId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModels.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsModelFiltersByModelApiNameOrId.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsModelFiltersByFilterNameOrIdAndModelApiNameOrId.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelFilterCollectionOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelFilterInputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelFilterOutputRepresentation.d.ts +80 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +7 -1
- package/package.json +3 -3
- package/sfdc/index.js +1226 -678
- package/src/raml/api.raml +181 -0
- package/src/raml/luvio.raml +3 -0
|
@@ -92,8 +92,8 @@ function createLink(ref) {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
const VERSION$
|
|
96
|
-
function validate$
|
|
95
|
+
const VERSION$B = "a2976cd68e629a917463a3b690cf2527";
|
|
96
|
+
function validate$1d(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$1b(obj, path = 'SemanticTableFieldReferenceOutputRepresentatio
|
|
|
115
115
|
})();
|
|
116
116
|
return v_error === undefined ? null : v_error;
|
|
117
117
|
}
|
|
118
|
-
const select$
|
|
118
|
+
const select$S = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
119
119
|
return {
|
|
120
120
|
kind: 'Fragment',
|
|
121
|
-
version: VERSION$
|
|
121
|
+
version: VERSION$B,
|
|
122
122
|
private: [],
|
|
123
123
|
selections: [
|
|
124
124
|
{
|
|
@@ -134,7 +134,7 @@ const select$R = function SemanticTableFieldReferenceOutputRepresentationSelect(
|
|
|
134
134
|
]
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
|
-
function equals$
|
|
137
|
+
function equals$B(existing, incoming) {
|
|
138
138
|
const existing_fieldApiName = existing.fieldApiName;
|
|
139
139
|
const incoming_fieldApiName = incoming.fieldApiName;
|
|
140
140
|
// if at least one of these optionals is defined
|
|
@@ -164,8 +164,8 @@ function equals$A(existing, incoming) {
|
|
|
164
164
|
return true;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
const VERSION$
|
|
168
|
-
function validate$
|
|
167
|
+
const VERSION$A = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
168
|
+
function validate$1c(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$1a(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$1d(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$1a(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
190
190
|
})();
|
|
191
191
|
return v_error === undefined ? null : v_error;
|
|
192
192
|
}
|
|
193
|
-
const select$
|
|
194
|
-
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$
|
|
193
|
+
const select$R = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
194
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$S();
|
|
195
195
|
return {
|
|
196
196
|
kind: 'Fragment',
|
|
197
|
-
version: VERSION$
|
|
197
|
+
version: VERSION$A,
|
|
198
198
|
private: [],
|
|
199
199
|
selections: [
|
|
200
200
|
{
|
|
@@ -211,7 +211,7 @@ const select$Q = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
|
211
211
|
]
|
|
212
212
|
};
|
|
213
213
|
};
|
|
214
|
-
function equals$
|
|
214
|
+
function equals$A(existing, incoming) {
|
|
215
215
|
const existing_calculatedFieldApiName = existing.calculatedFieldApiName;
|
|
216
216
|
const incoming_calculatedFieldApiName = incoming.calculatedFieldApiName;
|
|
217
217
|
// if at least one of these optionals is defined
|
|
@@ -234,15 +234,15 @@ function equals$z(existing, incoming) {
|
|
|
234
234
|
if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
|
|
235
235
|
return false;
|
|
236
236
|
}
|
|
237
|
-
if (!(equals$
|
|
237
|
+
if (!(equals$B(existing_tableFieldReference, incoming_tableFieldReference))) {
|
|
238
238
|
return false;
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
return true;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
const VERSION$
|
|
245
|
-
function validate$
|
|
244
|
+
const VERSION$z = "358bb714d100a35ad75fc928fa462760";
|
|
245
|
+
function validate$1b(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 + '")');
|
|
@@ -285,10 +285,10 @@ function validate$19(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
|
285
285
|
})();
|
|
286
286
|
return v_error === undefined ? null : v_error;
|
|
287
287
|
}
|
|
288
|
-
const select$
|
|
288
|
+
const select$Q = function SemanticFilterOutputRepresentationSelect() {
|
|
289
289
|
return {
|
|
290
290
|
kind: 'Fragment',
|
|
291
|
-
version: VERSION$
|
|
291
|
+
version: VERSION$z,
|
|
292
292
|
private: [],
|
|
293
293
|
selections: [
|
|
294
294
|
{
|
|
@@ -315,7 +315,7 @@ const select$P = function SemanticFilterOutputRepresentationSelect() {
|
|
|
315
315
|
]
|
|
316
316
|
};
|
|
317
317
|
};
|
|
318
|
-
function equals$
|
|
318
|
+
function equals$z(existing, incoming) {
|
|
319
319
|
const existing_fieldName = existing.fieldName;
|
|
320
320
|
const incoming_fieldName = incoming.fieldName;
|
|
321
321
|
// if at least one of these optionals is defined
|
|
@@ -376,8 +376,8 @@ function equals$y(existing, incoming) {
|
|
|
376
376
|
return true;
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
-
const VERSION$
|
|
380
|
-
function validate$
|
|
379
|
+
const VERSION$y = "abbe4306b9ecdab2a1f50709c75eb26a";
|
|
380
|
+
function validate$1a(obj, path = 'SemanticMetricForecastConfigurationOutputRepresentation') {
|
|
381
381
|
const v_error = (() => {
|
|
382
382
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
383
383
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -385,7 +385,7 @@ function validate$18(obj, path = 'SemanticMetricForecastConfigurationOutputRepre
|
|
|
385
385
|
if (obj.forecastMeasurementReference !== undefined) {
|
|
386
386
|
const obj_forecastMeasurementReference = obj.forecastMeasurementReference;
|
|
387
387
|
const path_forecastMeasurementReference = path + '.forecastMeasurementReference';
|
|
388
|
-
const referencepath_forecastMeasurementReferenceValidationError = validate$
|
|
388
|
+
const referencepath_forecastMeasurementReferenceValidationError = validate$1c(obj_forecastMeasurementReference, path_forecastMeasurementReference);
|
|
389
389
|
if (referencepath_forecastMeasurementReferenceValidationError !== null) {
|
|
390
390
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_forecastMeasurementReference + '")\n';
|
|
391
391
|
message += referencepath_forecastMeasurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -395,11 +395,11 @@ function validate$18(obj, path = 'SemanticMetricForecastConfigurationOutputRepre
|
|
|
395
395
|
})();
|
|
396
396
|
return v_error === undefined ? null : v_error;
|
|
397
397
|
}
|
|
398
|
-
const select$
|
|
399
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
398
|
+
const select$P = function SemanticMetricForecastConfigurationOutputRepresentationSelect() {
|
|
399
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$R();
|
|
400
400
|
return {
|
|
401
401
|
kind: 'Fragment',
|
|
402
|
-
version: VERSION$
|
|
402
|
+
version: VERSION$y,
|
|
403
403
|
private: [],
|
|
404
404
|
selections: [
|
|
405
405
|
{
|
|
@@ -411,7 +411,7 @@ const select$O = function SemanticMetricForecastConfigurationOutputRepresentatio
|
|
|
411
411
|
]
|
|
412
412
|
};
|
|
413
413
|
};
|
|
414
|
-
function equals$
|
|
414
|
+
function equals$y(existing, incoming) {
|
|
415
415
|
const existing_forecastMeasurementReference = existing.forecastMeasurementReference;
|
|
416
416
|
const incoming_forecastMeasurementReference = incoming.forecastMeasurementReference;
|
|
417
417
|
// if at least one of these optionals is defined
|
|
@@ -421,15 +421,15 @@ function equals$x(existing, incoming) {
|
|
|
421
421
|
if (existing_forecastMeasurementReference === undefined || incoming_forecastMeasurementReference === undefined) {
|
|
422
422
|
return false;
|
|
423
423
|
}
|
|
424
|
-
if (!(equals$
|
|
424
|
+
if (!(equals$A(existing_forecastMeasurementReference, incoming_forecastMeasurementReference))) {
|
|
425
425
|
return false;
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
return true;
|
|
429
429
|
}
|
|
430
430
|
|
|
431
|
-
const VERSION$
|
|
432
|
-
function validate$
|
|
431
|
+
const VERSION$x = "a50848c632bb205d5e910bb726d9219e";
|
|
432
|
+
function validate$19(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
433
433
|
const v_error = (() => {
|
|
434
434
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
435
435
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -437,7 +437,7 @@ function validate$17(obj, path = 'SemanticIdentifyingDimensionOutputRepresentati
|
|
|
437
437
|
if (obj.identifierDimensionReference !== undefined) {
|
|
438
438
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
439
439
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
440
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
440
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$1c(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
441
441
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
442
442
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
443
443
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -447,7 +447,7 @@ function validate$17(obj, path = 'SemanticIdentifyingDimensionOutputRepresentati
|
|
|
447
447
|
if (obj.namingDimensionReference !== undefined) {
|
|
448
448
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
449
449
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
450
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
450
|
+
const referencepath_namingDimensionReferenceValidationError = validate$1c(obj_namingDimensionReference, path_namingDimensionReference);
|
|
451
451
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
452
452
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
453
453
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -457,11 +457,11 @@ function validate$17(obj, path = 'SemanticIdentifyingDimensionOutputRepresentati
|
|
|
457
457
|
})();
|
|
458
458
|
return v_error === undefined ? null : v_error;
|
|
459
459
|
}
|
|
460
|
-
const select$
|
|
461
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
460
|
+
const select$O = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
461
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$R();
|
|
462
462
|
return {
|
|
463
463
|
kind: 'Fragment',
|
|
464
|
-
version: VERSION$
|
|
464
|
+
version: VERSION$x,
|
|
465
465
|
private: [],
|
|
466
466
|
selections: [
|
|
467
467
|
{
|
|
@@ -479,7 +479,7 @@ const select$N = function SemanticIdentifyingDimensionOutputRepresentationSelect
|
|
|
479
479
|
]
|
|
480
480
|
};
|
|
481
481
|
};
|
|
482
|
-
function equals$
|
|
482
|
+
function equals$x(existing, incoming) {
|
|
483
483
|
const existing_identifierDimensionReference = existing.identifierDimensionReference;
|
|
484
484
|
const incoming_identifierDimensionReference = incoming.identifierDimensionReference;
|
|
485
485
|
// if at least one of these optionals is defined
|
|
@@ -489,7 +489,7 @@ function equals$w(existing, incoming) {
|
|
|
489
489
|
if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
|
|
490
490
|
return false;
|
|
491
491
|
}
|
|
492
|
-
if (!(equals$
|
|
492
|
+
if (!(equals$A(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
|
|
493
493
|
return false;
|
|
494
494
|
}
|
|
495
495
|
}
|
|
@@ -502,15 +502,15 @@ function equals$w(existing, incoming) {
|
|
|
502
502
|
if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
|
|
503
503
|
return false;
|
|
504
504
|
}
|
|
505
|
-
if (!(equals$
|
|
505
|
+
if (!(equals$A(existing_namingDimensionReference, incoming_namingDimensionReference))) {
|
|
506
506
|
return false;
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
509
|
return true;
|
|
510
510
|
}
|
|
511
511
|
|
|
512
|
-
const VERSION$
|
|
513
|
-
function validate$
|
|
512
|
+
const VERSION$w = "1b8cf2283d5d5c480459506274f0604c";
|
|
513
|
+
function validate$18(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
514
514
|
const v_error = (() => {
|
|
515
515
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
516
516
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -532,10 +532,10 @@ function validate$16(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
|
532
532
|
})();
|
|
533
533
|
return v_error === undefined ? null : v_error;
|
|
534
534
|
}
|
|
535
|
-
const select$
|
|
535
|
+
const select$N = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
536
536
|
return {
|
|
537
537
|
kind: 'Fragment',
|
|
538
|
-
version: VERSION$
|
|
538
|
+
version: VERSION$w,
|
|
539
539
|
private: [],
|
|
540
540
|
selections: [
|
|
541
541
|
{
|
|
@@ -551,7 +551,7 @@ const select$M = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
|
551
551
|
]
|
|
552
552
|
};
|
|
553
553
|
};
|
|
554
|
-
function equals$
|
|
554
|
+
function equals$w(existing, incoming) {
|
|
555
555
|
const existing_enabled = existing.enabled;
|
|
556
556
|
const incoming_enabled = incoming.enabled;
|
|
557
557
|
// if at least one of these optionals is defined
|
|
@@ -581,8 +581,8 @@ function equals$v(existing, incoming) {
|
|
|
581
581
|
return true;
|
|
582
582
|
}
|
|
583
583
|
|
|
584
|
-
const VERSION$
|
|
585
|
-
function validate$
|
|
584
|
+
const VERSION$v = "1ee2337e8f73261cbb44258b393d1bec";
|
|
585
|
+
function validate$17(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
586
586
|
const v_error = (() => {
|
|
587
587
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
588
588
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -590,7 +590,7 @@ function validate$15(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
590
590
|
if (obj.forecastConfiguration !== undefined) {
|
|
591
591
|
const obj_forecastConfiguration = obj.forecastConfiguration;
|
|
592
592
|
const path_forecastConfiguration = path + '.forecastConfiguration';
|
|
593
|
-
const referencepath_forecastConfigurationValidationError = validate$
|
|
593
|
+
const referencepath_forecastConfigurationValidationError = validate$1a(obj_forecastConfiguration, path_forecastConfiguration);
|
|
594
594
|
if (referencepath_forecastConfigurationValidationError !== null) {
|
|
595
595
|
let message = 'Object doesn\'t match SemanticMetricForecastConfigurationOutputRepresentation (at "' + path_forecastConfiguration + '")\n';
|
|
596
596
|
message += referencepath_forecastConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -600,7 +600,7 @@ function validate$15(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
600
600
|
if (obj.identifyingDimension !== undefined) {
|
|
601
601
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
602
602
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
603
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
603
|
+
const referencepath_identifyingDimensionValidationError = validate$19(obj_identifyingDimension, path_identifyingDimension);
|
|
604
604
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
605
605
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
606
606
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -616,7 +616,7 @@ function validate$15(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
616
616
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
617
617
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
618
618
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
619
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
619
|
+
const referencepath_insightTypes_itemValidationError = validate$18(obj_insightTypes_item, path_insightTypes_item);
|
|
620
620
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
621
621
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
622
622
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -633,7 +633,7 @@ function validate$15(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
633
633
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
634
634
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
635
635
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
636
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
636
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$1c(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
637
637
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
638
638
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
639
639
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -665,14 +665,14 @@ function validate$15(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
665
665
|
})();
|
|
666
666
|
return v_error === undefined ? null : v_error;
|
|
667
667
|
}
|
|
668
|
-
const select$
|
|
669
|
-
const { selections: SemanticMetricForecastConfigurationOutputRepresentation__selections, opaque: SemanticMetricForecastConfigurationOutputRepresentation__opaque, } = select$
|
|
670
|
-
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$
|
|
671
|
-
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$
|
|
672
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
668
|
+
const select$M = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
669
|
+
const { selections: SemanticMetricForecastConfigurationOutputRepresentation__selections, opaque: SemanticMetricForecastConfigurationOutputRepresentation__opaque, } = select$P();
|
|
670
|
+
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$O();
|
|
671
|
+
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$N();
|
|
672
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$R();
|
|
673
673
|
return {
|
|
674
674
|
kind: 'Fragment',
|
|
675
|
-
version: VERSION$
|
|
675
|
+
version: VERSION$v,
|
|
676
676
|
private: [],
|
|
677
677
|
selections: [
|
|
678
678
|
{
|
|
@@ -719,7 +719,7 @@ const select$L = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
|
719
719
|
]
|
|
720
720
|
};
|
|
721
721
|
};
|
|
722
|
-
function equals$
|
|
722
|
+
function equals$v(existing, incoming) {
|
|
723
723
|
const existing_pluralNoun = existing.pluralNoun;
|
|
724
724
|
const incoming_pluralNoun = incoming.pluralNoun;
|
|
725
725
|
// if at least one of these optionals is defined
|
|
@@ -768,7 +768,7 @@ function equals$u(existing, incoming) {
|
|
|
768
768
|
if (existing_forecastConfiguration === undefined || incoming_forecastConfiguration === undefined) {
|
|
769
769
|
return false;
|
|
770
770
|
}
|
|
771
|
-
if (!(equals$
|
|
771
|
+
if (!(equals$y(existing_forecastConfiguration, incoming_forecastConfiguration))) {
|
|
772
772
|
return false;
|
|
773
773
|
}
|
|
774
774
|
}
|
|
@@ -781,7 +781,7 @@ function equals$u(existing, incoming) {
|
|
|
781
781
|
if (existing_identifyingDimension === undefined || incoming_identifyingDimension === undefined) {
|
|
782
782
|
return false;
|
|
783
783
|
}
|
|
784
|
-
if (!(equals$
|
|
784
|
+
if (!(equals$x(existing_identifyingDimension, incoming_identifyingDimension))) {
|
|
785
785
|
return false;
|
|
786
786
|
}
|
|
787
787
|
}
|
|
@@ -795,7 +795,7 @@ function equals$u(existing, incoming) {
|
|
|
795
795
|
return false;
|
|
796
796
|
}
|
|
797
797
|
const equals_insightTypes_items = equalsArray(existing_insightTypes, incoming_insightTypes, (existing_insightTypes_item, incoming_insightTypes_item) => {
|
|
798
|
-
if (!(equals$
|
|
798
|
+
if (!(equals$w(existing_insightTypes_item, incoming_insightTypes_item))) {
|
|
799
799
|
return false;
|
|
800
800
|
}
|
|
801
801
|
});
|
|
@@ -813,7 +813,7 @@ function equals$u(existing, incoming) {
|
|
|
813
813
|
return false;
|
|
814
814
|
}
|
|
815
815
|
const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
|
|
816
|
-
if (!(equals$
|
|
816
|
+
if (!(equals$A(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
|
|
817
817
|
return false;
|
|
818
818
|
}
|
|
819
819
|
});
|
|
@@ -824,8 +824,8 @@ function equals$u(existing, incoming) {
|
|
|
824
824
|
return true;
|
|
825
825
|
}
|
|
826
826
|
|
|
827
|
-
const VERSION$
|
|
828
|
-
function validate$
|
|
827
|
+
const VERSION$u = "3800a2eb703d5a4964899b4e067ee1d8";
|
|
828
|
+
function validate$16(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
829
829
|
const v_error = (() => {
|
|
830
830
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
831
831
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -839,7 +839,7 @@ function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
839
839
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
840
840
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
841
841
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
842
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
842
|
+
const referencepath_additionalDimensions_itemValidationError = validate$1c(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
843
843
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
844
844
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
845
845
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -906,7 +906,7 @@ function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
906
906
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
907
907
|
const obj_filters_item = obj_filters[i];
|
|
908
908
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
909
|
-
const referencepath_filters_itemValidationError = validate$
|
|
909
|
+
const referencepath_filters_itemValidationError = validate$1b(obj_filters_item, path_filters_item);
|
|
910
910
|
if (referencepath_filters_itemValidationError !== null) {
|
|
911
911
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
912
912
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -922,7 +922,7 @@ function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
922
922
|
if (obj.insightsSettings !== undefined) {
|
|
923
923
|
const obj_insightsSettings = obj.insightsSettings;
|
|
924
924
|
const path_insightsSettings = path + '.insightsSettings';
|
|
925
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
925
|
+
const referencepath_insightsSettingsValidationError = validate$17(obj_insightsSettings, path_insightsSettings);
|
|
926
926
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
927
927
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
928
928
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -974,7 +974,7 @@ function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
974
974
|
if (obj.measurementReference !== undefined) {
|
|
975
975
|
const obj_measurementReference = obj.measurementReference;
|
|
976
976
|
const path_measurementReference = path + '.measurementReference';
|
|
977
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
977
|
+
const referencepath_measurementReferenceValidationError = validate$1c(obj_measurementReference, path_measurementReference);
|
|
978
978
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
979
979
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
980
980
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -984,7 +984,7 @@ function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
984
984
|
if (obj.timeDimensionReference !== undefined) {
|
|
985
985
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
986
986
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
987
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
987
|
+
const referencepath_timeDimensionReferenceValidationError = validate$1c(obj_timeDimensionReference, path_timeDimensionReference);
|
|
988
988
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
989
989
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
990
990
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1015,26 +1015,26 @@ function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
1015
1015
|
})();
|
|
1016
1016
|
return v_error === undefined ? null : v_error;
|
|
1017
1017
|
}
|
|
1018
|
-
const RepresentationType$
|
|
1019
|
-
function keyBuilder$
|
|
1020
|
-
return keyPrefix + '::' + RepresentationType$
|
|
1018
|
+
const RepresentationType$j = 'SemanticMetricOutputRepresentation';
|
|
1019
|
+
function keyBuilder$C(luvio, config) {
|
|
1020
|
+
return keyPrefix + '::' + RepresentationType$j + ':' + config.name;
|
|
1021
1021
|
}
|
|
1022
|
-
function keyBuilderFromType$
|
|
1022
|
+
function keyBuilderFromType$d(luvio, object) {
|
|
1023
1023
|
const keyParams = {
|
|
1024
1024
|
name: object.id
|
|
1025
1025
|
};
|
|
1026
|
-
return keyBuilder$
|
|
1026
|
+
return keyBuilder$C(luvio, keyParams);
|
|
1027
1027
|
}
|
|
1028
|
-
function normalize$
|
|
1028
|
+
function normalize$j(input, existing, path, luvio, store, timestamp) {
|
|
1029
1029
|
return input;
|
|
1030
1030
|
}
|
|
1031
|
-
const select$
|
|
1032
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
1033
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
1034
|
-
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$
|
|
1031
|
+
const select$L = function SemanticMetricOutputRepresentationSelect() {
|
|
1032
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$R();
|
|
1033
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
1034
|
+
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$M();
|
|
1035
1035
|
return {
|
|
1036
1036
|
kind: 'Fragment',
|
|
1037
|
-
version: VERSION$
|
|
1037
|
+
version: VERSION$u,
|
|
1038
1038
|
private: [],
|
|
1039
1039
|
selections: [
|
|
1040
1040
|
{
|
|
@@ -1154,7 +1154,7 @@ const select$K = function SemanticMetricOutputRepresentationSelect() {
|
|
|
1154
1154
|
]
|
|
1155
1155
|
};
|
|
1156
1156
|
};
|
|
1157
|
-
function equals$
|
|
1157
|
+
function equals$u(existing, incoming) {
|
|
1158
1158
|
const existing_isCumulative = existing.isCumulative;
|
|
1159
1159
|
const incoming_isCumulative = incoming.isCumulative;
|
|
1160
1160
|
// if at least one of these optionals is defined
|
|
@@ -1341,7 +1341,7 @@ function equals$t(existing, incoming) {
|
|
|
1341
1341
|
return false;
|
|
1342
1342
|
}
|
|
1343
1343
|
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
1344
|
-
if (!(equals$
|
|
1344
|
+
if (!(equals$A(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
1345
1345
|
return false;
|
|
1346
1346
|
}
|
|
1347
1347
|
});
|
|
@@ -1359,7 +1359,7 @@ function equals$t(existing, incoming) {
|
|
|
1359
1359
|
return false;
|
|
1360
1360
|
}
|
|
1361
1361
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
1362
|
-
if (!(equals$
|
|
1362
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
1363
1363
|
return false;
|
|
1364
1364
|
}
|
|
1365
1365
|
});
|
|
@@ -1376,7 +1376,7 @@ function equals$t(existing, incoming) {
|
|
|
1376
1376
|
if (existing_insightsSettings === undefined || incoming_insightsSettings === undefined) {
|
|
1377
1377
|
return false;
|
|
1378
1378
|
}
|
|
1379
|
-
if (!(equals$
|
|
1379
|
+
if (!(equals$v(existing_insightsSettings, incoming_insightsSettings))) {
|
|
1380
1380
|
return false;
|
|
1381
1381
|
}
|
|
1382
1382
|
}
|
|
@@ -1389,7 +1389,7 @@ function equals$t(existing, incoming) {
|
|
|
1389
1389
|
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
1390
1390
|
return false;
|
|
1391
1391
|
}
|
|
1392
|
-
if (!(equals$
|
|
1392
|
+
if (!(equals$A(existing_measurementReference, incoming_measurementReference))) {
|
|
1393
1393
|
return false;
|
|
1394
1394
|
}
|
|
1395
1395
|
}
|
|
@@ -1402,7 +1402,7 @@ function equals$t(existing, incoming) {
|
|
|
1402
1402
|
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
1403
1403
|
return false;
|
|
1404
1404
|
}
|
|
1405
|
-
if (!(equals$
|
|
1405
|
+
if (!(equals$A(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
1406
1406
|
return false;
|
|
1407
1407
|
}
|
|
1408
1408
|
}
|
|
@@ -1426,30 +1426,30 @@ function equals$t(existing, incoming) {
|
|
|
1426
1426
|
}
|
|
1427
1427
|
return true;
|
|
1428
1428
|
}
|
|
1429
|
-
const ingest$
|
|
1429
|
+
const ingest$j = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1430
1430
|
if (process.env.NODE_ENV !== 'production') {
|
|
1431
|
-
const validateError = validate$
|
|
1431
|
+
const validateError = validate$16(input);
|
|
1432
1432
|
if (validateError !== null) {
|
|
1433
1433
|
throw validateError;
|
|
1434
1434
|
}
|
|
1435
1435
|
}
|
|
1436
|
-
const key = keyBuilderFromType$
|
|
1436
|
+
const key = keyBuilderFromType$d(luvio, input);
|
|
1437
1437
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
1438
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
1438
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "SemanticAuthoring", VERSION$u, RepresentationType$j, equals$u);
|
|
1439
1439
|
return createLink(key);
|
|
1440
1440
|
};
|
|
1441
|
-
function getTypeCacheKeys$
|
|
1441
|
+
function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
1442
1442
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
1443
|
-
const rootKey = keyBuilderFromType$
|
|
1443
|
+
const rootKey = keyBuilderFromType$d(luvio, input);
|
|
1444
1444
|
rootKeySet.set(rootKey, {
|
|
1445
1445
|
namespace: keyPrefix,
|
|
1446
|
-
representationName: RepresentationType$
|
|
1446
|
+
representationName: RepresentationType$j,
|
|
1447
1447
|
mergeable: false
|
|
1448
1448
|
});
|
|
1449
1449
|
}
|
|
1450
1450
|
|
|
1451
|
-
const VERSION$
|
|
1452
|
-
function validate$
|
|
1451
|
+
const VERSION$t = "a6709a9f16e02d0d8e3d8423ebc79c2b";
|
|
1452
|
+
function validate$15(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
|
|
1453
1453
|
const v_error = (() => {
|
|
1454
1454
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1455
1455
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1471,15 +1471,15 @@ function validate$13(obj, path = 'SemanticMetricCollectionOutputRepresentation')
|
|
|
1471
1471
|
})();
|
|
1472
1472
|
return v_error === undefined ? null : v_error;
|
|
1473
1473
|
}
|
|
1474
|
-
const RepresentationType$
|
|
1475
|
-
function normalize$
|
|
1474
|
+
const RepresentationType$i = 'SemanticMetricCollectionOutputRepresentation';
|
|
1475
|
+
function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
1476
1476
|
const input_metrics = input.metrics;
|
|
1477
1477
|
const input_metrics_id = path.fullPath + '__metrics';
|
|
1478
1478
|
if (input_metrics !== undefined) {
|
|
1479
1479
|
for (let i = 0; i < input_metrics.length; i++) {
|
|
1480
1480
|
const input_metrics_item = input_metrics[i];
|
|
1481
1481
|
let input_metrics_item_id = input_metrics_id + '__' + i;
|
|
1482
|
-
input_metrics[i] = ingest$
|
|
1482
|
+
input_metrics[i] = ingest$j(input_metrics_item, {
|
|
1483
1483
|
fullPath: input_metrics_item_id,
|
|
1484
1484
|
propertyName: i,
|
|
1485
1485
|
parent: {
|
|
@@ -1493,10 +1493,10 @@ function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
|
1493
1493
|
}
|
|
1494
1494
|
return input;
|
|
1495
1495
|
}
|
|
1496
|
-
const select$
|
|
1496
|
+
const select$K = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
1497
1497
|
return {
|
|
1498
1498
|
kind: 'Fragment',
|
|
1499
|
-
version: VERSION$
|
|
1499
|
+
version: VERSION$t,
|
|
1500
1500
|
private: [],
|
|
1501
1501
|
selections: [
|
|
1502
1502
|
{
|
|
@@ -1504,12 +1504,12 @@ const select$J = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
|
1504
1504
|
kind: 'Link',
|
|
1505
1505
|
plural: true,
|
|
1506
1506
|
required: false,
|
|
1507
|
-
fragment: select$
|
|
1507
|
+
fragment: select$L()
|
|
1508
1508
|
}
|
|
1509
1509
|
]
|
|
1510
1510
|
};
|
|
1511
1511
|
};
|
|
1512
|
-
function equals$
|
|
1512
|
+
function equals$t(existing, incoming) {
|
|
1513
1513
|
const existing_metrics = existing.metrics;
|
|
1514
1514
|
const incoming_metrics = incoming.metrics;
|
|
1515
1515
|
// if at least one of these optionals is defined
|
|
@@ -1530,50 +1530,50 @@ function equals$s(existing, incoming) {
|
|
|
1530
1530
|
}
|
|
1531
1531
|
return true;
|
|
1532
1532
|
}
|
|
1533
|
-
const ingest$
|
|
1533
|
+
const ingest$i = function SemanticMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1534
1534
|
if (process.env.NODE_ENV !== 'production') {
|
|
1535
|
-
const validateError = validate$
|
|
1535
|
+
const validateError = validate$15(input);
|
|
1536
1536
|
if (validateError !== null) {
|
|
1537
1537
|
throw validateError;
|
|
1538
1538
|
}
|
|
1539
1539
|
}
|
|
1540
1540
|
const key = path.fullPath;
|
|
1541
1541
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
1542
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
1542
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$t, RepresentationType$i, equals$t);
|
|
1543
1543
|
return createLink(key);
|
|
1544
1544
|
};
|
|
1545
|
-
function getTypeCacheKeys$
|
|
1545
|
+
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
1546
1546
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
1547
1547
|
const rootKey = fullPathFactory();
|
|
1548
1548
|
rootKeySet.set(rootKey, {
|
|
1549
1549
|
namespace: keyPrefix,
|
|
1550
|
-
representationName: RepresentationType$
|
|
1550
|
+
representationName: RepresentationType$i,
|
|
1551
1551
|
mergeable: false
|
|
1552
1552
|
});
|
|
1553
1553
|
if (input.metrics !== undefined) {
|
|
1554
1554
|
const input_metrics_length = input.metrics.length;
|
|
1555
1555
|
for (let i = 0; i < input_metrics_length; i++) {
|
|
1556
|
-
getTypeCacheKeys$
|
|
1556
|
+
getTypeCacheKeys$j(rootKeySet, luvio, input.metrics[i]);
|
|
1557
1557
|
}
|
|
1558
1558
|
}
|
|
1559
1559
|
}
|
|
1560
1560
|
|
|
1561
|
-
function select$
|
|
1562
|
-
return select$
|
|
1561
|
+
function select$J(luvio, params) {
|
|
1562
|
+
return select$K();
|
|
1563
1563
|
}
|
|
1564
|
-
function keyBuilder$
|
|
1564
|
+
function keyBuilder$B(luvio, params) {
|
|
1565
1565
|
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'metricIds:' + params.urlParams.metricIds + ')';
|
|
1566
1566
|
}
|
|
1567
1567
|
function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
|
|
1568
|
-
getTypeCacheKeys$
|
|
1568
|
+
getTypeCacheKeys$i(storeKeyMap, luvio, response, () => keyBuilder$B(luvio, resourceParams));
|
|
1569
1569
|
}
|
|
1570
1570
|
function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
|
|
1571
1571
|
const { body } = response;
|
|
1572
|
-
const key = keyBuilder$
|
|
1573
|
-
luvio.storeIngest(key, ingest$
|
|
1572
|
+
const key = keyBuilder$B(luvio, resourceParams);
|
|
1573
|
+
luvio.storeIngest(key, ingest$i, body);
|
|
1574
1574
|
const snapshot = luvio.storeLookup({
|
|
1575
1575
|
recordId: key,
|
|
1576
|
-
node: select$
|
|
1576
|
+
node: select$J(),
|
|
1577
1577
|
variables: {},
|
|
1578
1578
|
}, snapshotRefresh);
|
|
1579
1579
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1585,7 +1585,7 @@ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1585
1585
|
return snapshot;
|
|
1586
1586
|
}
|
|
1587
1587
|
function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
1588
|
-
const key = keyBuilder$
|
|
1588
|
+
const key = keyBuilder$B(luvio, params);
|
|
1589
1589
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
1590
1590
|
luvio.storeIngestError(key, errorSnapshot);
|
|
1591
1591
|
return errorSnapshot;
|
|
@@ -1612,9 +1612,9 @@ const getSemanticMetricsByIds_ConfigPropertyMetadata = [
|
|
|
1612
1612
|
];
|
|
1613
1613
|
const getSemanticMetricsByIds_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, getSemanticMetricsByIds_ConfigPropertyMetadata);
|
|
1614
1614
|
const createResourceParams$j = /*#__PURE__*/ createResourceParams$k(getSemanticMetricsByIds_ConfigPropertyMetadata);
|
|
1615
|
-
function keyBuilder$
|
|
1615
|
+
function keyBuilder$A(luvio, config) {
|
|
1616
1616
|
const resourceParams = createResourceParams$j(config);
|
|
1617
|
-
return keyBuilder$
|
|
1617
|
+
return keyBuilder$B(luvio, resourceParams);
|
|
1618
1618
|
}
|
|
1619
1619
|
function typeCheckConfig$j(untrustedConfig) {
|
|
1620
1620
|
const config = {};
|
|
@@ -1636,7 +1636,7 @@ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
|
|
|
1636
1636
|
}
|
|
1637
1637
|
function adapterFragment$a(luvio, config) {
|
|
1638
1638
|
createResourceParams$j(config);
|
|
1639
|
-
return select$
|
|
1639
|
+
return select$J();
|
|
1640
1640
|
}
|
|
1641
1641
|
function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
|
|
1642
1642
|
const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
|
|
@@ -1672,7 +1672,7 @@ function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext
|
|
|
1672
1672
|
function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
|
|
1673
1673
|
const { luvio, config } = context;
|
|
1674
1674
|
const selector = {
|
|
1675
|
-
recordId: keyBuilder$
|
|
1675
|
+
recordId: keyBuilder$A(luvio, config),
|
|
1676
1676
|
node: adapterFragment$a(luvio, config),
|
|
1677
1677
|
variables: {},
|
|
1678
1678
|
};
|
|
@@ -1692,8 +1692,8 @@ const getSemanticMetricsByIdsAdapterFactory = (luvio) => function SemanticAuthor
|
|
|
1692
1692
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
|
|
1693
1693
|
};
|
|
1694
1694
|
|
|
1695
|
-
const VERSION$
|
|
1696
|
-
function validate$
|
|
1695
|
+
const VERSION$s = "3a32d382e7a2268096278aa8e5c6761a";
|
|
1696
|
+
function validate$14(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
1697
1697
|
const v_error = (() => {
|
|
1698
1698
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1699
1699
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1713,10 +1713,10 @@ function validate$12(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
|
1713
1713
|
})();
|
|
1714
1714
|
return v_error === undefined ? null : v_error;
|
|
1715
1715
|
}
|
|
1716
|
-
const select$
|
|
1716
|
+
const select$I = function SemanticBaseModelOutputRepresentationSelect() {
|
|
1717
1717
|
return {
|
|
1718
1718
|
kind: 'Fragment',
|
|
1719
|
-
version: VERSION$
|
|
1719
|
+
version: VERSION$s,
|
|
1720
1720
|
private: [],
|
|
1721
1721
|
selections: [
|
|
1722
1722
|
{
|
|
@@ -1731,7 +1731,7 @@ const select$H = function SemanticBaseModelOutputRepresentationSelect() {
|
|
|
1731
1731
|
]
|
|
1732
1732
|
};
|
|
1733
1733
|
};
|
|
1734
|
-
function equals$
|
|
1734
|
+
function equals$s(existing, incoming) {
|
|
1735
1735
|
const existing_apiName = existing.apiName;
|
|
1736
1736
|
const incoming_apiName = incoming.apiName;
|
|
1737
1737
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -1753,8 +1753,8 @@ function equals$r(existing, incoming) {
|
|
|
1753
1753
|
return true;
|
|
1754
1754
|
}
|
|
1755
1755
|
|
|
1756
|
-
const VERSION$
|
|
1757
|
-
function validate$
|
|
1756
|
+
const VERSION$r = "fbfcf3d65a4ca4d916f66efc9208f1cb";
|
|
1757
|
+
function validate$13(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
1758
1758
|
const v_error = (() => {
|
|
1759
1759
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1760
1760
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1794,7 +1794,7 @@ function validate$11(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
1794
1794
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
1795
1795
|
const obj_baseModels_item = obj_baseModels[i];
|
|
1796
1796
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
1797
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
1797
|
+
const referencepath_baseModels_itemValidationError = validate$14(obj_baseModels_item, path_baseModels_item);
|
|
1798
1798
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
1799
1799
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
1800
1800
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1979,11 +1979,11 @@ function validate$11(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
1979
1979
|
})();
|
|
1980
1980
|
return v_error === undefined ? null : v_error;
|
|
1981
1981
|
}
|
|
1982
|
-
const select$
|
|
1983
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
1982
|
+
const select$H = function SemanticModelPartialOutputRepresentationSelect() {
|
|
1983
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$I();
|
|
1984
1984
|
return {
|
|
1985
1985
|
kind: 'Fragment',
|
|
1986
|
-
version: VERSION$
|
|
1986
|
+
version: VERSION$r,
|
|
1987
1987
|
private: [],
|
|
1988
1988
|
selections: [
|
|
1989
1989
|
{
|
|
@@ -2122,7 +2122,7 @@ const select$G = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
2122
2122
|
]
|
|
2123
2123
|
};
|
|
2124
2124
|
};
|
|
2125
|
-
function equals$
|
|
2125
|
+
function equals$r(existing, incoming) {
|
|
2126
2126
|
const existing_agentEnabled = existing.agentEnabled;
|
|
2127
2127
|
const incoming_agentEnabled = incoming.agentEnabled;
|
|
2128
2128
|
// if at least one of these optionals is defined
|
|
@@ -2405,7 +2405,7 @@ function equals$q(existing, incoming) {
|
|
|
2405
2405
|
return false;
|
|
2406
2406
|
}
|
|
2407
2407
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
2408
|
-
if (!(equals$
|
|
2408
|
+
if (!(equals$s(existing_baseModels_item, incoming_baseModels_item))) {
|
|
2409
2409
|
return false;
|
|
2410
2410
|
}
|
|
2411
2411
|
});
|
|
@@ -2447,8 +2447,8 @@ function equals$q(existing, incoming) {
|
|
|
2447
2447
|
return true;
|
|
2448
2448
|
}
|
|
2449
2449
|
|
|
2450
|
-
const VERSION$
|
|
2451
|
-
function validate$
|
|
2450
|
+
const VERSION$q = "198423ec58354256cc7ea6f4661ef669";
|
|
2451
|
+
function validate$12(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
2452
2452
|
const v_error = (() => {
|
|
2453
2453
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2454
2454
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2495,7 +2495,7 @@ function validate$10(obj, path = 'SemanticModelCollectionOutputRepresentation')
|
|
|
2495
2495
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2496
2496
|
const obj_items_item = obj_items[i];
|
|
2497
2497
|
const path_items_item = path_items + '[' + i + ']';
|
|
2498
|
-
const referencepath_items_itemValidationError = validate$
|
|
2498
|
+
const referencepath_items_itemValidationError = validate$13(obj_items_item, path_items_item);
|
|
2499
2499
|
if (referencepath_items_itemValidationError !== null) {
|
|
2500
2500
|
let message = 'Object doesn\'t match SemanticModelPartialOutputRepresentation (at "' + path_items_item + '")\n';
|
|
2501
2501
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2567,15 +2567,15 @@ function validate$10(obj, path = 'SemanticModelCollectionOutputRepresentation')
|
|
|
2567
2567
|
})();
|
|
2568
2568
|
return v_error === undefined ? null : v_error;
|
|
2569
2569
|
}
|
|
2570
|
-
const RepresentationType$
|
|
2571
|
-
function normalize$
|
|
2570
|
+
const RepresentationType$h = 'SemanticModelCollectionOutputRepresentation';
|
|
2571
|
+
function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
2572
2572
|
return input;
|
|
2573
2573
|
}
|
|
2574
|
-
const select$
|
|
2575
|
-
const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$
|
|
2574
|
+
const select$G = function SemanticModelCollectionOutputRepresentationSelect() {
|
|
2575
|
+
const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$H();
|
|
2576
2576
|
return {
|
|
2577
2577
|
kind: 'Fragment',
|
|
2578
|
-
version: VERSION$
|
|
2578
|
+
version: VERSION$q,
|
|
2579
2579
|
private: [],
|
|
2580
2580
|
selections: [
|
|
2581
2581
|
{
|
|
@@ -2611,7 +2611,7 @@ const select$F = function SemanticModelCollectionOutputRepresentationSelect() {
|
|
|
2611
2611
|
]
|
|
2612
2612
|
};
|
|
2613
2613
|
};
|
|
2614
|
-
function equals$
|
|
2614
|
+
function equals$q(existing, incoming) {
|
|
2615
2615
|
const existing_count = existing.count;
|
|
2616
2616
|
const incoming_count = incoming.count;
|
|
2617
2617
|
if (!(existing_count === incoming_count)) {
|
|
@@ -2645,7 +2645,7 @@ function equals$p(existing, incoming) {
|
|
|
2645
2645
|
return false;
|
|
2646
2646
|
}
|
|
2647
2647
|
const equals_items_items = equalsArray(existing_items, incoming_items, (existing_items_item, incoming_items_item) => {
|
|
2648
|
-
if (!(equals$
|
|
2648
|
+
if (!(equals$r(existing_items_item, incoming_items_item))) {
|
|
2649
2649
|
return false;
|
|
2650
2650
|
}
|
|
2651
2651
|
});
|
|
@@ -2681,44 +2681,44 @@ function equals$p(existing, incoming) {
|
|
|
2681
2681
|
}
|
|
2682
2682
|
return true;
|
|
2683
2683
|
}
|
|
2684
|
-
const ingest$
|
|
2684
|
+
const ingest$h = function SemanticModelCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2685
2685
|
if (process.env.NODE_ENV !== 'production') {
|
|
2686
|
-
const validateError = validate$
|
|
2686
|
+
const validateError = validate$12(input);
|
|
2687
2687
|
if (validateError !== null) {
|
|
2688
2688
|
throw validateError;
|
|
2689
2689
|
}
|
|
2690
2690
|
}
|
|
2691
2691
|
const key = path.fullPath;
|
|
2692
2692
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
2693
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
2693
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$q, RepresentationType$h, equals$q);
|
|
2694
2694
|
return createLink(key);
|
|
2695
2695
|
};
|
|
2696
|
-
function getTypeCacheKeys$
|
|
2696
|
+
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
2697
2697
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
2698
2698
|
const rootKey = fullPathFactory();
|
|
2699
2699
|
rootKeySet.set(rootKey, {
|
|
2700
2700
|
namespace: keyPrefix,
|
|
2701
|
-
representationName: RepresentationType$
|
|
2701
|
+
representationName: RepresentationType$h,
|
|
2702
2702
|
mergeable: false
|
|
2703
2703
|
});
|
|
2704
2704
|
}
|
|
2705
2705
|
|
|
2706
|
-
function select$
|
|
2707
|
-
return select$
|
|
2706
|
+
function select$F(luvio, params) {
|
|
2707
|
+
return select$G();
|
|
2708
2708
|
}
|
|
2709
|
-
function keyBuilder$
|
|
2709
|
+
function keyBuilder$z(luvio, params) {
|
|
2710
2710
|
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 + ')';
|
|
2711
2711
|
}
|
|
2712
2712
|
function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
|
|
2713
|
-
getTypeCacheKeys$
|
|
2713
|
+
getTypeCacheKeys$h(storeKeyMap, luvio, response, () => keyBuilder$z(luvio, resourceParams));
|
|
2714
2714
|
}
|
|
2715
2715
|
function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
|
|
2716
2716
|
const { body } = response;
|
|
2717
|
-
const key = keyBuilder$
|
|
2718
|
-
luvio.storeIngest(key, ingest$
|
|
2717
|
+
const key = keyBuilder$z(luvio, resourceParams);
|
|
2718
|
+
luvio.storeIngest(key, ingest$h, body);
|
|
2719
2719
|
const snapshot = luvio.storeLookup({
|
|
2720
2720
|
recordId: key,
|
|
2721
|
-
node: select$
|
|
2721
|
+
node: select$F(),
|
|
2722
2722
|
variables: {},
|
|
2723
2723
|
}, snapshotRefresh);
|
|
2724
2724
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2730,7 +2730,7 @@ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2730
2730
|
return snapshot;
|
|
2731
2731
|
}
|
|
2732
2732
|
function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
2733
|
-
const key = keyBuilder$
|
|
2733
|
+
const key = keyBuilder$z(luvio, params);
|
|
2734
2734
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
2735
2735
|
luvio.storeIngestError(key, errorSnapshot);
|
|
2736
2736
|
return errorSnapshot;
|
|
@@ -2763,9 +2763,9 @@ const getSemanticModels_ConfigPropertyMetadata = [
|
|
|
2763
2763
|
];
|
|
2764
2764
|
const getSemanticModels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getSemanticModels_ConfigPropertyMetadata);
|
|
2765
2765
|
const createResourceParams$i = /*#__PURE__*/ createResourceParams$k(getSemanticModels_ConfigPropertyMetadata);
|
|
2766
|
-
function keyBuilder$
|
|
2766
|
+
function keyBuilder$y(luvio, config) {
|
|
2767
2767
|
const resourceParams = createResourceParams$i(config);
|
|
2768
|
-
return keyBuilder$
|
|
2768
|
+
return keyBuilder$z(luvio, resourceParams);
|
|
2769
2769
|
}
|
|
2770
2770
|
function typeCheckConfig$i(untrustedConfig) {
|
|
2771
2771
|
const config = {};
|
|
@@ -2787,7 +2787,7 @@ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
|
|
|
2787
2787
|
}
|
|
2788
2788
|
function adapterFragment$9(luvio, config) {
|
|
2789
2789
|
createResourceParams$i(config);
|
|
2790
|
-
return select$
|
|
2790
|
+
return select$F();
|
|
2791
2791
|
}
|
|
2792
2792
|
function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
|
|
2793
2793
|
const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
|
|
@@ -2823,7 +2823,7 @@ function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext
|
|
|
2823
2823
|
function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
|
|
2824
2824
|
const { luvio, config } = context;
|
|
2825
2825
|
const selector = {
|
|
2826
|
-
recordId: keyBuilder$
|
|
2826
|
+
recordId: keyBuilder$y(luvio, config),
|
|
2827
2827
|
node: adapterFragment$9(luvio, config),
|
|
2828
2828
|
variables: {},
|
|
2829
2829
|
};
|
|
@@ -2843,7 +2843,7 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
2843
2843
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
|
|
2844
2844
|
};
|
|
2845
2845
|
|
|
2846
|
-
function validate
|
|
2846
|
+
function validate$11(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
2847
2847
|
const v_error = (() => {
|
|
2848
2848
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2849
2849
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2859,7 +2859,7 @@ function validate$$(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
2859
2859
|
return v_error === undefined ? null : v_error;
|
|
2860
2860
|
}
|
|
2861
2861
|
|
|
2862
|
-
function validate$
|
|
2862
|
+
function validate$10(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation') {
|
|
2863
2863
|
const v_error = (() => {
|
|
2864
2864
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2865
2865
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2888,7 +2888,7 @@ function validate$_(obj, path = 'SemanticModelExternalConnectionTableauPublished
|
|
|
2888
2888
|
return v_error === undefined ? null : v_error;
|
|
2889
2889
|
}
|
|
2890
2890
|
|
|
2891
|
-
function validate
|
|
2891
|
+
function validate$$(obj, path = 'SemanticModelExternalConnectionInputRepresentation') {
|
|
2892
2892
|
const v_error = (() => {
|
|
2893
2893
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2894
2894
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2908,7 +2908,7 @@ function validate$Z(obj, path = 'SemanticModelExternalConnectionInputRepresentat
|
|
|
2908
2908
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
2909
2909
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
2910
2910
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
2911
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
2911
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$10(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
2912
2912
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
2913
2913
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
2914
2914
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2924,7 +2924,7 @@ function validate$Z(obj, path = 'SemanticModelExternalConnectionInputRepresentat
|
|
|
2924
2924
|
return v_error === undefined ? null : v_error;
|
|
2925
2925
|
}
|
|
2926
2926
|
|
|
2927
|
-
function validate$
|
|
2927
|
+
function validate$_(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
2928
2928
|
const v_error = (() => {
|
|
2929
2929
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2930
2930
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2954,7 +2954,7 @@ function validate$Y(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
|
2954
2954
|
return v_error === undefined ? null : v_error;
|
|
2955
2955
|
}
|
|
2956
2956
|
|
|
2957
|
-
function validate$
|
|
2957
|
+
function validate$Z(obj, path = 'SemanticFilterInputRepresentation') {
|
|
2958
2958
|
const v_error = (() => {
|
|
2959
2959
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2960
2960
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2998,7 +2998,7 @@ function validate$X(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
2998
2998
|
return v_error === undefined ? null : v_error;
|
|
2999
2999
|
}
|
|
3000
3000
|
|
|
3001
|
-
function validate$
|
|
3001
|
+
function validate$Y(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
3002
3002
|
const v_error = (() => {
|
|
3003
3003
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3004
3004
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3061,7 +3061,7 @@ function validate$W(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
3061
3061
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3062
3062
|
const obj_filters_item = obj_filters[i];
|
|
3063
3063
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3064
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3064
|
+
const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
|
|
3065
3065
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3066
3066
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3067
3067
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3115,7 +3115,7 @@ function validate$W(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
3115
3115
|
return v_error === undefined ? null : v_error;
|
|
3116
3116
|
}
|
|
3117
3117
|
|
|
3118
|
-
function validate$
|
|
3118
|
+
function validate$X(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
3119
3119
|
const v_error = (() => {
|
|
3120
3120
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3121
3121
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3192,7 +3192,7 @@ function validate$V(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
3192
3192
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3193
3193
|
const obj_filters_item = obj_filters[i];
|
|
3194
3194
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3195
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3195
|
+
const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
|
|
3196
3196
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3197
3197
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3198
3198
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3267,7 +3267,7 @@ function validate$V(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
3267
3267
|
return v_error === undefined ? null : v_error;
|
|
3268
3268
|
}
|
|
3269
3269
|
|
|
3270
|
-
function validate$
|
|
3270
|
+
function validate$W(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
3271
3271
|
const v_error = (() => {
|
|
3272
3272
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3273
3273
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3346,7 +3346,7 @@ function validate$U(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
3346
3346
|
return v_error === undefined ? null : v_error;
|
|
3347
3347
|
}
|
|
3348
3348
|
|
|
3349
|
-
function validate$
|
|
3349
|
+
function validate$V(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
3350
3350
|
const v_error = (() => {
|
|
3351
3351
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3352
3352
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3453,7 +3453,7 @@ function validate$T(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
3453
3453
|
return v_error === undefined ? null : v_error;
|
|
3454
3454
|
}
|
|
3455
3455
|
|
|
3456
|
-
function validate$
|
|
3456
|
+
function validate$U(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
3457
3457
|
const v_error = (() => {
|
|
3458
3458
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3459
3459
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3502,7 +3502,7 @@ function validate$S(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3502
3502
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3503
3503
|
const obj_filters_item = obj_filters[i];
|
|
3504
3504
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3505
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3505
|
+
const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
|
|
3506
3506
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3507
3507
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3508
3508
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3540,7 +3540,7 @@ function validate$S(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3540
3540
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
3541
3541
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
3542
3542
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
3543
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
3543
|
+
const referencepath_semanticDimensions_itemValidationError = validate$W(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
3544
3544
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
3545
3545
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
3546
3546
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3557,7 +3557,7 @@ function validate$S(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3557
3557
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
3558
3558
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
3559
3559
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
3560
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
3560
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$V(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
3561
3561
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
3562
3562
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
3563
3563
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3583,7 +3583,7 @@ function validate$S(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3583
3583
|
return v_error === undefined ? null : v_error;
|
|
3584
3584
|
}
|
|
3585
3585
|
|
|
3586
|
-
function validate$
|
|
3586
|
+
function validate$T(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
3587
3587
|
const v_error = (() => {
|
|
3588
3588
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3589
3589
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3595,7 +3595,7 @@ function validate$R(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
3595
3595
|
return v_error === undefined ? null : v_error;
|
|
3596
3596
|
}
|
|
3597
3597
|
|
|
3598
|
-
function validate$
|
|
3598
|
+
function validate$S(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
3599
3599
|
const v_error = (() => {
|
|
3600
3600
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3601
3601
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3625,7 +3625,7 @@ function validate$Q(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
3625
3625
|
return v_error === undefined ? null : v_error;
|
|
3626
3626
|
}
|
|
3627
3627
|
|
|
3628
|
-
function validate$
|
|
3628
|
+
function validate$R(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
3629
3629
|
const v_error = (() => {
|
|
3630
3630
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3631
3631
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3639,7 +3639,7 @@ function validate$P(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3639
3639
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
3640
3640
|
const obj_groups_item = obj_groups[i];
|
|
3641
3641
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
3642
|
-
const referencepath_groups_itemValidationError = validate$
|
|
3642
|
+
const referencepath_groups_itemValidationError = validate$S(obj_groups_item, path_groups_item);
|
|
3643
3643
|
if (referencepath_groups_itemValidationError !== null) {
|
|
3644
3644
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
3645
3645
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3658,7 +3658,7 @@ function validate$P(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3658
3658
|
return v_error === undefined ? null : v_error;
|
|
3659
3659
|
}
|
|
3660
3660
|
|
|
3661
|
-
function validate$
|
|
3661
|
+
function validate$Q(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
3662
3662
|
const v_error = (() => {
|
|
3663
3663
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3664
3664
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3666,7 +3666,7 @@ function validate$O(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3666
3666
|
if (obj.binDimension !== undefined) {
|
|
3667
3667
|
const obj_binDimension = obj.binDimension;
|
|
3668
3668
|
const path_binDimension = path + '.binDimension';
|
|
3669
|
-
const referencepath_binDimensionValidationError = validate$
|
|
3669
|
+
const referencepath_binDimensionValidationError = validate$T(obj_binDimension, path_binDimension);
|
|
3670
3670
|
if (referencepath_binDimensionValidationError !== null) {
|
|
3671
3671
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
3672
3672
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3676,7 +3676,7 @@ function validate$O(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3676
3676
|
if (obj.groupDimension !== undefined) {
|
|
3677
3677
|
const obj_groupDimension = obj.groupDimension;
|
|
3678
3678
|
const path_groupDimension = path + '.groupDimension';
|
|
3679
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
3679
|
+
const referencepath_groupDimensionValidationError = validate$R(obj_groupDimension, path_groupDimension);
|
|
3680
3680
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
3681
3681
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
3682
3682
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3687,7 +3687,7 @@ function validate$O(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3687
3687
|
return v_error === undefined ? null : v_error;
|
|
3688
3688
|
}
|
|
3689
3689
|
|
|
3690
|
-
function validate$
|
|
3690
|
+
function validate$P(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
3691
3691
|
const v_error = (() => {
|
|
3692
3692
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3693
3693
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3710,7 +3710,7 @@ function validate$N(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
3710
3710
|
return v_error === undefined ? null : v_error;
|
|
3711
3711
|
}
|
|
3712
3712
|
|
|
3713
|
-
function validate$
|
|
3713
|
+
function validate$O(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
3714
3714
|
const v_error = (() => {
|
|
3715
3715
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3716
3716
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3725,7 +3725,7 @@ function validate$M(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3725
3725
|
if (obj.tableFieldReference !== undefined) {
|
|
3726
3726
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
3727
3727
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
3728
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
3728
|
+
const referencepath_tableFieldReferenceValidationError = validate$P(obj_tableFieldReference, path_tableFieldReference);
|
|
3729
3729
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
3730
3730
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
3731
3731
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3736,7 +3736,7 @@ function validate$M(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3736
3736
|
return v_error === undefined ? null : v_error;
|
|
3737
3737
|
}
|
|
3738
3738
|
|
|
3739
|
-
function validate$
|
|
3739
|
+
function validate$N(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
3740
3740
|
const v_error = (() => {
|
|
3741
3741
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3742
3742
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3751,7 +3751,7 @@ function validate$L(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3751
3751
|
if (obj.configuration !== undefined) {
|
|
3752
3752
|
const obj_configuration = obj.configuration;
|
|
3753
3753
|
const path_configuration = path + '.configuration';
|
|
3754
|
-
const referencepath_configurationValidationError = validate$
|
|
3754
|
+
const referencepath_configurationValidationError = validate$Q(obj_configuration, path_configuration);
|
|
3755
3755
|
if (referencepath_configurationValidationError !== null) {
|
|
3756
3756
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
3757
3757
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3768,7 +3768,7 @@ function validate$L(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3768
3768
|
if (obj.fieldReference !== undefined) {
|
|
3769
3769
|
const obj_fieldReference = obj.fieldReference;
|
|
3770
3770
|
const path_fieldReference = path + '.fieldReference';
|
|
3771
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
3771
|
+
const referencepath_fieldReferenceValidationError = validate$O(obj_fieldReference, path_fieldReference);
|
|
3772
3772
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
3773
3773
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
3774
3774
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3793,7 +3793,7 @@ function validate$L(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3793
3793
|
return v_error === undefined ? null : v_error;
|
|
3794
3794
|
}
|
|
3795
3795
|
|
|
3796
|
-
function validate$
|
|
3796
|
+
function validate$M(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
3797
3797
|
const v_error = (() => {
|
|
3798
3798
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3799
3799
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3837,7 +3837,7 @@ function validate$K(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
3837
3837
|
return v_error === undefined ? null : v_error;
|
|
3838
3838
|
}
|
|
3839
3839
|
|
|
3840
|
-
function validate$
|
|
3840
|
+
function validate$L(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
3841
3841
|
const v_error = (() => {
|
|
3842
3842
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3843
3843
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3865,7 +3865,7 @@ function validate$J(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3865
3865
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
3866
3866
|
const obj_criteria_item = obj_criteria[i];
|
|
3867
3867
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
3868
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
3868
|
+
const referencepath_criteria_itemValidationError = validate$M(obj_criteria_item, path_criteria_item);
|
|
3869
3869
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
3870
3870
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
3871
3871
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3926,7 +3926,7 @@ function validate$J(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3926
3926
|
return v_error === undefined ? null : v_error;
|
|
3927
3927
|
}
|
|
3928
3928
|
|
|
3929
|
-
function validate$
|
|
3929
|
+
function validate$K(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
3930
3930
|
const v_error = (() => {
|
|
3931
3931
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3932
3932
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3954,7 +3954,7 @@ function validate$I(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3954
3954
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
3955
3955
|
const obj_fields_item = obj_fields[i];
|
|
3956
3956
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
3957
|
-
const referencepath_fields_itemValidationError = validate$
|
|
3957
|
+
const referencepath_fields_itemValidationError = validate$P(obj_fields_item, path_fields_item);
|
|
3958
3958
|
if (referencepath_fields_itemValidationError !== null) {
|
|
3959
3959
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
3960
3960
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3979,7 +3979,7 @@ function validate$I(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3979
3979
|
if (obj.semanticDimension !== undefined) {
|
|
3980
3980
|
const obj_semanticDimension = obj.semanticDimension;
|
|
3981
3981
|
const path_semanticDimension = path + '.semanticDimension';
|
|
3982
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
3982
|
+
const referencepath_semanticDimensionValidationError = validate$W(obj_semanticDimension, path_semanticDimension);
|
|
3983
3983
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
3984
3984
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
3985
3985
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3989,7 +3989,7 @@ function validate$I(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3989
3989
|
if (obj.semanticMeasurement !== undefined) {
|
|
3990
3990
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
3991
3991
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
3992
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
3992
|
+
const referencepath_semanticMeasurementValidationError = validate$V(obj_semanticMeasurement, path_semanticMeasurement);
|
|
3993
3993
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
3994
3994
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
3995
3995
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4000,7 +4000,7 @@ function validate$I(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
4000
4000
|
return v_error === undefined ? null : v_error;
|
|
4001
4001
|
}
|
|
4002
4002
|
|
|
4003
|
-
function validate$
|
|
4003
|
+
function validate$J(obj, path = 'SemanticUnionInputRepresentation') {
|
|
4004
4004
|
const v_error = (() => {
|
|
4005
4005
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4006
4006
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4035,7 +4035,7 @@ function validate$H(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
4035
4035
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
4036
4036
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
4037
4037
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
4038
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
4038
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$U(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
4039
4039
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
4040
4040
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
4041
4041
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4052,7 +4052,7 @@ function validate$H(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
4052
4052
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
4053
4053
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
4054
4054
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
4055
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
4055
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$K(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
4056
4056
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
4057
4057
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
4058
4058
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4064,7 +4064,7 @@ function validate$H(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
4064
4064
|
return v_error === undefined ? null : v_error;
|
|
4065
4065
|
}
|
|
4066
4066
|
|
|
4067
|
-
function validate$
|
|
4067
|
+
function validate$I(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
4068
4068
|
const v_error = (() => {
|
|
4069
4069
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4070
4070
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4106,7 +4106,7 @@ function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
4106
4106
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4107
4107
|
const obj_filters_item = obj_filters[i];
|
|
4108
4108
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4109
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4109
|
+
const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
|
|
4110
4110
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4111
4111
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
4112
4112
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4137,7 +4137,7 @@ function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
4137
4137
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
4138
4138
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
4139
4139
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
4140
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
4140
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$U(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
4141
4141
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
4142
4142
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
4143
4143
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4154,7 +4154,7 @@ function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
4154
4154
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
4155
4155
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
4156
4156
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
4157
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
4157
|
+
const referencepath_semanticRelationships_itemValidationError = validate$L(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
4158
4158
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
4159
4159
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
4160
4160
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4171,7 +4171,7 @@ function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
4171
4171
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
4172
4172
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
4173
4173
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
4174
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
4174
|
+
const referencepath_semanticUnions_itemValidationError = validate$J(obj_semanticUnions_item, path_semanticUnions_item);
|
|
4175
4175
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
4176
4176
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
4177
4177
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4190,7 +4190,7 @@ function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
4190
4190
|
return v_error === undefined ? null : v_error;
|
|
4191
4191
|
}
|
|
4192
4192
|
|
|
4193
|
-
function validate$
|
|
4193
|
+
function validate$H(obj, path = 'SemanticMetricForecastConfigurationInputRepresentation') {
|
|
4194
4194
|
const v_error = (() => {
|
|
4195
4195
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4196
4196
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4198,7 +4198,7 @@ function validate$F(obj, path = 'SemanticMetricForecastConfigurationInputReprese
|
|
|
4198
4198
|
if (obj.forecastMeasurementReference !== undefined) {
|
|
4199
4199
|
const obj_forecastMeasurementReference = obj.forecastMeasurementReference;
|
|
4200
4200
|
const path_forecastMeasurementReference = path + '.forecastMeasurementReference';
|
|
4201
|
-
const referencepath_forecastMeasurementReferenceValidationError = validate$
|
|
4201
|
+
const referencepath_forecastMeasurementReferenceValidationError = validate$O(obj_forecastMeasurementReference, path_forecastMeasurementReference);
|
|
4202
4202
|
if (referencepath_forecastMeasurementReferenceValidationError !== null) {
|
|
4203
4203
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_forecastMeasurementReference + '")\n';
|
|
4204
4204
|
message += referencepath_forecastMeasurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4209,7 +4209,7 @@ function validate$F(obj, path = 'SemanticMetricForecastConfigurationInputReprese
|
|
|
4209
4209
|
return v_error === undefined ? null : v_error;
|
|
4210
4210
|
}
|
|
4211
4211
|
|
|
4212
|
-
function validate$
|
|
4212
|
+
function validate$G(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
4213
4213
|
const v_error = (() => {
|
|
4214
4214
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4215
4215
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4217,7 +4217,7 @@ function validate$E(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
4217
4217
|
if (obj.identifierDimensionReference !== undefined) {
|
|
4218
4218
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
4219
4219
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
4220
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
4220
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$O(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
4221
4221
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
4222
4222
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
4223
4223
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4227,7 +4227,7 @@ function validate$E(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
4227
4227
|
if (obj.namingDimensionReference !== undefined) {
|
|
4228
4228
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
4229
4229
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
4230
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
4230
|
+
const referencepath_namingDimensionReferenceValidationError = validate$O(obj_namingDimensionReference, path_namingDimensionReference);
|
|
4231
4231
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
4232
4232
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
4233
4233
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4238,7 +4238,7 @@ function validate$E(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
4238
4238
|
return v_error === undefined ? null : v_error;
|
|
4239
4239
|
}
|
|
4240
4240
|
|
|
4241
|
-
function validate$
|
|
4241
|
+
function validate$F(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
4242
4242
|
const v_error = (() => {
|
|
4243
4243
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4244
4244
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4261,7 +4261,7 @@ function validate$D(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
4261
4261
|
return v_error === undefined ? null : v_error;
|
|
4262
4262
|
}
|
|
4263
4263
|
|
|
4264
|
-
function validate$
|
|
4264
|
+
function validate$E(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
4265
4265
|
const v_error = (() => {
|
|
4266
4266
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4267
4267
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4269,7 +4269,7 @@ function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
4269
4269
|
if (obj.forecastConfiguration !== undefined) {
|
|
4270
4270
|
const obj_forecastConfiguration = obj.forecastConfiguration;
|
|
4271
4271
|
const path_forecastConfiguration = path + '.forecastConfiguration';
|
|
4272
|
-
const referencepath_forecastConfigurationValidationError = validate$
|
|
4272
|
+
const referencepath_forecastConfigurationValidationError = validate$H(obj_forecastConfiguration, path_forecastConfiguration);
|
|
4273
4273
|
if (referencepath_forecastConfigurationValidationError !== null) {
|
|
4274
4274
|
let message = 'Object doesn\'t match SemanticMetricForecastConfigurationInputRepresentation (at "' + path_forecastConfiguration + '")\n';
|
|
4275
4275
|
message += referencepath_forecastConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4279,7 +4279,7 @@ function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
4279
4279
|
if (obj.identifyingDimension !== undefined) {
|
|
4280
4280
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
4281
4281
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
4282
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
4282
|
+
const referencepath_identifyingDimensionValidationError = validate$G(obj_identifyingDimension, path_identifyingDimension);
|
|
4283
4283
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
4284
4284
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
4285
4285
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4295,7 +4295,7 @@ function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
4295
4295
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
4296
4296
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
4297
4297
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
4298
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
4298
|
+
const referencepath_insightTypes_itemValidationError = validate$F(obj_insightTypes_item, path_insightTypes_item);
|
|
4299
4299
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
4300
4300
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
4301
4301
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4312,7 +4312,7 @@ function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
4312
4312
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
4313
4313
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
4314
4314
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
4315
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
4315
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$O(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
4316
4316
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
4317
4317
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
4318
4318
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4345,7 +4345,7 @@ function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
4345
4345
|
return v_error === undefined ? null : v_error;
|
|
4346
4346
|
}
|
|
4347
4347
|
|
|
4348
|
-
function validate$
|
|
4348
|
+
function validate$D(obj, path = 'SemanticMetricInputRepresentation') {
|
|
4349
4349
|
const v_error = (() => {
|
|
4350
4350
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4351
4351
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4359,7 +4359,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4359
4359
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
4360
4360
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
4361
4361
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
4362
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
4362
|
+
const referencepath_additionalDimensions_itemValidationError = validate$O(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
4363
4363
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
4364
4364
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
4365
4365
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4404,7 +4404,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4404
4404
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4405
4405
|
const obj_filters_item = obj_filters[i];
|
|
4406
4406
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4407
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4407
|
+
const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
|
|
4408
4408
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4409
4409
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
4410
4410
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4415,7 +4415,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4415
4415
|
if (obj.insightsSettings !== undefined) {
|
|
4416
4416
|
const obj_insightsSettings = obj.insightsSettings;
|
|
4417
4417
|
const path_insightsSettings = path + '.insightsSettings';
|
|
4418
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
4418
|
+
const referencepath_insightsSettingsValidationError = validate$E(obj_insightsSettings, path_insightsSettings);
|
|
4419
4419
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
4420
4420
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
4421
4421
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4439,7 +4439,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4439
4439
|
if (obj.measurementReference !== undefined) {
|
|
4440
4440
|
const obj_measurementReference = obj.measurementReference;
|
|
4441
4441
|
const path_measurementReference = path + '.measurementReference';
|
|
4442
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
4442
|
+
const referencepath_measurementReferenceValidationError = validate$O(obj_measurementReference, path_measurementReference);
|
|
4443
4443
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
4444
4444
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
4445
4445
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4449,7 +4449,7 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4449
4449
|
if (obj.timeDimensionReference !== undefined) {
|
|
4450
4450
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
4451
4451
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
4452
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
4452
|
+
const referencepath_timeDimensionReferenceValidationError = validate$O(obj_timeDimensionReference, path_timeDimensionReference);
|
|
4453
4453
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
4454
4454
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
4455
4455
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4474,7 +4474,75 @@ function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4474
4474
|
return v_error === undefined ? null : v_error;
|
|
4475
4475
|
}
|
|
4476
4476
|
|
|
4477
|
-
function validate$
|
|
4477
|
+
function validate$C(obj, path = 'SemanticModelFilterInputRepresentation') {
|
|
4478
|
+
const v_error = (() => {
|
|
4479
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4480
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4481
|
+
}
|
|
4482
|
+
if (obj.apiName !== undefined) {
|
|
4483
|
+
const obj_apiName = obj.apiName;
|
|
4484
|
+
const path_apiName = path + '.apiName';
|
|
4485
|
+
if (typeof obj_apiName !== 'string') {
|
|
4486
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
4487
|
+
}
|
|
4488
|
+
}
|
|
4489
|
+
if (obj.description !== undefined) {
|
|
4490
|
+
const obj_description = obj.description;
|
|
4491
|
+
const path_description = path + '.description';
|
|
4492
|
+
if (typeof obj_description !== 'string') {
|
|
4493
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
4494
|
+
}
|
|
4495
|
+
}
|
|
4496
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
4497
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
4498
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
4499
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
4500
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
4501
|
+
}
|
|
4502
|
+
}
|
|
4503
|
+
if (obj.externalId !== undefined) {
|
|
4504
|
+
const obj_externalId = obj.externalId;
|
|
4505
|
+
const path_externalId = path + '.externalId';
|
|
4506
|
+
if (typeof obj_externalId !== 'string') {
|
|
4507
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalId + '" (at "' + path_externalId + '")');
|
|
4508
|
+
}
|
|
4509
|
+
}
|
|
4510
|
+
if (obj.filterLogic !== undefined) {
|
|
4511
|
+
const obj_filterLogic = obj.filterLogic;
|
|
4512
|
+
const path_filterLogic = path + '.filterLogic';
|
|
4513
|
+
if (typeof obj_filterLogic !== 'string') {
|
|
4514
|
+
return new TypeError('Expected "string" but received "' + typeof obj_filterLogic + '" (at "' + path_filterLogic + '")');
|
|
4515
|
+
}
|
|
4516
|
+
}
|
|
4517
|
+
if (obj.filters !== undefined) {
|
|
4518
|
+
const obj_filters = obj.filters;
|
|
4519
|
+
const path_filters = path + '.filters';
|
|
4520
|
+
if (!ArrayIsArray(obj_filters)) {
|
|
4521
|
+
return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
|
|
4522
|
+
}
|
|
4523
|
+
for (let i = 0; i < obj_filters.length; i++) {
|
|
4524
|
+
const obj_filters_item = obj_filters[i];
|
|
4525
|
+
const path_filters_item = path_filters + '[' + i + ']';
|
|
4526
|
+
const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
|
|
4527
|
+
if (referencepath_filters_itemValidationError !== null) {
|
|
4528
|
+
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
4529
|
+
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4530
|
+
return new TypeError(message);
|
|
4531
|
+
}
|
|
4532
|
+
}
|
|
4533
|
+
}
|
|
4534
|
+
if (obj.label !== undefined) {
|
|
4535
|
+
const obj_label = obj.label;
|
|
4536
|
+
const path_label = path + '.label';
|
|
4537
|
+
if (typeof obj_label !== 'string') {
|
|
4538
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
4539
|
+
}
|
|
4540
|
+
}
|
|
4541
|
+
})();
|
|
4542
|
+
return v_error === undefined ? null : v_error;
|
|
4543
|
+
}
|
|
4544
|
+
|
|
4545
|
+
function validate$B(obj, path = 'SemanticParameterInputRepresentation') {
|
|
4478
4546
|
const v_error = (() => {
|
|
4479
4547
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4480
4548
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4574,8 +4642,8 @@ function validate$A(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
4574
4642
|
return v_error === undefined ? null : v_error;
|
|
4575
4643
|
}
|
|
4576
4644
|
|
|
4577
|
-
const VERSION$
|
|
4578
|
-
function validate$
|
|
4645
|
+
const VERSION$p = "221b0931360d7fcb0a1402b0b82071bd";
|
|
4646
|
+
function validate$A(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation') {
|
|
4579
4647
|
const v_error = (() => {
|
|
4580
4648
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4581
4649
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4603,10 +4671,10 @@ function validate$z(obj, path = 'SemanticModelExternalConnectionTableauPublished
|
|
|
4603
4671
|
})();
|
|
4604
4672
|
return v_error === undefined ? null : v_error;
|
|
4605
4673
|
}
|
|
4606
|
-
const select$
|
|
4674
|
+
const select$E = function SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentationSelect() {
|
|
4607
4675
|
return {
|
|
4608
4676
|
kind: 'Fragment',
|
|
4609
|
-
version: VERSION$
|
|
4677
|
+
version: VERSION$p,
|
|
4610
4678
|
private: [],
|
|
4611
4679
|
selections: [
|
|
4612
4680
|
{
|
|
@@ -4628,7 +4696,7 @@ const select$D = function SemanticModelExternalConnectionTableauPublishedDataSou
|
|
|
4628
4696
|
]
|
|
4629
4697
|
};
|
|
4630
4698
|
};
|
|
4631
|
-
function equals$
|
|
4699
|
+
function equals$p(existing, incoming) {
|
|
4632
4700
|
const existing_dataSourceId = existing.dataSourceId;
|
|
4633
4701
|
const incoming_dataSourceId = incoming.dataSourceId;
|
|
4634
4702
|
if (!(existing_dataSourceId === incoming_dataSourceId)) {
|
|
@@ -4652,8 +4720,8 @@ function equals$o(existing, incoming) {
|
|
|
4652
4720
|
return true;
|
|
4653
4721
|
}
|
|
4654
4722
|
|
|
4655
|
-
const VERSION$
|
|
4656
|
-
function validate$
|
|
4723
|
+
const VERSION$o = "d39ef07b537fde1ac49a10bfc73d7db1";
|
|
4724
|
+
function validate$z(obj, path = 'SemanticModelExternalConnectionOutputRepresentation') {
|
|
4657
4725
|
const v_error = (() => {
|
|
4658
4726
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4659
4727
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4692,7 +4760,7 @@ function validate$y(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
4692
4760
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
4693
4761
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
4694
4762
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
4695
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
4763
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$A(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
4696
4764
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
4697
4765
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
4698
4766
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4707,11 +4775,11 @@ function validate$y(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
4707
4775
|
})();
|
|
4708
4776
|
return v_error === undefined ? null : v_error;
|
|
4709
4777
|
}
|
|
4710
|
-
const select$
|
|
4711
|
-
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$
|
|
4778
|
+
const select$D = function SemanticModelExternalConnectionOutputRepresentationSelect() {
|
|
4779
|
+
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$E();
|
|
4712
4780
|
return {
|
|
4713
4781
|
kind: 'Fragment',
|
|
4714
|
-
version: VERSION$
|
|
4782
|
+
version: VERSION$o,
|
|
4715
4783
|
private: [],
|
|
4716
4784
|
selections: [
|
|
4717
4785
|
{
|
|
@@ -4750,7 +4818,7 @@ const select$C = function SemanticModelExternalConnectionOutputRepresentationSel
|
|
|
4750
4818
|
]
|
|
4751
4819
|
};
|
|
4752
4820
|
};
|
|
4753
|
-
function equals$
|
|
4821
|
+
function equals$o(existing, incoming) {
|
|
4754
4822
|
const existing_apiName = existing.apiName;
|
|
4755
4823
|
const incoming_apiName = incoming.apiName;
|
|
4756
4824
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -4814,15 +4882,15 @@ function equals$n(existing, incoming) {
|
|
|
4814
4882
|
if (existing_tableauPublishedDataSource === undefined || incoming_tableauPublishedDataSource === undefined) {
|
|
4815
4883
|
return false;
|
|
4816
4884
|
}
|
|
4817
|
-
if (!(equals$
|
|
4885
|
+
if (!(equals$p(existing_tableauPublishedDataSource, incoming_tableauPublishedDataSource))) {
|
|
4818
4886
|
return false;
|
|
4819
4887
|
}
|
|
4820
4888
|
}
|
|
4821
4889
|
return true;
|
|
4822
4890
|
}
|
|
4823
4891
|
|
|
4824
|
-
const VERSION$
|
|
4825
|
-
function validate$
|
|
4892
|
+
const VERSION$n = "6f06bef394bf9744da80affc7b8109c6";
|
|
4893
|
+
function validate$y(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
4826
4894
|
const v_error = (() => {
|
|
4827
4895
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4828
4896
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4862,10 +4930,10 @@ function validate$x(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
|
4862
4930
|
})();
|
|
4863
4931
|
return v_error === undefined ? null : v_error;
|
|
4864
4932
|
}
|
|
4865
|
-
const select$
|
|
4933
|
+
const select$C = function SemanticOverrideOutputRepresentationSelect() {
|
|
4866
4934
|
return {
|
|
4867
4935
|
kind: 'Fragment',
|
|
4868
|
-
version: VERSION$
|
|
4936
|
+
version: VERSION$n,
|
|
4869
4937
|
private: [],
|
|
4870
4938
|
selections: [
|
|
4871
4939
|
{
|
|
@@ -4896,7 +4964,7 @@ const select$B = function SemanticOverrideOutputRepresentationSelect() {
|
|
|
4896
4964
|
]
|
|
4897
4965
|
};
|
|
4898
4966
|
};
|
|
4899
|
-
function equals$
|
|
4967
|
+
function equals$n(existing, incoming) {
|
|
4900
4968
|
const existing_entityFqn = existing.entityFqn;
|
|
4901
4969
|
const incoming_entityFqn = incoming.entityFqn;
|
|
4902
4970
|
if (!(existing_entityFqn === incoming_entityFqn)) {
|
|
@@ -4938,8 +5006,8 @@ function equals$m(existing, incoming) {
|
|
|
4938
5006
|
return true;
|
|
4939
5007
|
}
|
|
4940
5008
|
|
|
4941
|
-
const VERSION$
|
|
4942
|
-
function validate$
|
|
5009
|
+
const VERSION$m = "0ff409d003cd74094400b475d698bf15";
|
|
5010
|
+
function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
4943
5011
|
const v_error = (() => {
|
|
4944
5012
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4945
5013
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5045,7 +5113,7 @@ function validate$w(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
5045
5113
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5046
5114
|
const obj_filters_item = obj_filters[i];
|
|
5047
5115
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5048
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5116
|
+
const referencepath_filters_itemValidationError = validate$1b(obj_filters_item, path_filters_item);
|
|
5049
5117
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5050
5118
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5051
5119
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5145,24 +5213,24 @@ function validate$w(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
5145
5213
|
})();
|
|
5146
5214
|
return v_error === undefined ? null : v_error;
|
|
5147
5215
|
}
|
|
5148
|
-
const RepresentationType$
|
|
5149
|
-
function keyBuilder$
|
|
5150
|
-
return keyPrefix + '::' + RepresentationType$
|
|
5216
|
+
const RepresentationType$g = 'SemanticCalculatedDimensionOutputRepresentation';
|
|
5217
|
+
function keyBuilder$x(luvio, config) {
|
|
5218
|
+
return keyPrefix + '::' + RepresentationType$g + ':' + config.name;
|
|
5151
5219
|
}
|
|
5152
|
-
function keyBuilderFromType$
|
|
5220
|
+
function keyBuilderFromType$c(luvio, object) {
|
|
5153
5221
|
const keyParams = {
|
|
5154
5222
|
name: object.id
|
|
5155
5223
|
};
|
|
5156
|
-
return keyBuilder$
|
|
5224
|
+
return keyBuilder$x(luvio, keyParams);
|
|
5157
5225
|
}
|
|
5158
|
-
function normalize$
|
|
5226
|
+
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
5159
5227
|
return input;
|
|
5160
5228
|
}
|
|
5161
|
-
const select$
|
|
5162
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
5229
|
+
const select$B = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
5230
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
5163
5231
|
return {
|
|
5164
5232
|
kind: 'Fragment',
|
|
5165
|
-
version: VERSION$
|
|
5233
|
+
version: VERSION$m,
|
|
5166
5234
|
private: [],
|
|
5167
5235
|
selections: [
|
|
5168
5236
|
{
|
|
@@ -5306,7 +5374,7 @@ const select$A = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
5306
5374
|
]
|
|
5307
5375
|
};
|
|
5308
5376
|
};
|
|
5309
|
-
function equals$
|
|
5377
|
+
function equals$m(existing, incoming) {
|
|
5310
5378
|
const existing_isOverrideBase = existing.isOverrideBase;
|
|
5311
5379
|
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
5312
5380
|
// if at least one of these optionals is defined
|
|
@@ -5636,7 +5704,7 @@ function equals$l(existing, incoming) {
|
|
|
5636
5704
|
return false;
|
|
5637
5705
|
}
|
|
5638
5706
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
5639
|
-
if (!(equals$
|
|
5707
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
5640
5708
|
return false;
|
|
5641
5709
|
}
|
|
5642
5710
|
});
|
|
@@ -5646,30 +5714,30 @@ function equals$l(existing, incoming) {
|
|
|
5646
5714
|
}
|
|
5647
5715
|
return true;
|
|
5648
5716
|
}
|
|
5649
|
-
const ingest$
|
|
5717
|
+
const ingest$g = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5650
5718
|
if (process.env.NODE_ENV !== 'production') {
|
|
5651
|
-
const validateError = validate$
|
|
5719
|
+
const validateError = validate$x(input);
|
|
5652
5720
|
if (validateError !== null) {
|
|
5653
5721
|
throw validateError;
|
|
5654
5722
|
}
|
|
5655
5723
|
}
|
|
5656
|
-
const key = keyBuilderFromType$
|
|
5724
|
+
const key = keyBuilderFromType$c(luvio, input);
|
|
5657
5725
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5658
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
5726
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$m, RepresentationType$g, equals$m);
|
|
5659
5727
|
return createLink(key);
|
|
5660
5728
|
};
|
|
5661
|
-
function getTypeCacheKeys$
|
|
5729
|
+
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
5662
5730
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
5663
|
-
const rootKey = keyBuilderFromType$
|
|
5731
|
+
const rootKey = keyBuilderFromType$c(luvio, input);
|
|
5664
5732
|
rootKeySet.set(rootKey, {
|
|
5665
5733
|
namespace: keyPrefix,
|
|
5666
|
-
representationName: RepresentationType$
|
|
5734
|
+
representationName: RepresentationType$g,
|
|
5667
5735
|
mergeable: false
|
|
5668
5736
|
});
|
|
5669
5737
|
}
|
|
5670
5738
|
|
|
5671
|
-
const VERSION$
|
|
5672
|
-
function validate$
|
|
5739
|
+
const VERSION$l = "65b35c82c52febf0709785df41c57ac3";
|
|
5740
|
+
function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
5673
5741
|
const v_error = (() => {
|
|
5674
5742
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5675
5743
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5789,7 +5857,7 @@ function validate$v(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
5789
5857
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5790
5858
|
const obj_filters_item = obj_filters[i];
|
|
5791
5859
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5792
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5860
|
+
const referencepath_filters_itemValidationError = validate$1b(obj_filters_item, path_filters_item);
|
|
5793
5861
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5794
5862
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5795
5863
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5917,24 +5985,24 @@ function validate$v(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
5917
5985
|
})();
|
|
5918
5986
|
return v_error === undefined ? null : v_error;
|
|
5919
5987
|
}
|
|
5920
|
-
const RepresentationType$
|
|
5921
|
-
function keyBuilder$
|
|
5922
|
-
return keyPrefix + '::' + RepresentationType$
|
|
5988
|
+
const RepresentationType$f = 'SemanticCalculatedMeasurementOutputRepresentation';
|
|
5989
|
+
function keyBuilder$w(luvio, config) {
|
|
5990
|
+
return keyPrefix + '::' + RepresentationType$f + ':' + config.name;
|
|
5923
5991
|
}
|
|
5924
|
-
function keyBuilderFromType$
|
|
5992
|
+
function keyBuilderFromType$b(luvio, object) {
|
|
5925
5993
|
const keyParams = {
|
|
5926
5994
|
name: object.id
|
|
5927
5995
|
};
|
|
5928
|
-
return keyBuilder$
|
|
5996
|
+
return keyBuilder$w(luvio, keyParams);
|
|
5929
5997
|
}
|
|
5930
|
-
function normalize$
|
|
5998
|
+
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
5931
5999
|
return input;
|
|
5932
6000
|
}
|
|
5933
|
-
const select$
|
|
5934
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
6001
|
+
const select$A = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
6002
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
5935
6003
|
return {
|
|
5936
6004
|
kind: 'Fragment',
|
|
5937
|
-
version: VERSION$
|
|
6005
|
+
version: VERSION$l,
|
|
5938
6006
|
private: [],
|
|
5939
6007
|
selections: [
|
|
5940
6008
|
{
|
|
@@ -6108,7 +6176,7 @@ const select$z = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
6108
6176
|
]
|
|
6109
6177
|
};
|
|
6110
6178
|
};
|
|
6111
|
-
function equals$
|
|
6179
|
+
function equals$l(existing, incoming) {
|
|
6112
6180
|
const existing_isAggregatable = existing.isAggregatable;
|
|
6113
6181
|
const incoming_isAggregatable = incoming.isAggregatable;
|
|
6114
6182
|
// if at least one of these optionals is defined
|
|
@@ -6516,7 +6584,7 @@ function equals$k(existing, incoming) {
|
|
|
6516
6584
|
return false;
|
|
6517
6585
|
}
|
|
6518
6586
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
6519
|
-
if (!(equals$
|
|
6587
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
6520
6588
|
return false;
|
|
6521
6589
|
}
|
|
6522
6590
|
});
|
|
@@ -6526,29 +6594,29 @@ function equals$k(existing, incoming) {
|
|
|
6526
6594
|
}
|
|
6527
6595
|
return true;
|
|
6528
6596
|
}
|
|
6529
|
-
const ingest$
|
|
6597
|
+
const ingest$f = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6530
6598
|
if (process.env.NODE_ENV !== 'production') {
|
|
6531
|
-
const validateError = validate$
|
|
6599
|
+
const validateError = validate$w(input);
|
|
6532
6600
|
if (validateError !== null) {
|
|
6533
6601
|
throw validateError;
|
|
6534
6602
|
}
|
|
6535
6603
|
}
|
|
6536
|
-
const key = keyBuilderFromType$
|
|
6604
|
+
const key = keyBuilderFromType$b(luvio, input);
|
|
6537
6605
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6538
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
6606
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$l, RepresentationType$f, equals$l);
|
|
6539
6607
|
return createLink(key);
|
|
6540
6608
|
};
|
|
6541
|
-
function getTypeCacheKeys$
|
|
6609
|
+
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
6542
6610
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
6543
|
-
const rootKey = keyBuilderFromType$
|
|
6611
|
+
const rootKey = keyBuilderFromType$b(luvio, input);
|
|
6544
6612
|
rootKeySet.set(rootKey, {
|
|
6545
6613
|
namespace: keyPrefix,
|
|
6546
|
-
representationName: RepresentationType$
|
|
6614
|
+
representationName: RepresentationType$f,
|
|
6547
6615
|
mergeable: false
|
|
6548
6616
|
});
|
|
6549
6617
|
}
|
|
6550
6618
|
|
|
6551
|
-
function validate$
|
|
6619
|
+
function validate$v(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
6552
6620
|
const v_error = (() => {
|
|
6553
6621
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6554
6622
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6731,7 +6799,7 @@ function validate$u(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
6731
6799
|
return v_error === undefined ? null : v_error;
|
|
6732
6800
|
}
|
|
6733
6801
|
|
|
6734
|
-
function validate$
|
|
6802
|
+
function validate$u(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
6735
6803
|
const v_error = (() => {
|
|
6736
6804
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6737
6805
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6949,8 +7017,8 @@ function validate$t(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
6949
7017
|
return v_error === undefined ? null : v_error;
|
|
6950
7018
|
}
|
|
6951
7019
|
|
|
6952
|
-
const VERSION$
|
|
6953
|
-
function validate$
|
|
7020
|
+
const VERSION$k = "7804fea5e1a3894ad9c1e89a2ce17ab9";
|
|
7021
|
+
function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
6954
7022
|
const v_error = (() => {
|
|
6955
7023
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6956
7024
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7028,7 +7096,7 @@ function validate$s(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
7028
7096
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7029
7097
|
const obj_filters_item = obj_filters[i];
|
|
7030
7098
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7031
|
-
const referencepath_filters_itemValidationError = validate$
|
|
7099
|
+
const referencepath_filters_itemValidationError = validate$1b(obj_filters_item, path_filters_item);
|
|
7032
7100
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7033
7101
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7034
7102
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7099,7 +7167,7 @@ function validate$s(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
7099
7167
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
7100
7168
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
7101
7169
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
7102
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
7170
|
+
const referencepath_semanticDimensions_itemValidationError = validate$v(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
7103
7171
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
7104
7172
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
7105
7173
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7123,7 +7191,7 @@ function validate$s(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
7123
7191
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
7124
7192
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
7125
7193
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
7126
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
7194
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$u(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
7127
7195
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
7128
7196
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
7129
7197
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7162,57 +7230,57 @@ function validate$s(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
7162
7230
|
})();
|
|
7163
7231
|
return v_error === undefined ? null : v_error;
|
|
7164
7232
|
}
|
|
7165
|
-
const RepresentationType$
|
|
7166
|
-
function keyBuilder$
|
|
7167
|
-
return keyPrefix + '::' + RepresentationType$
|
|
7233
|
+
const RepresentationType$e = 'SemanticDataObjectOutputRepresentation';
|
|
7234
|
+
function keyBuilder$v(luvio, config) {
|
|
7235
|
+
return keyPrefix + '::' + RepresentationType$e + ':' + config.name;
|
|
7168
7236
|
}
|
|
7169
|
-
function keyBuilderFromType$
|
|
7237
|
+
function keyBuilderFromType$a(luvio, object) {
|
|
7170
7238
|
const keyParams = {
|
|
7171
7239
|
name: object.id
|
|
7172
7240
|
};
|
|
7173
|
-
return keyBuilder$
|
|
7241
|
+
return keyBuilder$v(luvio, keyParams);
|
|
7174
7242
|
}
|
|
7175
|
-
function normalize$
|
|
7243
|
+
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
7176
7244
|
return input;
|
|
7177
7245
|
}
|
|
7178
|
-
const select$
|
|
7246
|
+
const select$z = function SemanticDataObjectOutputRepresentationSelect() {
|
|
7179
7247
|
return {
|
|
7180
7248
|
kind: 'Fragment',
|
|
7181
|
-
version: VERSION$
|
|
7249
|
+
version: VERSION$k,
|
|
7182
7250
|
private: [],
|
|
7183
7251
|
opaque: true
|
|
7184
7252
|
};
|
|
7185
7253
|
};
|
|
7186
|
-
function equals$
|
|
7254
|
+
function equals$k(existing, incoming) {
|
|
7187
7255
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
7188
7256
|
return false;
|
|
7189
7257
|
}
|
|
7190
7258
|
return true;
|
|
7191
7259
|
}
|
|
7192
|
-
const ingest$
|
|
7260
|
+
const ingest$e = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7193
7261
|
if (process.env.NODE_ENV !== 'production') {
|
|
7194
|
-
const validateError = validate$
|
|
7262
|
+
const validateError = validate$t(input);
|
|
7195
7263
|
if (validateError !== null) {
|
|
7196
7264
|
throw validateError;
|
|
7197
7265
|
}
|
|
7198
7266
|
}
|
|
7199
|
-
const key = keyBuilderFromType$
|
|
7267
|
+
const key = keyBuilderFromType$a(luvio, input);
|
|
7200
7268
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7201
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
7269
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$k, RepresentationType$e, equals$k);
|
|
7202
7270
|
return createLink(key);
|
|
7203
7271
|
};
|
|
7204
|
-
function getTypeCacheKeys$
|
|
7272
|
+
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
7205
7273
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
7206
|
-
const rootKey = keyBuilderFromType$
|
|
7274
|
+
const rootKey = keyBuilderFromType$a(luvio, input);
|
|
7207
7275
|
rootKeySet.set(rootKey, {
|
|
7208
7276
|
namespace: keyPrefix,
|
|
7209
|
-
representationName: RepresentationType$
|
|
7277
|
+
representationName: RepresentationType$e,
|
|
7210
7278
|
mergeable: false
|
|
7211
7279
|
});
|
|
7212
7280
|
}
|
|
7213
7281
|
|
|
7214
|
-
const VERSION$
|
|
7215
|
-
function validate$
|
|
7282
|
+
const VERSION$j = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
7283
|
+
function validate$s(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
7216
7284
|
const v_error = (() => {
|
|
7217
7285
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7218
7286
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7221,10 +7289,10 @@ function validate$r(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
7221
7289
|
})();
|
|
7222
7290
|
return v_error === undefined ? null : v_error;
|
|
7223
7291
|
}
|
|
7224
|
-
const select$
|
|
7292
|
+
const select$y = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
7225
7293
|
return {
|
|
7226
7294
|
kind: 'Fragment',
|
|
7227
|
-
version: VERSION$
|
|
7295
|
+
version: VERSION$j,
|
|
7228
7296
|
private: [],
|
|
7229
7297
|
selections: [
|
|
7230
7298
|
{
|
|
@@ -7234,7 +7302,7 @@ const select$x = function BinDimensionConfigurationOutputRepresentationSelect()
|
|
|
7234
7302
|
]
|
|
7235
7303
|
};
|
|
7236
7304
|
};
|
|
7237
|
-
function equals$
|
|
7305
|
+
function equals$j(existing, incoming) {
|
|
7238
7306
|
const existing_constantBinSize = existing.constantBinSize;
|
|
7239
7307
|
const incoming_constantBinSize = incoming.constantBinSize;
|
|
7240
7308
|
if (!(existing_constantBinSize === incoming_constantBinSize)) {
|
|
@@ -7243,8 +7311,8 @@ function equals$i(existing, incoming) {
|
|
|
7243
7311
|
return true;
|
|
7244
7312
|
}
|
|
7245
7313
|
|
|
7246
|
-
const VERSION$
|
|
7247
|
-
function validate$
|
|
7314
|
+
const VERSION$i = "2cdadcd630abb7b981b2d131880a68c0";
|
|
7315
|
+
function validate$r(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
7248
7316
|
const v_error = (() => {
|
|
7249
7317
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7250
7318
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7271,10 +7339,10 @@ function validate$q(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
7271
7339
|
})();
|
|
7272
7340
|
return v_error === undefined ? null : v_error;
|
|
7273
7341
|
}
|
|
7274
|
-
const select$
|
|
7342
|
+
const select$x = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
7275
7343
|
return {
|
|
7276
7344
|
kind: 'Fragment',
|
|
7277
|
-
version: VERSION$
|
|
7345
|
+
version: VERSION$i,
|
|
7278
7346
|
private: [],
|
|
7279
7347
|
selections: [
|
|
7280
7348
|
{
|
|
@@ -7290,7 +7358,7 @@ const select$w = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
|
7290
7358
|
]
|
|
7291
7359
|
};
|
|
7292
7360
|
};
|
|
7293
|
-
function equals$
|
|
7361
|
+
function equals$i(existing, incoming) {
|
|
7294
7362
|
const existing_name = existing.name;
|
|
7295
7363
|
const incoming_name = incoming.name;
|
|
7296
7364
|
if (!(existing_name === incoming_name)) {
|
|
@@ -7317,8 +7385,8 @@ function equals$h(existing, incoming) {
|
|
|
7317
7385
|
return true;
|
|
7318
7386
|
}
|
|
7319
7387
|
|
|
7320
|
-
const VERSION$
|
|
7321
|
-
function validate$
|
|
7388
|
+
const VERSION$h = "55c60b6207985632192cb4e419822a86";
|
|
7389
|
+
function validate$q(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
7322
7390
|
const v_error = (() => {
|
|
7323
7391
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7324
7392
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7332,7 +7400,7 @@ function validate$p(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
7332
7400
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
7333
7401
|
const obj_groups_item = obj_groups[i];
|
|
7334
7402
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
7335
|
-
const referencepath_groups_itemValidationError = validate$
|
|
7403
|
+
const referencepath_groups_itemValidationError = validate$r(obj_groups_item, path_groups_item);
|
|
7336
7404
|
if (referencepath_groups_itemValidationError !== null) {
|
|
7337
7405
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
7338
7406
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7350,11 +7418,11 @@ function validate$p(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
7350
7418
|
})();
|
|
7351
7419
|
return v_error === undefined ? null : v_error;
|
|
7352
7420
|
}
|
|
7353
|
-
const select$
|
|
7354
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
7421
|
+
const select$w = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
7422
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$x();
|
|
7355
7423
|
return {
|
|
7356
7424
|
kind: 'Fragment',
|
|
7357
|
-
version: VERSION$
|
|
7425
|
+
version: VERSION$h,
|
|
7358
7426
|
private: [],
|
|
7359
7427
|
selections: [
|
|
7360
7428
|
{
|
|
@@ -7372,7 +7440,7 @@ const select$v = function GroupDimensionConfigurationOutputRepresentationSelect(
|
|
|
7372
7440
|
]
|
|
7373
7441
|
};
|
|
7374
7442
|
};
|
|
7375
|
-
function equals$
|
|
7443
|
+
function equals$h(existing, incoming) {
|
|
7376
7444
|
const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
|
|
7377
7445
|
const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
|
|
7378
7446
|
// if at least one of these optionals is defined
|
|
@@ -7396,7 +7464,7 @@ function equals$g(existing, incoming) {
|
|
|
7396
7464
|
return false;
|
|
7397
7465
|
}
|
|
7398
7466
|
const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
|
|
7399
|
-
if (!(equals$
|
|
7467
|
+
if (!(equals$i(existing_groups_item, incoming_groups_item))) {
|
|
7400
7468
|
return false;
|
|
7401
7469
|
}
|
|
7402
7470
|
});
|
|
@@ -7407,8 +7475,8 @@ function equals$g(existing, incoming) {
|
|
|
7407
7475
|
return true;
|
|
7408
7476
|
}
|
|
7409
7477
|
|
|
7410
|
-
const VERSION$
|
|
7411
|
-
function validate$
|
|
7478
|
+
const VERSION$g = "50dc390b159159afb1945b9a811c9f80";
|
|
7479
|
+
function validate$p(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
7412
7480
|
const v_error = (() => {
|
|
7413
7481
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7414
7482
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7416,7 +7484,7 @@ function validate$o(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
7416
7484
|
if (obj.binDimension !== undefined) {
|
|
7417
7485
|
const obj_binDimension = obj.binDimension;
|
|
7418
7486
|
const path_binDimension = path + '.binDimension';
|
|
7419
|
-
const referencepath_binDimensionValidationError = validate$
|
|
7487
|
+
const referencepath_binDimensionValidationError = validate$s(obj_binDimension, path_binDimension);
|
|
7420
7488
|
if (referencepath_binDimensionValidationError !== null) {
|
|
7421
7489
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
7422
7490
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7426,7 +7494,7 @@ function validate$o(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
7426
7494
|
if (obj.groupDimension !== undefined) {
|
|
7427
7495
|
const obj_groupDimension = obj.groupDimension;
|
|
7428
7496
|
const path_groupDimension = path + '.groupDimension';
|
|
7429
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
7497
|
+
const referencepath_groupDimensionValidationError = validate$q(obj_groupDimension, path_groupDimension);
|
|
7430
7498
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
7431
7499
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
7432
7500
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7436,12 +7504,12 @@ function validate$o(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
7436
7504
|
})();
|
|
7437
7505
|
return v_error === undefined ? null : v_error;
|
|
7438
7506
|
}
|
|
7439
|
-
const select$
|
|
7440
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
7441
|
-
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
7507
|
+
const select$v = function SemanticGroupingConfigurationOutputRepresentationSelect() {
|
|
7508
|
+
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$y();
|
|
7509
|
+
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$w();
|
|
7442
7510
|
return {
|
|
7443
7511
|
kind: 'Fragment',
|
|
7444
|
-
version: VERSION$
|
|
7512
|
+
version: VERSION$g,
|
|
7445
7513
|
private: [],
|
|
7446
7514
|
selections: [
|
|
7447
7515
|
{
|
|
@@ -7459,7 +7527,7 @@ const select$u = function SemanticGroupingConfigurationOutputRepresentationSelec
|
|
|
7459
7527
|
]
|
|
7460
7528
|
};
|
|
7461
7529
|
};
|
|
7462
|
-
function equals$
|
|
7530
|
+
function equals$g(existing, incoming) {
|
|
7463
7531
|
const existing_binDimension = existing.binDimension;
|
|
7464
7532
|
const incoming_binDimension = incoming.binDimension;
|
|
7465
7533
|
// if at least one of these optionals is defined
|
|
@@ -7469,7 +7537,7 @@ function equals$f(existing, incoming) {
|
|
|
7469
7537
|
if (existing_binDimension === undefined || incoming_binDimension === undefined) {
|
|
7470
7538
|
return false;
|
|
7471
7539
|
}
|
|
7472
|
-
if (!(equals$
|
|
7540
|
+
if (!(equals$j(existing_binDimension, incoming_binDimension))) {
|
|
7473
7541
|
return false;
|
|
7474
7542
|
}
|
|
7475
7543
|
}
|
|
@@ -7482,15 +7550,15 @@ function equals$f(existing, incoming) {
|
|
|
7482
7550
|
if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
|
|
7483
7551
|
return false;
|
|
7484
7552
|
}
|
|
7485
|
-
if (!(equals$
|
|
7553
|
+
if (!(equals$h(existing_groupDimension, incoming_groupDimension))) {
|
|
7486
7554
|
return false;
|
|
7487
7555
|
}
|
|
7488
7556
|
}
|
|
7489
7557
|
return true;
|
|
7490
7558
|
}
|
|
7491
7559
|
|
|
7492
|
-
const VERSION$
|
|
7493
|
-
function validate$
|
|
7560
|
+
const VERSION$f = "781f9dcf8c74d2f32cce84d91cf9e6af";
|
|
7561
|
+
function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
7494
7562
|
const v_error = (() => {
|
|
7495
7563
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7496
7564
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7516,7 +7584,7 @@ function validate$n(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
7516
7584
|
}
|
|
7517
7585
|
const obj_configuration = obj.configuration;
|
|
7518
7586
|
const path_configuration = path + '.configuration';
|
|
7519
|
-
const referencepath_configurationValidationError = validate$
|
|
7587
|
+
const referencepath_configurationValidationError = validate$p(obj_configuration, path_configuration);
|
|
7520
7588
|
if (referencepath_configurationValidationError !== null) {
|
|
7521
7589
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
7522
7590
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7548,7 +7616,7 @@ function validate$n(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
7548
7616
|
}
|
|
7549
7617
|
const obj_fieldReference = obj.fieldReference;
|
|
7550
7618
|
const path_fieldReference = path + '.fieldReference';
|
|
7551
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
7619
|
+
const referencepath_fieldReferenceValidationError = validate$1c(obj_fieldReference, path_fieldReference);
|
|
7552
7620
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
7553
7621
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
7554
7622
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7609,25 +7677,25 @@ function validate$n(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
7609
7677
|
})();
|
|
7610
7678
|
return v_error === undefined ? null : v_error;
|
|
7611
7679
|
}
|
|
7612
|
-
const RepresentationType$
|
|
7613
|
-
function keyBuilder$
|
|
7614
|
-
return keyPrefix + '::' + RepresentationType$
|
|
7680
|
+
const RepresentationType$d = 'SemanticGroupingOutputRepresentation';
|
|
7681
|
+
function keyBuilder$u(luvio, config) {
|
|
7682
|
+
return keyPrefix + '::' + RepresentationType$d + ':' + config.name;
|
|
7615
7683
|
}
|
|
7616
|
-
function keyBuilderFromType$
|
|
7684
|
+
function keyBuilderFromType$9(luvio, object) {
|
|
7617
7685
|
const keyParams = {
|
|
7618
7686
|
name: object.id
|
|
7619
7687
|
};
|
|
7620
|
-
return keyBuilder$
|
|
7688
|
+
return keyBuilder$u(luvio, keyParams);
|
|
7621
7689
|
}
|
|
7622
|
-
function normalize$
|
|
7690
|
+
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
7623
7691
|
return input;
|
|
7624
7692
|
}
|
|
7625
|
-
const select$
|
|
7626
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
7627
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
7693
|
+
const select$u = function SemanticGroupingOutputRepresentationSelect() {
|
|
7694
|
+
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$v();
|
|
7695
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$R();
|
|
7628
7696
|
return {
|
|
7629
7697
|
kind: 'Fragment',
|
|
7630
|
-
version: VERSION$
|
|
7698
|
+
version: VERSION$f,
|
|
7631
7699
|
private: [],
|
|
7632
7700
|
selections: [
|
|
7633
7701
|
{
|
|
@@ -7713,7 +7781,7 @@ const select$t = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
7713
7781
|
]
|
|
7714
7782
|
};
|
|
7715
7783
|
};
|
|
7716
|
-
function equals$
|
|
7784
|
+
function equals$f(existing, incoming) {
|
|
7717
7785
|
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
7718
7786
|
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
7719
7787
|
// if at least one of these optionals is defined
|
|
@@ -7871,40 +7939,40 @@ function equals$e(existing, incoming) {
|
|
|
7871
7939
|
}
|
|
7872
7940
|
const existing_configuration = existing.configuration;
|
|
7873
7941
|
const incoming_configuration = incoming.configuration;
|
|
7874
|
-
if (!(equals$
|
|
7942
|
+
if (!(equals$g(existing_configuration, incoming_configuration))) {
|
|
7875
7943
|
return false;
|
|
7876
7944
|
}
|
|
7877
7945
|
const existing_fieldReference = existing.fieldReference;
|
|
7878
7946
|
const incoming_fieldReference = incoming.fieldReference;
|
|
7879
|
-
if (!(equals$
|
|
7947
|
+
if (!(equals$A(existing_fieldReference, incoming_fieldReference))) {
|
|
7880
7948
|
return false;
|
|
7881
7949
|
}
|
|
7882
7950
|
return true;
|
|
7883
7951
|
}
|
|
7884
|
-
const ingest$
|
|
7952
|
+
const ingest$d = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7885
7953
|
if (process.env.NODE_ENV !== 'production') {
|
|
7886
|
-
const validateError = validate$
|
|
7954
|
+
const validateError = validate$o(input);
|
|
7887
7955
|
if (validateError !== null) {
|
|
7888
7956
|
throw validateError;
|
|
7889
7957
|
}
|
|
7890
7958
|
}
|
|
7891
|
-
const key = keyBuilderFromType$
|
|
7959
|
+
const key = keyBuilderFromType$9(luvio, input);
|
|
7892
7960
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7893
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
7961
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$f, RepresentationType$d, equals$f);
|
|
7894
7962
|
return createLink(key);
|
|
7895
7963
|
};
|
|
7896
|
-
function getTypeCacheKeys$
|
|
7964
|
+
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
7897
7965
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
7898
|
-
const rootKey = keyBuilderFromType$
|
|
7966
|
+
const rootKey = keyBuilderFromType$9(luvio, input);
|
|
7899
7967
|
rootKeySet.set(rootKey, {
|
|
7900
7968
|
namespace: keyPrefix,
|
|
7901
|
-
representationName: RepresentationType$
|
|
7969
|
+
representationName: RepresentationType$d,
|
|
7902
7970
|
mergeable: false
|
|
7903
7971
|
});
|
|
7904
7972
|
}
|
|
7905
7973
|
|
|
7906
|
-
const VERSION$
|
|
7907
|
-
function validate$
|
|
7974
|
+
const VERSION$e = "c5144c317ac72b60d580cab803514b8d";
|
|
7975
|
+
function validate$n(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
7908
7976
|
const v_error = (() => {
|
|
7909
7977
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7910
7978
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7947,10 +8015,10 @@ function validate$m(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
7947
8015
|
})();
|
|
7948
8016
|
return v_error === undefined ? null : v_error;
|
|
7949
8017
|
}
|
|
7950
|
-
const select$
|
|
8018
|
+
const select$t = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
7951
8019
|
return {
|
|
7952
8020
|
kind: 'Fragment',
|
|
7953
|
-
version: VERSION$
|
|
8021
|
+
version: VERSION$e,
|
|
7954
8022
|
private: [],
|
|
7955
8023
|
selections: [
|
|
7956
8024
|
{
|
|
@@ -7981,7 +8049,7 @@ const select$s = function SemanticRelationshipCriteriaOutputRepresentationSelect
|
|
|
7981
8049
|
]
|
|
7982
8050
|
};
|
|
7983
8051
|
};
|
|
7984
|
-
function equals$
|
|
8052
|
+
function equals$e(existing, incoming) {
|
|
7985
8053
|
const existing_joinOperator = existing.joinOperator;
|
|
7986
8054
|
const incoming_joinOperator = incoming.joinOperator;
|
|
7987
8055
|
// if at least one of these optionals is defined
|
|
@@ -8050,8 +8118,8 @@ function equals$d(existing, incoming) {
|
|
|
8050
8118
|
return true;
|
|
8051
8119
|
}
|
|
8052
8120
|
|
|
8053
|
-
const VERSION$
|
|
8054
|
-
function validate$
|
|
8121
|
+
const VERSION$d = "b54e564b71d26e8ac89b5649db876f6f";
|
|
8122
|
+
function validate$m(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
8055
8123
|
const v_error = (() => {
|
|
8056
8124
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8057
8125
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8101,7 +8169,7 @@ function validate$l(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
8101
8169
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
8102
8170
|
const obj_criteria_item = obj_criteria[i];
|
|
8103
8171
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
8104
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
8172
|
+
const referencepath_criteria_itemValidationError = validate$n(obj_criteria_item, path_criteria_item);
|
|
8105
8173
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
8106
8174
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
8107
8175
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8201,24 +8269,24 @@ function validate$l(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
8201
8269
|
})();
|
|
8202
8270
|
return v_error === undefined ? null : v_error;
|
|
8203
8271
|
}
|
|
8204
|
-
const RepresentationType$
|
|
8205
|
-
function keyBuilder$
|
|
8206
|
-
return keyPrefix + '::' + RepresentationType$
|
|
8272
|
+
const RepresentationType$c = 'SemanticRelationshipOutputRepresentation';
|
|
8273
|
+
function keyBuilder$t(luvio, config) {
|
|
8274
|
+
return keyPrefix + '::' + RepresentationType$c + ':' + config.name;
|
|
8207
8275
|
}
|
|
8208
|
-
function keyBuilderFromType$
|
|
8276
|
+
function keyBuilderFromType$8(luvio, object) {
|
|
8209
8277
|
const keyParams = {
|
|
8210
8278
|
name: object.id
|
|
8211
8279
|
};
|
|
8212
|
-
return keyBuilder$
|
|
8280
|
+
return keyBuilder$t(luvio, keyParams);
|
|
8213
8281
|
}
|
|
8214
|
-
function normalize$
|
|
8282
|
+
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
8215
8283
|
return input;
|
|
8216
8284
|
}
|
|
8217
|
-
const select$
|
|
8218
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
8285
|
+
const select$s = function SemanticRelationshipOutputRepresentationSelect() {
|
|
8286
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$t();
|
|
8219
8287
|
return {
|
|
8220
8288
|
kind: 'Fragment',
|
|
8221
|
-
version: VERSION$
|
|
8289
|
+
version: VERSION$d,
|
|
8222
8290
|
private: [],
|
|
8223
8291
|
selections: [
|
|
8224
8292
|
{
|
|
@@ -8322,7 +8390,7 @@ const select$r = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
8322
8390
|
]
|
|
8323
8391
|
};
|
|
8324
8392
|
};
|
|
8325
|
-
function equals$
|
|
8393
|
+
function equals$d(existing, incoming) {
|
|
8326
8394
|
const existing_isEnabled = existing.isEnabled;
|
|
8327
8395
|
const incoming_isEnabled = incoming.isEnabled;
|
|
8328
8396
|
// if at least one of these optionals is defined
|
|
@@ -8548,7 +8616,7 @@ function equals$c(existing, incoming) {
|
|
|
8548
8616
|
return false;
|
|
8549
8617
|
}
|
|
8550
8618
|
const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
|
|
8551
|
-
if (!(equals$
|
|
8619
|
+
if (!(equals$e(existing_criteria_item, incoming_criteria_item))) {
|
|
8552
8620
|
return false;
|
|
8553
8621
|
}
|
|
8554
8622
|
});
|
|
@@ -8558,30 +8626,30 @@ function equals$c(existing, incoming) {
|
|
|
8558
8626
|
}
|
|
8559
8627
|
return true;
|
|
8560
8628
|
}
|
|
8561
|
-
const ingest$
|
|
8629
|
+
const ingest$c = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8562
8630
|
if (process.env.NODE_ENV !== 'production') {
|
|
8563
|
-
const validateError = validate$
|
|
8631
|
+
const validateError = validate$m(input);
|
|
8564
8632
|
if (validateError !== null) {
|
|
8565
8633
|
throw validateError;
|
|
8566
8634
|
}
|
|
8567
8635
|
}
|
|
8568
|
-
const key = keyBuilderFromType$
|
|
8636
|
+
const key = keyBuilderFromType$8(luvio, input);
|
|
8569
8637
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
8570
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
8638
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$d, RepresentationType$c, equals$d);
|
|
8571
8639
|
return createLink(key);
|
|
8572
8640
|
};
|
|
8573
|
-
function getTypeCacheKeys$
|
|
8641
|
+
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
8574
8642
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
8575
|
-
const rootKey = keyBuilderFromType$
|
|
8643
|
+
const rootKey = keyBuilderFromType$8(luvio, input);
|
|
8576
8644
|
rootKeySet.set(rootKey, {
|
|
8577
8645
|
namespace: keyPrefix,
|
|
8578
|
-
representationName: RepresentationType$
|
|
8646
|
+
representationName: RepresentationType$c,
|
|
8579
8647
|
mergeable: false
|
|
8580
8648
|
});
|
|
8581
8649
|
}
|
|
8582
8650
|
|
|
8583
|
-
const VERSION$
|
|
8584
|
-
function validate$
|
|
8651
|
+
const VERSION$c = "35088fced8f6d5a9595954736caf0ea9";
|
|
8652
|
+
function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
8585
8653
|
const v_error = (() => {
|
|
8586
8654
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8587
8655
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8631,7 +8699,7 @@ function validate$k(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
8631
8699
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
8632
8700
|
const obj_fields_item = obj_fields[i];
|
|
8633
8701
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
8634
|
-
const referencepath_fields_itemValidationError = validate$
|
|
8702
|
+
const referencepath_fields_itemValidationError = validate$1d(obj_fields_item, path_fields_item);
|
|
8635
8703
|
if (referencepath_fields_itemValidationError !== null) {
|
|
8636
8704
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
8637
8705
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8689,7 +8757,7 @@ function validate$k(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
8689
8757
|
if (obj.semanticDimension !== undefined) {
|
|
8690
8758
|
const obj_semanticDimension = obj.semanticDimension;
|
|
8691
8759
|
const path_semanticDimension = path + '.semanticDimension';
|
|
8692
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
8760
|
+
const referencepath_semanticDimensionValidationError = validate$v(obj_semanticDimension, path_semanticDimension);
|
|
8693
8761
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
8694
8762
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
8695
8763
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8699,7 +8767,7 @@ function validate$k(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
8699
8767
|
if (obj.semanticMeasurement !== undefined) {
|
|
8700
8768
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
8701
8769
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
8702
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
8770
|
+
const referencepath_semanticMeasurementValidationError = validate$u(obj_semanticMeasurement, path_semanticMeasurement);
|
|
8703
8771
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
8704
8772
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
8705
8773
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8716,57 +8784,57 @@ function validate$k(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
8716
8784
|
})();
|
|
8717
8785
|
return v_error === undefined ? null : v_error;
|
|
8718
8786
|
}
|
|
8719
|
-
const RepresentationType$
|
|
8720
|
-
function keyBuilder$
|
|
8721
|
-
return keyPrefix + '::' + RepresentationType$
|
|
8787
|
+
const RepresentationType$b = 'SemanticMappedFieldOutputRepresentation';
|
|
8788
|
+
function keyBuilder$s(luvio, config) {
|
|
8789
|
+
return keyPrefix + '::' + RepresentationType$b + ':' + config.name;
|
|
8722
8790
|
}
|
|
8723
|
-
function keyBuilderFromType$
|
|
8791
|
+
function keyBuilderFromType$7(luvio, object) {
|
|
8724
8792
|
const keyParams = {
|
|
8725
8793
|
name: object.id
|
|
8726
8794
|
};
|
|
8727
|
-
return keyBuilder$
|
|
8795
|
+
return keyBuilder$s(luvio, keyParams);
|
|
8728
8796
|
}
|
|
8729
|
-
function normalize$
|
|
8797
|
+
function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
8730
8798
|
return input;
|
|
8731
8799
|
}
|
|
8732
|
-
const select$
|
|
8800
|
+
const select$r = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
8733
8801
|
return {
|
|
8734
8802
|
kind: 'Fragment',
|
|
8735
|
-
version: VERSION$
|
|
8803
|
+
version: VERSION$c,
|
|
8736
8804
|
private: [],
|
|
8737
8805
|
opaque: true
|
|
8738
8806
|
};
|
|
8739
8807
|
};
|
|
8740
|
-
function equals$
|
|
8808
|
+
function equals$c(existing, incoming) {
|
|
8741
8809
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
8742
8810
|
return false;
|
|
8743
8811
|
}
|
|
8744
8812
|
return true;
|
|
8745
8813
|
}
|
|
8746
|
-
const ingest$
|
|
8814
|
+
const ingest$b = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8747
8815
|
if (process.env.NODE_ENV !== 'production') {
|
|
8748
|
-
const validateError = validate$
|
|
8816
|
+
const validateError = validate$l(input);
|
|
8749
8817
|
if (validateError !== null) {
|
|
8750
8818
|
throw validateError;
|
|
8751
8819
|
}
|
|
8752
8820
|
}
|
|
8753
|
-
const key = keyBuilderFromType$
|
|
8821
|
+
const key = keyBuilderFromType$7(luvio, input);
|
|
8754
8822
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
8755
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
8823
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$c, RepresentationType$b, equals$c);
|
|
8756
8824
|
return createLink(key);
|
|
8757
8825
|
};
|
|
8758
|
-
function getTypeCacheKeys$
|
|
8826
|
+
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
8759
8827
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
8760
|
-
const rootKey = keyBuilderFromType$
|
|
8828
|
+
const rootKey = keyBuilderFromType$7(luvio, input);
|
|
8761
8829
|
rootKeySet.set(rootKey, {
|
|
8762
8830
|
namespace: keyPrefix,
|
|
8763
|
-
representationName: RepresentationType$
|
|
8831
|
+
representationName: RepresentationType$b,
|
|
8764
8832
|
mergeable: false
|
|
8765
8833
|
});
|
|
8766
8834
|
}
|
|
8767
8835
|
|
|
8768
|
-
const VERSION$
|
|
8769
|
-
function validate$
|
|
8836
|
+
const VERSION$b = "98b8b40b3bc74aaa0644e303d378db60";
|
|
8837
|
+
function validate$k(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
8770
8838
|
const v_error = (() => {
|
|
8771
8839
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8772
8840
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8899,24 +8967,24 @@ function validate$j(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
|
8899
8967
|
})();
|
|
8900
8968
|
return v_error === undefined ? null : v_error;
|
|
8901
8969
|
}
|
|
8902
|
-
const RepresentationType$
|
|
8903
|
-
function keyBuilder$
|
|
8904
|
-
return keyPrefix + '::' + RepresentationType$
|
|
8970
|
+
const RepresentationType$a = 'SemanticUnionOutputRepresentation';
|
|
8971
|
+
function keyBuilder$r(luvio, config) {
|
|
8972
|
+
return keyPrefix + '::' + RepresentationType$a + ':' + config.name;
|
|
8905
8973
|
}
|
|
8906
|
-
function keyBuilderFromType$
|
|
8974
|
+
function keyBuilderFromType$6(luvio, object) {
|
|
8907
8975
|
const keyParams = {
|
|
8908
8976
|
name: object.id
|
|
8909
8977
|
};
|
|
8910
|
-
return keyBuilder$
|
|
8978
|
+
return keyBuilder$r(luvio, keyParams);
|
|
8911
8979
|
}
|
|
8912
|
-
function normalize$
|
|
8980
|
+
function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
8913
8981
|
const input_semanticDataObjects = input.semanticDataObjects;
|
|
8914
8982
|
const input_semanticDataObjects_id = path.fullPath + '__semanticDataObjects';
|
|
8915
8983
|
if (input_semanticDataObjects !== undefined) {
|
|
8916
8984
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
8917
8985
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
8918
8986
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
8919
|
-
input_semanticDataObjects[i] = ingest$
|
|
8987
|
+
input_semanticDataObjects[i] = ingest$e(input_semanticDataObjects_item, {
|
|
8920
8988
|
fullPath: input_semanticDataObjects_item_id,
|
|
8921
8989
|
propertyName: i,
|
|
8922
8990
|
parent: {
|
|
@@ -8934,7 +9002,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
|
8934
9002
|
for (let i = 0; i < input_semanticMappedFields.length; i++) {
|
|
8935
9003
|
const input_semanticMappedFields_item = input_semanticMappedFields[i];
|
|
8936
9004
|
let input_semanticMappedFields_item_id = input_semanticMappedFields_id + '__' + i;
|
|
8937
|
-
input_semanticMappedFields[i] = ingest$
|
|
9005
|
+
input_semanticMappedFields[i] = ingest$b(input_semanticMappedFields_item, {
|
|
8938
9006
|
fullPath: input_semanticMappedFields_item_id,
|
|
8939
9007
|
propertyName: i,
|
|
8940
9008
|
parent: {
|
|
@@ -8948,10 +9016,10 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
|
8948
9016
|
}
|
|
8949
9017
|
return input;
|
|
8950
9018
|
}
|
|
8951
|
-
const select$
|
|
9019
|
+
const select$q = function SemanticUnionOutputRepresentationSelect() {
|
|
8952
9020
|
return {
|
|
8953
9021
|
kind: 'Fragment',
|
|
8954
|
-
version: VERSION$
|
|
9022
|
+
version: VERSION$b,
|
|
8955
9023
|
private: [],
|
|
8956
9024
|
selections: [
|
|
8957
9025
|
{
|
|
@@ -9015,19 +9083,19 @@ const select$p = function SemanticUnionOutputRepresentationSelect() {
|
|
|
9015
9083
|
kind: 'Link',
|
|
9016
9084
|
plural: true,
|
|
9017
9085
|
required: false,
|
|
9018
|
-
fragment: select$
|
|
9086
|
+
fragment: select$z()
|
|
9019
9087
|
},
|
|
9020
9088
|
{
|
|
9021
9089
|
name: 'semanticMappedFields',
|
|
9022
9090
|
kind: 'Link',
|
|
9023
9091
|
plural: true,
|
|
9024
9092
|
required: false,
|
|
9025
|
-
fragment: select$
|
|
9093
|
+
fragment: select$r()
|
|
9026
9094
|
}
|
|
9027
9095
|
]
|
|
9028
9096
|
};
|
|
9029
9097
|
};
|
|
9030
|
-
function equals$
|
|
9098
|
+
function equals$b(existing, incoming) {
|
|
9031
9099
|
const existing_apiName = existing.apiName;
|
|
9032
9100
|
const incoming_apiName = incoming.apiName;
|
|
9033
9101
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -9190,42 +9258,42 @@ function equals$a(existing, incoming) {
|
|
|
9190
9258
|
}
|
|
9191
9259
|
return true;
|
|
9192
9260
|
}
|
|
9193
|
-
const ingest$
|
|
9261
|
+
const ingest$a = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9194
9262
|
if (process.env.NODE_ENV !== 'production') {
|
|
9195
|
-
const validateError = validate$
|
|
9263
|
+
const validateError = validate$k(input);
|
|
9196
9264
|
if (validateError !== null) {
|
|
9197
9265
|
throw validateError;
|
|
9198
9266
|
}
|
|
9199
9267
|
}
|
|
9200
|
-
const key = keyBuilderFromType$
|
|
9268
|
+
const key = keyBuilderFromType$6(luvio, input);
|
|
9201
9269
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
9202
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
9270
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$b, RepresentationType$a, equals$b);
|
|
9203
9271
|
return createLink(key);
|
|
9204
9272
|
};
|
|
9205
|
-
function getTypeCacheKeys$
|
|
9273
|
+
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
9206
9274
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
9207
|
-
const rootKey = keyBuilderFromType$
|
|
9275
|
+
const rootKey = keyBuilderFromType$6(luvio, input);
|
|
9208
9276
|
rootKeySet.set(rootKey, {
|
|
9209
9277
|
namespace: keyPrefix,
|
|
9210
|
-
representationName: RepresentationType$
|
|
9278
|
+
representationName: RepresentationType$a,
|
|
9211
9279
|
mergeable: false
|
|
9212
9280
|
});
|
|
9213
9281
|
if (input.semanticDataObjects !== undefined) {
|
|
9214
9282
|
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
9215
9283
|
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
9216
|
-
getTypeCacheKeys$
|
|
9284
|
+
getTypeCacheKeys$e(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
9217
9285
|
}
|
|
9218
9286
|
}
|
|
9219
9287
|
if (input.semanticMappedFields !== undefined) {
|
|
9220
9288
|
const input_semanticMappedFields_length = input.semanticMappedFields.length;
|
|
9221
9289
|
for (let i = 0; i < input_semanticMappedFields_length; i++) {
|
|
9222
|
-
getTypeCacheKeys$
|
|
9290
|
+
getTypeCacheKeys$b(rootKeySet, luvio, input.semanticMappedFields[i]);
|
|
9223
9291
|
}
|
|
9224
9292
|
}
|
|
9225
9293
|
}
|
|
9226
9294
|
|
|
9227
|
-
const VERSION$
|
|
9228
|
-
function validate$
|
|
9295
|
+
const VERSION$a = "deed87abd43631c27a6067ac00a1a018";
|
|
9296
|
+
function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
9229
9297
|
const v_error = (() => {
|
|
9230
9298
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9231
9299
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9289,7 +9357,7 @@ function validate$i(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
9289
9357
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
9290
9358
|
const obj_filters_item = obj_filters[i];
|
|
9291
9359
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
9292
|
-
const referencepath_filters_itemValidationError = validate$
|
|
9360
|
+
const referencepath_filters_itemValidationError = validate$1b(obj_filters_item, path_filters_item);
|
|
9293
9361
|
if (referencepath_filters_itemValidationError !== null) {
|
|
9294
9362
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
9295
9363
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9410,24 +9478,24 @@ function validate$i(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
9410
9478
|
})();
|
|
9411
9479
|
return v_error === undefined ? null : v_error;
|
|
9412
9480
|
}
|
|
9413
|
-
const RepresentationType$
|
|
9414
|
-
function keyBuilder$
|
|
9415
|
-
return keyPrefix + '::' + RepresentationType$
|
|
9481
|
+
const RepresentationType$9 = 'SemanticLogicalViewOutputRepresentation';
|
|
9482
|
+
function keyBuilder$q(luvio, config) {
|
|
9483
|
+
return keyPrefix + '::' + RepresentationType$9 + ':' + config.name;
|
|
9416
9484
|
}
|
|
9417
|
-
function keyBuilderFromType$
|
|
9485
|
+
function keyBuilderFromType$5(luvio, object) {
|
|
9418
9486
|
const keyParams = {
|
|
9419
9487
|
name: object.id
|
|
9420
9488
|
};
|
|
9421
|
-
return keyBuilder$
|
|
9489
|
+
return keyBuilder$q(luvio, keyParams);
|
|
9422
9490
|
}
|
|
9423
|
-
function normalize$
|
|
9491
|
+
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
9424
9492
|
const input_semanticDataObjects = input.semanticDataObjects;
|
|
9425
9493
|
const input_semanticDataObjects_id = path.fullPath + '__semanticDataObjects';
|
|
9426
9494
|
if (input_semanticDataObjects !== undefined) {
|
|
9427
9495
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
9428
9496
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
9429
9497
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
9430
|
-
input_semanticDataObjects[i] = ingest$
|
|
9498
|
+
input_semanticDataObjects[i] = ingest$e(input_semanticDataObjects_item, {
|
|
9431
9499
|
fullPath: input_semanticDataObjects_item_id,
|
|
9432
9500
|
propertyName: i,
|
|
9433
9501
|
parent: {
|
|
@@ -9445,7 +9513,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
9445
9513
|
for (let i = 0; i < input_semanticRelationships.length; i++) {
|
|
9446
9514
|
const input_semanticRelationships_item = input_semanticRelationships[i];
|
|
9447
9515
|
let input_semanticRelationships_item_id = input_semanticRelationships_id + '__' + i;
|
|
9448
|
-
input_semanticRelationships[i] = ingest$
|
|
9516
|
+
input_semanticRelationships[i] = ingest$c(input_semanticRelationships_item, {
|
|
9449
9517
|
fullPath: input_semanticRelationships_item_id,
|
|
9450
9518
|
propertyName: i,
|
|
9451
9519
|
parent: {
|
|
@@ -9463,7 +9531,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
9463
9531
|
for (let i = 0; i < input_semanticUnions.length; i++) {
|
|
9464
9532
|
const input_semanticUnions_item = input_semanticUnions[i];
|
|
9465
9533
|
let input_semanticUnions_item_id = input_semanticUnions_id + '__' + i;
|
|
9466
|
-
input_semanticUnions[i] = ingest$
|
|
9534
|
+
input_semanticUnions[i] = ingest$a(input_semanticUnions_item, {
|
|
9467
9535
|
fullPath: input_semanticUnions_item_id,
|
|
9468
9536
|
propertyName: i,
|
|
9469
9537
|
parent: {
|
|
@@ -9477,11 +9545,11 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
9477
9545
|
}
|
|
9478
9546
|
return input;
|
|
9479
9547
|
}
|
|
9480
|
-
const select$
|
|
9481
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
9548
|
+
const select$p = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
9549
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
9482
9550
|
return {
|
|
9483
9551
|
kind: 'Fragment',
|
|
9484
|
-
version: VERSION$
|
|
9552
|
+
version: VERSION$a,
|
|
9485
9553
|
private: [],
|
|
9486
9554
|
selections: [
|
|
9487
9555
|
{
|
|
@@ -9512,7 +9580,582 @@ const select$o = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
9512
9580
|
required: false
|
|
9513
9581
|
},
|
|
9514
9582
|
{
|
|
9515
|
-
name: 'description',
|
|
9583
|
+
name: 'description',
|
|
9584
|
+
kind: 'Scalar',
|
|
9585
|
+
required: false
|
|
9586
|
+
},
|
|
9587
|
+
{
|
|
9588
|
+
name: 'filterLogic',
|
|
9589
|
+
kind: 'Scalar',
|
|
9590
|
+
required: false
|
|
9591
|
+
},
|
|
9592
|
+
{
|
|
9593
|
+
name: 'filters',
|
|
9594
|
+
kind: 'Object',
|
|
9595
|
+
plural: true,
|
|
9596
|
+
selections: SemanticFilterOutputRepresentation__selections,
|
|
9597
|
+
required: false
|
|
9598
|
+
},
|
|
9599
|
+
{
|
|
9600
|
+
name: 'id',
|
|
9601
|
+
kind: 'Scalar'
|
|
9602
|
+
},
|
|
9603
|
+
{
|
|
9604
|
+
name: 'isQueryable',
|
|
9605
|
+
kind: 'Scalar',
|
|
9606
|
+
required: false
|
|
9607
|
+
},
|
|
9608
|
+
{
|
|
9609
|
+
name: 'isSystemDefinition',
|
|
9610
|
+
kind: 'Scalar',
|
|
9611
|
+
required: false
|
|
9612
|
+
},
|
|
9613
|
+
{
|
|
9614
|
+
name: 'label',
|
|
9615
|
+
kind: 'Scalar',
|
|
9616
|
+
required: false
|
|
9617
|
+
},
|
|
9618
|
+
{
|
|
9619
|
+
name: 'lastModifiedBy',
|
|
9620
|
+
kind: 'Scalar',
|
|
9621
|
+
required: false
|
|
9622
|
+
},
|
|
9623
|
+
{
|
|
9624
|
+
name: 'lastModifiedDate',
|
|
9625
|
+
kind: 'Scalar',
|
|
9626
|
+
required: false
|
|
9627
|
+
},
|
|
9628
|
+
{
|
|
9629
|
+
name: 'primaryNameField',
|
|
9630
|
+
kind: 'Scalar',
|
|
9631
|
+
required: false
|
|
9632
|
+
},
|
|
9633
|
+
{
|
|
9634
|
+
name: 'semanticDataObjects',
|
|
9635
|
+
kind: 'Link',
|
|
9636
|
+
plural: true,
|
|
9637
|
+
required: false,
|
|
9638
|
+
fragment: select$z()
|
|
9639
|
+
},
|
|
9640
|
+
{
|
|
9641
|
+
name: 'semanticRelationships',
|
|
9642
|
+
kind: 'Link',
|
|
9643
|
+
plural: true,
|
|
9644
|
+
required: false,
|
|
9645
|
+
fragment: select$s()
|
|
9646
|
+
},
|
|
9647
|
+
{
|
|
9648
|
+
name: 'semanticUnions',
|
|
9649
|
+
kind: 'Link',
|
|
9650
|
+
plural: true,
|
|
9651
|
+
required: false,
|
|
9652
|
+
fragment: select$q()
|
|
9653
|
+
},
|
|
9654
|
+
{
|
|
9655
|
+
name: 'semanticViewTypeEnum',
|
|
9656
|
+
kind: 'Scalar',
|
|
9657
|
+
required: false
|
|
9658
|
+
},
|
|
9659
|
+
{
|
|
9660
|
+
name: 'tableType',
|
|
9661
|
+
kind: 'Scalar',
|
|
9662
|
+
required: false
|
|
9663
|
+
},
|
|
9664
|
+
{
|
|
9665
|
+
name: 'unmapped',
|
|
9666
|
+
kind: 'Scalar',
|
|
9667
|
+
required: false
|
|
9668
|
+
}
|
|
9669
|
+
]
|
|
9670
|
+
};
|
|
9671
|
+
};
|
|
9672
|
+
function equals$a(existing, incoming) {
|
|
9673
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
9674
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
9675
|
+
// if at least one of these optionals is defined
|
|
9676
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
9677
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9678
|
+
// not equal
|
|
9679
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
9680
|
+
return false;
|
|
9681
|
+
}
|
|
9682
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
9683
|
+
return false;
|
|
9684
|
+
}
|
|
9685
|
+
}
|
|
9686
|
+
const existing_unmapped = existing.unmapped;
|
|
9687
|
+
const incoming_unmapped = incoming.unmapped;
|
|
9688
|
+
// if at least one of these optionals is defined
|
|
9689
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
9690
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9691
|
+
// not equal
|
|
9692
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
9693
|
+
return false;
|
|
9694
|
+
}
|
|
9695
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
9696
|
+
return false;
|
|
9697
|
+
}
|
|
9698
|
+
}
|
|
9699
|
+
const existing_apiName = existing.apiName;
|
|
9700
|
+
const incoming_apiName = incoming.apiName;
|
|
9701
|
+
if (!(existing_apiName === incoming_apiName)) {
|
|
9702
|
+
return false;
|
|
9703
|
+
}
|
|
9704
|
+
const existing_baseModelApiName = existing.baseModelApiName;
|
|
9705
|
+
const incoming_baseModelApiName = incoming.baseModelApiName;
|
|
9706
|
+
// if at least one of these optionals is defined
|
|
9707
|
+
if (existing_baseModelApiName !== undefined || incoming_baseModelApiName !== undefined) {
|
|
9708
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9709
|
+
// not equal
|
|
9710
|
+
if (existing_baseModelApiName === undefined || incoming_baseModelApiName === undefined) {
|
|
9711
|
+
return false;
|
|
9712
|
+
}
|
|
9713
|
+
if (!(existing_baseModelApiName === incoming_baseModelApiName)) {
|
|
9714
|
+
return false;
|
|
9715
|
+
}
|
|
9716
|
+
}
|
|
9717
|
+
const existing_cacheKey = existing.cacheKey;
|
|
9718
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
9719
|
+
// if at least one of these optionals is defined
|
|
9720
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
9721
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9722
|
+
// not equal
|
|
9723
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
9724
|
+
return false;
|
|
9725
|
+
}
|
|
9726
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
9727
|
+
return false;
|
|
9728
|
+
}
|
|
9729
|
+
}
|
|
9730
|
+
const existing_createdBy = existing.createdBy;
|
|
9731
|
+
const incoming_createdBy = incoming.createdBy;
|
|
9732
|
+
if (!(existing_createdBy === incoming_createdBy)) {
|
|
9733
|
+
return false;
|
|
9734
|
+
}
|
|
9735
|
+
const existing_createdDate = existing.createdDate;
|
|
9736
|
+
const incoming_createdDate = incoming.createdDate;
|
|
9737
|
+
if (!(existing_createdDate === incoming_createdDate)) {
|
|
9738
|
+
return false;
|
|
9739
|
+
}
|
|
9740
|
+
const existing_customSQL = existing.customSQL;
|
|
9741
|
+
const incoming_customSQL = incoming.customSQL;
|
|
9742
|
+
// if at least one of these optionals is defined
|
|
9743
|
+
if (existing_customSQL !== undefined || incoming_customSQL !== undefined) {
|
|
9744
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9745
|
+
// not equal
|
|
9746
|
+
if (existing_customSQL === undefined || incoming_customSQL === undefined) {
|
|
9747
|
+
return false;
|
|
9748
|
+
}
|
|
9749
|
+
if (!(existing_customSQL === incoming_customSQL)) {
|
|
9750
|
+
return false;
|
|
9751
|
+
}
|
|
9752
|
+
}
|
|
9753
|
+
const existing_description = existing.description;
|
|
9754
|
+
const incoming_description = incoming.description;
|
|
9755
|
+
// if at least one of these optionals is defined
|
|
9756
|
+
if (existing_description !== undefined || incoming_description !== undefined) {
|
|
9757
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9758
|
+
// not equal
|
|
9759
|
+
if (existing_description === undefined || incoming_description === undefined) {
|
|
9760
|
+
return false;
|
|
9761
|
+
}
|
|
9762
|
+
if (!(existing_description === incoming_description)) {
|
|
9763
|
+
return false;
|
|
9764
|
+
}
|
|
9765
|
+
}
|
|
9766
|
+
const existing_filterLogic = existing.filterLogic;
|
|
9767
|
+
const incoming_filterLogic = incoming.filterLogic;
|
|
9768
|
+
// if at least one of these optionals is defined
|
|
9769
|
+
if (existing_filterLogic !== undefined || incoming_filterLogic !== undefined) {
|
|
9770
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9771
|
+
// not equal
|
|
9772
|
+
if (existing_filterLogic === undefined || incoming_filterLogic === undefined) {
|
|
9773
|
+
return false;
|
|
9774
|
+
}
|
|
9775
|
+
if (!(existing_filterLogic === incoming_filterLogic)) {
|
|
9776
|
+
return false;
|
|
9777
|
+
}
|
|
9778
|
+
}
|
|
9779
|
+
const existing_id = existing.id;
|
|
9780
|
+
const incoming_id = incoming.id;
|
|
9781
|
+
if (!(existing_id === incoming_id)) {
|
|
9782
|
+
return false;
|
|
9783
|
+
}
|
|
9784
|
+
const existing_isQueryable = existing.isQueryable;
|
|
9785
|
+
const incoming_isQueryable = incoming.isQueryable;
|
|
9786
|
+
// if at least one of these optionals is defined
|
|
9787
|
+
if (existing_isQueryable !== undefined || incoming_isQueryable !== undefined) {
|
|
9788
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9789
|
+
// not equal
|
|
9790
|
+
if (existing_isQueryable === undefined || incoming_isQueryable === undefined) {
|
|
9791
|
+
return false;
|
|
9792
|
+
}
|
|
9793
|
+
if (!(existing_isQueryable === incoming_isQueryable)) {
|
|
9794
|
+
return false;
|
|
9795
|
+
}
|
|
9796
|
+
}
|
|
9797
|
+
const existing_label = existing.label;
|
|
9798
|
+
const incoming_label = incoming.label;
|
|
9799
|
+
// if at least one of these optionals is defined
|
|
9800
|
+
if (existing_label !== undefined || incoming_label !== undefined) {
|
|
9801
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9802
|
+
// not equal
|
|
9803
|
+
if (existing_label === undefined || incoming_label === undefined) {
|
|
9804
|
+
return false;
|
|
9805
|
+
}
|
|
9806
|
+
if (!(existing_label === incoming_label)) {
|
|
9807
|
+
return false;
|
|
9808
|
+
}
|
|
9809
|
+
}
|
|
9810
|
+
const existing_lastModifiedBy = existing.lastModifiedBy;
|
|
9811
|
+
const incoming_lastModifiedBy = incoming.lastModifiedBy;
|
|
9812
|
+
// if at least one of these optionals is defined
|
|
9813
|
+
if (existing_lastModifiedBy !== undefined || incoming_lastModifiedBy !== undefined) {
|
|
9814
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9815
|
+
// not equal
|
|
9816
|
+
if (existing_lastModifiedBy === undefined || incoming_lastModifiedBy === undefined) {
|
|
9817
|
+
return false;
|
|
9818
|
+
}
|
|
9819
|
+
if (!(existing_lastModifiedBy === incoming_lastModifiedBy)) {
|
|
9820
|
+
return false;
|
|
9821
|
+
}
|
|
9822
|
+
}
|
|
9823
|
+
const existing_lastModifiedDate = existing.lastModifiedDate;
|
|
9824
|
+
const incoming_lastModifiedDate = incoming.lastModifiedDate;
|
|
9825
|
+
// if at least one of these optionals is defined
|
|
9826
|
+
if (existing_lastModifiedDate !== undefined || incoming_lastModifiedDate !== undefined) {
|
|
9827
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9828
|
+
// not equal
|
|
9829
|
+
if (existing_lastModifiedDate === undefined || incoming_lastModifiedDate === undefined) {
|
|
9830
|
+
return false;
|
|
9831
|
+
}
|
|
9832
|
+
if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
|
|
9833
|
+
return false;
|
|
9834
|
+
}
|
|
9835
|
+
}
|
|
9836
|
+
const existing_primaryNameField = existing.primaryNameField;
|
|
9837
|
+
const incoming_primaryNameField = incoming.primaryNameField;
|
|
9838
|
+
// if at least one of these optionals is defined
|
|
9839
|
+
if (existing_primaryNameField !== undefined || incoming_primaryNameField !== undefined) {
|
|
9840
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9841
|
+
// not equal
|
|
9842
|
+
if (existing_primaryNameField === undefined || incoming_primaryNameField === undefined) {
|
|
9843
|
+
return false;
|
|
9844
|
+
}
|
|
9845
|
+
if (!(existing_primaryNameField === incoming_primaryNameField)) {
|
|
9846
|
+
return false;
|
|
9847
|
+
}
|
|
9848
|
+
}
|
|
9849
|
+
const existing_semanticViewTypeEnum = existing.semanticViewTypeEnum;
|
|
9850
|
+
const incoming_semanticViewTypeEnum = incoming.semanticViewTypeEnum;
|
|
9851
|
+
// if at least one of these optionals is defined
|
|
9852
|
+
if (existing_semanticViewTypeEnum !== undefined || incoming_semanticViewTypeEnum !== undefined) {
|
|
9853
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9854
|
+
// not equal
|
|
9855
|
+
if (existing_semanticViewTypeEnum === undefined || incoming_semanticViewTypeEnum === undefined) {
|
|
9856
|
+
return false;
|
|
9857
|
+
}
|
|
9858
|
+
if (!(existing_semanticViewTypeEnum === incoming_semanticViewTypeEnum)) {
|
|
9859
|
+
return false;
|
|
9860
|
+
}
|
|
9861
|
+
}
|
|
9862
|
+
const existing_tableType = existing.tableType;
|
|
9863
|
+
const incoming_tableType = incoming.tableType;
|
|
9864
|
+
// if at least one of these optionals is defined
|
|
9865
|
+
if (existing_tableType !== undefined || incoming_tableType !== undefined) {
|
|
9866
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9867
|
+
// not equal
|
|
9868
|
+
if (existing_tableType === undefined || incoming_tableType === undefined) {
|
|
9869
|
+
return false;
|
|
9870
|
+
}
|
|
9871
|
+
if (!(existing_tableType === incoming_tableType)) {
|
|
9872
|
+
return false;
|
|
9873
|
+
}
|
|
9874
|
+
}
|
|
9875
|
+
const existing_filters = existing.filters;
|
|
9876
|
+
const incoming_filters = incoming.filters;
|
|
9877
|
+
// if at least one of these optionals is defined
|
|
9878
|
+
if (existing_filters !== undefined || incoming_filters !== undefined) {
|
|
9879
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9880
|
+
// not equal
|
|
9881
|
+
if (existing_filters === undefined || incoming_filters === undefined) {
|
|
9882
|
+
return false;
|
|
9883
|
+
}
|
|
9884
|
+
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
9885
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
9886
|
+
return false;
|
|
9887
|
+
}
|
|
9888
|
+
});
|
|
9889
|
+
if (equals_filters_items === false) {
|
|
9890
|
+
return false;
|
|
9891
|
+
}
|
|
9892
|
+
}
|
|
9893
|
+
const existing_semanticDataObjects = existing.semanticDataObjects;
|
|
9894
|
+
const incoming_semanticDataObjects = incoming.semanticDataObjects;
|
|
9895
|
+
// if at least one of these optionals is defined
|
|
9896
|
+
if (existing_semanticDataObjects !== undefined || incoming_semanticDataObjects !== undefined) {
|
|
9897
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9898
|
+
// not equal
|
|
9899
|
+
if (existing_semanticDataObjects === undefined || incoming_semanticDataObjects === undefined) {
|
|
9900
|
+
return false;
|
|
9901
|
+
}
|
|
9902
|
+
const equals_semanticDataObjects_items = equalsArray(existing_semanticDataObjects, incoming_semanticDataObjects, (existing_semanticDataObjects_item, incoming_semanticDataObjects_item) => {
|
|
9903
|
+
if (!(existing_semanticDataObjects_item.__ref === incoming_semanticDataObjects_item.__ref)) {
|
|
9904
|
+
return false;
|
|
9905
|
+
}
|
|
9906
|
+
});
|
|
9907
|
+
if (equals_semanticDataObjects_items === false) {
|
|
9908
|
+
return false;
|
|
9909
|
+
}
|
|
9910
|
+
}
|
|
9911
|
+
const existing_semanticRelationships = existing.semanticRelationships;
|
|
9912
|
+
const incoming_semanticRelationships = incoming.semanticRelationships;
|
|
9913
|
+
// if at least one of these optionals is defined
|
|
9914
|
+
if (existing_semanticRelationships !== undefined || incoming_semanticRelationships !== undefined) {
|
|
9915
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9916
|
+
// not equal
|
|
9917
|
+
if (existing_semanticRelationships === undefined || incoming_semanticRelationships === undefined) {
|
|
9918
|
+
return false;
|
|
9919
|
+
}
|
|
9920
|
+
const equals_semanticRelationships_items = equalsArray(existing_semanticRelationships, incoming_semanticRelationships, (existing_semanticRelationships_item, incoming_semanticRelationships_item) => {
|
|
9921
|
+
if (!(existing_semanticRelationships_item.__ref === incoming_semanticRelationships_item.__ref)) {
|
|
9922
|
+
return false;
|
|
9923
|
+
}
|
|
9924
|
+
});
|
|
9925
|
+
if (equals_semanticRelationships_items === false) {
|
|
9926
|
+
return false;
|
|
9927
|
+
}
|
|
9928
|
+
}
|
|
9929
|
+
const existing_semanticUnions = existing.semanticUnions;
|
|
9930
|
+
const incoming_semanticUnions = incoming.semanticUnions;
|
|
9931
|
+
// if at least one of these optionals is defined
|
|
9932
|
+
if (existing_semanticUnions !== undefined || incoming_semanticUnions !== undefined) {
|
|
9933
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9934
|
+
// not equal
|
|
9935
|
+
if (existing_semanticUnions === undefined || incoming_semanticUnions === undefined) {
|
|
9936
|
+
return false;
|
|
9937
|
+
}
|
|
9938
|
+
const equals_semanticUnions_items = equalsArray(existing_semanticUnions, incoming_semanticUnions, (existing_semanticUnions_item, incoming_semanticUnions_item) => {
|
|
9939
|
+
if (!(existing_semanticUnions_item.__ref === incoming_semanticUnions_item.__ref)) {
|
|
9940
|
+
return false;
|
|
9941
|
+
}
|
|
9942
|
+
});
|
|
9943
|
+
if (equals_semanticUnions_items === false) {
|
|
9944
|
+
return false;
|
|
9945
|
+
}
|
|
9946
|
+
}
|
|
9947
|
+
return true;
|
|
9948
|
+
}
|
|
9949
|
+
const ingest$9 = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9950
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
9951
|
+
const validateError = validate$j(input);
|
|
9952
|
+
if (validateError !== null) {
|
|
9953
|
+
throw validateError;
|
|
9954
|
+
}
|
|
9955
|
+
}
|
|
9956
|
+
const key = keyBuilderFromType$5(luvio, input);
|
|
9957
|
+
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
9958
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$a, RepresentationType$9, equals$a);
|
|
9959
|
+
return createLink(key);
|
|
9960
|
+
};
|
|
9961
|
+
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
9962
|
+
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
9963
|
+
const rootKey = keyBuilderFromType$5(luvio, input);
|
|
9964
|
+
rootKeySet.set(rootKey, {
|
|
9965
|
+
namespace: keyPrefix,
|
|
9966
|
+
representationName: RepresentationType$9,
|
|
9967
|
+
mergeable: false
|
|
9968
|
+
});
|
|
9969
|
+
if (input.semanticDataObjects !== undefined) {
|
|
9970
|
+
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
9971
|
+
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
9972
|
+
getTypeCacheKeys$e(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
9973
|
+
}
|
|
9974
|
+
}
|
|
9975
|
+
if (input.semanticRelationships !== undefined) {
|
|
9976
|
+
const input_semanticRelationships_length = input.semanticRelationships.length;
|
|
9977
|
+
for (let i = 0; i < input_semanticRelationships_length; i++) {
|
|
9978
|
+
getTypeCacheKeys$c(rootKeySet, luvio, input.semanticRelationships[i]);
|
|
9979
|
+
}
|
|
9980
|
+
}
|
|
9981
|
+
if (input.semanticUnions !== undefined) {
|
|
9982
|
+
const input_semanticUnions_length = input.semanticUnions.length;
|
|
9983
|
+
for (let i = 0; i < input_semanticUnions_length; i++) {
|
|
9984
|
+
getTypeCacheKeys$a(rootKeySet, luvio, input.semanticUnions[i]);
|
|
9985
|
+
}
|
|
9986
|
+
}
|
|
9987
|
+
}
|
|
9988
|
+
|
|
9989
|
+
const VERSION$9 = "929176a252c7b25bb4d58a449a4c3051";
|
|
9990
|
+
function validate$i(obj, path = 'SemanticModelFilterOutputRepresentation') {
|
|
9991
|
+
const v_error = (() => {
|
|
9992
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9993
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
9994
|
+
}
|
|
9995
|
+
const obj_apiName = obj.apiName;
|
|
9996
|
+
const path_apiName = path + '.apiName';
|
|
9997
|
+
if (typeof obj_apiName !== 'string') {
|
|
9998
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
9999
|
+
}
|
|
10000
|
+
if (obj.baseModelApiName !== undefined) {
|
|
10001
|
+
const obj_baseModelApiName = obj.baseModelApiName;
|
|
10002
|
+
const path_baseModelApiName = path + '.baseModelApiName';
|
|
10003
|
+
if (typeof obj_baseModelApiName !== 'string') {
|
|
10004
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
10005
|
+
}
|
|
10006
|
+
}
|
|
10007
|
+
if (obj.cacheKey !== undefined) {
|
|
10008
|
+
const obj_cacheKey = obj.cacheKey;
|
|
10009
|
+
const path_cacheKey = path + '.cacheKey';
|
|
10010
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
10011
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
10012
|
+
}
|
|
10013
|
+
}
|
|
10014
|
+
const obj_createdBy = obj.createdBy;
|
|
10015
|
+
const path_createdBy = path + '.createdBy';
|
|
10016
|
+
if (typeof obj_createdBy !== 'string') {
|
|
10017
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdBy + '" (at "' + path_createdBy + '")');
|
|
10018
|
+
}
|
|
10019
|
+
const obj_createdDate = obj.createdDate;
|
|
10020
|
+
const path_createdDate = path + '.createdDate';
|
|
10021
|
+
if (typeof obj_createdDate !== 'string') {
|
|
10022
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
10023
|
+
}
|
|
10024
|
+
if (obj.description !== undefined) {
|
|
10025
|
+
const obj_description = obj.description;
|
|
10026
|
+
const path_description = path + '.description';
|
|
10027
|
+
if (typeof obj_description !== 'string') {
|
|
10028
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
10029
|
+
}
|
|
10030
|
+
}
|
|
10031
|
+
if (obj.externalConnectionApiName !== undefined) {
|
|
10032
|
+
const obj_externalConnectionApiName = obj.externalConnectionApiName;
|
|
10033
|
+
const path_externalConnectionApiName = path + '.externalConnectionApiName';
|
|
10034
|
+
if (typeof obj_externalConnectionApiName !== 'string') {
|
|
10035
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
10036
|
+
}
|
|
10037
|
+
}
|
|
10038
|
+
if (obj.externalId !== undefined) {
|
|
10039
|
+
const obj_externalId = obj.externalId;
|
|
10040
|
+
const path_externalId = path + '.externalId';
|
|
10041
|
+
if (typeof obj_externalId !== 'string') {
|
|
10042
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalId + '" (at "' + path_externalId + '")');
|
|
10043
|
+
}
|
|
10044
|
+
}
|
|
10045
|
+
if (obj.filterLogic !== undefined) {
|
|
10046
|
+
const obj_filterLogic = obj.filterLogic;
|
|
10047
|
+
const path_filterLogic = path + '.filterLogic';
|
|
10048
|
+
if (typeof obj_filterLogic !== 'string') {
|
|
10049
|
+
return new TypeError('Expected "string" but received "' + typeof obj_filterLogic + '" (at "' + path_filterLogic + '")');
|
|
10050
|
+
}
|
|
10051
|
+
}
|
|
10052
|
+
if (obj.filters !== undefined) {
|
|
10053
|
+
const obj_filters = obj.filters;
|
|
10054
|
+
const path_filters = path + '.filters';
|
|
10055
|
+
if (!ArrayIsArray(obj_filters)) {
|
|
10056
|
+
return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
|
|
10057
|
+
}
|
|
10058
|
+
for (let i = 0; i < obj_filters.length; i++) {
|
|
10059
|
+
const obj_filters_item = obj_filters[i];
|
|
10060
|
+
const path_filters_item = path_filters + '[' + i + ']';
|
|
10061
|
+
const referencepath_filters_itemValidationError = validate$1b(obj_filters_item, path_filters_item);
|
|
10062
|
+
if (referencepath_filters_itemValidationError !== null) {
|
|
10063
|
+
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
10064
|
+
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
10065
|
+
return new TypeError(message);
|
|
10066
|
+
}
|
|
10067
|
+
}
|
|
10068
|
+
}
|
|
10069
|
+
const obj_id = obj.id;
|
|
10070
|
+
const path_id = path + '.id';
|
|
10071
|
+
if (typeof obj_id !== 'string') {
|
|
10072
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
10073
|
+
}
|
|
10074
|
+
if (obj.isQueryable !== undefined) {
|
|
10075
|
+
const obj_isQueryable = obj.isQueryable;
|
|
10076
|
+
const path_isQueryable = path + '.isQueryable';
|
|
10077
|
+
if (typeof obj_isQueryable !== 'string') {
|
|
10078
|
+
return new TypeError('Expected "string" but received "' + typeof obj_isQueryable + '" (at "' + path_isQueryable + '")');
|
|
10079
|
+
}
|
|
10080
|
+
}
|
|
10081
|
+
if (obj.label !== undefined) {
|
|
10082
|
+
const obj_label = obj.label;
|
|
10083
|
+
const path_label = path + '.label';
|
|
10084
|
+
if (typeof obj_label !== 'string') {
|
|
10085
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
10086
|
+
}
|
|
10087
|
+
}
|
|
10088
|
+
if (obj.lastModifiedBy !== undefined) {
|
|
10089
|
+
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
10090
|
+
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
10091
|
+
if (typeof obj_lastModifiedBy !== 'string') {
|
|
10092
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedBy + '" (at "' + path_lastModifiedBy + '")');
|
|
10093
|
+
}
|
|
10094
|
+
}
|
|
10095
|
+
if (obj.lastModifiedDate !== undefined) {
|
|
10096
|
+
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
10097
|
+
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
10098
|
+
if (typeof obj_lastModifiedDate !== 'string') {
|
|
10099
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
10100
|
+
}
|
|
10101
|
+
}
|
|
10102
|
+
})();
|
|
10103
|
+
return v_error === undefined ? null : v_error;
|
|
10104
|
+
}
|
|
10105
|
+
const RepresentationType$8 = 'SemanticModelFilterOutputRepresentation';
|
|
10106
|
+
function keyBuilder$p(luvio, config) {
|
|
10107
|
+
return keyPrefix + '::' + RepresentationType$8 + ':' + config.name;
|
|
10108
|
+
}
|
|
10109
|
+
function keyBuilderFromType$4(luvio, object) {
|
|
10110
|
+
const keyParams = {
|
|
10111
|
+
name: object.id
|
|
10112
|
+
};
|
|
10113
|
+
return keyBuilder$p(luvio, keyParams);
|
|
10114
|
+
}
|
|
10115
|
+
function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
10116
|
+
return input;
|
|
10117
|
+
}
|
|
10118
|
+
const select$o = function SemanticModelFilterOutputRepresentationSelect() {
|
|
10119
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
10120
|
+
return {
|
|
10121
|
+
kind: 'Fragment',
|
|
10122
|
+
version: VERSION$9,
|
|
10123
|
+
private: [],
|
|
10124
|
+
selections: [
|
|
10125
|
+
{
|
|
10126
|
+
name: 'apiName',
|
|
10127
|
+
kind: 'Scalar'
|
|
10128
|
+
},
|
|
10129
|
+
{
|
|
10130
|
+
name: 'baseModelApiName',
|
|
10131
|
+
kind: 'Scalar',
|
|
10132
|
+
required: false
|
|
10133
|
+
},
|
|
10134
|
+
{
|
|
10135
|
+
name: 'cacheKey',
|
|
10136
|
+
kind: 'Scalar',
|
|
10137
|
+
required: false
|
|
10138
|
+
},
|
|
10139
|
+
{
|
|
10140
|
+
name: 'createdBy',
|
|
10141
|
+
kind: 'Scalar'
|
|
10142
|
+
},
|
|
10143
|
+
{
|
|
10144
|
+
name: 'createdDate',
|
|
10145
|
+
kind: 'Scalar'
|
|
10146
|
+
},
|
|
10147
|
+
{
|
|
10148
|
+
name: 'description',
|
|
10149
|
+
kind: 'Scalar',
|
|
10150
|
+
required: false
|
|
10151
|
+
},
|
|
10152
|
+
{
|
|
10153
|
+
name: 'externalConnectionApiName',
|
|
10154
|
+
kind: 'Scalar',
|
|
10155
|
+
required: false
|
|
10156
|
+
},
|
|
10157
|
+
{
|
|
10158
|
+
name: 'externalId',
|
|
9516
10159
|
kind: 'Scalar',
|
|
9517
10160
|
required: false
|
|
9518
10161
|
},
|
|
@@ -9537,11 +10180,6 @@ const select$o = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
9537
10180
|
kind: 'Scalar',
|
|
9538
10181
|
required: false
|
|
9539
10182
|
},
|
|
9540
|
-
{
|
|
9541
|
-
name: 'isSystemDefinition',
|
|
9542
|
-
kind: 'Scalar',
|
|
9543
|
-
required: false
|
|
9544
|
-
},
|
|
9545
10183
|
{
|
|
9546
10184
|
name: 'label',
|
|
9547
10185
|
kind: 'Scalar',
|
|
@@ -9556,78 +10194,11 @@ const select$o = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
9556
10194
|
name: 'lastModifiedDate',
|
|
9557
10195
|
kind: 'Scalar',
|
|
9558
10196
|
required: false
|
|
9559
|
-
},
|
|
9560
|
-
{
|
|
9561
|
-
name: 'primaryNameField',
|
|
9562
|
-
kind: 'Scalar',
|
|
9563
|
-
required: false
|
|
9564
|
-
},
|
|
9565
|
-
{
|
|
9566
|
-
name: 'semanticDataObjects',
|
|
9567
|
-
kind: 'Link',
|
|
9568
|
-
plural: true,
|
|
9569
|
-
required: false,
|
|
9570
|
-
fragment: select$y()
|
|
9571
|
-
},
|
|
9572
|
-
{
|
|
9573
|
-
name: 'semanticRelationships',
|
|
9574
|
-
kind: 'Link',
|
|
9575
|
-
plural: true,
|
|
9576
|
-
required: false,
|
|
9577
|
-
fragment: select$r()
|
|
9578
|
-
},
|
|
9579
|
-
{
|
|
9580
|
-
name: 'semanticUnions',
|
|
9581
|
-
kind: 'Link',
|
|
9582
|
-
plural: true,
|
|
9583
|
-
required: false,
|
|
9584
|
-
fragment: select$p()
|
|
9585
|
-
},
|
|
9586
|
-
{
|
|
9587
|
-
name: 'semanticViewTypeEnum',
|
|
9588
|
-
kind: 'Scalar',
|
|
9589
|
-
required: false
|
|
9590
|
-
},
|
|
9591
|
-
{
|
|
9592
|
-
name: 'tableType',
|
|
9593
|
-
kind: 'Scalar',
|
|
9594
|
-
required: false
|
|
9595
|
-
},
|
|
9596
|
-
{
|
|
9597
|
-
name: 'unmapped',
|
|
9598
|
-
kind: 'Scalar',
|
|
9599
|
-
required: false
|
|
9600
10197
|
}
|
|
9601
10198
|
]
|
|
9602
10199
|
};
|
|
9603
10200
|
};
|
|
9604
10201
|
function equals$9(existing, incoming) {
|
|
9605
|
-
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
9606
|
-
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
9607
|
-
// if at least one of these optionals is defined
|
|
9608
|
-
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
9609
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9610
|
-
// not equal
|
|
9611
|
-
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
9612
|
-
return false;
|
|
9613
|
-
}
|
|
9614
|
-
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
9615
|
-
return false;
|
|
9616
|
-
}
|
|
9617
|
-
}
|
|
9618
|
-
const existing_unmapped = existing.unmapped;
|
|
9619
|
-
const incoming_unmapped = incoming.unmapped;
|
|
9620
|
-
// if at least one of these optionals is defined
|
|
9621
|
-
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
9622
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9623
|
-
// not equal
|
|
9624
|
-
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
9625
|
-
return false;
|
|
9626
|
-
}
|
|
9627
|
-
if (!(existing_unmapped === incoming_unmapped)) {
|
|
9628
|
-
return false;
|
|
9629
|
-
}
|
|
9630
|
-
}
|
|
9631
10202
|
const existing_apiName = existing.apiName;
|
|
9632
10203
|
const incoming_apiName = incoming.apiName;
|
|
9633
10204
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -9669,29 +10240,42 @@ function equals$9(existing, incoming) {
|
|
|
9669
10240
|
if (!(existing_createdDate === incoming_createdDate)) {
|
|
9670
10241
|
return false;
|
|
9671
10242
|
}
|
|
9672
|
-
const
|
|
9673
|
-
const
|
|
10243
|
+
const existing_description = existing.description;
|
|
10244
|
+
const incoming_description = incoming.description;
|
|
9674
10245
|
// if at least one of these optionals is defined
|
|
9675
|
-
if (
|
|
10246
|
+
if (existing_description !== undefined || incoming_description !== undefined) {
|
|
9676
10247
|
// if one of these is not defined we know the other is defined and therefore
|
|
9677
10248
|
// not equal
|
|
9678
|
-
if (
|
|
10249
|
+
if (existing_description === undefined || incoming_description === undefined) {
|
|
9679
10250
|
return false;
|
|
9680
10251
|
}
|
|
9681
|
-
if (!(
|
|
10252
|
+
if (!(existing_description === incoming_description)) {
|
|
9682
10253
|
return false;
|
|
9683
10254
|
}
|
|
9684
10255
|
}
|
|
9685
|
-
const
|
|
9686
|
-
const
|
|
10256
|
+
const existing_externalConnectionApiName = existing.externalConnectionApiName;
|
|
10257
|
+
const incoming_externalConnectionApiName = incoming.externalConnectionApiName;
|
|
9687
10258
|
// if at least one of these optionals is defined
|
|
9688
|
-
if (
|
|
10259
|
+
if (existing_externalConnectionApiName !== undefined || incoming_externalConnectionApiName !== undefined) {
|
|
9689
10260
|
// if one of these is not defined we know the other is defined and therefore
|
|
9690
10261
|
// not equal
|
|
9691
|
-
if (
|
|
10262
|
+
if (existing_externalConnectionApiName === undefined || incoming_externalConnectionApiName === undefined) {
|
|
9692
10263
|
return false;
|
|
9693
10264
|
}
|
|
9694
|
-
if (!(
|
|
10265
|
+
if (!(existing_externalConnectionApiName === incoming_externalConnectionApiName)) {
|
|
10266
|
+
return false;
|
|
10267
|
+
}
|
|
10268
|
+
}
|
|
10269
|
+
const existing_externalId = existing.externalId;
|
|
10270
|
+
const incoming_externalId = incoming.externalId;
|
|
10271
|
+
// if at least one of these optionals is defined
|
|
10272
|
+
if (existing_externalId !== undefined || incoming_externalId !== undefined) {
|
|
10273
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10274
|
+
// not equal
|
|
10275
|
+
if (existing_externalId === undefined || incoming_externalId === undefined) {
|
|
10276
|
+
return false;
|
|
10277
|
+
}
|
|
10278
|
+
if (!(existing_externalId === incoming_externalId)) {
|
|
9695
10279
|
return false;
|
|
9696
10280
|
}
|
|
9697
10281
|
}
|
|
@@ -9765,45 +10349,6 @@ function equals$9(existing, incoming) {
|
|
|
9765
10349
|
return false;
|
|
9766
10350
|
}
|
|
9767
10351
|
}
|
|
9768
|
-
const existing_primaryNameField = existing.primaryNameField;
|
|
9769
|
-
const incoming_primaryNameField = incoming.primaryNameField;
|
|
9770
|
-
// if at least one of these optionals is defined
|
|
9771
|
-
if (existing_primaryNameField !== undefined || incoming_primaryNameField !== undefined) {
|
|
9772
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9773
|
-
// not equal
|
|
9774
|
-
if (existing_primaryNameField === undefined || incoming_primaryNameField === undefined) {
|
|
9775
|
-
return false;
|
|
9776
|
-
}
|
|
9777
|
-
if (!(existing_primaryNameField === incoming_primaryNameField)) {
|
|
9778
|
-
return false;
|
|
9779
|
-
}
|
|
9780
|
-
}
|
|
9781
|
-
const existing_semanticViewTypeEnum = existing.semanticViewTypeEnum;
|
|
9782
|
-
const incoming_semanticViewTypeEnum = incoming.semanticViewTypeEnum;
|
|
9783
|
-
// if at least one of these optionals is defined
|
|
9784
|
-
if (existing_semanticViewTypeEnum !== undefined || incoming_semanticViewTypeEnum !== undefined) {
|
|
9785
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9786
|
-
// not equal
|
|
9787
|
-
if (existing_semanticViewTypeEnum === undefined || incoming_semanticViewTypeEnum === undefined) {
|
|
9788
|
-
return false;
|
|
9789
|
-
}
|
|
9790
|
-
if (!(existing_semanticViewTypeEnum === incoming_semanticViewTypeEnum)) {
|
|
9791
|
-
return false;
|
|
9792
|
-
}
|
|
9793
|
-
}
|
|
9794
|
-
const existing_tableType = existing.tableType;
|
|
9795
|
-
const incoming_tableType = incoming.tableType;
|
|
9796
|
-
// if at least one of these optionals is defined
|
|
9797
|
-
if (existing_tableType !== undefined || incoming_tableType !== undefined) {
|
|
9798
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9799
|
-
// not equal
|
|
9800
|
-
if (existing_tableType === undefined || incoming_tableType === undefined) {
|
|
9801
|
-
return false;
|
|
9802
|
-
}
|
|
9803
|
-
if (!(existing_tableType === incoming_tableType)) {
|
|
9804
|
-
return false;
|
|
9805
|
-
}
|
|
9806
|
-
}
|
|
9807
10352
|
const existing_filters = existing.filters;
|
|
9808
10353
|
const incoming_filters = incoming.filters;
|
|
9809
10354
|
// if at least one of these optionals is defined
|
|
@@ -9814,7 +10359,7 @@ function equals$9(existing, incoming) {
|
|
|
9814
10359
|
return false;
|
|
9815
10360
|
}
|
|
9816
10361
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
9817
|
-
if (!(equals$
|
|
10362
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
9818
10363
|
return false;
|
|
9819
10364
|
}
|
|
9820
10365
|
});
|
|
@@ -9822,63 +10367,9 @@ function equals$9(existing, incoming) {
|
|
|
9822
10367
|
return false;
|
|
9823
10368
|
}
|
|
9824
10369
|
}
|
|
9825
|
-
const existing_semanticDataObjects = existing.semanticDataObjects;
|
|
9826
|
-
const incoming_semanticDataObjects = incoming.semanticDataObjects;
|
|
9827
|
-
// if at least one of these optionals is defined
|
|
9828
|
-
if (existing_semanticDataObjects !== undefined || incoming_semanticDataObjects !== undefined) {
|
|
9829
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9830
|
-
// not equal
|
|
9831
|
-
if (existing_semanticDataObjects === undefined || incoming_semanticDataObjects === undefined) {
|
|
9832
|
-
return false;
|
|
9833
|
-
}
|
|
9834
|
-
const equals_semanticDataObjects_items = equalsArray(existing_semanticDataObjects, incoming_semanticDataObjects, (existing_semanticDataObjects_item, incoming_semanticDataObjects_item) => {
|
|
9835
|
-
if (!(existing_semanticDataObjects_item.__ref === incoming_semanticDataObjects_item.__ref)) {
|
|
9836
|
-
return false;
|
|
9837
|
-
}
|
|
9838
|
-
});
|
|
9839
|
-
if (equals_semanticDataObjects_items === false) {
|
|
9840
|
-
return false;
|
|
9841
|
-
}
|
|
9842
|
-
}
|
|
9843
|
-
const existing_semanticRelationships = existing.semanticRelationships;
|
|
9844
|
-
const incoming_semanticRelationships = incoming.semanticRelationships;
|
|
9845
|
-
// if at least one of these optionals is defined
|
|
9846
|
-
if (existing_semanticRelationships !== undefined || incoming_semanticRelationships !== undefined) {
|
|
9847
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9848
|
-
// not equal
|
|
9849
|
-
if (existing_semanticRelationships === undefined || incoming_semanticRelationships === undefined) {
|
|
9850
|
-
return false;
|
|
9851
|
-
}
|
|
9852
|
-
const equals_semanticRelationships_items = equalsArray(existing_semanticRelationships, incoming_semanticRelationships, (existing_semanticRelationships_item, incoming_semanticRelationships_item) => {
|
|
9853
|
-
if (!(existing_semanticRelationships_item.__ref === incoming_semanticRelationships_item.__ref)) {
|
|
9854
|
-
return false;
|
|
9855
|
-
}
|
|
9856
|
-
});
|
|
9857
|
-
if (equals_semanticRelationships_items === false) {
|
|
9858
|
-
return false;
|
|
9859
|
-
}
|
|
9860
|
-
}
|
|
9861
|
-
const existing_semanticUnions = existing.semanticUnions;
|
|
9862
|
-
const incoming_semanticUnions = incoming.semanticUnions;
|
|
9863
|
-
// if at least one of these optionals is defined
|
|
9864
|
-
if (existing_semanticUnions !== undefined || incoming_semanticUnions !== undefined) {
|
|
9865
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9866
|
-
// not equal
|
|
9867
|
-
if (existing_semanticUnions === undefined || incoming_semanticUnions === undefined) {
|
|
9868
|
-
return false;
|
|
9869
|
-
}
|
|
9870
|
-
const equals_semanticUnions_items = equalsArray(existing_semanticUnions, incoming_semanticUnions, (existing_semanticUnions_item, incoming_semanticUnions_item) => {
|
|
9871
|
-
if (!(existing_semanticUnions_item.__ref === incoming_semanticUnions_item.__ref)) {
|
|
9872
|
-
return false;
|
|
9873
|
-
}
|
|
9874
|
-
});
|
|
9875
|
-
if (equals_semanticUnions_items === false) {
|
|
9876
|
-
return false;
|
|
9877
|
-
}
|
|
9878
|
-
}
|
|
9879
10370
|
return true;
|
|
9880
10371
|
}
|
|
9881
|
-
const ingest$8 = function
|
|
10372
|
+
const ingest$8 = function SemanticModelFilterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9882
10373
|
if (process.env.NODE_ENV !== 'production') {
|
|
9883
10374
|
const validateError = validate$i(input);
|
|
9884
10375
|
if (validateError !== null) {
|
|
@@ -9898,24 +10389,6 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9898
10389
|
representationName: RepresentationType$8,
|
|
9899
10390
|
mergeable: false
|
|
9900
10391
|
});
|
|
9901
|
-
if (input.semanticDataObjects !== undefined) {
|
|
9902
|
-
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
9903
|
-
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
9904
|
-
getTypeCacheKeys$d(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
9905
|
-
}
|
|
9906
|
-
}
|
|
9907
|
-
if (input.semanticRelationships !== undefined) {
|
|
9908
|
-
const input_semanticRelationships_length = input.semanticRelationships.length;
|
|
9909
|
-
for (let i = 0; i < input_semanticRelationships_length; i++) {
|
|
9910
|
-
getTypeCacheKeys$b(rootKeySet, luvio, input.semanticRelationships[i]);
|
|
9911
|
-
}
|
|
9912
|
-
}
|
|
9913
|
-
if (input.semanticUnions !== undefined) {
|
|
9914
|
-
const input_semanticUnions_length = input.semanticUnions.length;
|
|
9915
|
-
for (let i = 0; i < input_semanticUnions_length; i++) {
|
|
9916
|
-
getTypeCacheKeys$9(rootKeySet, luvio, input.semanticUnions[i]);
|
|
9917
|
-
}
|
|
9918
|
-
}
|
|
9919
10392
|
}
|
|
9920
10393
|
|
|
9921
10394
|
const VERSION$8 = "158d115be773406f841e4351d481d398";
|
|
@@ -10583,7 +11056,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10583
11056
|
});
|
|
10584
11057
|
}
|
|
10585
11058
|
|
|
10586
|
-
const VERSION$6 = "
|
|
11059
|
+
const VERSION$6 = "31c80b845050553f41832720b27399ad";
|
|
10587
11060
|
function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
10588
11061
|
const v_error = (() => {
|
|
10589
11062
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -10617,7 +11090,7 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
10617
11090
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
10618
11091
|
const obj_baseModels_item = obj_baseModels[i];
|
|
10619
11092
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
10620
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
11093
|
+
const referencepath_baseModels_itemValidationError = validate$14(obj_baseModels_item, path_baseModels_item);
|
|
10621
11094
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
10622
11095
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
10623
11096
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10677,7 +11150,7 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
10677
11150
|
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
10678
11151
|
const obj_externalConnections_item = obj_externalConnections[i];
|
|
10679
11152
|
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
10680
|
-
const referencepath_externalConnections_itemValidationError = validate$
|
|
11153
|
+
const referencepath_externalConnections_itemValidationError = validate$z(obj_externalConnections_item, path_externalConnections_item);
|
|
10681
11154
|
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
10682
11155
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
10683
11156
|
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10694,7 +11167,7 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
10694
11167
|
for (let i = 0; i < obj_fieldsOverrides.length; i++) {
|
|
10695
11168
|
const obj_fieldsOverrides_item = obj_fieldsOverrides[i];
|
|
10696
11169
|
const path_fieldsOverrides_item = path_fieldsOverrides + '[' + i + ']';
|
|
10697
|
-
const referencepath_fieldsOverrides_itemValidationError = validate$
|
|
11170
|
+
const referencepath_fieldsOverrides_itemValidationError = validate$y(obj_fieldsOverrides_item, path_fieldsOverrides_item);
|
|
10698
11171
|
if (referencepath_fieldsOverrides_itemValidationError !== null) {
|
|
10699
11172
|
let message = 'Object doesn\'t match SemanticOverrideOutputRepresentation (at "' + path_fieldsOverrides_item + '")\n';
|
|
10700
11173
|
message += referencepath_fieldsOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10889,6 +11362,20 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
10889
11362
|
}
|
|
10890
11363
|
}
|
|
10891
11364
|
}
|
|
11365
|
+
if (obj.semanticModelFilters !== undefined) {
|
|
11366
|
+
const obj_semanticModelFilters = obj.semanticModelFilters;
|
|
11367
|
+
const path_semanticModelFilters = path + '.semanticModelFilters';
|
|
11368
|
+
if (!ArrayIsArray(obj_semanticModelFilters)) {
|
|
11369
|
+
return new TypeError('Expected "array" but received "' + typeof obj_semanticModelFilters + '" (at "' + path_semanticModelFilters + '")');
|
|
11370
|
+
}
|
|
11371
|
+
for (let i = 0; i < obj_semanticModelFilters.length; i++) {
|
|
11372
|
+
const obj_semanticModelFilters_item = obj_semanticModelFilters[i];
|
|
11373
|
+
const path_semanticModelFilters_item = path_semanticModelFilters + '[' + i + ']';
|
|
11374
|
+
if (typeof obj_semanticModelFilters_item !== 'object' || Array.isArray(obj_semanticModelFilters_item)) {
|
|
11375
|
+
return new TypeError('Expected "object" but received "' + typeof obj_semanticModelFilters_item + '" (at "' + path_semanticModelFilters_item + '")');
|
|
11376
|
+
}
|
|
11377
|
+
}
|
|
11378
|
+
}
|
|
10892
11379
|
if (obj.semanticParameters !== undefined) {
|
|
10893
11380
|
const obj_semanticParameters = obj.semanticParameters;
|
|
10894
11381
|
const path_semanticParameters = path + '.semanticParameters';
|
|
@@ -10965,7 +11452,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
10965
11452
|
for (let i = 0; i < input_semanticCalculatedDimensions.length; i++) {
|
|
10966
11453
|
const input_semanticCalculatedDimensions_item = input_semanticCalculatedDimensions[i];
|
|
10967
11454
|
let input_semanticCalculatedDimensions_item_id = input_semanticCalculatedDimensions_id + '__' + i;
|
|
10968
|
-
input_semanticCalculatedDimensions[i] = ingest$
|
|
11455
|
+
input_semanticCalculatedDimensions[i] = ingest$g(input_semanticCalculatedDimensions_item, {
|
|
10969
11456
|
fullPath: input_semanticCalculatedDimensions_item_id,
|
|
10970
11457
|
propertyName: i,
|
|
10971
11458
|
parent: {
|
|
@@ -10983,7 +11470,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
10983
11470
|
for (let i = 0; i < input_semanticCalculatedMeasurements.length; i++) {
|
|
10984
11471
|
const input_semanticCalculatedMeasurements_item = input_semanticCalculatedMeasurements[i];
|
|
10985
11472
|
let input_semanticCalculatedMeasurements_item_id = input_semanticCalculatedMeasurements_id + '__' + i;
|
|
10986
|
-
input_semanticCalculatedMeasurements[i] = ingest$
|
|
11473
|
+
input_semanticCalculatedMeasurements[i] = ingest$f(input_semanticCalculatedMeasurements_item, {
|
|
10987
11474
|
fullPath: input_semanticCalculatedMeasurements_item_id,
|
|
10988
11475
|
propertyName: i,
|
|
10989
11476
|
parent: {
|
|
@@ -11001,7 +11488,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
11001
11488
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
11002
11489
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
11003
11490
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
11004
|
-
input_semanticDataObjects[i] = ingest$
|
|
11491
|
+
input_semanticDataObjects[i] = ingest$e(input_semanticDataObjects_item, {
|
|
11005
11492
|
fullPath: input_semanticDataObjects_item_id,
|
|
11006
11493
|
propertyName: i,
|
|
11007
11494
|
parent: {
|
|
@@ -11019,7 +11506,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
11019
11506
|
for (let i = 0; i < input_semanticGroupings.length; i++) {
|
|
11020
11507
|
const input_semanticGroupings_item = input_semanticGroupings[i];
|
|
11021
11508
|
let input_semanticGroupings_item_id = input_semanticGroupings_id + '__' + i;
|
|
11022
|
-
input_semanticGroupings[i] = ingest$
|
|
11509
|
+
input_semanticGroupings[i] = ingest$d(input_semanticGroupings_item, {
|
|
11023
11510
|
fullPath: input_semanticGroupings_item_id,
|
|
11024
11511
|
propertyName: i,
|
|
11025
11512
|
parent: {
|
|
@@ -11037,7 +11524,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
11037
11524
|
for (let i = 0; i < input_semanticLogicalViews.length; i++) {
|
|
11038
11525
|
const input_semanticLogicalViews_item = input_semanticLogicalViews[i];
|
|
11039
11526
|
let input_semanticLogicalViews_item_id = input_semanticLogicalViews_id + '__' + i;
|
|
11040
|
-
input_semanticLogicalViews[i] = ingest$
|
|
11527
|
+
input_semanticLogicalViews[i] = ingest$9(input_semanticLogicalViews_item, {
|
|
11041
11528
|
fullPath: input_semanticLogicalViews_item_id,
|
|
11042
11529
|
propertyName: i,
|
|
11043
11530
|
parent: {
|
|
@@ -11055,7 +11542,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
11055
11542
|
for (let i = 0; i < input_semanticMetrics.length; i++) {
|
|
11056
11543
|
const input_semanticMetrics_item = input_semanticMetrics[i];
|
|
11057
11544
|
let input_semanticMetrics_item_id = input_semanticMetrics_id + '__' + i;
|
|
11058
|
-
input_semanticMetrics[i] = ingest$
|
|
11545
|
+
input_semanticMetrics[i] = ingest$j(input_semanticMetrics_item, {
|
|
11059
11546
|
fullPath: input_semanticMetrics_item_id,
|
|
11060
11547
|
propertyName: i,
|
|
11061
11548
|
parent: {
|
|
@@ -11067,6 +11554,24 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
11067
11554
|
}, luvio, store, timestamp);
|
|
11068
11555
|
}
|
|
11069
11556
|
}
|
|
11557
|
+
const input_semanticModelFilters = input.semanticModelFilters;
|
|
11558
|
+
const input_semanticModelFilters_id = path.fullPath + '__semanticModelFilters';
|
|
11559
|
+
if (input_semanticModelFilters !== undefined) {
|
|
11560
|
+
for (let i = 0; i < input_semanticModelFilters.length; i++) {
|
|
11561
|
+
const input_semanticModelFilters_item = input_semanticModelFilters[i];
|
|
11562
|
+
let input_semanticModelFilters_item_id = input_semanticModelFilters_id + '__' + i;
|
|
11563
|
+
input_semanticModelFilters[i] = ingest$8(input_semanticModelFilters_item, {
|
|
11564
|
+
fullPath: input_semanticModelFilters_item_id,
|
|
11565
|
+
propertyName: i,
|
|
11566
|
+
parent: {
|
|
11567
|
+
data: input,
|
|
11568
|
+
key: path.fullPath,
|
|
11569
|
+
existing: existing,
|
|
11570
|
+
},
|
|
11571
|
+
ttl: path.ttl
|
|
11572
|
+
}, luvio, store, timestamp);
|
|
11573
|
+
}
|
|
11574
|
+
}
|
|
11070
11575
|
const input_semanticParameters = input.semanticParameters;
|
|
11071
11576
|
const input_semanticParameters_id = path.fullPath + '__semanticParameters';
|
|
11072
11577
|
if (input_semanticParameters !== undefined) {
|
|
@@ -11091,7 +11596,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
11091
11596
|
for (let i = 0; i < input_semanticRelationships.length; i++) {
|
|
11092
11597
|
const input_semanticRelationships_item = input_semanticRelationships[i];
|
|
11093
11598
|
let input_semanticRelationships_item_id = input_semanticRelationships_id + '__' + i;
|
|
11094
|
-
input_semanticRelationships[i] = ingest$
|
|
11599
|
+
input_semanticRelationships[i] = ingest$c(input_semanticRelationships_item, {
|
|
11095
11600
|
fullPath: input_semanticRelationships_item_id,
|
|
11096
11601
|
propertyName: i,
|
|
11097
11602
|
parent: {
|
|
@@ -11106,9 +11611,9 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
11106
11611
|
return input;
|
|
11107
11612
|
}
|
|
11108
11613
|
const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
11109
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
11110
|
-
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$
|
|
11111
|
-
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$
|
|
11614
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$I();
|
|
11615
|
+
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$D();
|
|
11616
|
+
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$C();
|
|
11112
11617
|
return {
|
|
11113
11618
|
kind: 'Fragment',
|
|
11114
11619
|
version: VERSION$6,
|
|
@@ -11221,7 +11726,7 @@ const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
|
11221
11726
|
kind: 'Link',
|
|
11222
11727
|
plural: true,
|
|
11223
11728
|
required: false,
|
|
11224
|
-
fragment: select$
|
|
11729
|
+
fragment: select$B()
|
|
11225
11730
|
},
|
|
11226
11731
|
{
|
|
11227
11732
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -11233,7 +11738,7 @@ const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
|
11233
11738
|
kind: 'Link',
|
|
11234
11739
|
plural: true,
|
|
11235
11740
|
required: false,
|
|
11236
|
-
fragment: select$
|
|
11741
|
+
fragment: select$A()
|
|
11237
11742
|
},
|
|
11238
11743
|
{
|
|
11239
11744
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -11245,7 +11750,7 @@ const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
|
11245
11750
|
kind: 'Link',
|
|
11246
11751
|
plural: true,
|
|
11247
11752
|
required: false,
|
|
11248
|
-
fragment: select$
|
|
11753
|
+
fragment: select$z()
|
|
11249
11754
|
},
|
|
11250
11755
|
{
|
|
11251
11756
|
name: 'semanticDataObjectsUrl',
|
|
@@ -11257,7 +11762,7 @@ const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
|
11257
11762
|
kind: 'Link',
|
|
11258
11763
|
plural: true,
|
|
11259
11764
|
required: false,
|
|
11260
|
-
fragment: select$
|
|
11765
|
+
fragment: select$u()
|
|
11261
11766
|
},
|
|
11262
11767
|
{
|
|
11263
11768
|
name: 'semanticGroupingsUrl',
|
|
@@ -11269,14 +11774,21 @@ const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
|
11269
11774
|
kind: 'Link',
|
|
11270
11775
|
plural: true,
|
|
11271
11776
|
required: false,
|
|
11272
|
-
fragment: select$
|
|
11777
|
+
fragment: select$p()
|
|
11273
11778
|
},
|
|
11274
11779
|
{
|
|
11275
11780
|
name: 'semanticMetrics',
|
|
11276
11781
|
kind: 'Link',
|
|
11277
11782
|
plural: true,
|
|
11278
11783
|
required: false,
|
|
11279
|
-
fragment: select$
|
|
11784
|
+
fragment: select$L()
|
|
11785
|
+
},
|
|
11786
|
+
{
|
|
11787
|
+
name: 'semanticModelFilters',
|
|
11788
|
+
kind: 'Link',
|
|
11789
|
+
plural: true,
|
|
11790
|
+
required: false,
|
|
11791
|
+
fragment: select$o()
|
|
11280
11792
|
},
|
|
11281
11793
|
{
|
|
11282
11794
|
name: 'semanticParameters',
|
|
@@ -11295,7 +11807,7 @@ const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
|
11295
11807
|
kind: 'Link',
|
|
11296
11808
|
plural: true,
|
|
11297
11809
|
required: false,
|
|
11298
|
-
fragment: select$
|
|
11810
|
+
fragment: select$s()
|
|
11299
11811
|
},
|
|
11300
11812
|
{
|
|
11301
11813
|
name: 'semanticRelationshipsUrl',
|
|
@@ -11585,7 +12097,7 @@ function equals$6(existing, incoming) {
|
|
|
11585
12097
|
return false;
|
|
11586
12098
|
}
|
|
11587
12099
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
11588
|
-
if (!(equals$
|
|
12100
|
+
if (!(equals$s(existing_baseModels_item, incoming_baseModels_item))) {
|
|
11589
12101
|
return false;
|
|
11590
12102
|
}
|
|
11591
12103
|
});
|
|
@@ -11621,7 +12133,7 @@ function equals$6(existing, incoming) {
|
|
|
11621
12133
|
return false;
|
|
11622
12134
|
}
|
|
11623
12135
|
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
11624
|
-
if (!(equals$
|
|
12136
|
+
if (!(equals$o(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
11625
12137
|
return false;
|
|
11626
12138
|
}
|
|
11627
12139
|
});
|
|
@@ -11639,7 +12151,7 @@ function equals$6(existing, incoming) {
|
|
|
11639
12151
|
return false;
|
|
11640
12152
|
}
|
|
11641
12153
|
const equals_fieldsOverrides_items = equalsArray(existing_fieldsOverrides, incoming_fieldsOverrides, (existing_fieldsOverrides_item, incoming_fieldsOverrides_item) => {
|
|
11642
|
-
if (!(equals$
|
|
12154
|
+
if (!(equals$n(existing_fieldsOverrides_item, incoming_fieldsOverrides_item))) {
|
|
11643
12155
|
return false;
|
|
11644
12156
|
}
|
|
11645
12157
|
});
|
|
@@ -11768,6 +12280,24 @@ function equals$6(existing, incoming) {
|
|
|
11768
12280
|
return false;
|
|
11769
12281
|
}
|
|
11770
12282
|
}
|
|
12283
|
+
const existing_semanticModelFilters = existing.semanticModelFilters;
|
|
12284
|
+
const incoming_semanticModelFilters = incoming.semanticModelFilters;
|
|
12285
|
+
// if at least one of these optionals is defined
|
|
12286
|
+
if (existing_semanticModelFilters !== undefined || incoming_semanticModelFilters !== undefined) {
|
|
12287
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
12288
|
+
// not equal
|
|
12289
|
+
if (existing_semanticModelFilters === undefined || incoming_semanticModelFilters === undefined) {
|
|
12290
|
+
return false;
|
|
12291
|
+
}
|
|
12292
|
+
const equals_semanticModelFilters_items = equalsArray(existing_semanticModelFilters, incoming_semanticModelFilters, (existing_semanticModelFilters_item, incoming_semanticModelFilters_item) => {
|
|
12293
|
+
if (!(existing_semanticModelFilters_item.__ref === incoming_semanticModelFilters_item.__ref)) {
|
|
12294
|
+
return false;
|
|
12295
|
+
}
|
|
12296
|
+
});
|
|
12297
|
+
if (equals_semanticModelFilters_items === false) {
|
|
12298
|
+
return false;
|
|
12299
|
+
}
|
|
12300
|
+
}
|
|
11771
12301
|
const existing_semanticParameters = existing.semanticParameters;
|
|
11772
12302
|
const incoming_semanticParameters = incoming.semanticParameters;
|
|
11773
12303
|
// if at least one of these optionals is defined
|
|
@@ -11829,37 +12359,43 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
11829
12359
|
if (input.semanticCalculatedDimensions !== undefined) {
|
|
11830
12360
|
const input_semanticCalculatedDimensions_length = input.semanticCalculatedDimensions.length;
|
|
11831
12361
|
for (let i = 0; i < input_semanticCalculatedDimensions_length; i++) {
|
|
11832
|
-
getTypeCacheKeys$
|
|
12362
|
+
getTypeCacheKeys$g(rootKeySet, luvio, input.semanticCalculatedDimensions[i]);
|
|
11833
12363
|
}
|
|
11834
12364
|
}
|
|
11835
12365
|
if (input.semanticCalculatedMeasurements !== undefined) {
|
|
11836
12366
|
const input_semanticCalculatedMeasurements_length = input.semanticCalculatedMeasurements.length;
|
|
11837
12367
|
for (let i = 0; i < input_semanticCalculatedMeasurements_length; i++) {
|
|
11838
|
-
getTypeCacheKeys$
|
|
12368
|
+
getTypeCacheKeys$f(rootKeySet, luvio, input.semanticCalculatedMeasurements[i]);
|
|
11839
12369
|
}
|
|
11840
12370
|
}
|
|
11841
12371
|
if (input.semanticDataObjects !== undefined) {
|
|
11842
12372
|
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
11843
12373
|
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
11844
|
-
getTypeCacheKeys$
|
|
12374
|
+
getTypeCacheKeys$e(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
11845
12375
|
}
|
|
11846
12376
|
}
|
|
11847
12377
|
if (input.semanticGroupings !== undefined) {
|
|
11848
12378
|
const input_semanticGroupings_length = input.semanticGroupings.length;
|
|
11849
12379
|
for (let i = 0; i < input_semanticGroupings_length; i++) {
|
|
11850
|
-
getTypeCacheKeys$
|
|
12380
|
+
getTypeCacheKeys$d(rootKeySet, luvio, input.semanticGroupings[i]);
|
|
11851
12381
|
}
|
|
11852
12382
|
}
|
|
11853
12383
|
if (input.semanticLogicalViews !== undefined) {
|
|
11854
12384
|
const input_semanticLogicalViews_length = input.semanticLogicalViews.length;
|
|
11855
12385
|
for (let i = 0; i < input_semanticLogicalViews_length; i++) {
|
|
11856
|
-
getTypeCacheKeys$
|
|
12386
|
+
getTypeCacheKeys$9(rootKeySet, luvio, input.semanticLogicalViews[i]);
|
|
11857
12387
|
}
|
|
11858
12388
|
}
|
|
11859
12389
|
if (input.semanticMetrics !== undefined) {
|
|
11860
12390
|
const input_semanticMetrics_length = input.semanticMetrics.length;
|
|
11861
12391
|
for (let i = 0; i < input_semanticMetrics_length; i++) {
|
|
11862
|
-
getTypeCacheKeys$
|
|
12392
|
+
getTypeCacheKeys$j(rootKeySet, luvio, input.semanticMetrics[i]);
|
|
12393
|
+
}
|
|
12394
|
+
}
|
|
12395
|
+
if (input.semanticModelFilters !== undefined) {
|
|
12396
|
+
const input_semanticModelFilters_length = input.semanticModelFilters.length;
|
|
12397
|
+
for (let i = 0; i < input_semanticModelFilters_length; i++) {
|
|
12398
|
+
getTypeCacheKeys$8(rootKeySet, luvio, input.semanticModelFilters[i]);
|
|
11863
12399
|
}
|
|
11864
12400
|
}
|
|
11865
12401
|
if (input.semanticParameters !== undefined) {
|
|
@@ -11871,7 +12407,7 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
11871
12407
|
if (input.semanticRelationships !== undefined) {
|
|
11872
12408
|
const input_semanticRelationships_length = input.semanticRelationships.length;
|
|
11873
12409
|
for (let i = 0; i < input_semanticRelationships_length; i++) {
|
|
11874
|
-
getTypeCacheKeys$
|
|
12410
|
+
getTypeCacheKeys$c(rootKeySet, luvio, input.semanticRelationships[i]);
|
|
11875
12411
|
}
|
|
11876
12412
|
}
|
|
11877
12413
|
}
|
|
@@ -11933,6 +12469,7 @@ const createSemanticModel_ConfigPropertyMetadata = [
|
|
|
11933
12469
|
generateParamConfigMetadata('semanticGroupings', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11934
12470
|
generateParamConfigMetadata('semanticLogicalViews', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11935
12471
|
generateParamConfigMetadata('semanticMetrics', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12472
|
+
generateParamConfigMetadata('semanticModelFilter', false, 2 /* Body */, 4 /* Unsupported */),
|
|
11936
12473
|
generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11937
12474
|
generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11938
12475
|
];
|
|
@@ -11946,7 +12483,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11946
12483
|
const untrustedConfig_baseModels_array = [];
|
|
11947
12484
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
11948
12485
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
11949
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
12486
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$11(untrustedConfig_baseModels_item);
|
|
11950
12487
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
11951
12488
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
11952
12489
|
}
|
|
@@ -11958,7 +12495,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11958
12495
|
const untrustedConfig_externalConnections_array = [];
|
|
11959
12496
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
11960
12497
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
11961
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate
|
|
12498
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$$(untrustedConfig_externalConnections_item);
|
|
11962
12499
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
11963
12500
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
11964
12501
|
}
|
|
@@ -11970,7 +12507,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11970
12507
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
11971
12508
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
11972
12509
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
11973
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
12510
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$_(untrustedConfig_fieldsOverrides_item);
|
|
11974
12511
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
11975
12512
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
11976
12513
|
}
|
|
@@ -11982,7 +12519,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11982
12519
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
11983
12520
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
11984
12521
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
11985
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
12522
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Y(untrustedConfig_semanticCalculatedDimensions_item);
|
|
11986
12523
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
11987
12524
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
11988
12525
|
}
|
|
@@ -11994,7 +12531,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11994
12531
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
11995
12532
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
11996
12533
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
11997
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
12534
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$X(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
11998
12535
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
11999
12536
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12000
12537
|
}
|
|
@@ -12006,7 +12543,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
12006
12543
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
12007
12544
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
12008
12545
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
12009
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
12546
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$U(untrustedConfig_semanticDataObjects_item);
|
|
12010
12547
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
12011
12548
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
12012
12549
|
}
|
|
@@ -12018,7 +12555,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
12018
12555
|
const untrustedConfig_semanticGroupings_array = [];
|
|
12019
12556
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
12020
12557
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
12021
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
12558
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$N(untrustedConfig_semanticGroupings_item);
|
|
12022
12559
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
12023
12560
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
12024
12561
|
}
|
|
@@ -12030,7 +12567,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
12030
12567
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
12031
12568
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
12032
12569
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
12033
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
12570
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$I(untrustedConfig_semanticLogicalViews_item);
|
|
12034
12571
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
12035
12572
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
12036
12573
|
}
|
|
@@ -12042,19 +12579,24 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
12042
12579
|
const untrustedConfig_semanticMetrics_array = [];
|
|
12043
12580
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
12044
12581
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
12045
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
12582
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$D(untrustedConfig_semanticMetrics_item);
|
|
12046
12583
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
12047
12584
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
12048
12585
|
}
|
|
12049
12586
|
}
|
|
12050
12587
|
config.semanticMetrics = untrustedConfig_semanticMetrics_array;
|
|
12051
12588
|
}
|
|
12589
|
+
const untrustedConfig_semanticModelFilter = untrustedConfig.semanticModelFilter;
|
|
12590
|
+
const referenceSemanticModelFilterInputRepresentationValidationError = validate$C(untrustedConfig_semanticModelFilter);
|
|
12591
|
+
if (referenceSemanticModelFilterInputRepresentationValidationError === null) {
|
|
12592
|
+
config.semanticModelFilter = untrustedConfig_semanticModelFilter;
|
|
12593
|
+
}
|
|
12052
12594
|
const untrustedConfig_semanticParameters = untrustedConfig.semanticParameters;
|
|
12053
12595
|
if (ArrayIsArray$1(untrustedConfig_semanticParameters)) {
|
|
12054
12596
|
const untrustedConfig_semanticParameters_array = [];
|
|
12055
12597
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
12056
12598
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
12057
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
12599
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$B(untrustedConfig_semanticParameters_item);
|
|
12058
12600
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
12059
12601
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
12060
12602
|
}
|
|
@@ -12066,7 +12608,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
12066
12608
|
const untrustedConfig_semanticRelationships_array = [];
|
|
12067
12609
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
12068
12610
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
12069
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
12611
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$L(untrustedConfig_semanticRelationships_item);
|
|
12070
12612
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
12071
12613
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
12072
12614
|
}
|
|
@@ -12313,6 +12855,7 @@ const patchSemanticModel_ConfigPropertyMetadata = [
|
|
|
12313
12855
|
generateParamConfigMetadata('semanticGroupings', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12314
12856
|
generateParamConfigMetadata('semanticLogicalViews', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12315
12857
|
generateParamConfigMetadata('semanticMetrics', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12858
|
+
generateParamConfigMetadata('semanticModelFilter', false, 2 /* Body */, 4 /* Unsupported */),
|
|
12316
12859
|
generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12317
12860
|
generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12318
12861
|
];
|
|
@@ -12326,7 +12869,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12326
12869
|
const untrustedConfig_baseModels_array = [];
|
|
12327
12870
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
12328
12871
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
12329
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
12872
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$11(untrustedConfig_baseModels_item);
|
|
12330
12873
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
12331
12874
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
12332
12875
|
}
|
|
@@ -12338,7 +12881,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12338
12881
|
const untrustedConfig_externalConnections_array = [];
|
|
12339
12882
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
12340
12883
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
12341
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate
|
|
12884
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$$(untrustedConfig_externalConnections_item);
|
|
12342
12885
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
12343
12886
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
12344
12887
|
}
|
|
@@ -12350,7 +12893,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12350
12893
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
12351
12894
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
12352
12895
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
12353
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
12896
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$_(untrustedConfig_fieldsOverrides_item);
|
|
12354
12897
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
12355
12898
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
12356
12899
|
}
|
|
@@ -12362,7 +12905,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12362
12905
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
12363
12906
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
12364
12907
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
12365
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
12908
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Y(untrustedConfig_semanticCalculatedDimensions_item);
|
|
12366
12909
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
12367
12910
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
12368
12911
|
}
|
|
@@ -12374,7 +12917,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12374
12917
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
12375
12918
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
12376
12919
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
12377
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
12920
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$X(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12378
12921
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
12379
12922
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12380
12923
|
}
|
|
@@ -12386,7 +12929,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12386
12929
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
12387
12930
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
12388
12931
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
12389
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
12932
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$U(untrustedConfig_semanticDataObjects_item);
|
|
12390
12933
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
12391
12934
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
12392
12935
|
}
|
|
@@ -12398,7 +12941,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12398
12941
|
const untrustedConfig_semanticGroupings_array = [];
|
|
12399
12942
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
12400
12943
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
12401
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
12944
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$N(untrustedConfig_semanticGroupings_item);
|
|
12402
12945
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
12403
12946
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
12404
12947
|
}
|
|
@@ -12410,7 +12953,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12410
12953
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
12411
12954
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
12412
12955
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
12413
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
12956
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$I(untrustedConfig_semanticLogicalViews_item);
|
|
12414
12957
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
12415
12958
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
12416
12959
|
}
|
|
@@ -12422,19 +12965,24 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12422
12965
|
const untrustedConfig_semanticMetrics_array = [];
|
|
12423
12966
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
12424
12967
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
12425
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
12968
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$D(untrustedConfig_semanticMetrics_item);
|
|
12426
12969
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
12427
12970
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
12428
12971
|
}
|
|
12429
12972
|
}
|
|
12430
12973
|
config.semanticMetrics = untrustedConfig_semanticMetrics_array;
|
|
12431
12974
|
}
|
|
12975
|
+
const untrustedConfig_semanticModelFilter = untrustedConfig.semanticModelFilter;
|
|
12976
|
+
const referenceSemanticModelFilterInputRepresentationValidationError = validate$C(untrustedConfig_semanticModelFilter);
|
|
12977
|
+
if (referenceSemanticModelFilterInputRepresentationValidationError === null) {
|
|
12978
|
+
config.semanticModelFilter = untrustedConfig_semanticModelFilter;
|
|
12979
|
+
}
|
|
12432
12980
|
const untrustedConfig_semanticParameters = untrustedConfig.semanticParameters;
|
|
12433
12981
|
if (ArrayIsArray$1(untrustedConfig_semanticParameters)) {
|
|
12434
12982
|
const untrustedConfig_semanticParameters_array = [];
|
|
12435
12983
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
12436
12984
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
12437
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
12985
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$B(untrustedConfig_semanticParameters_item);
|
|
12438
12986
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
12439
12987
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
12440
12988
|
}
|
|
@@ -12446,7 +12994,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12446
12994
|
const untrustedConfig_semanticRelationships_array = [];
|
|
12447
12995
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
12448
12996
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
12449
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
12997
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$L(untrustedConfig_semanticRelationships_item);
|
|
12450
12998
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
12451
12999
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
12452
13000
|
}
|
|
@@ -13612,7 +14160,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
13612
14160
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
13613
14161
|
const obj_filters_item = obj_filters[i];
|
|
13614
14162
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
13615
|
-
const referencepath_filters_itemValidationError = validate$
|
|
14163
|
+
const referencepath_filters_itemValidationError = validate$1b(obj_filters_item, path_filters_item);
|
|
13616
14164
|
if (referencepath_filters_itemValidationError !== null) {
|
|
13617
14165
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
13618
14166
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13673,7 +14221,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
13673
14221
|
if (obj.semanticMetric !== undefined) {
|
|
13674
14222
|
const obj_semanticMetric = obj.semanticMetric;
|
|
13675
14223
|
const path_semanticMetric = path + '.semanticMetric';
|
|
13676
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
14224
|
+
const referencepath_semanticMetricValidationError = validate$16(obj_semanticMetric, path_semanticMetric);
|
|
13677
14225
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
13678
14226
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
13679
14227
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14121,18 +14669,18 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
14121
14669
|
};
|
|
14122
14670
|
|
|
14123
14671
|
function select$7(luvio, params) {
|
|
14124
|
-
return select$
|
|
14672
|
+
return select$K();
|
|
14125
14673
|
}
|
|
14126
14674
|
function keyBuilder$b(luvio, params) {
|
|
14127
14675
|
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
|
|
14128
14676
|
}
|
|
14129
14677
|
function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
|
|
14130
|
-
getTypeCacheKeys$
|
|
14678
|
+
getTypeCacheKeys$i(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
|
|
14131
14679
|
}
|
|
14132
14680
|
function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
|
|
14133
14681
|
const { body } = response;
|
|
14134
14682
|
const key = keyBuilder$b(luvio, resourceParams);
|
|
14135
|
-
luvio.storeIngest(key, ingest$
|
|
14683
|
+
luvio.storeIngest(key, ingest$i, body);
|
|
14136
14684
|
const snapshot = luvio.storeLookup({
|
|
14137
14685
|
recordId: key,
|
|
14138
14686
|
node: select$7(),
|
|
@@ -14253,20 +14801,20 @@ const getSemanticMetricsAdapterFactory = (luvio) => function SemanticAuthoring__
|
|
|
14253
14801
|
};
|
|
14254
14802
|
|
|
14255
14803
|
function select$6(luvio, params) {
|
|
14256
|
-
return select$
|
|
14804
|
+
return select$L();
|
|
14257
14805
|
}
|
|
14258
14806
|
function keyBuilder$9(luvio, params) {
|
|
14259
|
-
return keyBuilder$
|
|
14807
|
+
return keyBuilder$C(luvio, {
|
|
14260
14808
|
name: params.urlParams.metricNameOrId
|
|
14261
14809
|
});
|
|
14262
14810
|
}
|
|
14263
14811
|
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
14264
|
-
getTypeCacheKeys$
|
|
14812
|
+
getTypeCacheKeys$j(storeKeyMap, luvio, response);
|
|
14265
14813
|
}
|
|
14266
14814
|
function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
14267
14815
|
const { body } = response;
|
|
14268
14816
|
const key = keyBuilder$9(luvio, resourceParams);
|
|
14269
|
-
luvio.storeIngest(key, ingest$
|
|
14817
|
+
luvio.storeIngest(key, ingest$j, body);
|
|
14270
14818
|
const snapshot = luvio.storeLookup({
|
|
14271
14819
|
recordId: key,
|
|
14272
14820
|
node: select$6(),
|
|
@@ -14751,7 +15299,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
14751
15299
|
const untrustedConfig_filters_array = [];
|
|
14752
15300
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
14753
15301
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
14754
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
15302
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$Z(untrustedConfig_filters_item);
|
|
14755
15303
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
14756
15304
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
14757
15305
|
}
|