@salesforce/lds-adapters-cdp-semantic-authoring 1.354.0-dev3 → 1.354.0-dev5
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 +860 -608
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDataObjectOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDependencyCollectionOutputRepresentation.d.ts +5 -4
- package/dist/es/es2018/types/src/generated/types/SemanticDependencyInnerCollectionOutputRepresentation.d.ts +12 -3
- package/dist/es/es2018/types/src/generated/types/SemanticDependencyOutputRepresentation.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticFilterInputRepresentation.d.ts +5 -2
- package/dist/es/es2018/types/src/generated/types/SemanticFilterOutputRepresentation.d.ts +5 -2
- package/dist/es/es2018/types/src/generated/types/SemanticGroupingOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMappedFieldOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMetricOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticParameterOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticRelationshipOutputRepresentation.d.ts +7 -1
- package/package.json +3 -3
- package/sfdc/index.js +866 -613
- package/src/raml/api.raml +126 -2
- package/src/raml/luvio.raml +6 -0
|
@@ -92,8 +92,8 @@ function createLink(ref) {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
const VERSION$
|
|
96
|
-
function validate$
|
|
95
|
+
const VERSION$z = "a2976cd68e629a917463a3b690cf2527";
|
|
96
|
+
function validate$19(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$1a(obj, path = 'SemanticTableFieldReferenceOutputRepresentatio
|
|
|
115
115
|
})();
|
|
116
116
|
return v_error === undefined ? null : v_error;
|
|
117
117
|
}
|
|
118
|
-
const select$
|
|
118
|
+
const select$Q = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
119
119
|
return {
|
|
120
120
|
kind: 'Fragment',
|
|
121
|
-
version: VERSION$
|
|
121
|
+
version: VERSION$z,
|
|
122
122
|
private: [],
|
|
123
123
|
selections: [
|
|
124
124
|
{
|
|
@@ -134,7 +134,7 @@ const select$S = function SemanticTableFieldReferenceOutputRepresentationSelect(
|
|
|
134
134
|
]
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
|
-
function equals$
|
|
137
|
+
function equals$z(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$B(existing, incoming) {
|
|
|
164
164
|
return true;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
const VERSION$
|
|
168
|
-
function validate$
|
|
167
|
+
const VERSION$y = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
168
|
+
function validate$18(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$19(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$19(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$19(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$P = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
194
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$Q();
|
|
195
195
|
return {
|
|
196
196
|
kind: 'Fragment',
|
|
197
|
-
version: VERSION$
|
|
197
|
+
version: VERSION$y,
|
|
198
198
|
private: [],
|
|
199
199
|
selections: [
|
|
200
200
|
{
|
|
@@ -211,7 +211,7 @@ const select$R = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
|
211
211
|
]
|
|
212
212
|
};
|
|
213
213
|
};
|
|
214
|
-
function equals$
|
|
214
|
+
function equals$y(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$A(existing, incoming) {
|
|
|
234
234
|
if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
|
|
235
235
|
return false;
|
|
236
236
|
}
|
|
237
|
-
if (!(equals$
|
|
237
|
+
if (!(equals$z(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$x = "358bb714d100a35ad75fc928fa462760";
|
|
245
|
+
function validate$17(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 + '")');
|
|
@@ -268,13 +268,27 @@ function validate$18(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
|
268
268
|
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
+
if (obj.values !== undefined) {
|
|
272
|
+
const obj_values = obj.values;
|
|
273
|
+
const path_values = path + '.values';
|
|
274
|
+
if (!ArrayIsArray(obj_values)) {
|
|
275
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
276
|
+
}
|
|
277
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
278
|
+
const obj_values_item = obj_values[i];
|
|
279
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
280
|
+
if (typeof obj_values_item !== 'string') {
|
|
281
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
271
285
|
})();
|
|
272
286
|
return v_error === undefined ? null : v_error;
|
|
273
287
|
}
|
|
274
|
-
const select$
|
|
288
|
+
const select$O = function SemanticFilterOutputRepresentationSelect() {
|
|
275
289
|
return {
|
|
276
290
|
kind: 'Fragment',
|
|
277
|
-
version: VERSION$
|
|
291
|
+
version: VERSION$x,
|
|
278
292
|
private: [],
|
|
279
293
|
selections: [
|
|
280
294
|
{
|
|
@@ -291,11 +305,17 @@ const select$Q = function SemanticFilterOutputRepresentationSelect() {
|
|
|
291
305
|
name: 'value',
|
|
292
306
|
kind: 'Scalar',
|
|
293
307
|
required: false
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
name: 'values',
|
|
311
|
+
kind: 'Scalar',
|
|
312
|
+
plural: true,
|
|
313
|
+
required: false
|
|
294
314
|
}
|
|
295
315
|
]
|
|
296
316
|
};
|
|
297
317
|
};
|
|
298
|
-
function equals$
|
|
318
|
+
function equals$x(existing, incoming) {
|
|
299
319
|
const existing_fieldName = existing.fieldName;
|
|
300
320
|
const incoming_fieldName = incoming.fieldName;
|
|
301
321
|
// if at least one of these optionals is defined
|
|
@@ -335,11 +355,29 @@ function equals$z(existing, incoming) {
|
|
|
335
355
|
return false;
|
|
336
356
|
}
|
|
337
357
|
}
|
|
358
|
+
const existing_values = existing.values;
|
|
359
|
+
const incoming_values = incoming.values;
|
|
360
|
+
// if at least one of these optionals is defined
|
|
361
|
+
if (existing_values !== undefined || incoming_values !== undefined) {
|
|
362
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
363
|
+
// not equal
|
|
364
|
+
if (existing_values === undefined || incoming_values === undefined) {
|
|
365
|
+
return false;
|
|
366
|
+
}
|
|
367
|
+
const equals_values_items = equalsArray(existing_values, incoming_values, (existing_values_item, incoming_values_item) => {
|
|
368
|
+
if (!(existing_values_item === incoming_values_item)) {
|
|
369
|
+
return false;
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
if (equals_values_items === false) {
|
|
373
|
+
return false;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
338
376
|
return true;
|
|
339
377
|
}
|
|
340
378
|
|
|
341
|
-
const VERSION$
|
|
342
|
-
function validate$
|
|
379
|
+
const VERSION$w = "a50848c632bb205d5e910bb726d9219e";
|
|
380
|
+
function validate$16(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
343
381
|
const v_error = (() => {
|
|
344
382
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
345
383
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -347,7 +385,7 @@ function validate$17(obj, path = 'SemanticIdentifyingDimensionOutputRepresentati
|
|
|
347
385
|
if (obj.identifierDimensionReference !== undefined) {
|
|
348
386
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
349
387
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
350
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
388
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$18(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
351
389
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
352
390
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
353
391
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -357,7 +395,7 @@ function validate$17(obj, path = 'SemanticIdentifyingDimensionOutputRepresentati
|
|
|
357
395
|
if (obj.namingDimensionReference !== undefined) {
|
|
358
396
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
359
397
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
360
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
398
|
+
const referencepath_namingDimensionReferenceValidationError = validate$18(obj_namingDimensionReference, path_namingDimensionReference);
|
|
361
399
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
362
400
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
363
401
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -367,11 +405,11 @@ function validate$17(obj, path = 'SemanticIdentifyingDimensionOutputRepresentati
|
|
|
367
405
|
})();
|
|
368
406
|
return v_error === undefined ? null : v_error;
|
|
369
407
|
}
|
|
370
|
-
const select$
|
|
371
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
408
|
+
const select$N = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
409
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$P();
|
|
372
410
|
return {
|
|
373
411
|
kind: 'Fragment',
|
|
374
|
-
version: VERSION$
|
|
412
|
+
version: VERSION$w,
|
|
375
413
|
private: [],
|
|
376
414
|
selections: [
|
|
377
415
|
{
|
|
@@ -389,7 +427,7 @@ const select$P = function SemanticIdentifyingDimensionOutputRepresentationSelect
|
|
|
389
427
|
]
|
|
390
428
|
};
|
|
391
429
|
};
|
|
392
|
-
function equals$
|
|
430
|
+
function equals$w(existing, incoming) {
|
|
393
431
|
const existing_identifierDimensionReference = existing.identifierDimensionReference;
|
|
394
432
|
const incoming_identifierDimensionReference = incoming.identifierDimensionReference;
|
|
395
433
|
// if at least one of these optionals is defined
|
|
@@ -399,7 +437,7 @@ function equals$y(existing, incoming) {
|
|
|
399
437
|
if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
|
|
400
438
|
return false;
|
|
401
439
|
}
|
|
402
|
-
if (!(equals$
|
|
440
|
+
if (!(equals$y(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
|
|
403
441
|
return false;
|
|
404
442
|
}
|
|
405
443
|
}
|
|
@@ -412,15 +450,15 @@ function equals$y(existing, incoming) {
|
|
|
412
450
|
if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
|
|
413
451
|
return false;
|
|
414
452
|
}
|
|
415
|
-
if (!(equals$
|
|
453
|
+
if (!(equals$y(existing_namingDimensionReference, incoming_namingDimensionReference))) {
|
|
416
454
|
return false;
|
|
417
455
|
}
|
|
418
456
|
}
|
|
419
457
|
return true;
|
|
420
458
|
}
|
|
421
459
|
|
|
422
|
-
const VERSION$
|
|
423
|
-
function validate$
|
|
460
|
+
const VERSION$v = "1b8cf2283d5d5c480459506274f0604c";
|
|
461
|
+
function validate$15(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
424
462
|
const v_error = (() => {
|
|
425
463
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
426
464
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -442,10 +480,10 @@ function validate$16(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
|
442
480
|
})();
|
|
443
481
|
return v_error === undefined ? null : v_error;
|
|
444
482
|
}
|
|
445
|
-
const select$
|
|
483
|
+
const select$M = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
446
484
|
return {
|
|
447
485
|
kind: 'Fragment',
|
|
448
|
-
version: VERSION$
|
|
486
|
+
version: VERSION$v,
|
|
449
487
|
private: [],
|
|
450
488
|
selections: [
|
|
451
489
|
{
|
|
@@ -461,7 +499,7 @@ const select$O = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
|
461
499
|
]
|
|
462
500
|
};
|
|
463
501
|
};
|
|
464
|
-
function equals$
|
|
502
|
+
function equals$v(existing, incoming) {
|
|
465
503
|
const existing_enabled = existing.enabled;
|
|
466
504
|
const incoming_enabled = incoming.enabled;
|
|
467
505
|
// if at least one of these optionals is defined
|
|
@@ -491,8 +529,8 @@ function equals$x(existing, incoming) {
|
|
|
491
529
|
return true;
|
|
492
530
|
}
|
|
493
531
|
|
|
494
|
-
const VERSION$
|
|
495
|
-
function validate$
|
|
532
|
+
const VERSION$u = "a3f5972287be7bcf9ca205af56046a58";
|
|
533
|
+
function validate$14(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
496
534
|
const v_error = (() => {
|
|
497
535
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
498
536
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -500,7 +538,7 @@ function validate$15(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
500
538
|
if (obj.identifyingDimension !== undefined) {
|
|
501
539
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
502
540
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
503
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
541
|
+
const referencepath_identifyingDimensionValidationError = validate$16(obj_identifyingDimension, path_identifyingDimension);
|
|
504
542
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
505
543
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
506
544
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -516,7 +554,7 @@ function validate$15(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
516
554
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
517
555
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
518
556
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
519
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
557
|
+
const referencepath_insightTypes_itemValidationError = validate$15(obj_insightTypes_item, path_insightTypes_item);
|
|
520
558
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
521
559
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
522
560
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -533,7 +571,7 @@ function validate$15(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
533
571
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
534
572
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
535
573
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
536
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
574
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$18(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
537
575
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
538
576
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
539
577
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -565,13 +603,13 @@ function validate$15(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
565
603
|
})();
|
|
566
604
|
return v_error === undefined ? null : v_error;
|
|
567
605
|
}
|
|
568
|
-
const select$
|
|
569
|
-
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$
|
|
570
|
-
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$
|
|
571
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
606
|
+
const select$L = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
607
|
+
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$N();
|
|
608
|
+
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$M();
|
|
609
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$P();
|
|
572
610
|
return {
|
|
573
611
|
kind: 'Fragment',
|
|
574
|
-
version: VERSION$
|
|
612
|
+
version: VERSION$u,
|
|
575
613
|
private: [],
|
|
576
614
|
selections: [
|
|
577
615
|
{
|
|
@@ -612,7 +650,7 @@ const select$N = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
|
612
650
|
]
|
|
613
651
|
};
|
|
614
652
|
};
|
|
615
|
-
function equals$
|
|
653
|
+
function equals$u(existing, incoming) {
|
|
616
654
|
const existing_pluralNoun = existing.pluralNoun;
|
|
617
655
|
const incoming_pluralNoun = incoming.pluralNoun;
|
|
618
656
|
// if at least one of these optionals is defined
|
|
@@ -661,7 +699,7 @@ function equals$w(existing, incoming) {
|
|
|
661
699
|
if (existing_identifyingDimension === undefined || incoming_identifyingDimension === undefined) {
|
|
662
700
|
return false;
|
|
663
701
|
}
|
|
664
|
-
if (!(equals$
|
|
702
|
+
if (!(equals$w(existing_identifyingDimension, incoming_identifyingDimension))) {
|
|
665
703
|
return false;
|
|
666
704
|
}
|
|
667
705
|
}
|
|
@@ -675,7 +713,7 @@ function equals$w(existing, incoming) {
|
|
|
675
713
|
return false;
|
|
676
714
|
}
|
|
677
715
|
const equals_insightTypes_items = equalsArray(existing_insightTypes, incoming_insightTypes, (existing_insightTypes_item, incoming_insightTypes_item) => {
|
|
678
|
-
if (!(equals$
|
|
716
|
+
if (!(equals$v(existing_insightTypes_item, incoming_insightTypes_item))) {
|
|
679
717
|
return false;
|
|
680
718
|
}
|
|
681
719
|
});
|
|
@@ -693,7 +731,7 @@ function equals$w(existing, incoming) {
|
|
|
693
731
|
return false;
|
|
694
732
|
}
|
|
695
733
|
const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
|
|
696
|
-
if (!(equals$
|
|
734
|
+
if (!(equals$y(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
|
|
697
735
|
return false;
|
|
698
736
|
}
|
|
699
737
|
});
|
|
@@ -704,8 +742,8 @@ function equals$w(existing, incoming) {
|
|
|
704
742
|
return true;
|
|
705
743
|
}
|
|
706
744
|
|
|
707
|
-
const VERSION$
|
|
708
|
-
function validate$
|
|
745
|
+
const VERSION$t = "a9c4c21f041ebd0ad373f8e53e345e6a";
|
|
746
|
+
function validate$13(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
709
747
|
const v_error = (() => {
|
|
710
748
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
711
749
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -719,7 +757,7 @@ function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
719
757
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
720
758
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
721
759
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
722
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
760
|
+
const referencepath_additionalDimensions_itemValidationError = validate$18(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
723
761
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
724
762
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
725
763
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -786,7 +824,7 @@ function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
786
824
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
787
825
|
const obj_filters_item = obj_filters[i];
|
|
788
826
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
789
|
-
const referencepath_filters_itemValidationError = validate$
|
|
827
|
+
const referencepath_filters_itemValidationError = validate$17(obj_filters_item, path_filters_item);
|
|
790
828
|
if (referencepath_filters_itemValidationError !== null) {
|
|
791
829
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
792
830
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -802,7 +840,7 @@ function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
802
840
|
if (obj.insightsSettings !== undefined) {
|
|
803
841
|
const obj_insightsSettings = obj.insightsSettings;
|
|
804
842
|
const path_insightsSettings = path + '.insightsSettings';
|
|
805
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
843
|
+
const referencepath_insightsSettingsValidationError = validate$14(obj_insightsSettings, path_insightsSettings);
|
|
806
844
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
807
845
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
808
846
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -816,6 +854,13 @@ function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
816
854
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isCumulative + '" (at "' + path_isCumulative + '")');
|
|
817
855
|
}
|
|
818
856
|
}
|
|
857
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
858
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
859
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
860
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
861
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
862
|
+
}
|
|
863
|
+
}
|
|
819
864
|
if (obj.label !== undefined) {
|
|
820
865
|
const obj_label = obj.label;
|
|
821
866
|
const path_label = path + '.label';
|
|
@@ -840,7 +885,7 @@ function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
840
885
|
if (obj.measurementReference !== undefined) {
|
|
841
886
|
const obj_measurementReference = obj.measurementReference;
|
|
842
887
|
const path_measurementReference = path + '.measurementReference';
|
|
843
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
888
|
+
const referencepath_measurementReferenceValidationError = validate$18(obj_measurementReference, path_measurementReference);
|
|
844
889
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
845
890
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
846
891
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -850,7 +895,7 @@ function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
850
895
|
if (obj.timeDimensionReference !== undefined) {
|
|
851
896
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
852
897
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
853
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
898
|
+
const referencepath_timeDimensionReferenceValidationError = validate$18(obj_timeDimensionReference, path_timeDimensionReference);
|
|
854
899
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
855
900
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
856
901
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -871,6 +916,13 @@ function validate$14(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
871
916
|
}
|
|
872
917
|
}
|
|
873
918
|
}
|
|
919
|
+
if (obj.unmapped !== undefined) {
|
|
920
|
+
const obj_unmapped = obj.unmapped;
|
|
921
|
+
const path_unmapped = path + '.unmapped';
|
|
922
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
923
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
924
|
+
}
|
|
925
|
+
}
|
|
874
926
|
})();
|
|
875
927
|
return v_error === undefined ? null : v_error;
|
|
876
928
|
}
|
|
@@ -887,13 +939,13 @@ function keyBuilderFromType$c(luvio, object) {
|
|
|
887
939
|
function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
888
940
|
return input;
|
|
889
941
|
}
|
|
890
|
-
const select$
|
|
891
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
892
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
893
|
-
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$
|
|
942
|
+
const select$K = function SemanticMetricOutputRepresentationSelect() {
|
|
943
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$P();
|
|
944
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$O();
|
|
945
|
+
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$L();
|
|
894
946
|
return {
|
|
895
947
|
kind: 'Fragment',
|
|
896
|
-
version: VERSION$
|
|
948
|
+
version: VERSION$t,
|
|
897
949
|
private: [],
|
|
898
950
|
selections: [
|
|
899
951
|
{
|
|
@@ -962,6 +1014,11 @@ const select$M = function SemanticMetricOutputRepresentationSelect() {
|
|
|
962
1014
|
kind: 'Scalar',
|
|
963
1015
|
required: false
|
|
964
1016
|
},
|
|
1017
|
+
{
|
|
1018
|
+
name: 'isSystemDefinition',
|
|
1019
|
+
kind: 'Scalar',
|
|
1020
|
+
required: false
|
|
1021
|
+
},
|
|
965
1022
|
{
|
|
966
1023
|
name: 'label',
|
|
967
1024
|
kind: 'Scalar',
|
|
@@ -994,11 +1051,16 @@ const select$M = function SemanticMetricOutputRepresentationSelect() {
|
|
|
994
1051
|
kind: 'Scalar',
|
|
995
1052
|
plural: true,
|
|
996
1053
|
required: false
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
name: 'unmapped',
|
|
1057
|
+
kind: 'Scalar',
|
|
1058
|
+
required: false
|
|
997
1059
|
}
|
|
998
1060
|
]
|
|
999
1061
|
};
|
|
1000
1062
|
};
|
|
1001
|
-
function equals$
|
|
1063
|
+
function equals$t(existing, incoming) {
|
|
1002
1064
|
const existing_isCumulative = existing.isCumulative;
|
|
1003
1065
|
const incoming_isCumulative = incoming.isCumulative;
|
|
1004
1066
|
// if at least one of these optionals is defined
|
|
@@ -1012,6 +1074,32 @@ function equals$v(existing, incoming) {
|
|
|
1012
1074
|
return false;
|
|
1013
1075
|
}
|
|
1014
1076
|
}
|
|
1077
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
1078
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
1079
|
+
// if at least one of these optionals is defined
|
|
1080
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
1081
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1082
|
+
// not equal
|
|
1083
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
1084
|
+
return false;
|
|
1085
|
+
}
|
|
1086
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
1087
|
+
return false;
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
const existing_unmapped = existing.unmapped;
|
|
1091
|
+
const incoming_unmapped = incoming.unmapped;
|
|
1092
|
+
// if at least one of these optionals is defined
|
|
1093
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
1094
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1095
|
+
// not equal
|
|
1096
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
1097
|
+
return false;
|
|
1098
|
+
}
|
|
1099
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
1100
|
+
return false;
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1015
1103
|
const existing_aggregationType = existing.aggregationType;
|
|
1016
1104
|
const incoming_aggregationType = incoming.aggregationType;
|
|
1017
1105
|
// if at least one of these optionals is defined
|
|
@@ -1146,7 +1234,7 @@ function equals$v(existing, incoming) {
|
|
|
1146
1234
|
return false;
|
|
1147
1235
|
}
|
|
1148
1236
|
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
1149
|
-
if (!(equals$
|
|
1237
|
+
if (!(equals$y(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
1150
1238
|
return false;
|
|
1151
1239
|
}
|
|
1152
1240
|
});
|
|
@@ -1164,7 +1252,7 @@ function equals$v(existing, incoming) {
|
|
|
1164
1252
|
return false;
|
|
1165
1253
|
}
|
|
1166
1254
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
1167
|
-
if (!(equals$
|
|
1255
|
+
if (!(equals$x(existing_filters_item, incoming_filters_item))) {
|
|
1168
1256
|
return false;
|
|
1169
1257
|
}
|
|
1170
1258
|
});
|
|
@@ -1181,7 +1269,7 @@ function equals$v(existing, incoming) {
|
|
|
1181
1269
|
if (existing_insightsSettings === undefined || incoming_insightsSettings === undefined) {
|
|
1182
1270
|
return false;
|
|
1183
1271
|
}
|
|
1184
|
-
if (!(equals$
|
|
1272
|
+
if (!(equals$u(existing_insightsSettings, incoming_insightsSettings))) {
|
|
1185
1273
|
return false;
|
|
1186
1274
|
}
|
|
1187
1275
|
}
|
|
@@ -1194,7 +1282,7 @@ function equals$v(existing, incoming) {
|
|
|
1194
1282
|
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
1195
1283
|
return false;
|
|
1196
1284
|
}
|
|
1197
|
-
if (!(equals$
|
|
1285
|
+
if (!(equals$y(existing_measurementReference, incoming_measurementReference))) {
|
|
1198
1286
|
return false;
|
|
1199
1287
|
}
|
|
1200
1288
|
}
|
|
@@ -1207,7 +1295,7 @@ function equals$v(existing, incoming) {
|
|
|
1207
1295
|
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
1208
1296
|
return false;
|
|
1209
1297
|
}
|
|
1210
|
-
if (!(equals$
|
|
1298
|
+
if (!(equals$y(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
1211
1299
|
return false;
|
|
1212
1300
|
}
|
|
1213
1301
|
}
|
|
@@ -1233,14 +1321,14 @@ function equals$v(existing, incoming) {
|
|
|
1233
1321
|
}
|
|
1234
1322
|
const ingest$i = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1235
1323
|
if (process.env.NODE_ENV !== 'production') {
|
|
1236
|
-
const validateError = validate$
|
|
1324
|
+
const validateError = validate$13(input);
|
|
1237
1325
|
if (validateError !== null) {
|
|
1238
1326
|
throw validateError;
|
|
1239
1327
|
}
|
|
1240
1328
|
}
|
|
1241
1329
|
const key = keyBuilderFromType$c(luvio, input);
|
|
1242
1330
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
1243
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$
|
|
1331
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$t, RepresentationType$i, equals$t);
|
|
1244
1332
|
return createLink(key);
|
|
1245
1333
|
};
|
|
1246
1334
|
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1253,8 +1341,8 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1253
1341
|
});
|
|
1254
1342
|
}
|
|
1255
1343
|
|
|
1256
|
-
const VERSION$
|
|
1257
|
-
function validate$
|
|
1344
|
+
const VERSION$s = "a6709a9f16e02d0d8e3d8423ebc79c2b";
|
|
1345
|
+
function validate$12(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
|
|
1258
1346
|
const v_error = (() => {
|
|
1259
1347
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1260
1348
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1298,10 +1386,10 @@ function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
|
1298
1386
|
}
|
|
1299
1387
|
return input;
|
|
1300
1388
|
}
|
|
1301
|
-
const select$
|
|
1389
|
+
const select$J = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
1302
1390
|
return {
|
|
1303
1391
|
kind: 'Fragment',
|
|
1304
|
-
version: VERSION$
|
|
1392
|
+
version: VERSION$s,
|
|
1305
1393
|
private: [],
|
|
1306
1394
|
selections: [
|
|
1307
1395
|
{
|
|
@@ -1309,12 +1397,12 @@ const select$L = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
|
1309
1397
|
kind: 'Link',
|
|
1310
1398
|
plural: true,
|
|
1311
1399
|
required: false,
|
|
1312
|
-
fragment: select$
|
|
1400
|
+
fragment: select$K()
|
|
1313
1401
|
}
|
|
1314
1402
|
]
|
|
1315
1403
|
};
|
|
1316
1404
|
};
|
|
1317
|
-
function equals$
|
|
1405
|
+
function equals$s(existing, incoming) {
|
|
1318
1406
|
const existing_metrics = existing.metrics;
|
|
1319
1407
|
const incoming_metrics = incoming.metrics;
|
|
1320
1408
|
// if at least one of these optionals is defined
|
|
@@ -1337,14 +1425,14 @@ function equals$u(existing, incoming) {
|
|
|
1337
1425
|
}
|
|
1338
1426
|
const ingest$h = function SemanticMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1339
1427
|
if (process.env.NODE_ENV !== 'production') {
|
|
1340
|
-
const validateError = validate$
|
|
1428
|
+
const validateError = validate$12(input);
|
|
1341
1429
|
if (validateError !== null) {
|
|
1342
1430
|
throw validateError;
|
|
1343
1431
|
}
|
|
1344
1432
|
}
|
|
1345
1433
|
const key = path.fullPath;
|
|
1346
1434
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
1347
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$
|
|
1435
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$s, RepresentationType$h, equals$s);
|
|
1348
1436
|
return createLink(key);
|
|
1349
1437
|
};
|
|
1350
1438
|
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1363,8 +1451,8 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1363
1451
|
}
|
|
1364
1452
|
}
|
|
1365
1453
|
|
|
1366
|
-
function select$
|
|
1367
|
-
return select$
|
|
1454
|
+
function select$I(luvio, params) {
|
|
1455
|
+
return select$J();
|
|
1368
1456
|
}
|
|
1369
1457
|
function keyBuilder$A(luvio, params) {
|
|
1370
1458
|
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'metricIds:' + params.urlParams.metricIds + ')';
|
|
@@ -1378,7 +1466,7 @@ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1378
1466
|
luvio.storeIngest(key, ingest$h, body);
|
|
1379
1467
|
const snapshot = luvio.storeLookup({
|
|
1380
1468
|
recordId: key,
|
|
1381
|
-
node: select$
|
|
1469
|
+
node: select$I(),
|
|
1382
1470
|
variables: {},
|
|
1383
1471
|
}, snapshotRefresh);
|
|
1384
1472
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1441,7 +1529,7 @@ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
|
|
|
1441
1529
|
}
|
|
1442
1530
|
function adapterFragment$a(luvio, config) {
|
|
1443
1531
|
createResourceParams$j(config);
|
|
1444
|
-
return select$
|
|
1532
|
+
return select$I();
|
|
1445
1533
|
}
|
|
1446
1534
|
function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
|
|
1447
1535
|
const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
|
|
@@ -1497,8 +1585,8 @@ const getSemanticMetricsByIdsAdapterFactory = (luvio) => function SemanticAuthor
|
|
|
1497
1585
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
|
|
1498
1586
|
};
|
|
1499
1587
|
|
|
1500
|
-
const VERSION$
|
|
1501
|
-
function validate$
|
|
1588
|
+
const VERSION$r = "3a32d382e7a2268096278aa8e5c6761a";
|
|
1589
|
+
function validate$11(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
1502
1590
|
const v_error = (() => {
|
|
1503
1591
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1504
1592
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1518,10 +1606,10 @@ function validate$12(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
|
1518
1606
|
})();
|
|
1519
1607
|
return v_error === undefined ? null : v_error;
|
|
1520
1608
|
}
|
|
1521
|
-
const select$
|
|
1609
|
+
const select$H = function SemanticBaseModelOutputRepresentationSelect() {
|
|
1522
1610
|
return {
|
|
1523
1611
|
kind: 'Fragment',
|
|
1524
|
-
version: VERSION$
|
|
1612
|
+
version: VERSION$r,
|
|
1525
1613
|
private: [],
|
|
1526
1614
|
selections: [
|
|
1527
1615
|
{
|
|
@@ -1536,7 +1624,7 @@ const select$J = function SemanticBaseModelOutputRepresentationSelect() {
|
|
|
1536
1624
|
]
|
|
1537
1625
|
};
|
|
1538
1626
|
};
|
|
1539
|
-
function equals$
|
|
1627
|
+
function equals$r(existing, incoming) {
|
|
1540
1628
|
const existing_apiName = existing.apiName;
|
|
1541
1629
|
const incoming_apiName = incoming.apiName;
|
|
1542
1630
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -1558,8 +1646,8 @@ function equals$t(existing, incoming) {
|
|
|
1558
1646
|
return true;
|
|
1559
1647
|
}
|
|
1560
1648
|
|
|
1561
|
-
const VERSION$
|
|
1562
|
-
function validate$
|
|
1649
|
+
const VERSION$q = "c9079354cd8127a37c0c13ea6686383c";
|
|
1650
|
+
function validate$10(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
1563
1651
|
const v_error = (() => {
|
|
1564
1652
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1565
1653
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1592,7 +1680,7 @@ function validate$11(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
1592
1680
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
1593
1681
|
const obj_baseModels_item = obj_baseModels[i];
|
|
1594
1682
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
1595
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
1683
|
+
const referencepath_baseModels_itemValidationError = validate$11(obj_baseModels_item, path_baseModels_item);
|
|
1596
1684
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
1597
1685
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
1598
1686
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1763,11 +1851,11 @@ function validate$11(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
1763
1851
|
})();
|
|
1764
1852
|
return v_error === undefined ? null : v_error;
|
|
1765
1853
|
}
|
|
1766
|
-
const select$
|
|
1767
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
1854
|
+
const select$G = function SemanticModelPartialOutputRepresentationSelect() {
|
|
1855
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$H();
|
|
1768
1856
|
return {
|
|
1769
1857
|
kind: 'Fragment',
|
|
1770
|
-
version: VERSION$
|
|
1858
|
+
version: VERSION$q,
|
|
1771
1859
|
private: [],
|
|
1772
1860
|
selections: [
|
|
1773
1861
|
{
|
|
@@ -1891,7 +1979,7 @@ const select$I = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
1891
1979
|
]
|
|
1892
1980
|
};
|
|
1893
1981
|
};
|
|
1894
|
-
function equals$
|
|
1982
|
+
function equals$q(existing, incoming) {
|
|
1895
1983
|
const existing_isLocked = existing.isLocked;
|
|
1896
1984
|
const incoming_isLocked = incoming.isLocked;
|
|
1897
1985
|
// if at least one of these optionals is defined
|
|
@@ -2135,7 +2223,7 @@ function equals$s(existing, incoming) {
|
|
|
2135
2223
|
return false;
|
|
2136
2224
|
}
|
|
2137
2225
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
2138
|
-
if (!(equals$
|
|
2226
|
+
if (!(equals$r(existing_baseModels_item, incoming_baseModels_item))) {
|
|
2139
2227
|
return false;
|
|
2140
2228
|
}
|
|
2141
2229
|
});
|
|
@@ -2177,8 +2265,8 @@ function equals$s(existing, incoming) {
|
|
|
2177
2265
|
return true;
|
|
2178
2266
|
}
|
|
2179
2267
|
|
|
2180
|
-
const VERSION$
|
|
2181
|
-
function validate
|
|
2268
|
+
const VERSION$p = "198423ec58354256cc7ea6f4661ef669";
|
|
2269
|
+
function validate$$(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
2182
2270
|
const v_error = (() => {
|
|
2183
2271
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2184
2272
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2225,7 +2313,7 @@ function validate$10(obj, path = 'SemanticModelCollectionOutputRepresentation')
|
|
|
2225
2313
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2226
2314
|
const obj_items_item = obj_items[i];
|
|
2227
2315
|
const path_items_item = path_items + '[' + i + ']';
|
|
2228
|
-
const referencepath_items_itemValidationError = validate$
|
|
2316
|
+
const referencepath_items_itemValidationError = validate$10(obj_items_item, path_items_item);
|
|
2229
2317
|
if (referencepath_items_itemValidationError !== null) {
|
|
2230
2318
|
let message = 'Object doesn\'t match SemanticModelPartialOutputRepresentation (at "' + path_items_item + '")\n';
|
|
2231
2319
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2301,11 +2389,11 @@ const RepresentationType$g = 'SemanticModelCollectionOutputRepresentation';
|
|
|
2301
2389
|
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
2302
2390
|
return input;
|
|
2303
2391
|
}
|
|
2304
|
-
const select$
|
|
2305
|
-
const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$
|
|
2392
|
+
const select$F = function SemanticModelCollectionOutputRepresentationSelect() {
|
|
2393
|
+
const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$G();
|
|
2306
2394
|
return {
|
|
2307
2395
|
kind: 'Fragment',
|
|
2308
|
-
version: VERSION$
|
|
2396
|
+
version: VERSION$p,
|
|
2309
2397
|
private: [],
|
|
2310
2398
|
selections: [
|
|
2311
2399
|
{
|
|
@@ -2341,7 +2429,7 @@ const select$H = function SemanticModelCollectionOutputRepresentationSelect() {
|
|
|
2341
2429
|
]
|
|
2342
2430
|
};
|
|
2343
2431
|
};
|
|
2344
|
-
function equals$
|
|
2432
|
+
function equals$p(existing, incoming) {
|
|
2345
2433
|
const existing_count = existing.count;
|
|
2346
2434
|
const incoming_count = incoming.count;
|
|
2347
2435
|
if (!(existing_count === incoming_count)) {
|
|
@@ -2375,7 +2463,7 @@ function equals$r(existing, incoming) {
|
|
|
2375
2463
|
return false;
|
|
2376
2464
|
}
|
|
2377
2465
|
const equals_items_items = equalsArray(existing_items, incoming_items, (existing_items_item, incoming_items_item) => {
|
|
2378
|
-
if (!(equals$
|
|
2466
|
+
if (!(equals$q(existing_items_item, incoming_items_item))) {
|
|
2379
2467
|
return false;
|
|
2380
2468
|
}
|
|
2381
2469
|
});
|
|
@@ -2413,14 +2501,14 @@ function equals$r(existing, incoming) {
|
|
|
2413
2501
|
}
|
|
2414
2502
|
const ingest$g = function SemanticModelCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2415
2503
|
if (process.env.NODE_ENV !== 'production') {
|
|
2416
|
-
const validateError = validate
|
|
2504
|
+
const validateError = validate$$(input);
|
|
2417
2505
|
if (validateError !== null) {
|
|
2418
2506
|
throw validateError;
|
|
2419
2507
|
}
|
|
2420
2508
|
}
|
|
2421
2509
|
const key = path.fullPath;
|
|
2422
2510
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
2423
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$
|
|
2511
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$p, RepresentationType$g, equals$p);
|
|
2424
2512
|
return createLink(key);
|
|
2425
2513
|
};
|
|
2426
2514
|
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2433,8 +2521,8 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2433
2521
|
});
|
|
2434
2522
|
}
|
|
2435
2523
|
|
|
2436
|
-
function select$
|
|
2437
|
-
return select$
|
|
2524
|
+
function select$E(luvio, params) {
|
|
2525
|
+
return select$F();
|
|
2438
2526
|
}
|
|
2439
2527
|
function keyBuilder$y(luvio, params) {
|
|
2440
2528
|
return keyPrefix + '::SemanticModelCollectionOutputRepresentation:(' + 'app:' + params.queryParams.app + ',' + 'category:' + params.queryParams.category + ',' + 'dataspace:' + params.queryParams.dataspace + ',' + 'label:' + params.queryParams.label + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'sourceCreation:' + params.queryParams.sourceCreation + ',' + 'sourceCreationName:' + params.queryParams.sourceCreationName + ')';
|
|
@@ -2448,7 +2536,7 @@ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2448
2536
|
luvio.storeIngest(key, ingest$g, body);
|
|
2449
2537
|
const snapshot = luvio.storeLookup({
|
|
2450
2538
|
recordId: key,
|
|
2451
|
-
node: select$
|
|
2539
|
+
node: select$E(),
|
|
2452
2540
|
variables: {},
|
|
2453
2541
|
}, snapshotRefresh);
|
|
2454
2542
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2517,7 +2605,7 @@ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
|
|
|
2517
2605
|
}
|
|
2518
2606
|
function adapterFragment$9(luvio, config) {
|
|
2519
2607
|
createResourceParams$i(config);
|
|
2520
|
-
return select$
|
|
2608
|
+
return select$E();
|
|
2521
2609
|
}
|
|
2522
2610
|
function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
|
|
2523
2611
|
const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
|
|
@@ -2573,7 +2661,7 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
2573
2661
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
|
|
2574
2662
|
};
|
|
2575
2663
|
|
|
2576
|
-
function validate
|
|
2664
|
+
function validate$_(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
2577
2665
|
const v_error = (() => {
|
|
2578
2666
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2579
2667
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2589,7 +2677,7 @@ function validate$$(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
2589
2677
|
return v_error === undefined ? null : v_error;
|
|
2590
2678
|
}
|
|
2591
2679
|
|
|
2592
|
-
function validate$
|
|
2680
|
+
function validate$Z(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation') {
|
|
2593
2681
|
const v_error = (() => {
|
|
2594
2682
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2595
2683
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2618,7 +2706,7 @@ function validate$_(obj, path = 'SemanticModelExternalConnectionTableauPublished
|
|
|
2618
2706
|
return v_error === undefined ? null : v_error;
|
|
2619
2707
|
}
|
|
2620
2708
|
|
|
2621
|
-
function validate$
|
|
2709
|
+
function validate$Y(obj, path = 'SemanticModelExternalConnectionInputRepresentation') {
|
|
2622
2710
|
const v_error = (() => {
|
|
2623
2711
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2624
2712
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2638,7 +2726,7 @@ function validate$Z(obj, path = 'SemanticModelExternalConnectionInputRepresentat
|
|
|
2638
2726
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
2639
2727
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
2640
2728
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
2641
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
2729
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$Z(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
2642
2730
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
2643
2731
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
2644
2732
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2654,7 +2742,7 @@ function validate$Z(obj, path = 'SemanticModelExternalConnectionInputRepresentat
|
|
|
2654
2742
|
return v_error === undefined ? null : v_error;
|
|
2655
2743
|
}
|
|
2656
2744
|
|
|
2657
|
-
function validate$
|
|
2745
|
+
function validate$X(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
2658
2746
|
const v_error = (() => {
|
|
2659
2747
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2660
2748
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2684,7 +2772,7 @@ function validate$Y(obj, path = 'SemanticOverrideInputRepresentation') {
|
|
|
2684
2772
|
return v_error === undefined ? null : v_error;
|
|
2685
2773
|
}
|
|
2686
2774
|
|
|
2687
|
-
function validate$
|
|
2775
|
+
function validate$W(obj, path = 'SemanticFilterInputRepresentation') {
|
|
2688
2776
|
const v_error = (() => {
|
|
2689
2777
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2690
2778
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2710,11 +2798,25 @@ function validate$X(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
2710
2798
|
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
2711
2799
|
}
|
|
2712
2800
|
}
|
|
2801
|
+
if (obj.values !== undefined) {
|
|
2802
|
+
const obj_values = obj.values;
|
|
2803
|
+
const path_values = path + '.values';
|
|
2804
|
+
if (!ArrayIsArray(obj_values)) {
|
|
2805
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
2806
|
+
}
|
|
2807
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
2808
|
+
const obj_values_item = obj_values[i];
|
|
2809
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
2810
|
+
if (typeof obj_values_item !== 'string') {
|
|
2811
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
2812
|
+
}
|
|
2813
|
+
}
|
|
2814
|
+
}
|
|
2713
2815
|
})();
|
|
2714
2816
|
return v_error === undefined ? null : v_error;
|
|
2715
2817
|
}
|
|
2716
2818
|
|
|
2717
|
-
function validate$
|
|
2819
|
+
function validate$V(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
2718
2820
|
const v_error = (() => {
|
|
2719
2821
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2720
2822
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2777,7 +2879,7 @@ function validate$W(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2777
2879
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2778
2880
|
const obj_filters_item = obj_filters[i];
|
|
2779
2881
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2780
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2882
|
+
const referencepath_filters_itemValidationError = validate$W(obj_filters_item, path_filters_item);
|
|
2781
2883
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2782
2884
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2783
2885
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2831,7 +2933,7 @@ function validate$W(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2831
2933
|
return v_error === undefined ? null : v_error;
|
|
2832
2934
|
}
|
|
2833
2935
|
|
|
2834
|
-
function validate$
|
|
2936
|
+
function validate$U(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
2835
2937
|
const v_error = (() => {
|
|
2836
2938
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2837
2939
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2908,7 +3010,7 @@ function validate$V(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2908
3010
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2909
3011
|
const obj_filters_item = obj_filters[i];
|
|
2910
3012
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2911
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3013
|
+
const referencepath_filters_itemValidationError = validate$W(obj_filters_item, path_filters_item);
|
|
2912
3014
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2913
3015
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2914
3016
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2983,7 +3085,7 @@ function validate$V(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2983
3085
|
return v_error === undefined ? null : v_error;
|
|
2984
3086
|
}
|
|
2985
3087
|
|
|
2986
|
-
function validate$
|
|
3088
|
+
function validate$T(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
2987
3089
|
const v_error = (() => {
|
|
2988
3090
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2989
3091
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3062,7 +3164,7 @@ function validate$U(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
3062
3164
|
return v_error === undefined ? null : v_error;
|
|
3063
3165
|
}
|
|
3064
3166
|
|
|
3065
|
-
function validate$
|
|
3167
|
+
function validate$S(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
3066
3168
|
const v_error = (() => {
|
|
3067
3169
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3068
3170
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3169,7 +3271,7 @@ function validate$T(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
3169
3271
|
return v_error === undefined ? null : v_error;
|
|
3170
3272
|
}
|
|
3171
3273
|
|
|
3172
|
-
function validate$
|
|
3274
|
+
function validate$R(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
3173
3275
|
const v_error = (() => {
|
|
3174
3276
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3175
3277
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3218,7 +3320,7 @@ function validate$S(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3218
3320
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3219
3321
|
const obj_filters_item = obj_filters[i];
|
|
3220
3322
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3221
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3323
|
+
const referencepath_filters_itemValidationError = validate$W(obj_filters_item, path_filters_item);
|
|
3222
3324
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3223
3325
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3224
3326
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3249,7 +3351,7 @@ function validate$S(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3249
3351
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
3250
3352
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
3251
3353
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
3252
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
3354
|
+
const referencepath_semanticDimensions_itemValidationError = validate$T(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
3253
3355
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
3254
3356
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
3255
3357
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3266,7 +3368,7 @@ function validate$S(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3266
3368
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
3267
3369
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
3268
3370
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
3269
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
3371
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$S(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
3270
3372
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
3271
3373
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
3272
3374
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3292,7 +3394,7 @@ function validate$S(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3292
3394
|
return v_error === undefined ? null : v_error;
|
|
3293
3395
|
}
|
|
3294
3396
|
|
|
3295
|
-
function validate$
|
|
3397
|
+
function validate$Q(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
3296
3398
|
const v_error = (() => {
|
|
3297
3399
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3298
3400
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3304,7 +3406,7 @@ function validate$R(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
3304
3406
|
return v_error === undefined ? null : v_error;
|
|
3305
3407
|
}
|
|
3306
3408
|
|
|
3307
|
-
function validate$
|
|
3409
|
+
function validate$P(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
3308
3410
|
const v_error = (() => {
|
|
3309
3411
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3310
3412
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3334,7 +3436,7 @@ function validate$Q(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
3334
3436
|
return v_error === undefined ? null : v_error;
|
|
3335
3437
|
}
|
|
3336
3438
|
|
|
3337
|
-
function validate$
|
|
3439
|
+
function validate$O(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
3338
3440
|
const v_error = (() => {
|
|
3339
3441
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3340
3442
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3348,7 +3450,7 @@ function validate$P(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3348
3450
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
3349
3451
|
const obj_groups_item = obj_groups[i];
|
|
3350
3452
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
3351
|
-
const referencepath_groups_itemValidationError = validate$
|
|
3453
|
+
const referencepath_groups_itemValidationError = validate$P(obj_groups_item, path_groups_item);
|
|
3352
3454
|
if (referencepath_groups_itemValidationError !== null) {
|
|
3353
3455
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
3354
3456
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3367,7 +3469,7 @@ function validate$P(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3367
3469
|
return v_error === undefined ? null : v_error;
|
|
3368
3470
|
}
|
|
3369
3471
|
|
|
3370
|
-
function validate$
|
|
3472
|
+
function validate$N(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
3371
3473
|
const v_error = (() => {
|
|
3372
3474
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3373
3475
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3375,7 +3477,7 @@ function validate$O(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3375
3477
|
if (obj.binDimension !== undefined) {
|
|
3376
3478
|
const obj_binDimension = obj.binDimension;
|
|
3377
3479
|
const path_binDimension = path + '.binDimension';
|
|
3378
|
-
const referencepath_binDimensionValidationError = validate$
|
|
3480
|
+
const referencepath_binDimensionValidationError = validate$Q(obj_binDimension, path_binDimension);
|
|
3379
3481
|
if (referencepath_binDimensionValidationError !== null) {
|
|
3380
3482
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
3381
3483
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3385,7 +3487,7 @@ function validate$O(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3385
3487
|
if (obj.groupDimension !== undefined) {
|
|
3386
3488
|
const obj_groupDimension = obj.groupDimension;
|
|
3387
3489
|
const path_groupDimension = path + '.groupDimension';
|
|
3388
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
3490
|
+
const referencepath_groupDimensionValidationError = validate$O(obj_groupDimension, path_groupDimension);
|
|
3389
3491
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
3390
3492
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
3391
3493
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3396,7 +3498,7 @@ function validate$O(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3396
3498
|
return v_error === undefined ? null : v_error;
|
|
3397
3499
|
}
|
|
3398
3500
|
|
|
3399
|
-
function validate$
|
|
3501
|
+
function validate$M(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
3400
3502
|
const v_error = (() => {
|
|
3401
3503
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3402
3504
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3419,7 +3521,7 @@ function validate$N(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
3419
3521
|
return v_error === undefined ? null : v_error;
|
|
3420
3522
|
}
|
|
3421
3523
|
|
|
3422
|
-
function validate$
|
|
3524
|
+
function validate$L(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
3423
3525
|
const v_error = (() => {
|
|
3424
3526
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3425
3527
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3434,7 +3536,7 @@ function validate$M(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3434
3536
|
if (obj.tableFieldReference !== undefined) {
|
|
3435
3537
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
3436
3538
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
3437
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
3539
|
+
const referencepath_tableFieldReferenceValidationError = validate$M(obj_tableFieldReference, path_tableFieldReference);
|
|
3438
3540
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
3439
3541
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
3440
3542
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3445,7 +3547,7 @@ function validate$M(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3445
3547
|
return v_error === undefined ? null : v_error;
|
|
3446
3548
|
}
|
|
3447
3549
|
|
|
3448
|
-
function validate$
|
|
3550
|
+
function validate$K(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
3449
3551
|
const v_error = (() => {
|
|
3450
3552
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3451
3553
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3460,7 +3562,7 @@ function validate$L(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3460
3562
|
if (obj.configuration !== undefined) {
|
|
3461
3563
|
const obj_configuration = obj.configuration;
|
|
3462
3564
|
const path_configuration = path + '.configuration';
|
|
3463
|
-
const referencepath_configurationValidationError = validate$
|
|
3565
|
+
const referencepath_configurationValidationError = validate$N(obj_configuration, path_configuration);
|
|
3464
3566
|
if (referencepath_configurationValidationError !== null) {
|
|
3465
3567
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
3466
3568
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3477,7 +3579,7 @@ function validate$L(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3477
3579
|
if (obj.fieldReference !== undefined) {
|
|
3478
3580
|
const obj_fieldReference = obj.fieldReference;
|
|
3479
3581
|
const path_fieldReference = path + '.fieldReference';
|
|
3480
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
3582
|
+
const referencepath_fieldReferenceValidationError = validate$L(obj_fieldReference, path_fieldReference);
|
|
3481
3583
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
3482
3584
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
3483
3585
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3502,7 +3604,7 @@ function validate$L(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3502
3604
|
return v_error === undefined ? null : v_error;
|
|
3503
3605
|
}
|
|
3504
3606
|
|
|
3505
|
-
function validate$
|
|
3607
|
+
function validate$J(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
3506
3608
|
const v_error = (() => {
|
|
3507
3609
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3508
3610
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3546,7 +3648,7 @@ function validate$K(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
3546
3648
|
return v_error === undefined ? null : v_error;
|
|
3547
3649
|
}
|
|
3548
3650
|
|
|
3549
|
-
function validate$
|
|
3651
|
+
function validate$I(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
3550
3652
|
const v_error = (() => {
|
|
3551
3653
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3552
3654
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3574,7 +3676,7 @@ function validate$J(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3574
3676
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
3575
3677
|
const obj_criteria_item = obj_criteria[i];
|
|
3576
3678
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
3577
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
3679
|
+
const referencepath_criteria_itemValidationError = validate$J(obj_criteria_item, path_criteria_item);
|
|
3578
3680
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
3579
3681
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
3580
3682
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3635,7 +3737,7 @@ function validate$J(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3635
3737
|
return v_error === undefined ? null : v_error;
|
|
3636
3738
|
}
|
|
3637
3739
|
|
|
3638
|
-
function validate$
|
|
3740
|
+
function validate$H(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
3639
3741
|
const v_error = (() => {
|
|
3640
3742
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3641
3743
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3663,7 +3765,7 @@ function validate$I(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3663
3765
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
3664
3766
|
const obj_fields_item = obj_fields[i];
|
|
3665
3767
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
3666
|
-
const referencepath_fields_itemValidationError = validate$
|
|
3768
|
+
const referencepath_fields_itemValidationError = validate$M(obj_fields_item, path_fields_item);
|
|
3667
3769
|
if (referencepath_fields_itemValidationError !== null) {
|
|
3668
3770
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
3669
3771
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3688,7 +3790,7 @@ function validate$I(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3688
3790
|
if (obj.semanticDimension !== undefined) {
|
|
3689
3791
|
const obj_semanticDimension = obj.semanticDimension;
|
|
3690
3792
|
const path_semanticDimension = path + '.semanticDimension';
|
|
3691
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
3793
|
+
const referencepath_semanticDimensionValidationError = validate$T(obj_semanticDimension, path_semanticDimension);
|
|
3692
3794
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
3693
3795
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
3694
3796
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3698,7 +3800,7 @@ function validate$I(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3698
3800
|
if (obj.semanticMeasurement !== undefined) {
|
|
3699
3801
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
3700
3802
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
3701
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
3803
|
+
const referencepath_semanticMeasurementValidationError = validate$S(obj_semanticMeasurement, path_semanticMeasurement);
|
|
3702
3804
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
3703
3805
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
3704
3806
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3709,7 +3811,7 @@ function validate$I(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3709
3811
|
return v_error === undefined ? null : v_error;
|
|
3710
3812
|
}
|
|
3711
3813
|
|
|
3712
|
-
function validate$
|
|
3814
|
+
function validate$G(obj, path = 'SemanticUnionInputRepresentation') {
|
|
3713
3815
|
const v_error = (() => {
|
|
3714
3816
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3715
3817
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3744,7 +3846,7 @@ function validate$H(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3744
3846
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
3745
3847
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
3746
3848
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
3747
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
3849
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$R(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
3748
3850
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
3749
3851
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
3750
3852
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3761,7 +3863,7 @@ function validate$H(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3761
3863
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
3762
3864
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
3763
3865
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
3764
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
3866
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$H(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
3765
3867
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
3766
3868
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
3767
3869
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3773,7 +3875,7 @@ function validate$H(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3773
3875
|
return v_error === undefined ? null : v_error;
|
|
3774
3876
|
}
|
|
3775
3877
|
|
|
3776
|
-
function validate$
|
|
3878
|
+
function validate$F(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
3777
3879
|
const v_error = (() => {
|
|
3778
3880
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3779
3881
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3815,7 +3917,7 @@ function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3815
3917
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3816
3918
|
const obj_filters_item = obj_filters[i];
|
|
3817
3919
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3818
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3920
|
+
const referencepath_filters_itemValidationError = validate$W(obj_filters_item, path_filters_item);
|
|
3819
3921
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3820
3922
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3821
3923
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3839,7 +3941,7 @@ function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3839
3941
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
3840
3942
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
3841
3943
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
3842
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
3944
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$R(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
3843
3945
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
3844
3946
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
3845
3947
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3856,7 +3958,7 @@ function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3856
3958
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
3857
3959
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
3858
3960
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
3859
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
3961
|
+
const referencepath_semanticRelationships_itemValidationError = validate$I(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
3860
3962
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
3861
3963
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
3862
3964
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3873,7 +3975,7 @@ function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3873
3975
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
3874
3976
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
3875
3977
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
3876
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
3978
|
+
const referencepath_semanticUnions_itemValidationError = validate$G(obj_semanticUnions_item, path_semanticUnions_item);
|
|
3877
3979
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
3878
3980
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
3879
3981
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3892,7 +3994,7 @@ function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3892
3994
|
return v_error === undefined ? null : v_error;
|
|
3893
3995
|
}
|
|
3894
3996
|
|
|
3895
|
-
function validate$
|
|
3997
|
+
function validate$E(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
3896
3998
|
const v_error = (() => {
|
|
3897
3999
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3898
4000
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3900,7 +4002,7 @@ function validate$F(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3900
4002
|
if (obj.identifierDimensionReference !== undefined) {
|
|
3901
4003
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
3902
4004
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
3903
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
4005
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$L(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
3904
4006
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
3905
4007
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
3906
4008
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3910,7 +4012,7 @@ function validate$F(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3910
4012
|
if (obj.namingDimensionReference !== undefined) {
|
|
3911
4013
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
3912
4014
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
3913
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
4015
|
+
const referencepath_namingDimensionReferenceValidationError = validate$L(obj_namingDimensionReference, path_namingDimensionReference);
|
|
3914
4016
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
3915
4017
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
3916
4018
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3921,7 +4023,7 @@ function validate$F(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3921
4023
|
return v_error === undefined ? null : v_error;
|
|
3922
4024
|
}
|
|
3923
4025
|
|
|
3924
|
-
function validate$
|
|
4026
|
+
function validate$D(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
3925
4027
|
const v_error = (() => {
|
|
3926
4028
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3927
4029
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3944,7 +4046,7 @@ function validate$E(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
3944
4046
|
return v_error === undefined ? null : v_error;
|
|
3945
4047
|
}
|
|
3946
4048
|
|
|
3947
|
-
function validate$
|
|
4049
|
+
function validate$C(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
3948
4050
|
const v_error = (() => {
|
|
3949
4051
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3950
4052
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3952,7 +4054,7 @@ function validate$D(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3952
4054
|
if (obj.identifyingDimension !== undefined) {
|
|
3953
4055
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
3954
4056
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
3955
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
4057
|
+
const referencepath_identifyingDimensionValidationError = validate$E(obj_identifyingDimension, path_identifyingDimension);
|
|
3956
4058
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
3957
4059
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
3958
4060
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3968,7 +4070,7 @@ function validate$D(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3968
4070
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
3969
4071
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
3970
4072
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
3971
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
4073
|
+
const referencepath_insightTypes_itemValidationError = validate$D(obj_insightTypes_item, path_insightTypes_item);
|
|
3972
4074
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
3973
4075
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
3974
4076
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3985,7 +4087,7 @@ function validate$D(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3985
4087
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
3986
4088
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
3987
4089
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
3988
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
4090
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$L(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
3989
4091
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
3990
4092
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
3991
4093
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4018,7 +4120,7 @@ function validate$D(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
4018
4120
|
return v_error === undefined ? null : v_error;
|
|
4019
4121
|
}
|
|
4020
4122
|
|
|
4021
|
-
function validate$
|
|
4123
|
+
function validate$B(obj, path = 'SemanticMetricInputRepresentation') {
|
|
4022
4124
|
const v_error = (() => {
|
|
4023
4125
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4024
4126
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4032,7 +4134,7 @@ function validate$C(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4032
4134
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
4033
4135
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
4034
4136
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
4035
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
4137
|
+
const referencepath_additionalDimensions_itemValidationError = validate$L(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
4036
4138
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
4037
4139
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
4038
4140
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4077,7 +4179,7 @@ function validate$C(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4077
4179
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4078
4180
|
const obj_filters_item = obj_filters[i];
|
|
4079
4181
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4080
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4182
|
+
const referencepath_filters_itemValidationError = validate$W(obj_filters_item, path_filters_item);
|
|
4081
4183
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4082
4184
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
4083
4185
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4088,7 +4190,7 @@ function validate$C(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4088
4190
|
if (obj.insightsSettings !== undefined) {
|
|
4089
4191
|
const obj_insightsSettings = obj.insightsSettings;
|
|
4090
4192
|
const path_insightsSettings = path + '.insightsSettings';
|
|
4091
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
4193
|
+
const referencepath_insightsSettingsValidationError = validate$C(obj_insightsSettings, path_insightsSettings);
|
|
4092
4194
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
4093
4195
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
4094
4196
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4112,7 +4214,7 @@ function validate$C(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4112
4214
|
if (obj.measurementReference !== undefined) {
|
|
4113
4215
|
const obj_measurementReference = obj.measurementReference;
|
|
4114
4216
|
const path_measurementReference = path + '.measurementReference';
|
|
4115
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
4217
|
+
const referencepath_measurementReferenceValidationError = validate$L(obj_measurementReference, path_measurementReference);
|
|
4116
4218
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
4117
4219
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
4118
4220
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4122,7 +4224,7 @@ function validate$C(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4122
4224
|
if (obj.timeDimensionReference !== undefined) {
|
|
4123
4225
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
4124
4226
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
4125
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
4227
|
+
const referencepath_timeDimensionReferenceValidationError = validate$L(obj_timeDimensionReference, path_timeDimensionReference);
|
|
4126
4228
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
4127
4229
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
4128
4230
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4147,7 +4249,7 @@ function validate$C(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4147
4249
|
return v_error === undefined ? null : v_error;
|
|
4148
4250
|
}
|
|
4149
4251
|
|
|
4150
|
-
function validate$
|
|
4252
|
+
function validate$A(obj, path = 'SemanticParameterInputRepresentation') {
|
|
4151
4253
|
const v_error = (() => {
|
|
4152
4254
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4153
4255
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4247,8 +4349,8 @@ function validate$B(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
4247
4349
|
return v_error === undefined ? null : v_error;
|
|
4248
4350
|
}
|
|
4249
4351
|
|
|
4250
|
-
const VERSION$
|
|
4251
|
-
function validate$
|
|
4352
|
+
const VERSION$o = "221b0931360d7fcb0a1402b0b82071bd";
|
|
4353
|
+
function validate$z(obj, path = 'SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation') {
|
|
4252
4354
|
const v_error = (() => {
|
|
4253
4355
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4254
4356
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4276,10 +4378,10 @@ function validate$A(obj, path = 'SemanticModelExternalConnectionTableauPublished
|
|
|
4276
4378
|
})();
|
|
4277
4379
|
return v_error === undefined ? null : v_error;
|
|
4278
4380
|
}
|
|
4279
|
-
const select$
|
|
4381
|
+
const select$D = function SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentationSelect() {
|
|
4280
4382
|
return {
|
|
4281
4383
|
kind: 'Fragment',
|
|
4282
|
-
version: VERSION$
|
|
4384
|
+
version: VERSION$o,
|
|
4283
4385
|
private: [],
|
|
4284
4386
|
selections: [
|
|
4285
4387
|
{
|
|
@@ -4301,7 +4403,7 @@ const select$F = function SemanticModelExternalConnectionTableauPublishedDataSou
|
|
|
4301
4403
|
]
|
|
4302
4404
|
};
|
|
4303
4405
|
};
|
|
4304
|
-
function equals$
|
|
4406
|
+
function equals$o(existing, incoming) {
|
|
4305
4407
|
const existing_dataSourceId = existing.dataSourceId;
|
|
4306
4408
|
const incoming_dataSourceId = incoming.dataSourceId;
|
|
4307
4409
|
if (!(existing_dataSourceId === incoming_dataSourceId)) {
|
|
@@ -4325,8 +4427,8 @@ function equals$q(existing, incoming) {
|
|
|
4325
4427
|
return true;
|
|
4326
4428
|
}
|
|
4327
4429
|
|
|
4328
|
-
const VERSION$
|
|
4329
|
-
function validate$
|
|
4430
|
+
const VERSION$n = "e760a2becca995f7bd15e714d50c088c";
|
|
4431
|
+
function validate$y(obj, path = 'SemanticModelExternalConnectionOutputRepresentation') {
|
|
4330
4432
|
const v_error = (() => {
|
|
4331
4433
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4332
4434
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4358,7 +4460,7 @@ function validate$z(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
4358
4460
|
if (obj.tableauPublishedDataSource !== undefined) {
|
|
4359
4461
|
const obj_tableauPublishedDataSource = obj.tableauPublishedDataSource;
|
|
4360
4462
|
const path_tableauPublishedDataSource = path + '.tableauPublishedDataSource';
|
|
4361
|
-
const referencepath_tableauPublishedDataSourceValidationError = validate$
|
|
4463
|
+
const referencepath_tableauPublishedDataSourceValidationError = validate$z(obj_tableauPublishedDataSource, path_tableauPublishedDataSource);
|
|
4362
4464
|
if (referencepath_tableauPublishedDataSourceValidationError !== null) {
|
|
4363
4465
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation (at "' + path_tableauPublishedDataSource + '")\n';
|
|
4364
4466
|
message += referencepath_tableauPublishedDataSourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4373,11 +4475,11 @@ function validate$z(obj, path = 'SemanticModelExternalConnectionOutputRepresenta
|
|
|
4373
4475
|
})();
|
|
4374
4476
|
return v_error === undefined ? null : v_error;
|
|
4375
4477
|
}
|
|
4376
|
-
const select$
|
|
4377
|
-
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$
|
|
4478
|
+
const select$C = function SemanticModelExternalConnectionOutputRepresentationSelect() {
|
|
4479
|
+
const { selections: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__selections, opaque: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation__opaque, } = select$D();
|
|
4378
4480
|
return {
|
|
4379
4481
|
kind: 'Fragment',
|
|
4380
|
-
version: VERSION$
|
|
4482
|
+
version: VERSION$n,
|
|
4381
4483
|
private: [],
|
|
4382
4484
|
selections: [
|
|
4383
4485
|
{
|
|
@@ -4411,7 +4513,7 @@ const select$E = function SemanticModelExternalConnectionOutputRepresentationSel
|
|
|
4411
4513
|
]
|
|
4412
4514
|
};
|
|
4413
4515
|
};
|
|
4414
|
-
function equals$
|
|
4516
|
+
function equals$n(existing, incoming) {
|
|
4415
4517
|
const existing_apiName = existing.apiName;
|
|
4416
4518
|
const incoming_apiName = incoming.apiName;
|
|
4417
4519
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -4462,15 +4564,15 @@ function equals$p(existing, incoming) {
|
|
|
4462
4564
|
if (existing_tableauPublishedDataSource === undefined || incoming_tableauPublishedDataSource === undefined) {
|
|
4463
4565
|
return false;
|
|
4464
4566
|
}
|
|
4465
|
-
if (!(equals$
|
|
4567
|
+
if (!(equals$o(existing_tableauPublishedDataSource, incoming_tableauPublishedDataSource))) {
|
|
4466
4568
|
return false;
|
|
4467
4569
|
}
|
|
4468
4570
|
}
|
|
4469
4571
|
return true;
|
|
4470
4572
|
}
|
|
4471
4573
|
|
|
4472
|
-
const VERSION$
|
|
4473
|
-
function validate$
|
|
4574
|
+
const VERSION$m = "6f06bef394bf9744da80affc7b8109c6";
|
|
4575
|
+
function validate$x(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
4474
4576
|
const v_error = (() => {
|
|
4475
4577
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4476
4578
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4510,10 +4612,10 @@ function validate$y(obj, path = 'SemanticOverrideOutputRepresentation') {
|
|
|
4510
4612
|
})();
|
|
4511
4613
|
return v_error === undefined ? null : v_error;
|
|
4512
4614
|
}
|
|
4513
|
-
const select$
|
|
4615
|
+
const select$B = function SemanticOverrideOutputRepresentationSelect() {
|
|
4514
4616
|
return {
|
|
4515
4617
|
kind: 'Fragment',
|
|
4516
|
-
version: VERSION$
|
|
4618
|
+
version: VERSION$m,
|
|
4517
4619
|
private: [],
|
|
4518
4620
|
selections: [
|
|
4519
4621
|
{
|
|
@@ -4544,7 +4646,7 @@ const select$D = function SemanticOverrideOutputRepresentationSelect() {
|
|
|
4544
4646
|
]
|
|
4545
4647
|
};
|
|
4546
4648
|
};
|
|
4547
|
-
function equals$
|
|
4649
|
+
function equals$m(existing, incoming) {
|
|
4548
4650
|
const existing_entityFqn = existing.entityFqn;
|
|
4549
4651
|
const incoming_entityFqn = incoming.entityFqn;
|
|
4550
4652
|
if (!(existing_entityFqn === incoming_entityFqn)) {
|
|
@@ -4586,8 +4688,8 @@ function equals$o(existing, incoming) {
|
|
|
4586
4688
|
return true;
|
|
4587
4689
|
}
|
|
4588
4690
|
|
|
4589
|
-
const VERSION$
|
|
4590
|
-
function validate$
|
|
4691
|
+
const VERSION$l = "2ad1227d8439240d2dfe130b651f8a81";
|
|
4692
|
+
function validate$w(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
4591
4693
|
const v_error = (() => {
|
|
4592
4694
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4593
4695
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4686,7 +4788,7 @@ function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4686
4788
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4687
4789
|
const obj_filters_item = obj_filters[i];
|
|
4688
4790
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4689
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4791
|
+
const referencepath_filters_itemValidationError = validate$17(obj_filters_item, path_filters_item);
|
|
4690
4792
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4691
4793
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4692
4794
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4706,6 +4808,13 @@ function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4706
4808
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
4707
4809
|
}
|
|
4708
4810
|
}
|
|
4811
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
4812
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
4813
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
4814
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
4815
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
4816
|
+
}
|
|
4817
|
+
}
|
|
4709
4818
|
if (obj.isVisible !== undefined) {
|
|
4710
4819
|
const obj_isVisible = obj.isVisible;
|
|
4711
4820
|
const path_isVisible = path + '.isVisible';
|
|
@@ -4762,6 +4871,13 @@ function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4762
4871
|
return new TypeError('Expected "string" but received "' + typeof obj_syntax + '" (at "' + path_syntax + '")');
|
|
4763
4872
|
}
|
|
4764
4873
|
}
|
|
4874
|
+
if (obj.unmapped !== undefined) {
|
|
4875
|
+
const obj_unmapped = obj.unmapped;
|
|
4876
|
+
const path_unmapped = path + '.unmapped';
|
|
4877
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
4878
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
4879
|
+
}
|
|
4880
|
+
}
|
|
4765
4881
|
})();
|
|
4766
4882
|
return v_error === undefined ? null : v_error;
|
|
4767
4883
|
}
|
|
@@ -4778,11 +4894,11 @@ function keyBuilderFromType$b(luvio, object) {
|
|
|
4778
4894
|
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
4779
4895
|
return input;
|
|
4780
4896
|
}
|
|
4781
|
-
const select$
|
|
4782
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
4897
|
+
const select$A = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
4898
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$O();
|
|
4783
4899
|
return {
|
|
4784
4900
|
kind: 'Fragment',
|
|
4785
|
-
version: VERSION$
|
|
4901
|
+
version: VERSION$l,
|
|
4786
4902
|
private: [],
|
|
4787
4903
|
selections: [
|
|
4788
4904
|
{
|
|
@@ -4863,6 +4979,11 @@ const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
4863
4979
|
kind: 'Scalar',
|
|
4864
4980
|
required: false
|
|
4865
4981
|
},
|
|
4982
|
+
{
|
|
4983
|
+
name: 'isSystemDefinition',
|
|
4984
|
+
kind: 'Scalar',
|
|
4985
|
+
required: false
|
|
4986
|
+
},
|
|
4866
4987
|
{
|
|
4867
4988
|
name: 'isVisible',
|
|
4868
4989
|
kind: 'Scalar',
|
|
@@ -4902,11 +5023,16 @@ const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
4902
5023
|
name: 'syntax',
|
|
4903
5024
|
kind: 'Scalar',
|
|
4904
5025
|
required: false
|
|
5026
|
+
},
|
|
5027
|
+
{
|
|
5028
|
+
name: 'unmapped',
|
|
5029
|
+
kind: 'Scalar',
|
|
5030
|
+
required: false
|
|
4905
5031
|
}
|
|
4906
5032
|
]
|
|
4907
5033
|
};
|
|
4908
5034
|
};
|
|
4909
|
-
function equals$
|
|
5035
|
+
function equals$l(existing, incoming) {
|
|
4910
5036
|
const existing_isOverrideBase = existing.isOverrideBase;
|
|
4911
5037
|
const incoming_isOverrideBase = incoming.isOverrideBase;
|
|
4912
5038
|
// if at least one of these optionals is defined
|
|
@@ -4920,6 +5046,19 @@ function equals$n(existing, incoming) {
|
|
|
4920
5046
|
return false;
|
|
4921
5047
|
}
|
|
4922
5048
|
}
|
|
5049
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
5050
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
5051
|
+
// if at least one of these optionals is defined
|
|
5052
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
5053
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5054
|
+
// not equal
|
|
5055
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
5056
|
+
return false;
|
|
5057
|
+
}
|
|
5058
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
5059
|
+
return false;
|
|
5060
|
+
}
|
|
5061
|
+
}
|
|
4923
5062
|
const existing_isVisible = existing.isVisible;
|
|
4924
5063
|
const incoming_isVisible = incoming.isVisible;
|
|
4925
5064
|
// if at least one of these optionals is defined
|
|
@@ -4933,6 +5072,19 @@ function equals$n(existing, incoming) {
|
|
|
4933
5072
|
return false;
|
|
4934
5073
|
}
|
|
4935
5074
|
}
|
|
5075
|
+
const existing_unmapped = existing.unmapped;
|
|
5076
|
+
const incoming_unmapped = incoming.unmapped;
|
|
5077
|
+
// if at least one of these optionals is defined
|
|
5078
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
5079
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5080
|
+
// not equal
|
|
5081
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
5082
|
+
return false;
|
|
5083
|
+
}
|
|
5084
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
5085
|
+
return false;
|
|
5086
|
+
}
|
|
5087
|
+
}
|
|
4936
5088
|
const existing_decimalPlace = existing.decimalPlace;
|
|
4937
5089
|
const incoming_decimalPlace = incoming.decimalPlace;
|
|
4938
5090
|
// if at least one of these optionals is defined
|
|
@@ -5184,7 +5336,7 @@ function equals$n(existing, incoming) {
|
|
|
5184
5336
|
return false;
|
|
5185
5337
|
}
|
|
5186
5338
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
5187
|
-
if (!(equals$
|
|
5339
|
+
if (!(equals$x(existing_filters_item, incoming_filters_item))) {
|
|
5188
5340
|
return false;
|
|
5189
5341
|
}
|
|
5190
5342
|
});
|
|
@@ -5196,14 +5348,14 @@ function equals$n(existing, incoming) {
|
|
|
5196
5348
|
}
|
|
5197
5349
|
const ingest$f = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5198
5350
|
if (process.env.NODE_ENV !== 'production') {
|
|
5199
|
-
const validateError = validate$
|
|
5351
|
+
const validateError = validate$w(input);
|
|
5200
5352
|
if (validateError !== null) {
|
|
5201
5353
|
throw validateError;
|
|
5202
5354
|
}
|
|
5203
5355
|
}
|
|
5204
5356
|
const key = keyBuilderFromType$b(luvio, input);
|
|
5205
5357
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5206
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$
|
|
5358
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$l, RepresentationType$f, equals$l);
|
|
5207
5359
|
return createLink(key);
|
|
5208
5360
|
};
|
|
5209
5361
|
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5216,8 +5368,8 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5216
5368
|
});
|
|
5217
5369
|
}
|
|
5218
5370
|
|
|
5219
|
-
const VERSION$
|
|
5220
|
-
function validate$
|
|
5371
|
+
const VERSION$k = "f905fd3431f6d5d1f883c03af48eb1b3";
|
|
5372
|
+
function validate$v(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
5221
5373
|
const v_error = (() => {
|
|
5222
5374
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5223
5375
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5330,7 +5482,7 @@ function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
5330
5482
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5331
5483
|
const obj_filters_item = obj_filters[i];
|
|
5332
5484
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5333
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5485
|
+
const referencepath_filters_itemValidationError = validate$17(obj_filters_item, path_filters_item);
|
|
5334
5486
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5335
5487
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5336
5488
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5357,6 +5509,13 @@ function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
5357
5509
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isOverrideBase + '" (at "' + path_isOverrideBase + '")');
|
|
5358
5510
|
}
|
|
5359
5511
|
}
|
|
5512
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
5513
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
5514
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
5515
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
5516
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
5517
|
+
}
|
|
5518
|
+
}
|
|
5360
5519
|
if (obj.isVisible !== undefined) {
|
|
5361
5520
|
const obj_isVisible = obj.isVisible;
|
|
5362
5521
|
const path_isVisible = path + '.isVisible';
|
|
@@ -5434,6 +5593,13 @@ function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
5434
5593
|
return new TypeError('Expected "string" but received "' + typeof obj_totalAggregationType + '" (at "' + path_totalAggregationType + '")');
|
|
5435
5594
|
}
|
|
5436
5595
|
}
|
|
5596
|
+
if (obj.unmapped !== undefined) {
|
|
5597
|
+
const obj_unmapped = obj.unmapped;
|
|
5598
|
+
const path_unmapped = path + '.unmapped';
|
|
5599
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
5600
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
5601
|
+
}
|
|
5602
|
+
}
|
|
5437
5603
|
})();
|
|
5438
5604
|
return v_error === undefined ? null : v_error;
|
|
5439
5605
|
}
|
|
@@ -5450,11 +5616,11 @@ function keyBuilderFromType$a(luvio, object) {
|
|
|
5450
5616
|
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
5451
5617
|
return input;
|
|
5452
5618
|
}
|
|
5453
|
-
const select$
|
|
5454
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
5619
|
+
const select$z = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
5620
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$O();
|
|
5455
5621
|
return {
|
|
5456
5622
|
kind: 'Fragment',
|
|
5457
|
-
version: VERSION$
|
|
5623
|
+
version: VERSION$k,
|
|
5458
5624
|
private: [],
|
|
5459
5625
|
selections: [
|
|
5460
5626
|
{
|
|
@@ -5550,6 +5716,11 @@ const select$B = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
5550
5716
|
kind: 'Scalar',
|
|
5551
5717
|
required: false
|
|
5552
5718
|
},
|
|
5719
|
+
{
|
|
5720
|
+
name: 'isSystemDefinition',
|
|
5721
|
+
kind: 'Scalar',
|
|
5722
|
+
required: false
|
|
5723
|
+
},
|
|
5553
5724
|
{
|
|
5554
5725
|
name: 'isVisible',
|
|
5555
5726
|
kind: 'Scalar',
|
|
@@ -5604,11 +5775,16 @@ const select$B = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
5604
5775
|
name: 'totalAggregationType',
|
|
5605
5776
|
kind: 'Scalar',
|
|
5606
5777
|
required: false
|
|
5778
|
+
},
|
|
5779
|
+
{
|
|
5780
|
+
name: 'unmapped',
|
|
5781
|
+
kind: 'Scalar',
|
|
5782
|
+
required: false
|
|
5607
5783
|
}
|
|
5608
5784
|
]
|
|
5609
5785
|
};
|
|
5610
5786
|
};
|
|
5611
|
-
function equals$
|
|
5787
|
+
function equals$k(existing, incoming) {
|
|
5612
5788
|
const existing_isAggregatable = existing.isAggregatable;
|
|
5613
5789
|
const incoming_isAggregatable = incoming.isAggregatable;
|
|
5614
5790
|
// if at least one of these optionals is defined
|
|
@@ -5635,6 +5811,19 @@ function equals$m(existing, incoming) {
|
|
|
5635
5811
|
return false;
|
|
5636
5812
|
}
|
|
5637
5813
|
}
|
|
5814
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
5815
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
5816
|
+
// if at least one of these optionals is defined
|
|
5817
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
5818
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5819
|
+
// not equal
|
|
5820
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
5821
|
+
return false;
|
|
5822
|
+
}
|
|
5823
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
5824
|
+
return false;
|
|
5825
|
+
}
|
|
5826
|
+
}
|
|
5638
5827
|
const existing_isVisible = existing.isVisible;
|
|
5639
5828
|
const incoming_isVisible = incoming.isVisible;
|
|
5640
5829
|
// if at least one of these optionals is defined
|
|
@@ -5661,6 +5850,19 @@ function equals$m(existing, incoming) {
|
|
|
5661
5850
|
return false;
|
|
5662
5851
|
}
|
|
5663
5852
|
}
|
|
5853
|
+
const existing_unmapped = existing.unmapped;
|
|
5854
|
+
const incoming_unmapped = incoming.unmapped;
|
|
5855
|
+
// if at least one of these optionals is defined
|
|
5856
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
5857
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5858
|
+
// not equal
|
|
5859
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
5860
|
+
return false;
|
|
5861
|
+
}
|
|
5862
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
5863
|
+
return false;
|
|
5864
|
+
}
|
|
5865
|
+
}
|
|
5664
5866
|
const existing_decimalPlace = existing.decimalPlace;
|
|
5665
5867
|
const incoming_decimalPlace = incoming.decimalPlace;
|
|
5666
5868
|
// if at least one of these optionals is defined
|
|
@@ -5964,7 +6166,7 @@ function equals$m(existing, incoming) {
|
|
|
5964
6166
|
return false;
|
|
5965
6167
|
}
|
|
5966
6168
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
5967
|
-
if (!(equals$
|
|
6169
|
+
if (!(equals$x(existing_filters_item, incoming_filters_item))) {
|
|
5968
6170
|
return false;
|
|
5969
6171
|
}
|
|
5970
6172
|
});
|
|
@@ -5976,14 +6178,14 @@ function equals$m(existing, incoming) {
|
|
|
5976
6178
|
}
|
|
5977
6179
|
const ingest$e = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5978
6180
|
if (process.env.NODE_ENV !== 'production') {
|
|
5979
|
-
const validateError = validate$
|
|
6181
|
+
const validateError = validate$v(input);
|
|
5980
6182
|
if (validateError !== null) {
|
|
5981
6183
|
throw validateError;
|
|
5982
6184
|
}
|
|
5983
6185
|
}
|
|
5984
6186
|
const key = keyBuilderFromType$a(luvio, input);
|
|
5985
6187
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5986
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$
|
|
6188
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$k, RepresentationType$e, equals$k);
|
|
5987
6189
|
return createLink(key);
|
|
5988
6190
|
};
|
|
5989
6191
|
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5996,7 +6198,7 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5996
6198
|
});
|
|
5997
6199
|
}
|
|
5998
6200
|
|
|
5999
|
-
function validate$
|
|
6201
|
+
function validate$u(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
6000
6202
|
const v_error = (() => {
|
|
6001
6203
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6002
6204
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6091,6 +6293,13 @@ function validate$v(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
6091
6293
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
6092
6294
|
}
|
|
6093
6295
|
}
|
|
6296
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
6297
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
6298
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
6299
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
6300
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
6301
|
+
}
|
|
6302
|
+
}
|
|
6094
6303
|
if (obj.isVisible !== undefined) {
|
|
6095
6304
|
const obj_isVisible = obj.isVisible;
|
|
6096
6305
|
const path_isVisible = path + '.isVisible';
|
|
@@ -6147,11 +6356,18 @@ function validate$v(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
6147
6356
|
return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
|
|
6148
6357
|
}
|
|
6149
6358
|
}
|
|
6359
|
+
if (obj.unmapped !== undefined) {
|
|
6360
|
+
const obj_unmapped = obj.unmapped;
|
|
6361
|
+
const path_unmapped = path + '.unmapped';
|
|
6362
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
6363
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
6364
|
+
}
|
|
6365
|
+
}
|
|
6150
6366
|
})();
|
|
6151
6367
|
return v_error === undefined ? null : v_error;
|
|
6152
6368
|
}
|
|
6153
6369
|
|
|
6154
|
-
function validate$
|
|
6370
|
+
function validate$t(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
6155
6371
|
const v_error = (() => {
|
|
6156
6372
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6157
6373
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6267,6 +6483,13 @@ function validate$u(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
6267
6483
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
6268
6484
|
}
|
|
6269
6485
|
}
|
|
6486
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
6487
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
6488
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
6489
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
6490
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
6491
|
+
}
|
|
6492
|
+
}
|
|
6270
6493
|
if (obj.isVisible !== undefined) {
|
|
6271
6494
|
const obj_isVisible = obj.isVisible;
|
|
6272
6495
|
const path_isVisible = path + '.isVisible';
|
|
@@ -6337,12 +6560,19 @@ function validate$u(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
6337
6560
|
return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
|
|
6338
6561
|
}
|
|
6339
6562
|
}
|
|
6563
|
+
if (obj.unmapped !== undefined) {
|
|
6564
|
+
const obj_unmapped = obj.unmapped;
|
|
6565
|
+
const path_unmapped = path + '.unmapped';
|
|
6566
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
6567
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
6568
|
+
}
|
|
6569
|
+
}
|
|
6340
6570
|
})();
|
|
6341
6571
|
return v_error === undefined ? null : v_error;
|
|
6342
6572
|
}
|
|
6343
6573
|
|
|
6344
|
-
const VERSION$
|
|
6345
|
-
function validate$
|
|
6574
|
+
const VERSION$j = "c33583da925793f049a2e6e5269d7846";
|
|
6575
|
+
function validate$s(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
6346
6576
|
const v_error = (() => {
|
|
6347
6577
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6348
6578
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6420,7 +6650,7 @@ function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
6420
6650
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
6421
6651
|
const obj_filters_item = obj_filters[i];
|
|
6422
6652
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
6423
|
-
const referencepath_filters_itemValidationError = validate$
|
|
6653
|
+
const referencepath_filters_itemValidationError = validate$17(obj_filters_item, path_filters_item);
|
|
6424
6654
|
if (referencepath_filters_itemValidationError !== null) {
|
|
6425
6655
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
6426
6656
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6433,6 +6663,13 @@ function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
6433
6663
|
if (typeof obj_id !== 'string') {
|
|
6434
6664
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
6435
6665
|
}
|
|
6666
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
6667
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
6668
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
6669
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
6670
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
6671
|
+
}
|
|
6672
|
+
}
|
|
6436
6673
|
if (obj.label !== undefined) {
|
|
6437
6674
|
const obj_label = obj.label;
|
|
6438
6675
|
const path_label = path + '.label';
|
|
@@ -6470,7 +6707,7 @@ function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
6470
6707
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
6471
6708
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
6472
6709
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
6473
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
6710
|
+
const referencepath_semanticDimensions_itemValidationError = validate$u(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
6474
6711
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
6475
6712
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
6476
6713
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6494,7 +6731,7 @@ function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
6494
6731
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
6495
6732
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
6496
6733
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
6497
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
6734
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$t(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
6498
6735
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
6499
6736
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
6500
6737
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6523,6 +6760,13 @@ function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
6523
6760
|
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
6524
6761
|
}
|
|
6525
6762
|
}
|
|
6763
|
+
if (obj.unmapped !== undefined) {
|
|
6764
|
+
const obj_unmapped = obj.unmapped;
|
|
6765
|
+
const path_unmapped = path + '.unmapped';
|
|
6766
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
6767
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
6768
|
+
}
|
|
6769
|
+
}
|
|
6526
6770
|
})();
|
|
6527
6771
|
return v_error === undefined ? null : v_error;
|
|
6528
6772
|
}
|
|
@@ -6539,15 +6783,15 @@ function keyBuilderFromType$9(luvio, object) {
|
|
|
6539
6783
|
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
6540
6784
|
return input;
|
|
6541
6785
|
}
|
|
6542
|
-
const select$
|
|
6786
|
+
const select$y = function SemanticDataObjectOutputRepresentationSelect() {
|
|
6543
6787
|
return {
|
|
6544
6788
|
kind: 'Fragment',
|
|
6545
|
-
version: VERSION$
|
|
6789
|
+
version: VERSION$j,
|
|
6546
6790
|
private: [],
|
|
6547
6791
|
opaque: true
|
|
6548
6792
|
};
|
|
6549
6793
|
};
|
|
6550
|
-
function equals$
|
|
6794
|
+
function equals$j(existing, incoming) {
|
|
6551
6795
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
6552
6796
|
return false;
|
|
6553
6797
|
}
|
|
@@ -6555,14 +6799,14 @@ function equals$l(existing, incoming) {
|
|
|
6555
6799
|
}
|
|
6556
6800
|
const ingest$d = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6557
6801
|
if (process.env.NODE_ENV !== 'production') {
|
|
6558
|
-
const validateError = validate$
|
|
6802
|
+
const validateError = validate$s(input);
|
|
6559
6803
|
if (validateError !== null) {
|
|
6560
6804
|
throw validateError;
|
|
6561
6805
|
}
|
|
6562
6806
|
}
|
|
6563
6807
|
const key = keyBuilderFromType$9(luvio, input);
|
|
6564
6808
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6565
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$
|
|
6809
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$j, RepresentationType$d, equals$j);
|
|
6566
6810
|
return createLink(key);
|
|
6567
6811
|
};
|
|
6568
6812
|
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6575,8 +6819,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6575
6819
|
});
|
|
6576
6820
|
}
|
|
6577
6821
|
|
|
6578
|
-
const VERSION$
|
|
6579
|
-
function validate$
|
|
6822
|
+
const VERSION$i = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
6823
|
+
function validate$r(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
6580
6824
|
const v_error = (() => {
|
|
6581
6825
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6582
6826
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6585,10 +6829,10 @@ function validate$s(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
6585
6829
|
})();
|
|
6586
6830
|
return v_error === undefined ? null : v_error;
|
|
6587
6831
|
}
|
|
6588
|
-
const select$
|
|
6832
|
+
const select$x = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
6589
6833
|
return {
|
|
6590
6834
|
kind: 'Fragment',
|
|
6591
|
-
version: VERSION$
|
|
6835
|
+
version: VERSION$i,
|
|
6592
6836
|
private: [],
|
|
6593
6837
|
selections: [
|
|
6594
6838
|
{
|
|
@@ -6598,7 +6842,7 @@ const select$z = function BinDimensionConfigurationOutputRepresentationSelect()
|
|
|
6598
6842
|
]
|
|
6599
6843
|
};
|
|
6600
6844
|
};
|
|
6601
|
-
function equals$
|
|
6845
|
+
function equals$i(existing, incoming) {
|
|
6602
6846
|
const existing_constantBinSize = existing.constantBinSize;
|
|
6603
6847
|
const incoming_constantBinSize = incoming.constantBinSize;
|
|
6604
6848
|
if (!(existing_constantBinSize === incoming_constantBinSize)) {
|
|
@@ -6607,8 +6851,8 @@ function equals$k(existing, incoming) {
|
|
|
6607
6851
|
return true;
|
|
6608
6852
|
}
|
|
6609
6853
|
|
|
6610
|
-
const VERSION$
|
|
6611
|
-
function validate$
|
|
6854
|
+
const VERSION$h = "2cdadcd630abb7b981b2d131880a68c0";
|
|
6855
|
+
function validate$q(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
6612
6856
|
const v_error = (() => {
|
|
6613
6857
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6614
6858
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6635,10 +6879,10 @@ function validate$r(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
6635
6879
|
})();
|
|
6636
6880
|
return v_error === undefined ? null : v_error;
|
|
6637
6881
|
}
|
|
6638
|
-
const select$
|
|
6882
|
+
const select$w = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
6639
6883
|
return {
|
|
6640
6884
|
kind: 'Fragment',
|
|
6641
|
-
version: VERSION$
|
|
6885
|
+
version: VERSION$h,
|
|
6642
6886
|
private: [],
|
|
6643
6887
|
selections: [
|
|
6644
6888
|
{
|
|
@@ -6654,7 +6898,7 @@ const select$y = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
|
6654
6898
|
]
|
|
6655
6899
|
};
|
|
6656
6900
|
};
|
|
6657
|
-
function equals$
|
|
6901
|
+
function equals$h(existing, incoming) {
|
|
6658
6902
|
const existing_name = existing.name;
|
|
6659
6903
|
const incoming_name = incoming.name;
|
|
6660
6904
|
if (!(existing_name === incoming_name)) {
|
|
@@ -6681,8 +6925,8 @@ function equals$j(existing, incoming) {
|
|
|
6681
6925
|
return true;
|
|
6682
6926
|
}
|
|
6683
6927
|
|
|
6684
|
-
const VERSION$
|
|
6685
|
-
function validate$
|
|
6928
|
+
const VERSION$g = "55c60b6207985632192cb4e419822a86";
|
|
6929
|
+
function validate$p(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
6686
6930
|
const v_error = (() => {
|
|
6687
6931
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6688
6932
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6696,7 +6940,7 @@ function validate$q(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
6696
6940
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
6697
6941
|
const obj_groups_item = obj_groups[i];
|
|
6698
6942
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
6699
|
-
const referencepath_groups_itemValidationError = validate$
|
|
6943
|
+
const referencepath_groups_itemValidationError = validate$q(obj_groups_item, path_groups_item);
|
|
6700
6944
|
if (referencepath_groups_itemValidationError !== null) {
|
|
6701
6945
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
6702
6946
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6714,11 +6958,11 @@ function validate$q(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
6714
6958
|
})();
|
|
6715
6959
|
return v_error === undefined ? null : v_error;
|
|
6716
6960
|
}
|
|
6717
|
-
const select$
|
|
6718
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
6961
|
+
const select$v = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
6962
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$w();
|
|
6719
6963
|
return {
|
|
6720
6964
|
kind: 'Fragment',
|
|
6721
|
-
version: VERSION$
|
|
6965
|
+
version: VERSION$g,
|
|
6722
6966
|
private: [],
|
|
6723
6967
|
selections: [
|
|
6724
6968
|
{
|
|
@@ -6736,7 +6980,7 @@ const select$x = function GroupDimensionConfigurationOutputRepresentationSelect(
|
|
|
6736
6980
|
]
|
|
6737
6981
|
};
|
|
6738
6982
|
};
|
|
6739
|
-
function equals$
|
|
6983
|
+
function equals$g(existing, incoming) {
|
|
6740
6984
|
const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
|
|
6741
6985
|
const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
|
|
6742
6986
|
// if at least one of these optionals is defined
|
|
@@ -6760,7 +7004,7 @@ function equals$i(existing, incoming) {
|
|
|
6760
7004
|
return false;
|
|
6761
7005
|
}
|
|
6762
7006
|
const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
|
|
6763
|
-
if (!(equals$
|
|
7007
|
+
if (!(equals$h(existing_groups_item, incoming_groups_item))) {
|
|
6764
7008
|
return false;
|
|
6765
7009
|
}
|
|
6766
7010
|
});
|
|
@@ -6771,8 +7015,8 @@ function equals$i(existing, incoming) {
|
|
|
6771
7015
|
return true;
|
|
6772
7016
|
}
|
|
6773
7017
|
|
|
6774
|
-
const VERSION$
|
|
6775
|
-
function validate$
|
|
7018
|
+
const VERSION$f = "50dc390b159159afb1945b9a811c9f80";
|
|
7019
|
+
function validate$o(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
6776
7020
|
const v_error = (() => {
|
|
6777
7021
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6778
7022
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6780,7 +7024,7 @@ function validate$p(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
6780
7024
|
if (obj.binDimension !== undefined) {
|
|
6781
7025
|
const obj_binDimension = obj.binDimension;
|
|
6782
7026
|
const path_binDimension = path + '.binDimension';
|
|
6783
|
-
const referencepath_binDimensionValidationError = validate$
|
|
7027
|
+
const referencepath_binDimensionValidationError = validate$r(obj_binDimension, path_binDimension);
|
|
6784
7028
|
if (referencepath_binDimensionValidationError !== null) {
|
|
6785
7029
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
6786
7030
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6790,7 +7034,7 @@ function validate$p(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
6790
7034
|
if (obj.groupDimension !== undefined) {
|
|
6791
7035
|
const obj_groupDimension = obj.groupDimension;
|
|
6792
7036
|
const path_groupDimension = path + '.groupDimension';
|
|
6793
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
7037
|
+
const referencepath_groupDimensionValidationError = validate$p(obj_groupDimension, path_groupDimension);
|
|
6794
7038
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
6795
7039
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
6796
7040
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6800,12 +7044,12 @@ function validate$p(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
6800
7044
|
})();
|
|
6801
7045
|
return v_error === undefined ? null : v_error;
|
|
6802
7046
|
}
|
|
6803
|
-
const select$
|
|
6804
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
6805
|
-
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
7047
|
+
const select$u = function SemanticGroupingConfigurationOutputRepresentationSelect() {
|
|
7048
|
+
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$x();
|
|
7049
|
+
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$v();
|
|
6806
7050
|
return {
|
|
6807
7051
|
kind: 'Fragment',
|
|
6808
|
-
version: VERSION$
|
|
7052
|
+
version: VERSION$f,
|
|
6809
7053
|
private: [],
|
|
6810
7054
|
selections: [
|
|
6811
7055
|
{
|
|
@@ -6823,7 +7067,7 @@ const select$w = function SemanticGroupingConfigurationOutputRepresentationSelec
|
|
|
6823
7067
|
]
|
|
6824
7068
|
};
|
|
6825
7069
|
};
|
|
6826
|
-
function equals$
|
|
7070
|
+
function equals$f(existing, incoming) {
|
|
6827
7071
|
const existing_binDimension = existing.binDimension;
|
|
6828
7072
|
const incoming_binDimension = incoming.binDimension;
|
|
6829
7073
|
// if at least one of these optionals is defined
|
|
@@ -6833,7 +7077,7 @@ function equals$h(existing, incoming) {
|
|
|
6833
7077
|
if (existing_binDimension === undefined || incoming_binDimension === undefined) {
|
|
6834
7078
|
return false;
|
|
6835
7079
|
}
|
|
6836
|
-
if (!(equals$
|
|
7080
|
+
if (!(equals$i(existing_binDimension, incoming_binDimension))) {
|
|
6837
7081
|
return false;
|
|
6838
7082
|
}
|
|
6839
7083
|
}
|
|
@@ -6846,15 +7090,15 @@ function equals$h(existing, incoming) {
|
|
|
6846
7090
|
if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
|
|
6847
7091
|
return false;
|
|
6848
7092
|
}
|
|
6849
|
-
if (!(equals$
|
|
7093
|
+
if (!(equals$g(existing_groupDimension, incoming_groupDimension))) {
|
|
6850
7094
|
return false;
|
|
6851
7095
|
}
|
|
6852
7096
|
}
|
|
6853
7097
|
return true;
|
|
6854
7098
|
}
|
|
6855
7099
|
|
|
6856
|
-
const VERSION$
|
|
6857
|
-
function validate$
|
|
7100
|
+
const VERSION$e = "5ea5deda92fee8aa624509290ef6cf1c";
|
|
7101
|
+
function validate$n(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
6858
7102
|
const v_error = (() => {
|
|
6859
7103
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6860
7104
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6880,7 +7124,7 @@ function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
6880
7124
|
}
|
|
6881
7125
|
const obj_configuration = obj.configuration;
|
|
6882
7126
|
const path_configuration = path + '.configuration';
|
|
6883
|
-
const referencepath_configurationValidationError = validate$
|
|
7127
|
+
const referencepath_configurationValidationError = validate$o(obj_configuration, path_configuration);
|
|
6884
7128
|
if (referencepath_configurationValidationError !== null) {
|
|
6885
7129
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
6886
7130
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6905,7 +7149,7 @@ function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
6905
7149
|
}
|
|
6906
7150
|
const obj_fieldReference = obj.fieldReference;
|
|
6907
7151
|
const path_fieldReference = path + '.fieldReference';
|
|
6908
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
7152
|
+
const referencepath_fieldReferenceValidationError = validate$18(obj_fieldReference, path_fieldReference);
|
|
6909
7153
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
6910
7154
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
6911
7155
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6916,6 +7160,13 @@ function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
6916
7160
|
if (typeof obj_id !== 'string') {
|
|
6917
7161
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
6918
7162
|
}
|
|
7163
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
7164
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
7165
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
7166
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
7167
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
7168
|
+
}
|
|
7169
|
+
}
|
|
6919
7170
|
if (obj.label !== undefined) {
|
|
6920
7171
|
const obj_label = obj.label;
|
|
6921
7172
|
const path_label = path + '.label';
|
|
@@ -6942,6 +7193,13 @@ function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
6942
7193
|
if (typeof obj_type !== 'string') {
|
|
6943
7194
|
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
6944
7195
|
}
|
|
7196
|
+
if (obj.unmapped !== undefined) {
|
|
7197
|
+
const obj_unmapped = obj.unmapped;
|
|
7198
|
+
const path_unmapped = path + '.unmapped';
|
|
7199
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
7200
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
7201
|
+
}
|
|
7202
|
+
}
|
|
6945
7203
|
})();
|
|
6946
7204
|
return v_error === undefined ? null : v_error;
|
|
6947
7205
|
}
|
|
@@ -6958,12 +7216,12 @@ function keyBuilderFromType$8(luvio, object) {
|
|
|
6958
7216
|
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
6959
7217
|
return input;
|
|
6960
7218
|
}
|
|
6961
|
-
const select$
|
|
6962
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
6963
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
7219
|
+
const select$t = function SemanticGroupingOutputRepresentationSelect() {
|
|
7220
|
+
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$u();
|
|
7221
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$P();
|
|
6964
7222
|
return {
|
|
6965
7223
|
kind: 'Fragment',
|
|
6966
|
-
version: VERSION$
|
|
7224
|
+
version: VERSION$e,
|
|
6967
7225
|
private: [],
|
|
6968
7226
|
selections: [
|
|
6969
7227
|
{
|
|
@@ -7007,6 +7265,11 @@ const select$v = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
7007
7265
|
name: 'id',
|
|
7008
7266
|
kind: 'Scalar'
|
|
7009
7267
|
},
|
|
7268
|
+
{
|
|
7269
|
+
name: 'isSystemDefinition',
|
|
7270
|
+
kind: 'Scalar',
|
|
7271
|
+
required: false
|
|
7272
|
+
},
|
|
7010
7273
|
{
|
|
7011
7274
|
name: 'label',
|
|
7012
7275
|
kind: 'Scalar',
|
|
@@ -7025,18 +7288,49 @@ const select$v = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
7025
7288
|
{
|
|
7026
7289
|
name: 'type',
|
|
7027
7290
|
kind: 'Scalar'
|
|
7291
|
+
},
|
|
7292
|
+
{
|
|
7293
|
+
name: 'unmapped',
|
|
7294
|
+
kind: 'Scalar',
|
|
7295
|
+
required: false
|
|
7028
7296
|
}
|
|
7029
7297
|
]
|
|
7030
7298
|
};
|
|
7031
7299
|
};
|
|
7032
|
-
function equals$
|
|
7033
|
-
const
|
|
7034
|
-
const
|
|
7035
|
-
if
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7300
|
+
function equals$e(existing, incoming) {
|
|
7301
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
7302
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
7303
|
+
// if at least one of these optionals is defined
|
|
7304
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
7305
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7306
|
+
// not equal
|
|
7307
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
7308
|
+
return false;
|
|
7309
|
+
}
|
|
7310
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
7311
|
+
return false;
|
|
7312
|
+
}
|
|
7313
|
+
}
|
|
7314
|
+
const existing_unmapped = existing.unmapped;
|
|
7315
|
+
const incoming_unmapped = incoming.unmapped;
|
|
7316
|
+
// if at least one of these optionals is defined
|
|
7317
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
7318
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7319
|
+
// not equal
|
|
7320
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
7321
|
+
return false;
|
|
7322
|
+
}
|
|
7323
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
7324
|
+
return false;
|
|
7325
|
+
}
|
|
7326
|
+
}
|
|
7327
|
+
const existing_apiName = existing.apiName;
|
|
7328
|
+
const incoming_apiName = incoming.apiName;
|
|
7329
|
+
if (!(existing_apiName === incoming_apiName)) {
|
|
7330
|
+
return false;
|
|
7331
|
+
}
|
|
7332
|
+
const existing_baseModelApiName = existing.baseModelApiName;
|
|
7333
|
+
const incoming_baseModelApiName = incoming.baseModelApiName;
|
|
7040
7334
|
// if at least one of these optionals is defined
|
|
7041
7335
|
if (existing_baseModelApiName !== undefined || incoming_baseModelApiName !== undefined) {
|
|
7042
7336
|
// if one of these is not defined we know the other is defined and therefore
|
|
@@ -7135,26 +7429,26 @@ function equals$g(existing, incoming) {
|
|
|
7135
7429
|
}
|
|
7136
7430
|
const existing_configuration = existing.configuration;
|
|
7137
7431
|
const incoming_configuration = incoming.configuration;
|
|
7138
|
-
if (!(equals$
|
|
7432
|
+
if (!(equals$f(existing_configuration, incoming_configuration))) {
|
|
7139
7433
|
return false;
|
|
7140
7434
|
}
|
|
7141
7435
|
const existing_fieldReference = existing.fieldReference;
|
|
7142
7436
|
const incoming_fieldReference = incoming.fieldReference;
|
|
7143
|
-
if (!(equals$
|
|
7437
|
+
if (!(equals$y(existing_fieldReference, incoming_fieldReference))) {
|
|
7144
7438
|
return false;
|
|
7145
7439
|
}
|
|
7146
7440
|
return true;
|
|
7147
7441
|
}
|
|
7148
7442
|
const ingest$c = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7149
7443
|
if (process.env.NODE_ENV !== 'production') {
|
|
7150
|
-
const validateError = validate$
|
|
7444
|
+
const validateError = validate$n(input);
|
|
7151
7445
|
if (validateError !== null) {
|
|
7152
7446
|
throw validateError;
|
|
7153
7447
|
}
|
|
7154
7448
|
}
|
|
7155
7449
|
const key = keyBuilderFromType$8(luvio, input);
|
|
7156
7450
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7157
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$
|
|
7451
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$e, RepresentationType$c, equals$e);
|
|
7158
7452
|
return createLink(key);
|
|
7159
7453
|
};
|
|
7160
7454
|
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7167,8 +7461,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7167
7461
|
});
|
|
7168
7462
|
}
|
|
7169
7463
|
|
|
7170
|
-
const VERSION$
|
|
7171
|
-
function validate$
|
|
7464
|
+
const VERSION$d = "c5144c317ac72b60d580cab803514b8d";
|
|
7465
|
+
function validate$m(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
7172
7466
|
const v_error = (() => {
|
|
7173
7467
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7174
7468
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7211,10 +7505,10 @@ function validate$n(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
7211
7505
|
})();
|
|
7212
7506
|
return v_error === undefined ? null : v_error;
|
|
7213
7507
|
}
|
|
7214
|
-
const select$
|
|
7508
|
+
const select$s = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
7215
7509
|
return {
|
|
7216
7510
|
kind: 'Fragment',
|
|
7217
|
-
version: VERSION$
|
|
7511
|
+
version: VERSION$d,
|
|
7218
7512
|
private: [],
|
|
7219
7513
|
selections: [
|
|
7220
7514
|
{
|
|
@@ -7245,7 +7539,7 @@ const select$u = function SemanticRelationshipCriteriaOutputRepresentationSelect
|
|
|
7245
7539
|
]
|
|
7246
7540
|
};
|
|
7247
7541
|
};
|
|
7248
|
-
function equals$
|
|
7542
|
+
function equals$d(existing, incoming) {
|
|
7249
7543
|
const existing_joinOperator = existing.joinOperator;
|
|
7250
7544
|
const incoming_joinOperator = incoming.joinOperator;
|
|
7251
7545
|
// if at least one of these optionals is defined
|
|
@@ -7314,8 +7608,8 @@ function equals$f(existing, incoming) {
|
|
|
7314
7608
|
return true;
|
|
7315
7609
|
}
|
|
7316
7610
|
|
|
7317
|
-
const VERSION$
|
|
7318
|
-
function validate$
|
|
7611
|
+
const VERSION$c = "8c02af844319b9d5bd1c08e30e3ca8dd";
|
|
7612
|
+
function validate$l(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
7319
7613
|
const v_error = (() => {
|
|
7320
7614
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7321
7615
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7365,7 +7659,7 @@ function validate$m(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
7365
7659
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
7366
7660
|
const obj_criteria_item = obj_criteria[i];
|
|
7367
7661
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
7368
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
7662
|
+
const referencepath_criteria_itemValidationError = validate$m(obj_criteria_item, path_criteria_item);
|
|
7369
7663
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
7370
7664
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
7371
7665
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7392,6 +7686,13 @@ function validate$m(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
7392
7686
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isEnabled + '" (at "' + path_isEnabled + '")');
|
|
7393
7687
|
}
|
|
7394
7688
|
}
|
|
7689
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
7690
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
7691
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
7692
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
7693
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
7694
|
+
}
|
|
7695
|
+
}
|
|
7395
7696
|
if (obj.joinType !== undefined) {
|
|
7396
7697
|
const obj_joinType = obj.joinType;
|
|
7397
7698
|
const path_joinType = path + '.joinType';
|
|
@@ -7441,6 +7742,13 @@ function validate$m(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
7441
7742
|
return new TypeError('Expected "string" but received "' + typeof obj_rightSemanticDefinitionApiName + '" (at "' + path_rightSemanticDefinitionApiName + '")');
|
|
7442
7743
|
}
|
|
7443
7744
|
}
|
|
7745
|
+
if (obj.unmapped !== undefined) {
|
|
7746
|
+
const obj_unmapped = obj.unmapped;
|
|
7747
|
+
const path_unmapped = path + '.unmapped';
|
|
7748
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
7749
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
7750
|
+
}
|
|
7751
|
+
}
|
|
7444
7752
|
})();
|
|
7445
7753
|
return v_error === undefined ? null : v_error;
|
|
7446
7754
|
}
|
|
@@ -7457,11 +7765,11 @@ function keyBuilderFromType$7(luvio, object) {
|
|
|
7457
7765
|
function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
7458
7766
|
return input;
|
|
7459
7767
|
}
|
|
7460
|
-
const select$
|
|
7461
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
7768
|
+
const select$r = function SemanticRelationshipOutputRepresentationSelect() {
|
|
7769
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$s();
|
|
7462
7770
|
return {
|
|
7463
7771
|
kind: 'Fragment',
|
|
7464
|
-
version: VERSION$
|
|
7772
|
+
version: VERSION$c,
|
|
7465
7773
|
private: [],
|
|
7466
7774
|
selections: [
|
|
7467
7775
|
{
|
|
@@ -7512,6 +7820,11 @@ const select$t = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
7512
7820
|
kind: 'Scalar',
|
|
7513
7821
|
required: false
|
|
7514
7822
|
},
|
|
7823
|
+
{
|
|
7824
|
+
name: 'isSystemDefinition',
|
|
7825
|
+
kind: 'Scalar',
|
|
7826
|
+
required: false
|
|
7827
|
+
},
|
|
7515
7828
|
{
|
|
7516
7829
|
name: 'joinType',
|
|
7517
7830
|
kind: 'Scalar',
|
|
@@ -7546,11 +7859,16 @@ const select$t = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
7546
7859
|
name: 'rightSemanticDefinitionApiName',
|
|
7547
7860
|
kind: 'Scalar',
|
|
7548
7861
|
required: false
|
|
7862
|
+
},
|
|
7863
|
+
{
|
|
7864
|
+
name: 'unmapped',
|
|
7865
|
+
kind: 'Scalar',
|
|
7866
|
+
required: false
|
|
7549
7867
|
}
|
|
7550
7868
|
]
|
|
7551
7869
|
};
|
|
7552
7870
|
};
|
|
7553
|
-
function equals$
|
|
7871
|
+
function equals$c(existing, incoming) {
|
|
7554
7872
|
const existing_isEnabled = existing.isEnabled;
|
|
7555
7873
|
const incoming_isEnabled = incoming.isEnabled;
|
|
7556
7874
|
// if at least one of these optionals is defined
|
|
@@ -7564,6 +7882,32 @@ function equals$e(existing, incoming) {
|
|
|
7564
7882
|
return false;
|
|
7565
7883
|
}
|
|
7566
7884
|
}
|
|
7885
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
7886
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
7887
|
+
// if at least one of these optionals is defined
|
|
7888
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
7889
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7890
|
+
// not equal
|
|
7891
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
7892
|
+
return false;
|
|
7893
|
+
}
|
|
7894
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
7895
|
+
return false;
|
|
7896
|
+
}
|
|
7897
|
+
}
|
|
7898
|
+
const existing_unmapped = existing.unmapped;
|
|
7899
|
+
const incoming_unmapped = incoming.unmapped;
|
|
7900
|
+
// if at least one of these optionals is defined
|
|
7901
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
7902
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7903
|
+
// not equal
|
|
7904
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
7905
|
+
return false;
|
|
7906
|
+
}
|
|
7907
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
7908
|
+
return false;
|
|
7909
|
+
}
|
|
7910
|
+
}
|
|
7567
7911
|
const existing_apiName = existing.apiName;
|
|
7568
7912
|
const incoming_apiName = incoming.apiName;
|
|
7569
7913
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -7737,7 +8081,7 @@ function equals$e(existing, incoming) {
|
|
|
7737
8081
|
return false;
|
|
7738
8082
|
}
|
|
7739
8083
|
const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
|
|
7740
|
-
if (!(equals$
|
|
8084
|
+
if (!(equals$d(existing_criteria_item, incoming_criteria_item))) {
|
|
7741
8085
|
return false;
|
|
7742
8086
|
}
|
|
7743
8087
|
});
|
|
@@ -7749,14 +8093,14 @@ function equals$e(existing, incoming) {
|
|
|
7749
8093
|
}
|
|
7750
8094
|
const ingest$b = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7751
8095
|
if (process.env.NODE_ENV !== 'production') {
|
|
7752
|
-
const validateError = validate$
|
|
8096
|
+
const validateError = validate$l(input);
|
|
7753
8097
|
if (validateError !== null) {
|
|
7754
8098
|
throw validateError;
|
|
7755
8099
|
}
|
|
7756
8100
|
}
|
|
7757
8101
|
const key = keyBuilderFromType$7(luvio, input);
|
|
7758
8102
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7759
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$
|
|
8103
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$c, RepresentationType$b, equals$c);
|
|
7760
8104
|
return createLink(key);
|
|
7761
8105
|
};
|
|
7762
8106
|
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7769,8 +8113,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7769
8113
|
});
|
|
7770
8114
|
}
|
|
7771
8115
|
|
|
7772
|
-
const VERSION$
|
|
7773
|
-
function validate$
|
|
8116
|
+
const VERSION$b = "fddfb9284fc64c70f7d0debf4af30c95";
|
|
8117
|
+
function validate$k(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
7774
8118
|
const v_error = (() => {
|
|
7775
8119
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7776
8120
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7820,7 +8164,7 @@ function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
7820
8164
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
7821
8165
|
const obj_fields_item = obj_fields[i];
|
|
7822
8166
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
7823
|
-
const referencepath_fields_itemValidationError = validate$
|
|
8167
|
+
const referencepath_fields_itemValidationError = validate$19(obj_fields_item, path_fields_item);
|
|
7824
8168
|
if (referencepath_fields_itemValidationError !== null) {
|
|
7825
8169
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
7826
8170
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7833,6 +8177,13 @@ function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
7833
8177
|
if (typeof obj_id !== 'string') {
|
|
7834
8178
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
7835
8179
|
}
|
|
8180
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
8181
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
8182
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
8183
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
8184
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
8185
|
+
}
|
|
8186
|
+
}
|
|
7836
8187
|
if (obj.label !== undefined) {
|
|
7837
8188
|
const obj_label = obj.label;
|
|
7838
8189
|
const path_label = path + '.label';
|
|
@@ -7864,7 +8215,7 @@ function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
7864
8215
|
if (obj.semanticDimension !== undefined) {
|
|
7865
8216
|
const obj_semanticDimension = obj.semanticDimension;
|
|
7866
8217
|
const path_semanticDimension = path + '.semanticDimension';
|
|
7867
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
8218
|
+
const referencepath_semanticDimensionValidationError = validate$u(obj_semanticDimension, path_semanticDimension);
|
|
7868
8219
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
7869
8220
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
7870
8221
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7874,13 +8225,20 @@ function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
7874
8225
|
if (obj.semanticMeasurement !== undefined) {
|
|
7875
8226
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
7876
8227
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
7877
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
8228
|
+
const referencepath_semanticMeasurementValidationError = validate$t(obj_semanticMeasurement, path_semanticMeasurement);
|
|
7878
8229
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
7879
8230
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
7880
8231
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
7881
8232
|
return new TypeError(message);
|
|
7882
8233
|
}
|
|
7883
8234
|
}
|
|
8235
|
+
if (obj.unmapped !== undefined) {
|
|
8236
|
+
const obj_unmapped = obj.unmapped;
|
|
8237
|
+
const path_unmapped = path + '.unmapped';
|
|
8238
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
8239
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
8240
|
+
}
|
|
8241
|
+
}
|
|
7884
8242
|
})();
|
|
7885
8243
|
return v_error === undefined ? null : v_error;
|
|
7886
8244
|
}
|
|
@@ -7897,15 +8255,15 @@ function keyBuilderFromType$6(luvio, object) {
|
|
|
7897
8255
|
function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
7898
8256
|
return input;
|
|
7899
8257
|
}
|
|
7900
|
-
const select$
|
|
8258
|
+
const select$q = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
7901
8259
|
return {
|
|
7902
8260
|
kind: 'Fragment',
|
|
7903
|
-
version: VERSION$
|
|
8261
|
+
version: VERSION$b,
|
|
7904
8262
|
private: [],
|
|
7905
8263
|
opaque: true
|
|
7906
8264
|
};
|
|
7907
8265
|
};
|
|
7908
|
-
function equals$
|
|
8266
|
+
function equals$b(existing, incoming) {
|
|
7909
8267
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
7910
8268
|
return false;
|
|
7911
8269
|
}
|
|
@@ -7913,14 +8271,14 @@ function equals$d(existing, incoming) {
|
|
|
7913
8271
|
}
|
|
7914
8272
|
const ingest$a = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7915
8273
|
if (process.env.NODE_ENV !== 'production') {
|
|
7916
|
-
const validateError = validate$
|
|
8274
|
+
const validateError = validate$k(input);
|
|
7917
8275
|
if (validateError !== null) {
|
|
7918
8276
|
throw validateError;
|
|
7919
8277
|
}
|
|
7920
8278
|
}
|
|
7921
8279
|
const key = keyBuilderFromType$6(luvio, input);
|
|
7922
8280
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7923
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$
|
|
8281
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$b, RepresentationType$a, equals$b);
|
|
7924
8282
|
return createLink(key);
|
|
7925
8283
|
};
|
|
7926
8284
|
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7933,8 +8291,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7933
8291
|
});
|
|
7934
8292
|
}
|
|
7935
8293
|
|
|
7936
|
-
const VERSION$
|
|
7937
|
-
function validate$
|
|
8294
|
+
const VERSION$a = "69fe23112140e9fae50135dcb15c24c2";
|
|
8295
|
+
function validate$j(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
7938
8296
|
const v_error = (() => {
|
|
7939
8297
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7940
8298
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8109,10 +8467,10 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
|
8109
8467
|
}
|
|
8110
8468
|
return input;
|
|
8111
8469
|
}
|
|
8112
|
-
const select$
|
|
8470
|
+
const select$p = function SemanticUnionOutputRepresentationSelect() {
|
|
8113
8471
|
return {
|
|
8114
8472
|
kind: 'Fragment',
|
|
8115
|
-
version: VERSION$
|
|
8473
|
+
version: VERSION$a,
|
|
8116
8474
|
private: [],
|
|
8117
8475
|
selections: [
|
|
8118
8476
|
{
|
|
@@ -8171,19 +8529,19 @@ const select$r = function SemanticUnionOutputRepresentationSelect() {
|
|
|
8171
8529
|
kind: 'Link',
|
|
8172
8530
|
plural: true,
|
|
8173
8531
|
required: false,
|
|
8174
|
-
fragment: select$
|
|
8532
|
+
fragment: select$y()
|
|
8175
8533
|
},
|
|
8176
8534
|
{
|
|
8177
8535
|
name: 'semanticMappedFields',
|
|
8178
8536
|
kind: 'Link',
|
|
8179
8537
|
plural: true,
|
|
8180
8538
|
required: false,
|
|
8181
|
-
fragment: select$
|
|
8539
|
+
fragment: select$q()
|
|
8182
8540
|
}
|
|
8183
8541
|
]
|
|
8184
8542
|
};
|
|
8185
8543
|
};
|
|
8186
|
-
function equals$
|
|
8544
|
+
function equals$a(existing, incoming) {
|
|
8187
8545
|
const existing_apiName = existing.apiName;
|
|
8188
8546
|
const incoming_apiName = incoming.apiName;
|
|
8189
8547
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -8335,14 +8693,14 @@ function equals$c(existing, incoming) {
|
|
|
8335
8693
|
}
|
|
8336
8694
|
const ingest$9 = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8337
8695
|
if (process.env.NODE_ENV !== 'production') {
|
|
8338
|
-
const validateError = validate$
|
|
8696
|
+
const validateError = validate$j(input);
|
|
8339
8697
|
if (validateError !== null) {
|
|
8340
8698
|
throw validateError;
|
|
8341
8699
|
}
|
|
8342
8700
|
}
|
|
8343
8701
|
const key = keyBuilderFromType$5(luvio, input);
|
|
8344
8702
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
8345
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$
|
|
8703
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$a, RepresentationType$9, equals$a);
|
|
8346
8704
|
return createLink(key);
|
|
8347
8705
|
};
|
|
8348
8706
|
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -8367,8 +8725,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8367
8725
|
}
|
|
8368
8726
|
}
|
|
8369
8727
|
|
|
8370
|
-
const VERSION$
|
|
8371
|
-
function validate$
|
|
8728
|
+
const VERSION$9 = "5056fdb7575699f2bc25f1d504ec499a";
|
|
8729
|
+
function validate$i(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
8372
8730
|
const v_error = (() => {
|
|
8373
8731
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8374
8732
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8432,7 +8790,7 @@ function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
8432
8790
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
8433
8791
|
const obj_filters_item = obj_filters[i];
|
|
8434
8792
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
8435
|
-
const referencepath_filters_itemValidationError = validate$
|
|
8793
|
+
const referencepath_filters_itemValidationError = validate$17(obj_filters_item, path_filters_item);
|
|
8436
8794
|
if (referencepath_filters_itemValidationError !== null) {
|
|
8437
8795
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
8438
8796
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8445,6 +8803,13 @@ function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
8445
8803
|
if (typeof obj_id !== 'string') {
|
|
8446
8804
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8447
8805
|
}
|
|
8806
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
8807
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
8808
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
8809
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
8810
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
8811
|
+
}
|
|
8812
|
+
}
|
|
8448
8813
|
if (obj.label !== undefined) {
|
|
8449
8814
|
const obj_label = obj.label;
|
|
8450
8815
|
const path_label = path + '.label';
|
|
@@ -8522,6 +8887,13 @@ function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
8522
8887
|
return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
|
|
8523
8888
|
}
|
|
8524
8889
|
}
|
|
8890
|
+
if (obj.unmapped !== undefined) {
|
|
8891
|
+
const obj_unmapped = obj.unmapped;
|
|
8892
|
+
const path_unmapped = path + '.unmapped';
|
|
8893
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
8894
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
8895
|
+
}
|
|
8896
|
+
}
|
|
8525
8897
|
})();
|
|
8526
8898
|
return v_error === undefined ? null : v_error;
|
|
8527
8899
|
}
|
|
@@ -8592,11 +8964,11 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
8592
8964
|
}
|
|
8593
8965
|
return input;
|
|
8594
8966
|
}
|
|
8595
|
-
const select$
|
|
8596
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
8967
|
+
const select$o = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
8968
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$O();
|
|
8597
8969
|
return {
|
|
8598
8970
|
kind: 'Fragment',
|
|
8599
|
-
version: VERSION$
|
|
8971
|
+
version: VERSION$9,
|
|
8600
8972
|
private: [],
|
|
8601
8973
|
selections: [
|
|
8602
8974
|
{
|
|
@@ -8647,6 +9019,11 @@ const select$q = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
8647
9019
|
name: 'id',
|
|
8648
9020
|
kind: 'Scalar'
|
|
8649
9021
|
},
|
|
9022
|
+
{
|
|
9023
|
+
name: 'isSystemDefinition',
|
|
9024
|
+
kind: 'Scalar',
|
|
9025
|
+
required: false
|
|
9026
|
+
},
|
|
8650
9027
|
{
|
|
8651
9028
|
name: 'label',
|
|
8652
9029
|
kind: 'Scalar',
|
|
@@ -8667,21 +9044,21 @@ const select$q = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
8667
9044
|
kind: 'Link',
|
|
8668
9045
|
plural: true,
|
|
8669
9046
|
required: false,
|
|
8670
|
-
fragment: select$
|
|
9047
|
+
fragment: select$y()
|
|
8671
9048
|
},
|
|
8672
9049
|
{
|
|
8673
9050
|
name: 'semanticRelationships',
|
|
8674
9051
|
kind: 'Link',
|
|
8675
9052
|
plural: true,
|
|
8676
9053
|
required: false,
|
|
8677
|
-
fragment: select$
|
|
9054
|
+
fragment: select$r()
|
|
8678
9055
|
},
|
|
8679
9056
|
{
|
|
8680
9057
|
name: 'semanticUnions',
|
|
8681
9058
|
kind: 'Link',
|
|
8682
9059
|
plural: true,
|
|
8683
9060
|
required: false,
|
|
8684
|
-
fragment: select$
|
|
9061
|
+
fragment: select$p()
|
|
8685
9062
|
},
|
|
8686
9063
|
{
|
|
8687
9064
|
name: 'semanticViewTypeEnum',
|
|
@@ -8692,11 +9069,42 @@ const select$q = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
8692
9069
|
name: 'tableType',
|
|
8693
9070
|
kind: 'Scalar',
|
|
8694
9071
|
required: false
|
|
9072
|
+
},
|
|
9073
|
+
{
|
|
9074
|
+
name: 'unmapped',
|
|
9075
|
+
kind: 'Scalar',
|
|
9076
|
+
required: false
|
|
8695
9077
|
}
|
|
8696
9078
|
]
|
|
8697
9079
|
};
|
|
8698
9080
|
};
|
|
8699
|
-
function equals$
|
|
9081
|
+
function equals$9(existing, incoming) {
|
|
9082
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
9083
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
9084
|
+
// if at least one of these optionals is defined
|
|
9085
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
9086
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9087
|
+
// not equal
|
|
9088
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
9089
|
+
return false;
|
|
9090
|
+
}
|
|
9091
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
9092
|
+
return false;
|
|
9093
|
+
}
|
|
9094
|
+
}
|
|
9095
|
+
const existing_unmapped = existing.unmapped;
|
|
9096
|
+
const incoming_unmapped = incoming.unmapped;
|
|
9097
|
+
// if at least one of these optionals is defined
|
|
9098
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
9099
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9100
|
+
// not equal
|
|
9101
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
9102
|
+
return false;
|
|
9103
|
+
}
|
|
9104
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
9105
|
+
return false;
|
|
9106
|
+
}
|
|
9107
|
+
}
|
|
8700
9108
|
const existing_apiName = existing.apiName;
|
|
8701
9109
|
const incoming_apiName = incoming.apiName;
|
|
8702
9110
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -8857,7 +9265,7 @@ function equals$b(existing, incoming) {
|
|
|
8857
9265
|
return false;
|
|
8858
9266
|
}
|
|
8859
9267
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
8860
|
-
if (!(equals$
|
|
9268
|
+
if (!(equals$x(existing_filters_item, incoming_filters_item))) {
|
|
8861
9269
|
return false;
|
|
8862
9270
|
}
|
|
8863
9271
|
});
|
|
@@ -8923,14 +9331,14 @@ function equals$b(existing, incoming) {
|
|
|
8923
9331
|
}
|
|
8924
9332
|
const ingest$8 = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8925
9333
|
if (process.env.NODE_ENV !== 'production') {
|
|
8926
|
-
const validateError = validate$
|
|
9334
|
+
const validateError = validate$i(input);
|
|
8927
9335
|
if (validateError !== null) {
|
|
8928
9336
|
throw validateError;
|
|
8929
9337
|
}
|
|
8930
9338
|
}
|
|
8931
9339
|
const key = keyBuilderFromType$4(luvio, input);
|
|
8932
9340
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
8933
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$
|
|
9341
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$9, RepresentationType$8, equals$9);
|
|
8934
9342
|
return createLink(key);
|
|
8935
9343
|
};
|
|
8936
9344
|
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -8961,8 +9369,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8961
9369
|
}
|
|
8962
9370
|
}
|
|
8963
9371
|
|
|
8964
|
-
const VERSION$
|
|
8965
|
-
function validate$
|
|
9372
|
+
const VERSION$8 = "158d115be773406f841e4351d481d398";
|
|
9373
|
+
function validate$h(obj, path = 'SemanticParameterListValueOutputRepresentation') {
|
|
8966
9374
|
const v_error = (() => {
|
|
8967
9375
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8968
9376
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8984,10 +9392,10 @@ function validate$i(obj, path = 'SemanticParameterListValueOutputRepresentation'
|
|
|
8984
9392
|
})();
|
|
8985
9393
|
return v_error === undefined ? null : v_error;
|
|
8986
9394
|
}
|
|
8987
|
-
const select$
|
|
9395
|
+
const select$n = function SemanticParameterListValueOutputRepresentationSelect() {
|
|
8988
9396
|
return {
|
|
8989
9397
|
kind: 'Fragment',
|
|
8990
|
-
version: VERSION$
|
|
9398
|
+
version: VERSION$8,
|
|
8991
9399
|
private: [],
|
|
8992
9400
|
selections: [
|
|
8993
9401
|
{
|
|
@@ -9003,7 +9411,7 @@ const select$p = function SemanticParameterListValueOutputRepresentationSelect()
|
|
|
9003
9411
|
]
|
|
9004
9412
|
};
|
|
9005
9413
|
};
|
|
9006
|
-
function equals$
|
|
9414
|
+
function equals$8(existing, incoming) {
|
|
9007
9415
|
const existing_displayName = existing.displayName;
|
|
9008
9416
|
const incoming_displayName = incoming.displayName;
|
|
9009
9417
|
// if at least one of these optionals is defined
|
|
@@ -9033,8 +9441,8 @@ function equals$a(existing, incoming) {
|
|
|
9033
9441
|
return true;
|
|
9034
9442
|
}
|
|
9035
9443
|
|
|
9036
|
-
const VERSION$
|
|
9037
|
-
function validate$
|
|
9444
|
+
const VERSION$7 = "1463471c69296e6727623faee2cbfe0c";
|
|
9445
|
+
function validate$g(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
9038
9446
|
const v_error = (() => {
|
|
9039
9447
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9040
9448
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9048,7 +9456,7 @@ function validate$h(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
9048
9456
|
for (let i = 0; i < obj_allowedValues.length; i++) {
|
|
9049
9457
|
const obj_allowedValues_item = obj_allowedValues[i];
|
|
9050
9458
|
const path_allowedValues_item = path_allowedValues + '[' + i + ']';
|
|
9051
|
-
const referencepath_allowedValues_itemValidationError = validate$
|
|
9459
|
+
const referencepath_allowedValues_itemValidationError = validate$h(obj_allowedValues_item, path_allowedValues_item);
|
|
9052
9460
|
if (referencepath_allowedValues_itemValidationError !== null) {
|
|
9053
9461
|
let message = 'Object doesn\'t match SemanticParameterListValueOutputRepresentation (at "' + path_allowedValues_item + '")\n';
|
|
9054
9462
|
message += referencepath_allowedValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9111,6 +9519,13 @@ function validate$h(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
9111
9519
|
if (typeof obj_id !== 'string') {
|
|
9112
9520
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
9113
9521
|
}
|
|
9522
|
+
if (obj.isSystemDefinition !== undefined) {
|
|
9523
|
+
const obj_isSystemDefinition = obj.isSystemDefinition;
|
|
9524
|
+
const path_isSystemDefinition = path + '.isSystemDefinition';
|
|
9525
|
+
if (typeof obj_isSystemDefinition !== 'boolean') {
|
|
9526
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSystemDefinition + '" (at "' + path_isSystemDefinition + '")');
|
|
9527
|
+
}
|
|
9528
|
+
}
|
|
9114
9529
|
if (obj.label !== undefined) {
|
|
9115
9530
|
const obj_label = obj.label;
|
|
9116
9531
|
const path_label = path + '.label';
|
|
@@ -9160,6 +9575,13 @@ function validate$h(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
9160
9575
|
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
9161
9576
|
}
|
|
9162
9577
|
}
|
|
9578
|
+
if (obj.unmapped !== undefined) {
|
|
9579
|
+
const obj_unmapped = obj.unmapped;
|
|
9580
|
+
const path_unmapped = path + '.unmapped';
|
|
9581
|
+
if (typeof obj_unmapped !== 'boolean') {
|
|
9582
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_unmapped + '" (at "' + path_unmapped + '")');
|
|
9583
|
+
}
|
|
9584
|
+
}
|
|
9163
9585
|
if (obj.values !== undefined) {
|
|
9164
9586
|
const obj_values = obj.values;
|
|
9165
9587
|
const path_values = path + '.values';
|
|
@@ -9190,11 +9612,11 @@ function keyBuilderFromType$3(luvio, object) {
|
|
|
9190
9612
|
function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
9191
9613
|
return input;
|
|
9192
9614
|
}
|
|
9193
|
-
const select$
|
|
9194
|
-
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$
|
|
9615
|
+
const select$m = function SemanticParameterOutputRepresentationSelect() {
|
|
9616
|
+
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$n();
|
|
9195
9617
|
return {
|
|
9196
9618
|
kind: 'Fragment',
|
|
9197
|
-
version: VERSION$
|
|
9619
|
+
version: VERSION$7,
|
|
9198
9620
|
private: [],
|
|
9199
9621
|
selections: [
|
|
9200
9622
|
{
|
|
@@ -9245,6 +9667,11 @@ const select$o = function SemanticParameterOutputRepresentationSelect() {
|
|
|
9245
9667
|
name: 'id',
|
|
9246
9668
|
kind: 'Scalar'
|
|
9247
9669
|
},
|
|
9670
|
+
{
|
|
9671
|
+
name: 'isSystemDefinition',
|
|
9672
|
+
kind: 'Scalar',
|
|
9673
|
+
required: false
|
|
9674
|
+
},
|
|
9248
9675
|
{
|
|
9249
9676
|
name: 'label',
|
|
9250
9677
|
kind: 'Scalar',
|
|
@@ -9280,6 +9707,11 @@ const select$o = function SemanticParameterOutputRepresentationSelect() {
|
|
|
9280
9707
|
kind: 'Scalar',
|
|
9281
9708
|
required: false
|
|
9282
9709
|
},
|
|
9710
|
+
{
|
|
9711
|
+
name: 'unmapped',
|
|
9712
|
+
kind: 'Scalar',
|
|
9713
|
+
required: false
|
|
9714
|
+
},
|
|
9283
9715
|
{
|
|
9284
9716
|
name: 'values',
|
|
9285
9717
|
kind: 'Scalar',
|
|
@@ -9289,7 +9721,33 @@ const select$o = function SemanticParameterOutputRepresentationSelect() {
|
|
|
9289
9721
|
]
|
|
9290
9722
|
};
|
|
9291
9723
|
};
|
|
9292
|
-
function equals$
|
|
9724
|
+
function equals$7(existing, incoming) {
|
|
9725
|
+
const existing_isSystemDefinition = existing.isSystemDefinition;
|
|
9726
|
+
const incoming_isSystemDefinition = incoming.isSystemDefinition;
|
|
9727
|
+
// if at least one of these optionals is defined
|
|
9728
|
+
if (existing_isSystemDefinition !== undefined || incoming_isSystemDefinition !== undefined) {
|
|
9729
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9730
|
+
// not equal
|
|
9731
|
+
if (existing_isSystemDefinition === undefined || incoming_isSystemDefinition === undefined) {
|
|
9732
|
+
return false;
|
|
9733
|
+
}
|
|
9734
|
+
if (!(existing_isSystemDefinition === incoming_isSystemDefinition)) {
|
|
9735
|
+
return false;
|
|
9736
|
+
}
|
|
9737
|
+
}
|
|
9738
|
+
const existing_unmapped = existing.unmapped;
|
|
9739
|
+
const incoming_unmapped = incoming.unmapped;
|
|
9740
|
+
// if at least one of these optionals is defined
|
|
9741
|
+
if (existing_unmapped !== undefined || incoming_unmapped !== undefined) {
|
|
9742
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9743
|
+
// not equal
|
|
9744
|
+
if (existing_unmapped === undefined || incoming_unmapped === undefined) {
|
|
9745
|
+
return false;
|
|
9746
|
+
}
|
|
9747
|
+
if (!(existing_unmapped === incoming_unmapped)) {
|
|
9748
|
+
return false;
|
|
9749
|
+
}
|
|
9750
|
+
}
|
|
9293
9751
|
const existing_apiName = existing.apiName;
|
|
9294
9752
|
const incoming_apiName = incoming.apiName;
|
|
9295
9753
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -9476,7 +9934,7 @@ function equals$9(existing, incoming) {
|
|
|
9476
9934
|
return false;
|
|
9477
9935
|
}
|
|
9478
9936
|
const equals_allowedValues_items = equalsArray(existing_allowedValues, incoming_allowedValues, (existing_allowedValues_item, incoming_allowedValues_item) => {
|
|
9479
|
-
if (!(equals$
|
|
9937
|
+
if (!(equals$8(existing_allowedValues_item, incoming_allowedValues_item))) {
|
|
9480
9938
|
return false;
|
|
9481
9939
|
}
|
|
9482
9940
|
});
|
|
@@ -9506,14 +9964,14 @@ function equals$9(existing, incoming) {
|
|
|
9506
9964
|
}
|
|
9507
9965
|
const ingest$7 = function SemanticParameterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9508
9966
|
if (process.env.NODE_ENV !== 'production') {
|
|
9509
|
-
const validateError = validate$
|
|
9967
|
+
const validateError = validate$g(input);
|
|
9510
9968
|
if (validateError !== null) {
|
|
9511
9969
|
throw validateError;
|
|
9512
9970
|
}
|
|
9513
9971
|
}
|
|
9514
9972
|
const key = keyBuilderFromType$3(luvio, input);
|
|
9515
9973
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
9516
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SemanticAuthoring", VERSION$
|
|
9974
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SemanticAuthoring", VERSION$7, RepresentationType$7, equals$7);
|
|
9517
9975
|
return createLink(key);
|
|
9518
9976
|
};
|
|
9519
9977
|
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -9526,8 +9984,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9526
9984
|
});
|
|
9527
9985
|
}
|
|
9528
9986
|
|
|
9529
|
-
const VERSION$
|
|
9530
|
-
function validate$
|
|
9987
|
+
const VERSION$6 = "384950eda90c1492434fc4519368df85";
|
|
9988
|
+
function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
9531
9989
|
const v_error = (() => {
|
|
9532
9990
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9533
9991
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9560,7 +10018,7 @@ function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9560
10018
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
9561
10019
|
const obj_baseModels_item = obj_baseModels[i];
|
|
9562
10020
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
9563
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
10021
|
+
const referencepath_baseModels_itemValidationError = validate$11(obj_baseModels_item, path_baseModels_item);
|
|
9564
10022
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
9565
10023
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
9566
10024
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9620,7 +10078,7 @@ function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9620
10078
|
for (let i = 0; i < obj_externalConnections.length; i++) {
|
|
9621
10079
|
const obj_externalConnections_item = obj_externalConnections[i];
|
|
9622
10080
|
const path_externalConnections_item = path_externalConnections + '[' + i + ']';
|
|
9623
|
-
const referencepath_externalConnections_itemValidationError = validate$
|
|
10081
|
+
const referencepath_externalConnections_itemValidationError = validate$y(obj_externalConnections_item, path_externalConnections_item);
|
|
9624
10082
|
if (referencepath_externalConnections_itemValidationError !== null) {
|
|
9625
10083
|
let message = 'Object doesn\'t match SemanticModelExternalConnectionOutputRepresentation (at "' + path_externalConnections_item + '")\n';
|
|
9626
10084
|
message += referencepath_externalConnections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9637,7 +10095,7 @@ function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
9637
10095
|
for (let i = 0; i < obj_fieldsOverrides.length; i++) {
|
|
9638
10096
|
const obj_fieldsOverrides_item = obj_fieldsOverrides[i];
|
|
9639
10097
|
const path_fieldsOverrides_item = path_fieldsOverrides + '[' + i + ']';
|
|
9640
|
-
const referencepath_fieldsOverrides_itemValidationError = validate$
|
|
10098
|
+
const referencepath_fieldsOverrides_itemValidationError = validate$x(obj_fieldsOverrides_item, path_fieldsOverrides_item);
|
|
9641
10099
|
if (referencepath_fieldsOverrides_itemValidationError !== null) {
|
|
9642
10100
|
let message = 'Object doesn\'t match SemanticOverrideOutputRepresentation (at "' + path_fieldsOverrides_item + '")\n';
|
|
9643
10101
|
message += referencepath_fieldsOverrides_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10034,13 +10492,13 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
10034
10492
|
}
|
|
10035
10493
|
return input;
|
|
10036
10494
|
}
|
|
10037
|
-
const select$
|
|
10038
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
10039
|
-
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$
|
|
10040
|
-
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$
|
|
10495
|
+
const select$l = function SemanticModelOutputRepresentationSelect() {
|
|
10496
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$H();
|
|
10497
|
+
const { selections: SemanticModelExternalConnectionOutputRepresentation__selections, opaque: SemanticModelExternalConnectionOutputRepresentation__opaque, } = select$C();
|
|
10498
|
+
const { selections: SemanticOverrideOutputRepresentation__selections, opaque: SemanticOverrideOutputRepresentation__opaque, } = select$B();
|
|
10041
10499
|
return {
|
|
10042
10500
|
kind: 'Fragment',
|
|
10043
|
-
version: VERSION$
|
|
10501
|
+
version: VERSION$6,
|
|
10044
10502
|
private: [],
|
|
10045
10503
|
selections: [
|
|
10046
10504
|
{
|
|
@@ -10140,7 +10598,7 @@ const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
|
10140
10598
|
kind: 'Link',
|
|
10141
10599
|
plural: true,
|
|
10142
10600
|
required: false,
|
|
10143
|
-
fragment: select$
|
|
10601
|
+
fragment: select$A()
|
|
10144
10602
|
},
|
|
10145
10603
|
{
|
|
10146
10604
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -10152,7 +10610,7 @@ const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
|
10152
10610
|
kind: 'Link',
|
|
10153
10611
|
plural: true,
|
|
10154
10612
|
required: false,
|
|
10155
|
-
fragment: select$
|
|
10613
|
+
fragment: select$z()
|
|
10156
10614
|
},
|
|
10157
10615
|
{
|
|
10158
10616
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -10164,7 +10622,7 @@ const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
|
10164
10622
|
kind: 'Link',
|
|
10165
10623
|
plural: true,
|
|
10166
10624
|
required: false,
|
|
10167
|
-
fragment: select$
|
|
10625
|
+
fragment: select$y()
|
|
10168
10626
|
},
|
|
10169
10627
|
{
|
|
10170
10628
|
name: 'semanticDataObjectsUrl',
|
|
@@ -10176,7 +10634,7 @@ const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
|
10176
10634
|
kind: 'Link',
|
|
10177
10635
|
plural: true,
|
|
10178
10636
|
required: false,
|
|
10179
|
-
fragment: select$
|
|
10637
|
+
fragment: select$t()
|
|
10180
10638
|
},
|
|
10181
10639
|
{
|
|
10182
10640
|
name: 'semanticGroupingsUrl',
|
|
@@ -10188,21 +10646,21 @@ const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
|
10188
10646
|
kind: 'Link',
|
|
10189
10647
|
plural: true,
|
|
10190
10648
|
required: false,
|
|
10191
|
-
fragment: select$
|
|
10649
|
+
fragment: select$o()
|
|
10192
10650
|
},
|
|
10193
10651
|
{
|
|
10194
10652
|
name: 'semanticMetrics',
|
|
10195
10653
|
kind: 'Link',
|
|
10196
10654
|
plural: true,
|
|
10197
10655
|
required: false,
|
|
10198
|
-
fragment: select$
|
|
10656
|
+
fragment: select$K()
|
|
10199
10657
|
},
|
|
10200
10658
|
{
|
|
10201
10659
|
name: 'semanticParameters',
|
|
10202
10660
|
kind: 'Link',
|
|
10203
10661
|
plural: true,
|
|
10204
10662
|
required: false,
|
|
10205
|
-
fragment: select$
|
|
10663
|
+
fragment: select$m()
|
|
10206
10664
|
},
|
|
10207
10665
|
{
|
|
10208
10666
|
name: 'semanticParametersUrl',
|
|
@@ -10214,7 +10672,7 @@ const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
|
10214
10672
|
kind: 'Link',
|
|
10215
10673
|
plural: true,
|
|
10216
10674
|
required: false,
|
|
10217
|
-
fragment: select$
|
|
10675
|
+
fragment: select$r()
|
|
10218
10676
|
},
|
|
10219
10677
|
{
|
|
10220
10678
|
name: 'semanticRelationshipsUrl',
|
|
@@ -10234,7 +10692,7 @@ const select$n = function SemanticModelOutputRepresentationSelect() {
|
|
|
10234
10692
|
]
|
|
10235
10693
|
};
|
|
10236
10694
|
};
|
|
10237
|
-
function equals$
|
|
10695
|
+
function equals$6(existing, incoming) {
|
|
10238
10696
|
const existing_isLocked = existing.isLocked;
|
|
10239
10697
|
const incoming_isLocked = incoming.isLocked;
|
|
10240
10698
|
// if at least one of these optionals is defined
|
|
@@ -10478,7 +10936,7 @@ function equals$8(existing, incoming) {
|
|
|
10478
10936
|
return false;
|
|
10479
10937
|
}
|
|
10480
10938
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
10481
|
-
if (!(equals$
|
|
10939
|
+
if (!(equals$r(existing_baseModels_item, incoming_baseModels_item))) {
|
|
10482
10940
|
return false;
|
|
10483
10941
|
}
|
|
10484
10942
|
});
|
|
@@ -10514,7 +10972,7 @@ function equals$8(existing, incoming) {
|
|
|
10514
10972
|
return false;
|
|
10515
10973
|
}
|
|
10516
10974
|
const equals_externalConnections_items = equalsArray(existing_externalConnections, incoming_externalConnections, (existing_externalConnections_item, incoming_externalConnections_item) => {
|
|
10517
|
-
if (!(equals$
|
|
10975
|
+
if (!(equals$n(existing_externalConnections_item, incoming_externalConnections_item))) {
|
|
10518
10976
|
return false;
|
|
10519
10977
|
}
|
|
10520
10978
|
});
|
|
@@ -10532,7 +10990,7 @@ function equals$8(existing, incoming) {
|
|
|
10532
10990
|
return false;
|
|
10533
10991
|
}
|
|
10534
10992
|
const equals_fieldsOverrides_items = equalsArray(existing_fieldsOverrides, incoming_fieldsOverrides, (existing_fieldsOverrides_item, incoming_fieldsOverrides_item) => {
|
|
10535
|
-
if (!(equals$
|
|
10993
|
+
if (!(equals$m(existing_fieldsOverrides_item, incoming_fieldsOverrides_item))) {
|
|
10536
10994
|
return false;
|
|
10537
10995
|
}
|
|
10538
10996
|
});
|
|
@@ -10701,14 +11159,14 @@ function equals$8(existing, incoming) {
|
|
|
10701
11159
|
}
|
|
10702
11160
|
const ingest$6 = function SemanticModelOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10703
11161
|
if (process.env.NODE_ENV !== 'production') {
|
|
10704
|
-
const validateError = validate$
|
|
11162
|
+
const validateError = validate$f(input);
|
|
10705
11163
|
if (validateError !== null) {
|
|
10706
11164
|
throw validateError;
|
|
10707
11165
|
}
|
|
10708
11166
|
}
|
|
10709
11167
|
const key = keyBuilderFromType$2(luvio, input);
|
|
10710
11168
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
10711
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SemanticAuthoring", VERSION$
|
|
11169
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SemanticAuthoring", VERSION$6, RepresentationType$6, equals$6);
|
|
10712
11170
|
return createLink(key);
|
|
10713
11171
|
};
|
|
10714
11172
|
function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -10769,8 +11227,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10769
11227
|
}
|
|
10770
11228
|
}
|
|
10771
11229
|
|
|
10772
|
-
function select$
|
|
10773
|
-
return select$
|
|
11230
|
+
function select$k(luvio, params) {
|
|
11231
|
+
return select$l();
|
|
10774
11232
|
}
|
|
10775
11233
|
function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
|
|
10776
11234
|
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
@@ -10781,7 +11239,7 @@ function ingestSuccess$e(luvio, resourceParams, response) {
|
|
|
10781
11239
|
luvio.storeIngest(key, ingest$6, body);
|
|
10782
11240
|
const snapshot = luvio.storeLookup({
|
|
10783
11241
|
recordId: key,
|
|
10784
|
-
node: select$
|
|
11242
|
+
node: select$k(),
|
|
10785
11243
|
variables: {},
|
|
10786
11244
|
});
|
|
10787
11245
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -10839,7 +11297,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10839
11297
|
const untrustedConfig_baseModels_array = [];
|
|
10840
11298
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
10841
11299
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
10842
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
11300
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$_(untrustedConfig_baseModels_item);
|
|
10843
11301
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
10844
11302
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
10845
11303
|
}
|
|
@@ -10851,7 +11309,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10851
11309
|
const untrustedConfig_externalConnections_array = [];
|
|
10852
11310
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
10853
11311
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
10854
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
11312
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$Y(untrustedConfig_externalConnections_item);
|
|
10855
11313
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
10856
11314
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
10857
11315
|
}
|
|
@@ -10863,7 +11321,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10863
11321
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
10864
11322
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
10865
11323
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
10866
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
11324
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$X(untrustedConfig_fieldsOverrides_item);
|
|
10867
11325
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
10868
11326
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
10869
11327
|
}
|
|
@@ -10875,7 +11333,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10875
11333
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10876
11334
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10877
11335
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10878
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
11336
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10879
11337
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10880
11338
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10881
11339
|
}
|
|
@@ -10887,7 +11345,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10887
11345
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10888
11346
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10889
11347
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10890
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
11348
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$U(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10891
11349
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10892
11350
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10893
11351
|
}
|
|
@@ -10899,7 +11357,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10899
11357
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10900
11358
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
10901
11359
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
10902
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
11360
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$R(untrustedConfig_semanticDataObjects_item);
|
|
10903
11361
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
10904
11362
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
10905
11363
|
}
|
|
@@ -10911,7 +11369,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10911
11369
|
const untrustedConfig_semanticGroupings_array = [];
|
|
10912
11370
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
10913
11371
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
10914
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
11372
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$K(untrustedConfig_semanticGroupings_item);
|
|
10915
11373
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
10916
11374
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
10917
11375
|
}
|
|
@@ -10923,7 +11381,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10923
11381
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
10924
11382
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
10925
11383
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
10926
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
11384
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$F(untrustedConfig_semanticLogicalViews_item);
|
|
10927
11385
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
10928
11386
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
10929
11387
|
}
|
|
@@ -10935,7 +11393,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10935
11393
|
const untrustedConfig_semanticMetrics_array = [];
|
|
10936
11394
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
10937
11395
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
10938
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
11396
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$B(untrustedConfig_semanticMetrics_item);
|
|
10939
11397
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
10940
11398
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
10941
11399
|
}
|
|
@@ -10947,7 +11405,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10947
11405
|
const untrustedConfig_semanticParameters_array = [];
|
|
10948
11406
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
10949
11407
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
10950
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
11408
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$A(untrustedConfig_semanticParameters_item);
|
|
10951
11409
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
10952
11410
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
10953
11411
|
}
|
|
@@ -10959,7 +11417,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10959
11417
|
const untrustedConfig_semanticRelationships_array = [];
|
|
10960
11418
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
10961
11419
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
10962
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
11420
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$I(untrustedConfig_semanticRelationships_item);
|
|
10963
11421
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
10964
11422
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
10965
11423
|
}
|
|
@@ -11010,8 +11468,8 @@ const createSemanticModelAdapterFactory = (luvio) => {
|
|
|
11010
11468
|
};
|
|
11011
11469
|
};
|
|
11012
11470
|
|
|
11013
|
-
function select$
|
|
11014
|
-
return select$
|
|
11471
|
+
function select$j(luvio, params) {
|
|
11472
|
+
return select$l();
|
|
11015
11473
|
}
|
|
11016
11474
|
function keyBuilder$m(luvio, params) {
|
|
11017
11475
|
return keyBuilder$n(luvio, {
|
|
@@ -11027,7 +11485,7 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
11027
11485
|
luvio.storeIngest(key, ingest$6, body);
|
|
11028
11486
|
const snapshot = luvio.storeLookup({
|
|
11029
11487
|
recordId: key,
|
|
11030
|
-
node: select$
|
|
11488
|
+
node: select$j(),
|
|
11031
11489
|
variables: {},
|
|
11032
11490
|
}, snapshotRefresh);
|
|
11033
11491
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -11091,7 +11549,7 @@ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
|
|
|
11091
11549
|
}
|
|
11092
11550
|
function adapterFragment$8(luvio, config) {
|
|
11093
11551
|
createResourceParams$g(config);
|
|
11094
|
-
return select$
|
|
11552
|
+
return select$j();
|
|
11095
11553
|
}
|
|
11096
11554
|
function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
|
|
11097
11555
|
const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
|
|
@@ -11147,8 +11605,8 @@ const getSemanticModelAdapterFactory = (luvio) => function SemanticAuthoring__ge
|
|
|
11147
11605
|
buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
|
|
11148
11606
|
};
|
|
11149
11607
|
|
|
11150
|
-
function select$
|
|
11151
|
-
return select$
|
|
11608
|
+
function select$i(luvio, params) {
|
|
11609
|
+
return select$l();
|
|
11152
11610
|
}
|
|
11153
11611
|
function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
|
|
11154
11612
|
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
@@ -11159,7 +11617,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
|
|
|
11159
11617
|
luvio.storeIngest(key, ingest$6, body);
|
|
11160
11618
|
const snapshot = luvio.storeLookup({
|
|
11161
11619
|
recordId: key,
|
|
11162
|
-
node: select$
|
|
11620
|
+
node: select$i(),
|
|
11163
11621
|
variables: {},
|
|
11164
11622
|
});
|
|
11165
11623
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -11218,7 +11676,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11218
11676
|
const untrustedConfig_baseModels_array = [];
|
|
11219
11677
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
11220
11678
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
11221
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
11679
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$_(untrustedConfig_baseModels_item);
|
|
11222
11680
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
11223
11681
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
11224
11682
|
}
|
|
@@ -11230,7 +11688,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11230
11688
|
const untrustedConfig_externalConnections_array = [];
|
|
11231
11689
|
for (let i = 0, arrayLength = untrustedConfig_externalConnections.length; i < arrayLength; i++) {
|
|
11232
11690
|
const untrustedConfig_externalConnections_item = untrustedConfig_externalConnections[i];
|
|
11233
|
-
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$
|
|
11691
|
+
const referenceSemanticModelExternalConnectionInputRepresentationValidationError = validate$Y(untrustedConfig_externalConnections_item);
|
|
11234
11692
|
if (referenceSemanticModelExternalConnectionInputRepresentationValidationError === null) {
|
|
11235
11693
|
untrustedConfig_externalConnections_array.push(untrustedConfig_externalConnections_item);
|
|
11236
11694
|
}
|
|
@@ -11242,7 +11700,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11242
11700
|
const untrustedConfig_fieldsOverrides_array = [];
|
|
11243
11701
|
for (let i = 0, arrayLength = untrustedConfig_fieldsOverrides.length; i < arrayLength; i++) {
|
|
11244
11702
|
const untrustedConfig_fieldsOverrides_item = untrustedConfig_fieldsOverrides[i];
|
|
11245
|
-
const referenceSemanticOverrideInputRepresentationValidationError = validate$
|
|
11703
|
+
const referenceSemanticOverrideInputRepresentationValidationError = validate$X(untrustedConfig_fieldsOverrides_item);
|
|
11246
11704
|
if (referenceSemanticOverrideInputRepresentationValidationError === null) {
|
|
11247
11705
|
untrustedConfig_fieldsOverrides_array.push(untrustedConfig_fieldsOverrides_item);
|
|
11248
11706
|
}
|
|
@@ -11254,7 +11712,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11254
11712
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
11255
11713
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
11256
11714
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
11257
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
11715
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedDimensions_item);
|
|
11258
11716
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
11259
11717
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
11260
11718
|
}
|
|
@@ -11266,7 +11724,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11266
11724
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
11267
11725
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
11268
11726
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
11269
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
11727
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$U(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
11270
11728
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
11271
11729
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
11272
11730
|
}
|
|
@@ -11278,7 +11736,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11278
11736
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
11279
11737
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
11280
11738
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
11281
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
11739
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$R(untrustedConfig_semanticDataObjects_item);
|
|
11282
11740
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
11283
11741
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
11284
11742
|
}
|
|
@@ -11290,7 +11748,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11290
11748
|
const untrustedConfig_semanticGroupings_array = [];
|
|
11291
11749
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
11292
11750
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
11293
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
11751
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$K(untrustedConfig_semanticGroupings_item);
|
|
11294
11752
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
11295
11753
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
11296
11754
|
}
|
|
@@ -11302,7 +11760,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11302
11760
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
11303
11761
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
11304
11762
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
11305
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
11763
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$F(untrustedConfig_semanticLogicalViews_item);
|
|
11306
11764
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
11307
11765
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
11308
11766
|
}
|
|
@@ -11314,7 +11772,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11314
11772
|
const untrustedConfig_semanticMetrics_array = [];
|
|
11315
11773
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
11316
11774
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
11317
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
11775
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$B(untrustedConfig_semanticMetrics_item);
|
|
11318
11776
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
11319
11777
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
11320
11778
|
}
|
|
@@ -11326,7 +11784,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11326
11784
|
const untrustedConfig_semanticParameters_array = [];
|
|
11327
11785
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
11328
11786
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
11329
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
11787
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$A(untrustedConfig_semanticParameters_item);
|
|
11330
11788
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
11331
11789
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
11332
11790
|
}
|
|
@@ -11338,7 +11796,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
11338
11796
|
const untrustedConfig_semanticRelationships_array = [];
|
|
11339
11797
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
11340
11798
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
11341
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
11799
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$I(untrustedConfig_semanticRelationships_item);
|
|
11342
11800
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
11343
11801
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
11344
11802
|
}
|
|
@@ -11389,118 +11847,6 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
11389
11847
|
};
|
|
11390
11848
|
};
|
|
11391
11849
|
|
|
11392
|
-
const VERSION$7 = "e96f6d15d947eadd33aeb16dd9222420";
|
|
11393
|
-
function validate$f(obj, path = 'SemanticDependencyOutputRepresentation') {
|
|
11394
|
-
const v_error = (() => {
|
|
11395
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11396
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
11397
|
-
}
|
|
11398
|
-
const obj_apiName = obj.apiName;
|
|
11399
|
-
const path_apiName = path + '.apiName';
|
|
11400
|
-
if (typeof obj_apiName !== 'string') {
|
|
11401
|
-
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
11402
|
-
}
|
|
11403
|
-
if (obj.definitionType !== undefined) {
|
|
11404
|
-
const obj_definitionType = obj.definitionType;
|
|
11405
|
-
const path_definitionType = path + '.definitionType';
|
|
11406
|
-
if (typeof obj_definitionType !== 'string') {
|
|
11407
|
-
return new TypeError('Expected "string" but received "' + typeof obj_definitionType + '" (at "' + path_definitionType + '")');
|
|
11408
|
-
}
|
|
11409
|
-
}
|
|
11410
|
-
if (obj.label !== undefined) {
|
|
11411
|
-
const obj_label = obj.label;
|
|
11412
|
-
const path_label = path + '.label';
|
|
11413
|
-
if (typeof obj_label !== 'string') {
|
|
11414
|
-
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
11415
|
-
}
|
|
11416
|
-
}
|
|
11417
|
-
if (obj.modelApiName !== undefined) {
|
|
11418
|
-
const obj_modelApiName = obj.modelApiName;
|
|
11419
|
-
const path_modelApiName = path + '.modelApiName';
|
|
11420
|
-
if (typeof obj_modelApiName !== 'string') {
|
|
11421
|
-
return new TypeError('Expected "string" but received "' + typeof obj_modelApiName + '" (at "' + path_modelApiName + '")');
|
|
11422
|
-
}
|
|
11423
|
-
}
|
|
11424
|
-
})();
|
|
11425
|
-
return v_error === undefined ? null : v_error;
|
|
11426
|
-
}
|
|
11427
|
-
const select$j = function SemanticDependencyOutputRepresentationSelect() {
|
|
11428
|
-
return {
|
|
11429
|
-
kind: 'Fragment',
|
|
11430
|
-
version: VERSION$7,
|
|
11431
|
-
private: [],
|
|
11432
|
-
selections: [
|
|
11433
|
-
{
|
|
11434
|
-
name: 'apiName',
|
|
11435
|
-
kind: 'Scalar'
|
|
11436
|
-
},
|
|
11437
|
-
{
|
|
11438
|
-
name: 'definitionType',
|
|
11439
|
-
kind: 'Scalar',
|
|
11440
|
-
required: false
|
|
11441
|
-
},
|
|
11442
|
-
{
|
|
11443
|
-
name: 'label',
|
|
11444
|
-
kind: 'Scalar',
|
|
11445
|
-
required: false
|
|
11446
|
-
},
|
|
11447
|
-
{
|
|
11448
|
-
name: 'modelApiName',
|
|
11449
|
-
kind: 'Scalar',
|
|
11450
|
-
required: false
|
|
11451
|
-
}
|
|
11452
|
-
]
|
|
11453
|
-
};
|
|
11454
|
-
};
|
|
11455
|
-
function equals$7(existing, incoming) {
|
|
11456
|
-
const existing_apiName = existing.apiName;
|
|
11457
|
-
const incoming_apiName = incoming.apiName;
|
|
11458
|
-
if (!(existing_apiName === incoming_apiName)) {
|
|
11459
|
-
return false;
|
|
11460
|
-
}
|
|
11461
|
-
const existing_definitionType = existing.definitionType;
|
|
11462
|
-
const incoming_definitionType = incoming.definitionType;
|
|
11463
|
-
// if at least one of these optionals is defined
|
|
11464
|
-
if (existing_definitionType !== undefined || incoming_definitionType !== undefined) {
|
|
11465
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11466
|
-
// not equal
|
|
11467
|
-
if (existing_definitionType === undefined || incoming_definitionType === undefined) {
|
|
11468
|
-
return false;
|
|
11469
|
-
}
|
|
11470
|
-
if (!(existing_definitionType === incoming_definitionType)) {
|
|
11471
|
-
return false;
|
|
11472
|
-
}
|
|
11473
|
-
}
|
|
11474
|
-
const existing_label = existing.label;
|
|
11475
|
-
const incoming_label = incoming.label;
|
|
11476
|
-
// if at least one of these optionals is defined
|
|
11477
|
-
if (existing_label !== undefined || incoming_label !== undefined) {
|
|
11478
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11479
|
-
// not equal
|
|
11480
|
-
if (existing_label === undefined || incoming_label === undefined) {
|
|
11481
|
-
return false;
|
|
11482
|
-
}
|
|
11483
|
-
if (!(existing_label === incoming_label)) {
|
|
11484
|
-
return false;
|
|
11485
|
-
}
|
|
11486
|
-
}
|
|
11487
|
-
const existing_modelApiName = existing.modelApiName;
|
|
11488
|
-
const incoming_modelApiName = incoming.modelApiName;
|
|
11489
|
-
// if at least one of these optionals is defined
|
|
11490
|
-
if (existing_modelApiName !== undefined || incoming_modelApiName !== undefined) {
|
|
11491
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11492
|
-
// not equal
|
|
11493
|
-
if (existing_modelApiName === undefined || incoming_modelApiName === undefined) {
|
|
11494
|
-
return false;
|
|
11495
|
-
}
|
|
11496
|
-
if (!(existing_modelApiName === incoming_modelApiName)) {
|
|
11497
|
-
return false;
|
|
11498
|
-
}
|
|
11499
|
-
}
|
|
11500
|
-
return true;
|
|
11501
|
-
}
|
|
11502
|
-
|
|
11503
|
-
const VERSION$6 = "62e5e0ffeb783cdde37da72d400b0869";
|
|
11504
11850
|
function validate$e(obj, path = 'SemanticDependencyInnerCollectionOutputRepresentation') {
|
|
11505
11851
|
const v_error = (() => {
|
|
11506
11852
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -11522,11 +11868,8 @@ function validate$e(obj, path = 'SemanticDependencyInnerCollectionOutputRepresen
|
|
|
11522
11868
|
for (let i = 0; i < obj_dependencies.length; i++) {
|
|
11523
11869
|
const obj_dependencies_item = obj_dependencies[i];
|
|
11524
11870
|
const path_dependencies_item = path_dependencies + '[' + i + ']';
|
|
11525
|
-
|
|
11526
|
-
|
|
11527
|
-
let message = 'Object doesn\'t match SemanticDependencyOutputRepresentation (at "' + path_dependencies_item + '")\n';
|
|
11528
|
-
message += referencepath_dependencies_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
11529
|
-
return new TypeError(message);
|
|
11871
|
+
if (typeof obj_dependencies_item !== 'object') {
|
|
11872
|
+
return new TypeError('Expected "object" but received "' + typeof obj_dependencies_item + '" (at "' + path_dependencies_item + '")');
|
|
11530
11873
|
}
|
|
11531
11874
|
}
|
|
11532
11875
|
}
|
|
@@ -11540,82 +11883,9 @@ function validate$e(obj, path = 'SemanticDependencyInnerCollectionOutputRepresen
|
|
|
11540
11883
|
})();
|
|
11541
11884
|
return v_error === undefined ? null : v_error;
|
|
11542
11885
|
}
|
|
11543
|
-
const select$i = function SemanticDependencyInnerCollectionOutputRepresentationSelect() {
|
|
11544
|
-
const { selections: SemanticDependencyOutputRepresentation__selections, opaque: SemanticDependencyOutputRepresentation__opaque, } = select$j();
|
|
11545
|
-
return {
|
|
11546
|
-
kind: 'Fragment',
|
|
11547
|
-
version: VERSION$6,
|
|
11548
|
-
private: [],
|
|
11549
|
-
selections: [
|
|
11550
|
-
{
|
|
11551
|
-
name: 'definitionApiName',
|
|
11552
|
-
kind: 'Scalar',
|
|
11553
|
-
required: false
|
|
11554
|
-
},
|
|
11555
|
-
{
|
|
11556
|
-
name: 'dependencies',
|
|
11557
|
-
kind: 'Object',
|
|
11558
|
-
plural: true,
|
|
11559
|
-
selections: SemanticDependencyOutputRepresentation__selections,
|
|
11560
|
-
required: false
|
|
11561
|
-
},
|
|
11562
|
-
{
|
|
11563
|
-
name: 'fieldApiName',
|
|
11564
|
-
kind: 'Scalar',
|
|
11565
|
-
required: false
|
|
11566
|
-
}
|
|
11567
|
-
]
|
|
11568
|
-
};
|
|
11569
|
-
};
|
|
11570
|
-
function equals$6(existing, incoming) {
|
|
11571
|
-
const existing_definitionApiName = existing.definitionApiName;
|
|
11572
|
-
const incoming_definitionApiName = incoming.definitionApiName;
|
|
11573
|
-
// if at least one of these optionals is defined
|
|
11574
|
-
if (existing_definitionApiName !== undefined || incoming_definitionApiName !== undefined) {
|
|
11575
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11576
|
-
// not equal
|
|
11577
|
-
if (existing_definitionApiName === undefined || incoming_definitionApiName === undefined) {
|
|
11578
|
-
return false;
|
|
11579
|
-
}
|
|
11580
|
-
if (!(existing_definitionApiName === incoming_definitionApiName)) {
|
|
11581
|
-
return false;
|
|
11582
|
-
}
|
|
11583
|
-
}
|
|
11584
|
-
const existing_fieldApiName = existing.fieldApiName;
|
|
11585
|
-
const incoming_fieldApiName = incoming.fieldApiName;
|
|
11586
|
-
// if at least one of these optionals is defined
|
|
11587
|
-
if (existing_fieldApiName !== undefined || incoming_fieldApiName !== undefined) {
|
|
11588
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11589
|
-
// not equal
|
|
11590
|
-
if (existing_fieldApiName === undefined || incoming_fieldApiName === undefined) {
|
|
11591
|
-
return false;
|
|
11592
|
-
}
|
|
11593
|
-
if (!(existing_fieldApiName === incoming_fieldApiName)) {
|
|
11594
|
-
return false;
|
|
11595
|
-
}
|
|
11596
|
-
}
|
|
11597
|
-
const existing_dependencies = existing.dependencies;
|
|
11598
|
-
const incoming_dependencies = incoming.dependencies;
|
|
11599
|
-
// if at least one of these optionals is defined
|
|
11600
|
-
if (existing_dependencies !== undefined || incoming_dependencies !== undefined) {
|
|
11601
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11602
|
-
// not equal
|
|
11603
|
-
if (existing_dependencies === undefined || incoming_dependencies === undefined) {
|
|
11604
|
-
return false;
|
|
11605
|
-
}
|
|
11606
|
-
const equals_dependencies_items = equalsArray(existing_dependencies, incoming_dependencies, (existing_dependencies_item, incoming_dependencies_item) => {
|
|
11607
|
-
if (!(equals$7(existing_dependencies_item, incoming_dependencies_item))) {
|
|
11608
|
-
return false;
|
|
11609
|
-
}
|
|
11610
|
-
});
|
|
11611
|
-
if (equals_dependencies_items === false) {
|
|
11612
|
-
return false;
|
|
11613
|
-
}
|
|
11614
|
-
}
|
|
11615
|
-
return true;
|
|
11616
|
-
}
|
|
11617
11886
|
|
|
11618
|
-
const
|
|
11887
|
+
const TTL = 100;
|
|
11888
|
+
const VERSION$5 = "9d47b2b8e7223a9d5ff7a0fea7e030e6";
|
|
11619
11889
|
function validate$d(obj, path = 'SemanticDependencyCollectionOutputRepresentation') {
|
|
11620
11890
|
const v_error = (() => {
|
|
11621
11891
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -11646,40 +11916,16 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
|
11646
11916
|
return input;
|
|
11647
11917
|
}
|
|
11648
11918
|
const select$h = function SemanticDependencyCollectionOutputRepresentationSelect() {
|
|
11649
|
-
const { selections: SemanticDependencyInnerCollectionOutputRepresentation__selections, opaque: SemanticDependencyInnerCollectionOutputRepresentation__opaque, } = select$i();
|
|
11650
11919
|
return {
|
|
11651
11920
|
kind: 'Fragment',
|
|
11652
11921
|
version: VERSION$5,
|
|
11653
11922
|
private: [],
|
|
11654
|
-
|
|
11655
|
-
{
|
|
11656
|
-
name: 'item',
|
|
11657
|
-
kind: 'Object',
|
|
11658
|
-
plural: true,
|
|
11659
|
-
selections: SemanticDependencyInnerCollectionOutputRepresentation__selections,
|
|
11660
|
-
required: false
|
|
11661
|
-
}
|
|
11662
|
-
]
|
|
11923
|
+
opaque: true
|
|
11663
11924
|
};
|
|
11664
11925
|
};
|
|
11665
11926
|
function equals$5(existing, incoming) {
|
|
11666
|
-
|
|
11667
|
-
|
|
11668
|
-
// if at least one of these optionals is defined
|
|
11669
|
-
if (existing_item !== undefined || incoming_item !== undefined) {
|
|
11670
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
11671
|
-
// not equal
|
|
11672
|
-
if (existing_item === undefined || incoming_item === undefined) {
|
|
11673
|
-
return false;
|
|
11674
|
-
}
|
|
11675
|
-
const equals_item_items = equalsArray(existing_item, incoming_item, (existing_item_item, incoming_item_item) => {
|
|
11676
|
-
if (!(equals$6(existing_item_item, incoming_item_item))) {
|
|
11677
|
-
return false;
|
|
11678
|
-
}
|
|
11679
|
-
});
|
|
11680
|
-
if (equals_item_items === false) {
|
|
11681
|
-
return false;
|
|
11682
|
-
}
|
|
11927
|
+
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
11928
|
+
return false;
|
|
11683
11929
|
}
|
|
11684
11930
|
return true;
|
|
11685
11931
|
}
|
|
@@ -11691,7 +11937,7 @@ const ingest$5 = function SemanticDependencyCollectionOutputRepresentationIngest
|
|
|
11691
11937
|
}
|
|
11692
11938
|
}
|
|
11693
11939
|
const key = path.fullPath;
|
|
11694
|
-
const ttlToUse =
|
|
11940
|
+
const ttlToUse = TTL;
|
|
11695
11941
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SemanticAuthoring", VERSION$5, RepresentationType$5, equals$5);
|
|
11696
11942
|
return createLink(key);
|
|
11697
11943
|
};
|
|
@@ -11734,7 +11980,13 @@ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
11734
11980
|
function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
11735
11981
|
const key = keyBuilder$k(luvio, params);
|
|
11736
11982
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
11737
|
-
|
|
11983
|
+
const storeMetadataParams = {
|
|
11984
|
+
ttl: TTL,
|
|
11985
|
+
namespace: keyPrefix,
|
|
11986
|
+
version: VERSION$5,
|
|
11987
|
+
representationName: RepresentationType$5
|
|
11988
|
+
};
|
|
11989
|
+
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
11738
11990
|
return errorSnapshot;
|
|
11739
11991
|
}
|
|
11740
11992
|
function createResourceRequest$e(config) {
|
|
@@ -12703,7 +12955,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
12703
12955
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
12704
12956
|
const obj_filters_item = obj_filters[i];
|
|
12705
12957
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
12706
|
-
const referencepath_filters_itemValidationError = validate$
|
|
12958
|
+
const referencepath_filters_itemValidationError = validate$17(obj_filters_item, path_filters_item);
|
|
12707
12959
|
if (referencepath_filters_itemValidationError !== null) {
|
|
12708
12960
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
12709
12961
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12757,7 +13009,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
12757
13009
|
if (obj.semanticMetric !== undefined) {
|
|
12758
13010
|
const obj_semanticMetric = obj.semanticMetric;
|
|
12759
13011
|
const path_semanticMetric = path + '.semanticMetric';
|
|
12760
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
13012
|
+
const referencepath_semanticMetricValidationError = validate$13(obj_semanticMetric, path_semanticMetric);
|
|
12761
13013
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
12762
13014
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
12763
13015
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13205,7 +13457,7 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
13205
13457
|
};
|
|
13206
13458
|
|
|
13207
13459
|
function select$7(luvio, params) {
|
|
13208
|
-
return select$
|
|
13460
|
+
return select$J();
|
|
13209
13461
|
}
|
|
13210
13462
|
function keyBuilder$b(luvio, params) {
|
|
13211
13463
|
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
|
|
@@ -13337,7 +13589,7 @@ const getSemanticMetricsAdapterFactory = (luvio) => function SemanticAuthoring__
|
|
|
13337
13589
|
};
|
|
13338
13590
|
|
|
13339
13591
|
function select$6(luvio, params) {
|
|
13340
|
-
return select$
|
|
13592
|
+
return select$K();
|
|
13341
13593
|
}
|
|
13342
13594
|
function keyBuilder$9(luvio, params) {
|
|
13343
13595
|
return keyBuilder$B(luvio, {
|
|
@@ -13835,7 +14087,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
13835
14087
|
const untrustedConfig_filters_array = [];
|
|
13836
14088
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
13837
14089
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
13838
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
14090
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$W(untrustedConfig_filters_item);
|
|
13839
14091
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
13840
14092
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
13841
14093
|
}
|