@salesforce/lds-adapters-cdp-semantic-authoring 1.332.0-dev7 → 1.332.0-dev9
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 +445 -316
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsParametersByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsParametersByModelApiNameOrIdAndParameterApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/SemanticParameterInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticParameterListValueInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SemanticParameterListValueOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SemanticParameterOutputRepresentation.d.ts +5 -1
- package/package.json +3 -3
- package/sfdc/index.js +415 -286
- package/src/raml/api.raml +34 -0
|
@@ -92,8 +92,8 @@ function createLink(ref) {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
const VERSION$
|
|
96
|
-
function validate$
|
|
95
|
+
const VERSION$x = "a2976cd68e629a917463a3b690cf2527";
|
|
96
|
+
function validate$11(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$10(obj, path = 'SemanticTableFieldReferenceOutputRepresentatio
|
|
|
115
115
|
})();
|
|
116
116
|
return v_error === undefined ? null : v_error;
|
|
117
117
|
}
|
|
118
|
-
const select$
|
|
118
|
+
const select$L = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
119
119
|
return {
|
|
120
120
|
kind: 'Fragment',
|
|
121
|
-
version: VERSION$
|
|
121
|
+
version: VERSION$x,
|
|
122
122
|
private: [],
|
|
123
123
|
selections: [
|
|
124
124
|
{
|
|
@@ -134,7 +134,7 @@ const select$K = function SemanticTableFieldReferenceOutputRepresentationSelect(
|
|
|
134
134
|
]
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
|
-
function equals$
|
|
137
|
+
function equals$x(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$w(existing, incoming) {
|
|
|
164
164
|
return true;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
const VERSION$
|
|
168
|
-
function validate
|
|
167
|
+
const VERSION$w = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
168
|
+
function validate$10(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$$(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$11(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$$(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$K = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
194
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$L();
|
|
195
195
|
return {
|
|
196
196
|
kind: 'Fragment',
|
|
197
|
-
version: VERSION$
|
|
197
|
+
version: VERSION$w,
|
|
198
198
|
private: [],
|
|
199
199
|
selections: [
|
|
200
200
|
{
|
|
@@ -211,7 +211,7 @@ const select$J = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
|
211
211
|
]
|
|
212
212
|
};
|
|
213
213
|
};
|
|
214
|
-
function equals$
|
|
214
|
+
function equals$w(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$v(existing, incoming) {
|
|
|
234
234
|
if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
|
|
235
235
|
return false;
|
|
236
236
|
}
|
|
237
|
-
if (!(equals$
|
|
237
|
+
if (!(equals$x(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$v = "9b5a0e85af6a943c95625e2dfe81ab96";
|
|
245
|
+
function validate$$(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
246
246
|
const v_error = (() => {
|
|
247
247
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
248
248
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -271,10 +271,10 @@ function validate$_(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
|
271
271
|
})();
|
|
272
272
|
return v_error === undefined ? null : v_error;
|
|
273
273
|
}
|
|
274
|
-
const select$
|
|
274
|
+
const select$J = function SemanticFilterOutputRepresentationSelect() {
|
|
275
275
|
return {
|
|
276
276
|
kind: 'Fragment',
|
|
277
|
-
version: VERSION$
|
|
277
|
+
version: VERSION$v,
|
|
278
278
|
private: [],
|
|
279
279
|
selections: [
|
|
280
280
|
{
|
|
@@ -295,7 +295,7 @@ const select$I = function SemanticFilterOutputRepresentationSelect() {
|
|
|
295
295
|
]
|
|
296
296
|
};
|
|
297
297
|
};
|
|
298
|
-
function equals$
|
|
298
|
+
function equals$v(existing, incoming) {
|
|
299
299
|
const existing_fieldName = existing.fieldName;
|
|
300
300
|
const incoming_fieldName = incoming.fieldName;
|
|
301
301
|
// if at least one of these optionals is defined
|
|
@@ -338,8 +338,8 @@ function equals$u(existing, incoming) {
|
|
|
338
338
|
return true;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
const VERSION$
|
|
342
|
-
function validate$
|
|
341
|
+
const VERSION$u = "a50848c632bb205d5e910bb726d9219e";
|
|
342
|
+
function validate$_(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
343
343
|
const v_error = (() => {
|
|
344
344
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
345
345
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -347,7 +347,7 @@ function validate$Z(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
347
347
|
if (obj.identifierDimensionReference !== undefined) {
|
|
348
348
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
349
349
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
350
|
-
const referencepath_identifierDimensionReferenceValidationError = validate
|
|
350
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$10(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
351
351
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
352
352
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
353
353
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -357,7 +357,7 @@ function validate$Z(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
357
357
|
if (obj.namingDimensionReference !== undefined) {
|
|
358
358
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
359
359
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
360
|
-
const referencepath_namingDimensionReferenceValidationError = validate
|
|
360
|
+
const referencepath_namingDimensionReferenceValidationError = validate$10(obj_namingDimensionReference, path_namingDimensionReference);
|
|
361
361
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
362
362
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
363
363
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -367,11 +367,11 @@ function validate$Z(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
367
367
|
})();
|
|
368
368
|
return v_error === undefined ? null : v_error;
|
|
369
369
|
}
|
|
370
|
-
const select$
|
|
371
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
370
|
+
const select$I = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
371
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$K();
|
|
372
372
|
return {
|
|
373
373
|
kind: 'Fragment',
|
|
374
|
-
version: VERSION$
|
|
374
|
+
version: VERSION$u,
|
|
375
375
|
private: [],
|
|
376
376
|
selections: [
|
|
377
377
|
{
|
|
@@ -389,7 +389,7 @@ const select$H = function SemanticIdentifyingDimensionOutputRepresentationSelect
|
|
|
389
389
|
]
|
|
390
390
|
};
|
|
391
391
|
};
|
|
392
|
-
function equals$
|
|
392
|
+
function equals$u(existing, incoming) {
|
|
393
393
|
const existing_identifierDimensionReference = existing.identifierDimensionReference;
|
|
394
394
|
const incoming_identifierDimensionReference = incoming.identifierDimensionReference;
|
|
395
395
|
// if at least one of these optionals is defined
|
|
@@ -399,7 +399,7 @@ function equals$t(existing, incoming) {
|
|
|
399
399
|
if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
|
|
400
400
|
return false;
|
|
401
401
|
}
|
|
402
|
-
if (!(equals$
|
|
402
|
+
if (!(equals$w(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
|
|
403
403
|
return false;
|
|
404
404
|
}
|
|
405
405
|
}
|
|
@@ -412,15 +412,15 @@ function equals$t(existing, incoming) {
|
|
|
412
412
|
if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
|
|
413
413
|
return false;
|
|
414
414
|
}
|
|
415
|
-
if (!(equals$
|
|
415
|
+
if (!(equals$w(existing_namingDimensionReference, incoming_namingDimensionReference))) {
|
|
416
416
|
return false;
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
419
|
return true;
|
|
420
420
|
}
|
|
421
421
|
|
|
422
|
-
const VERSION$
|
|
423
|
-
function validate$
|
|
422
|
+
const VERSION$t = "1b8cf2283d5d5c480459506274f0604c";
|
|
423
|
+
function validate$Z(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
424
424
|
const v_error = (() => {
|
|
425
425
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
426
426
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -442,10 +442,10 @@ function validate$Y(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
|
442
442
|
})();
|
|
443
443
|
return v_error === undefined ? null : v_error;
|
|
444
444
|
}
|
|
445
|
-
const select$
|
|
445
|
+
const select$H = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
446
446
|
return {
|
|
447
447
|
kind: 'Fragment',
|
|
448
|
-
version: VERSION$
|
|
448
|
+
version: VERSION$t,
|
|
449
449
|
private: [],
|
|
450
450
|
selections: [
|
|
451
451
|
{
|
|
@@ -461,7 +461,7 @@ const select$G = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
|
461
461
|
]
|
|
462
462
|
};
|
|
463
463
|
};
|
|
464
|
-
function equals$
|
|
464
|
+
function equals$t(existing, incoming) {
|
|
465
465
|
const existing_enabled = existing.enabled;
|
|
466
466
|
const incoming_enabled = incoming.enabled;
|
|
467
467
|
// if at least one of these optionals is defined
|
|
@@ -491,8 +491,8 @@ function equals$s(existing, incoming) {
|
|
|
491
491
|
return true;
|
|
492
492
|
}
|
|
493
493
|
|
|
494
|
-
const VERSION$
|
|
495
|
-
function validate$
|
|
494
|
+
const VERSION$s = "a3f5972287be7bcf9ca205af56046a58";
|
|
495
|
+
function validate$Y(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
496
496
|
const v_error = (() => {
|
|
497
497
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
498
498
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -500,7 +500,7 @@ function validate$X(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
500
500
|
if (obj.identifyingDimension !== undefined) {
|
|
501
501
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
502
502
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
503
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
503
|
+
const referencepath_identifyingDimensionValidationError = validate$_(obj_identifyingDimension, path_identifyingDimension);
|
|
504
504
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
505
505
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
506
506
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -516,7 +516,7 @@ function validate$X(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
516
516
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
517
517
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
518
518
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
519
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
519
|
+
const referencepath_insightTypes_itemValidationError = validate$Z(obj_insightTypes_item, path_insightTypes_item);
|
|
520
520
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
521
521
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
522
522
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -533,7 +533,7 @@ function validate$X(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
533
533
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
534
534
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
535
535
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
536
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate
|
|
536
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$10(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
537
537
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
538
538
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
539
539
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -565,13 +565,13 @@ function validate$X(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
565
565
|
})();
|
|
566
566
|
return v_error === undefined ? null : v_error;
|
|
567
567
|
}
|
|
568
|
-
const select$
|
|
569
|
-
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$
|
|
570
|
-
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$
|
|
571
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
568
|
+
const select$G = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
569
|
+
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$I();
|
|
570
|
+
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$H();
|
|
571
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$K();
|
|
572
572
|
return {
|
|
573
573
|
kind: 'Fragment',
|
|
574
|
-
version: VERSION$
|
|
574
|
+
version: VERSION$s,
|
|
575
575
|
private: [],
|
|
576
576
|
selections: [
|
|
577
577
|
{
|
|
@@ -612,7 +612,7 @@ const select$F = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
|
612
612
|
]
|
|
613
613
|
};
|
|
614
614
|
};
|
|
615
|
-
function equals$
|
|
615
|
+
function equals$s(existing, incoming) {
|
|
616
616
|
const existing_pluralNoun = existing.pluralNoun;
|
|
617
617
|
const incoming_pluralNoun = incoming.pluralNoun;
|
|
618
618
|
// if at least one of these optionals is defined
|
|
@@ -661,7 +661,7 @@ function equals$r(existing, incoming) {
|
|
|
661
661
|
if (existing_identifyingDimension === undefined || incoming_identifyingDimension === undefined) {
|
|
662
662
|
return false;
|
|
663
663
|
}
|
|
664
|
-
if (!(equals$
|
|
664
|
+
if (!(equals$u(existing_identifyingDimension, incoming_identifyingDimension))) {
|
|
665
665
|
return false;
|
|
666
666
|
}
|
|
667
667
|
}
|
|
@@ -675,7 +675,7 @@ function equals$r(existing, incoming) {
|
|
|
675
675
|
return false;
|
|
676
676
|
}
|
|
677
677
|
const equals_insightTypes_items = equalsArray(existing_insightTypes, incoming_insightTypes, (existing_insightTypes_item, incoming_insightTypes_item) => {
|
|
678
|
-
if (!(equals$
|
|
678
|
+
if (!(equals$t(existing_insightTypes_item, incoming_insightTypes_item))) {
|
|
679
679
|
return false;
|
|
680
680
|
}
|
|
681
681
|
});
|
|
@@ -693,7 +693,7 @@ function equals$r(existing, incoming) {
|
|
|
693
693
|
return false;
|
|
694
694
|
}
|
|
695
695
|
const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
|
|
696
|
-
if (!(equals$
|
|
696
|
+
if (!(equals$w(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
|
|
697
697
|
return false;
|
|
698
698
|
}
|
|
699
699
|
});
|
|
@@ -704,8 +704,8 @@ function equals$r(existing, incoming) {
|
|
|
704
704
|
return true;
|
|
705
705
|
}
|
|
706
706
|
|
|
707
|
-
const VERSION$
|
|
708
|
-
function validate$
|
|
707
|
+
const VERSION$r = "0873ccd85b32d14c753931243d20ac8b";
|
|
708
|
+
function validate$X(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
709
709
|
const v_error = (() => {
|
|
710
710
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
711
711
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -719,7 +719,7 @@ function validate$W(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
719
719
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
720
720
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
721
721
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
722
|
-
const referencepath_additionalDimensions_itemValidationError = validate
|
|
722
|
+
const referencepath_additionalDimensions_itemValidationError = validate$10(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
723
723
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
724
724
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
725
725
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -786,7 +786,7 @@ function validate$W(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
786
786
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
787
787
|
const obj_filters_item = obj_filters[i];
|
|
788
788
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
789
|
-
const referencepath_filters_itemValidationError = validate
|
|
789
|
+
const referencepath_filters_itemValidationError = validate$$(obj_filters_item, path_filters_item);
|
|
790
790
|
if (referencepath_filters_itemValidationError !== null) {
|
|
791
791
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
792
792
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -802,7 +802,7 @@ function validate$W(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
802
802
|
if (obj.insightsSettings !== undefined) {
|
|
803
803
|
const obj_insightsSettings = obj.insightsSettings;
|
|
804
804
|
const path_insightsSettings = path + '.insightsSettings';
|
|
805
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
805
|
+
const referencepath_insightsSettingsValidationError = validate$Y(obj_insightsSettings, path_insightsSettings);
|
|
806
806
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
807
807
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
808
808
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -840,7 +840,7 @@ function validate$W(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
840
840
|
if (obj.measurementReference !== undefined) {
|
|
841
841
|
const obj_measurementReference = obj.measurementReference;
|
|
842
842
|
const path_measurementReference = path + '.measurementReference';
|
|
843
|
-
const referencepath_measurementReferenceValidationError = validate
|
|
843
|
+
const referencepath_measurementReferenceValidationError = validate$10(obj_measurementReference, path_measurementReference);
|
|
844
844
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
845
845
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
846
846
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -850,7 +850,7 @@ function validate$W(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
850
850
|
if (obj.timeDimensionReference !== undefined) {
|
|
851
851
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
852
852
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
853
|
-
const referencepath_timeDimensionReferenceValidationError = validate
|
|
853
|
+
const referencepath_timeDimensionReferenceValidationError = validate$10(obj_timeDimensionReference, path_timeDimensionReference);
|
|
854
854
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
855
855
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
856
856
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -887,13 +887,13 @@ function keyBuilderFromType$b(luvio, object) {
|
|
|
887
887
|
function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
888
888
|
return input;
|
|
889
889
|
}
|
|
890
|
-
const select$
|
|
891
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
892
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
893
|
-
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$
|
|
890
|
+
const select$F = function SemanticMetricOutputRepresentationSelect() {
|
|
891
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$K();
|
|
892
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$J();
|
|
893
|
+
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$G();
|
|
894
894
|
return {
|
|
895
895
|
kind: 'Fragment',
|
|
896
|
-
version: VERSION$
|
|
896
|
+
version: VERSION$r,
|
|
897
897
|
private: [],
|
|
898
898
|
selections: [
|
|
899
899
|
{
|
|
@@ -998,7 +998,7 @@ const select$E = function SemanticMetricOutputRepresentationSelect() {
|
|
|
998
998
|
]
|
|
999
999
|
};
|
|
1000
1000
|
};
|
|
1001
|
-
function equals$
|
|
1001
|
+
function equals$r(existing, incoming) {
|
|
1002
1002
|
const existing_isCumulative = existing.isCumulative;
|
|
1003
1003
|
const incoming_isCumulative = incoming.isCumulative;
|
|
1004
1004
|
// if at least one of these optionals is defined
|
|
@@ -1146,7 +1146,7 @@ function equals$q(existing, incoming) {
|
|
|
1146
1146
|
return false;
|
|
1147
1147
|
}
|
|
1148
1148
|
const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
|
|
1149
|
-
if (!(equals$
|
|
1149
|
+
if (!(equals$w(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
|
|
1150
1150
|
return false;
|
|
1151
1151
|
}
|
|
1152
1152
|
});
|
|
@@ -1164,7 +1164,7 @@ function equals$q(existing, incoming) {
|
|
|
1164
1164
|
return false;
|
|
1165
1165
|
}
|
|
1166
1166
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
1167
|
-
if (!(equals$
|
|
1167
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
1168
1168
|
return false;
|
|
1169
1169
|
}
|
|
1170
1170
|
});
|
|
@@ -1181,7 +1181,7 @@ function equals$q(existing, incoming) {
|
|
|
1181
1181
|
if (existing_insightsSettings === undefined || incoming_insightsSettings === undefined) {
|
|
1182
1182
|
return false;
|
|
1183
1183
|
}
|
|
1184
|
-
if (!(equals$
|
|
1184
|
+
if (!(equals$s(existing_insightsSettings, incoming_insightsSettings))) {
|
|
1185
1185
|
return false;
|
|
1186
1186
|
}
|
|
1187
1187
|
}
|
|
@@ -1194,7 +1194,7 @@ function equals$q(existing, incoming) {
|
|
|
1194
1194
|
if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
|
|
1195
1195
|
return false;
|
|
1196
1196
|
}
|
|
1197
|
-
if (!(equals$
|
|
1197
|
+
if (!(equals$w(existing_measurementReference, incoming_measurementReference))) {
|
|
1198
1198
|
return false;
|
|
1199
1199
|
}
|
|
1200
1200
|
}
|
|
@@ -1207,7 +1207,7 @@ function equals$q(existing, incoming) {
|
|
|
1207
1207
|
if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
|
|
1208
1208
|
return false;
|
|
1209
1209
|
}
|
|
1210
|
-
if (!(equals$
|
|
1210
|
+
if (!(equals$w(existing_timeDimensionReference, incoming_timeDimensionReference))) {
|
|
1211
1211
|
return false;
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
@@ -1233,14 +1233,14 @@ function equals$q(existing, incoming) {
|
|
|
1233
1233
|
}
|
|
1234
1234
|
const ingest$h = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1235
1235
|
if (process.env.NODE_ENV !== 'production') {
|
|
1236
|
-
const validateError = validate$
|
|
1236
|
+
const validateError = validate$X(input);
|
|
1237
1237
|
if (validateError !== null) {
|
|
1238
1238
|
throw validateError;
|
|
1239
1239
|
}
|
|
1240
1240
|
}
|
|
1241
1241
|
const key = keyBuilderFromType$b(luvio, input);
|
|
1242
1242
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
1243
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$
|
|
1243
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$r, RepresentationType$h, equals$r);
|
|
1244
1244
|
return createLink(key);
|
|
1245
1245
|
};
|
|
1246
1246
|
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1253,8 +1253,8 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1253
1253
|
});
|
|
1254
1254
|
}
|
|
1255
1255
|
|
|
1256
|
-
const VERSION$
|
|
1257
|
-
function validate$
|
|
1256
|
+
const VERSION$q = "a6709a9f16e02d0d8e3d8423ebc79c2b";
|
|
1257
|
+
function validate$W(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
|
|
1258
1258
|
const v_error = (() => {
|
|
1259
1259
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1260
1260
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1298,10 +1298,10 @@ function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
|
1298
1298
|
}
|
|
1299
1299
|
return input;
|
|
1300
1300
|
}
|
|
1301
|
-
const select$
|
|
1301
|
+
const select$E = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
1302
1302
|
return {
|
|
1303
1303
|
kind: 'Fragment',
|
|
1304
|
-
version: VERSION$
|
|
1304
|
+
version: VERSION$q,
|
|
1305
1305
|
private: [],
|
|
1306
1306
|
selections: [
|
|
1307
1307
|
{
|
|
@@ -1309,12 +1309,12 @@ const select$D = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
|
1309
1309
|
kind: 'Link',
|
|
1310
1310
|
plural: true,
|
|
1311
1311
|
required: false,
|
|
1312
|
-
fragment: select$
|
|
1312
|
+
fragment: select$F()
|
|
1313
1313
|
}
|
|
1314
1314
|
]
|
|
1315
1315
|
};
|
|
1316
1316
|
};
|
|
1317
|
-
function equals$
|
|
1317
|
+
function equals$q(existing, incoming) {
|
|
1318
1318
|
const existing_metrics = existing.metrics;
|
|
1319
1319
|
const incoming_metrics = incoming.metrics;
|
|
1320
1320
|
// if at least one of these optionals is defined
|
|
@@ -1337,14 +1337,14 @@ function equals$p(existing, incoming) {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
const ingest$g = function SemanticMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1339
1339
|
if (process.env.NODE_ENV !== 'production') {
|
|
1340
|
-
const validateError = validate$
|
|
1340
|
+
const validateError = validate$W(input);
|
|
1341
1341
|
if (validateError !== null) {
|
|
1342
1342
|
throw validateError;
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
const key = path.fullPath;
|
|
1346
1346
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
1347
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$
|
|
1347
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$q, RepresentationType$g, equals$q);
|
|
1348
1348
|
return createLink(key);
|
|
1349
1349
|
};
|
|
1350
1350
|
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1363,8 +1363,8 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
1365
1365
|
|
|
1366
|
-
function select$
|
|
1367
|
-
return select$
|
|
1366
|
+
function select$D(luvio, params) {
|
|
1367
|
+
return select$E();
|
|
1368
1368
|
}
|
|
1369
1369
|
function keyBuilder$w(luvio, params) {
|
|
1370
1370
|
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'metricIds:' + params.urlParams.metricIds + ')';
|
|
@@ -1378,7 +1378,7 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1378
1378
|
luvio.storeIngest(key, ingest$g, body);
|
|
1379
1379
|
const snapshot = luvio.storeLookup({
|
|
1380
1380
|
recordId: key,
|
|
1381
|
-
node: select$
|
|
1381
|
+
node: select$D(),
|
|
1382
1382
|
variables: {},
|
|
1383
1383
|
}, snapshotRefresh);
|
|
1384
1384
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1441,7 +1441,7 @@ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
|
1441
1441
|
}
|
|
1442
1442
|
function adapterFragment$9(luvio, config) {
|
|
1443
1443
|
createResourceParams$f(config);
|
|
1444
|
-
return select$
|
|
1444
|
+
return select$D();
|
|
1445
1445
|
}
|
|
1446
1446
|
function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
|
|
1447
1447
|
const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
|
|
@@ -1497,8 +1497,8 @@ const getSemanticMetricsByIdsAdapterFactory = (luvio) => function SemanticAuthor
|
|
|
1497
1497
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
|
|
1498
1498
|
};
|
|
1499
1499
|
|
|
1500
|
-
const VERSION$
|
|
1501
|
-
function validate$
|
|
1500
|
+
const VERSION$p = "3a32d382e7a2268096278aa8e5c6761a";
|
|
1501
|
+
function validate$V(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
1502
1502
|
const v_error = (() => {
|
|
1503
1503
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1504
1504
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1518,10 +1518,10 @@ function validate$U(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
|
1518
1518
|
})();
|
|
1519
1519
|
return v_error === undefined ? null : v_error;
|
|
1520
1520
|
}
|
|
1521
|
-
const select$
|
|
1521
|
+
const select$C = function SemanticBaseModelOutputRepresentationSelect() {
|
|
1522
1522
|
return {
|
|
1523
1523
|
kind: 'Fragment',
|
|
1524
|
-
version: VERSION$
|
|
1524
|
+
version: VERSION$p,
|
|
1525
1525
|
private: [],
|
|
1526
1526
|
selections: [
|
|
1527
1527
|
{
|
|
@@ -1536,7 +1536,7 @@ const select$B = function SemanticBaseModelOutputRepresentationSelect() {
|
|
|
1536
1536
|
]
|
|
1537
1537
|
};
|
|
1538
1538
|
};
|
|
1539
|
-
function equals$
|
|
1539
|
+
function equals$p(existing, incoming) {
|
|
1540
1540
|
const existing_apiName = existing.apiName;
|
|
1541
1541
|
const incoming_apiName = incoming.apiName;
|
|
1542
1542
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -1558,8 +1558,8 @@ function equals$o(existing, incoming) {
|
|
|
1558
1558
|
return true;
|
|
1559
1559
|
}
|
|
1560
1560
|
|
|
1561
|
-
const VERSION$
|
|
1562
|
-
function validate$
|
|
1561
|
+
const VERSION$o = "c9079354cd8127a37c0c13ea6686383c";
|
|
1562
|
+
function validate$U(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
1563
1563
|
const v_error = (() => {
|
|
1564
1564
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1565
1565
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1592,7 +1592,7 @@ function validate$T(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
1592
1592
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
1593
1593
|
const obj_baseModels_item = obj_baseModels[i];
|
|
1594
1594
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
1595
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
1595
|
+
const referencepath_baseModels_itemValidationError = validate$V(obj_baseModels_item, path_baseModels_item);
|
|
1596
1596
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
1597
1597
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
1598
1598
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1763,11 +1763,11 @@ function validate$T(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
1763
1763
|
})();
|
|
1764
1764
|
return v_error === undefined ? null : v_error;
|
|
1765
1765
|
}
|
|
1766
|
-
const select$
|
|
1767
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
1766
|
+
const select$B = function SemanticModelPartialOutputRepresentationSelect() {
|
|
1767
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$C();
|
|
1768
1768
|
return {
|
|
1769
1769
|
kind: 'Fragment',
|
|
1770
|
-
version: VERSION$
|
|
1770
|
+
version: VERSION$o,
|
|
1771
1771
|
private: [],
|
|
1772
1772
|
selections: [
|
|
1773
1773
|
{
|
|
@@ -1891,7 +1891,7 @@ const select$A = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
1891
1891
|
]
|
|
1892
1892
|
};
|
|
1893
1893
|
};
|
|
1894
|
-
function equals$
|
|
1894
|
+
function equals$o(existing, incoming) {
|
|
1895
1895
|
const existing_isLocked = existing.isLocked;
|
|
1896
1896
|
const incoming_isLocked = incoming.isLocked;
|
|
1897
1897
|
// if at least one of these optionals is defined
|
|
@@ -2135,7 +2135,7 @@ function equals$n(existing, incoming) {
|
|
|
2135
2135
|
return false;
|
|
2136
2136
|
}
|
|
2137
2137
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
2138
|
-
if (!(equals$
|
|
2138
|
+
if (!(equals$p(existing_baseModels_item, incoming_baseModels_item))) {
|
|
2139
2139
|
return false;
|
|
2140
2140
|
}
|
|
2141
2141
|
});
|
|
@@ -2177,8 +2177,8 @@ function equals$n(existing, incoming) {
|
|
|
2177
2177
|
return true;
|
|
2178
2178
|
}
|
|
2179
2179
|
|
|
2180
|
-
const VERSION$
|
|
2181
|
-
function validate$
|
|
2180
|
+
const VERSION$n = "198423ec58354256cc7ea6f4661ef669";
|
|
2181
|
+
function validate$T(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
2182
2182
|
const v_error = (() => {
|
|
2183
2183
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2184
2184
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2225,7 +2225,7 @@ function validate$S(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
|
2225
2225
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2226
2226
|
const obj_items_item = obj_items[i];
|
|
2227
2227
|
const path_items_item = path_items + '[' + i + ']';
|
|
2228
|
-
const referencepath_items_itemValidationError = validate$
|
|
2228
|
+
const referencepath_items_itemValidationError = validate$U(obj_items_item, path_items_item);
|
|
2229
2229
|
if (referencepath_items_itemValidationError !== null) {
|
|
2230
2230
|
let message = 'Object doesn\'t match SemanticModelPartialOutputRepresentation (at "' + path_items_item + '")\n';
|
|
2231
2231
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2301,11 +2301,11 @@ const RepresentationType$f = 'SemanticModelCollectionOutputRepresentation';
|
|
|
2301
2301
|
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
2302
2302
|
return input;
|
|
2303
2303
|
}
|
|
2304
|
-
const select$
|
|
2305
|
-
const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$
|
|
2304
|
+
const select$A = function SemanticModelCollectionOutputRepresentationSelect() {
|
|
2305
|
+
const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$B();
|
|
2306
2306
|
return {
|
|
2307
2307
|
kind: 'Fragment',
|
|
2308
|
-
version: VERSION$
|
|
2308
|
+
version: VERSION$n,
|
|
2309
2309
|
private: [],
|
|
2310
2310
|
selections: [
|
|
2311
2311
|
{
|
|
@@ -2341,7 +2341,7 @@ const select$z = function SemanticModelCollectionOutputRepresentationSelect() {
|
|
|
2341
2341
|
]
|
|
2342
2342
|
};
|
|
2343
2343
|
};
|
|
2344
|
-
function equals$
|
|
2344
|
+
function equals$n(existing, incoming) {
|
|
2345
2345
|
const existing_count = existing.count;
|
|
2346
2346
|
const incoming_count = incoming.count;
|
|
2347
2347
|
if (!(existing_count === incoming_count)) {
|
|
@@ -2375,7 +2375,7 @@ function equals$m(existing, incoming) {
|
|
|
2375
2375
|
return false;
|
|
2376
2376
|
}
|
|
2377
2377
|
const equals_items_items = equalsArray(existing_items, incoming_items, (existing_items_item, incoming_items_item) => {
|
|
2378
|
-
if (!(equals$
|
|
2378
|
+
if (!(equals$o(existing_items_item, incoming_items_item))) {
|
|
2379
2379
|
return false;
|
|
2380
2380
|
}
|
|
2381
2381
|
});
|
|
@@ -2413,14 +2413,14 @@ function equals$m(existing, incoming) {
|
|
|
2413
2413
|
}
|
|
2414
2414
|
const ingest$f = function SemanticModelCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2415
2415
|
if (process.env.NODE_ENV !== 'production') {
|
|
2416
|
-
const validateError = validate$
|
|
2416
|
+
const validateError = validate$T(input);
|
|
2417
2417
|
if (validateError !== null) {
|
|
2418
2418
|
throw validateError;
|
|
2419
2419
|
}
|
|
2420
2420
|
}
|
|
2421
2421
|
const key = path.fullPath;
|
|
2422
2422
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
2423
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$
|
|
2423
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$n, RepresentationType$f, equals$n);
|
|
2424
2424
|
return createLink(key);
|
|
2425
2425
|
};
|
|
2426
2426
|
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2433,8 +2433,8 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2433
2433
|
});
|
|
2434
2434
|
}
|
|
2435
2435
|
|
|
2436
|
-
function select$
|
|
2437
|
-
return select$
|
|
2436
|
+
function select$z(luvio, params) {
|
|
2437
|
+
return select$A();
|
|
2438
2438
|
}
|
|
2439
2439
|
function keyBuilder$u(luvio, params) {
|
|
2440
2440
|
return keyPrefix + '::SemanticModelCollectionOutputRepresentation:(' + 'app:' + params.queryParams.app + ',' + 'category:' + params.queryParams.category + ',' + 'dataspace:' + params.queryParams.dataspace + ',' + 'label:' + params.queryParams.label + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'sourceCreation:' + params.queryParams.sourceCreation + ',' + 'sourceCreationName:' + params.queryParams.sourceCreationName + ')';
|
|
@@ -2448,7 +2448,7 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2448
2448
|
luvio.storeIngest(key, ingest$f, body);
|
|
2449
2449
|
const snapshot = luvio.storeLookup({
|
|
2450
2450
|
recordId: key,
|
|
2451
|
-
node: select$
|
|
2451
|
+
node: select$z(),
|
|
2452
2452
|
variables: {},
|
|
2453
2453
|
}, snapshotRefresh);
|
|
2454
2454
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2517,7 +2517,7 @@ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
|
2517
2517
|
}
|
|
2518
2518
|
function adapterFragment$8(luvio, config) {
|
|
2519
2519
|
createResourceParams$e(config);
|
|
2520
|
-
return select$
|
|
2520
|
+
return select$z();
|
|
2521
2521
|
}
|
|
2522
2522
|
function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
|
|
2523
2523
|
const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
|
|
@@ -2573,7 +2573,7 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
2573
2573
|
buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
|
|
2574
2574
|
};
|
|
2575
2575
|
|
|
2576
|
-
function validate$
|
|
2576
|
+
function validate$S(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
2577
2577
|
const v_error = (() => {
|
|
2578
2578
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2579
2579
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2589,7 +2589,7 @@ function validate$R(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
2589
2589
|
return v_error === undefined ? null : v_error;
|
|
2590
2590
|
}
|
|
2591
2591
|
|
|
2592
|
-
function validate$
|
|
2592
|
+
function validate$R(obj, path = 'SemanticFilterInputRepresentation') {
|
|
2593
2593
|
const v_error = (() => {
|
|
2594
2594
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2595
2595
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2619,7 +2619,7 @@ function validate$Q(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
2619
2619
|
return v_error === undefined ? null : v_error;
|
|
2620
2620
|
}
|
|
2621
2621
|
|
|
2622
|
-
function validate$
|
|
2622
|
+
function validate$Q(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
2623
2623
|
const v_error = (() => {
|
|
2624
2624
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2625
2625
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2682,7 +2682,7 @@ function validate$P(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2682
2682
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2683
2683
|
const obj_filters_item = obj_filters[i];
|
|
2684
2684
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2685
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2685
|
+
const referencepath_filters_itemValidationError = validate$R(obj_filters_item, path_filters_item);
|
|
2686
2686
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2687
2687
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2688
2688
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2729,7 +2729,7 @@ function validate$P(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2729
2729
|
return v_error === undefined ? null : v_error;
|
|
2730
2730
|
}
|
|
2731
2731
|
|
|
2732
|
-
function validate$
|
|
2732
|
+
function validate$P(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
2733
2733
|
const v_error = (() => {
|
|
2734
2734
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2735
2735
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2806,7 +2806,7 @@ function validate$O(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2806
2806
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2807
2807
|
const obj_filters_item = obj_filters[i];
|
|
2808
2808
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2809
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2809
|
+
const referencepath_filters_itemValidationError = validate$R(obj_filters_item, path_filters_item);
|
|
2810
2810
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2811
2811
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2812
2812
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2874,7 +2874,7 @@ function validate$O(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2874
2874
|
return v_error === undefined ? null : v_error;
|
|
2875
2875
|
}
|
|
2876
2876
|
|
|
2877
|
-
function validate$
|
|
2877
|
+
function validate$O(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
2878
2878
|
const v_error = (() => {
|
|
2879
2879
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2880
2880
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2953,7 +2953,7 @@ function validate$N(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
2953
2953
|
return v_error === undefined ? null : v_error;
|
|
2954
2954
|
}
|
|
2955
2955
|
|
|
2956
|
-
function validate$
|
|
2956
|
+
function validate$N(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
2957
2957
|
const v_error = (() => {
|
|
2958
2958
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2959
2959
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3060,7 +3060,7 @@ function validate$M(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
3060
3060
|
return v_error === undefined ? null : v_error;
|
|
3061
3061
|
}
|
|
3062
3062
|
|
|
3063
|
-
function validate$
|
|
3063
|
+
function validate$M(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
3064
3064
|
const v_error = (() => {
|
|
3065
3065
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3066
3066
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3109,7 +3109,7 @@ function validate$L(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3109
3109
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3110
3110
|
const obj_filters_item = obj_filters[i];
|
|
3111
3111
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3112
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3112
|
+
const referencepath_filters_itemValidationError = validate$R(obj_filters_item, path_filters_item);
|
|
3113
3113
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3114
3114
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3115
3115
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3140,7 +3140,7 @@ function validate$L(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3140
3140
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
3141
3141
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
3142
3142
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
3143
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
3143
|
+
const referencepath_semanticDimensions_itemValidationError = validate$O(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
3144
3144
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
3145
3145
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
3146
3146
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3157,7 +3157,7 @@ function validate$L(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3157
3157
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
3158
3158
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
3159
3159
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
3160
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
3160
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$N(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
3161
3161
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
3162
3162
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
3163
3163
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3176,7 +3176,7 @@ function validate$L(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3176
3176
|
return v_error === undefined ? null : v_error;
|
|
3177
3177
|
}
|
|
3178
3178
|
|
|
3179
|
-
function validate$
|
|
3179
|
+
function validate$L(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
3180
3180
|
const v_error = (() => {
|
|
3181
3181
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3182
3182
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3188,7 +3188,7 @@ function validate$K(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
3188
3188
|
return v_error === undefined ? null : v_error;
|
|
3189
3189
|
}
|
|
3190
3190
|
|
|
3191
|
-
function validate$
|
|
3191
|
+
function validate$K(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
3192
3192
|
const v_error = (() => {
|
|
3193
3193
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3194
3194
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3218,7 +3218,7 @@ function validate$J(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
3218
3218
|
return v_error === undefined ? null : v_error;
|
|
3219
3219
|
}
|
|
3220
3220
|
|
|
3221
|
-
function validate$
|
|
3221
|
+
function validate$J(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
3222
3222
|
const v_error = (() => {
|
|
3223
3223
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3224
3224
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3232,7 +3232,7 @@ function validate$I(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3232
3232
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
3233
3233
|
const obj_groups_item = obj_groups[i];
|
|
3234
3234
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
3235
|
-
const referencepath_groups_itemValidationError = validate$
|
|
3235
|
+
const referencepath_groups_itemValidationError = validate$K(obj_groups_item, path_groups_item);
|
|
3236
3236
|
if (referencepath_groups_itemValidationError !== null) {
|
|
3237
3237
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
3238
3238
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3251,7 +3251,7 @@ function validate$I(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3251
3251
|
return v_error === undefined ? null : v_error;
|
|
3252
3252
|
}
|
|
3253
3253
|
|
|
3254
|
-
function validate$
|
|
3254
|
+
function validate$I(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
3255
3255
|
const v_error = (() => {
|
|
3256
3256
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3257
3257
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3259,7 +3259,7 @@ function validate$H(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3259
3259
|
if (obj.binDimension !== undefined) {
|
|
3260
3260
|
const obj_binDimension = obj.binDimension;
|
|
3261
3261
|
const path_binDimension = path + '.binDimension';
|
|
3262
|
-
const referencepath_binDimensionValidationError = validate$
|
|
3262
|
+
const referencepath_binDimensionValidationError = validate$L(obj_binDimension, path_binDimension);
|
|
3263
3263
|
if (referencepath_binDimensionValidationError !== null) {
|
|
3264
3264
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
3265
3265
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3269,7 +3269,7 @@ function validate$H(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3269
3269
|
if (obj.groupDimension !== undefined) {
|
|
3270
3270
|
const obj_groupDimension = obj.groupDimension;
|
|
3271
3271
|
const path_groupDimension = path + '.groupDimension';
|
|
3272
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
3272
|
+
const referencepath_groupDimensionValidationError = validate$J(obj_groupDimension, path_groupDimension);
|
|
3273
3273
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
3274
3274
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
3275
3275
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3280,7 +3280,7 @@ function validate$H(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3280
3280
|
return v_error === undefined ? null : v_error;
|
|
3281
3281
|
}
|
|
3282
3282
|
|
|
3283
|
-
function validate$
|
|
3283
|
+
function validate$H(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
3284
3284
|
const v_error = (() => {
|
|
3285
3285
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3286
3286
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3303,7 +3303,7 @@ function validate$G(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
3303
3303
|
return v_error === undefined ? null : v_error;
|
|
3304
3304
|
}
|
|
3305
3305
|
|
|
3306
|
-
function validate$
|
|
3306
|
+
function validate$G(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
3307
3307
|
const v_error = (() => {
|
|
3308
3308
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3309
3309
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3318,7 +3318,7 @@ function validate$F(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3318
3318
|
if (obj.tableFieldReference !== undefined) {
|
|
3319
3319
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
3320
3320
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
3321
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
3321
|
+
const referencepath_tableFieldReferenceValidationError = validate$H(obj_tableFieldReference, path_tableFieldReference);
|
|
3322
3322
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
3323
3323
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
3324
3324
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3329,7 +3329,7 @@ function validate$F(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3329
3329
|
return v_error === undefined ? null : v_error;
|
|
3330
3330
|
}
|
|
3331
3331
|
|
|
3332
|
-
function validate$
|
|
3332
|
+
function validate$F(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
3333
3333
|
const v_error = (() => {
|
|
3334
3334
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3335
3335
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3344,7 +3344,7 @@ function validate$E(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3344
3344
|
if (obj.configuration !== undefined) {
|
|
3345
3345
|
const obj_configuration = obj.configuration;
|
|
3346
3346
|
const path_configuration = path + '.configuration';
|
|
3347
|
-
const referencepath_configurationValidationError = validate$
|
|
3347
|
+
const referencepath_configurationValidationError = validate$I(obj_configuration, path_configuration);
|
|
3348
3348
|
if (referencepath_configurationValidationError !== null) {
|
|
3349
3349
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
3350
3350
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3361,7 +3361,7 @@ function validate$E(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3361
3361
|
if (obj.fieldReference !== undefined) {
|
|
3362
3362
|
const obj_fieldReference = obj.fieldReference;
|
|
3363
3363
|
const path_fieldReference = path + '.fieldReference';
|
|
3364
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
3364
|
+
const referencepath_fieldReferenceValidationError = validate$G(obj_fieldReference, path_fieldReference);
|
|
3365
3365
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
3366
3366
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
3367
3367
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3386,7 +3386,7 @@ function validate$E(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3386
3386
|
return v_error === undefined ? null : v_error;
|
|
3387
3387
|
}
|
|
3388
3388
|
|
|
3389
|
-
function validate$
|
|
3389
|
+
function validate$E(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
3390
3390
|
const v_error = (() => {
|
|
3391
3391
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3392
3392
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3430,7 +3430,7 @@ function validate$D(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
3430
3430
|
return v_error === undefined ? null : v_error;
|
|
3431
3431
|
}
|
|
3432
3432
|
|
|
3433
|
-
function validate$
|
|
3433
|
+
function validate$D(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
3434
3434
|
const v_error = (() => {
|
|
3435
3435
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3436
3436
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3458,7 +3458,7 @@ function validate$C(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3458
3458
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
3459
3459
|
const obj_criteria_item = obj_criteria[i];
|
|
3460
3460
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
3461
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
3461
|
+
const referencepath_criteria_itemValidationError = validate$E(obj_criteria_item, path_criteria_item);
|
|
3462
3462
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
3463
3463
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
3464
3464
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3519,7 +3519,7 @@ function validate$C(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3519
3519
|
return v_error === undefined ? null : v_error;
|
|
3520
3520
|
}
|
|
3521
3521
|
|
|
3522
|
-
function validate$
|
|
3522
|
+
function validate$C(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
3523
3523
|
const v_error = (() => {
|
|
3524
3524
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3525
3525
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3547,7 +3547,7 @@ function validate$B(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3547
3547
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
3548
3548
|
const obj_fields_item = obj_fields[i];
|
|
3549
3549
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
3550
|
-
const referencepath_fields_itemValidationError = validate$
|
|
3550
|
+
const referencepath_fields_itemValidationError = validate$H(obj_fields_item, path_fields_item);
|
|
3551
3551
|
if (referencepath_fields_itemValidationError !== null) {
|
|
3552
3552
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
3553
3553
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3572,7 +3572,7 @@ function validate$B(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3572
3572
|
if (obj.semanticDimension !== undefined) {
|
|
3573
3573
|
const obj_semanticDimension = obj.semanticDimension;
|
|
3574
3574
|
const path_semanticDimension = path + '.semanticDimension';
|
|
3575
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
3575
|
+
const referencepath_semanticDimensionValidationError = validate$O(obj_semanticDimension, path_semanticDimension);
|
|
3576
3576
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
3577
3577
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
3578
3578
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3582,7 +3582,7 @@ function validate$B(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3582
3582
|
if (obj.semanticMeasurement !== undefined) {
|
|
3583
3583
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
3584
3584
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
3585
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
3585
|
+
const referencepath_semanticMeasurementValidationError = validate$N(obj_semanticMeasurement, path_semanticMeasurement);
|
|
3586
3586
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
3587
3587
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
3588
3588
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3593,7 +3593,7 @@ function validate$B(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3593
3593
|
return v_error === undefined ? null : v_error;
|
|
3594
3594
|
}
|
|
3595
3595
|
|
|
3596
|
-
function validate$
|
|
3596
|
+
function validate$B(obj, path = 'SemanticUnionInputRepresentation') {
|
|
3597
3597
|
const v_error = (() => {
|
|
3598
3598
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3599
3599
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3628,7 +3628,7 @@ function validate$A(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3628
3628
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
3629
3629
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
3630
3630
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
3631
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
3631
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$M(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
3632
3632
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
3633
3633
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
3634
3634
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3645,7 +3645,7 @@ function validate$A(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3645
3645
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
3646
3646
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
3647
3647
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
3648
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
3648
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$C(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
3649
3649
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
3650
3650
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
3651
3651
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3657,7 +3657,7 @@ function validate$A(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3657
3657
|
return v_error === undefined ? null : v_error;
|
|
3658
3658
|
}
|
|
3659
3659
|
|
|
3660
|
-
function validate$
|
|
3660
|
+
function validate$A(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
3661
3661
|
const v_error = (() => {
|
|
3662
3662
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3663
3663
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3699,7 +3699,7 @@ function validate$z(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3699
3699
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3700
3700
|
const obj_filters_item = obj_filters[i];
|
|
3701
3701
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3702
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3702
|
+
const referencepath_filters_itemValidationError = validate$R(obj_filters_item, path_filters_item);
|
|
3703
3703
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3704
3704
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3705
3705
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3723,7 +3723,7 @@ function validate$z(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3723
3723
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
3724
3724
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
3725
3725
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
3726
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
3726
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$M(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
3727
3727
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
3728
3728
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
3729
3729
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3740,7 +3740,7 @@ function validate$z(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3740
3740
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
3741
3741
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
3742
3742
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
3743
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
3743
|
+
const referencepath_semanticRelationships_itemValidationError = validate$D(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
3744
3744
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
3745
3745
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
3746
3746
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3757,7 +3757,7 @@ function validate$z(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3757
3757
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
3758
3758
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
3759
3759
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
3760
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
3760
|
+
const referencepath_semanticUnions_itemValidationError = validate$B(obj_semanticUnions_item, path_semanticUnions_item);
|
|
3761
3761
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
3762
3762
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
3763
3763
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3769,7 +3769,7 @@ function validate$z(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3769
3769
|
return v_error === undefined ? null : v_error;
|
|
3770
3770
|
}
|
|
3771
3771
|
|
|
3772
|
-
function validate$
|
|
3772
|
+
function validate$z(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
3773
3773
|
const v_error = (() => {
|
|
3774
3774
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3775
3775
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3777,7 +3777,7 @@ function validate$y(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3777
3777
|
if (obj.identifierDimensionReference !== undefined) {
|
|
3778
3778
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
3779
3779
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
3780
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
3780
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$G(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
3781
3781
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
3782
3782
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
3783
3783
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3787,7 +3787,7 @@ function validate$y(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3787
3787
|
if (obj.namingDimensionReference !== undefined) {
|
|
3788
3788
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
3789
3789
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
3790
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
3790
|
+
const referencepath_namingDimensionReferenceValidationError = validate$G(obj_namingDimensionReference, path_namingDimensionReference);
|
|
3791
3791
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
3792
3792
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
3793
3793
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3798,7 +3798,7 @@ function validate$y(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3798
3798
|
return v_error === undefined ? null : v_error;
|
|
3799
3799
|
}
|
|
3800
3800
|
|
|
3801
|
-
function validate$
|
|
3801
|
+
function validate$y(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
3802
3802
|
const v_error = (() => {
|
|
3803
3803
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3804
3804
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3821,7 +3821,7 @@ function validate$x(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
3821
3821
|
return v_error === undefined ? null : v_error;
|
|
3822
3822
|
}
|
|
3823
3823
|
|
|
3824
|
-
function validate$
|
|
3824
|
+
function validate$x(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
3825
3825
|
const v_error = (() => {
|
|
3826
3826
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3827
3827
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3829,7 +3829,7 @@ function validate$w(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3829
3829
|
if (obj.identifyingDimension !== undefined) {
|
|
3830
3830
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
3831
3831
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
3832
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
3832
|
+
const referencepath_identifyingDimensionValidationError = validate$z(obj_identifyingDimension, path_identifyingDimension);
|
|
3833
3833
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
3834
3834
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
3835
3835
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3845,7 +3845,7 @@ function validate$w(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3845
3845
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
3846
3846
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
3847
3847
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
3848
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
3848
|
+
const referencepath_insightTypes_itemValidationError = validate$y(obj_insightTypes_item, path_insightTypes_item);
|
|
3849
3849
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
3850
3850
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
3851
3851
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3862,7 +3862,7 @@ function validate$w(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3862
3862
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
3863
3863
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
3864
3864
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
3865
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
3865
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$G(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
3866
3866
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
3867
3867
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
3868
3868
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3895,7 +3895,7 @@ function validate$w(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3895
3895
|
return v_error === undefined ? null : v_error;
|
|
3896
3896
|
}
|
|
3897
3897
|
|
|
3898
|
-
function validate$
|
|
3898
|
+
function validate$w(obj, path = 'SemanticMetricInputRepresentation') {
|
|
3899
3899
|
const v_error = (() => {
|
|
3900
3900
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3901
3901
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3909,7 +3909,7 @@ function validate$v(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3909
3909
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
3910
3910
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
3911
3911
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
3912
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
3912
|
+
const referencepath_additionalDimensions_itemValidationError = validate$G(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
3913
3913
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
3914
3914
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
3915
3915
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3954,7 +3954,7 @@ function validate$v(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3954
3954
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3955
3955
|
const obj_filters_item = obj_filters[i];
|
|
3956
3956
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3957
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3957
|
+
const referencepath_filters_itemValidationError = validate$R(obj_filters_item, path_filters_item);
|
|
3958
3958
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3959
3959
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3960
3960
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3965,7 +3965,7 @@ function validate$v(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3965
3965
|
if (obj.insightsSettings !== undefined) {
|
|
3966
3966
|
const obj_insightsSettings = obj.insightsSettings;
|
|
3967
3967
|
const path_insightsSettings = path + '.insightsSettings';
|
|
3968
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
3968
|
+
const referencepath_insightsSettingsValidationError = validate$x(obj_insightsSettings, path_insightsSettings);
|
|
3969
3969
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
3970
3970
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
3971
3971
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3989,7 +3989,7 @@ function validate$v(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3989
3989
|
if (obj.measurementReference !== undefined) {
|
|
3990
3990
|
const obj_measurementReference = obj.measurementReference;
|
|
3991
3991
|
const path_measurementReference = path + '.measurementReference';
|
|
3992
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
3992
|
+
const referencepath_measurementReferenceValidationError = validate$G(obj_measurementReference, path_measurementReference);
|
|
3993
3993
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
3994
3994
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
3995
3995
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3999,7 +3999,7 @@ function validate$v(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3999
3999
|
if (obj.timeDimensionReference !== undefined) {
|
|
4000
4000
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
4001
4001
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
4002
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
4002
|
+
const referencepath_timeDimensionReferenceValidationError = validate$G(obj_timeDimensionReference, path_timeDimensionReference);
|
|
4003
4003
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
4004
4004
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
4005
4005
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4024,11 +4024,25 @@ function validate$v(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4024
4024
|
return v_error === undefined ? null : v_error;
|
|
4025
4025
|
}
|
|
4026
4026
|
|
|
4027
|
-
function validate$
|
|
4027
|
+
function validate$v(obj, path = 'SemanticParameterInputRepresentation') {
|
|
4028
4028
|
const v_error = (() => {
|
|
4029
4029
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4030
4030
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4031
4031
|
}
|
|
4032
|
+
if (obj.allowedValues !== undefined) {
|
|
4033
|
+
const obj_allowedValues = obj.allowedValues;
|
|
4034
|
+
const path_allowedValues = path + '.allowedValues';
|
|
4035
|
+
if (!ArrayIsArray(obj_allowedValues)) {
|
|
4036
|
+
return new TypeError('Expected "array" but received "' + typeof obj_allowedValues + '" (at "' + path_allowedValues + '")');
|
|
4037
|
+
}
|
|
4038
|
+
for (let i = 0; i < obj_allowedValues.length; i++) {
|
|
4039
|
+
const obj_allowedValues_item = obj_allowedValues[i];
|
|
4040
|
+
const path_allowedValues_item = path_allowedValues + '[' + i + ']';
|
|
4041
|
+
if (typeof obj_allowedValues_item !== 'object' || ArrayIsArray(obj_allowedValues_item) || obj_allowedValues_item === null) {
|
|
4042
|
+
return new TypeError('Expected "object" but received "' + typeof obj_allowedValues_item + '" (at "' + path_allowedValues_item + '")');
|
|
4043
|
+
}
|
|
4044
|
+
}
|
|
4045
|
+
}
|
|
4032
4046
|
if (obj.apiName !== undefined) {
|
|
4033
4047
|
const obj_apiName = obj.apiName;
|
|
4034
4048
|
const path_apiName = path + '.apiName';
|
|
@@ -4110,8 +4124,8 @@ function validate$u(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
4110
4124
|
return v_error === undefined ? null : v_error;
|
|
4111
4125
|
}
|
|
4112
4126
|
|
|
4113
|
-
const VERSION$
|
|
4114
|
-
function validate$
|
|
4127
|
+
const VERSION$m = "8137018d7bcc1592081ebddf74ddd42a";
|
|
4128
|
+
function validate$u(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
4115
4129
|
const v_error = (() => {
|
|
4116
4130
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4117
4131
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4196,7 +4210,7 @@ function validate$t(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4196
4210
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4197
4211
|
const obj_filters_item = obj_filters[i];
|
|
4198
4212
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4199
|
-
const referencepath_filters_itemValidationError = validate
|
|
4213
|
+
const referencepath_filters_itemValidationError = validate$$(obj_filters_item, path_filters_item);
|
|
4200
4214
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4201
4215
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4202
4216
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4281,11 +4295,11 @@ function keyBuilderFromType$a(luvio, object) {
|
|
|
4281
4295
|
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
4282
4296
|
return input;
|
|
4283
4297
|
}
|
|
4284
|
-
const select$
|
|
4285
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
4298
|
+
const select$y = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
4299
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$J();
|
|
4286
4300
|
return {
|
|
4287
4301
|
kind: 'Fragment',
|
|
4288
|
-
version: VERSION$
|
|
4302
|
+
version: VERSION$m,
|
|
4289
4303
|
private: [],
|
|
4290
4304
|
selections: [
|
|
4291
4305
|
{
|
|
@@ -4394,7 +4408,7 @@ const select$x = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
4394
4408
|
]
|
|
4395
4409
|
};
|
|
4396
4410
|
};
|
|
4397
|
-
function equals$
|
|
4411
|
+
function equals$m(existing, incoming) {
|
|
4398
4412
|
const existing_isVisible = existing.isVisible;
|
|
4399
4413
|
const incoming_isVisible = incoming.isVisible;
|
|
4400
4414
|
// if at least one of these optionals is defined
|
|
@@ -4633,7 +4647,7 @@ function equals$l(existing, incoming) {
|
|
|
4633
4647
|
return false;
|
|
4634
4648
|
}
|
|
4635
4649
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
4636
|
-
if (!(equals$
|
|
4650
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
4637
4651
|
return false;
|
|
4638
4652
|
}
|
|
4639
4653
|
});
|
|
@@ -4645,14 +4659,14 @@ function equals$l(existing, incoming) {
|
|
|
4645
4659
|
}
|
|
4646
4660
|
const ingest$e = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4647
4661
|
if (process.env.NODE_ENV !== 'production') {
|
|
4648
|
-
const validateError = validate$
|
|
4662
|
+
const validateError = validate$u(input);
|
|
4649
4663
|
if (validateError !== null) {
|
|
4650
4664
|
throw validateError;
|
|
4651
4665
|
}
|
|
4652
4666
|
}
|
|
4653
4667
|
const key = keyBuilderFromType$a(luvio, input);
|
|
4654
4668
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4655
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$
|
|
4669
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$m, RepresentationType$e, equals$m);
|
|
4656
4670
|
return createLink(key);
|
|
4657
4671
|
};
|
|
4658
4672
|
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4665,8 +4679,8 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4665
4679
|
});
|
|
4666
4680
|
}
|
|
4667
4681
|
|
|
4668
|
-
const VERSION$
|
|
4669
|
-
function validate$
|
|
4682
|
+
const VERSION$l = "4dc83d3583b0937db8808447abe03505";
|
|
4683
|
+
function validate$t(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
4670
4684
|
const v_error = (() => {
|
|
4671
4685
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4672
4686
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4765,7 +4779,7 @@ function validate$s(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
4765
4779
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4766
4780
|
const obj_filters_item = obj_filters[i];
|
|
4767
4781
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4768
|
-
const referencepath_filters_itemValidationError = validate
|
|
4782
|
+
const referencepath_filters_itemValidationError = validate$$(obj_filters_item, path_filters_item);
|
|
4769
4783
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4770
4784
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4771
4785
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4878,11 +4892,11 @@ function keyBuilderFromType$9(luvio, object) {
|
|
|
4878
4892
|
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
4879
4893
|
return input;
|
|
4880
4894
|
}
|
|
4881
|
-
const select$
|
|
4882
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
4895
|
+
const select$x = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
4896
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$J();
|
|
4883
4897
|
return {
|
|
4884
4898
|
kind: 'Fragment',
|
|
4885
|
-
version: VERSION$
|
|
4899
|
+
version: VERSION$l,
|
|
4886
4900
|
private: [],
|
|
4887
4901
|
selections: [
|
|
4888
4902
|
{
|
|
@@ -5021,7 +5035,7 @@ const select$w = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
5021
5035
|
]
|
|
5022
5036
|
};
|
|
5023
5037
|
};
|
|
5024
|
-
function equals$
|
|
5038
|
+
function equals$l(existing, incoming) {
|
|
5025
5039
|
const existing_isAggregatable = existing.isAggregatable;
|
|
5026
5040
|
const incoming_isAggregatable = incoming.isAggregatable;
|
|
5027
5041
|
// if at least one of these optionals is defined
|
|
@@ -5338,7 +5352,7 @@ function equals$k(existing, incoming) {
|
|
|
5338
5352
|
return false;
|
|
5339
5353
|
}
|
|
5340
5354
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
5341
|
-
if (!(equals$
|
|
5355
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
5342
5356
|
return false;
|
|
5343
5357
|
}
|
|
5344
5358
|
});
|
|
@@ -5350,14 +5364,14 @@ function equals$k(existing, incoming) {
|
|
|
5350
5364
|
}
|
|
5351
5365
|
const ingest$d = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5352
5366
|
if (process.env.NODE_ENV !== 'production') {
|
|
5353
|
-
const validateError = validate$
|
|
5367
|
+
const validateError = validate$t(input);
|
|
5354
5368
|
if (validateError !== null) {
|
|
5355
5369
|
throw validateError;
|
|
5356
5370
|
}
|
|
5357
5371
|
}
|
|
5358
5372
|
const key = keyBuilderFromType$9(luvio, input);
|
|
5359
5373
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5360
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$
|
|
5374
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$l, RepresentationType$d, equals$l);
|
|
5361
5375
|
return createLink(key);
|
|
5362
5376
|
};
|
|
5363
5377
|
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5370,7 +5384,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5370
5384
|
});
|
|
5371
5385
|
}
|
|
5372
5386
|
|
|
5373
|
-
function validate$
|
|
5387
|
+
function validate$s(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
5374
5388
|
const v_error = (() => {
|
|
5375
5389
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5376
5390
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5511,7 +5525,7 @@ function validate$r(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
5511
5525
|
return v_error === undefined ? null : v_error;
|
|
5512
5526
|
}
|
|
5513
5527
|
|
|
5514
|
-
function validate$
|
|
5528
|
+
function validate$r(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
5515
5529
|
const v_error = (() => {
|
|
5516
5530
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5517
5531
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5687,8 +5701,8 @@ function validate$q(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
5687
5701
|
return v_error === undefined ? null : v_error;
|
|
5688
5702
|
}
|
|
5689
5703
|
|
|
5690
|
-
const VERSION$
|
|
5691
|
-
function validate$
|
|
5704
|
+
const VERSION$k = "4f111b93807b811179eb310384efdc35";
|
|
5705
|
+
function validate$q(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
5692
5706
|
const v_error = (() => {
|
|
5693
5707
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5694
5708
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5759,7 +5773,7 @@ function validate$p(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5759
5773
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5760
5774
|
const obj_filters_item = obj_filters[i];
|
|
5761
5775
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5762
|
-
const referencepath_filters_itemValidationError = validate
|
|
5776
|
+
const referencepath_filters_itemValidationError = validate$$(obj_filters_item, path_filters_item);
|
|
5763
5777
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5764
5778
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5765
5779
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5809,7 +5823,7 @@ function validate$p(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5809
5823
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
5810
5824
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
5811
5825
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
5812
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
5826
|
+
const referencepath_semanticDimensions_itemValidationError = validate$s(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
5813
5827
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
5814
5828
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
5815
5829
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5833,7 +5847,7 @@ function validate$p(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5833
5847
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
5834
5848
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
5835
5849
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
5836
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
5850
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$r(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
5837
5851
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
5838
5852
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
5839
5853
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5871,15 +5885,15 @@ function keyBuilderFromType$8(luvio, object) {
|
|
|
5871
5885
|
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
5872
5886
|
return input;
|
|
5873
5887
|
}
|
|
5874
|
-
const select$
|
|
5888
|
+
const select$w = function SemanticDataObjectOutputRepresentationSelect() {
|
|
5875
5889
|
return {
|
|
5876
5890
|
kind: 'Fragment',
|
|
5877
|
-
version: VERSION$
|
|
5891
|
+
version: VERSION$k,
|
|
5878
5892
|
private: [],
|
|
5879
5893
|
opaque: true
|
|
5880
5894
|
};
|
|
5881
5895
|
};
|
|
5882
|
-
function equals$
|
|
5896
|
+
function equals$k(existing, incoming) {
|
|
5883
5897
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
5884
5898
|
return false;
|
|
5885
5899
|
}
|
|
@@ -5887,14 +5901,14 @@ function equals$j(existing, incoming) {
|
|
|
5887
5901
|
}
|
|
5888
5902
|
const ingest$c = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5889
5903
|
if (process.env.NODE_ENV !== 'production') {
|
|
5890
|
-
const validateError = validate$
|
|
5904
|
+
const validateError = validate$q(input);
|
|
5891
5905
|
if (validateError !== null) {
|
|
5892
5906
|
throw validateError;
|
|
5893
5907
|
}
|
|
5894
5908
|
}
|
|
5895
5909
|
const key = keyBuilderFromType$8(luvio, input);
|
|
5896
5910
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5897
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$
|
|
5911
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$k, RepresentationType$c, equals$k);
|
|
5898
5912
|
return createLink(key);
|
|
5899
5913
|
};
|
|
5900
5914
|
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5907,8 +5921,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5907
5921
|
});
|
|
5908
5922
|
}
|
|
5909
5923
|
|
|
5910
|
-
const VERSION$
|
|
5911
|
-
function validate$
|
|
5924
|
+
const VERSION$j = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
5925
|
+
function validate$p(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
5912
5926
|
const v_error = (() => {
|
|
5913
5927
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5914
5928
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5917,10 +5931,10 @@ function validate$o(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
5917
5931
|
})();
|
|
5918
5932
|
return v_error === undefined ? null : v_error;
|
|
5919
5933
|
}
|
|
5920
|
-
const select$
|
|
5934
|
+
const select$v = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
5921
5935
|
return {
|
|
5922
5936
|
kind: 'Fragment',
|
|
5923
|
-
version: VERSION$
|
|
5937
|
+
version: VERSION$j,
|
|
5924
5938
|
private: [],
|
|
5925
5939
|
selections: [
|
|
5926
5940
|
{
|
|
@@ -5930,7 +5944,7 @@ const select$u = function BinDimensionConfigurationOutputRepresentationSelect()
|
|
|
5930
5944
|
]
|
|
5931
5945
|
};
|
|
5932
5946
|
};
|
|
5933
|
-
function equals$
|
|
5947
|
+
function equals$j(existing, incoming) {
|
|
5934
5948
|
const existing_constantBinSize = existing.constantBinSize;
|
|
5935
5949
|
const incoming_constantBinSize = incoming.constantBinSize;
|
|
5936
5950
|
if (!(existing_constantBinSize === incoming_constantBinSize)) {
|
|
@@ -5939,8 +5953,8 @@ function equals$i(existing, incoming) {
|
|
|
5939
5953
|
return true;
|
|
5940
5954
|
}
|
|
5941
5955
|
|
|
5942
|
-
const VERSION$
|
|
5943
|
-
function validate$
|
|
5956
|
+
const VERSION$i = "2cdadcd630abb7b981b2d131880a68c0";
|
|
5957
|
+
function validate$o(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
5944
5958
|
const v_error = (() => {
|
|
5945
5959
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5946
5960
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5967,10 +5981,10 @@ function validate$n(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
5967
5981
|
})();
|
|
5968
5982
|
return v_error === undefined ? null : v_error;
|
|
5969
5983
|
}
|
|
5970
|
-
const select$
|
|
5984
|
+
const select$u = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
5971
5985
|
return {
|
|
5972
5986
|
kind: 'Fragment',
|
|
5973
|
-
version: VERSION$
|
|
5987
|
+
version: VERSION$i,
|
|
5974
5988
|
private: [],
|
|
5975
5989
|
selections: [
|
|
5976
5990
|
{
|
|
@@ -5986,7 +6000,7 @@ const select$t = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
|
5986
6000
|
]
|
|
5987
6001
|
};
|
|
5988
6002
|
};
|
|
5989
|
-
function equals$
|
|
6003
|
+
function equals$i(existing, incoming) {
|
|
5990
6004
|
const existing_name = existing.name;
|
|
5991
6005
|
const incoming_name = incoming.name;
|
|
5992
6006
|
if (!(existing_name === incoming_name)) {
|
|
@@ -6013,8 +6027,8 @@ function equals$h(existing, incoming) {
|
|
|
6013
6027
|
return true;
|
|
6014
6028
|
}
|
|
6015
6029
|
|
|
6016
|
-
const VERSION$
|
|
6017
|
-
function validate$
|
|
6030
|
+
const VERSION$h = "55c60b6207985632192cb4e419822a86";
|
|
6031
|
+
function validate$n(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
6018
6032
|
const v_error = (() => {
|
|
6019
6033
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6020
6034
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6028,7 +6042,7 @@ function validate$m(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
6028
6042
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
6029
6043
|
const obj_groups_item = obj_groups[i];
|
|
6030
6044
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
6031
|
-
const referencepath_groups_itemValidationError = validate$
|
|
6045
|
+
const referencepath_groups_itemValidationError = validate$o(obj_groups_item, path_groups_item);
|
|
6032
6046
|
if (referencepath_groups_itemValidationError !== null) {
|
|
6033
6047
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
6034
6048
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6046,11 +6060,11 @@ function validate$m(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
6046
6060
|
})();
|
|
6047
6061
|
return v_error === undefined ? null : v_error;
|
|
6048
6062
|
}
|
|
6049
|
-
const select$
|
|
6050
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
6063
|
+
const select$t = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
6064
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$u();
|
|
6051
6065
|
return {
|
|
6052
6066
|
kind: 'Fragment',
|
|
6053
|
-
version: VERSION$
|
|
6067
|
+
version: VERSION$h,
|
|
6054
6068
|
private: [],
|
|
6055
6069
|
selections: [
|
|
6056
6070
|
{
|
|
@@ -6068,7 +6082,7 @@ const select$s = function GroupDimensionConfigurationOutputRepresentationSelect(
|
|
|
6068
6082
|
]
|
|
6069
6083
|
};
|
|
6070
6084
|
};
|
|
6071
|
-
function equals$
|
|
6085
|
+
function equals$h(existing, incoming) {
|
|
6072
6086
|
const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
|
|
6073
6087
|
const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
|
|
6074
6088
|
// if at least one of these optionals is defined
|
|
@@ -6092,7 +6106,7 @@ function equals$g(existing, incoming) {
|
|
|
6092
6106
|
return false;
|
|
6093
6107
|
}
|
|
6094
6108
|
const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
|
|
6095
|
-
if (!(equals$
|
|
6109
|
+
if (!(equals$i(existing_groups_item, incoming_groups_item))) {
|
|
6096
6110
|
return false;
|
|
6097
6111
|
}
|
|
6098
6112
|
});
|
|
@@ -6103,8 +6117,8 @@ function equals$g(existing, incoming) {
|
|
|
6103
6117
|
return true;
|
|
6104
6118
|
}
|
|
6105
6119
|
|
|
6106
|
-
const VERSION$
|
|
6107
|
-
function validate$
|
|
6120
|
+
const VERSION$g = "50dc390b159159afb1945b9a811c9f80";
|
|
6121
|
+
function validate$m(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
6108
6122
|
const v_error = (() => {
|
|
6109
6123
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6110
6124
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6112,7 +6126,7 @@ function validate$l(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
6112
6126
|
if (obj.binDimension !== undefined) {
|
|
6113
6127
|
const obj_binDimension = obj.binDimension;
|
|
6114
6128
|
const path_binDimension = path + '.binDimension';
|
|
6115
|
-
const referencepath_binDimensionValidationError = validate$
|
|
6129
|
+
const referencepath_binDimensionValidationError = validate$p(obj_binDimension, path_binDimension);
|
|
6116
6130
|
if (referencepath_binDimensionValidationError !== null) {
|
|
6117
6131
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
6118
6132
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6122,7 +6136,7 @@ function validate$l(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
6122
6136
|
if (obj.groupDimension !== undefined) {
|
|
6123
6137
|
const obj_groupDimension = obj.groupDimension;
|
|
6124
6138
|
const path_groupDimension = path + '.groupDimension';
|
|
6125
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
6139
|
+
const referencepath_groupDimensionValidationError = validate$n(obj_groupDimension, path_groupDimension);
|
|
6126
6140
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
6127
6141
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
6128
6142
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6132,12 +6146,12 @@ function validate$l(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
6132
6146
|
})();
|
|
6133
6147
|
return v_error === undefined ? null : v_error;
|
|
6134
6148
|
}
|
|
6135
|
-
const select$
|
|
6136
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
6137
|
-
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
6149
|
+
const select$s = function SemanticGroupingConfigurationOutputRepresentationSelect() {
|
|
6150
|
+
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$v();
|
|
6151
|
+
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$t();
|
|
6138
6152
|
return {
|
|
6139
6153
|
kind: 'Fragment',
|
|
6140
|
-
version: VERSION$
|
|
6154
|
+
version: VERSION$g,
|
|
6141
6155
|
private: [],
|
|
6142
6156
|
selections: [
|
|
6143
6157
|
{
|
|
@@ -6155,7 +6169,7 @@ const select$r = function SemanticGroupingConfigurationOutputRepresentationSelec
|
|
|
6155
6169
|
]
|
|
6156
6170
|
};
|
|
6157
6171
|
};
|
|
6158
|
-
function equals$
|
|
6172
|
+
function equals$g(existing, incoming) {
|
|
6159
6173
|
const existing_binDimension = existing.binDimension;
|
|
6160
6174
|
const incoming_binDimension = incoming.binDimension;
|
|
6161
6175
|
// if at least one of these optionals is defined
|
|
@@ -6165,7 +6179,7 @@ function equals$f(existing, incoming) {
|
|
|
6165
6179
|
if (existing_binDimension === undefined || incoming_binDimension === undefined) {
|
|
6166
6180
|
return false;
|
|
6167
6181
|
}
|
|
6168
|
-
if (!(equals$
|
|
6182
|
+
if (!(equals$j(existing_binDimension, incoming_binDimension))) {
|
|
6169
6183
|
return false;
|
|
6170
6184
|
}
|
|
6171
6185
|
}
|
|
@@ -6178,15 +6192,15 @@ function equals$f(existing, incoming) {
|
|
|
6178
6192
|
if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
|
|
6179
6193
|
return false;
|
|
6180
6194
|
}
|
|
6181
|
-
if (!(equals$
|
|
6195
|
+
if (!(equals$h(existing_groupDimension, incoming_groupDimension))) {
|
|
6182
6196
|
return false;
|
|
6183
6197
|
}
|
|
6184
6198
|
}
|
|
6185
6199
|
return true;
|
|
6186
6200
|
}
|
|
6187
6201
|
|
|
6188
|
-
const VERSION$
|
|
6189
|
-
function validate$
|
|
6202
|
+
const VERSION$f = "1daec40706bf767c719fa58831fad462";
|
|
6203
|
+
function validate$l(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
6190
6204
|
const v_error = (() => {
|
|
6191
6205
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6192
6206
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6212,7 +6226,7 @@ function validate$k(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
6212
6226
|
}
|
|
6213
6227
|
const obj_configuration = obj.configuration;
|
|
6214
6228
|
const path_configuration = path + '.configuration';
|
|
6215
|
-
const referencepath_configurationValidationError = validate$
|
|
6229
|
+
const referencepath_configurationValidationError = validate$m(obj_configuration, path_configuration);
|
|
6216
6230
|
if (referencepath_configurationValidationError !== null) {
|
|
6217
6231
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
6218
6232
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6237,7 +6251,7 @@ function validate$k(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
6237
6251
|
}
|
|
6238
6252
|
const obj_fieldReference = obj.fieldReference;
|
|
6239
6253
|
const path_fieldReference = path + '.fieldReference';
|
|
6240
|
-
const referencepath_fieldReferenceValidationError = validate
|
|
6254
|
+
const referencepath_fieldReferenceValidationError = validate$10(obj_fieldReference, path_fieldReference);
|
|
6241
6255
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
6242
6256
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
6243
6257
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6290,12 +6304,12 @@ function keyBuilderFromType$7(luvio, object) {
|
|
|
6290
6304
|
function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
6291
6305
|
return input;
|
|
6292
6306
|
}
|
|
6293
|
-
const select$
|
|
6294
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
6295
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
6307
|
+
const select$r = function SemanticGroupingOutputRepresentationSelect() {
|
|
6308
|
+
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$s();
|
|
6309
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$K();
|
|
6296
6310
|
return {
|
|
6297
6311
|
kind: 'Fragment',
|
|
6298
|
-
version: VERSION$
|
|
6312
|
+
version: VERSION$f,
|
|
6299
6313
|
private: [],
|
|
6300
6314
|
selections: [
|
|
6301
6315
|
{
|
|
@@ -6361,7 +6375,7 @@ const select$q = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
6361
6375
|
]
|
|
6362
6376
|
};
|
|
6363
6377
|
};
|
|
6364
|
-
function equals$
|
|
6378
|
+
function equals$f(existing, incoming) {
|
|
6365
6379
|
const existing_apiName = existing.apiName;
|
|
6366
6380
|
const incoming_apiName = incoming.apiName;
|
|
6367
6381
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -6467,26 +6481,26 @@ function equals$e(existing, incoming) {
|
|
|
6467
6481
|
}
|
|
6468
6482
|
const existing_configuration = existing.configuration;
|
|
6469
6483
|
const incoming_configuration = incoming.configuration;
|
|
6470
|
-
if (!(equals$
|
|
6484
|
+
if (!(equals$g(existing_configuration, incoming_configuration))) {
|
|
6471
6485
|
return false;
|
|
6472
6486
|
}
|
|
6473
6487
|
const existing_fieldReference = existing.fieldReference;
|
|
6474
6488
|
const incoming_fieldReference = incoming.fieldReference;
|
|
6475
|
-
if (!(equals$
|
|
6489
|
+
if (!(equals$w(existing_fieldReference, incoming_fieldReference))) {
|
|
6476
6490
|
return false;
|
|
6477
6491
|
}
|
|
6478
6492
|
return true;
|
|
6479
6493
|
}
|
|
6480
6494
|
const ingest$b = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6481
6495
|
if (process.env.NODE_ENV !== 'production') {
|
|
6482
|
-
const validateError = validate$
|
|
6496
|
+
const validateError = validate$l(input);
|
|
6483
6497
|
if (validateError !== null) {
|
|
6484
6498
|
throw validateError;
|
|
6485
6499
|
}
|
|
6486
6500
|
}
|
|
6487
6501
|
const key = keyBuilderFromType$7(luvio, input);
|
|
6488
6502
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6489
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$
|
|
6503
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$f, RepresentationType$b, equals$f);
|
|
6490
6504
|
return createLink(key);
|
|
6491
6505
|
};
|
|
6492
6506
|
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6499,8 +6513,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6499
6513
|
});
|
|
6500
6514
|
}
|
|
6501
6515
|
|
|
6502
|
-
const VERSION$
|
|
6503
|
-
function validate$
|
|
6516
|
+
const VERSION$e = "c5144c317ac72b60d580cab803514b8d";
|
|
6517
|
+
function validate$k(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
6504
6518
|
const v_error = (() => {
|
|
6505
6519
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6506
6520
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6543,10 +6557,10 @@ function validate$j(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
6543
6557
|
})();
|
|
6544
6558
|
return v_error === undefined ? null : v_error;
|
|
6545
6559
|
}
|
|
6546
|
-
const select$
|
|
6560
|
+
const select$q = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
6547
6561
|
return {
|
|
6548
6562
|
kind: 'Fragment',
|
|
6549
|
-
version: VERSION$
|
|
6563
|
+
version: VERSION$e,
|
|
6550
6564
|
private: [],
|
|
6551
6565
|
selections: [
|
|
6552
6566
|
{
|
|
@@ -6577,7 +6591,7 @@ const select$p = function SemanticRelationshipCriteriaOutputRepresentationSelect
|
|
|
6577
6591
|
]
|
|
6578
6592
|
};
|
|
6579
6593
|
};
|
|
6580
|
-
function equals$
|
|
6594
|
+
function equals$e(existing, incoming) {
|
|
6581
6595
|
const existing_joinOperator = existing.joinOperator;
|
|
6582
6596
|
const incoming_joinOperator = incoming.joinOperator;
|
|
6583
6597
|
// if at least one of these optionals is defined
|
|
@@ -6646,8 +6660,8 @@ function equals$d(existing, incoming) {
|
|
|
6646
6660
|
return true;
|
|
6647
6661
|
}
|
|
6648
6662
|
|
|
6649
|
-
const VERSION$
|
|
6650
|
-
function validate$
|
|
6663
|
+
const VERSION$d = "b9778dace5726fcb57804d3afd529246";
|
|
6664
|
+
function validate$j(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
6651
6665
|
const v_error = (() => {
|
|
6652
6666
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6653
6667
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6697,7 +6711,7 @@ function validate$i(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
6697
6711
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
6698
6712
|
const obj_criteria_item = obj_criteria[i];
|
|
6699
6713
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
6700
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
6714
|
+
const referencepath_criteria_itemValidationError = validate$k(obj_criteria_item, path_criteria_item);
|
|
6701
6715
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
6702
6716
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
6703
6717
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6789,11 +6803,11 @@ function keyBuilderFromType$6(luvio, object) {
|
|
|
6789
6803
|
function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
6790
6804
|
return input;
|
|
6791
6805
|
}
|
|
6792
|
-
const select$
|
|
6793
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
6806
|
+
const select$p = function SemanticRelationshipOutputRepresentationSelect() {
|
|
6807
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$q();
|
|
6794
6808
|
return {
|
|
6795
6809
|
kind: 'Fragment',
|
|
6796
|
-
version: VERSION$
|
|
6810
|
+
version: VERSION$d,
|
|
6797
6811
|
private: [],
|
|
6798
6812
|
selections: [
|
|
6799
6813
|
{
|
|
@@ -6882,7 +6896,7 @@ const select$o = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
6882
6896
|
]
|
|
6883
6897
|
};
|
|
6884
6898
|
};
|
|
6885
|
-
function equals$
|
|
6899
|
+
function equals$d(existing, incoming) {
|
|
6886
6900
|
const existing_isEnabled = existing.isEnabled;
|
|
6887
6901
|
const incoming_isEnabled = incoming.isEnabled;
|
|
6888
6902
|
// if at least one of these optionals is defined
|
|
@@ -7069,7 +7083,7 @@ function equals$c(existing, incoming) {
|
|
|
7069
7083
|
return false;
|
|
7070
7084
|
}
|
|
7071
7085
|
const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
|
|
7072
|
-
if (!(equals$
|
|
7086
|
+
if (!(equals$e(existing_criteria_item, incoming_criteria_item))) {
|
|
7073
7087
|
return false;
|
|
7074
7088
|
}
|
|
7075
7089
|
});
|
|
@@ -7081,14 +7095,14 @@ function equals$c(existing, incoming) {
|
|
|
7081
7095
|
}
|
|
7082
7096
|
const ingest$a = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7083
7097
|
if (process.env.NODE_ENV !== 'production') {
|
|
7084
|
-
const validateError = validate$
|
|
7098
|
+
const validateError = validate$j(input);
|
|
7085
7099
|
if (validateError !== null) {
|
|
7086
7100
|
throw validateError;
|
|
7087
7101
|
}
|
|
7088
7102
|
}
|
|
7089
7103
|
const key = keyBuilderFromType$6(luvio, input);
|
|
7090
7104
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7091
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$
|
|
7105
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$d, RepresentationType$a, equals$d);
|
|
7092
7106
|
return createLink(key);
|
|
7093
7107
|
};
|
|
7094
7108
|
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7101,8 +7115,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7101
7115
|
});
|
|
7102
7116
|
}
|
|
7103
7117
|
|
|
7104
|
-
const VERSION$
|
|
7105
|
-
function validate$
|
|
7118
|
+
const VERSION$c = "eaf9b57a92e764fb2b5c27b6e031cfe1";
|
|
7119
|
+
function validate$i(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
7106
7120
|
const v_error = (() => {
|
|
7107
7121
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7108
7122
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7152,7 +7166,7 @@ function validate$h(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
7152
7166
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
7153
7167
|
const obj_fields_item = obj_fields[i];
|
|
7154
7168
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
7155
|
-
const referencepath_fields_itemValidationError = validate$
|
|
7169
|
+
const referencepath_fields_itemValidationError = validate$11(obj_fields_item, path_fields_item);
|
|
7156
7170
|
if (referencepath_fields_itemValidationError !== null) {
|
|
7157
7171
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
7158
7172
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7196,7 +7210,7 @@ function validate$h(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
7196
7210
|
if (obj.semanticDimension !== undefined) {
|
|
7197
7211
|
const obj_semanticDimension = obj.semanticDimension;
|
|
7198
7212
|
const path_semanticDimension = path + '.semanticDimension';
|
|
7199
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
7213
|
+
const referencepath_semanticDimensionValidationError = validate$s(obj_semanticDimension, path_semanticDimension);
|
|
7200
7214
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
7201
7215
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
7202
7216
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7206,7 +7220,7 @@ function validate$h(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
7206
7220
|
if (obj.semanticMeasurement !== undefined) {
|
|
7207
7221
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
7208
7222
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
7209
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
7223
|
+
const referencepath_semanticMeasurementValidationError = validate$r(obj_semanticMeasurement, path_semanticMeasurement);
|
|
7210
7224
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
7211
7225
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
7212
7226
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7229,15 +7243,15 @@ function keyBuilderFromType$5(luvio, object) {
|
|
|
7229
7243
|
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
7230
7244
|
return input;
|
|
7231
7245
|
}
|
|
7232
|
-
const select$
|
|
7246
|
+
const select$o = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
7233
7247
|
return {
|
|
7234
7248
|
kind: 'Fragment',
|
|
7235
|
-
version: VERSION$
|
|
7249
|
+
version: VERSION$c,
|
|
7236
7250
|
private: [],
|
|
7237
7251
|
opaque: true
|
|
7238
7252
|
};
|
|
7239
7253
|
};
|
|
7240
|
-
function equals$
|
|
7254
|
+
function equals$c(existing, incoming) {
|
|
7241
7255
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
7242
7256
|
return false;
|
|
7243
7257
|
}
|
|
@@ -7245,14 +7259,14 @@ function equals$b(existing, incoming) {
|
|
|
7245
7259
|
}
|
|
7246
7260
|
const ingest$9 = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7247
7261
|
if (process.env.NODE_ENV !== 'production') {
|
|
7248
|
-
const validateError = validate$
|
|
7262
|
+
const validateError = validate$i(input);
|
|
7249
7263
|
if (validateError !== null) {
|
|
7250
7264
|
throw validateError;
|
|
7251
7265
|
}
|
|
7252
7266
|
}
|
|
7253
7267
|
const key = keyBuilderFromType$5(luvio, input);
|
|
7254
7268
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7255
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$
|
|
7269
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$c, RepresentationType$9, equals$c);
|
|
7256
7270
|
return createLink(key);
|
|
7257
7271
|
};
|
|
7258
7272
|
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7265,8 +7279,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7265
7279
|
});
|
|
7266
7280
|
}
|
|
7267
7281
|
|
|
7268
|
-
const VERSION$
|
|
7269
|
-
function validate$
|
|
7282
|
+
const VERSION$b = "69fe23112140e9fae50135dcb15c24c2";
|
|
7283
|
+
function validate$h(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
7270
7284
|
const v_error = (() => {
|
|
7271
7285
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7272
7286
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7441,10 +7455,10 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
7441
7455
|
}
|
|
7442
7456
|
return input;
|
|
7443
7457
|
}
|
|
7444
|
-
const select$
|
|
7458
|
+
const select$n = function SemanticUnionOutputRepresentationSelect() {
|
|
7445
7459
|
return {
|
|
7446
7460
|
kind: 'Fragment',
|
|
7447
|
-
version: VERSION$
|
|
7461
|
+
version: VERSION$b,
|
|
7448
7462
|
private: [],
|
|
7449
7463
|
selections: [
|
|
7450
7464
|
{
|
|
@@ -7503,19 +7517,19 @@ const select$m = function SemanticUnionOutputRepresentationSelect() {
|
|
|
7503
7517
|
kind: 'Link',
|
|
7504
7518
|
plural: true,
|
|
7505
7519
|
required: false,
|
|
7506
|
-
fragment: select$
|
|
7520
|
+
fragment: select$w()
|
|
7507
7521
|
},
|
|
7508
7522
|
{
|
|
7509
7523
|
name: 'semanticMappedFields',
|
|
7510
7524
|
kind: 'Link',
|
|
7511
7525
|
plural: true,
|
|
7512
7526
|
required: false,
|
|
7513
|
-
fragment: select$
|
|
7527
|
+
fragment: select$o()
|
|
7514
7528
|
}
|
|
7515
7529
|
]
|
|
7516
7530
|
};
|
|
7517
7531
|
};
|
|
7518
|
-
function equals$
|
|
7532
|
+
function equals$b(existing, incoming) {
|
|
7519
7533
|
const existing_apiName = existing.apiName;
|
|
7520
7534
|
const incoming_apiName = incoming.apiName;
|
|
7521
7535
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -7667,14 +7681,14 @@ function equals$a(existing, incoming) {
|
|
|
7667
7681
|
}
|
|
7668
7682
|
const ingest$8 = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7669
7683
|
if (process.env.NODE_ENV !== 'production') {
|
|
7670
|
-
const validateError = validate$
|
|
7684
|
+
const validateError = validate$h(input);
|
|
7671
7685
|
if (validateError !== null) {
|
|
7672
7686
|
throw validateError;
|
|
7673
7687
|
}
|
|
7674
7688
|
}
|
|
7675
7689
|
const key = keyBuilderFromType$4(luvio, input);
|
|
7676
7690
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7677
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$
|
|
7691
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$b, RepresentationType$8, equals$b);
|
|
7678
7692
|
return createLink(key);
|
|
7679
7693
|
};
|
|
7680
7694
|
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7699,8 +7713,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7699
7713
|
}
|
|
7700
7714
|
}
|
|
7701
7715
|
|
|
7702
|
-
const VERSION$
|
|
7703
|
-
function validate$
|
|
7716
|
+
const VERSION$a = "f186bf0514421e7f42e284136d60ea6c";
|
|
7717
|
+
function validate$g(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
7704
7718
|
const v_error = (() => {
|
|
7705
7719
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7706
7720
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7764,7 +7778,7 @@ function validate$f(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7764
7778
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7765
7779
|
const obj_filters_item = obj_filters[i];
|
|
7766
7780
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7767
|
-
const referencepath_filters_itemValidationError = validate
|
|
7781
|
+
const referencepath_filters_itemValidationError = validate$$(obj_filters_item, path_filters_item);
|
|
7768
7782
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7769
7783
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7770
7784
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7917,11 +7931,11 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
7917
7931
|
}
|
|
7918
7932
|
return input;
|
|
7919
7933
|
}
|
|
7920
|
-
const select$
|
|
7921
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
7934
|
+
const select$m = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
7935
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$J();
|
|
7922
7936
|
return {
|
|
7923
7937
|
kind: 'Fragment',
|
|
7924
|
-
version: VERSION$
|
|
7938
|
+
version: VERSION$a,
|
|
7925
7939
|
private: [],
|
|
7926
7940
|
selections: [
|
|
7927
7941
|
{
|
|
@@ -7992,21 +8006,21 @@ const select$l = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7992
8006
|
kind: 'Link',
|
|
7993
8007
|
plural: true,
|
|
7994
8008
|
required: false,
|
|
7995
|
-
fragment: select$
|
|
8009
|
+
fragment: select$w()
|
|
7996
8010
|
},
|
|
7997
8011
|
{
|
|
7998
8012
|
name: 'semanticRelationships',
|
|
7999
8013
|
kind: 'Link',
|
|
8000
8014
|
plural: true,
|
|
8001
8015
|
required: false,
|
|
8002
|
-
fragment: select$
|
|
8016
|
+
fragment: select$p()
|
|
8003
8017
|
},
|
|
8004
8018
|
{
|
|
8005
8019
|
name: 'semanticUnions',
|
|
8006
8020
|
kind: 'Link',
|
|
8007
8021
|
plural: true,
|
|
8008
8022
|
required: false,
|
|
8009
|
-
fragment: select$
|
|
8023
|
+
fragment: select$n()
|
|
8010
8024
|
},
|
|
8011
8025
|
{
|
|
8012
8026
|
name: 'semanticViewTypeEnum',
|
|
@@ -8016,7 +8030,7 @@ const select$l = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
8016
8030
|
]
|
|
8017
8031
|
};
|
|
8018
8032
|
};
|
|
8019
|
-
function equals$
|
|
8033
|
+
function equals$a(existing, incoming) {
|
|
8020
8034
|
const existing_apiName = existing.apiName;
|
|
8021
8035
|
const incoming_apiName = incoming.apiName;
|
|
8022
8036
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -8164,7 +8178,7 @@ function equals$9(existing, incoming) {
|
|
|
8164
8178
|
return false;
|
|
8165
8179
|
}
|
|
8166
8180
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
8167
|
-
if (!(equals$
|
|
8181
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
8168
8182
|
return false;
|
|
8169
8183
|
}
|
|
8170
8184
|
});
|
|
@@ -8230,14 +8244,14 @@ function equals$9(existing, incoming) {
|
|
|
8230
8244
|
}
|
|
8231
8245
|
const ingest$7 = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8232
8246
|
if (process.env.NODE_ENV !== 'production') {
|
|
8233
|
-
const validateError = validate$
|
|
8247
|
+
const validateError = validate$g(input);
|
|
8234
8248
|
if (validateError !== null) {
|
|
8235
8249
|
throw validateError;
|
|
8236
8250
|
}
|
|
8237
8251
|
}
|
|
8238
8252
|
const key = keyBuilderFromType$3(luvio, input);
|
|
8239
8253
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
8240
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SemanticAuthoring", VERSION$
|
|
8254
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SemanticAuthoring", VERSION$a, RepresentationType$7, equals$a);
|
|
8241
8255
|
return createLink(key);
|
|
8242
8256
|
};
|
|
8243
8257
|
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -8268,12 +8282,101 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8268
8282
|
}
|
|
8269
8283
|
}
|
|
8270
8284
|
|
|
8271
|
-
const VERSION$
|
|
8285
|
+
const VERSION$9 = "158d115be773406f841e4351d481d398";
|
|
8286
|
+
function validate$f(obj, path = 'SemanticParameterListValueOutputRepresentation') {
|
|
8287
|
+
const v_error = (() => {
|
|
8288
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8289
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
8290
|
+
}
|
|
8291
|
+
if (obj.displayName !== undefined) {
|
|
8292
|
+
const obj_displayName = obj.displayName;
|
|
8293
|
+
const path_displayName = path + '.displayName';
|
|
8294
|
+
if (typeof obj_displayName !== 'string') {
|
|
8295
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
8296
|
+
}
|
|
8297
|
+
}
|
|
8298
|
+
if (obj.value !== undefined) {
|
|
8299
|
+
const obj_value = obj.value;
|
|
8300
|
+
const path_value = path + '.value';
|
|
8301
|
+
if (typeof obj_value !== 'string') {
|
|
8302
|
+
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
8303
|
+
}
|
|
8304
|
+
}
|
|
8305
|
+
})();
|
|
8306
|
+
return v_error === undefined ? null : v_error;
|
|
8307
|
+
}
|
|
8308
|
+
const select$l = function SemanticParameterListValueOutputRepresentationSelect() {
|
|
8309
|
+
return {
|
|
8310
|
+
kind: 'Fragment',
|
|
8311
|
+
version: VERSION$9,
|
|
8312
|
+
private: [],
|
|
8313
|
+
selections: [
|
|
8314
|
+
{
|
|
8315
|
+
name: 'displayName',
|
|
8316
|
+
kind: 'Scalar',
|
|
8317
|
+
required: false
|
|
8318
|
+
},
|
|
8319
|
+
{
|
|
8320
|
+
name: 'value',
|
|
8321
|
+
kind: 'Scalar',
|
|
8322
|
+
required: false
|
|
8323
|
+
}
|
|
8324
|
+
]
|
|
8325
|
+
};
|
|
8326
|
+
};
|
|
8327
|
+
function equals$9(existing, incoming) {
|
|
8328
|
+
const existing_displayName = existing.displayName;
|
|
8329
|
+
const incoming_displayName = incoming.displayName;
|
|
8330
|
+
// if at least one of these optionals is defined
|
|
8331
|
+
if (existing_displayName !== undefined || incoming_displayName !== undefined) {
|
|
8332
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8333
|
+
// not equal
|
|
8334
|
+
if (existing_displayName === undefined || incoming_displayName === undefined) {
|
|
8335
|
+
return false;
|
|
8336
|
+
}
|
|
8337
|
+
if (!(existing_displayName === incoming_displayName)) {
|
|
8338
|
+
return false;
|
|
8339
|
+
}
|
|
8340
|
+
}
|
|
8341
|
+
const existing_value = existing.value;
|
|
8342
|
+
const incoming_value = incoming.value;
|
|
8343
|
+
// if at least one of these optionals is defined
|
|
8344
|
+
if (existing_value !== undefined || incoming_value !== undefined) {
|
|
8345
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8346
|
+
// not equal
|
|
8347
|
+
if (existing_value === undefined || incoming_value === undefined) {
|
|
8348
|
+
return false;
|
|
8349
|
+
}
|
|
8350
|
+
if (!(existing_value === incoming_value)) {
|
|
8351
|
+
return false;
|
|
8352
|
+
}
|
|
8353
|
+
}
|
|
8354
|
+
return true;
|
|
8355
|
+
}
|
|
8356
|
+
|
|
8357
|
+
const VERSION$8 = "6ed89c4ce77235d13ce6bb395ae49d8e";
|
|
8272
8358
|
function validate$e(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
8273
8359
|
const v_error = (() => {
|
|
8274
8360
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8275
8361
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
8276
8362
|
}
|
|
8363
|
+
if (obj.allowedValues !== undefined) {
|
|
8364
|
+
const obj_allowedValues = obj.allowedValues;
|
|
8365
|
+
const path_allowedValues = path + '.allowedValues';
|
|
8366
|
+
if (!ArrayIsArray(obj_allowedValues)) {
|
|
8367
|
+
return new TypeError('Expected "array" but received "' + typeof obj_allowedValues + '" (at "' + path_allowedValues + '")');
|
|
8368
|
+
}
|
|
8369
|
+
for (let i = 0; i < obj_allowedValues.length; i++) {
|
|
8370
|
+
const obj_allowedValues_item = obj_allowedValues[i];
|
|
8371
|
+
const path_allowedValues_item = path_allowedValues + '[' + i + ']';
|
|
8372
|
+
const referencepath_allowedValues_itemValidationError = validate$f(obj_allowedValues_item, path_allowedValues_item);
|
|
8373
|
+
if (referencepath_allowedValues_itemValidationError !== null) {
|
|
8374
|
+
let message = 'Object doesn\'t match SemanticParameterListValueOutputRepresentation (at "' + path_allowedValues_item + '")\n';
|
|
8375
|
+
message += referencepath_allowedValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8376
|
+
return new TypeError(message);
|
|
8377
|
+
}
|
|
8378
|
+
}
|
|
8379
|
+
}
|
|
8277
8380
|
const obj_apiName = obj.apiName;
|
|
8278
8381
|
const path_apiName = path + '.apiName';
|
|
8279
8382
|
if (typeof obj_apiName !== 'string') {
|
|
@@ -8409,11 +8512,19 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
8409
8512
|
return input;
|
|
8410
8513
|
}
|
|
8411
8514
|
const select$k = function SemanticParameterOutputRepresentationSelect() {
|
|
8515
|
+
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$l();
|
|
8412
8516
|
return {
|
|
8413
8517
|
kind: 'Fragment',
|
|
8414
8518
|
version: VERSION$8,
|
|
8415
8519
|
private: [],
|
|
8416
8520
|
selections: [
|
|
8521
|
+
{
|
|
8522
|
+
name: 'allowedValues',
|
|
8523
|
+
kind: 'Object',
|
|
8524
|
+
plural: true,
|
|
8525
|
+
selections: SemanticParameterListValueOutputRepresentation__selections,
|
|
8526
|
+
required: false
|
|
8527
|
+
},
|
|
8417
8528
|
{
|
|
8418
8529
|
name: 'apiName',
|
|
8419
8530
|
kind: 'Scalar'
|
|
@@ -8676,6 +8787,24 @@ function equals$8(existing, incoming) {
|
|
|
8676
8787
|
return false;
|
|
8677
8788
|
}
|
|
8678
8789
|
}
|
|
8790
|
+
const existing_allowedValues = existing.allowedValues;
|
|
8791
|
+
const incoming_allowedValues = incoming.allowedValues;
|
|
8792
|
+
// if at least one of these optionals is defined
|
|
8793
|
+
if (existing_allowedValues !== undefined || incoming_allowedValues !== undefined) {
|
|
8794
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8795
|
+
// not equal
|
|
8796
|
+
if (existing_allowedValues === undefined || incoming_allowedValues === undefined) {
|
|
8797
|
+
return false;
|
|
8798
|
+
}
|
|
8799
|
+
const equals_allowedValues_items = equalsArray(existing_allowedValues, incoming_allowedValues, (existing_allowedValues_item, incoming_allowedValues_item) => {
|
|
8800
|
+
if (!(equals$9(existing_allowedValues_item, incoming_allowedValues_item))) {
|
|
8801
|
+
return false;
|
|
8802
|
+
}
|
|
8803
|
+
});
|
|
8804
|
+
if (equals_allowedValues_items === false) {
|
|
8805
|
+
return false;
|
|
8806
|
+
}
|
|
8807
|
+
}
|
|
8679
8808
|
const existing_values = existing.values;
|
|
8680
8809
|
const incoming_values = incoming.values;
|
|
8681
8810
|
// if at least one of these optionals is defined
|
|
@@ -8752,7 +8881,7 @@ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8752
8881
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
8753
8882
|
const obj_baseModels_item = obj_baseModels[i];
|
|
8754
8883
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
8755
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
8884
|
+
const referencepath_baseModels_itemValidationError = validate$V(obj_baseModels_item, path_baseModels_item);
|
|
8756
8885
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
8757
8886
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
8758
8887
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9193,7 +9322,7 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
|
9193
9322
|
return input;
|
|
9194
9323
|
}
|
|
9195
9324
|
const select$j = function SemanticModelOutputRepresentationSelect() {
|
|
9196
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
9325
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$C();
|
|
9197
9326
|
return {
|
|
9198
9327
|
kind: 'Fragment',
|
|
9199
9328
|
version: VERSION$7,
|
|
@@ -9282,7 +9411,7 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
|
|
|
9282
9411
|
kind: 'Link',
|
|
9283
9412
|
plural: true,
|
|
9284
9413
|
required: false,
|
|
9285
|
-
fragment: select$
|
|
9414
|
+
fragment: select$y()
|
|
9286
9415
|
},
|
|
9287
9416
|
{
|
|
9288
9417
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -9294,7 +9423,7 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
|
|
|
9294
9423
|
kind: 'Link',
|
|
9295
9424
|
plural: true,
|
|
9296
9425
|
required: false,
|
|
9297
|
-
fragment: select$
|
|
9426
|
+
fragment: select$x()
|
|
9298
9427
|
},
|
|
9299
9428
|
{
|
|
9300
9429
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -9306,7 +9435,7 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
|
|
|
9306
9435
|
kind: 'Link',
|
|
9307
9436
|
plural: true,
|
|
9308
9437
|
required: false,
|
|
9309
|
-
fragment: select$
|
|
9438
|
+
fragment: select$w()
|
|
9310
9439
|
},
|
|
9311
9440
|
{
|
|
9312
9441
|
name: 'semanticDataObjectsUrl',
|
|
@@ -9318,7 +9447,7 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
|
|
|
9318
9447
|
kind: 'Link',
|
|
9319
9448
|
plural: true,
|
|
9320
9449
|
required: false,
|
|
9321
|
-
fragment: select$
|
|
9450
|
+
fragment: select$r()
|
|
9322
9451
|
},
|
|
9323
9452
|
{
|
|
9324
9453
|
name: 'semanticGroupingsUrl',
|
|
@@ -9330,14 +9459,14 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
|
|
|
9330
9459
|
kind: 'Link',
|
|
9331
9460
|
plural: true,
|
|
9332
9461
|
required: false,
|
|
9333
|
-
fragment: select$
|
|
9462
|
+
fragment: select$m()
|
|
9334
9463
|
},
|
|
9335
9464
|
{
|
|
9336
9465
|
name: 'semanticMetrics',
|
|
9337
9466
|
kind: 'Link',
|
|
9338
9467
|
plural: true,
|
|
9339
9468
|
required: false,
|
|
9340
|
-
fragment: select$
|
|
9469
|
+
fragment: select$F()
|
|
9341
9470
|
},
|
|
9342
9471
|
{
|
|
9343
9472
|
name: 'semanticParameters',
|
|
@@ -9356,7 +9485,7 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
|
|
|
9356
9485
|
kind: 'Link',
|
|
9357
9486
|
plural: true,
|
|
9358
9487
|
required: false,
|
|
9359
|
-
fragment: select$
|
|
9488
|
+
fragment: select$p()
|
|
9360
9489
|
},
|
|
9361
9490
|
{
|
|
9362
9491
|
name: 'semanticRelationshipsUrl',
|
|
@@ -9620,7 +9749,7 @@ function equals$7(existing, incoming) {
|
|
|
9620
9749
|
return false;
|
|
9621
9750
|
}
|
|
9622
9751
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
9623
|
-
if (!(equals$
|
|
9752
|
+
if (!(equals$p(existing_baseModels_item, incoming_baseModels_item))) {
|
|
9624
9753
|
return false;
|
|
9625
9754
|
}
|
|
9626
9755
|
});
|
|
@@ -9943,7 +10072,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9943
10072
|
const untrustedConfig_baseModels_array = [];
|
|
9944
10073
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
9945
10074
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
9946
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
10075
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$S(untrustedConfig_baseModels_item);
|
|
9947
10076
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
9948
10077
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
9949
10078
|
}
|
|
@@ -9955,7 +10084,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9955
10084
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
9956
10085
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
9957
10086
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
9958
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
10087
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Q(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9959
10088
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
9960
10089
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9961
10090
|
}
|
|
@@ -9967,7 +10096,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9967
10096
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
9968
10097
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
9969
10098
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
9970
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
10099
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$P(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9971
10100
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
9972
10101
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9973
10102
|
}
|
|
@@ -9979,7 +10108,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9979
10108
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
9980
10109
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
9981
10110
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
9982
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10111
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$M(untrustedConfig_semanticDataObjects_item);
|
|
9983
10112
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
9984
10113
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
9985
10114
|
}
|
|
@@ -9991,7 +10120,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9991
10120
|
const untrustedConfig_semanticGroupings_array = [];
|
|
9992
10121
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
9993
10122
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
9994
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10123
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$F(untrustedConfig_semanticGroupings_item);
|
|
9995
10124
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
9996
10125
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
9997
10126
|
}
|
|
@@ -10003,7 +10132,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
10003
10132
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
10004
10133
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
10005
10134
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
10006
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10135
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$A(untrustedConfig_semanticLogicalViews_item);
|
|
10007
10136
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
10008
10137
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
10009
10138
|
}
|
|
@@ -10015,7 +10144,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
10015
10144
|
const untrustedConfig_semanticMetrics_array = [];
|
|
10016
10145
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
10017
10146
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
10018
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10147
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$w(untrustedConfig_semanticMetrics_item);
|
|
10019
10148
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
10020
10149
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
10021
10150
|
}
|
|
@@ -10027,7 +10156,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
10027
10156
|
const untrustedConfig_semanticParameters_array = [];
|
|
10028
10157
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
10029
10158
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
10030
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10159
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$v(untrustedConfig_semanticParameters_item);
|
|
10031
10160
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
10032
10161
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
10033
10162
|
}
|
|
@@ -10039,7 +10168,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
10039
10168
|
const untrustedConfig_semanticRelationships_array = [];
|
|
10040
10169
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
10041
10170
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
10042
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10171
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$D(untrustedConfig_semanticRelationships_item);
|
|
10043
10172
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
10044
10173
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
10045
10174
|
}
|
|
@@ -10296,7 +10425,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10296
10425
|
const untrustedConfig_baseModels_array = [];
|
|
10297
10426
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
10298
10427
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
10299
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
10428
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$S(untrustedConfig_baseModels_item);
|
|
10300
10429
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
10301
10430
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
10302
10431
|
}
|
|
@@ -10308,7 +10437,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10308
10437
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10309
10438
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10310
10439
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10311
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
10440
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Q(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10312
10441
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10313
10442
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10314
10443
|
}
|
|
@@ -10320,7 +10449,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10320
10449
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10321
10450
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10322
10451
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10323
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
10452
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$P(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10324
10453
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10325
10454
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10326
10455
|
}
|
|
@@ -10332,7 +10461,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10332
10461
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10333
10462
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
10334
10463
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
10335
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10464
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$M(untrustedConfig_semanticDataObjects_item);
|
|
10336
10465
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
10337
10466
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
10338
10467
|
}
|
|
@@ -10344,7 +10473,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10344
10473
|
const untrustedConfig_semanticGroupings_array = [];
|
|
10345
10474
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
10346
10475
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
10347
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10476
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$F(untrustedConfig_semanticGroupings_item);
|
|
10348
10477
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
10349
10478
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
10350
10479
|
}
|
|
@@ -10356,7 +10485,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10356
10485
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
10357
10486
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
10358
10487
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
10359
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10488
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$A(untrustedConfig_semanticLogicalViews_item);
|
|
10360
10489
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
10361
10490
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
10362
10491
|
}
|
|
@@ -10368,7 +10497,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10368
10497
|
const untrustedConfig_semanticMetrics_array = [];
|
|
10369
10498
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
10370
10499
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
10371
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10500
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$w(untrustedConfig_semanticMetrics_item);
|
|
10372
10501
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
10373
10502
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
10374
10503
|
}
|
|
@@ -10380,7 +10509,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10380
10509
|
const untrustedConfig_semanticParameters_array = [];
|
|
10381
10510
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
10382
10511
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
10383
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10512
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$v(untrustedConfig_semanticParameters_item);
|
|
10384
10513
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
10385
10514
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
10386
10515
|
}
|
|
@@ -10392,7 +10521,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10392
10521
|
const untrustedConfig_semanticRelationships_array = [];
|
|
10393
10522
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
10394
10523
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
10395
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10524
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$D(untrustedConfig_semanticRelationships_item);
|
|
10396
10525
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
10397
10526
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
10398
10527
|
}
|
|
@@ -11050,7 +11179,7 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
11050
11179
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
11051
11180
|
const obj_filters_item = obj_filters[i];
|
|
11052
11181
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
11053
|
-
const referencepath_filters_itemValidationError = validate
|
|
11182
|
+
const referencepath_filters_itemValidationError = validate$$(obj_filters_item, path_filters_item);
|
|
11054
11183
|
if (referencepath_filters_itemValidationError !== null) {
|
|
11055
11184
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
11056
11185
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11104,7 +11233,7 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
11104
11233
|
if (obj.semanticMetric !== undefined) {
|
|
11105
11234
|
const obj_semanticMetric = obj.semanticMetric;
|
|
11106
11235
|
const path_semanticMetric = path + '.semanticMetric';
|
|
11107
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
11236
|
+
const referencepath_semanticMetricValidationError = validate$X(obj_semanticMetric, path_semanticMetric);
|
|
11108
11237
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
11109
11238
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
11110
11239
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11552,7 +11681,7 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
11552
11681
|
};
|
|
11553
11682
|
|
|
11554
11683
|
function select$7(luvio, params) {
|
|
11555
|
-
return select$
|
|
11684
|
+
return select$E();
|
|
11556
11685
|
}
|
|
11557
11686
|
function keyBuilder$b(luvio, params) {
|
|
11558
11687
|
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
|
|
@@ -11684,7 +11813,7 @@ const getSemanticMetricsAdapterFactory = (luvio) => function SemanticAuthoring__
|
|
|
11684
11813
|
};
|
|
11685
11814
|
|
|
11686
11815
|
function select$6(luvio, params) {
|
|
11687
|
-
return select$
|
|
11816
|
+
return select$F();
|
|
11688
11817
|
}
|
|
11689
11818
|
function keyBuilder$9(luvio, params) {
|
|
11690
11819
|
return keyBuilder$x(luvio, {
|
|
@@ -12234,7 +12363,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
12234
12363
|
const untrustedConfig_filters_array = [];
|
|
12235
12364
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
12236
12365
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
12237
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
12366
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$R(untrustedConfig_filters_item);
|
|
12238
12367
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
12239
12368
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
12240
12369
|
}
|