@salesforce/lds-adapters-cdp-semantic-authoring 1.380.0-dev2 → 1.380.0-dev22
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 +1334 -672
- 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/SemanticCalculatedDimensionOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticGroupingOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +4 -1
- 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/dist/es/es2018/types/src/generated/types/SemanticParameterOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +1330 -668
- package/src/raml/api.raml +206 -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 + '")');
|
|
@@ -5015,6 +5083,13 @@ function validate$w(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
5015
5083
|
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
5016
5084
|
}
|
|
5017
5085
|
}
|
|
5086
|
+
if (obj.externalDataType !== undefined) {
|
|
5087
|
+
const obj_externalDataType = obj.externalDataType;
|
|
5088
|
+
const path_externalDataType = path + '.externalDataType';
|
|
5089
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
5090
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
5091
|
+
}
|
|
5092
|
+
}
|
|
5018
5093
|
if (obj.externalStorageName !== undefined) {
|
|
5019
5094
|
const obj_externalStorageName = obj.externalStorageName;
|
|
5020
5095
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -5038,7 +5113,7 @@ function validate$w(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
5038
5113
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5039
5114
|
const obj_filters_item = obj_filters[i];
|
|
5040
5115
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5041
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5116
|
+
const referencepath_filters_itemValidationError = validate$1b(obj_filters_item, path_filters_item);
|
|
5042
5117
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5043
5118
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5044
5119
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5138,24 +5213,24 @@ function validate$w(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
5138
5213
|
})();
|
|
5139
5214
|
return v_error === undefined ? null : v_error;
|
|
5140
5215
|
}
|
|
5141
|
-
const RepresentationType$
|
|
5142
|
-
function keyBuilder$
|
|
5143
|
-
return keyPrefix + '::' + RepresentationType$
|
|
5216
|
+
const RepresentationType$g = 'SemanticCalculatedDimensionOutputRepresentation';
|
|
5217
|
+
function keyBuilder$x(luvio, config) {
|
|
5218
|
+
return keyPrefix + '::' + RepresentationType$g + ':' + config.name;
|
|
5144
5219
|
}
|
|
5145
|
-
function keyBuilderFromType$
|
|
5220
|
+
function keyBuilderFromType$c(luvio, object) {
|
|
5146
5221
|
const keyParams = {
|
|
5147
5222
|
name: object.id
|
|
5148
5223
|
};
|
|
5149
|
-
return keyBuilder$
|
|
5224
|
+
return keyBuilder$x(luvio, keyParams);
|
|
5150
5225
|
}
|
|
5151
|
-
function normalize$
|
|
5226
|
+
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
5152
5227
|
return input;
|
|
5153
5228
|
}
|
|
5154
|
-
const select$
|
|
5155
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
5229
|
+
const select$B = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
5230
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
5156
5231
|
return {
|
|
5157
5232
|
kind: 'Fragment',
|
|
5158
|
-
version: VERSION$
|
|
5233
|
+
version: VERSION$m,
|
|
5159
5234
|
private: [],
|
|
5160
5235
|
selections: [
|
|
5161
5236
|
{
|
|
@@ -5210,6 +5285,11 @@ const select$A = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
5210
5285
|
kind: 'Scalar',
|
|
5211
5286
|
required: false
|
|
5212
5287
|
},
|
|
5288
|
+
{
|
|
5289
|
+
name: 'externalDataType',
|
|
5290
|
+
kind: 'Scalar',
|
|
5291
|
+
required: false
|
|
5292
|
+
},
|
|
5213
5293
|
{
|
|
5214
5294
|
name: 'externalStorageName',
|
|
5215
5295
|
kind: 'Scalar',
|
|
@@ -5294,7 +5374,7 @@ const select$A = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
5294
5374
|
]
|
|
5295
5375
|
};
|
|
5296
5376
|
};
|
|
5297
|
-
function equals$
|
|
5377
|
+
function equals$m(existing, incoming) {
|
|
5298
5378
|
const existing_isOverrideBase = existing.isOverrideBase;
|
|
5299
5379
|
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
5300
5380
|
// if at least one of these optionals is defined
|
|
@@ -5466,6 +5546,19 @@ function equals$l(existing, incoming) {
|
|
|
5466
5546
|
return false;
|
|
5467
5547
|
}
|
|
5468
5548
|
}
|
|
5549
|
+
const existing_externalDataType = existing.externalDataType;
|
|
5550
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
5551
|
+
// if at least one of these optionals is defined
|
|
5552
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
5553
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5554
|
+
// not equal
|
|
5555
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
5556
|
+
return false;
|
|
5557
|
+
}
|
|
5558
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
5559
|
+
return false;
|
|
5560
|
+
}
|
|
5561
|
+
}
|
|
5469
5562
|
const existing_externalStorageName = existing.externalStorageName;
|
|
5470
5563
|
const incoming_externalStorageName = incoming.externalStorageName;
|
|
5471
5564
|
// if at least one of these optionals is defined
|
|
@@ -5611,7 +5704,7 @@ function equals$l(existing, incoming) {
|
|
|
5611
5704
|
return false;
|
|
5612
5705
|
}
|
|
5613
5706
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
5614
|
-
if (!(equals$
|
|
5707
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
5615
5708
|
return false;
|
|
5616
5709
|
}
|
|
5617
5710
|
});
|
|
@@ -5621,30 +5714,30 @@ function equals$l(existing, incoming) {
|
|
|
5621
5714
|
}
|
|
5622
5715
|
return true;
|
|
5623
5716
|
}
|
|
5624
|
-
const ingest$
|
|
5717
|
+
const ingest$g = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5625
5718
|
if (process.env.NODE_ENV !== 'production') {
|
|
5626
|
-
const validateError = validate$
|
|
5719
|
+
const validateError = validate$x(input);
|
|
5627
5720
|
if (validateError !== null) {
|
|
5628
5721
|
throw validateError;
|
|
5629
5722
|
}
|
|
5630
5723
|
}
|
|
5631
|
-
const key = keyBuilderFromType$
|
|
5724
|
+
const key = keyBuilderFromType$c(luvio, input);
|
|
5632
5725
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5633
|
-
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);
|
|
5634
5727
|
return createLink(key);
|
|
5635
5728
|
};
|
|
5636
|
-
function getTypeCacheKeys$
|
|
5729
|
+
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
5637
5730
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
5638
|
-
const rootKey = keyBuilderFromType$
|
|
5731
|
+
const rootKey = keyBuilderFromType$c(luvio, input);
|
|
5639
5732
|
rootKeySet.set(rootKey, {
|
|
5640
5733
|
namespace: keyPrefix,
|
|
5641
|
-
representationName: RepresentationType$
|
|
5734
|
+
representationName: RepresentationType$g,
|
|
5642
5735
|
mergeable: false
|
|
5643
5736
|
});
|
|
5644
5737
|
}
|
|
5645
5738
|
|
|
5646
|
-
const VERSION$
|
|
5647
|
-
function validate$
|
|
5739
|
+
const VERSION$l = "65b35c82c52febf0709785df41c57ac3";
|
|
5740
|
+
function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
5648
5741
|
const v_error = (() => {
|
|
5649
5742
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5650
5743
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5734,6 +5827,13 @@ function validate$v(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
5734
5827
|
return new TypeError('Expected "string" but received "' + typeof obj_externalConnectionApiName + '" (at "' + path_externalConnectionApiName + '")');
|
|
5735
5828
|
}
|
|
5736
5829
|
}
|
|
5830
|
+
if (obj.externalDataType !== undefined) {
|
|
5831
|
+
const obj_externalDataType = obj.externalDataType;
|
|
5832
|
+
const path_externalDataType = path + '.externalDataType';
|
|
5833
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
5834
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
5835
|
+
}
|
|
5836
|
+
}
|
|
5737
5837
|
if (obj.externalStorageName !== undefined) {
|
|
5738
5838
|
const obj_externalStorageName = obj.externalStorageName;
|
|
5739
5839
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -5757,7 +5857,7 @@ function validate$v(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
5757
5857
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5758
5858
|
const obj_filters_item = obj_filters[i];
|
|
5759
5859
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5760
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5860
|
+
const referencepath_filters_itemValidationError = validate$1b(obj_filters_item, path_filters_item);
|
|
5761
5861
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5762
5862
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5763
5863
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5885,24 +5985,24 @@ function validate$v(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
5885
5985
|
})();
|
|
5886
5986
|
return v_error === undefined ? null : v_error;
|
|
5887
5987
|
}
|
|
5888
|
-
const RepresentationType$
|
|
5889
|
-
function keyBuilder$
|
|
5890
|
-
return keyPrefix + '::' + RepresentationType$
|
|
5988
|
+
const RepresentationType$f = 'SemanticCalculatedMeasurementOutputRepresentation';
|
|
5989
|
+
function keyBuilder$w(luvio, config) {
|
|
5990
|
+
return keyPrefix + '::' + RepresentationType$f + ':' + config.name;
|
|
5891
5991
|
}
|
|
5892
|
-
function keyBuilderFromType$
|
|
5992
|
+
function keyBuilderFromType$b(luvio, object) {
|
|
5893
5993
|
const keyParams = {
|
|
5894
5994
|
name: object.id
|
|
5895
5995
|
};
|
|
5896
|
-
return keyBuilder$
|
|
5996
|
+
return keyBuilder$w(luvio, keyParams);
|
|
5897
5997
|
}
|
|
5898
|
-
function normalize$
|
|
5998
|
+
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
5899
5999
|
return input;
|
|
5900
6000
|
}
|
|
5901
|
-
const select$
|
|
5902
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
6001
|
+
const select$A = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
6002
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
5903
6003
|
return {
|
|
5904
6004
|
kind: 'Fragment',
|
|
5905
|
-
version: VERSION$
|
|
6005
|
+
version: VERSION$l,
|
|
5906
6006
|
private: [],
|
|
5907
6007
|
selections: [
|
|
5908
6008
|
{
|
|
@@ -5967,6 +6067,11 @@ const select$z = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
5967
6067
|
kind: 'Scalar',
|
|
5968
6068
|
required: false
|
|
5969
6069
|
},
|
|
6070
|
+
{
|
|
6071
|
+
name: 'externalDataType',
|
|
6072
|
+
kind: 'Scalar',
|
|
6073
|
+
required: false
|
|
6074
|
+
},
|
|
5970
6075
|
{
|
|
5971
6076
|
name: 'externalStorageName',
|
|
5972
6077
|
kind: 'Scalar',
|
|
@@ -6071,7 +6176,7 @@ const select$z = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
6071
6176
|
]
|
|
6072
6177
|
};
|
|
6073
6178
|
};
|
|
6074
|
-
function equals$
|
|
6179
|
+
function equals$l(existing, incoming) {
|
|
6075
6180
|
const existing_isAggregatable = existing.isAggregatable;
|
|
6076
6181
|
const incoming_isAggregatable = incoming.isAggregatable;
|
|
6077
6182
|
// if at least one of these optionals is defined
|
|
@@ -6295,6 +6400,19 @@ function equals$k(existing, incoming) {
|
|
|
6295
6400
|
return false;
|
|
6296
6401
|
}
|
|
6297
6402
|
}
|
|
6403
|
+
const existing_externalDataType = existing.externalDataType;
|
|
6404
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
6405
|
+
// if at least one of these optionals is defined
|
|
6406
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
6407
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6408
|
+
// not equal
|
|
6409
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
6410
|
+
return false;
|
|
6411
|
+
}
|
|
6412
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
6413
|
+
return false;
|
|
6414
|
+
}
|
|
6415
|
+
}
|
|
6298
6416
|
const existing_externalStorageName = existing.externalStorageName;
|
|
6299
6417
|
const incoming_externalStorageName = incoming.externalStorageName;
|
|
6300
6418
|
// if at least one of these optionals is defined
|
|
@@ -6466,7 +6584,7 @@ function equals$k(existing, incoming) {
|
|
|
6466
6584
|
return false;
|
|
6467
6585
|
}
|
|
6468
6586
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
6469
|
-
if (!(equals$
|
|
6587
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
6470
6588
|
return false;
|
|
6471
6589
|
}
|
|
6472
6590
|
});
|
|
@@ -6476,29 +6594,29 @@ function equals$k(existing, incoming) {
|
|
|
6476
6594
|
}
|
|
6477
6595
|
return true;
|
|
6478
6596
|
}
|
|
6479
|
-
const ingest$
|
|
6597
|
+
const ingest$f = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6480
6598
|
if (process.env.NODE_ENV !== 'production') {
|
|
6481
|
-
const validateError = validate$
|
|
6599
|
+
const validateError = validate$w(input);
|
|
6482
6600
|
if (validateError !== null) {
|
|
6483
6601
|
throw validateError;
|
|
6484
6602
|
}
|
|
6485
6603
|
}
|
|
6486
|
-
const key = keyBuilderFromType$
|
|
6604
|
+
const key = keyBuilderFromType$b(luvio, input);
|
|
6487
6605
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6488
|
-
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);
|
|
6489
6607
|
return createLink(key);
|
|
6490
6608
|
};
|
|
6491
|
-
function getTypeCacheKeys$
|
|
6609
|
+
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
6492
6610
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
6493
|
-
const rootKey = keyBuilderFromType$
|
|
6611
|
+
const rootKey = keyBuilderFromType$b(luvio, input);
|
|
6494
6612
|
rootKeySet.set(rootKey, {
|
|
6495
6613
|
namespace: keyPrefix,
|
|
6496
|
-
representationName: RepresentationType$
|
|
6614
|
+
representationName: RepresentationType$f,
|
|
6497
6615
|
mergeable: false
|
|
6498
6616
|
});
|
|
6499
6617
|
}
|
|
6500
6618
|
|
|
6501
|
-
function validate$
|
|
6619
|
+
function validate$v(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
6502
6620
|
const v_error = (() => {
|
|
6503
6621
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6504
6622
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6567,6 +6685,13 @@ function validate$u(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
6567
6685
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
6568
6686
|
}
|
|
6569
6687
|
}
|
|
6688
|
+
if (obj.externalDataType !== undefined) {
|
|
6689
|
+
const obj_externalDataType = obj.externalDataType;
|
|
6690
|
+
const path_externalDataType = path + '.externalDataType';
|
|
6691
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
6692
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
6693
|
+
}
|
|
6694
|
+
}
|
|
6570
6695
|
if (obj.externalStorageName !== undefined) {
|
|
6571
6696
|
const obj_externalStorageName = obj.externalStorageName;
|
|
6572
6697
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -6674,7 +6799,7 @@ function validate$u(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
6674
6799
|
return v_error === undefined ? null : v_error;
|
|
6675
6800
|
}
|
|
6676
6801
|
|
|
6677
|
-
function validate$
|
|
6802
|
+
function validate$u(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
6678
6803
|
const v_error = (() => {
|
|
6679
6804
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6680
6805
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6757,6 +6882,13 @@ function validate$t(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
6757
6882
|
return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
|
|
6758
6883
|
}
|
|
6759
6884
|
}
|
|
6885
|
+
if (obj.externalDataType !== undefined) {
|
|
6886
|
+
const obj_externalDataType = obj.externalDataType;
|
|
6887
|
+
const path_externalDataType = path + '.externalDataType';
|
|
6888
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
6889
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
6890
|
+
}
|
|
6891
|
+
}
|
|
6760
6892
|
if (obj.externalStorageName !== undefined) {
|
|
6761
6893
|
const obj_externalStorageName = obj.externalStorageName;
|
|
6762
6894
|
const path_externalStorageName = path + '.externalStorageName';
|
|
@@ -6885,8 +7017,8 @@ function validate$t(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
6885
7017
|
return v_error === undefined ? null : v_error;
|
|
6886
7018
|
}
|
|
6887
7019
|
|
|
6888
|
-
const VERSION$
|
|
6889
|
-
function validate$
|
|
7020
|
+
const VERSION$k = "7804fea5e1a3894ad9c1e89a2ce17ab9";
|
|
7021
|
+
function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
6890
7022
|
const v_error = (() => {
|
|
6891
7023
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6892
7024
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6964,7 +7096,7 @@ function validate$s(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
6964
7096
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
6965
7097
|
const obj_filters_item = obj_filters[i];
|
|
6966
7098
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
6967
|
-
const referencepath_filters_itemValidationError = validate$
|
|
7099
|
+
const referencepath_filters_itemValidationError = validate$1b(obj_filters_item, path_filters_item);
|
|
6968
7100
|
if (referencepath_filters_itemValidationError !== null) {
|
|
6969
7101
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
6970
7102
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7035,7 +7167,7 @@ function validate$s(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
7035
7167
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
7036
7168
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
7037
7169
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
7038
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
7170
|
+
const referencepath_semanticDimensions_itemValidationError = validate$v(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
7039
7171
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
7040
7172
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
7041
7173
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7059,7 +7191,7 @@ function validate$s(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
7059
7191
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
7060
7192
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
7061
7193
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
7062
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
7194
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$u(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
7063
7195
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
7064
7196
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
7065
7197
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7098,57 +7230,57 @@ function validate$s(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
7098
7230
|
})();
|
|
7099
7231
|
return v_error === undefined ? null : v_error;
|
|
7100
7232
|
}
|
|
7101
|
-
const RepresentationType$
|
|
7102
|
-
function keyBuilder$
|
|
7103
|
-
return keyPrefix + '::' + RepresentationType$
|
|
7233
|
+
const RepresentationType$e = 'SemanticDataObjectOutputRepresentation';
|
|
7234
|
+
function keyBuilder$v(luvio, config) {
|
|
7235
|
+
return keyPrefix + '::' + RepresentationType$e + ':' + config.name;
|
|
7104
7236
|
}
|
|
7105
|
-
function keyBuilderFromType$
|
|
7237
|
+
function keyBuilderFromType$a(luvio, object) {
|
|
7106
7238
|
const keyParams = {
|
|
7107
7239
|
name: object.id
|
|
7108
7240
|
};
|
|
7109
|
-
return keyBuilder$
|
|
7241
|
+
return keyBuilder$v(luvio, keyParams);
|
|
7110
7242
|
}
|
|
7111
|
-
function normalize$
|
|
7243
|
+
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
7112
7244
|
return input;
|
|
7113
7245
|
}
|
|
7114
|
-
const select$
|
|
7246
|
+
const select$z = function SemanticDataObjectOutputRepresentationSelect() {
|
|
7115
7247
|
return {
|
|
7116
7248
|
kind: 'Fragment',
|
|
7117
|
-
version: VERSION$
|
|
7249
|
+
version: VERSION$k,
|
|
7118
7250
|
private: [],
|
|
7119
7251
|
opaque: true
|
|
7120
7252
|
};
|
|
7121
7253
|
};
|
|
7122
|
-
function equals$
|
|
7254
|
+
function equals$k(existing, incoming) {
|
|
7123
7255
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
7124
7256
|
return false;
|
|
7125
7257
|
}
|
|
7126
7258
|
return true;
|
|
7127
7259
|
}
|
|
7128
|
-
const ingest$
|
|
7260
|
+
const ingest$e = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7129
7261
|
if (process.env.NODE_ENV !== 'production') {
|
|
7130
|
-
const validateError = validate$
|
|
7262
|
+
const validateError = validate$t(input);
|
|
7131
7263
|
if (validateError !== null) {
|
|
7132
7264
|
throw validateError;
|
|
7133
7265
|
}
|
|
7134
7266
|
}
|
|
7135
|
-
const key = keyBuilderFromType$
|
|
7267
|
+
const key = keyBuilderFromType$a(luvio, input);
|
|
7136
7268
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7137
|
-
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);
|
|
7138
7270
|
return createLink(key);
|
|
7139
7271
|
};
|
|
7140
|
-
function getTypeCacheKeys$
|
|
7272
|
+
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
7141
7273
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
7142
|
-
const rootKey = keyBuilderFromType$
|
|
7274
|
+
const rootKey = keyBuilderFromType$a(luvio, input);
|
|
7143
7275
|
rootKeySet.set(rootKey, {
|
|
7144
7276
|
namespace: keyPrefix,
|
|
7145
|
-
representationName: RepresentationType$
|
|
7277
|
+
representationName: RepresentationType$e,
|
|
7146
7278
|
mergeable: false
|
|
7147
7279
|
});
|
|
7148
7280
|
}
|
|
7149
7281
|
|
|
7150
|
-
const VERSION$
|
|
7151
|
-
function validate$
|
|
7282
|
+
const VERSION$j = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
7283
|
+
function validate$s(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
7152
7284
|
const v_error = (() => {
|
|
7153
7285
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7154
7286
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7157,10 +7289,10 @@ function validate$r(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
7157
7289
|
})();
|
|
7158
7290
|
return v_error === undefined ? null : v_error;
|
|
7159
7291
|
}
|
|
7160
|
-
const select$
|
|
7292
|
+
const select$y = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
7161
7293
|
return {
|
|
7162
7294
|
kind: 'Fragment',
|
|
7163
|
-
version: VERSION$
|
|
7295
|
+
version: VERSION$j,
|
|
7164
7296
|
private: [],
|
|
7165
7297
|
selections: [
|
|
7166
7298
|
{
|
|
@@ -7170,7 +7302,7 @@ const select$x = function BinDimensionConfigurationOutputRepresentationSelect()
|
|
|
7170
7302
|
]
|
|
7171
7303
|
};
|
|
7172
7304
|
};
|
|
7173
|
-
function equals$
|
|
7305
|
+
function equals$j(existing, incoming) {
|
|
7174
7306
|
const existing_constantBinSize = existing.constantBinSize;
|
|
7175
7307
|
const incoming_constantBinSize = incoming.constantBinSize;
|
|
7176
7308
|
if (!(existing_constantBinSize === incoming_constantBinSize)) {
|
|
@@ -7179,8 +7311,8 @@ function equals$i(existing, incoming) {
|
|
|
7179
7311
|
return true;
|
|
7180
7312
|
}
|
|
7181
7313
|
|
|
7182
|
-
const VERSION$
|
|
7183
|
-
function validate$
|
|
7314
|
+
const VERSION$i = "2cdadcd630abb7b981b2d131880a68c0";
|
|
7315
|
+
function validate$r(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
7184
7316
|
const v_error = (() => {
|
|
7185
7317
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7186
7318
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7207,10 +7339,10 @@ function validate$q(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
7207
7339
|
})();
|
|
7208
7340
|
return v_error === undefined ? null : v_error;
|
|
7209
7341
|
}
|
|
7210
|
-
const select$
|
|
7342
|
+
const select$x = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
7211
7343
|
return {
|
|
7212
7344
|
kind: 'Fragment',
|
|
7213
|
-
version: VERSION$
|
|
7345
|
+
version: VERSION$i,
|
|
7214
7346
|
private: [],
|
|
7215
7347
|
selections: [
|
|
7216
7348
|
{
|
|
@@ -7226,7 +7358,7 @@ const select$w = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
|
7226
7358
|
]
|
|
7227
7359
|
};
|
|
7228
7360
|
};
|
|
7229
|
-
function equals$
|
|
7361
|
+
function equals$i(existing, incoming) {
|
|
7230
7362
|
const existing_name = existing.name;
|
|
7231
7363
|
const incoming_name = incoming.name;
|
|
7232
7364
|
if (!(existing_name === incoming_name)) {
|
|
@@ -7253,8 +7385,8 @@ function equals$h(existing, incoming) {
|
|
|
7253
7385
|
return true;
|
|
7254
7386
|
}
|
|
7255
7387
|
|
|
7256
|
-
const VERSION$
|
|
7257
|
-
function validate$
|
|
7388
|
+
const VERSION$h = "55c60b6207985632192cb4e419822a86";
|
|
7389
|
+
function validate$q(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
7258
7390
|
const v_error = (() => {
|
|
7259
7391
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7260
7392
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7268,7 +7400,7 @@ function validate$p(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
7268
7400
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
7269
7401
|
const obj_groups_item = obj_groups[i];
|
|
7270
7402
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
7271
|
-
const referencepath_groups_itemValidationError = validate$
|
|
7403
|
+
const referencepath_groups_itemValidationError = validate$r(obj_groups_item, path_groups_item);
|
|
7272
7404
|
if (referencepath_groups_itemValidationError !== null) {
|
|
7273
7405
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
7274
7406
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7286,11 +7418,11 @@ function validate$p(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
7286
7418
|
})();
|
|
7287
7419
|
return v_error === undefined ? null : v_error;
|
|
7288
7420
|
}
|
|
7289
|
-
const select$
|
|
7290
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
7421
|
+
const select$w = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
7422
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$x();
|
|
7291
7423
|
return {
|
|
7292
7424
|
kind: 'Fragment',
|
|
7293
|
-
version: VERSION$
|
|
7425
|
+
version: VERSION$h,
|
|
7294
7426
|
private: [],
|
|
7295
7427
|
selections: [
|
|
7296
7428
|
{
|
|
@@ -7308,7 +7440,7 @@ const select$v = function GroupDimensionConfigurationOutputRepresentationSelect(
|
|
|
7308
7440
|
]
|
|
7309
7441
|
};
|
|
7310
7442
|
};
|
|
7311
|
-
function equals$
|
|
7443
|
+
function equals$h(existing, incoming) {
|
|
7312
7444
|
const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
|
|
7313
7445
|
const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
|
|
7314
7446
|
// if at least one of these optionals is defined
|
|
@@ -7332,7 +7464,7 @@ function equals$g(existing, incoming) {
|
|
|
7332
7464
|
return false;
|
|
7333
7465
|
}
|
|
7334
7466
|
const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
|
|
7335
|
-
if (!(equals$
|
|
7467
|
+
if (!(equals$i(existing_groups_item, incoming_groups_item))) {
|
|
7336
7468
|
return false;
|
|
7337
7469
|
}
|
|
7338
7470
|
});
|
|
@@ -7343,8 +7475,8 @@ function equals$g(existing, incoming) {
|
|
|
7343
7475
|
return true;
|
|
7344
7476
|
}
|
|
7345
7477
|
|
|
7346
|
-
const VERSION$
|
|
7347
|
-
function validate$
|
|
7478
|
+
const VERSION$g = "50dc390b159159afb1945b9a811c9f80";
|
|
7479
|
+
function validate$p(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
7348
7480
|
const v_error = (() => {
|
|
7349
7481
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7350
7482
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7352,7 +7484,7 @@ function validate$o(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
7352
7484
|
if (obj.binDimension !== undefined) {
|
|
7353
7485
|
const obj_binDimension = obj.binDimension;
|
|
7354
7486
|
const path_binDimension = path + '.binDimension';
|
|
7355
|
-
const referencepath_binDimensionValidationError = validate$
|
|
7487
|
+
const referencepath_binDimensionValidationError = validate$s(obj_binDimension, path_binDimension);
|
|
7356
7488
|
if (referencepath_binDimensionValidationError !== null) {
|
|
7357
7489
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
7358
7490
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7362,7 +7494,7 @@ function validate$o(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
7362
7494
|
if (obj.groupDimension !== undefined) {
|
|
7363
7495
|
const obj_groupDimension = obj.groupDimension;
|
|
7364
7496
|
const path_groupDimension = path + '.groupDimension';
|
|
7365
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
7497
|
+
const referencepath_groupDimensionValidationError = validate$q(obj_groupDimension, path_groupDimension);
|
|
7366
7498
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
7367
7499
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
7368
7500
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7372,12 +7504,12 @@ function validate$o(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
7372
7504
|
})();
|
|
7373
7505
|
return v_error === undefined ? null : v_error;
|
|
7374
7506
|
}
|
|
7375
|
-
const select$
|
|
7376
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
7377
|
-
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();
|
|
7378
7510
|
return {
|
|
7379
7511
|
kind: 'Fragment',
|
|
7380
|
-
version: VERSION$
|
|
7512
|
+
version: VERSION$g,
|
|
7381
7513
|
private: [],
|
|
7382
7514
|
selections: [
|
|
7383
7515
|
{
|
|
@@ -7395,7 +7527,7 @@ const select$u = function SemanticGroupingConfigurationOutputRepresentationSelec
|
|
|
7395
7527
|
]
|
|
7396
7528
|
};
|
|
7397
7529
|
};
|
|
7398
|
-
function equals$
|
|
7530
|
+
function equals$g(existing, incoming) {
|
|
7399
7531
|
const existing_binDimension = existing.binDimension;
|
|
7400
7532
|
const incoming_binDimension = incoming.binDimension;
|
|
7401
7533
|
// if at least one of these optionals is defined
|
|
@@ -7405,7 +7537,7 @@ function equals$f(existing, incoming) {
|
|
|
7405
7537
|
if (existing_binDimension === undefined || incoming_binDimension === undefined) {
|
|
7406
7538
|
return false;
|
|
7407
7539
|
}
|
|
7408
|
-
if (!(equals$
|
|
7540
|
+
if (!(equals$j(existing_binDimension, incoming_binDimension))) {
|
|
7409
7541
|
return false;
|
|
7410
7542
|
}
|
|
7411
7543
|
}
|
|
@@ -7418,15 +7550,15 @@ function equals$f(existing, incoming) {
|
|
|
7418
7550
|
if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
|
|
7419
7551
|
return false;
|
|
7420
7552
|
}
|
|
7421
|
-
if (!(equals$
|
|
7553
|
+
if (!(equals$h(existing_groupDimension, incoming_groupDimension))) {
|
|
7422
7554
|
return false;
|
|
7423
7555
|
}
|
|
7424
7556
|
}
|
|
7425
7557
|
return true;
|
|
7426
7558
|
}
|
|
7427
7559
|
|
|
7428
|
-
const VERSION$
|
|
7429
|
-
function validate$
|
|
7560
|
+
const VERSION$f = "781f9dcf8c74d2f32cce84d91cf9e6af";
|
|
7561
|
+
function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
7430
7562
|
const v_error = (() => {
|
|
7431
7563
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7432
7564
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7452,7 +7584,7 @@ function validate$n(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
7452
7584
|
}
|
|
7453
7585
|
const obj_configuration = obj.configuration;
|
|
7454
7586
|
const path_configuration = path + '.configuration';
|
|
7455
|
-
const referencepath_configurationValidationError = validate$
|
|
7587
|
+
const referencepath_configurationValidationError = validate$p(obj_configuration, path_configuration);
|
|
7456
7588
|
if (referencepath_configurationValidationError !== null) {
|
|
7457
7589
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
7458
7590
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7475,9 +7607,16 @@ function validate$n(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
7475
7607
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
7476
7608
|
}
|
|
7477
7609
|
}
|
|
7610
|
+
if (obj.externalDataType !== undefined) {
|
|
7611
|
+
const obj_externalDataType = obj.externalDataType;
|
|
7612
|
+
const path_externalDataType = path + '.externalDataType';
|
|
7613
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
7614
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
7615
|
+
}
|
|
7616
|
+
}
|
|
7478
7617
|
const obj_fieldReference = obj.fieldReference;
|
|
7479
7618
|
const path_fieldReference = path + '.fieldReference';
|
|
7480
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
7619
|
+
const referencepath_fieldReferenceValidationError = validate$1c(obj_fieldReference, path_fieldReference);
|
|
7481
7620
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
7482
7621
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
7483
7622
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7538,25 +7677,25 @@ function validate$n(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
7538
7677
|
})();
|
|
7539
7678
|
return v_error === undefined ? null : v_error;
|
|
7540
7679
|
}
|
|
7541
|
-
const RepresentationType$
|
|
7542
|
-
function keyBuilder$
|
|
7543
|
-
return keyPrefix + '::' + RepresentationType$
|
|
7680
|
+
const RepresentationType$d = 'SemanticGroupingOutputRepresentation';
|
|
7681
|
+
function keyBuilder$u(luvio, config) {
|
|
7682
|
+
return keyPrefix + '::' + RepresentationType$d + ':' + config.name;
|
|
7544
7683
|
}
|
|
7545
|
-
function keyBuilderFromType$
|
|
7684
|
+
function keyBuilderFromType$9(luvio, object) {
|
|
7546
7685
|
const keyParams = {
|
|
7547
7686
|
name: object.id
|
|
7548
7687
|
};
|
|
7549
|
-
return keyBuilder$
|
|
7688
|
+
return keyBuilder$u(luvio, keyParams);
|
|
7550
7689
|
}
|
|
7551
|
-
function normalize$
|
|
7690
|
+
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
7552
7691
|
return input;
|
|
7553
7692
|
}
|
|
7554
|
-
const select$
|
|
7555
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
7556
|
-
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();
|
|
7557
7696
|
return {
|
|
7558
7697
|
kind: 'Fragment',
|
|
7559
|
-
version: VERSION$
|
|
7698
|
+
version: VERSION$f,
|
|
7560
7699
|
private: [],
|
|
7561
7700
|
selections: [
|
|
7562
7701
|
{
|
|
@@ -7591,6 +7730,11 @@ const select$t = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
7591
7730
|
kind: 'Scalar',
|
|
7592
7731
|
required: false
|
|
7593
7732
|
},
|
|
7733
|
+
{
|
|
7734
|
+
name: 'externalDataType',
|
|
7735
|
+
kind: 'Scalar',
|
|
7736
|
+
required: false
|
|
7737
|
+
},
|
|
7594
7738
|
{
|
|
7595
7739
|
name: 'fieldReference',
|
|
7596
7740
|
kind: 'Object',
|
|
@@ -7637,7 +7781,7 @@ const select$t = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
7637
7781
|
]
|
|
7638
7782
|
};
|
|
7639
7783
|
};
|
|
7640
|
-
function equals$
|
|
7784
|
+
function equals$f(existing, incoming) {
|
|
7641
7785
|
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
7642
7786
|
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
7643
7787
|
// if at least one of these optionals is defined
|
|
@@ -7718,6 +7862,19 @@ function equals$e(existing, incoming) {
|
|
|
7718
7862
|
return false;
|
|
7719
7863
|
}
|
|
7720
7864
|
}
|
|
7865
|
+
const existing_externalDataType = existing.externalDataType;
|
|
7866
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
7867
|
+
// if at least one of these optionals is defined
|
|
7868
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
7869
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7870
|
+
// not equal
|
|
7871
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
7872
|
+
return false;
|
|
7873
|
+
}
|
|
7874
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
7875
|
+
return false;
|
|
7876
|
+
}
|
|
7877
|
+
}
|
|
7721
7878
|
const existing_id = existing.id;
|
|
7722
7879
|
const incoming_id = incoming.id;
|
|
7723
7880
|
if (!(existing_id === incoming_id)) {
|
|
@@ -7782,40 +7939,40 @@ function equals$e(existing, incoming) {
|
|
|
7782
7939
|
}
|
|
7783
7940
|
const existing_configuration = existing.configuration;
|
|
7784
7941
|
const incoming_configuration = incoming.configuration;
|
|
7785
|
-
if (!(equals$
|
|
7942
|
+
if (!(equals$g(existing_configuration, incoming_configuration))) {
|
|
7786
7943
|
return false;
|
|
7787
7944
|
}
|
|
7788
7945
|
const existing_fieldReference = existing.fieldReference;
|
|
7789
7946
|
const incoming_fieldReference = incoming.fieldReference;
|
|
7790
|
-
if (!(equals$
|
|
7947
|
+
if (!(equals$A(existing_fieldReference, incoming_fieldReference))) {
|
|
7791
7948
|
return false;
|
|
7792
7949
|
}
|
|
7793
7950
|
return true;
|
|
7794
7951
|
}
|
|
7795
|
-
const ingest$
|
|
7952
|
+
const ingest$d = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7796
7953
|
if (process.env.NODE_ENV !== 'production') {
|
|
7797
|
-
const validateError = validate$
|
|
7954
|
+
const validateError = validate$o(input);
|
|
7798
7955
|
if (validateError !== null) {
|
|
7799
7956
|
throw validateError;
|
|
7800
7957
|
}
|
|
7801
7958
|
}
|
|
7802
|
-
const key = keyBuilderFromType$
|
|
7959
|
+
const key = keyBuilderFromType$9(luvio, input);
|
|
7803
7960
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7804
|
-
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);
|
|
7805
7962
|
return createLink(key);
|
|
7806
7963
|
};
|
|
7807
|
-
function getTypeCacheKeys$
|
|
7964
|
+
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
7808
7965
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
7809
|
-
const rootKey = keyBuilderFromType$
|
|
7966
|
+
const rootKey = keyBuilderFromType$9(luvio, input);
|
|
7810
7967
|
rootKeySet.set(rootKey, {
|
|
7811
7968
|
namespace: keyPrefix,
|
|
7812
|
-
representationName: RepresentationType$
|
|
7969
|
+
representationName: RepresentationType$d,
|
|
7813
7970
|
mergeable: false
|
|
7814
7971
|
});
|
|
7815
7972
|
}
|
|
7816
7973
|
|
|
7817
|
-
const VERSION$
|
|
7818
|
-
function validate$
|
|
7974
|
+
const VERSION$e = "c5144c317ac72b60d580cab803514b8d";
|
|
7975
|
+
function validate$n(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
7819
7976
|
const v_error = (() => {
|
|
7820
7977
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7821
7978
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7858,10 +8015,10 @@ function validate$m(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
7858
8015
|
})();
|
|
7859
8016
|
return v_error === undefined ? null : v_error;
|
|
7860
8017
|
}
|
|
7861
|
-
const select$
|
|
8018
|
+
const select$t = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
7862
8019
|
return {
|
|
7863
8020
|
kind: 'Fragment',
|
|
7864
|
-
version: VERSION$
|
|
8021
|
+
version: VERSION$e,
|
|
7865
8022
|
private: [],
|
|
7866
8023
|
selections: [
|
|
7867
8024
|
{
|
|
@@ -7892,7 +8049,7 @@ const select$s = function SemanticRelationshipCriteriaOutputRepresentationSelect
|
|
|
7892
8049
|
]
|
|
7893
8050
|
};
|
|
7894
8051
|
};
|
|
7895
|
-
function equals$
|
|
8052
|
+
function equals$e(existing, incoming) {
|
|
7896
8053
|
const existing_joinOperator = existing.joinOperator;
|
|
7897
8054
|
const incoming_joinOperator = incoming.joinOperator;
|
|
7898
8055
|
// if at least one of these optionals is defined
|
|
@@ -7961,8 +8118,8 @@ function equals$d(existing, incoming) {
|
|
|
7961
8118
|
return true;
|
|
7962
8119
|
}
|
|
7963
8120
|
|
|
7964
|
-
const VERSION$
|
|
7965
|
-
function validate$
|
|
8121
|
+
const VERSION$d = "b54e564b71d26e8ac89b5649db876f6f";
|
|
8122
|
+
function validate$m(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
7966
8123
|
const v_error = (() => {
|
|
7967
8124
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7968
8125
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8012,7 +8169,7 @@ function validate$l(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
8012
8169
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
8013
8170
|
const obj_criteria_item = obj_criteria[i];
|
|
8014
8171
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
8015
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
8172
|
+
const referencepath_criteria_itemValidationError = validate$n(obj_criteria_item, path_criteria_item);
|
|
8016
8173
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
8017
8174
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
8018
8175
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8112,24 +8269,24 @@ function validate$l(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
8112
8269
|
})();
|
|
8113
8270
|
return v_error === undefined ? null : v_error;
|
|
8114
8271
|
}
|
|
8115
|
-
const RepresentationType$
|
|
8116
|
-
function keyBuilder$
|
|
8117
|
-
return keyPrefix + '::' + RepresentationType$
|
|
8272
|
+
const RepresentationType$c = 'SemanticRelationshipOutputRepresentation';
|
|
8273
|
+
function keyBuilder$t(luvio, config) {
|
|
8274
|
+
return keyPrefix + '::' + RepresentationType$c + ':' + config.name;
|
|
8118
8275
|
}
|
|
8119
|
-
function keyBuilderFromType$
|
|
8276
|
+
function keyBuilderFromType$8(luvio, object) {
|
|
8120
8277
|
const keyParams = {
|
|
8121
8278
|
name: object.id
|
|
8122
8279
|
};
|
|
8123
|
-
return keyBuilder$
|
|
8280
|
+
return keyBuilder$t(luvio, keyParams);
|
|
8124
8281
|
}
|
|
8125
|
-
function normalize$
|
|
8282
|
+
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
8126
8283
|
return input;
|
|
8127
8284
|
}
|
|
8128
|
-
const select$
|
|
8129
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
8285
|
+
const select$s = function SemanticRelationshipOutputRepresentationSelect() {
|
|
8286
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$t();
|
|
8130
8287
|
return {
|
|
8131
8288
|
kind: 'Fragment',
|
|
8132
|
-
version: VERSION$
|
|
8289
|
+
version: VERSION$d,
|
|
8133
8290
|
private: [],
|
|
8134
8291
|
selections: [
|
|
8135
8292
|
{
|
|
@@ -8233,7 +8390,7 @@ const select$r = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
8233
8390
|
]
|
|
8234
8391
|
};
|
|
8235
8392
|
};
|
|
8236
|
-
function equals$
|
|
8393
|
+
function equals$d(existing, incoming) {
|
|
8237
8394
|
const existing_isEnabled = existing.isEnabled;
|
|
8238
8395
|
const incoming_isEnabled = incoming.isEnabled;
|
|
8239
8396
|
// if at least one of these optionals is defined
|
|
@@ -8459,7 +8616,7 @@ function equals$c(existing, incoming) {
|
|
|
8459
8616
|
return false;
|
|
8460
8617
|
}
|
|
8461
8618
|
const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
|
|
8462
|
-
if (!(equals$
|
|
8619
|
+
if (!(equals$e(existing_criteria_item, incoming_criteria_item))) {
|
|
8463
8620
|
return false;
|
|
8464
8621
|
}
|
|
8465
8622
|
});
|
|
@@ -8469,30 +8626,30 @@ function equals$c(existing, incoming) {
|
|
|
8469
8626
|
}
|
|
8470
8627
|
return true;
|
|
8471
8628
|
}
|
|
8472
|
-
const ingest$
|
|
8629
|
+
const ingest$c = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8473
8630
|
if (process.env.NODE_ENV !== 'production') {
|
|
8474
|
-
const validateError = validate$
|
|
8631
|
+
const validateError = validate$m(input);
|
|
8475
8632
|
if (validateError !== null) {
|
|
8476
8633
|
throw validateError;
|
|
8477
8634
|
}
|
|
8478
8635
|
}
|
|
8479
|
-
const key = keyBuilderFromType$
|
|
8636
|
+
const key = keyBuilderFromType$8(luvio, input);
|
|
8480
8637
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
8481
|
-
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);
|
|
8482
8639
|
return createLink(key);
|
|
8483
8640
|
};
|
|
8484
|
-
function getTypeCacheKeys$
|
|
8641
|
+
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
8485
8642
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
8486
|
-
const rootKey = keyBuilderFromType$
|
|
8643
|
+
const rootKey = keyBuilderFromType$8(luvio, input);
|
|
8487
8644
|
rootKeySet.set(rootKey, {
|
|
8488
8645
|
namespace: keyPrefix,
|
|
8489
|
-
representationName: RepresentationType$
|
|
8646
|
+
representationName: RepresentationType$c,
|
|
8490
8647
|
mergeable: false
|
|
8491
8648
|
});
|
|
8492
8649
|
}
|
|
8493
8650
|
|
|
8494
|
-
const VERSION$
|
|
8495
|
-
function validate$
|
|
8651
|
+
const VERSION$c = "35088fced8f6d5a9595954736caf0ea9";
|
|
8652
|
+
function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
8496
8653
|
const v_error = (() => {
|
|
8497
8654
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8498
8655
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8542,7 +8699,7 @@ function validate$k(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
8542
8699
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
8543
8700
|
const obj_fields_item = obj_fields[i];
|
|
8544
8701
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
8545
|
-
const referencepath_fields_itemValidationError = validate$
|
|
8702
|
+
const referencepath_fields_itemValidationError = validate$1d(obj_fields_item, path_fields_item);
|
|
8546
8703
|
if (referencepath_fields_itemValidationError !== null) {
|
|
8547
8704
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
8548
8705
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8600,7 +8757,7 @@ function validate$k(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
8600
8757
|
if (obj.semanticDimension !== undefined) {
|
|
8601
8758
|
const obj_semanticDimension = obj.semanticDimension;
|
|
8602
8759
|
const path_semanticDimension = path + '.semanticDimension';
|
|
8603
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
8760
|
+
const referencepath_semanticDimensionValidationError = validate$v(obj_semanticDimension, path_semanticDimension);
|
|
8604
8761
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
8605
8762
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
8606
8763
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8610,7 +8767,7 @@ function validate$k(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
8610
8767
|
if (obj.semanticMeasurement !== undefined) {
|
|
8611
8768
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
8612
8769
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
8613
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
8770
|
+
const referencepath_semanticMeasurementValidationError = validate$u(obj_semanticMeasurement, path_semanticMeasurement);
|
|
8614
8771
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
8615
8772
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
8616
8773
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8627,57 +8784,57 @@ function validate$k(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
8627
8784
|
})();
|
|
8628
8785
|
return v_error === undefined ? null : v_error;
|
|
8629
8786
|
}
|
|
8630
|
-
const RepresentationType$
|
|
8631
|
-
function keyBuilder$
|
|
8632
|
-
return keyPrefix + '::' + RepresentationType$
|
|
8787
|
+
const RepresentationType$b = 'SemanticMappedFieldOutputRepresentation';
|
|
8788
|
+
function keyBuilder$s(luvio, config) {
|
|
8789
|
+
return keyPrefix + '::' + RepresentationType$b + ':' + config.name;
|
|
8633
8790
|
}
|
|
8634
|
-
function keyBuilderFromType$
|
|
8791
|
+
function keyBuilderFromType$7(luvio, object) {
|
|
8635
8792
|
const keyParams = {
|
|
8636
8793
|
name: object.id
|
|
8637
8794
|
};
|
|
8638
|
-
return keyBuilder$
|
|
8795
|
+
return keyBuilder$s(luvio, keyParams);
|
|
8639
8796
|
}
|
|
8640
|
-
function normalize$
|
|
8797
|
+
function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
8641
8798
|
return input;
|
|
8642
8799
|
}
|
|
8643
|
-
const select$
|
|
8800
|
+
const select$r = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
8644
8801
|
return {
|
|
8645
8802
|
kind: 'Fragment',
|
|
8646
|
-
version: VERSION$
|
|
8803
|
+
version: VERSION$c,
|
|
8647
8804
|
private: [],
|
|
8648
8805
|
opaque: true
|
|
8649
8806
|
};
|
|
8650
8807
|
};
|
|
8651
|
-
function equals$
|
|
8808
|
+
function equals$c(existing, incoming) {
|
|
8652
8809
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
8653
8810
|
return false;
|
|
8654
8811
|
}
|
|
8655
8812
|
return true;
|
|
8656
8813
|
}
|
|
8657
|
-
const ingest$
|
|
8814
|
+
const ingest$b = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8658
8815
|
if (process.env.NODE_ENV !== 'production') {
|
|
8659
|
-
const validateError = validate$
|
|
8816
|
+
const validateError = validate$l(input);
|
|
8660
8817
|
if (validateError !== null) {
|
|
8661
8818
|
throw validateError;
|
|
8662
8819
|
}
|
|
8663
8820
|
}
|
|
8664
|
-
const key = keyBuilderFromType$
|
|
8821
|
+
const key = keyBuilderFromType$7(luvio, input);
|
|
8665
8822
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
8666
|
-
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);
|
|
8667
8824
|
return createLink(key);
|
|
8668
8825
|
};
|
|
8669
|
-
function getTypeCacheKeys$
|
|
8826
|
+
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
8670
8827
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
8671
|
-
const rootKey = keyBuilderFromType$
|
|
8828
|
+
const rootKey = keyBuilderFromType$7(luvio, input);
|
|
8672
8829
|
rootKeySet.set(rootKey, {
|
|
8673
8830
|
namespace: keyPrefix,
|
|
8674
|
-
representationName: RepresentationType$
|
|
8831
|
+
representationName: RepresentationType$b,
|
|
8675
8832
|
mergeable: false
|
|
8676
8833
|
});
|
|
8677
8834
|
}
|
|
8678
8835
|
|
|
8679
|
-
const VERSION$
|
|
8680
|
-
function validate$
|
|
8836
|
+
const VERSION$b = "98b8b40b3bc74aaa0644e303d378db60";
|
|
8837
|
+
function validate$k(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
8681
8838
|
const v_error = (() => {
|
|
8682
8839
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8683
8840
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8810,24 +8967,24 @@ function validate$j(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
|
8810
8967
|
})();
|
|
8811
8968
|
return v_error === undefined ? null : v_error;
|
|
8812
8969
|
}
|
|
8813
|
-
const RepresentationType$
|
|
8814
|
-
function keyBuilder$
|
|
8815
|
-
return keyPrefix + '::' + RepresentationType$
|
|
8970
|
+
const RepresentationType$a = 'SemanticUnionOutputRepresentation';
|
|
8971
|
+
function keyBuilder$r(luvio, config) {
|
|
8972
|
+
return keyPrefix + '::' + RepresentationType$a + ':' + config.name;
|
|
8816
8973
|
}
|
|
8817
|
-
function keyBuilderFromType$
|
|
8974
|
+
function keyBuilderFromType$6(luvio, object) {
|
|
8818
8975
|
const keyParams = {
|
|
8819
8976
|
name: object.id
|
|
8820
8977
|
};
|
|
8821
|
-
return keyBuilder$
|
|
8978
|
+
return keyBuilder$r(luvio, keyParams);
|
|
8822
8979
|
}
|
|
8823
|
-
function normalize$
|
|
8980
|
+
function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
8824
8981
|
const input_semanticDataObjects = input.semanticDataObjects;
|
|
8825
8982
|
const input_semanticDataObjects_id = path.fullPath + '__semanticDataObjects';
|
|
8826
8983
|
if (input_semanticDataObjects !== undefined) {
|
|
8827
8984
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
8828
8985
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
8829
8986
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
8830
|
-
input_semanticDataObjects[i] = ingest$
|
|
8987
|
+
input_semanticDataObjects[i] = ingest$e(input_semanticDataObjects_item, {
|
|
8831
8988
|
fullPath: input_semanticDataObjects_item_id,
|
|
8832
8989
|
propertyName: i,
|
|
8833
8990
|
parent: {
|
|
@@ -8845,7 +9002,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
|
8845
9002
|
for (let i = 0; i < input_semanticMappedFields.length; i++) {
|
|
8846
9003
|
const input_semanticMappedFields_item = input_semanticMappedFields[i];
|
|
8847
9004
|
let input_semanticMappedFields_item_id = input_semanticMappedFields_id + '__' + i;
|
|
8848
|
-
input_semanticMappedFields[i] = ingest$
|
|
9005
|
+
input_semanticMappedFields[i] = ingest$b(input_semanticMappedFields_item, {
|
|
8849
9006
|
fullPath: input_semanticMappedFields_item_id,
|
|
8850
9007
|
propertyName: i,
|
|
8851
9008
|
parent: {
|
|
@@ -8859,10 +9016,10 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
|
8859
9016
|
}
|
|
8860
9017
|
return input;
|
|
8861
9018
|
}
|
|
8862
|
-
const select$
|
|
9019
|
+
const select$q = function SemanticUnionOutputRepresentationSelect() {
|
|
8863
9020
|
return {
|
|
8864
9021
|
kind: 'Fragment',
|
|
8865
|
-
version: VERSION$
|
|
9022
|
+
version: VERSION$b,
|
|
8866
9023
|
private: [],
|
|
8867
9024
|
selections: [
|
|
8868
9025
|
{
|
|
@@ -8926,19 +9083,19 @@ const select$p = function SemanticUnionOutputRepresentationSelect() {
|
|
|
8926
9083
|
kind: 'Link',
|
|
8927
9084
|
plural: true,
|
|
8928
9085
|
required: false,
|
|
8929
|
-
fragment: select$
|
|
9086
|
+
fragment: select$z()
|
|
8930
9087
|
},
|
|
8931
9088
|
{
|
|
8932
9089
|
name: 'semanticMappedFields',
|
|
8933
9090
|
kind: 'Link',
|
|
8934
9091
|
plural: true,
|
|
8935
9092
|
required: false,
|
|
8936
|
-
fragment: select$
|
|
9093
|
+
fragment: select$r()
|
|
8937
9094
|
}
|
|
8938
9095
|
]
|
|
8939
9096
|
};
|
|
8940
9097
|
};
|
|
8941
|
-
function equals$
|
|
9098
|
+
function equals$b(existing, incoming) {
|
|
8942
9099
|
const existing_apiName = existing.apiName;
|
|
8943
9100
|
const incoming_apiName = incoming.apiName;
|
|
8944
9101
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -9101,42 +9258,42 @@ function equals$a(existing, incoming) {
|
|
|
9101
9258
|
}
|
|
9102
9259
|
return true;
|
|
9103
9260
|
}
|
|
9104
|
-
const ingest$
|
|
9261
|
+
const ingest$a = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9105
9262
|
if (process.env.NODE_ENV !== 'production') {
|
|
9106
|
-
const validateError = validate$
|
|
9263
|
+
const validateError = validate$k(input);
|
|
9107
9264
|
if (validateError !== null) {
|
|
9108
9265
|
throw validateError;
|
|
9109
9266
|
}
|
|
9110
9267
|
}
|
|
9111
|
-
const key = keyBuilderFromType$
|
|
9268
|
+
const key = keyBuilderFromType$6(luvio, input);
|
|
9112
9269
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
9113
|
-
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);
|
|
9114
9271
|
return createLink(key);
|
|
9115
9272
|
};
|
|
9116
|
-
function getTypeCacheKeys$
|
|
9273
|
+
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
9117
9274
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
9118
|
-
const rootKey = keyBuilderFromType$
|
|
9275
|
+
const rootKey = keyBuilderFromType$6(luvio, input);
|
|
9119
9276
|
rootKeySet.set(rootKey, {
|
|
9120
9277
|
namespace: keyPrefix,
|
|
9121
|
-
representationName: RepresentationType$
|
|
9278
|
+
representationName: RepresentationType$a,
|
|
9122
9279
|
mergeable: false
|
|
9123
9280
|
});
|
|
9124
9281
|
if (input.semanticDataObjects !== undefined) {
|
|
9125
9282
|
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
9126
9283
|
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
9127
|
-
getTypeCacheKeys$
|
|
9284
|
+
getTypeCacheKeys$e(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
9128
9285
|
}
|
|
9129
9286
|
}
|
|
9130
9287
|
if (input.semanticMappedFields !== undefined) {
|
|
9131
9288
|
const input_semanticMappedFields_length = input.semanticMappedFields.length;
|
|
9132
9289
|
for (let i = 0; i < input_semanticMappedFields_length; i++) {
|
|
9133
|
-
getTypeCacheKeys$
|
|
9290
|
+
getTypeCacheKeys$b(rootKeySet, luvio, input.semanticMappedFields[i]);
|
|
9134
9291
|
}
|
|
9135
9292
|
}
|
|
9136
9293
|
}
|
|
9137
9294
|
|
|
9138
|
-
const VERSION$
|
|
9139
|
-
function validate$
|
|
9295
|
+
const VERSION$a = "deed87abd43631c27a6067ac00a1a018";
|
|
9296
|
+
function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
9140
9297
|
const v_error = (() => {
|
|
9141
9298
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9142
9299
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9200,7 +9357,7 @@ function validate$i(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
9200
9357
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
9201
9358
|
const obj_filters_item = obj_filters[i];
|
|
9202
9359
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
9203
|
-
const referencepath_filters_itemValidationError = validate$
|
|
9360
|
+
const referencepath_filters_itemValidationError = validate$1b(obj_filters_item, path_filters_item);
|
|
9204
9361
|
if (referencepath_filters_itemValidationError !== null) {
|
|
9205
9362
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
9206
9363
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9321,24 +9478,24 @@ function validate$i(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
9321
9478
|
})();
|
|
9322
9479
|
return v_error === undefined ? null : v_error;
|
|
9323
9480
|
}
|
|
9324
|
-
const RepresentationType$
|
|
9325
|
-
function keyBuilder$
|
|
9326
|
-
return keyPrefix + '::' + RepresentationType$
|
|
9481
|
+
const RepresentationType$9 = 'SemanticLogicalViewOutputRepresentation';
|
|
9482
|
+
function keyBuilder$q(luvio, config) {
|
|
9483
|
+
return keyPrefix + '::' + RepresentationType$9 + ':' + config.name;
|
|
9327
9484
|
}
|
|
9328
|
-
function keyBuilderFromType$
|
|
9485
|
+
function keyBuilderFromType$5(luvio, object) {
|
|
9329
9486
|
const keyParams = {
|
|
9330
9487
|
name: object.id
|
|
9331
9488
|
};
|
|
9332
|
-
return keyBuilder$
|
|
9489
|
+
return keyBuilder$q(luvio, keyParams);
|
|
9333
9490
|
}
|
|
9334
|
-
function normalize$
|
|
9491
|
+
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
9335
9492
|
const input_semanticDataObjects = input.semanticDataObjects;
|
|
9336
9493
|
const input_semanticDataObjects_id = path.fullPath + '__semanticDataObjects';
|
|
9337
9494
|
if (input_semanticDataObjects !== undefined) {
|
|
9338
9495
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
9339
9496
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
9340
9497
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
9341
|
-
input_semanticDataObjects[i] = ingest$
|
|
9498
|
+
input_semanticDataObjects[i] = ingest$e(input_semanticDataObjects_item, {
|
|
9342
9499
|
fullPath: input_semanticDataObjects_item_id,
|
|
9343
9500
|
propertyName: i,
|
|
9344
9501
|
parent: {
|
|
@@ -9356,7 +9513,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
9356
9513
|
for (let i = 0; i < input_semanticRelationships.length; i++) {
|
|
9357
9514
|
const input_semanticRelationships_item = input_semanticRelationships[i];
|
|
9358
9515
|
let input_semanticRelationships_item_id = input_semanticRelationships_id + '__' + i;
|
|
9359
|
-
input_semanticRelationships[i] = ingest$
|
|
9516
|
+
input_semanticRelationships[i] = ingest$c(input_semanticRelationships_item, {
|
|
9360
9517
|
fullPath: input_semanticRelationships_item_id,
|
|
9361
9518
|
propertyName: i,
|
|
9362
9519
|
parent: {
|
|
@@ -9374,7 +9531,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
9374
9531
|
for (let i = 0; i < input_semanticUnions.length; i++) {
|
|
9375
9532
|
const input_semanticUnions_item = input_semanticUnions[i];
|
|
9376
9533
|
let input_semanticUnions_item_id = input_semanticUnions_id + '__' + i;
|
|
9377
|
-
input_semanticUnions[i] = ingest$
|
|
9534
|
+
input_semanticUnions[i] = ingest$a(input_semanticUnions_item, {
|
|
9378
9535
|
fullPath: input_semanticUnions_item_id,
|
|
9379
9536
|
propertyName: i,
|
|
9380
9537
|
parent: {
|
|
@@ -9388,11 +9545,11 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
9388
9545
|
}
|
|
9389
9546
|
return input;
|
|
9390
9547
|
}
|
|
9391
|
-
const select$
|
|
9392
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
9548
|
+
const select$p = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
9549
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$Q();
|
|
9393
9550
|
return {
|
|
9394
9551
|
kind: 'Fragment',
|
|
9395
|
-
version: VERSION$
|
|
9552
|
+
version: VERSION$a,
|
|
9396
9553
|
private: [],
|
|
9397
9554
|
selections: [
|
|
9398
9555
|
{
|
|
@@ -9464,48 +9621,577 @@ const select$o = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
9464
9621
|
required: false
|
|
9465
9622
|
},
|
|
9466
9623
|
{
|
|
9467
|
-
name: 'lastModifiedDate',
|
|
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',
|
|
9468
10159
|
kind: 'Scalar',
|
|
9469
10160
|
required: false
|
|
9470
10161
|
},
|
|
9471
10162
|
{
|
|
9472
|
-
name: '
|
|
10163
|
+
name: 'filterLogic',
|
|
9473
10164
|
kind: 'Scalar',
|
|
9474
10165
|
required: false
|
|
9475
10166
|
},
|
|
9476
10167
|
{
|
|
9477
|
-
name: '
|
|
9478
|
-
kind: '
|
|
10168
|
+
name: 'filters',
|
|
10169
|
+
kind: 'Object',
|
|
9479
10170
|
plural: true,
|
|
9480
|
-
|
|
9481
|
-
|
|
10171
|
+
selections: SemanticFilterOutputRepresentation__selections,
|
|
10172
|
+
required: false
|
|
9482
10173
|
},
|
|
9483
10174
|
{
|
|
9484
|
-
name: '
|
|
9485
|
-
kind: '
|
|
9486
|
-
plural: true,
|
|
9487
|
-
required: false,
|
|
9488
|
-
fragment: select$r()
|
|
10175
|
+
name: 'id',
|
|
10176
|
+
kind: 'Scalar'
|
|
9489
10177
|
},
|
|
9490
10178
|
{
|
|
9491
|
-
name: '
|
|
9492
|
-
kind: '
|
|
9493
|
-
|
|
9494
|
-
required: false,
|
|
9495
|
-
fragment: select$p()
|
|
10179
|
+
name: 'isQueryable',
|
|
10180
|
+
kind: 'Scalar',
|
|
10181
|
+
required: false
|
|
9496
10182
|
},
|
|
9497
10183
|
{
|
|
9498
|
-
name: '
|
|
10184
|
+
name: 'label',
|
|
9499
10185
|
kind: 'Scalar',
|
|
9500
10186
|
required: false
|
|
9501
10187
|
},
|
|
9502
10188
|
{
|
|
9503
|
-
name: '
|
|
10189
|
+
name: 'lastModifiedBy',
|
|
9504
10190
|
kind: 'Scalar',
|
|
9505
10191
|
required: false
|
|
9506
10192
|
},
|
|
9507
10193
|
{
|
|
9508
|
-
name: '
|
|
10194
|
+
name: 'lastModifiedDate',
|
|
9509
10195
|
kind: 'Scalar',
|
|
9510
10196
|
required: false
|
|
9511
10197
|
}
|
|
@@ -9513,32 +10199,6 @@ const select$o = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
9513
10199
|
};
|
|
9514
10200
|
};
|
|
9515
10201
|
function equals$9(existing, incoming) {
|
|
9516
|
-
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
9517
|
-
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
9518
|
-
// if at least one of these optionals is defined
|
|
9519
|
-
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
9520
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9521
|
-
// not equal
|
|
9522
|
-
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
9523
|
-
return false;
|
|
9524
|
-
}
|
|
9525
|
-
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
9526
|
-
return false;
|
|
9527
|
-
}
|
|
9528
|
-
}
|
|
9529
|
-
const existing_unmapped = existing.unmapped;
|
|
9530
|
-
const incoming_unmapped = incoming.unmapped;
|
|
9531
|
-
// if at least one of these optionals is defined
|
|
9532
|
-
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
9533
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9534
|
-
// not equal
|
|
9535
|
-
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
9536
|
-
return false;
|
|
9537
|
-
}
|
|
9538
|
-
if (!(existing_unmapped === incoming_unmapped)) {
|
|
9539
|
-
return false;
|
|
9540
|
-
}
|
|
9541
|
-
}
|
|
9542
10202
|
const existing_apiName = existing.apiName;
|
|
9543
10203
|
const incoming_apiName = incoming.apiName;
|
|
9544
10204
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -9580,29 +10240,42 @@ function equals$9(existing, incoming) {
|
|
|
9580
10240
|
if (!(existing_createdDate === incoming_createdDate)) {
|
|
9581
10241
|
return false;
|
|
9582
10242
|
}
|
|
9583
|
-
const
|
|
9584
|
-
const
|
|
10243
|
+
const existing_description = existing.description;
|
|
10244
|
+
const incoming_description = incoming.description;
|
|
9585
10245
|
// if at least one of these optionals is defined
|
|
9586
|
-
if (
|
|
10246
|
+
if (existing_description !== undefined || incoming_description !== undefined) {
|
|
9587
10247
|
// if one of these is not defined we know the other is defined and therefore
|
|
9588
10248
|
// not equal
|
|
9589
|
-
if (
|
|
10249
|
+
if (existing_description === undefined || incoming_description === undefined) {
|
|
9590
10250
|
return false;
|
|
9591
10251
|
}
|
|
9592
|
-
if (!(
|
|
10252
|
+
if (!(existing_description === incoming_description)) {
|
|
9593
10253
|
return false;
|
|
9594
10254
|
}
|
|
9595
10255
|
}
|
|
9596
|
-
const
|
|
9597
|
-
const
|
|
10256
|
+
const existing_externalConnectionApiName = existing.externalConnectionApiName;
|
|
10257
|
+
const incoming_externalConnectionApiName = incoming.externalConnectionApiName;
|
|
9598
10258
|
// if at least one of these optionals is defined
|
|
9599
|
-
if (
|
|
10259
|
+
if (existing_externalConnectionApiName !== undefined || incoming_externalConnectionApiName !== undefined) {
|
|
9600
10260
|
// if one of these is not defined we know the other is defined and therefore
|
|
9601
10261
|
// not equal
|
|
9602
|
-
if (
|
|
10262
|
+
if (existing_externalConnectionApiName === undefined || incoming_externalConnectionApiName === undefined) {
|
|
9603
10263
|
return false;
|
|
9604
10264
|
}
|
|
9605
|
-
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)) {
|
|
9606
10279
|
return false;
|
|
9607
10280
|
}
|
|
9608
10281
|
}
|
|
@@ -9676,45 +10349,6 @@ function equals$9(existing, incoming) {
|
|
|
9676
10349
|
return false;
|
|
9677
10350
|
}
|
|
9678
10351
|
}
|
|
9679
|
-
const existing_primaryNameField = existing.primaryNameField;
|
|
9680
|
-
const incoming_primaryNameField = incoming.primaryNameField;
|
|
9681
|
-
// if at least one of these optionals is defined
|
|
9682
|
-
if (existing_primaryNameField !== undefined || incoming_primaryNameField !== undefined) {
|
|
9683
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9684
|
-
// not equal
|
|
9685
|
-
if (existing_primaryNameField === undefined || incoming_primaryNameField === undefined) {
|
|
9686
|
-
return false;
|
|
9687
|
-
}
|
|
9688
|
-
if (!(existing_primaryNameField === incoming_primaryNameField)) {
|
|
9689
|
-
return false;
|
|
9690
|
-
}
|
|
9691
|
-
}
|
|
9692
|
-
const existing_semanticViewTypeEnum = existing.semanticViewTypeEnum;
|
|
9693
|
-
const incoming_semanticViewTypeEnum = incoming.semanticViewTypeEnum;
|
|
9694
|
-
// if at least one of these optionals is defined
|
|
9695
|
-
if (existing_semanticViewTypeEnum !== undefined || incoming_semanticViewTypeEnum !== undefined) {
|
|
9696
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9697
|
-
// not equal
|
|
9698
|
-
if (existing_semanticViewTypeEnum === undefined || incoming_semanticViewTypeEnum === undefined) {
|
|
9699
|
-
return false;
|
|
9700
|
-
}
|
|
9701
|
-
if (!(existing_semanticViewTypeEnum === incoming_semanticViewTypeEnum)) {
|
|
9702
|
-
return false;
|
|
9703
|
-
}
|
|
9704
|
-
}
|
|
9705
|
-
const existing_tableType = existing.tableType;
|
|
9706
|
-
const incoming_tableType = incoming.tableType;
|
|
9707
|
-
// if at least one of these optionals is defined
|
|
9708
|
-
if (existing_tableType !== undefined || incoming_tableType !== undefined) {
|
|
9709
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9710
|
-
// not equal
|
|
9711
|
-
if (existing_tableType === undefined || incoming_tableType === undefined) {
|
|
9712
|
-
return false;
|
|
9713
|
-
}
|
|
9714
|
-
if (!(existing_tableType === incoming_tableType)) {
|
|
9715
|
-
return false;
|
|
9716
|
-
}
|
|
9717
|
-
}
|
|
9718
10352
|
const existing_filters = existing.filters;
|
|
9719
10353
|
const incoming_filters = incoming.filters;
|
|
9720
10354
|
// if at least one of these optionals is defined
|
|
@@ -9725,7 +10359,7 @@ function equals$9(existing, incoming) {
|
|
|
9725
10359
|
return false;
|
|
9726
10360
|
}
|
|
9727
10361
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
9728
|
-
if (!(equals$
|
|
10362
|
+
if (!(equals$z(existing_filters_item, incoming_filters_item))) {
|
|
9729
10363
|
return false;
|
|
9730
10364
|
}
|
|
9731
10365
|
});
|
|
@@ -9733,63 +10367,9 @@ function equals$9(existing, incoming) {
|
|
|
9733
10367
|
return false;
|
|
9734
10368
|
}
|
|
9735
10369
|
}
|
|
9736
|
-
const existing_semanticDataObjects = existing.semanticDataObjects;
|
|
9737
|
-
const incoming_semanticDataObjects = incoming.semanticDataObjects;
|
|
9738
|
-
// if at least one of these optionals is defined
|
|
9739
|
-
if (existing_semanticDataObjects !== undefined || incoming_semanticDataObjects !== undefined) {
|
|
9740
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9741
|
-
// not equal
|
|
9742
|
-
if (existing_semanticDataObjects === undefined || incoming_semanticDataObjects === undefined) {
|
|
9743
|
-
return false;
|
|
9744
|
-
}
|
|
9745
|
-
const equals_semanticDataObjects_items = equalsArray(existing_semanticDataObjects, incoming_semanticDataObjects, (existing_semanticDataObjects_item, incoming_semanticDataObjects_item) => {
|
|
9746
|
-
if (!(existing_semanticDataObjects_item.__ref === incoming_semanticDataObjects_item.__ref)) {
|
|
9747
|
-
return false;
|
|
9748
|
-
}
|
|
9749
|
-
});
|
|
9750
|
-
if (equals_semanticDataObjects_items === false) {
|
|
9751
|
-
return false;
|
|
9752
|
-
}
|
|
9753
|
-
}
|
|
9754
|
-
const existing_semanticRelationships = existing.semanticRelationships;
|
|
9755
|
-
const incoming_semanticRelationships = incoming.semanticRelationships;
|
|
9756
|
-
// if at least one of these optionals is defined
|
|
9757
|
-
if (existing_semanticRelationships !== undefined || incoming_semanticRelationships !== undefined) {
|
|
9758
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9759
|
-
// not equal
|
|
9760
|
-
if (existing_semanticRelationships === undefined || incoming_semanticRelationships === undefined) {
|
|
9761
|
-
return false;
|
|
9762
|
-
}
|
|
9763
|
-
const equals_semanticRelationships_items = equalsArray(existing_semanticRelationships, incoming_semanticRelationships, (existing_semanticRelationships_item, incoming_semanticRelationships_item) => {
|
|
9764
|
-
if (!(existing_semanticRelationships_item.__ref === incoming_semanticRelationships_item.__ref)) {
|
|
9765
|
-
return false;
|
|
9766
|
-
}
|
|
9767
|
-
});
|
|
9768
|
-
if (equals_semanticRelationships_items === false) {
|
|
9769
|
-
return false;
|
|
9770
|
-
}
|
|
9771
|
-
}
|
|
9772
|
-
const existing_semanticUnions = existing.semanticUnions;
|
|
9773
|
-
const incoming_semanticUnions = incoming.semanticUnions;
|
|
9774
|
-
// if at least one of these optionals is defined
|
|
9775
|
-
if (existing_semanticUnions !== undefined || incoming_semanticUnions !== undefined) {
|
|
9776
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
9777
|
-
// not equal
|
|
9778
|
-
if (existing_semanticUnions === undefined || incoming_semanticUnions === undefined) {
|
|
9779
|
-
return false;
|
|
9780
|
-
}
|
|
9781
|
-
const equals_semanticUnions_items = equalsArray(existing_semanticUnions, incoming_semanticUnions, (existing_semanticUnions_item, incoming_semanticUnions_item) => {
|
|
9782
|
-
if (!(existing_semanticUnions_item.__ref === incoming_semanticUnions_item.__ref)) {
|
|
9783
|
-
return false;
|
|
9784
|
-
}
|
|
9785
|
-
});
|
|
9786
|
-
if (equals_semanticUnions_items === false) {
|
|
9787
|
-
return false;
|
|
9788
|
-
}
|
|
9789
|
-
}
|
|
9790
10370
|
return true;
|
|
9791
10371
|
}
|
|
9792
|
-
const ingest$8 = function
|
|
10372
|
+
const ingest$8 = function SemanticModelFilterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9793
10373
|
if (process.env.NODE_ENV !== 'production') {
|
|
9794
10374
|
const validateError = validate$i(input);
|
|
9795
10375
|
if (validateError !== null) {
|
|
@@ -9809,24 +10389,6 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9809
10389
|
representationName: RepresentationType$8,
|
|
9810
10390
|
mergeable: false
|
|
9811
10391
|
});
|
|
9812
|
-
if (input.semanticDataObjects !== undefined) {
|
|
9813
|
-
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
9814
|
-
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
9815
|
-
getTypeCacheKeys$d(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
9816
|
-
}
|
|
9817
|
-
}
|
|
9818
|
-
if (input.semanticRelationships !== undefined) {
|
|
9819
|
-
const input_semanticRelationships_length = input.semanticRelationships.length;
|
|
9820
|
-
for (let i = 0; i < input_semanticRelationships_length; i++) {
|
|
9821
|
-
getTypeCacheKeys$b(rootKeySet, luvio, input.semanticRelationships[i]);
|
|
9822
|
-
}
|
|
9823
|
-
}
|
|
9824
|
-
if (input.semanticUnions !== undefined) {
|
|
9825
|
-
const input_semanticUnions_length = input.semanticUnions.length;
|
|
9826
|
-
for (let i = 0; i < input_semanticUnions_length; i++) {
|
|
9827
|
-
getTypeCacheKeys$9(rootKeySet, luvio, input.semanticUnions[i]);
|
|
9828
|
-
}
|
|
9829
|
-
}
|
|
9830
10392
|
}
|
|
9831
10393
|
|
|
9832
10394
|
const VERSION$8 = "158d115be773406f841e4351d481d398";
|
|
@@ -9901,7 +10463,7 @@ function equals$8(existing, incoming) {
|
|
|
9901
10463
|
return true;
|
|
9902
10464
|
}
|
|
9903
10465
|
|
|
9904
|
-
const VERSION$7 = "
|
|
10466
|
+
const VERSION$7 = "9c342600b8e3532a417118e4e7055032";
|
|
9905
10467
|
function validate$g(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
9906
10468
|
const v_error = (() => {
|
|
9907
10469
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9974,6 +10536,13 @@ function validate$g(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
9974
10536
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
9975
10537
|
}
|
|
9976
10538
|
}
|
|
10539
|
+
if (obj.externalDataType !== undefined) {
|
|
10540
|
+
const obj_externalDataType = obj.externalDataType;
|
|
10541
|
+
const path_externalDataType = path + '.externalDataType';
|
|
10542
|
+
if (typeof obj_externalDataType !== 'string') {
|
|
10543
|
+
return new TypeError('Expected "string" but received "' + typeof obj_externalDataType + '" (at "' + path_externalDataType + '")');
|
|
10544
|
+
}
|
|
10545
|
+
}
|
|
9977
10546
|
const obj_id = obj.id;
|
|
9978
10547
|
const path_id = path + '.id';
|
|
9979
10548
|
if (typeof obj_id !== 'string') {
|
|
@@ -10130,6 +10699,11 @@ const select$m = function SemanticParameterOutputRepresentationSelect() {
|
|
|
10130
10699
|
kind: 'Scalar',
|
|
10131
10700
|
required: false
|
|
10132
10701
|
},
|
|
10702
|
+
{
|
|
10703
|
+
name: 'externalDataType',
|
|
10704
|
+
kind: 'Scalar',
|
|
10705
|
+
required: false
|
|
10706
|
+
},
|
|
10133
10707
|
{
|
|
10134
10708
|
name: 'id',
|
|
10135
10709
|
kind: 'Scalar'
|
|
@@ -10300,6 +10874,19 @@ function equals$7(existing, incoming) {
|
|
|
10300
10874
|
return false;
|
|
10301
10875
|
}
|
|
10302
10876
|
}
|
|
10877
|
+
const existing_externalDataType = existing.externalDataType;
|
|
10878
|
+
const incoming_externalDataType = incoming.externalDataType;
|
|
10879
|
+
// if at least one of these optionals is defined
|
|
10880
|
+
if (existing_externalDataType !== undefined || incoming_externalDataType !== undefined) {
|
|
10881
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10882
|
+
// not equal
|
|
10883
|
+
if (existing_externalDataType === undefined || incoming_externalDataType === undefined) {
|
|
10884
|
+
return false;
|
|
10885
|
+
}
|
|
10886
|
+
if (!(existing_externalDataType === incoming_externalDataType)) {
|
|
10887
|
+
return false;
|
|
10888
|
+
}
|
|
10889
|
+
}
|
|
10303
10890
|
const existing_id = existing.id;
|
|
10304
10891
|
const incoming_id = incoming.id;
|
|
10305
10892
|
if (!(existing_id === incoming_id)) {
|
|
@@ -10469,7 +11056,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10469
11056
|
});
|
|
10470
11057
|
}
|
|
10471
11058
|
|
|
10472
|
-
const VERSION$6 = "
|
|
11059
|
+
const VERSION$6 = "31c80b845050553f41832720b27399ad";
|
|
10473
11060
|
function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
10474
11061
|
const v_error = (() => {
|
|
10475
11062
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -10503,7 +11090,7 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
10503
11090
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
10504
11091
|
const obj_baseModels_item = obj_baseModels[i];
|
|
10505
11092
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
10506
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
11093
|
+
const referencepath_baseModels_itemValidationError = validate$14(obj_baseModels_item, path_baseModels_item);
|
|
10507
11094
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
10508
11095
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
10509
11096
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10563,7 +11150,7 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
10563
11150
|
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
10564
11151
|
const obj_externalConnections_item = obj_externalConnections[i];
|
|
10565
11152
|
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
10566
|
-
const referencepath_externalConnections_itemValidationError = validate$
|
|
11153
|
+
const referencepath_externalConnections_itemValidationError = validate$z(obj_externalConnections_item, path_externalConnections_item);
|
|
10567
11154
|
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
10568
11155
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
10569
11156
|
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10580,7 +11167,7 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
10580
11167
|
for (let i = 0; i < obj_fieldsOverrides.length; i++) {
|
|
10581
11168
|
const obj_fieldsOverrides_item = obj_fieldsOverrides[i];
|
|
10582
11169
|
const path_fieldsOverrides_item = path_fieldsOverrides + '[' + i + ']';
|
|
10583
|
-
const referencepath_fieldsOverrides_itemValidationError = validate$
|
|
11170
|
+
const referencepath_fieldsOverrides_itemValidationError = validate$y(obj_fieldsOverrides_item, path_fieldsOverrides_item);
|
|
10584
11171
|
if (referencepath_fieldsOverrides_itemValidationError !== null) {
|
|
10585
11172
|
let message = 'Object doesn\'t match SemanticOverrideOutputRepresentation (at "' + path_fieldsOverrides_item + '")\n';
|
|
10586
11173
|
message += referencepath_fieldsOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10775,6 +11362,20 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
10775
11362
|
}
|
|
10776
11363
|
}
|
|
10777
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
|
+
}
|
|
10778
11379
|
if (obj.semanticParameters !== undefined) {
|
|
10779
11380
|
const obj_semanticParameters = obj.semanticParameters;
|
|
10780
11381
|
const path_semanticParameters = path + '.semanticParameters';
|
|
@@ -10851,7 +11452,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
10851
11452
|
for (let i = 0; i < input_semanticCalculatedDimensions.length; i++) {
|
|
10852
11453
|
const input_semanticCalculatedDimensions_item = input_semanticCalculatedDimensions[i];
|
|
10853
11454
|
let input_semanticCalculatedDimensions_item_id = input_semanticCalculatedDimensions_id + '__' + i;
|
|
10854
|
-
input_semanticCalculatedDimensions[i] = ingest$
|
|
11455
|
+
input_semanticCalculatedDimensions[i] = ingest$g(input_semanticCalculatedDimensions_item, {
|
|
10855
11456
|
fullPath: input_semanticCalculatedDimensions_item_id,
|
|
10856
11457
|
propertyName: i,
|
|
10857
11458
|
parent: {
|
|
@@ -10869,7 +11470,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
10869
11470
|
for (let i = 0; i < input_semanticCalculatedMeasurements.length; i++) {
|
|
10870
11471
|
const input_semanticCalculatedMeasurements_item = input_semanticCalculatedMeasurements[i];
|
|
10871
11472
|
let input_semanticCalculatedMeasurements_item_id = input_semanticCalculatedMeasurements_id + '__' + i;
|
|
10872
|
-
input_semanticCalculatedMeasurements[i] = ingest$
|
|
11473
|
+
input_semanticCalculatedMeasurements[i] = ingest$f(input_semanticCalculatedMeasurements_item, {
|
|
10873
11474
|
fullPath: input_semanticCalculatedMeasurements_item_id,
|
|
10874
11475
|
propertyName: i,
|
|
10875
11476
|
parent: {
|
|
@@ -10887,7 +11488,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
10887
11488
|
for (let i = 0; i < input_semanticDataObjects.length; i++) {
|
|
10888
11489
|
const input_semanticDataObjects_item = input_semanticDataObjects[i];
|
|
10889
11490
|
let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
|
|
10890
|
-
input_semanticDataObjects[i] = ingest$
|
|
11491
|
+
input_semanticDataObjects[i] = ingest$e(input_semanticDataObjects_item, {
|
|
10891
11492
|
fullPath: input_semanticDataObjects_item_id,
|
|
10892
11493
|
propertyName: i,
|
|
10893
11494
|
parent: {
|
|
@@ -10905,7 +11506,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
10905
11506
|
for (let i = 0; i < input_semanticGroupings.length; i++) {
|
|
10906
11507
|
const input_semanticGroupings_item = input_semanticGroupings[i];
|
|
10907
11508
|
let input_semanticGroupings_item_id = input_semanticGroupings_id + '__' + i;
|
|
10908
|
-
input_semanticGroupings[i] = ingest$
|
|
11509
|
+
input_semanticGroupings[i] = ingest$d(input_semanticGroupings_item, {
|
|
10909
11510
|
fullPath: input_semanticGroupings_item_id,
|
|
10910
11511
|
propertyName: i,
|
|
10911
11512
|
parent: {
|
|
@@ -10923,7 +11524,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
10923
11524
|
for (let i = 0; i < input_semanticLogicalViews.length; i++) {
|
|
10924
11525
|
const input_semanticLogicalViews_item = input_semanticLogicalViews[i];
|
|
10925
11526
|
let input_semanticLogicalViews_item_id = input_semanticLogicalViews_id + '__' + i;
|
|
10926
|
-
input_semanticLogicalViews[i] = ingest$
|
|
11527
|
+
input_semanticLogicalViews[i] = ingest$9(input_semanticLogicalViews_item, {
|
|
10927
11528
|
fullPath: input_semanticLogicalViews_item_id,
|
|
10928
11529
|
propertyName: i,
|
|
10929
11530
|
parent: {
|
|
@@ -10941,7 +11542,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
10941
11542
|
for (let i = 0; i < input_semanticMetrics.length; i++) {
|
|
10942
11543
|
const input_semanticMetrics_item = input_semanticMetrics[i];
|
|
10943
11544
|
let input_semanticMetrics_item_id = input_semanticMetrics_id + '__' + i;
|
|
10944
|
-
input_semanticMetrics[i] = ingest$
|
|
11545
|
+
input_semanticMetrics[i] = ingest$j(input_semanticMetrics_item, {
|
|
10945
11546
|
fullPath: input_semanticMetrics_item_id,
|
|
10946
11547
|
propertyName: i,
|
|
10947
11548
|
parent: {
|
|
@@ -10953,6 +11554,24 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
10953
11554
|
}, luvio, store, timestamp);
|
|
10954
11555
|
}
|
|
10955
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
|
+
}
|
|
10956
11575
|
const input_semanticParameters = input.semanticParameters;
|
|
10957
11576
|
const input_semanticParameters_id = path.fullPath + '__semanticParameters';
|
|
10958
11577
|
if (input_semanticParameters !== undefined) {
|
|
@@ -10977,7 +11596,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
10977
11596
|
for (let i = 0; i < input_semanticRelationships.length; i++) {
|
|
10978
11597
|
const input_semanticRelationships_item = input_semanticRelationships[i];
|
|
10979
11598
|
let input_semanticRelationships_item_id = input_semanticRelationships_id + '__' + i;
|
|
10980
|
-
input_semanticRelationships[i] = ingest$
|
|
11599
|
+
input_semanticRelationships[i] = ingest$c(input_semanticRelationships_item, {
|
|
10981
11600
|
fullPath: input_semanticRelationships_item_id,
|
|
10982
11601
|
propertyName: i,
|
|
10983
11602
|
parent: {
|
|
@@ -10992,9 +11611,9 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
10992
11611
|
return input;
|
|
10993
11612
|
}
|
|
10994
11613
|
const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
10995
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
10996
|
-
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$
|
|
10997
|
-
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();
|
|
10998
11617
|
return {
|
|
10999
11618
|
kind: 'Fragment',
|
|
11000
11619
|
version: VERSION$6,
|
|
@@ -11107,7 +11726,7 @@ const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
|
11107
11726
|
kind: 'Link',
|
|
11108
11727
|
plural: true,
|
|
11109
11728
|
required: false,
|
|
11110
|
-
fragment: select$
|
|
11729
|
+
fragment: select$B()
|
|
11111
11730
|
},
|
|
11112
11731
|
{
|
|
11113
11732
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -11119,7 +11738,7 @@ const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
|
11119
11738
|
kind: 'Link',
|
|
11120
11739
|
plural: true,
|
|
11121
11740
|
required: false,
|
|
11122
|
-
fragment: select$
|
|
11741
|
+
fragment: select$A()
|
|
11123
11742
|
},
|
|
11124
11743
|
{
|
|
11125
11744
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -11131,7 +11750,7 @@ const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
|
11131
11750
|
kind: 'Link',
|
|
11132
11751
|
plural: true,
|
|
11133
11752
|
required: false,
|
|
11134
|
-
fragment: select$
|
|
11753
|
+
fragment: select$z()
|
|
11135
11754
|
},
|
|
11136
11755
|
{
|
|
11137
11756
|
name: 'semanticDataObjectsUrl',
|
|
@@ -11143,7 +11762,7 @@ const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
|
11143
11762
|
kind: 'Link',
|
|
11144
11763
|
plural: true,
|
|
11145
11764
|
required: false,
|
|
11146
|
-
fragment: select$
|
|
11765
|
+
fragment: select$u()
|
|
11147
11766
|
},
|
|
11148
11767
|
{
|
|
11149
11768
|
name: 'semanticGroupingsUrl',
|
|
@@ -11155,14 +11774,21 @@ const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
|
11155
11774
|
kind: 'Link',
|
|
11156
11775
|
plural: true,
|
|
11157
11776
|
required: false,
|
|
11158
|
-
fragment: select$
|
|
11777
|
+
fragment: select$p()
|
|
11159
11778
|
},
|
|
11160
11779
|
{
|
|
11161
11780
|
name: 'semanticMetrics',
|
|
11162
11781
|
kind: 'Link',
|
|
11163
11782
|
plural: true,
|
|
11164
11783
|
required: false,
|
|
11165
|
-
fragment: select$
|
|
11784
|
+
fragment: select$L()
|
|
11785
|
+
},
|
|
11786
|
+
{
|
|
11787
|
+
name: 'semanticModelFilters',
|
|
11788
|
+
kind: 'Link',
|
|
11789
|
+
plural: true,
|
|
11790
|
+
required: false,
|
|
11791
|
+
fragment: select$o()
|
|
11166
11792
|
},
|
|
11167
11793
|
{
|
|
11168
11794
|
name: 'semanticParameters',
|
|
@@ -11181,7 +11807,7 @@ const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
|
11181
11807
|
kind: 'Link',
|
|
11182
11808
|
plural: true,
|
|
11183
11809
|
required: false,
|
|
11184
|
-
fragment: select$
|
|
11810
|
+
fragment: select$s()
|
|
11185
11811
|
},
|
|
11186
11812
|
{
|
|
11187
11813
|
name: 'semanticRelationshipsUrl',
|
|
@@ -11471,7 +12097,7 @@ function equals$6(existing, incoming) {
|
|
|
11471
12097
|
return false;
|
|
11472
12098
|
}
|
|
11473
12099
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
11474
|
-
if (!(equals$
|
|
12100
|
+
if (!(equals$s(existing_baseModels_item, incoming_baseModels_item))) {
|
|
11475
12101
|
return false;
|
|
11476
12102
|
}
|
|
11477
12103
|
});
|
|
@@ -11507,7 +12133,7 @@ function equals$6(existing, incoming) {
|
|
|
11507
12133
|
return false;
|
|
11508
12134
|
}
|
|
11509
12135
|
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
11510
|
-
if (!(equals$
|
|
12136
|
+
if (!(equals$o(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
11511
12137
|
return false;
|
|
11512
12138
|
}
|
|
11513
12139
|
});
|
|
@@ -11525,7 +12151,7 @@ function equals$6(existing, incoming) {
|
|
|
11525
12151
|
return false;
|
|
11526
12152
|
}
|
|
11527
12153
|
const equals_fieldsOverrides_items = equalsArray(existing_fieldsOverrides, incoming_fieldsOverrides, (existing_fieldsOverrides_item, incoming_fieldsOverrides_item) => {
|
|
11528
|
-
if (!(equals$
|
|
12154
|
+
if (!(equals$n(existing_fieldsOverrides_item, incoming_fieldsOverrides_item))) {
|
|
11529
12155
|
return false;
|
|
11530
12156
|
}
|
|
11531
12157
|
});
|
|
@@ -11654,6 +12280,24 @@ function equals$6(existing, incoming) {
|
|
|
11654
12280
|
return false;
|
|
11655
12281
|
}
|
|
11656
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
|
+
}
|
|
11657
12301
|
const existing_semanticParameters = existing.semanticParameters;
|
|
11658
12302
|
const incoming_semanticParameters = incoming.semanticParameters;
|
|
11659
12303
|
// if at least one of these optionals is defined
|
|
@@ -11715,37 +12359,43 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
11715
12359
|
if (input.semanticCalculatedDimensions !== undefined) {
|
|
11716
12360
|
const input_semanticCalculatedDimensions_length = input.semanticCalculatedDimensions.length;
|
|
11717
12361
|
for (let i = 0; i < input_semanticCalculatedDimensions_length; i++) {
|
|
11718
|
-
getTypeCacheKeys$
|
|
12362
|
+
getTypeCacheKeys$g(rootKeySet, luvio, input.semanticCalculatedDimensions[i]);
|
|
11719
12363
|
}
|
|
11720
12364
|
}
|
|
11721
12365
|
if (input.semanticCalculatedMeasurements !== undefined) {
|
|
11722
12366
|
const input_semanticCalculatedMeasurements_length = input.semanticCalculatedMeasurements.length;
|
|
11723
12367
|
for (let i = 0; i < input_semanticCalculatedMeasurements_length; i++) {
|
|
11724
|
-
getTypeCacheKeys$
|
|
12368
|
+
getTypeCacheKeys$f(rootKeySet, luvio, input.semanticCalculatedMeasurements[i]);
|
|
11725
12369
|
}
|
|
11726
12370
|
}
|
|
11727
12371
|
if (input.semanticDataObjects !== undefined) {
|
|
11728
12372
|
const input_semanticDataObjects_length = input.semanticDataObjects.length;
|
|
11729
12373
|
for (let i = 0; i < input_semanticDataObjects_length; i++) {
|
|
11730
|
-
getTypeCacheKeys$
|
|
12374
|
+
getTypeCacheKeys$e(rootKeySet, luvio, input.semanticDataObjects[i]);
|
|
11731
12375
|
}
|
|
11732
12376
|
}
|
|
11733
12377
|
if (input.semanticGroupings !== undefined) {
|
|
11734
12378
|
const input_semanticGroupings_length = input.semanticGroupings.length;
|
|
11735
12379
|
for (let i = 0; i < input_semanticGroupings_length; i++) {
|
|
11736
|
-
getTypeCacheKeys$
|
|
12380
|
+
getTypeCacheKeys$d(rootKeySet, luvio, input.semanticGroupings[i]);
|
|
11737
12381
|
}
|
|
11738
12382
|
}
|
|
11739
12383
|
if (input.semanticLogicalViews !== undefined) {
|
|
11740
12384
|
const input_semanticLogicalViews_length = input.semanticLogicalViews.length;
|
|
11741
12385
|
for (let i = 0; i < input_semanticLogicalViews_length; i++) {
|
|
11742
|
-
getTypeCacheKeys$
|
|
12386
|
+
getTypeCacheKeys$9(rootKeySet, luvio, input.semanticLogicalViews[i]);
|
|
11743
12387
|
}
|
|
11744
12388
|
}
|
|
11745
12389
|
if (input.semanticMetrics !== undefined) {
|
|
11746
12390
|
const input_semanticMetrics_length = input.semanticMetrics.length;
|
|
11747
12391
|
for (let i = 0; i < input_semanticMetrics_length; i++) {
|
|
11748
|
-
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]);
|
|
11749
12399
|
}
|
|
11750
12400
|
}
|
|
11751
12401
|
if (input.semanticParameters !== undefined) {
|
|
@@ -11757,7 +12407,7 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
11757
12407
|
if (input.semanticRelationships !== undefined) {
|
|
11758
12408
|
const input_semanticRelationships_length = input.semanticRelationships.length;
|
|
11759
12409
|
for (let i = 0; i < input_semanticRelationships_length; i++) {
|
|
11760
|
-
getTypeCacheKeys$
|
|
12410
|
+
getTypeCacheKeys$c(rootKeySet, luvio, input.semanticRelationships[i]);
|
|
11761
12411
|
}
|
|
11762
12412
|
}
|
|
11763
12413
|
}
|
|
@@ -11819,6 +12469,7 @@ const createSemanticModel_ConfigPropertyMetadata = [
|
|
|
11819
12469
|
generateParamConfigMetadata('semanticGroupings', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11820
12470
|
generateParamConfigMetadata('semanticLogicalViews', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11821
12471
|
generateParamConfigMetadata('semanticMetrics', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12472
|
+
generateParamConfigMetadata('semanticModelFilter', false, 2 /* Body */, 4 /* Unsupported */),
|
|
11822
12473
|
generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11823
12474
|
generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11824
12475
|
];
|
|
@@ -11832,7 +12483,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11832
12483
|
const untrustedConfig_baseModels_array = [];
|
|
11833
12484
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
11834
12485
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
11835
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
12486
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$11(untrustedConfig_baseModels_item);
|
|
11836
12487
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
11837
12488
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
11838
12489
|
}
|
|
@@ -11844,7 +12495,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11844
12495
|
const untrustedConfig_externalConnections_array = [];
|
|
11845
12496
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
11846
12497
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
11847
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate
|
|
12498
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$$(untrustedConfig_externalConnections_item);
|
|
11848
12499
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
11849
12500
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
11850
12501
|
}
|
|
@@ -11856,7 +12507,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11856
12507
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
11857
12508
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
11858
12509
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
11859
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
12510
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$_(untrustedConfig_fieldsOverrides_item);
|
|
11860
12511
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
11861
12512
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
11862
12513
|
}
|
|
@@ -11868,7 +12519,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11868
12519
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
11869
12520
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
11870
12521
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
11871
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
12522
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Y(untrustedConfig_semanticCalculatedDimensions_item);
|
|
11872
12523
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
11873
12524
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
11874
12525
|
}
|
|
@@ -11880,7 +12531,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11880
12531
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
11881
12532
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
11882
12533
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
11883
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
12534
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$X(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
11884
12535
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
11885
12536
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
11886
12537
|
}
|
|
@@ -11892,7 +12543,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11892
12543
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
11893
12544
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
11894
12545
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
11895
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
12546
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$U(untrustedConfig_semanticDataObjects_item);
|
|
11896
12547
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
11897
12548
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
11898
12549
|
}
|
|
@@ -11904,7 +12555,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11904
12555
|
const untrustedConfig_semanticGroupings_array = [];
|
|
11905
12556
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
11906
12557
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
11907
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
12558
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$N(untrustedConfig_semanticGroupings_item);
|
|
11908
12559
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
11909
12560
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
11910
12561
|
}
|
|
@@ -11916,7 +12567,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11916
12567
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
11917
12568
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
11918
12569
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
11919
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
12570
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$I(untrustedConfig_semanticLogicalViews_item);
|
|
11920
12571
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
11921
12572
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
11922
12573
|
}
|
|
@@ -11928,19 +12579,24 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11928
12579
|
const untrustedConfig_semanticMetrics_array = [];
|
|
11929
12580
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
11930
12581
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
11931
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
12582
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$D(untrustedConfig_semanticMetrics_item);
|
|
11932
12583
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
11933
12584
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
11934
12585
|
}
|
|
11935
12586
|
}
|
|
11936
12587
|
config.semanticMetrics = untrustedConfig_semanticMetrics_array;
|
|
11937
12588
|
}
|
|
12589
|
+
const untrustedConfig_semanticModelFilter = untrustedConfig.semanticModelFilter;
|
|
12590
|
+
const referenceSemanticModelFilterInputRepresentationValidationError = validate$C(untrustedConfig_semanticModelFilter);
|
|
12591
|
+
if (referenceSemanticModelFilterInputRepresentationValidationError === null) {
|
|
12592
|
+
config.semanticModelFilter = untrustedConfig_semanticModelFilter;
|
|
12593
|
+
}
|
|
11938
12594
|
const untrustedConfig_semanticParameters = untrustedConfig.semanticParameters;
|
|
11939
12595
|
if (ArrayIsArray$1(untrustedConfig_semanticParameters)) {
|
|
11940
12596
|
const untrustedConfig_semanticParameters_array = [];
|
|
11941
12597
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
11942
12598
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
11943
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
12599
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$B(untrustedConfig_semanticParameters_item);
|
|
11944
12600
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
11945
12601
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
11946
12602
|
}
|
|
@@ -11952,7 +12608,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
11952
12608
|
const untrustedConfig_semanticRelationships_array = [];
|
|
11953
12609
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
11954
12610
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
11955
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
12611
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$L(untrustedConfig_semanticRelationships_item);
|
|
11956
12612
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
11957
12613
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
11958
12614
|
}
|
|
@@ -12199,6 +12855,7 @@ const patchSemanticModel_ConfigPropertyMetadata = [
|
|
|
12199
12855
|
generateParamConfigMetadata('semanticGroupings', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12200
12856
|
generateParamConfigMetadata('semanticLogicalViews', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12201
12857
|
generateParamConfigMetadata('semanticMetrics', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12858
|
+
generateParamConfigMetadata('semanticModelFilter', false, 2 /* Body */, 4 /* Unsupported */),
|
|
12202
12859
|
generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12203
12860
|
generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12204
12861
|
];
|
|
@@ -12212,7 +12869,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12212
12869
|
const untrustedConfig_baseModels_array = [];
|
|
12213
12870
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
12214
12871
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
12215
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
12872
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$11(untrustedConfig_baseModels_item);
|
|
12216
12873
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
12217
12874
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
12218
12875
|
}
|
|
@@ -12224,7 +12881,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12224
12881
|
const untrustedConfig_externalConnections_array = [];
|
|
12225
12882
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
12226
12883
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
12227
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate
|
|
12884
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$$(untrustedConfig_externalConnections_item);
|
|
12228
12885
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
12229
12886
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
12230
12887
|
}
|
|
@@ -12236,7 +12893,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12236
12893
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
12237
12894
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
12238
12895
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
12239
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
12896
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$_(untrustedConfig_fieldsOverrides_item);
|
|
12240
12897
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
12241
12898
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
12242
12899
|
}
|
|
@@ -12248,7 +12905,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12248
12905
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
12249
12906
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
12250
12907
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
12251
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
12908
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Y(untrustedConfig_semanticCalculatedDimensions_item);
|
|
12252
12909
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
12253
12910
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
12254
12911
|
}
|
|
@@ -12260,7 +12917,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12260
12917
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
12261
12918
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
12262
12919
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
12263
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
12920
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$X(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12264
12921
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
12265
12922
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12266
12923
|
}
|
|
@@ -12272,7 +12929,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12272
12929
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
12273
12930
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
12274
12931
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
12275
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
12932
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$U(untrustedConfig_semanticDataObjects_item);
|
|
12276
12933
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
12277
12934
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
12278
12935
|
}
|
|
@@ -12284,7 +12941,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12284
12941
|
const untrustedConfig_semanticGroupings_array = [];
|
|
12285
12942
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
12286
12943
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
12287
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
12944
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$N(untrustedConfig_semanticGroupings_item);
|
|
12288
12945
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
12289
12946
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
12290
12947
|
}
|
|
@@ -12296,7 +12953,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12296
12953
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
12297
12954
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
12298
12955
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
12299
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
12956
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$I(untrustedConfig_semanticLogicalViews_item);
|
|
12300
12957
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
12301
12958
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
12302
12959
|
}
|
|
@@ -12308,19 +12965,24 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12308
12965
|
const untrustedConfig_semanticMetrics_array = [];
|
|
12309
12966
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
12310
12967
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
12311
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
12968
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$D(untrustedConfig_semanticMetrics_item);
|
|
12312
12969
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
12313
12970
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
12314
12971
|
}
|
|
12315
12972
|
}
|
|
12316
12973
|
config.semanticMetrics = untrustedConfig_semanticMetrics_array;
|
|
12317
12974
|
}
|
|
12975
|
+
const untrustedConfig_semanticModelFilter = untrustedConfig.semanticModelFilter;
|
|
12976
|
+
const referenceSemanticModelFilterInputRepresentationValidationError = validate$C(untrustedConfig_semanticModelFilter);
|
|
12977
|
+
if (referenceSemanticModelFilterInputRepresentationValidationError === null) {
|
|
12978
|
+
config.semanticModelFilter = untrustedConfig_semanticModelFilter;
|
|
12979
|
+
}
|
|
12318
12980
|
const untrustedConfig_semanticParameters = untrustedConfig.semanticParameters;
|
|
12319
12981
|
if (ArrayIsArray$1(untrustedConfig_semanticParameters)) {
|
|
12320
12982
|
const untrustedConfig_semanticParameters_array = [];
|
|
12321
12983
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
12322
12984
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
12323
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
12985
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$B(untrustedConfig_semanticParameters_item);
|
|
12324
12986
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
12325
12987
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
12326
12988
|
}
|
|
@@ -12332,7 +12994,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
12332
12994
|
const untrustedConfig_semanticRelationships_array = [];
|
|
12333
12995
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
12334
12996
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
12335
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
12997
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$L(untrustedConfig_semanticRelationships_item);
|
|
12336
12998
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
12337
12999
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
12338
13000
|
}
|
|
@@ -13498,7 +14160,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
13498
14160
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
13499
14161
|
const obj_filters_item = obj_filters[i];
|
|
13500
14162
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
13501
|
-
const referencepath_filters_itemValidationError = validate$
|
|
14163
|
+
const referencepath_filters_itemValidationError = validate$1b(obj_filters_item, path_filters_item);
|
|
13502
14164
|
if (referencepath_filters_itemValidationError !== null) {
|
|
13503
14165
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
13504
14166
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13559,7 +14221,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
13559
14221
|
if (obj.semanticMetric !== undefined) {
|
|
13560
14222
|
const obj_semanticMetric = obj.semanticMetric;
|
|
13561
14223
|
const path_semanticMetric = path + '.semanticMetric';
|
|
13562
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
14224
|
+
const referencepath_semanticMetricValidationError = validate$16(obj_semanticMetric, path_semanticMetric);
|
|
13563
14225
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
13564
14226
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
13565
14227
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14007,18 +14669,18 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
14007
14669
|
};
|
|
14008
14670
|
|
|
14009
14671
|
function select$7(luvio, params) {
|
|
14010
|
-
return select$
|
|
14672
|
+
return select$K();
|
|
14011
14673
|
}
|
|
14012
14674
|
function keyBuilder$b(luvio, params) {
|
|
14013
14675
|
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
|
|
14014
14676
|
}
|
|
14015
14677
|
function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
|
|
14016
|
-
getTypeCacheKeys$
|
|
14678
|
+
getTypeCacheKeys$i(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
|
|
14017
14679
|
}
|
|
14018
14680
|
function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
|
|
14019
14681
|
const { body } = response;
|
|
14020
14682
|
const key = keyBuilder$b(luvio, resourceParams);
|
|
14021
|
-
luvio.storeIngest(key, ingest$
|
|
14683
|
+
luvio.storeIngest(key, ingest$i, body);
|
|
14022
14684
|
const snapshot = luvio.storeLookup({
|
|
14023
14685
|
recordId: key,
|
|
14024
14686
|
node: select$7(),
|
|
@@ -14139,20 +14801,20 @@ const getSemanticMetricsAdapterFactory = (luvio) => function SemanticAuthoring__
|
|
|
14139
14801
|
};
|
|
14140
14802
|
|
|
14141
14803
|
function select$6(luvio, params) {
|
|
14142
|
-
return select$
|
|
14804
|
+
return select$L();
|
|
14143
14805
|
}
|
|
14144
14806
|
function keyBuilder$9(luvio, params) {
|
|
14145
|
-
return keyBuilder$
|
|
14807
|
+
return keyBuilder$C(luvio, {
|
|
14146
14808
|
name: params.urlParams.metricNameOrId
|
|
14147
14809
|
});
|
|
14148
14810
|
}
|
|
14149
14811
|
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
14150
|
-
getTypeCacheKeys$
|
|
14812
|
+
getTypeCacheKeys$j(storeKeyMap, luvio, response);
|
|
14151
14813
|
}
|
|
14152
14814
|
function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
14153
14815
|
const { body } = response;
|
|
14154
14816
|
const key = keyBuilder$9(luvio, resourceParams);
|
|
14155
|
-
luvio.storeIngest(key, ingest$
|
|
14817
|
+
luvio.storeIngest(key, ingest$j, body);
|
|
14156
14818
|
const snapshot = luvio.storeLookup({
|
|
14157
14819
|
recordId: key,
|
|
14158
14820
|
node: select$6(),
|
|
@@ -14637,7 +15299,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
14637
15299
|
const untrustedConfig_filters_array = [];
|
|
14638
15300
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
14639
15301
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
14640
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
15302
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$Z(untrustedConfig_filters_item);
|
|
14641
15303
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
14642
15304
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
14643
15305
|
}
|