@salesforce/lds-adapters-cdp-semantic-authoring 1.338.0 → 1.339.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cdp-semantic-authoring.js +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$10(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$$(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
|
|
|
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$$(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$10(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$Z(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$Z(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$Y(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$$(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$Y(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$$(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$Y(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$Y(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$X(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$X(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$W(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$Z(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$W(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$Y(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$W(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$$(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$W(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$W(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$V(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$$(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$V(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$V(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$X(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$V(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$$(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$V(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$$(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$W(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$V(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$V(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$U(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$T(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$T(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$S(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$U(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$S(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$S(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$R(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$T(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$S(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$R(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$Q(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
2589
2589
|
return v_error === undefined ? null : v_error;
|
|
2590
2590
|
}
|
|
2591
2591
|
|
|
2592
|
-
function validate$
|
|
2592
|
+
function validate$Q(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$P(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
2619
2619
|
return v_error === undefined ? null : v_error;
|
|
2620
2620
|
}
|
|
2621
2621
|
|
|
2622
|
-
function validate$
|
|
2622
|
+
function validate$P(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$O(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$Q(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$O(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2729
2729
|
return v_error === undefined ? null : v_error;
|
|
2730
2730
|
}
|
|
2731
2731
|
|
|
2732
|
-
function validate$
|
|
2732
|
+
function validate$O(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$N(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$Q(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$N(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2874
2874
|
return v_error === undefined ? null : v_error;
|
|
2875
2875
|
}
|
|
2876
2876
|
|
|
2877
|
-
function validate$
|
|
2877
|
+
function validate$N(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$M(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
2953
2953
|
return v_error === undefined ? null : v_error;
|
|
2954
2954
|
}
|
|
2955
2955
|
|
|
2956
|
-
function validate$
|
|
2956
|
+
function validate$M(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$L(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
3060
3060
|
return v_error === undefined ? null : v_error;
|
|
3061
3061
|
}
|
|
3062
3062
|
|
|
3063
|
-
function validate$
|
|
3063
|
+
function validate$L(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$K(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$Q(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$K(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$N(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$K(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$M(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$K(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3176
3176
|
return v_error === undefined ? null : v_error;
|
|
3177
3177
|
}
|
|
3178
3178
|
|
|
3179
|
-
function validate$
|
|
3179
|
+
function validate$K(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$J(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
3188
3188
|
return v_error === undefined ? null : v_error;
|
|
3189
3189
|
}
|
|
3190
3190
|
|
|
3191
|
-
function validate$
|
|
3191
|
+
function validate$J(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$I(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
3218
3218
|
return v_error === undefined ? null : v_error;
|
|
3219
3219
|
}
|
|
3220
3220
|
|
|
3221
|
-
function validate$
|
|
3221
|
+
function validate$I(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$H(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$J(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$H(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3251
3251
|
return v_error === undefined ? null : v_error;
|
|
3252
3252
|
}
|
|
3253
3253
|
|
|
3254
|
-
function validate$
|
|
3254
|
+
function validate$H(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$G(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$K(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$G(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$I(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$G(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3280
3280
|
return v_error === undefined ? null : v_error;
|
|
3281
3281
|
}
|
|
3282
3282
|
|
|
3283
|
-
function validate$
|
|
3283
|
+
function validate$G(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$F(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
3303
3303
|
return v_error === undefined ? null : v_error;
|
|
3304
3304
|
}
|
|
3305
3305
|
|
|
3306
|
-
function validate$
|
|
3306
|
+
function validate$F(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$E(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$G(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$E(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3329
3329
|
return v_error === undefined ? null : v_error;
|
|
3330
3330
|
}
|
|
3331
3331
|
|
|
3332
|
-
function validate$
|
|
3332
|
+
function validate$E(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$D(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$H(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$D(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$F(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$D(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3386
3386
|
return v_error === undefined ? null : v_error;
|
|
3387
3387
|
}
|
|
3388
3388
|
|
|
3389
|
-
function validate$
|
|
3389
|
+
function validate$D(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$C(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
3430
3430
|
return v_error === undefined ? null : v_error;
|
|
3431
3431
|
}
|
|
3432
3432
|
|
|
3433
|
-
function validate$
|
|
3433
|
+
function validate$C(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$B(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$D(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$B(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3519
3519
|
return v_error === undefined ? null : v_error;
|
|
3520
3520
|
}
|
|
3521
3521
|
|
|
3522
|
-
function validate$
|
|
3522
|
+
function validate$B(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$A(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$G(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$A(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$N(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$A(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$M(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$A(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3593
3593
|
return v_error === undefined ? null : v_error;
|
|
3594
3594
|
}
|
|
3595
3595
|
|
|
3596
|
-
function validate$
|
|
3596
|
+
function validate$A(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$z(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$L(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$z(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$B(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$z(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3657
3657
|
return v_error === undefined ? null : v_error;
|
|
3658
3658
|
}
|
|
3659
3659
|
|
|
3660
|
-
function validate$
|
|
3660
|
+
function validate$z(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$y(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$Q(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$y(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$L(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$y(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$C(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$y(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$A(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$y(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3769
3769
|
return v_error === undefined ? null : v_error;
|
|
3770
3770
|
}
|
|
3771
3771
|
|
|
3772
|
-
function validate$
|
|
3772
|
+
function validate$y(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$x(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$F(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$x(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$F(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$x(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3798
3798
|
return v_error === undefined ? null : v_error;
|
|
3799
3799
|
}
|
|
3800
3800
|
|
|
3801
|
-
function validate$
|
|
3801
|
+
function validate$x(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$w(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
3821
3821
|
return v_error === undefined ? null : v_error;
|
|
3822
3822
|
}
|
|
3823
3823
|
|
|
3824
|
-
function validate$
|
|
3824
|
+
function validate$w(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$v(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$y(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$v(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$x(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$v(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$F(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$v(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3895
3895
|
return v_error === undefined ? null : v_error;
|
|
3896
3896
|
}
|
|
3897
3897
|
|
|
3898
|
-
function validate$
|
|
3898
|
+
function validate$v(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$u(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$F(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$u(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$Q(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$u(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$w(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$u(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$F(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$u(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$F(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$u(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
4024
4024
|
return v_error === undefined ? null : v_error;
|
|
4025
4025
|
}
|
|
4026
4026
|
|
|
4027
|
-
function validate$
|
|
4027
|
+
function validate$u(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$t(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 = "51514a172af5e420504a2143725b4528";
|
|
4128
|
+
function validate$t(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$s(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');
|
|
@@ -4274,11 +4288,11 @@ function keyBuilderFromType$a(luvio, object) {
|
|
|
4274
4288
|
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
4275
4289
|
return input;
|
|
4276
4290
|
}
|
|
4277
|
-
const select$
|
|
4278
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
4291
|
+
const select$y = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
4292
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$J();
|
|
4279
4293
|
return {
|
|
4280
4294
|
kind: 'Fragment',
|
|
4281
|
-
version: VERSION$
|
|
4295
|
+
version: VERSION$m,
|
|
4282
4296
|
private: [],
|
|
4283
4297
|
selections: [
|
|
4284
4298
|
{
|
|
@@ -4382,7 +4396,7 @@ const select$x = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
4382
4396
|
]
|
|
4383
4397
|
};
|
|
4384
4398
|
};
|
|
4385
|
-
function equals$
|
|
4399
|
+
function equals$m(existing, incoming) {
|
|
4386
4400
|
const existing_isVisible = existing.isVisible;
|
|
4387
4401
|
const incoming_isVisible = incoming.isVisible;
|
|
4388
4402
|
// if at least one of these optionals is defined
|
|
@@ -4608,7 +4622,7 @@ function equals$l(existing, incoming) {
|
|
|
4608
4622
|
return false;
|
|
4609
4623
|
}
|
|
4610
4624
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
4611
|
-
if (!(equals$
|
|
4625
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
4612
4626
|
return false;
|
|
4613
4627
|
}
|
|
4614
4628
|
});
|
|
@@ -4620,14 +4634,14 @@ function equals$l(existing, incoming) {
|
|
|
4620
4634
|
}
|
|
4621
4635
|
const ingest$e = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4622
4636
|
if (process.env.NODE_ENV !== 'production') {
|
|
4623
|
-
const validateError = validate$
|
|
4637
|
+
const validateError = validate$t(input);
|
|
4624
4638
|
if (validateError !== null) {
|
|
4625
4639
|
throw validateError;
|
|
4626
4640
|
}
|
|
4627
4641
|
}
|
|
4628
4642
|
const key = keyBuilderFromType$a(luvio, input);
|
|
4629
4643
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
4630
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$
|
|
4644
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$m, RepresentationType$e, equals$m);
|
|
4631
4645
|
return createLink(key);
|
|
4632
4646
|
};
|
|
4633
4647
|
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4640,8 +4654,8 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4640
4654
|
});
|
|
4641
4655
|
}
|
|
4642
4656
|
|
|
4643
|
-
const VERSION$
|
|
4644
|
-
function validate$
|
|
4657
|
+
const VERSION$l = "6c8d910667cf399d3aa6e5a57e1fdd61";
|
|
4658
|
+
function validate$s(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
4645
4659
|
const v_error = (() => {
|
|
4646
4660
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4647
4661
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4740,7 +4754,7 @@ function validate$r(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
4740
4754
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4741
4755
|
const obj_filters_item = obj_filters[i];
|
|
4742
4756
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4743
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4757
|
+
const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
|
|
4744
4758
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4745
4759
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4746
4760
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4846,11 +4860,11 @@ function keyBuilderFromType$9(luvio, object) {
|
|
|
4846
4860
|
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
4847
4861
|
return input;
|
|
4848
4862
|
}
|
|
4849
|
-
const select$
|
|
4850
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
4863
|
+
const select$x = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
4864
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$J();
|
|
4851
4865
|
return {
|
|
4852
4866
|
kind: 'Fragment',
|
|
4853
|
-
version: VERSION$
|
|
4867
|
+
version: VERSION$l,
|
|
4854
4868
|
private: [],
|
|
4855
4869
|
selections: [
|
|
4856
4870
|
{
|
|
@@ -4984,7 +4998,7 @@ const select$w = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
4984
4998
|
]
|
|
4985
4999
|
};
|
|
4986
5000
|
};
|
|
4987
|
-
function equals$
|
|
5001
|
+
function equals$l(existing, incoming) {
|
|
4988
5002
|
const existing_isAggregatable = existing.isAggregatable;
|
|
4989
5003
|
const incoming_isAggregatable = incoming.isAggregatable;
|
|
4990
5004
|
// if at least one of these optionals is defined
|
|
@@ -5288,7 +5302,7 @@ function equals$k(existing, incoming) {
|
|
|
5288
5302
|
return false;
|
|
5289
5303
|
}
|
|
5290
5304
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
5291
|
-
if (!(equals$
|
|
5305
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
5292
5306
|
return false;
|
|
5293
5307
|
}
|
|
5294
5308
|
});
|
|
@@ -5300,14 +5314,14 @@ function equals$k(existing, incoming) {
|
|
|
5300
5314
|
}
|
|
5301
5315
|
const ingest$d = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5302
5316
|
if (process.env.NODE_ENV !== 'production') {
|
|
5303
|
-
const validateError = validate$
|
|
5317
|
+
const validateError = validate$s(input);
|
|
5304
5318
|
if (validateError !== null) {
|
|
5305
5319
|
throw validateError;
|
|
5306
5320
|
}
|
|
5307
5321
|
}
|
|
5308
5322
|
const key = keyBuilderFromType$9(luvio, input);
|
|
5309
5323
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5310
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$
|
|
5324
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$l, RepresentationType$d, equals$l);
|
|
5311
5325
|
return createLink(key);
|
|
5312
5326
|
};
|
|
5313
5327
|
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5320,7 +5334,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5320
5334
|
});
|
|
5321
5335
|
}
|
|
5322
5336
|
|
|
5323
|
-
function validate$
|
|
5337
|
+
function validate$r(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
5324
5338
|
const v_error = (() => {
|
|
5325
5339
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5326
5340
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5461,7 +5475,7 @@ function validate$q(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
5461
5475
|
return v_error === undefined ? null : v_error;
|
|
5462
5476
|
}
|
|
5463
5477
|
|
|
5464
|
-
function validate$
|
|
5478
|
+
function validate$q(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
5465
5479
|
const v_error = (() => {
|
|
5466
5480
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5467
5481
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5637,8 +5651,8 @@ function validate$p(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
5637
5651
|
return v_error === undefined ? null : v_error;
|
|
5638
5652
|
}
|
|
5639
5653
|
|
|
5640
|
-
const VERSION$
|
|
5641
|
-
function validate$
|
|
5654
|
+
const VERSION$k = "4f111b93807b811179eb310384efdc35";
|
|
5655
|
+
function validate$p(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
5642
5656
|
const v_error = (() => {
|
|
5643
5657
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5644
5658
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5709,7 +5723,7 @@ function validate$o(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5709
5723
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5710
5724
|
const obj_filters_item = obj_filters[i];
|
|
5711
5725
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5712
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5726
|
+
const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
|
|
5713
5727
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5714
5728
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5715
5729
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5759,7 +5773,7 @@ function validate$o(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5759
5773
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
5760
5774
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
5761
5775
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
5762
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
5776
|
+
const referencepath_semanticDimensions_itemValidationError = validate$r(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
5763
5777
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
5764
5778
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
5765
5779
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5783,7 +5797,7 @@ function validate$o(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5783
5797
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
5784
5798
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
5785
5799
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
5786
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
5800
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$q(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
5787
5801
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
5788
5802
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
5789
5803
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5821,15 +5835,15 @@ function keyBuilderFromType$8(luvio, object) {
|
|
|
5821
5835
|
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
5822
5836
|
return input;
|
|
5823
5837
|
}
|
|
5824
|
-
const select$
|
|
5838
|
+
const select$w = function SemanticDataObjectOutputRepresentationSelect() {
|
|
5825
5839
|
return {
|
|
5826
5840
|
kind: 'Fragment',
|
|
5827
|
-
version: VERSION$
|
|
5841
|
+
version: VERSION$k,
|
|
5828
5842
|
private: [],
|
|
5829
5843
|
opaque: true
|
|
5830
5844
|
};
|
|
5831
5845
|
};
|
|
5832
|
-
function equals$
|
|
5846
|
+
function equals$k(existing, incoming) {
|
|
5833
5847
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
5834
5848
|
return false;
|
|
5835
5849
|
}
|
|
@@ -5837,14 +5851,14 @@ function equals$j(existing, incoming) {
|
|
|
5837
5851
|
}
|
|
5838
5852
|
const ingest$c = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5839
5853
|
if (process.env.NODE_ENV !== 'production') {
|
|
5840
|
-
const validateError = validate$
|
|
5854
|
+
const validateError = validate$p(input);
|
|
5841
5855
|
if (validateError !== null) {
|
|
5842
5856
|
throw validateError;
|
|
5843
5857
|
}
|
|
5844
5858
|
}
|
|
5845
5859
|
const key = keyBuilderFromType$8(luvio, input);
|
|
5846
5860
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
5847
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$
|
|
5861
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$k, RepresentationType$c, equals$k);
|
|
5848
5862
|
return createLink(key);
|
|
5849
5863
|
};
|
|
5850
5864
|
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5857,8 +5871,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5857
5871
|
});
|
|
5858
5872
|
}
|
|
5859
5873
|
|
|
5860
|
-
const VERSION$
|
|
5861
|
-
function validate$
|
|
5874
|
+
const VERSION$j = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
5875
|
+
function validate$o(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
5862
5876
|
const v_error = (() => {
|
|
5863
5877
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5864
5878
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5867,10 +5881,10 @@ function validate$n(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
5867
5881
|
})();
|
|
5868
5882
|
return v_error === undefined ? null : v_error;
|
|
5869
5883
|
}
|
|
5870
|
-
const select$
|
|
5884
|
+
const select$v = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
5871
5885
|
return {
|
|
5872
5886
|
kind: 'Fragment',
|
|
5873
|
-
version: VERSION$
|
|
5887
|
+
version: VERSION$j,
|
|
5874
5888
|
private: [],
|
|
5875
5889
|
selections: [
|
|
5876
5890
|
{
|
|
@@ -5880,7 +5894,7 @@ const select$u = function BinDimensionConfigurationOutputRepresentationSelect()
|
|
|
5880
5894
|
]
|
|
5881
5895
|
};
|
|
5882
5896
|
};
|
|
5883
|
-
function equals$
|
|
5897
|
+
function equals$j(existing, incoming) {
|
|
5884
5898
|
const existing_constantBinSize = existing.constantBinSize;
|
|
5885
5899
|
const incoming_constantBinSize = incoming.constantBinSize;
|
|
5886
5900
|
if (!(existing_constantBinSize === incoming_constantBinSize)) {
|
|
@@ -5889,8 +5903,8 @@ function equals$i(existing, incoming) {
|
|
|
5889
5903
|
return true;
|
|
5890
5904
|
}
|
|
5891
5905
|
|
|
5892
|
-
const VERSION$
|
|
5893
|
-
function validate$
|
|
5906
|
+
const VERSION$i = "2cdadcd630abb7b981b2d131880a68c0";
|
|
5907
|
+
function validate$n(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
5894
5908
|
const v_error = (() => {
|
|
5895
5909
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5896
5910
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5917,10 +5931,10 @@ function validate$m(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
5917
5931
|
})();
|
|
5918
5932
|
return v_error === undefined ? null : v_error;
|
|
5919
5933
|
}
|
|
5920
|
-
const select$
|
|
5934
|
+
const select$u = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
5921
5935
|
return {
|
|
5922
5936
|
kind: 'Fragment',
|
|
5923
|
-
version: VERSION$
|
|
5937
|
+
version: VERSION$i,
|
|
5924
5938
|
private: [],
|
|
5925
5939
|
selections: [
|
|
5926
5940
|
{
|
|
@@ -5936,7 +5950,7 @@ const select$t = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
|
5936
5950
|
]
|
|
5937
5951
|
};
|
|
5938
5952
|
};
|
|
5939
|
-
function equals$
|
|
5953
|
+
function equals$i(existing, incoming) {
|
|
5940
5954
|
const existing_name = existing.name;
|
|
5941
5955
|
const incoming_name = incoming.name;
|
|
5942
5956
|
if (!(existing_name === incoming_name)) {
|
|
@@ -5963,8 +5977,8 @@ function equals$h(existing, incoming) {
|
|
|
5963
5977
|
return true;
|
|
5964
5978
|
}
|
|
5965
5979
|
|
|
5966
|
-
const VERSION$
|
|
5967
|
-
function validate$
|
|
5980
|
+
const VERSION$h = "55c60b6207985632192cb4e419822a86";
|
|
5981
|
+
function validate$m(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
5968
5982
|
const v_error = (() => {
|
|
5969
5983
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5970
5984
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5978,7 +5992,7 @@ function validate$l(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
5978
5992
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
5979
5993
|
const obj_groups_item = obj_groups[i];
|
|
5980
5994
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
5981
|
-
const referencepath_groups_itemValidationError = validate$
|
|
5995
|
+
const referencepath_groups_itemValidationError = validate$n(obj_groups_item, path_groups_item);
|
|
5982
5996
|
if (referencepath_groups_itemValidationError !== null) {
|
|
5983
5997
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
5984
5998
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5996,11 +6010,11 @@ function validate$l(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
5996
6010
|
})();
|
|
5997
6011
|
return v_error === undefined ? null : v_error;
|
|
5998
6012
|
}
|
|
5999
|
-
const select$
|
|
6000
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
6013
|
+
const select$t = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
6014
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$u();
|
|
6001
6015
|
return {
|
|
6002
6016
|
kind: 'Fragment',
|
|
6003
|
-
version: VERSION$
|
|
6017
|
+
version: VERSION$h,
|
|
6004
6018
|
private: [],
|
|
6005
6019
|
selections: [
|
|
6006
6020
|
{
|
|
@@ -6018,7 +6032,7 @@ const select$s = function GroupDimensionConfigurationOutputRepresentationSelect(
|
|
|
6018
6032
|
]
|
|
6019
6033
|
};
|
|
6020
6034
|
};
|
|
6021
|
-
function equals$
|
|
6035
|
+
function equals$h(existing, incoming) {
|
|
6022
6036
|
const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
|
|
6023
6037
|
const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
|
|
6024
6038
|
// if at least one of these optionals is defined
|
|
@@ -6042,7 +6056,7 @@ function equals$g(existing, incoming) {
|
|
|
6042
6056
|
return false;
|
|
6043
6057
|
}
|
|
6044
6058
|
const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
|
|
6045
|
-
if (!(equals$
|
|
6059
|
+
if (!(equals$i(existing_groups_item, incoming_groups_item))) {
|
|
6046
6060
|
return false;
|
|
6047
6061
|
}
|
|
6048
6062
|
});
|
|
@@ -6053,8 +6067,8 @@ function equals$g(existing, incoming) {
|
|
|
6053
6067
|
return true;
|
|
6054
6068
|
}
|
|
6055
6069
|
|
|
6056
|
-
const VERSION$
|
|
6057
|
-
function validate$
|
|
6070
|
+
const VERSION$g = "50dc390b159159afb1945b9a811c9f80";
|
|
6071
|
+
function validate$l(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
6058
6072
|
const v_error = (() => {
|
|
6059
6073
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6060
6074
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6062,7 +6076,7 @@ function validate$k(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
6062
6076
|
if (obj.binDimension !== undefined) {
|
|
6063
6077
|
const obj_binDimension = obj.binDimension;
|
|
6064
6078
|
const path_binDimension = path + '.binDimension';
|
|
6065
|
-
const referencepath_binDimensionValidationError = validate$
|
|
6079
|
+
const referencepath_binDimensionValidationError = validate$o(obj_binDimension, path_binDimension);
|
|
6066
6080
|
if (referencepath_binDimensionValidationError !== null) {
|
|
6067
6081
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
6068
6082
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6072,7 +6086,7 @@ function validate$k(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
6072
6086
|
if (obj.groupDimension !== undefined) {
|
|
6073
6087
|
const obj_groupDimension = obj.groupDimension;
|
|
6074
6088
|
const path_groupDimension = path + '.groupDimension';
|
|
6075
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
6089
|
+
const referencepath_groupDimensionValidationError = validate$m(obj_groupDimension, path_groupDimension);
|
|
6076
6090
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
6077
6091
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
6078
6092
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6082,12 +6096,12 @@ function validate$k(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
6082
6096
|
})();
|
|
6083
6097
|
return v_error === undefined ? null : v_error;
|
|
6084
6098
|
}
|
|
6085
|
-
const select$
|
|
6086
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
6087
|
-
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
6099
|
+
const select$s = function SemanticGroupingConfigurationOutputRepresentationSelect() {
|
|
6100
|
+
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$v();
|
|
6101
|
+
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$t();
|
|
6088
6102
|
return {
|
|
6089
6103
|
kind: 'Fragment',
|
|
6090
|
-
version: VERSION$
|
|
6104
|
+
version: VERSION$g,
|
|
6091
6105
|
private: [],
|
|
6092
6106
|
selections: [
|
|
6093
6107
|
{
|
|
@@ -6105,7 +6119,7 @@ const select$r = function SemanticGroupingConfigurationOutputRepresentationSelec
|
|
|
6105
6119
|
]
|
|
6106
6120
|
};
|
|
6107
6121
|
};
|
|
6108
|
-
function equals$
|
|
6122
|
+
function equals$g(existing, incoming) {
|
|
6109
6123
|
const existing_binDimension = existing.binDimension;
|
|
6110
6124
|
const incoming_binDimension = incoming.binDimension;
|
|
6111
6125
|
// if at least one of these optionals is defined
|
|
@@ -6115,7 +6129,7 @@ function equals$f(existing, incoming) {
|
|
|
6115
6129
|
if (existing_binDimension === undefined || incoming_binDimension === undefined) {
|
|
6116
6130
|
return false;
|
|
6117
6131
|
}
|
|
6118
|
-
if (!(equals$
|
|
6132
|
+
if (!(equals$j(existing_binDimension, incoming_binDimension))) {
|
|
6119
6133
|
return false;
|
|
6120
6134
|
}
|
|
6121
6135
|
}
|
|
@@ -6128,15 +6142,15 @@ function equals$f(existing, incoming) {
|
|
|
6128
6142
|
if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
|
|
6129
6143
|
return false;
|
|
6130
6144
|
}
|
|
6131
|
-
if (!(equals$
|
|
6145
|
+
if (!(equals$h(existing_groupDimension, incoming_groupDimension))) {
|
|
6132
6146
|
return false;
|
|
6133
6147
|
}
|
|
6134
6148
|
}
|
|
6135
6149
|
return true;
|
|
6136
6150
|
}
|
|
6137
6151
|
|
|
6138
|
-
const VERSION$
|
|
6139
|
-
function validate$
|
|
6152
|
+
const VERSION$f = "1daec40706bf767c719fa58831fad462";
|
|
6153
|
+
function validate$k(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
6140
6154
|
const v_error = (() => {
|
|
6141
6155
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6142
6156
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6162,7 +6176,7 @@ function validate$j(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
6162
6176
|
}
|
|
6163
6177
|
const obj_configuration = obj.configuration;
|
|
6164
6178
|
const path_configuration = path + '.configuration';
|
|
6165
|
-
const referencepath_configurationValidationError = validate$
|
|
6179
|
+
const referencepath_configurationValidationError = validate$l(obj_configuration, path_configuration);
|
|
6166
6180
|
if (referencepath_configurationValidationError !== null) {
|
|
6167
6181
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
6168
6182
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6187,7 +6201,7 @@ function validate$j(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
6187
6201
|
}
|
|
6188
6202
|
const obj_fieldReference = obj.fieldReference;
|
|
6189
6203
|
const path_fieldReference = path + '.fieldReference';
|
|
6190
|
-
const referencepath_fieldReferenceValidationError = validate
|
|
6204
|
+
const referencepath_fieldReferenceValidationError = validate$$(obj_fieldReference, path_fieldReference);
|
|
6191
6205
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
6192
6206
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
6193
6207
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6240,12 +6254,12 @@ function keyBuilderFromType$7(luvio, object) {
|
|
|
6240
6254
|
function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
6241
6255
|
return input;
|
|
6242
6256
|
}
|
|
6243
|
-
const select$
|
|
6244
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
6245
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
6257
|
+
const select$r = function SemanticGroupingOutputRepresentationSelect() {
|
|
6258
|
+
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$s();
|
|
6259
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$K();
|
|
6246
6260
|
return {
|
|
6247
6261
|
kind: 'Fragment',
|
|
6248
|
-
version: VERSION$
|
|
6262
|
+
version: VERSION$f,
|
|
6249
6263
|
private: [],
|
|
6250
6264
|
selections: [
|
|
6251
6265
|
{
|
|
@@ -6311,7 +6325,7 @@ const select$q = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
6311
6325
|
]
|
|
6312
6326
|
};
|
|
6313
6327
|
};
|
|
6314
|
-
function equals$
|
|
6328
|
+
function equals$f(existing, incoming) {
|
|
6315
6329
|
const existing_apiName = existing.apiName;
|
|
6316
6330
|
const incoming_apiName = incoming.apiName;
|
|
6317
6331
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -6417,26 +6431,26 @@ function equals$e(existing, incoming) {
|
|
|
6417
6431
|
}
|
|
6418
6432
|
const existing_configuration = existing.configuration;
|
|
6419
6433
|
const incoming_configuration = incoming.configuration;
|
|
6420
|
-
if (!(equals$
|
|
6434
|
+
if (!(equals$g(existing_configuration, incoming_configuration))) {
|
|
6421
6435
|
return false;
|
|
6422
6436
|
}
|
|
6423
6437
|
const existing_fieldReference = existing.fieldReference;
|
|
6424
6438
|
const incoming_fieldReference = incoming.fieldReference;
|
|
6425
|
-
if (!(equals$
|
|
6439
|
+
if (!(equals$w(existing_fieldReference, incoming_fieldReference))) {
|
|
6426
6440
|
return false;
|
|
6427
6441
|
}
|
|
6428
6442
|
return true;
|
|
6429
6443
|
}
|
|
6430
6444
|
const ingest$b = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6431
6445
|
if (process.env.NODE_ENV !== 'production') {
|
|
6432
|
-
const validateError = validate$
|
|
6446
|
+
const validateError = validate$k(input);
|
|
6433
6447
|
if (validateError !== null) {
|
|
6434
6448
|
throw validateError;
|
|
6435
6449
|
}
|
|
6436
6450
|
}
|
|
6437
6451
|
const key = keyBuilderFromType$7(luvio, input);
|
|
6438
6452
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
6439
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$
|
|
6453
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$f, RepresentationType$b, equals$f);
|
|
6440
6454
|
return createLink(key);
|
|
6441
6455
|
};
|
|
6442
6456
|
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6449,8 +6463,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6449
6463
|
});
|
|
6450
6464
|
}
|
|
6451
6465
|
|
|
6452
|
-
const VERSION$
|
|
6453
|
-
function validate$
|
|
6466
|
+
const VERSION$e = "c5144c317ac72b60d580cab803514b8d";
|
|
6467
|
+
function validate$j(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
6454
6468
|
const v_error = (() => {
|
|
6455
6469
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6456
6470
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6493,10 +6507,10 @@ function validate$i(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
6493
6507
|
})();
|
|
6494
6508
|
return v_error === undefined ? null : v_error;
|
|
6495
6509
|
}
|
|
6496
|
-
const select$
|
|
6510
|
+
const select$q = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
6497
6511
|
return {
|
|
6498
6512
|
kind: 'Fragment',
|
|
6499
|
-
version: VERSION$
|
|
6513
|
+
version: VERSION$e,
|
|
6500
6514
|
private: [],
|
|
6501
6515
|
selections: [
|
|
6502
6516
|
{
|
|
@@ -6527,7 +6541,7 @@ const select$p = function SemanticRelationshipCriteriaOutputRepresentationSelect
|
|
|
6527
6541
|
]
|
|
6528
6542
|
};
|
|
6529
6543
|
};
|
|
6530
|
-
function equals$
|
|
6544
|
+
function equals$e(existing, incoming) {
|
|
6531
6545
|
const existing_joinOperator = existing.joinOperator;
|
|
6532
6546
|
const incoming_joinOperator = incoming.joinOperator;
|
|
6533
6547
|
// if at least one of these optionals is defined
|
|
@@ -6596,8 +6610,8 @@ function equals$d(existing, incoming) {
|
|
|
6596
6610
|
return true;
|
|
6597
6611
|
}
|
|
6598
6612
|
|
|
6599
|
-
const VERSION$
|
|
6600
|
-
function validate$
|
|
6613
|
+
const VERSION$d = "b9778dace5726fcb57804d3afd529246";
|
|
6614
|
+
function validate$i(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
6601
6615
|
const v_error = (() => {
|
|
6602
6616
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6603
6617
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6647,7 +6661,7 @@ function validate$h(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
6647
6661
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
6648
6662
|
const obj_criteria_item = obj_criteria[i];
|
|
6649
6663
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
6650
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
6664
|
+
const referencepath_criteria_itemValidationError = validate$j(obj_criteria_item, path_criteria_item);
|
|
6651
6665
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
6652
6666
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
6653
6667
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6739,11 +6753,11 @@ function keyBuilderFromType$6(luvio, object) {
|
|
|
6739
6753
|
function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
6740
6754
|
return input;
|
|
6741
6755
|
}
|
|
6742
|
-
const select$
|
|
6743
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
6756
|
+
const select$p = function SemanticRelationshipOutputRepresentationSelect() {
|
|
6757
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$q();
|
|
6744
6758
|
return {
|
|
6745
6759
|
kind: 'Fragment',
|
|
6746
|
-
version: VERSION$
|
|
6760
|
+
version: VERSION$d,
|
|
6747
6761
|
private: [],
|
|
6748
6762
|
selections: [
|
|
6749
6763
|
{
|
|
@@ -6832,7 +6846,7 @@ const select$o = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
6832
6846
|
]
|
|
6833
6847
|
};
|
|
6834
6848
|
};
|
|
6835
|
-
function equals$
|
|
6849
|
+
function equals$d(existing, incoming) {
|
|
6836
6850
|
const existing_isEnabled = existing.isEnabled;
|
|
6837
6851
|
const incoming_isEnabled = incoming.isEnabled;
|
|
6838
6852
|
// if at least one of these optionals is defined
|
|
@@ -7019,7 +7033,7 @@ function equals$c(existing, incoming) {
|
|
|
7019
7033
|
return false;
|
|
7020
7034
|
}
|
|
7021
7035
|
const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
|
|
7022
|
-
if (!(equals$
|
|
7036
|
+
if (!(equals$e(existing_criteria_item, incoming_criteria_item))) {
|
|
7023
7037
|
return false;
|
|
7024
7038
|
}
|
|
7025
7039
|
});
|
|
@@ -7031,14 +7045,14 @@ function equals$c(existing, incoming) {
|
|
|
7031
7045
|
}
|
|
7032
7046
|
const ingest$a = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7033
7047
|
if (process.env.NODE_ENV !== 'production') {
|
|
7034
|
-
const validateError = validate$
|
|
7048
|
+
const validateError = validate$i(input);
|
|
7035
7049
|
if (validateError !== null) {
|
|
7036
7050
|
throw validateError;
|
|
7037
7051
|
}
|
|
7038
7052
|
}
|
|
7039
7053
|
const key = keyBuilderFromType$6(luvio, input);
|
|
7040
7054
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7041
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$
|
|
7055
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$d, RepresentationType$a, equals$d);
|
|
7042
7056
|
return createLink(key);
|
|
7043
7057
|
};
|
|
7044
7058
|
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7051,8 +7065,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7051
7065
|
});
|
|
7052
7066
|
}
|
|
7053
7067
|
|
|
7054
|
-
const VERSION$
|
|
7055
|
-
function validate$
|
|
7068
|
+
const VERSION$c = "eaf9b57a92e764fb2b5c27b6e031cfe1";
|
|
7069
|
+
function validate$h(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
7056
7070
|
const v_error = (() => {
|
|
7057
7071
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7058
7072
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7102,7 +7116,7 @@ function validate$g(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
7102
7116
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
7103
7117
|
const obj_fields_item = obj_fields[i];
|
|
7104
7118
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
7105
|
-
const referencepath_fields_itemValidationError = validate
|
|
7119
|
+
const referencepath_fields_itemValidationError = validate$10(obj_fields_item, path_fields_item);
|
|
7106
7120
|
if (referencepath_fields_itemValidationError !== null) {
|
|
7107
7121
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
7108
7122
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7146,7 +7160,7 @@ function validate$g(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
7146
7160
|
if (obj.semanticDimension !== undefined) {
|
|
7147
7161
|
const obj_semanticDimension = obj.semanticDimension;
|
|
7148
7162
|
const path_semanticDimension = path + '.semanticDimension';
|
|
7149
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
7163
|
+
const referencepath_semanticDimensionValidationError = validate$r(obj_semanticDimension, path_semanticDimension);
|
|
7150
7164
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
7151
7165
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
7152
7166
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7156,7 +7170,7 @@ function validate$g(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
7156
7170
|
if (obj.semanticMeasurement !== undefined) {
|
|
7157
7171
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
7158
7172
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
7159
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
7173
|
+
const referencepath_semanticMeasurementValidationError = validate$q(obj_semanticMeasurement, path_semanticMeasurement);
|
|
7160
7174
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
7161
7175
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
7162
7176
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7179,15 +7193,15 @@ function keyBuilderFromType$5(luvio, object) {
|
|
|
7179
7193
|
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
7180
7194
|
return input;
|
|
7181
7195
|
}
|
|
7182
|
-
const select$
|
|
7196
|
+
const select$o = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
7183
7197
|
return {
|
|
7184
7198
|
kind: 'Fragment',
|
|
7185
|
-
version: VERSION$
|
|
7199
|
+
version: VERSION$c,
|
|
7186
7200
|
private: [],
|
|
7187
7201
|
opaque: true
|
|
7188
7202
|
};
|
|
7189
7203
|
};
|
|
7190
|
-
function equals$
|
|
7204
|
+
function equals$c(existing, incoming) {
|
|
7191
7205
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
7192
7206
|
return false;
|
|
7193
7207
|
}
|
|
@@ -7195,14 +7209,14 @@ function equals$b(existing, incoming) {
|
|
|
7195
7209
|
}
|
|
7196
7210
|
const ingest$9 = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7197
7211
|
if (process.env.NODE_ENV !== 'production') {
|
|
7198
|
-
const validateError = validate$
|
|
7212
|
+
const validateError = validate$h(input);
|
|
7199
7213
|
if (validateError !== null) {
|
|
7200
7214
|
throw validateError;
|
|
7201
7215
|
}
|
|
7202
7216
|
}
|
|
7203
7217
|
const key = keyBuilderFromType$5(luvio, input);
|
|
7204
7218
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7205
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$
|
|
7219
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$c, RepresentationType$9, equals$c);
|
|
7206
7220
|
return createLink(key);
|
|
7207
7221
|
};
|
|
7208
7222
|
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7215,8 +7229,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7215
7229
|
});
|
|
7216
7230
|
}
|
|
7217
7231
|
|
|
7218
|
-
const VERSION$
|
|
7219
|
-
function validate$
|
|
7232
|
+
const VERSION$b = "69fe23112140e9fae50135dcb15c24c2";
|
|
7233
|
+
function validate$g(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
7220
7234
|
const v_error = (() => {
|
|
7221
7235
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7222
7236
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7391,10 +7405,10 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
7391
7405
|
}
|
|
7392
7406
|
return input;
|
|
7393
7407
|
}
|
|
7394
|
-
const select$
|
|
7408
|
+
const select$n = function SemanticUnionOutputRepresentationSelect() {
|
|
7395
7409
|
return {
|
|
7396
7410
|
kind: 'Fragment',
|
|
7397
|
-
version: VERSION$
|
|
7411
|
+
version: VERSION$b,
|
|
7398
7412
|
private: [],
|
|
7399
7413
|
selections: [
|
|
7400
7414
|
{
|
|
@@ -7453,19 +7467,19 @@ const select$m = function SemanticUnionOutputRepresentationSelect() {
|
|
|
7453
7467
|
kind: 'Link',
|
|
7454
7468
|
plural: true,
|
|
7455
7469
|
required: false,
|
|
7456
|
-
fragment: select$
|
|
7470
|
+
fragment: select$w()
|
|
7457
7471
|
},
|
|
7458
7472
|
{
|
|
7459
7473
|
name: 'semanticMappedFields',
|
|
7460
7474
|
kind: 'Link',
|
|
7461
7475
|
plural: true,
|
|
7462
7476
|
required: false,
|
|
7463
|
-
fragment: select$
|
|
7477
|
+
fragment: select$o()
|
|
7464
7478
|
}
|
|
7465
7479
|
]
|
|
7466
7480
|
};
|
|
7467
7481
|
};
|
|
7468
|
-
function equals$
|
|
7482
|
+
function equals$b(existing, incoming) {
|
|
7469
7483
|
const existing_apiName = existing.apiName;
|
|
7470
7484
|
const incoming_apiName = incoming.apiName;
|
|
7471
7485
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -7617,14 +7631,14 @@ function equals$a(existing, incoming) {
|
|
|
7617
7631
|
}
|
|
7618
7632
|
const ingest$8 = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7619
7633
|
if (process.env.NODE_ENV !== 'production') {
|
|
7620
|
-
const validateError = validate$
|
|
7634
|
+
const validateError = validate$g(input);
|
|
7621
7635
|
if (validateError !== null) {
|
|
7622
7636
|
throw validateError;
|
|
7623
7637
|
}
|
|
7624
7638
|
}
|
|
7625
7639
|
const key = keyBuilderFromType$4(luvio, input);
|
|
7626
7640
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
7627
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$
|
|
7641
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$b, RepresentationType$8, equals$b);
|
|
7628
7642
|
return createLink(key);
|
|
7629
7643
|
};
|
|
7630
7644
|
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7649,8 +7663,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7649
7663
|
}
|
|
7650
7664
|
}
|
|
7651
7665
|
|
|
7652
|
-
const VERSION$
|
|
7653
|
-
function validate$
|
|
7666
|
+
const VERSION$a = "281e0163ea1fc7d956974394f5310216";
|
|
7667
|
+
function validate$f(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
7654
7668
|
const v_error = (() => {
|
|
7655
7669
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7656
7670
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7714,7 +7728,7 @@ function validate$e(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7714
7728
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7715
7729
|
const obj_filters_item = obj_filters[i];
|
|
7716
7730
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7717
|
-
const referencepath_filters_itemValidationError = validate$
|
|
7731
|
+
const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
|
|
7718
7732
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7719
7733
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7720
7734
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7867,11 +7881,11 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
7867
7881
|
}
|
|
7868
7882
|
return input;
|
|
7869
7883
|
}
|
|
7870
|
-
const select$
|
|
7871
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
7884
|
+
const select$m = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
7885
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$J();
|
|
7872
7886
|
return {
|
|
7873
7887
|
kind: 'Fragment',
|
|
7874
|
-
version: VERSION$
|
|
7888
|
+
version: VERSION$a,
|
|
7875
7889
|
private: [],
|
|
7876
7890
|
selections: [
|
|
7877
7891
|
{
|
|
@@ -7942,21 +7956,21 @@ const select$l = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7942
7956
|
kind: 'Link',
|
|
7943
7957
|
plural: true,
|
|
7944
7958
|
required: false,
|
|
7945
|
-
fragment: select$
|
|
7959
|
+
fragment: select$w()
|
|
7946
7960
|
},
|
|
7947
7961
|
{
|
|
7948
7962
|
name: 'semanticRelationships',
|
|
7949
7963
|
kind: 'Link',
|
|
7950
7964
|
plural: true,
|
|
7951
7965
|
required: false,
|
|
7952
|
-
fragment: select$
|
|
7966
|
+
fragment: select$p()
|
|
7953
7967
|
},
|
|
7954
7968
|
{
|
|
7955
7969
|
name: 'semanticUnions',
|
|
7956
7970
|
kind: 'Link',
|
|
7957
7971
|
plural: true,
|
|
7958
7972
|
required: false,
|
|
7959
|
-
fragment: select$
|
|
7973
|
+
fragment: select$n()
|
|
7960
7974
|
},
|
|
7961
7975
|
{
|
|
7962
7976
|
name: 'semanticViewTypeEnum',
|
|
@@ -7966,7 +7980,7 @@ const select$l = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7966
7980
|
]
|
|
7967
7981
|
};
|
|
7968
7982
|
};
|
|
7969
|
-
function equals$
|
|
7983
|
+
function equals$a(existing, incoming) {
|
|
7970
7984
|
const existing_apiName = existing.apiName;
|
|
7971
7985
|
const incoming_apiName = incoming.apiName;
|
|
7972
7986
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -8114,7 +8128,7 @@ function equals$9(existing, incoming) {
|
|
|
8114
8128
|
return false;
|
|
8115
8129
|
}
|
|
8116
8130
|
const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
|
|
8117
|
-
if (!(equals$
|
|
8131
|
+
if (!(equals$v(existing_filters_item, incoming_filters_item))) {
|
|
8118
8132
|
return false;
|
|
8119
8133
|
}
|
|
8120
8134
|
});
|
|
@@ -8180,14 +8194,14 @@ function equals$9(existing, incoming) {
|
|
|
8180
8194
|
}
|
|
8181
8195
|
const ingest$7 = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8182
8196
|
if (process.env.NODE_ENV !== 'production') {
|
|
8183
|
-
const validateError = validate$
|
|
8197
|
+
const validateError = validate$f(input);
|
|
8184
8198
|
if (validateError !== null) {
|
|
8185
8199
|
throw validateError;
|
|
8186
8200
|
}
|
|
8187
8201
|
}
|
|
8188
8202
|
const key = keyBuilderFromType$3(luvio, input);
|
|
8189
8203
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
8190
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SemanticAuthoring", VERSION$
|
|
8204
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SemanticAuthoring", VERSION$a, RepresentationType$7, equals$a);
|
|
8191
8205
|
return createLink(key);
|
|
8192
8206
|
};
|
|
8193
8207
|
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -8218,12 +8232,101 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8218
8232
|
}
|
|
8219
8233
|
}
|
|
8220
8234
|
|
|
8221
|
-
const VERSION$
|
|
8235
|
+
const VERSION$9 = "158d115be773406f841e4351d481d398";
|
|
8236
|
+
function validate$e(obj, path = 'SemanticParameterListValueOutputRepresentation') {
|
|
8237
|
+
const v_error = (() => {
|
|
8238
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8239
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
8240
|
+
}
|
|
8241
|
+
if (obj.displayName !== undefined) {
|
|
8242
|
+
const obj_displayName = obj.displayName;
|
|
8243
|
+
const path_displayName = path + '.displayName';
|
|
8244
|
+
if (typeof obj_displayName !== 'string') {
|
|
8245
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
8246
|
+
}
|
|
8247
|
+
}
|
|
8248
|
+
if (obj.value !== undefined) {
|
|
8249
|
+
const obj_value = obj.value;
|
|
8250
|
+
const path_value = path + '.value';
|
|
8251
|
+
if (typeof obj_value !== 'string') {
|
|
8252
|
+
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
8253
|
+
}
|
|
8254
|
+
}
|
|
8255
|
+
})();
|
|
8256
|
+
return v_error === undefined ? null : v_error;
|
|
8257
|
+
}
|
|
8258
|
+
const select$l = function SemanticParameterListValueOutputRepresentationSelect() {
|
|
8259
|
+
return {
|
|
8260
|
+
kind: 'Fragment',
|
|
8261
|
+
version: VERSION$9,
|
|
8262
|
+
private: [],
|
|
8263
|
+
selections: [
|
|
8264
|
+
{
|
|
8265
|
+
name: 'displayName',
|
|
8266
|
+
kind: 'Scalar',
|
|
8267
|
+
required: false
|
|
8268
|
+
},
|
|
8269
|
+
{
|
|
8270
|
+
name: 'value',
|
|
8271
|
+
kind: 'Scalar',
|
|
8272
|
+
required: false
|
|
8273
|
+
}
|
|
8274
|
+
]
|
|
8275
|
+
};
|
|
8276
|
+
};
|
|
8277
|
+
function equals$9(existing, incoming) {
|
|
8278
|
+
const existing_displayName = existing.displayName;
|
|
8279
|
+
const incoming_displayName = incoming.displayName;
|
|
8280
|
+
// if at least one of these optionals is defined
|
|
8281
|
+
if (existing_displayName !== undefined || incoming_displayName !== undefined) {
|
|
8282
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8283
|
+
// not equal
|
|
8284
|
+
if (existing_displayName === undefined || incoming_displayName === undefined) {
|
|
8285
|
+
return false;
|
|
8286
|
+
}
|
|
8287
|
+
if (!(existing_displayName === incoming_displayName)) {
|
|
8288
|
+
return false;
|
|
8289
|
+
}
|
|
8290
|
+
}
|
|
8291
|
+
const existing_value = existing.value;
|
|
8292
|
+
const incoming_value = incoming.value;
|
|
8293
|
+
// if at least one of these optionals is defined
|
|
8294
|
+
if (existing_value !== undefined || incoming_value !== undefined) {
|
|
8295
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8296
|
+
// not equal
|
|
8297
|
+
if (existing_value === undefined || incoming_value === undefined) {
|
|
8298
|
+
return false;
|
|
8299
|
+
}
|
|
8300
|
+
if (!(existing_value === incoming_value)) {
|
|
8301
|
+
return false;
|
|
8302
|
+
}
|
|
8303
|
+
}
|
|
8304
|
+
return true;
|
|
8305
|
+
}
|
|
8306
|
+
|
|
8307
|
+
const VERSION$8 = "6ed89c4ce77235d13ce6bb395ae49d8e";
|
|
8222
8308
|
function validate$d(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
8223
8309
|
const v_error = (() => {
|
|
8224
8310
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8225
8311
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
8226
8312
|
}
|
|
8313
|
+
if (obj.allowedValues !== undefined) {
|
|
8314
|
+
const obj_allowedValues = obj.allowedValues;
|
|
8315
|
+
const path_allowedValues = path + '.allowedValues';
|
|
8316
|
+
if (!ArrayIsArray(obj_allowedValues)) {
|
|
8317
|
+
return new TypeError('Expected "array" but received "' + typeof obj_allowedValues + '" (at "' + path_allowedValues + '")');
|
|
8318
|
+
}
|
|
8319
|
+
for (let i = 0; i < obj_allowedValues.length; i++) {
|
|
8320
|
+
const obj_allowedValues_item = obj_allowedValues[i];
|
|
8321
|
+
const path_allowedValues_item = path_allowedValues + '[' + i + ']';
|
|
8322
|
+
const referencepath_allowedValues_itemValidationError = validate$e(obj_allowedValues_item, path_allowedValues_item);
|
|
8323
|
+
if (referencepath_allowedValues_itemValidationError !== null) {
|
|
8324
|
+
let message = 'Object doesn\'t match SemanticParameterListValueOutputRepresentation (at "' + path_allowedValues_item + '")\n';
|
|
8325
|
+
message += referencepath_allowedValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8326
|
+
return new TypeError(message);
|
|
8327
|
+
}
|
|
8328
|
+
}
|
|
8329
|
+
}
|
|
8227
8330
|
const obj_apiName = obj.apiName;
|
|
8228
8331
|
const path_apiName = path + '.apiName';
|
|
8229
8332
|
if (typeof obj_apiName !== 'string') {
|
|
@@ -8359,11 +8462,19 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
8359
8462
|
return input;
|
|
8360
8463
|
}
|
|
8361
8464
|
const select$k = function SemanticParameterOutputRepresentationSelect() {
|
|
8465
|
+
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$l();
|
|
8362
8466
|
return {
|
|
8363
8467
|
kind: 'Fragment',
|
|
8364
8468
|
version: VERSION$8,
|
|
8365
8469
|
private: [],
|
|
8366
8470
|
selections: [
|
|
8471
|
+
{
|
|
8472
|
+
name: 'allowedValues',
|
|
8473
|
+
kind: 'Object',
|
|
8474
|
+
plural: true,
|
|
8475
|
+
selections: SemanticParameterListValueOutputRepresentation__selections,
|
|
8476
|
+
required: false
|
|
8477
|
+
},
|
|
8367
8478
|
{
|
|
8368
8479
|
name: 'apiName',
|
|
8369
8480
|
kind: 'Scalar'
|
|
@@ -8626,6 +8737,24 @@ function equals$8(existing, incoming) {
|
|
|
8626
8737
|
return false;
|
|
8627
8738
|
}
|
|
8628
8739
|
}
|
|
8740
|
+
const existing_allowedValues = existing.allowedValues;
|
|
8741
|
+
const incoming_allowedValues = incoming.allowedValues;
|
|
8742
|
+
// if at least one of these optionals is defined
|
|
8743
|
+
if (existing_allowedValues !== undefined || incoming_allowedValues !== undefined) {
|
|
8744
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8745
|
+
// not equal
|
|
8746
|
+
if (existing_allowedValues === undefined || incoming_allowedValues === undefined) {
|
|
8747
|
+
return false;
|
|
8748
|
+
}
|
|
8749
|
+
const equals_allowedValues_items = equalsArray(existing_allowedValues, incoming_allowedValues, (existing_allowedValues_item, incoming_allowedValues_item) => {
|
|
8750
|
+
if (!(equals$9(existing_allowedValues_item, incoming_allowedValues_item))) {
|
|
8751
|
+
return false;
|
|
8752
|
+
}
|
|
8753
|
+
});
|
|
8754
|
+
if (equals_allowedValues_items === false) {
|
|
8755
|
+
return false;
|
|
8756
|
+
}
|
|
8757
|
+
}
|
|
8629
8758
|
const existing_values = existing.values;
|
|
8630
8759
|
const incoming_values = incoming.values;
|
|
8631
8760
|
// if at least one of these optionals is defined
|
|
@@ -8702,7 +8831,7 @@ function validate$c(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8702
8831
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
8703
8832
|
const obj_baseModels_item = obj_baseModels[i];
|
|
8704
8833
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
8705
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
8834
|
+
const referencepath_baseModels_itemValidationError = validate$U(obj_baseModels_item, path_baseModels_item);
|
|
8706
8835
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
8707
8836
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
8708
8837
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9143,7 +9272,7 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
|
9143
9272
|
return input;
|
|
9144
9273
|
}
|
|
9145
9274
|
const select$j = function SemanticModelOutputRepresentationSelect() {
|
|
9146
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
9275
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$C();
|
|
9147
9276
|
return {
|
|
9148
9277
|
kind: 'Fragment',
|
|
9149
9278
|
version: VERSION$7,
|
|
@@ -9232,7 +9361,7 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
|
|
|
9232
9361
|
kind: 'Link',
|
|
9233
9362
|
plural: true,
|
|
9234
9363
|
required: false,
|
|
9235
|
-
fragment: select$
|
|
9364
|
+
fragment: select$y()
|
|
9236
9365
|
},
|
|
9237
9366
|
{
|
|
9238
9367
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -9244,7 +9373,7 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
|
|
|
9244
9373
|
kind: 'Link',
|
|
9245
9374
|
plural: true,
|
|
9246
9375
|
required: false,
|
|
9247
|
-
fragment: select$
|
|
9376
|
+
fragment: select$x()
|
|
9248
9377
|
},
|
|
9249
9378
|
{
|
|
9250
9379
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -9256,7 +9385,7 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
|
|
|
9256
9385
|
kind: 'Link',
|
|
9257
9386
|
plural: true,
|
|
9258
9387
|
required: false,
|
|
9259
|
-
fragment: select$
|
|
9388
|
+
fragment: select$w()
|
|
9260
9389
|
},
|
|
9261
9390
|
{
|
|
9262
9391
|
name: 'semanticDataObjectsUrl',
|
|
@@ -9268,7 +9397,7 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
|
|
|
9268
9397
|
kind: 'Link',
|
|
9269
9398
|
plural: true,
|
|
9270
9399
|
required: false,
|
|
9271
|
-
fragment: select$
|
|
9400
|
+
fragment: select$r()
|
|
9272
9401
|
},
|
|
9273
9402
|
{
|
|
9274
9403
|
name: 'semanticGroupingsUrl',
|
|
@@ -9280,14 +9409,14 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
|
|
|
9280
9409
|
kind: 'Link',
|
|
9281
9410
|
plural: true,
|
|
9282
9411
|
required: false,
|
|
9283
|
-
fragment: select$
|
|
9412
|
+
fragment: select$m()
|
|
9284
9413
|
},
|
|
9285
9414
|
{
|
|
9286
9415
|
name: 'semanticMetrics',
|
|
9287
9416
|
kind: 'Link',
|
|
9288
9417
|
plural: true,
|
|
9289
9418
|
required: false,
|
|
9290
|
-
fragment: select$
|
|
9419
|
+
fragment: select$F()
|
|
9291
9420
|
},
|
|
9292
9421
|
{
|
|
9293
9422
|
name: 'semanticParameters',
|
|
@@ -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$p()
|
|
9310
9439
|
},
|
|
9311
9440
|
{
|
|
9312
9441
|
name: 'semanticRelationshipsUrl',
|
|
@@ -9570,7 +9699,7 @@ function equals$7(existing, incoming) {
|
|
|
9570
9699
|
return false;
|
|
9571
9700
|
}
|
|
9572
9701
|
const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
|
|
9573
|
-
if (!(equals$
|
|
9702
|
+
if (!(equals$p(existing_baseModels_item, incoming_baseModels_item))) {
|
|
9574
9703
|
return false;
|
|
9575
9704
|
}
|
|
9576
9705
|
});
|
|
@@ -9893,7 +10022,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9893
10022
|
const untrustedConfig_baseModels_array = [];
|
|
9894
10023
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
9895
10024
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
9896
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
10025
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$R(untrustedConfig_baseModels_item);
|
|
9897
10026
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
9898
10027
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
9899
10028
|
}
|
|
@@ -9905,7 +10034,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9905
10034
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
9906
10035
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
9907
10036
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
9908
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
10037
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$P(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9909
10038
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
9910
10039
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9911
10040
|
}
|
|
@@ -9917,7 +10046,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9917
10046
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
9918
10047
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
9919
10048
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
9920
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
10049
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$O(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9921
10050
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
9922
10051
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9923
10052
|
}
|
|
@@ -9929,7 +10058,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9929
10058
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
9930
10059
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
9931
10060
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
9932
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10061
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$L(untrustedConfig_semanticDataObjects_item);
|
|
9933
10062
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
9934
10063
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
9935
10064
|
}
|
|
@@ -9941,7 +10070,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9941
10070
|
const untrustedConfig_semanticGroupings_array = [];
|
|
9942
10071
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
9943
10072
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
9944
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10073
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$E(untrustedConfig_semanticGroupings_item);
|
|
9945
10074
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
9946
10075
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
9947
10076
|
}
|
|
@@ -9953,7 +10082,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9953
10082
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
9954
10083
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
9955
10084
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
9956
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10085
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$z(untrustedConfig_semanticLogicalViews_item);
|
|
9957
10086
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
9958
10087
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
9959
10088
|
}
|
|
@@ -9965,7 +10094,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9965
10094
|
const untrustedConfig_semanticMetrics_array = [];
|
|
9966
10095
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
9967
10096
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
9968
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10097
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$v(untrustedConfig_semanticMetrics_item);
|
|
9969
10098
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
9970
10099
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
9971
10100
|
}
|
|
@@ -9977,7 +10106,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9977
10106
|
const untrustedConfig_semanticParameters_array = [];
|
|
9978
10107
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
9979
10108
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
9980
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10109
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$u(untrustedConfig_semanticParameters_item);
|
|
9981
10110
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
9982
10111
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
9983
10112
|
}
|
|
@@ -9989,7 +10118,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
9989
10118
|
const untrustedConfig_semanticRelationships_array = [];
|
|
9990
10119
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
9991
10120
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
9992
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10121
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$C(untrustedConfig_semanticRelationships_item);
|
|
9993
10122
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
9994
10123
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
9995
10124
|
}
|
|
@@ -10246,7 +10375,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10246
10375
|
const untrustedConfig_baseModels_array = [];
|
|
10247
10376
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
10248
10377
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
10249
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
10378
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$R(untrustedConfig_baseModels_item);
|
|
10250
10379
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
10251
10380
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
10252
10381
|
}
|
|
@@ -10258,7 +10387,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10258
10387
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
10259
10388
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
10260
10389
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
10261
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
10390
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$P(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10262
10391
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
10263
10392
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
10264
10393
|
}
|
|
@@ -10270,7 +10399,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10270
10399
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
10271
10400
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
10272
10401
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
10273
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
10402
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$O(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10274
10403
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
10275
10404
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
10276
10405
|
}
|
|
@@ -10282,7 +10411,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10282
10411
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
10283
10412
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
10284
10413
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
10285
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10414
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$L(untrustedConfig_semanticDataObjects_item);
|
|
10286
10415
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
10287
10416
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
10288
10417
|
}
|
|
@@ -10294,7 +10423,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10294
10423
|
const untrustedConfig_semanticGroupings_array = [];
|
|
10295
10424
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
10296
10425
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
10297
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10426
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$E(untrustedConfig_semanticGroupings_item);
|
|
10298
10427
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
10299
10428
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
10300
10429
|
}
|
|
@@ -10306,7 +10435,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10306
10435
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
10307
10436
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
10308
10437
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
10309
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10438
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$z(untrustedConfig_semanticLogicalViews_item);
|
|
10310
10439
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
10311
10440
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
10312
10441
|
}
|
|
@@ -10318,7 +10447,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10318
10447
|
const untrustedConfig_semanticMetrics_array = [];
|
|
10319
10448
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
10320
10449
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
10321
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10450
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$v(untrustedConfig_semanticMetrics_item);
|
|
10322
10451
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
10323
10452
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
10324
10453
|
}
|
|
@@ -10330,7 +10459,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10330
10459
|
const untrustedConfig_semanticParameters_array = [];
|
|
10331
10460
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
10332
10461
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
10333
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10462
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$u(untrustedConfig_semanticParameters_item);
|
|
10334
10463
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
10335
10464
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
10336
10465
|
}
|
|
@@ -10342,7 +10471,7 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
10342
10471
|
const untrustedConfig_semanticRelationships_array = [];
|
|
10343
10472
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
10344
10473
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
10345
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10474
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$C(untrustedConfig_semanticRelationships_item);
|
|
10346
10475
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
10347
10476
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
10348
10477
|
}
|
|
@@ -10944,7 +11073,7 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10944
11073
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
10945
11074
|
const obj_filters_item = obj_filters[i];
|
|
10946
11075
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
10947
|
-
const referencepath_filters_itemValidationError = validate$
|
|
11076
|
+
const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
|
|
10948
11077
|
if (referencepath_filters_itemValidationError !== null) {
|
|
10949
11078
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
10950
11079
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10998,7 +11127,7 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10998
11127
|
if (obj.semanticMetric !== undefined) {
|
|
10999
11128
|
const obj_semanticMetric = obj.semanticMetric;
|
|
11000
11129
|
const path_semanticMetric = path + '.semanticMetric';
|
|
11001
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
11130
|
+
const referencepath_semanticMetricValidationError = validate$W(obj_semanticMetric, path_semanticMetric);
|
|
11002
11131
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
11003
11132
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
11004
11133
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11446,7 +11575,7 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
11446
11575
|
};
|
|
11447
11576
|
|
|
11448
11577
|
function select$7(luvio, params) {
|
|
11449
|
-
return select$
|
|
11578
|
+
return select$E();
|
|
11450
11579
|
}
|
|
11451
11580
|
function keyBuilder$b(luvio, params) {
|
|
11452
11581
|
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
|
|
@@ -11578,7 +11707,7 @@ const getSemanticMetricsAdapterFactory = (luvio) => function SemanticAuthoring__
|
|
|
11578
11707
|
};
|
|
11579
11708
|
|
|
11580
11709
|
function select$6(luvio, params) {
|
|
11581
|
-
return select$
|
|
11710
|
+
return select$F();
|
|
11582
11711
|
}
|
|
11583
11712
|
function keyBuilder$9(luvio, params) {
|
|
11584
11713
|
return keyBuilder$x(luvio, {
|
|
@@ -12127,7 +12256,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
12127
12256
|
const untrustedConfig_filters_array = [];
|
|
12128
12257
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
12129
12258
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
12130
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
12259
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$Q(untrustedConfig_filters_item);
|
|
12131
12260
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
12132
12261
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
12133
12262
|
}
|