@salesforce/lds-adapters-cdp-semantic-authoring 1.343.0 → 1.345.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 +1648 -829
- package/dist/es/es2018/types/src/generated/adapters/createSemanticGoal.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/adapters/getSemanticGoal.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/types/SemanticGoalDateRangeInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SemanticGoalDateRangeOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SemanticGoalInputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/SemanticGoalOutputRepresentation.d.ts +78 -0
- package/dist/es/es2018/types/src/generated/types/SemanticMetricGoalOutputRepresentation.d.ts +5 -1
- package/package.json +3 -3
- package/sfdc/index.js +1343 -473
- package/src/raml/api.raml +159 -0
- package/src/raml/luvio.raml +12 -0
package/sfdc/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
|
|
16
16
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$
|
|
17
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$i, typeCheckConfig as typeCheckConfig$i, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$b } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -102,7 +102,725 @@ function createLink(ref) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
function validate$
|
|
105
|
+
function validate$14(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
|
|
106
|
+
const v_error = (() => {
|
|
107
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
108
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
109
|
+
}
|
|
110
|
+
if (obj.endDate !== undefined) {
|
|
111
|
+
const obj_endDate = obj.endDate;
|
|
112
|
+
const path_endDate = path + '.endDate';
|
|
113
|
+
if (typeof obj_endDate !== 'string') {
|
|
114
|
+
return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
if (obj.startDate !== undefined) {
|
|
118
|
+
const obj_startDate = obj.startDate;
|
|
119
|
+
const path_startDate = path + '.startDate';
|
|
120
|
+
if (typeof obj_startDate !== 'string') {
|
|
121
|
+
return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
})();
|
|
125
|
+
return v_error === undefined ? null : v_error;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
function validate$13(obj, path = 'SemanticGoalStatusConditionInputRepresentation') {
|
|
129
|
+
const v_error = (() => {
|
|
130
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
131
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
132
|
+
}
|
|
133
|
+
if (obj.color !== undefined) {
|
|
134
|
+
const obj_color = obj.color;
|
|
135
|
+
const path_color = path + '.color';
|
|
136
|
+
if (typeof obj_color !== 'string') {
|
|
137
|
+
return new TypeError('Expected "string" but received "' + typeof obj_color + '" (at "' + path_color + '")');
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
if (obj.currencyIsoCode !== undefined) {
|
|
141
|
+
const obj_currencyIsoCode = obj.currencyIsoCode;
|
|
142
|
+
const path_currencyIsoCode = path + '.currencyIsoCode';
|
|
143
|
+
if (typeof obj_currencyIsoCode !== 'string') {
|
|
144
|
+
return new TypeError('Expected "string" but received "' + typeof obj_currencyIsoCode + '" (at "' + path_currencyIsoCode + '")');
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
if (obj.operator !== undefined) {
|
|
148
|
+
const obj_operator = obj.operator;
|
|
149
|
+
const path_operator = path + '.operator';
|
|
150
|
+
if (typeof obj_operator !== 'string') {
|
|
151
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
if (obj.primary !== undefined) {
|
|
155
|
+
const obj_primary = obj.primary;
|
|
156
|
+
const path_primary = path + '.primary';
|
|
157
|
+
if (typeof obj_primary !== 'boolean') {
|
|
158
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_primary + '" (at "' + path_primary + '")');
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
if (obj.statusName !== undefined) {
|
|
162
|
+
const obj_statusName = obj.statusName;
|
|
163
|
+
const path_statusName = path + '.statusName';
|
|
164
|
+
if (typeof obj_statusName !== 'string') {
|
|
165
|
+
return new TypeError('Expected "string" but received "' + typeof obj_statusName + '" (at "' + path_statusName + '")');
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
if (obj.value !== undefined) {
|
|
169
|
+
const obj_value = obj.value;
|
|
170
|
+
const path_value = path + '.value';
|
|
171
|
+
if (typeof obj_value !== 'string') {
|
|
172
|
+
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
})();
|
|
176
|
+
return v_error === undefined ? null : v_error;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
const VERSION$A = "d8d5260b9a2483297bc9bf979347739e";
|
|
180
|
+
function validate$12(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
|
|
181
|
+
const v_error = (() => {
|
|
182
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
183
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
184
|
+
}
|
|
185
|
+
if (obj.endDate !== undefined) {
|
|
186
|
+
const obj_endDate = obj.endDate;
|
|
187
|
+
const path_endDate = path + '.endDate';
|
|
188
|
+
if (typeof obj_endDate !== 'string') {
|
|
189
|
+
return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
if (obj.startDate !== undefined) {
|
|
193
|
+
const obj_startDate = obj.startDate;
|
|
194
|
+
const path_startDate = path + '.startDate';
|
|
195
|
+
if (typeof obj_startDate !== 'string') {
|
|
196
|
+
return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
})();
|
|
200
|
+
return v_error === undefined ? null : v_error;
|
|
201
|
+
}
|
|
202
|
+
const select$Q = function SemanticGoalDateRangeOutputRepresentationSelect() {
|
|
203
|
+
return {
|
|
204
|
+
kind: 'Fragment',
|
|
205
|
+
version: VERSION$A,
|
|
206
|
+
private: [],
|
|
207
|
+
selections: [
|
|
208
|
+
{
|
|
209
|
+
name: 'endDate',
|
|
210
|
+
kind: 'Scalar',
|
|
211
|
+
required: false
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
name: 'startDate',
|
|
215
|
+
kind: 'Scalar',
|
|
216
|
+
required: false
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
function equals$A(existing, incoming) {
|
|
222
|
+
const existing_endDate = existing.endDate;
|
|
223
|
+
const incoming_endDate = incoming.endDate;
|
|
224
|
+
// if at least one of these optionals is defined
|
|
225
|
+
if (existing_endDate !== undefined || incoming_endDate !== undefined) {
|
|
226
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
227
|
+
// not equal
|
|
228
|
+
if (existing_endDate === undefined || incoming_endDate === undefined) {
|
|
229
|
+
return false;
|
|
230
|
+
}
|
|
231
|
+
if (!(existing_endDate === incoming_endDate)) {
|
|
232
|
+
return false;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
const existing_startDate = existing.startDate;
|
|
236
|
+
const incoming_startDate = incoming.startDate;
|
|
237
|
+
// if at least one of these optionals is defined
|
|
238
|
+
if (existing_startDate !== undefined || incoming_startDate !== undefined) {
|
|
239
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
240
|
+
// not equal
|
|
241
|
+
if (existing_startDate === undefined || incoming_startDate === undefined) {
|
|
242
|
+
return false;
|
|
243
|
+
}
|
|
244
|
+
if (!(existing_startDate === incoming_startDate)) {
|
|
245
|
+
return false;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
return true;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
const VERSION$z = "77130f1cc25bfe67384d6074027e3f3c";
|
|
252
|
+
function validate$11(obj, path = 'SemanticGoalStatusConditionOutputRepresentation') {
|
|
253
|
+
const v_error = (() => {
|
|
254
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
255
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
256
|
+
}
|
|
257
|
+
const obj_color = obj.color;
|
|
258
|
+
const path_color = path + '.color';
|
|
259
|
+
if (typeof obj_color !== 'string') {
|
|
260
|
+
return new TypeError('Expected "string" but received "' + typeof obj_color + '" (at "' + path_color + '")');
|
|
261
|
+
}
|
|
262
|
+
if (obj.currencyIsoCode !== undefined) {
|
|
263
|
+
const obj_currencyIsoCode = obj.currencyIsoCode;
|
|
264
|
+
const path_currencyIsoCode = path + '.currencyIsoCode';
|
|
265
|
+
if (typeof obj_currencyIsoCode !== 'string') {
|
|
266
|
+
return new TypeError('Expected "string" but received "' + typeof obj_currencyIsoCode + '" (at "' + path_currencyIsoCode + '")');
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
const obj_operator = obj.operator;
|
|
270
|
+
const path_operator = path + '.operator';
|
|
271
|
+
if (typeof obj_operator !== 'string') {
|
|
272
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
273
|
+
}
|
|
274
|
+
const obj_primary = obj.primary;
|
|
275
|
+
const path_primary = path + '.primary';
|
|
276
|
+
if (typeof obj_primary !== 'boolean') {
|
|
277
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_primary + '" (at "' + path_primary + '")');
|
|
278
|
+
}
|
|
279
|
+
const obj_statusName = obj.statusName;
|
|
280
|
+
const path_statusName = path + '.statusName';
|
|
281
|
+
if (typeof obj_statusName !== 'string') {
|
|
282
|
+
return new TypeError('Expected "string" but received "' + typeof obj_statusName + '" (at "' + path_statusName + '")');
|
|
283
|
+
}
|
|
284
|
+
const obj_value = obj.value;
|
|
285
|
+
const path_value = path + '.value';
|
|
286
|
+
if (typeof obj_value !== 'string') {
|
|
287
|
+
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
288
|
+
}
|
|
289
|
+
})();
|
|
290
|
+
return v_error === undefined ? null : v_error;
|
|
291
|
+
}
|
|
292
|
+
const select$P = function SemanticGoalStatusConditionOutputRepresentationSelect() {
|
|
293
|
+
return {
|
|
294
|
+
kind: 'Fragment',
|
|
295
|
+
version: VERSION$z,
|
|
296
|
+
private: [],
|
|
297
|
+
selections: [
|
|
298
|
+
{
|
|
299
|
+
name: 'color',
|
|
300
|
+
kind: 'Scalar'
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
name: 'currencyIsoCode',
|
|
304
|
+
kind: 'Scalar',
|
|
305
|
+
required: false
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
name: 'operator',
|
|
309
|
+
kind: 'Scalar'
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
name: 'primary',
|
|
313
|
+
kind: 'Scalar'
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
name: 'statusName',
|
|
317
|
+
kind: 'Scalar'
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
name: 'value',
|
|
321
|
+
kind: 'Scalar'
|
|
322
|
+
}
|
|
323
|
+
]
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
function equals$z(existing, incoming) {
|
|
327
|
+
const existing_primary = existing.primary;
|
|
328
|
+
const incoming_primary = incoming.primary;
|
|
329
|
+
if (!(existing_primary === incoming_primary)) {
|
|
330
|
+
return false;
|
|
331
|
+
}
|
|
332
|
+
const existing_color = existing.color;
|
|
333
|
+
const incoming_color = incoming.color;
|
|
334
|
+
if (!(existing_color === incoming_color)) {
|
|
335
|
+
return false;
|
|
336
|
+
}
|
|
337
|
+
const existing_currencyIsoCode = existing.currencyIsoCode;
|
|
338
|
+
const incoming_currencyIsoCode = incoming.currencyIsoCode;
|
|
339
|
+
// if at least one of these optionals is defined
|
|
340
|
+
if (existing_currencyIsoCode !== undefined || incoming_currencyIsoCode !== undefined) {
|
|
341
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
342
|
+
// not equal
|
|
343
|
+
if (existing_currencyIsoCode === undefined || incoming_currencyIsoCode === undefined) {
|
|
344
|
+
return false;
|
|
345
|
+
}
|
|
346
|
+
if (!(existing_currencyIsoCode === incoming_currencyIsoCode)) {
|
|
347
|
+
return false;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
const existing_operator = existing.operator;
|
|
351
|
+
const incoming_operator = incoming.operator;
|
|
352
|
+
if (!(existing_operator === incoming_operator)) {
|
|
353
|
+
return false;
|
|
354
|
+
}
|
|
355
|
+
const existing_statusName = existing.statusName;
|
|
356
|
+
const incoming_statusName = incoming.statusName;
|
|
357
|
+
if (!(existing_statusName === incoming_statusName)) {
|
|
358
|
+
return false;
|
|
359
|
+
}
|
|
360
|
+
const existing_value = existing.value;
|
|
361
|
+
const incoming_value = incoming.value;
|
|
362
|
+
if (!(existing_value === incoming_value)) {
|
|
363
|
+
return false;
|
|
364
|
+
}
|
|
365
|
+
return true;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
const VERSION$y = "d08e45b476a6ff601849693a6dff2619";
|
|
369
|
+
function validate$10(obj, path = 'SemanticGoalOutputRepresentation') {
|
|
370
|
+
const v_error = (() => {
|
|
371
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
372
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
373
|
+
}
|
|
374
|
+
const obj_apiName = obj.apiName;
|
|
375
|
+
const path_apiName = path + '.apiName';
|
|
376
|
+
if (typeof obj_apiName !== 'string') {
|
|
377
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
378
|
+
}
|
|
379
|
+
if (obj.baseModelApiName !== undefined) {
|
|
380
|
+
const obj_baseModelApiName = obj.baseModelApiName;
|
|
381
|
+
const path_baseModelApiName = path + '.baseModelApiName';
|
|
382
|
+
if (typeof obj_baseModelApiName !== 'string') {
|
|
383
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
if (obj.cacheKey !== undefined) {
|
|
387
|
+
const obj_cacheKey = obj.cacheKey;
|
|
388
|
+
const path_cacheKey = path + '.cacheKey';
|
|
389
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
390
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
const obj_createdBy = obj.createdBy;
|
|
394
|
+
const path_createdBy = path + '.createdBy';
|
|
395
|
+
if (typeof obj_createdBy !== 'string') {
|
|
396
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdBy + '" (at "' + path_createdBy + '")');
|
|
397
|
+
}
|
|
398
|
+
const obj_createdDate = obj.createdDate;
|
|
399
|
+
const path_createdDate = path + '.createdDate';
|
|
400
|
+
if (typeof obj_createdDate !== 'string') {
|
|
401
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
402
|
+
}
|
|
403
|
+
const obj_dateRange = obj.dateRange;
|
|
404
|
+
const path_dateRange = path + '.dateRange';
|
|
405
|
+
const referencepath_dateRangeValidationError = validate$12(obj_dateRange, path_dateRange);
|
|
406
|
+
if (referencepath_dateRangeValidationError !== null) {
|
|
407
|
+
let message = 'Object doesn\'t match SemanticGoalDateRangeOutputRepresentation (at "' + path_dateRange + '")\n';
|
|
408
|
+
message += referencepath_dateRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
409
|
+
return new TypeError(message);
|
|
410
|
+
}
|
|
411
|
+
if (obj.description !== undefined) {
|
|
412
|
+
const obj_description = obj.description;
|
|
413
|
+
const path_description = path + '.description';
|
|
414
|
+
if (typeof obj_description !== 'string') {
|
|
415
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
const obj_forecasting = obj.forecasting;
|
|
419
|
+
const path_forecasting = path + '.forecasting';
|
|
420
|
+
if (typeof obj_forecasting !== 'boolean') {
|
|
421
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_forecasting + '" (at "' + path_forecasting + '")');
|
|
422
|
+
}
|
|
423
|
+
const obj_id = obj.id;
|
|
424
|
+
const path_id = path + '.id';
|
|
425
|
+
if (typeof obj_id !== 'string') {
|
|
426
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
427
|
+
}
|
|
428
|
+
if (obj.label !== undefined) {
|
|
429
|
+
const obj_label = obj.label;
|
|
430
|
+
const path_label = path + '.label';
|
|
431
|
+
if (typeof obj_label !== 'string') {
|
|
432
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
if (obj.lastModifiedBy !== undefined) {
|
|
436
|
+
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
437
|
+
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
438
|
+
if (typeof obj_lastModifiedBy !== 'string') {
|
|
439
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedBy + '" (at "' + path_lastModifiedBy + '")');
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
if (obj.lastModifiedDate !== undefined) {
|
|
443
|
+
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
444
|
+
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
445
|
+
if (typeof obj_lastModifiedDate !== 'string') {
|
|
446
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
const obj_statusConditions = obj.statusConditions;
|
|
450
|
+
const path_statusConditions = path + '.statusConditions';
|
|
451
|
+
if (!ArrayIsArray(obj_statusConditions)) {
|
|
452
|
+
return new TypeError('Expected "array" but received "' + typeof obj_statusConditions + '" (at "' + path_statusConditions + '")');
|
|
453
|
+
}
|
|
454
|
+
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
455
|
+
const obj_statusConditions_item = obj_statusConditions[i];
|
|
456
|
+
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
457
|
+
const referencepath_statusConditions_itemValidationError = validate$11(obj_statusConditions_item, path_statusConditions_item);
|
|
458
|
+
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
459
|
+
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
460
|
+
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
461
|
+
return new TypeError(message);
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
const obj_subMetricDefinitionApiName = obj.subMetricDefinitionApiName;
|
|
465
|
+
const path_subMetricDefinitionApiName = path + '.subMetricDefinitionApiName';
|
|
466
|
+
if (typeof obj_subMetricDefinitionApiName !== 'string') {
|
|
467
|
+
return new TypeError('Expected "string" but received "' + typeof obj_subMetricDefinitionApiName + '" (at "' + path_subMetricDefinitionApiName + '")');
|
|
468
|
+
}
|
|
469
|
+
})();
|
|
470
|
+
return v_error === undefined ? null : v_error;
|
|
471
|
+
}
|
|
472
|
+
const RepresentationType$i = 'SemanticGoalOutputRepresentation';
|
|
473
|
+
function keyBuilder$A(luvio, config) {
|
|
474
|
+
return keyPrefix + '::' + RepresentationType$i + ':' + config.name;
|
|
475
|
+
}
|
|
476
|
+
function keyBuilderFromType$c(luvio, object) {
|
|
477
|
+
const keyParams = {
|
|
478
|
+
name: object.id
|
|
479
|
+
};
|
|
480
|
+
return keyBuilder$A(luvio, keyParams);
|
|
481
|
+
}
|
|
482
|
+
function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
483
|
+
return input;
|
|
484
|
+
}
|
|
485
|
+
const select$O = function SemanticGoalOutputRepresentationSelect() {
|
|
486
|
+
const { selections: SemanticGoalDateRangeOutputRepresentation__selections, opaque: SemanticGoalDateRangeOutputRepresentation__opaque, } = select$Q();
|
|
487
|
+
const { selections: SemanticGoalStatusConditionOutputRepresentation__selections, opaque: SemanticGoalStatusConditionOutputRepresentation__opaque, } = select$P();
|
|
488
|
+
return {
|
|
489
|
+
kind: 'Fragment',
|
|
490
|
+
version: VERSION$y,
|
|
491
|
+
private: [],
|
|
492
|
+
selections: [
|
|
493
|
+
{
|
|
494
|
+
name: 'apiName',
|
|
495
|
+
kind: 'Scalar'
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
name: 'baseModelApiName',
|
|
499
|
+
kind: 'Scalar',
|
|
500
|
+
required: false
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
name: 'cacheKey',
|
|
504
|
+
kind: 'Scalar',
|
|
505
|
+
required: false
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
name: 'createdBy',
|
|
509
|
+
kind: 'Scalar'
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
name: 'createdDate',
|
|
513
|
+
kind: 'Scalar'
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
name: 'dateRange',
|
|
517
|
+
kind: 'Object',
|
|
518
|
+
selections: SemanticGoalDateRangeOutputRepresentation__selections
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
name: 'description',
|
|
522
|
+
kind: 'Scalar',
|
|
523
|
+
required: false
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
name: 'forecasting',
|
|
527
|
+
kind: 'Scalar'
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
name: 'id',
|
|
531
|
+
kind: 'Scalar'
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
name: 'label',
|
|
535
|
+
kind: 'Scalar',
|
|
536
|
+
required: false
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
name: 'lastModifiedBy',
|
|
540
|
+
kind: 'Scalar',
|
|
541
|
+
required: false
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
name: 'lastModifiedDate',
|
|
545
|
+
kind: 'Scalar',
|
|
546
|
+
required: false
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
name: 'statusConditions',
|
|
550
|
+
kind: 'Object',
|
|
551
|
+
plural: true,
|
|
552
|
+
selections: SemanticGoalStatusConditionOutputRepresentation__selections
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
name: 'subMetricDefinitionApiName',
|
|
556
|
+
kind: 'Scalar'
|
|
557
|
+
}
|
|
558
|
+
]
|
|
559
|
+
};
|
|
560
|
+
};
|
|
561
|
+
function equals$y(existing, incoming) {
|
|
562
|
+
const existing_forecasting = existing.forecasting;
|
|
563
|
+
const incoming_forecasting = incoming.forecasting;
|
|
564
|
+
if (!(existing_forecasting === incoming_forecasting)) {
|
|
565
|
+
return false;
|
|
566
|
+
}
|
|
567
|
+
const existing_apiName = existing.apiName;
|
|
568
|
+
const incoming_apiName = incoming.apiName;
|
|
569
|
+
if (!(existing_apiName === incoming_apiName)) {
|
|
570
|
+
return false;
|
|
571
|
+
}
|
|
572
|
+
const existing_baseModelApiName = existing.baseModelApiName;
|
|
573
|
+
const incoming_baseModelApiName = incoming.baseModelApiName;
|
|
574
|
+
// if at least one of these optionals is defined
|
|
575
|
+
if (existing_baseModelApiName !== undefined || incoming_baseModelApiName !== undefined) {
|
|
576
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
577
|
+
// not equal
|
|
578
|
+
if (existing_baseModelApiName === undefined || incoming_baseModelApiName === undefined) {
|
|
579
|
+
return false;
|
|
580
|
+
}
|
|
581
|
+
if (!(existing_baseModelApiName === incoming_baseModelApiName)) {
|
|
582
|
+
return false;
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
const existing_cacheKey = existing.cacheKey;
|
|
586
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
587
|
+
// if at least one of these optionals is defined
|
|
588
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
589
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
590
|
+
// not equal
|
|
591
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
592
|
+
return false;
|
|
593
|
+
}
|
|
594
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
595
|
+
return false;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
const existing_createdBy = existing.createdBy;
|
|
599
|
+
const incoming_createdBy = incoming.createdBy;
|
|
600
|
+
if (!(existing_createdBy === incoming_createdBy)) {
|
|
601
|
+
return false;
|
|
602
|
+
}
|
|
603
|
+
const existing_createdDate = existing.createdDate;
|
|
604
|
+
const incoming_createdDate = incoming.createdDate;
|
|
605
|
+
if (!(existing_createdDate === incoming_createdDate)) {
|
|
606
|
+
return false;
|
|
607
|
+
}
|
|
608
|
+
const existing_description = existing.description;
|
|
609
|
+
const incoming_description = incoming.description;
|
|
610
|
+
// if at least one of these optionals is defined
|
|
611
|
+
if (existing_description !== undefined || incoming_description !== undefined) {
|
|
612
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
613
|
+
// not equal
|
|
614
|
+
if (existing_description === undefined || incoming_description === undefined) {
|
|
615
|
+
return false;
|
|
616
|
+
}
|
|
617
|
+
if (!(existing_description === incoming_description)) {
|
|
618
|
+
return false;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
const existing_id = existing.id;
|
|
622
|
+
const incoming_id = incoming.id;
|
|
623
|
+
if (!(existing_id === incoming_id)) {
|
|
624
|
+
return false;
|
|
625
|
+
}
|
|
626
|
+
const existing_label = existing.label;
|
|
627
|
+
const incoming_label = incoming.label;
|
|
628
|
+
// if at least one of these optionals is defined
|
|
629
|
+
if (existing_label !== undefined || incoming_label !== undefined) {
|
|
630
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
631
|
+
// not equal
|
|
632
|
+
if (existing_label === undefined || incoming_label === undefined) {
|
|
633
|
+
return false;
|
|
634
|
+
}
|
|
635
|
+
if (!(existing_label === incoming_label)) {
|
|
636
|
+
return false;
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
const existing_lastModifiedBy = existing.lastModifiedBy;
|
|
640
|
+
const incoming_lastModifiedBy = incoming.lastModifiedBy;
|
|
641
|
+
// if at least one of these optionals is defined
|
|
642
|
+
if (existing_lastModifiedBy !== undefined || incoming_lastModifiedBy !== undefined) {
|
|
643
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
644
|
+
// not equal
|
|
645
|
+
if (existing_lastModifiedBy === undefined || incoming_lastModifiedBy === undefined) {
|
|
646
|
+
return false;
|
|
647
|
+
}
|
|
648
|
+
if (!(existing_lastModifiedBy === incoming_lastModifiedBy)) {
|
|
649
|
+
return false;
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
const existing_lastModifiedDate = existing.lastModifiedDate;
|
|
653
|
+
const incoming_lastModifiedDate = incoming.lastModifiedDate;
|
|
654
|
+
// if at least one of these optionals is defined
|
|
655
|
+
if (existing_lastModifiedDate !== undefined || incoming_lastModifiedDate !== undefined) {
|
|
656
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
657
|
+
// not equal
|
|
658
|
+
if (existing_lastModifiedDate === undefined || incoming_lastModifiedDate === undefined) {
|
|
659
|
+
return false;
|
|
660
|
+
}
|
|
661
|
+
if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
|
|
662
|
+
return false;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
const existing_subMetricDefinitionApiName = existing.subMetricDefinitionApiName;
|
|
666
|
+
const incoming_subMetricDefinitionApiName = incoming.subMetricDefinitionApiName;
|
|
667
|
+
if (!(existing_subMetricDefinitionApiName === incoming_subMetricDefinitionApiName)) {
|
|
668
|
+
return false;
|
|
669
|
+
}
|
|
670
|
+
const existing_dateRange = existing.dateRange;
|
|
671
|
+
const incoming_dateRange = incoming.dateRange;
|
|
672
|
+
if (!(equals$A(existing_dateRange, incoming_dateRange))) {
|
|
673
|
+
return false;
|
|
674
|
+
}
|
|
675
|
+
const existing_statusConditions = existing.statusConditions;
|
|
676
|
+
const incoming_statusConditions = incoming.statusConditions;
|
|
677
|
+
const equals_statusConditions_items = equalsArray(existing_statusConditions, incoming_statusConditions, (existing_statusConditions_item, incoming_statusConditions_item) => {
|
|
678
|
+
if (!(equals$z(existing_statusConditions_item, incoming_statusConditions_item))) {
|
|
679
|
+
return false;
|
|
680
|
+
}
|
|
681
|
+
});
|
|
682
|
+
if (equals_statusConditions_items === false) {
|
|
683
|
+
return false;
|
|
684
|
+
}
|
|
685
|
+
return true;
|
|
686
|
+
}
|
|
687
|
+
const ingest$i = function SemanticGoalOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
688
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
689
|
+
const validateError = validate$10(input);
|
|
690
|
+
if (validateError !== null) {
|
|
691
|
+
throw validateError;
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
const key = keyBuilderFromType$c(luvio, input);
|
|
695
|
+
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
696
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$y, RepresentationType$i, equals$y);
|
|
697
|
+
return createLink(key);
|
|
698
|
+
};
|
|
699
|
+
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
700
|
+
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
701
|
+
const rootKey = keyBuilderFromType$c(luvio, input);
|
|
702
|
+
rootKeySet.set(rootKey, {
|
|
703
|
+
namespace: keyPrefix,
|
|
704
|
+
representationName: RepresentationType$i,
|
|
705
|
+
mergeable: false
|
|
706
|
+
});
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
function select$N(luvio, params) {
|
|
710
|
+
return select$O();
|
|
711
|
+
}
|
|
712
|
+
function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
|
|
713
|
+
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
714
|
+
}
|
|
715
|
+
function ingestSuccess$f(luvio, resourceParams, response) {
|
|
716
|
+
const { body } = response;
|
|
717
|
+
const key = keyBuilderFromType$c(luvio, body);
|
|
718
|
+
luvio.storeIngest(key, ingest$i, body);
|
|
719
|
+
const snapshot = luvio.storeLookup({
|
|
720
|
+
recordId: key,
|
|
721
|
+
node: select$N(),
|
|
722
|
+
variables: {},
|
|
723
|
+
});
|
|
724
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
725
|
+
if (snapshot.state !== 'Fulfilled') {
|
|
726
|
+
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
deepFreeze(snapshot.data);
|
|
730
|
+
return snapshot;
|
|
731
|
+
}
|
|
732
|
+
function createResourceRequest$h(config) {
|
|
733
|
+
const headers = {};
|
|
734
|
+
return {
|
|
735
|
+
baseUri: '/services/data/v64.0',
|
|
736
|
+
basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/goals',
|
|
737
|
+
method: 'post',
|
|
738
|
+
body: config.body,
|
|
739
|
+
urlParams: config.urlParams,
|
|
740
|
+
queryParams: {},
|
|
741
|
+
headers,
|
|
742
|
+
priority: 'normal',
|
|
743
|
+
};
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
const adapterName$h = 'createSemanticGoal';
|
|
747
|
+
const createSemanticGoal_ConfigPropertyMetadata = [
|
|
748
|
+
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
749
|
+
generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
|
|
750
|
+
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
751
|
+
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
752
|
+
generateParamConfigMetadata('dateRange', false, 2 /* Body */, 4 /* Unsupported */),
|
|
753
|
+
generateParamConfigMetadata('forecasting', false, 2 /* Body */, 1 /* Boolean */),
|
|
754
|
+
generateParamConfigMetadata('statusConditions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
755
|
+
generateParamConfigMetadata('subMetricDefinitionApiName', false, 2 /* Body */, 0 /* String */),
|
|
756
|
+
];
|
|
757
|
+
const createSemanticGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, createSemanticGoal_ConfigPropertyMetadata);
|
|
758
|
+
const createResourceParams$h = /*#__PURE__*/ createResourceParams$i(createSemanticGoal_ConfigPropertyMetadata);
|
|
759
|
+
function typeCheckConfig$h(untrustedConfig) {
|
|
760
|
+
const config = {};
|
|
761
|
+
typeCheckConfig$i(untrustedConfig, config, createSemanticGoal_ConfigPropertyMetadata);
|
|
762
|
+
const untrustedConfig_dateRange = untrustedConfig.dateRange;
|
|
763
|
+
const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$14(untrustedConfig_dateRange);
|
|
764
|
+
if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
|
|
765
|
+
config.dateRange = untrustedConfig_dateRange;
|
|
766
|
+
}
|
|
767
|
+
const untrustedConfig_statusConditions = untrustedConfig.statusConditions;
|
|
768
|
+
if (ArrayIsArray$1(untrustedConfig_statusConditions)) {
|
|
769
|
+
const untrustedConfig_statusConditions_array = [];
|
|
770
|
+
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
771
|
+
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
772
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$13(untrustedConfig_statusConditions_item);
|
|
773
|
+
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
774
|
+
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
config.statusConditions = untrustedConfig_statusConditions_array;
|
|
778
|
+
}
|
|
779
|
+
return config;
|
|
780
|
+
}
|
|
781
|
+
function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
|
|
782
|
+
if (!untrustedIsObject(untrustedConfig)) {
|
|
783
|
+
return null;
|
|
784
|
+
}
|
|
785
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
786
|
+
validateConfig(untrustedConfig, configPropertyNames);
|
|
787
|
+
}
|
|
788
|
+
const config = typeCheckConfig$h(untrustedConfig);
|
|
789
|
+
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
790
|
+
return null;
|
|
791
|
+
}
|
|
792
|
+
return config;
|
|
793
|
+
}
|
|
794
|
+
function buildNetworkSnapshot$h(luvio, config, options) {
|
|
795
|
+
const resourceParams = createResourceParams$h(config);
|
|
796
|
+
const request = createResourceRequest$h(resourceParams);
|
|
797
|
+
return luvio.dispatchResourceRequest(request, options)
|
|
798
|
+
.then((response) => {
|
|
799
|
+
return luvio.handleSuccessResponse(() => {
|
|
800
|
+
const snapshot = ingestSuccess$f(luvio, resourceParams, response);
|
|
801
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
802
|
+
}, () => {
|
|
803
|
+
const cache = new StoreKeyMap();
|
|
804
|
+
getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
|
|
805
|
+
return cache;
|
|
806
|
+
});
|
|
807
|
+
}, (response) => {
|
|
808
|
+
deepFreeze(response);
|
|
809
|
+
throw response;
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
const createSemanticGoalAdapterFactory = (luvio) => {
|
|
813
|
+
return function createSemanticGoal(untrustedConfig) {
|
|
814
|
+
const config = validateAdapterConfig$h(untrustedConfig, createSemanticGoal_ConfigPropertyNames);
|
|
815
|
+
// Invalid or incomplete config
|
|
816
|
+
if (config === null) {
|
|
817
|
+
throw new Error('Invalid config for "createSemanticGoal"');
|
|
818
|
+
}
|
|
819
|
+
return buildNetworkSnapshot$h(luvio, config);
|
|
820
|
+
};
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
function validate$$(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
106
824
|
const v_error = (() => {
|
|
107
825
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
108
826
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -118,7 +836,7 @@ function validate$10(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
118
836
|
return v_error === undefined ? null : v_error;
|
|
119
837
|
}
|
|
120
838
|
|
|
121
|
-
function validate
|
|
839
|
+
function validate$_(obj, path = 'SemanticFilterInputRepresentation') {
|
|
122
840
|
const v_error = (() => {
|
|
123
841
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
124
842
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -148,7 +866,7 @@ function validate$$(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
148
866
|
return v_error === undefined ? null : v_error;
|
|
149
867
|
}
|
|
150
868
|
|
|
151
|
-
function validate$
|
|
869
|
+
function validate$Z(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
152
870
|
const v_error = (() => {
|
|
153
871
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
154
872
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -211,7 +929,7 @@ function validate$_(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
211
929
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
212
930
|
const obj_filters_item = obj_filters[i];
|
|
213
931
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
214
|
-
const referencepath_filters_itemValidationError = validate
|
|
932
|
+
const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
|
|
215
933
|
if (referencepath_filters_itemValidationError !== null) {
|
|
216
934
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
217
935
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -258,7 +976,7 @@ function validate$_(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
258
976
|
return v_error === undefined ? null : v_error;
|
|
259
977
|
}
|
|
260
978
|
|
|
261
|
-
function validate$
|
|
979
|
+
function validate$Y(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
262
980
|
const v_error = (() => {
|
|
263
981
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
264
982
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -335,7 +1053,7 @@ function validate$Z(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
335
1053
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
336
1054
|
const obj_filters_item = obj_filters[i];
|
|
337
1055
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
338
|
-
const referencepath_filters_itemValidationError = validate
|
|
1056
|
+
const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
|
|
339
1057
|
if (referencepath_filters_itemValidationError !== null) {
|
|
340
1058
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
341
1059
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -403,7 +1121,7 @@ function validate$Z(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
403
1121
|
return v_error === undefined ? null : v_error;
|
|
404
1122
|
}
|
|
405
1123
|
|
|
406
|
-
function validate$
|
|
1124
|
+
function validate$X(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
407
1125
|
const v_error = (() => {
|
|
408
1126
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
409
1127
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -482,7 +1200,7 @@ function validate$Y(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
482
1200
|
return v_error === undefined ? null : v_error;
|
|
483
1201
|
}
|
|
484
1202
|
|
|
485
|
-
function validate$
|
|
1203
|
+
function validate$W(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
486
1204
|
const v_error = (() => {
|
|
487
1205
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
488
1206
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -589,7 +1307,7 @@ function validate$X(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
589
1307
|
return v_error === undefined ? null : v_error;
|
|
590
1308
|
}
|
|
591
1309
|
|
|
592
|
-
function validate$
|
|
1310
|
+
function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
593
1311
|
const v_error = (() => {
|
|
594
1312
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
595
1313
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -638,7 +1356,7 @@ function validate$W(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
638
1356
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
639
1357
|
const obj_filters_item = obj_filters[i];
|
|
640
1358
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
641
|
-
const referencepath_filters_itemValidationError = validate
|
|
1359
|
+
const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
|
|
642
1360
|
if (referencepath_filters_itemValidationError !== null) {
|
|
643
1361
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
644
1362
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -669,7 +1387,7 @@ function validate$W(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
669
1387
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
670
1388
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
671
1389
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
672
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
1390
|
+
const referencepath_semanticDimensions_itemValidationError = validate$X(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
673
1391
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
674
1392
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
675
1393
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -686,7 +1404,7 @@ function validate$W(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
686
1404
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
687
1405
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
688
1406
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
689
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
1407
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$W(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
690
1408
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
691
1409
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
692
1410
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -705,7 +1423,7 @@ function validate$W(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
705
1423
|
return v_error === undefined ? null : v_error;
|
|
706
1424
|
}
|
|
707
1425
|
|
|
708
|
-
function validate$
|
|
1426
|
+
function validate$U(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
709
1427
|
const v_error = (() => {
|
|
710
1428
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
711
1429
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -717,7 +1435,7 @@ function validate$V(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
717
1435
|
return v_error === undefined ? null : v_error;
|
|
718
1436
|
}
|
|
719
1437
|
|
|
720
|
-
function validate$
|
|
1438
|
+
function validate$T(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
721
1439
|
const v_error = (() => {
|
|
722
1440
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
723
1441
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -747,7 +1465,7 @@ function validate$U(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
747
1465
|
return v_error === undefined ? null : v_error;
|
|
748
1466
|
}
|
|
749
1467
|
|
|
750
|
-
function validate$
|
|
1468
|
+
function validate$S(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
751
1469
|
const v_error = (() => {
|
|
752
1470
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
753
1471
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -761,7 +1479,7 @@ function validate$T(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
761
1479
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
762
1480
|
const obj_groups_item = obj_groups[i];
|
|
763
1481
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
764
|
-
const referencepath_groups_itemValidationError = validate$
|
|
1482
|
+
const referencepath_groups_itemValidationError = validate$T(obj_groups_item, path_groups_item);
|
|
765
1483
|
if (referencepath_groups_itemValidationError !== null) {
|
|
766
1484
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
767
1485
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -780,7 +1498,7 @@ function validate$T(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
780
1498
|
return v_error === undefined ? null : v_error;
|
|
781
1499
|
}
|
|
782
1500
|
|
|
783
|
-
function validate$
|
|
1501
|
+
function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
784
1502
|
const v_error = (() => {
|
|
785
1503
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
786
1504
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -788,7 +1506,7 @@ function validate$S(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
788
1506
|
if (obj.binDimension !== undefined) {
|
|
789
1507
|
const obj_binDimension = obj.binDimension;
|
|
790
1508
|
const path_binDimension = path + '.binDimension';
|
|
791
|
-
const referencepath_binDimensionValidationError = validate$
|
|
1509
|
+
const referencepath_binDimensionValidationError = validate$U(obj_binDimension, path_binDimension);
|
|
792
1510
|
if (referencepath_binDimensionValidationError !== null) {
|
|
793
1511
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
794
1512
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -798,7 +1516,7 @@ function validate$S(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
798
1516
|
if (obj.groupDimension !== undefined) {
|
|
799
1517
|
const obj_groupDimension = obj.groupDimension;
|
|
800
1518
|
const path_groupDimension = path + '.groupDimension';
|
|
801
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
1519
|
+
const referencepath_groupDimensionValidationError = validate$S(obj_groupDimension, path_groupDimension);
|
|
802
1520
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
803
1521
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
804
1522
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -809,7 +1527,7 @@ function validate$S(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
809
1527
|
return v_error === undefined ? null : v_error;
|
|
810
1528
|
}
|
|
811
1529
|
|
|
812
|
-
function validate$
|
|
1530
|
+
function validate$Q(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
813
1531
|
const v_error = (() => {
|
|
814
1532
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
815
1533
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -832,7 +1550,7 @@ function validate$R(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
832
1550
|
return v_error === undefined ? null : v_error;
|
|
833
1551
|
}
|
|
834
1552
|
|
|
835
|
-
function validate$
|
|
1553
|
+
function validate$P(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
836
1554
|
const v_error = (() => {
|
|
837
1555
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
838
1556
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -847,7 +1565,7 @@ function validate$Q(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
847
1565
|
if (obj.tableFieldReference !== undefined) {
|
|
848
1566
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
849
1567
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
850
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
1568
|
+
const referencepath_tableFieldReferenceValidationError = validate$Q(obj_tableFieldReference, path_tableFieldReference);
|
|
851
1569
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
852
1570
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
853
1571
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -858,7 +1576,7 @@ function validate$Q(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
858
1576
|
return v_error === undefined ? null : v_error;
|
|
859
1577
|
}
|
|
860
1578
|
|
|
861
|
-
function validate$
|
|
1579
|
+
function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
862
1580
|
const v_error = (() => {
|
|
863
1581
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
864
1582
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -873,7 +1591,7 @@ function validate$P(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
873
1591
|
if (obj.configuration !== undefined) {
|
|
874
1592
|
const obj_configuration = obj.configuration;
|
|
875
1593
|
const path_configuration = path + '.configuration';
|
|
876
|
-
const referencepath_configurationValidationError = validate$
|
|
1594
|
+
const referencepath_configurationValidationError = validate$R(obj_configuration, path_configuration);
|
|
877
1595
|
if (referencepath_configurationValidationError !== null) {
|
|
878
1596
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
879
1597
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -890,7 +1608,7 @@ function validate$P(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
890
1608
|
if (obj.fieldReference !== undefined) {
|
|
891
1609
|
const obj_fieldReference = obj.fieldReference;
|
|
892
1610
|
const path_fieldReference = path + '.fieldReference';
|
|
893
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
1611
|
+
const referencepath_fieldReferenceValidationError = validate$P(obj_fieldReference, path_fieldReference);
|
|
894
1612
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
895
1613
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
896
1614
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -915,7 +1633,7 @@ function validate$P(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
915
1633
|
return v_error === undefined ? null : v_error;
|
|
916
1634
|
}
|
|
917
1635
|
|
|
918
|
-
function validate$
|
|
1636
|
+
function validate$N(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
919
1637
|
const v_error = (() => {
|
|
920
1638
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
921
1639
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -959,7 +1677,7 @@ function validate$O(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
959
1677
|
return v_error === undefined ? null : v_error;
|
|
960
1678
|
}
|
|
961
1679
|
|
|
962
|
-
function validate$
|
|
1680
|
+
function validate$M(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
963
1681
|
const v_error = (() => {
|
|
964
1682
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
965
1683
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -987,7 +1705,7 @@ function validate$N(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
987
1705
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
988
1706
|
const obj_criteria_item = obj_criteria[i];
|
|
989
1707
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
990
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
1708
|
+
const referencepath_criteria_itemValidationError = validate$N(obj_criteria_item, path_criteria_item);
|
|
991
1709
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
992
1710
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
993
1711
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1048,7 +1766,7 @@ function validate$N(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
1048
1766
|
return v_error === undefined ? null : v_error;
|
|
1049
1767
|
}
|
|
1050
1768
|
|
|
1051
|
-
function validate$
|
|
1769
|
+
function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
1052
1770
|
const v_error = (() => {
|
|
1053
1771
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1054
1772
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1076,7 +1794,7 @@ function validate$M(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1076
1794
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
1077
1795
|
const obj_fields_item = obj_fields[i];
|
|
1078
1796
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
1079
|
-
const referencepath_fields_itemValidationError = validate$
|
|
1797
|
+
const referencepath_fields_itemValidationError = validate$Q(obj_fields_item, path_fields_item);
|
|
1080
1798
|
if (referencepath_fields_itemValidationError !== null) {
|
|
1081
1799
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
1082
1800
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1101,7 +1819,7 @@ function validate$M(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1101
1819
|
if (obj.semanticDimension !== undefined) {
|
|
1102
1820
|
const obj_semanticDimension = obj.semanticDimension;
|
|
1103
1821
|
const path_semanticDimension = path + '.semanticDimension';
|
|
1104
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
1822
|
+
const referencepath_semanticDimensionValidationError = validate$X(obj_semanticDimension, path_semanticDimension);
|
|
1105
1823
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
1106
1824
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
1107
1825
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1111,7 +1829,7 @@ function validate$M(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1111
1829
|
if (obj.semanticMeasurement !== undefined) {
|
|
1112
1830
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
1113
1831
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
1114
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
1832
|
+
const referencepath_semanticMeasurementValidationError = validate$W(obj_semanticMeasurement, path_semanticMeasurement);
|
|
1115
1833
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
1116
1834
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
1117
1835
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1122,7 +1840,7 @@ function validate$M(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
1122
1840
|
return v_error === undefined ? null : v_error;
|
|
1123
1841
|
}
|
|
1124
1842
|
|
|
1125
|
-
function validate$
|
|
1843
|
+
function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
|
|
1126
1844
|
const v_error = (() => {
|
|
1127
1845
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1128
1846
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1157,7 +1875,7 @@ function validate$L(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1157
1875
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1158
1876
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1159
1877
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1160
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1878
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$V(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1161
1879
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1162
1880
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1163
1881
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1174,7 +1892,7 @@ function validate$L(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1174
1892
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
1175
1893
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
1176
1894
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
1177
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
1895
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$L(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
1178
1896
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
1179
1897
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
1180
1898
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1186,7 +1904,7 @@ function validate$L(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
1186
1904
|
return v_error === undefined ? null : v_error;
|
|
1187
1905
|
}
|
|
1188
1906
|
|
|
1189
|
-
function validate$
|
|
1907
|
+
function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
1190
1908
|
const v_error = (() => {
|
|
1191
1909
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1192
1910
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1228,7 +1946,7 @@ function validate$K(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1228
1946
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1229
1947
|
const obj_filters_item = obj_filters[i];
|
|
1230
1948
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1231
|
-
const referencepath_filters_itemValidationError = validate
|
|
1949
|
+
const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
|
|
1232
1950
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1233
1951
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1234
1952
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1252,7 +1970,7 @@ function validate$K(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1252
1970
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
1253
1971
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
1254
1972
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
1255
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
1973
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$V(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
1256
1974
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
1257
1975
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
1258
1976
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1269,7 +1987,7 @@ function validate$K(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1269
1987
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
1270
1988
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
1271
1989
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
1272
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
1990
|
+
const referencepath_semanticRelationships_itemValidationError = validate$M(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
1273
1991
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
1274
1992
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
1275
1993
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1286,7 +2004,7 @@ function validate$K(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1286
2004
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
1287
2005
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
1288
2006
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
1289
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
2007
|
+
const referencepath_semanticUnions_itemValidationError = validate$K(obj_semanticUnions_item, path_semanticUnions_item);
|
|
1290
2008
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
1291
2009
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
1292
2010
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1298,7 +2016,7 @@ function validate$K(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
1298
2016
|
return v_error === undefined ? null : v_error;
|
|
1299
2017
|
}
|
|
1300
2018
|
|
|
1301
|
-
function validate$
|
|
2019
|
+
function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
1302
2020
|
const v_error = (() => {
|
|
1303
2021
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1304
2022
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1306,7 +2024,7 @@ function validate$J(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1306
2024
|
if (obj.identifierDimensionReference !== undefined) {
|
|
1307
2025
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
1308
2026
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
1309
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
2027
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$P(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
1310
2028
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
1311
2029
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
1312
2030
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1316,7 +2034,7 @@ function validate$J(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1316
2034
|
if (obj.namingDimensionReference !== undefined) {
|
|
1317
2035
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
1318
2036
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
1319
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
2037
|
+
const referencepath_namingDimensionReferenceValidationError = validate$P(obj_namingDimensionReference, path_namingDimensionReference);
|
|
1320
2038
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
1321
2039
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
1322
2040
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1327,7 +2045,7 @@ function validate$J(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
1327
2045
|
return v_error === undefined ? null : v_error;
|
|
1328
2046
|
}
|
|
1329
2047
|
|
|
1330
|
-
function validate$
|
|
2048
|
+
function validate$H(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
1331
2049
|
const v_error = (() => {
|
|
1332
2050
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1333
2051
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1350,7 +2068,7 @@ function validate$I(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
1350
2068
|
return v_error === undefined ? null : v_error;
|
|
1351
2069
|
}
|
|
1352
2070
|
|
|
1353
|
-
function validate$
|
|
2071
|
+
function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
1354
2072
|
const v_error = (() => {
|
|
1355
2073
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1356
2074
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1358,7 +2076,7 @@ function validate$H(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1358
2076
|
if (obj.identifyingDimension !== undefined) {
|
|
1359
2077
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
1360
2078
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
1361
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
2079
|
+
const referencepath_identifyingDimensionValidationError = validate$I(obj_identifyingDimension, path_identifyingDimension);
|
|
1362
2080
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
1363
2081
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
1364
2082
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1374,7 +2092,7 @@ function validate$H(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1374
2092
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
1375
2093
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
1376
2094
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
1377
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
2095
|
+
const referencepath_insightTypes_itemValidationError = validate$H(obj_insightTypes_item, path_insightTypes_item);
|
|
1378
2096
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
1379
2097
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
1380
2098
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1391,7 +2109,7 @@ function validate$H(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1391
2109
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
1392
2110
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
1393
2111
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
1394
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
2112
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$P(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
1395
2113
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
1396
2114
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
1397
2115
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1424,7 +2142,7 @@ function validate$H(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
1424
2142
|
return v_error === undefined ? null : v_error;
|
|
1425
2143
|
}
|
|
1426
2144
|
|
|
1427
|
-
function validate$
|
|
2145
|
+
function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
|
|
1428
2146
|
const v_error = (() => {
|
|
1429
2147
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1430
2148
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1438,7 +2156,7 @@ function validate$G(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1438
2156
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
1439
2157
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
1440
2158
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
1441
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
2159
|
+
const referencepath_additionalDimensions_itemValidationError = validate$P(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
1442
2160
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
1443
2161
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
1444
2162
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1483,7 +2201,7 @@ function validate$G(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1483
2201
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1484
2202
|
const obj_filters_item = obj_filters[i];
|
|
1485
2203
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1486
|
-
const referencepath_filters_itemValidationError = validate
|
|
2204
|
+
const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
|
|
1487
2205
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1488
2206
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1489
2207
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1494,7 +2212,7 @@ function validate$G(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1494
2212
|
if (obj.insightsSettings !== undefined) {
|
|
1495
2213
|
const obj_insightsSettings = obj.insightsSettings;
|
|
1496
2214
|
const path_insightsSettings = path + '.insightsSettings';
|
|
1497
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
2215
|
+
const referencepath_insightsSettingsValidationError = validate$G(obj_insightsSettings, path_insightsSettings);
|
|
1498
2216
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
1499
2217
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
1500
2218
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1518,7 +2236,7 @@ function validate$G(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1518
2236
|
if (obj.measurementReference !== undefined) {
|
|
1519
2237
|
const obj_measurementReference = obj.measurementReference;
|
|
1520
2238
|
const path_measurementReference = path + '.measurementReference';
|
|
1521
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
2239
|
+
const referencepath_measurementReferenceValidationError = validate$P(obj_measurementReference, path_measurementReference);
|
|
1522
2240
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
1523
2241
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
1524
2242
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1528,7 +2246,7 @@ function validate$G(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1528
2246
|
if (obj.timeDimensionReference !== undefined) {
|
|
1529
2247
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
1530
2248
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
1531
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
2249
|
+
const referencepath_timeDimensionReferenceValidationError = validate$P(obj_timeDimensionReference, path_timeDimensionReference);
|
|
1532
2250
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
1533
2251
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
1534
2252
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1553,7 +2271,7 @@ function validate$G(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
1553
2271
|
return v_error === undefined ? null : v_error;
|
|
1554
2272
|
}
|
|
1555
2273
|
|
|
1556
|
-
function validate$
|
|
2274
|
+
function validate$E(obj, path = 'SemanticParameterInputRepresentation') {
|
|
1557
2275
|
const v_error = (() => {
|
|
1558
2276
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1559
2277
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1654,7 +2372,7 @@ function validate$F(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
1654
2372
|
}
|
|
1655
2373
|
|
|
1656
2374
|
const VERSION$x = "3a32d382e7a2268096278aa8e5c6761a";
|
|
1657
|
-
function validate$
|
|
2375
|
+
function validate$D(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
1658
2376
|
const v_error = (() => {
|
|
1659
2377
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1660
2378
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1674,7 +2392,7 @@ function validate$E(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
|
1674
2392
|
})();
|
|
1675
2393
|
return v_error === undefined ? null : v_error;
|
|
1676
2394
|
}
|
|
1677
|
-
const select$
|
|
2395
|
+
const select$M = function SemanticBaseModelOutputRepresentationSelect() {
|
|
1678
2396
|
return {
|
|
1679
2397
|
kind: 'Fragment',
|
|
1680
2398
|
version: VERSION$x,
|
|
@@ -1715,7 +2433,7 @@ function equals$x(existing, incoming) {
|
|
|
1715
2433
|
}
|
|
1716
2434
|
|
|
1717
2435
|
const VERSION$w = "9b5a0e85af6a943c95625e2dfe81ab96";
|
|
1718
|
-
function validate$
|
|
2436
|
+
function validate$C(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
1719
2437
|
const v_error = (() => {
|
|
1720
2438
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1721
2439
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1744,7 +2462,7 @@ function validate$D(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
|
1744
2462
|
})();
|
|
1745
2463
|
return v_error === undefined ? null : v_error;
|
|
1746
2464
|
}
|
|
1747
|
-
const select$
|
|
2465
|
+
const select$L = function SemanticFilterOutputRepresentationSelect() {
|
|
1748
2466
|
return {
|
|
1749
2467
|
kind: 'Fragment',
|
|
1750
2468
|
version: VERSION$w,
|
|
@@ -1812,7 +2530,7 @@ function equals$w(existing, incoming) {
|
|
|
1812
2530
|
}
|
|
1813
2531
|
|
|
1814
2532
|
const VERSION$v = "51514a172af5e420504a2143725b4528";
|
|
1815
|
-
function validate$
|
|
2533
|
+
function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
1816
2534
|
const v_error = (() => {
|
|
1817
2535
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1818
2536
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1897,7 +2615,7 @@ function validate$C(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
1897
2615
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1898
2616
|
const obj_filters_item = obj_filters[i];
|
|
1899
2617
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1900
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2618
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
1901
2619
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1902
2620
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
1903
2621
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1963,20 +2681,20 @@ function validate$C(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
1963
2681
|
return v_error === undefined ? null : v_error;
|
|
1964
2682
|
}
|
|
1965
2683
|
const RepresentationType$h = 'SemanticCalculatedDimensionOutputRepresentation';
|
|
1966
|
-
function keyBuilder$
|
|
2684
|
+
function keyBuilder$z(luvio, config) {
|
|
1967
2685
|
return keyPrefix + '::' + RepresentationType$h + ':' + config.name;
|
|
1968
2686
|
}
|
|
1969
2687
|
function keyBuilderFromType$b(luvio, object) {
|
|
1970
2688
|
const keyParams = {
|
|
1971
2689
|
name: object.id
|
|
1972
2690
|
};
|
|
1973
|
-
return keyBuilder$
|
|
2691
|
+
return keyBuilder$z(luvio, keyParams);
|
|
1974
2692
|
}
|
|
1975
2693
|
function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
1976
2694
|
return input;
|
|
1977
2695
|
}
|
|
1978
|
-
const select$
|
|
1979
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
2696
|
+
const select$K = function SemanticCalculatedDimensionOutputRepresentationSelect() {
|
|
2697
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
|
|
1980
2698
|
return {
|
|
1981
2699
|
kind: 'Fragment',
|
|
1982
2700
|
version: VERSION$v,
|
|
@@ -2321,7 +3039,7 @@ function equals$v(existing, incoming) {
|
|
|
2321
3039
|
}
|
|
2322
3040
|
const ingest$h = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2323
3041
|
if (process.env.NODE_ENV !== 'production') {
|
|
2324
|
-
const validateError = validate$
|
|
3042
|
+
const validateError = validate$B(input);
|
|
2325
3043
|
if (validateError !== null) {
|
|
2326
3044
|
throw validateError;
|
|
2327
3045
|
}
|
|
@@ -2342,7 +3060,7 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2342
3060
|
}
|
|
2343
3061
|
|
|
2344
3062
|
const VERSION$u = "6c8d910667cf399d3aa6e5a57e1fdd61";
|
|
2345
|
-
function validate$
|
|
3063
|
+
function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
2346
3064
|
const v_error = (() => {
|
|
2347
3065
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2348
3066
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2441,7 +3159,7 @@ function validate$B(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
2441
3159
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2442
3160
|
const obj_filters_item = obj_filters[i];
|
|
2443
3161
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2444
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3162
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
2445
3163
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2446
3164
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
2447
3165
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2535,20 +3253,20 @@ function validate$B(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
2535
3253
|
return v_error === undefined ? null : v_error;
|
|
2536
3254
|
}
|
|
2537
3255
|
const RepresentationType$g = 'SemanticCalculatedMeasurementOutputRepresentation';
|
|
2538
|
-
function keyBuilder$
|
|
3256
|
+
function keyBuilder$y(luvio, config) {
|
|
2539
3257
|
return keyPrefix + '::' + RepresentationType$g + ':' + config.name;
|
|
2540
3258
|
}
|
|
2541
3259
|
function keyBuilderFromType$a(luvio, object) {
|
|
2542
3260
|
const keyParams = {
|
|
2543
3261
|
name: object.id
|
|
2544
3262
|
};
|
|
2545
|
-
return keyBuilder$
|
|
3263
|
+
return keyBuilder$y(luvio, keyParams);
|
|
2546
3264
|
}
|
|
2547
3265
|
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
2548
3266
|
return input;
|
|
2549
3267
|
}
|
|
2550
|
-
const select$
|
|
2551
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
3268
|
+
const select$J = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
|
|
3269
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
|
|
2552
3270
|
return {
|
|
2553
3271
|
kind: 'Fragment',
|
|
2554
3272
|
version: VERSION$u,
|
|
@@ -3001,7 +3719,7 @@ function equals$u(existing, incoming) {
|
|
|
3001
3719
|
}
|
|
3002
3720
|
const ingest$g = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3003
3721
|
if (process.env.NODE_ENV !== 'production') {
|
|
3004
|
-
const validateError = validate$
|
|
3722
|
+
const validateError = validate$A(input);
|
|
3005
3723
|
if (validateError !== null) {
|
|
3006
3724
|
throw validateError;
|
|
3007
3725
|
}
|
|
@@ -3021,7 +3739,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3021
3739
|
});
|
|
3022
3740
|
}
|
|
3023
3741
|
|
|
3024
|
-
function validate$
|
|
3742
|
+
function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
3025
3743
|
const v_error = (() => {
|
|
3026
3744
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3027
3745
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3162,7 +3880,7 @@ function validate$A(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
3162
3880
|
return v_error === undefined ? null : v_error;
|
|
3163
3881
|
}
|
|
3164
3882
|
|
|
3165
|
-
function validate$
|
|
3883
|
+
function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
3166
3884
|
const v_error = (() => {
|
|
3167
3885
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3168
3886
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3339,7 +4057,7 @@ function validate$z(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
3339
4057
|
}
|
|
3340
4058
|
|
|
3341
4059
|
const VERSION$t = "4f111b93807b811179eb310384efdc35";
|
|
3342
|
-
function validate$
|
|
4060
|
+
function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
3343
4061
|
const v_error = (() => {
|
|
3344
4062
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3345
4063
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3410,7 +4128,7 @@ function validate$y(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3410
4128
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3411
4129
|
const obj_filters_item = obj_filters[i];
|
|
3412
4130
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3413
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4131
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
3414
4132
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3415
4133
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
3416
4134
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3460,7 +4178,7 @@ function validate$y(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3460
4178
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
3461
4179
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
3462
4180
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
3463
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
4181
|
+
const referencepath_semanticDimensions_itemValidationError = validate$z(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
3464
4182
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
3465
4183
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
3466
4184
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3484,7 +4202,7 @@ function validate$y(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3484
4202
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
3485
4203
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
3486
4204
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
3487
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
4205
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$y(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
3488
4206
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
3489
4207
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
3490
4208
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3510,19 +4228,19 @@ function validate$y(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
3510
4228
|
return v_error === undefined ? null : v_error;
|
|
3511
4229
|
}
|
|
3512
4230
|
const RepresentationType$f = 'SemanticDataObjectOutputRepresentation';
|
|
3513
|
-
function keyBuilder$
|
|
4231
|
+
function keyBuilder$x(luvio, config) {
|
|
3514
4232
|
return keyPrefix + '::' + RepresentationType$f + ':' + config.name;
|
|
3515
4233
|
}
|
|
3516
4234
|
function keyBuilderFromType$9(luvio, object) {
|
|
3517
4235
|
const keyParams = {
|
|
3518
4236
|
name: object.id
|
|
3519
4237
|
};
|
|
3520
|
-
return keyBuilder$
|
|
4238
|
+
return keyBuilder$x(luvio, keyParams);
|
|
3521
4239
|
}
|
|
3522
4240
|
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
3523
4241
|
return input;
|
|
3524
4242
|
}
|
|
3525
|
-
const select$
|
|
4243
|
+
const select$I = function SemanticDataObjectOutputRepresentationSelect() {
|
|
3526
4244
|
return {
|
|
3527
4245
|
kind: 'Fragment',
|
|
3528
4246
|
version: VERSION$t,
|
|
@@ -3538,7 +4256,7 @@ function equals$t(existing, incoming) {
|
|
|
3538
4256
|
}
|
|
3539
4257
|
const ingest$f = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3540
4258
|
if (process.env.NODE_ENV !== 'production') {
|
|
3541
|
-
const validateError = validate$
|
|
4259
|
+
const validateError = validate$x(input);
|
|
3542
4260
|
if (validateError !== null) {
|
|
3543
4261
|
throw validateError;
|
|
3544
4262
|
}
|
|
@@ -3559,7 +4277,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3559
4277
|
}
|
|
3560
4278
|
|
|
3561
4279
|
const VERSION$s = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
3562
|
-
function validate$
|
|
4280
|
+
function validate$w(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
3563
4281
|
const v_error = (() => {
|
|
3564
4282
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3565
4283
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3568,7 +4286,7 @@ function validate$x(obj, path = 'BinDimensionConfigurationOutputRepresentation')
|
|
|
3568
4286
|
})();
|
|
3569
4287
|
return v_error === undefined ? null : v_error;
|
|
3570
4288
|
}
|
|
3571
|
-
const select$
|
|
4289
|
+
const select$H = function BinDimensionConfigurationOutputRepresentationSelect() {
|
|
3572
4290
|
return {
|
|
3573
4291
|
kind: 'Fragment',
|
|
3574
4292
|
version: VERSION$s,
|
|
@@ -3591,7 +4309,7 @@ function equals$s(existing, incoming) {
|
|
|
3591
4309
|
}
|
|
3592
4310
|
|
|
3593
4311
|
const VERSION$r = "2cdadcd630abb7b981b2d131880a68c0";
|
|
3594
|
-
function validate$
|
|
4312
|
+
function validate$v(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
3595
4313
|
const v_error = (() => {
|
|
3596
4314
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3597
4315
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3618,7 +4336,7 @@ function validate$w(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
|
3618
4336
|
})();
|
|
3619
4337
|
return v_error === undefined ? null : v_error;
|
|
3620
4338
|
}
|
|
3621
|
-
const select$
|
|
4339
|
+
const select$G = function GroupDimensionGroupOutputRepresentationSelect() {
|
|
3622
4340
|
return {
|
|
3623
4341
|
kind: 'Fragment',
|
|
3624
4342
|
version: VERSION$r,
|
|
@@ -3665,7 +4383,7 @@ function equals$r(existing, incoming) {
|
|
|
3665
4383
|
}
|
|
3666
4384
|
|
|
3667
4385
|
const VERSION$q = "55c60b6207985632192cb4e419822a86";
|
|
3668
|
-
function validate$
|
|
4386
|
+
function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
3669
4387
|
const v_error = (() => {
|
|
3670
4388
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3671
4389
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3679,7 +4397,7 @@ function validate$v(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
3679
4397
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
3680
4398
|
const obj_groups_item = obj_groups[i];
|
|
3681
4399
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
3682
|
-
const referencepath_groups_itemValidationError = validate$
|
|
4400
|
+
const referencepath_groups_itemValidationError = validate$v(obj_groups_item, path_groups_item);
|
|
3683
4401
|
if (referencepath_groups_itemValidationError !== null) {
|
|
3684
4402
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
3685
4403
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3697,8 +4415,8 @@ function validate$v(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
3697
4415
|
})();
|
|
3698
4416
|
return v_error === undefined ? null : v_error;
|
|
3699
4417
|
}
|
|
3700
|
-
const select$
|
|
3701
|
-
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$
|
|
4418
|
+
const select$F = function GroupDimensionConfigurationOutputRepresentationSelect() {
|
|
4419
|
+
const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$G();
|
|
3702
4420
|
return {
|
|
3703
4421
|
kind: 'Fragment',
|
|
3704
4422
|
version: VERSION$q,
|
|
@@ -3755,7 +4473,7 @@ function equals$q(existing, incoming) {
|
|
|
3755
4473
|
}
|
|
3756
4474
|
|
|
3757
4475
|
const VERSION$p = "50dc390b159159afb1945b9a811c9f80";
|
|
3758
|
-
function validate$
|
|
4476
|
+
function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
3759
4477
|
const v_error = (() => {
|
|
3760
4478
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3761
4479
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3763,7 +4481,7 @@ function validate$u(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
3763
4481
|
if (obj.binDimension !== undefined) {
|
|
3764
4482
|
const obj_binDimension = obj.binDimension;
|
|
3765
4483
|
const path_binDimension = path + '.binDimension';
|
|
3766
|
-
const referencepath_binDimensionValidationError = validate$
|
|
4484
|
+
const referencepath_binDimensionValidationError = validate$w(obj_binDimension, path_binDimension);
|
|
3767
4485
|
if (referencepath_binDimensionValidationError !== null) {
|
|
3768
4486
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
3769
4487
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3773,7 +4491,7 @@ function validate$u(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
3773
4491
|
if (obj.groupDimension !== undefined) {
|
|
3774
4492
|
const obj_groupDimension = obj.groupDimension;
|
|
3775
4493
|
const path_groupDimension = path + '.groupDimension';
|
|
3776
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
4494
|
+
const referencepath_groupDimensionValidationError = validate$u(obj_groupDimension, path_groupDimension);
|
|
3777
4495
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
3778
4496
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
3779
4497
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3783,9 +4501,9 @@ function validate$u(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
3783
4501
|
})();
|
|
3784
4502
|
return v_error === undefined ? null : v_error;
|
|
3785
4503
|
}
|
|
3786
|
-
const select$
|
|
3787
|
-
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
3788
|
-
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$
|
|
4504
|
+
const select$E = function SemanticGroupingConfigurationOutputRepresentationSelect() {
|
|
4505
|
+
const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$H();
|
|
4506
|
+
const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$F();
|
|
3789
4507
|
return {
|
|
3790
4508
|
kind: 'Fragment',
|
|
3791
4509
|
version: VERSION$p,
|
|
@@ -3837,7 +4555,7 @@ function equals$p(existing, incoming) {
|
|
|
3837
4555
|
}
|
|
3838
4556
|
|
|
3839
4557
|
const VERSION$o = "a2976cd68e629a917463a3b690cf2527";
|
|
3840
|
-
function validate$
|
|
4558
|
+
function validate$s(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
3841
4559
|
const v_error = (() => {
|
|
3842
4560
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3843
4561
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3859,7 +4577,7 @@ function validate$t(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
|
|
|
3859
4577
|
})();
|
|
3860
4578
|
return v_error === undefined ? null : v_error;
|
|
3861
4579
|
}
|
|
3862
|
-
const select$
|
|
4580
|
+
const select$D = function SemanticTableFieldReferenceOutputRepresentationSelect() {
|
|
3863
4581
|
return {
|
|
3864
4582
|
kind: 'Fragment',
|
|
3865
4583
|
version: VERSION$o,
|
|
@@ -3909,7 +4627,7 @@ function equals$o(existing, incoming) {
|
|
|
3909
4627
|
}
|
|
3910
4628
|
|
|
3911
4629
|
const VERSION$n = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
3912
|
-
function validate$
|
|
4630
|
+
function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
3913
4631
|
const v_error = (() => {
|
|
3914
4632
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3915
4633
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3924,7 +4642,7 @@ function validate$s(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
3924
4642
|
if (obj.tableFieldReference !== undefined) {
|
|
3925
4643
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
3926
4644
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
3927
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
4645
|
+
const referencepath_tableFieldReferenceValidationError = validate$s(obj_tableFieldReference, path_tableFieldReference);
|
|
3928
4646
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
3929
4647
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
3930
4648
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3934,8 +4652,8 @@ function validate$s(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
3934
4652
|
})();
|
|
3935
4653
|
return v_error === undefined ? null : v_error;
|
|
3936
4654
|
}
|
|
3937
|
-
const select$
|
|
3938
|
-
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$
|
|
4655
|
+
const select$C = function SemanticFieldReferenceOutputRepresentationSelect() {
|
|
4656
|
+
const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$D();
|
|
3939
4657
|
return {
|
|
3940
4658
|
kind: 'Fragment',
|
|
3941
4659
|
version: VERSION$n,
|
|
@@ -3986,7 +4704,7 @@ function equals$n(existing, incoming) {
|
|
|
3986
4704
|
}
|
|
3987
4705
|
|
|
3988
4706
|
const VERSION$m = "1daec40706bf767c719fa58831fad462";
|
|
3989
|
-
function validate$
|
|
4707
|
+
function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
3990
4708
|
const v_error = (() => {
|
|
3991
4709
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3992
4710
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4012,7 +4730,7 @@ function validate$r(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
4012
4730
|
}
|
|
4013
4731
|
const obj_configuration = obj.configuration;
|
|
4014
4732
|
const path_configuration = path + '.configuration';
|
|
4015
|
-
const referencepath_configurationValidationError = validate$
|
|
4733
|
+
const referencepath_configurationValidationError = validate$t(obj_configuration, path_configuration);
|
|
4016
4734
|
if (referencepath_configurationValidationError !== null) {
|
|
4017
4735
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
4018
4736
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4037,7 +4755,7 @@ function validate$r(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
4037
4755
|
}
|
|
4038
4756
|
const obj_fieldReference = obj.fieldReference;
|
|
4039
4757
|
const path_fieldReference = path + '.fieldReference';
|
|
4040
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
4758
|
+
const referencepath_fieldReferenceValidationError = validate$r(obj_fieldReference, path_fieldReference);
|
|
4041
4759
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
4042
4760
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
4043
4761
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4078,21 +4796,21 @@ function validate$r(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
4078
4796
|
return v_error === undefined ? null : v_error;
|
|
4079
4797
|
}
|
|
4080
4798
|
const RepresentationType$e = 'SemanticGroupingOutputRepresentation';
|
|
4081
|
-
function keyBuilder$
|
|
4799
|
+
function keyBuilder$w(luvio, config) {
|
|
4082
4800
|
return keyPrefix + '::' + RepresentationType$e + ':' + config.name;
|
|
4083
4801
|
}
|
|
4084
4802
|
function keyBuilderFromType$8(luvio, object) {
|
|
4085
4803
|
const keyParams = {
|
|
4086
4804
|
name: object.id
|
|
4087
4805
|
};
|
|
4088
|
-
return keyBuilder$
|
|
4806
|
+
return keyBuilder$w(luvio, keyParams);
|
|
4089
4807
|
}
|
|
4090
4808
|
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
4091
4809
|
return input;
|
|
4092
4810
|
}
|
|
4093
|
-
const select$
|
|
4094
|
-
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$
|
|
4095
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
4811
|
+
const select$B = function SemanticGroupingOutputRepresentationSelect() {
|
|
4812
|
+
const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$E();
|
|
4813
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
4096
4814
|
return {
|
|
4097
4815
|
kind: 'Fragment',
|
|
4098
4816
|
version: VERSION$m,
|
|
@@ -4279,7 +4997,7 @@ function equals$m(existing, incoming) {
|
|
|
4279
4997
|
}
|
|
4280
4998
|
const ingest$e = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4281
4999
|
if (process.env.NODE_ENV !== 'production') {
|
|
4282
|
-
const validateError = validate$
|
|
5000
|
+
const validateError = validate$q(input);
|
|
4283
5001
|
if (validateError !== null) {
|
|
4284
5002
|
throw validateError;
|
|
4285
5003
|
}
|
|
@@ -4300,7 +5018,7 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4300
5018
|
}
|
|
4301
5019
|
|
|
4302
5020
|
const VERSION$l = "c5144c317ac72b60d580cab803514b8d";
|
|
4303
|
-
function validate$
|
|
5021
|
+
function validate$p(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
4304
5022
|
const v_error = (() => {
|
|
4305
5023
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4306
5024
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4343,7 +5061,7 @@ function validate$q(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
|
|
|
4343
5061
|
})();
|
|
4344
5062
|
return v_error === undefined ? null : v_error;
|
|
4345
5063
|
}
|
|
4346
|
-
const select$
|
|
5064
|
+
const select$A = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
|
|
4347
5065
|
return {
|
|
4348
5066
|
kind: 'Fragment',
|
|
4349
5067
|
version: VERSION$l,
|
|
@@ -4447,7 +5165,7 @@ function equals$l(existing, incoming) {
|
|
|
4447
5165
|
}
|
|
4448
5166
|
|
|
4449
5167
|
const VERSION$k = "b9778dace5726fcb57804d3afd529246";
|
|
4450
|
-
function validate$
|
|
5168
|
+
function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
4451
5169
|
const v_error = (() => {
|
|
4452
5170
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4453
5171
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4497,7 +5215,7 @@ function validate$p(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
4497
5215
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
4498
5216
|
const obj_criteria_item = obj_criteria[i];
|
|
4499
5217
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
4500
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
5218
|
+
const referencepath_criteria_itemValidationError = validate$p(obj_criteria_item, path_criteria_item);
|
|
4501
5219
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
4502
5220
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
4503
5221
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4577,20 +5295,20 @@ function validate$p(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
4577
5295
|
return v_error === undefined ? null : v_error;
|
|
4578
5296
|
}
|
|
4579
5297
|
const RepresentationType$d = 'SemanticRelationshipOutputRepresentation';
|
|
4580
|
-
function keyBuilder$
|
|
5298
|
+
function keyBuilder$v(luvio, config) {
|
|
4581
5299
|
return keyPrefix + '::' + RepresentationType$d + ':' + config.name;
|
|
4582
5300
|
}
|
|
4583
5301
|
function keyBuilderFromType$7(luvio, object) {
|
|
4584
5302
|
const keyParams = {
|
|
4585
5303
|
name: object.id
|
|
4586
5304
|
};
|
|
4587
|
-
return keyBuilder$
|
|
5305
|
+
return keyBuilder$v(luvio, keyParams);
|
|
4588
5306
|
}
|
|
4589
5307
|
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
4590
5308
|
return input;
|
|
4591
5309
|
}
|
|
4592
|
-
const select$
|
|
4593
|
-
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$
|
|
5310
|
+
const select$z = function SemanticRelationshipOutputRepresentationSelect() {
|
|
5311
|
+
const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$A();
|
|
4594
5312
|
return {
|
|
4595
5313
|
kind: 'Fragment',
|
|
4596
5314
|
version: VERSION$k,
|
|
@@ -4881,7 +5599,7 @@ function equals$k(existing, incoming) {
|
|
|
4881
5599
|
}
|
|
4882
5600
|
const ingest$d = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4883
5601
|
if (process.env.NODE_ENV !== 'production') {
|
|
4884
|
-
const validateError = validate$
|
|
5602
|
+
const validateError = validate$o(input);
|
|
4885
5603
|
if (validateError !== null) {
|
|
4886
5604
|
throw validateError;
|
|
4887
5605
|
}
|
|
@@ -4902,7 +5620,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4902
5620
|
}
|
|
4903
5621
|
|
|
4904
5622
|
const VERSION$j = "eaf9b57a92e764fb2b5c27b6e031cfe1";
|
|
4905
|
-
function validate$
|
|
5623
|
+
function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
4906
5624
|
const v_error = (() => {
|
|
4907
5625
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4908
5626
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4952,7 +5670,7 @@ function validate$o(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
4952
5670
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
4953
5671
|
const obj_fields_item = obj_fields[i];
|
|
4954
5672
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
4955
|
-
const referencepath_fields_itemValidationError = validate$
|
|
5673
|
+
const referencepath_fields_itemValidationError = validate$s(obj_fields_item, path_fields_item);
|
|
4956
5674
|
if (referencepath_fields_itemValidationError !== null) {
|
|
4957
5675
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
4958
5676
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4996,7 +5714,7 @@ function validate$o(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
4996
5714
|
if (obj.semanticDimension !== undefined) {
|
|
4997
5715
|
const obj_semanticDimension = obj.semanticDimension;
|
|
4998
5716
|
const path_semanticDimension = path + '.semanticDimension';
|
|
4999
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
5717
|
+
const referencepath_semanticDimensionValidationError = validate$z(obj_semanticDimension, path_semanticDimension);
|
|
5000
5718
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
5001
5719
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
5002
5720
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5006,7 +5724,7 @@ function validate$o(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
5006
5724
|
if (obj.semanticMeasurement !== undefined) {
|
|
5007
5725
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
5008
5726
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
5009
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
5727
|
+
const referencepath_semanticMeasurementValidationError = validate$y(obj_semanticMeasurement, path_semanticMeasurement);
|
|
5010
5728
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
5011
5729
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
5012
5730
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5017,19 +5735,19 @@ function validate$o(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
5017
5735
|
return v_error === undefined ? null : v_error;
|
|
5018
5736
|
}
|
|
5019
5737
|
const RepresentationType$c = 'SemanticMappedFieldOutputRepresentation';
|
|
5020
|
-
function keyBuilder$
|
|
5738
|
+
function keyBuilder$u(luvio, config) {
|
|
5021
5739
|
return keyPrefix + '::' + RepresentationType$c + ':' + config.name;
|
|
5022
5740
|
}
|
|
5023
5741
|
function keyBuilderFromType$6(luvio, object) {
|
|
5024
5742
|
const keyParams = {
|
|
5025
5743
|
name: object.id
|
|
5026
5744
|
};
|
|
5027
|
-
return keyBuilder$
|
|
5745
|
+
return keyBuilder$u(luvio, keyParams);
|
|
5028
5746
|
}
|
|
5029
5747
|
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
5030
5748
|
return input;
|
|
5031
5749
|
}
|
|
5032
|
-
const select$
|
|
5750
|
+
const select$y = function SemanticMappedFieldOutputRepresentationSelect() {
|
|
5033
5751
|
return {
|
|
5034
5752
|
kind: 'Fragment',
|
|
5035
5753
|
version: VERSION$j,
|
|
@@ -5045,7 +5763,7 @@ function equals$j(existing, incoming) {
|
|
|
5045
5763
|
}
|
|
5046
5764
|
const ingest$c = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5047
5765
|
if (process.env.NODE_ENV !== 'production') {
|
|
5048
|
-
const validateError = validate$
|
|
5766
|
+
const validateError = validate$n(input);
|
|
5049
5767
|
if (validateError !== null) {
|
|
5050
5768
|
throw validateError;
|
|
5051
5769
|
}
|
|
@@ -5066,7 +5784,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5066
5784
|
}
|
|
5067
5785
|
|
|
5068
5786
|
const VERSION$i = "69fe23112140e9fae50135dcb15c24c2";
|
|
5069
|
-
function validate$
|
|
5787
|
+
function validate$m(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
5070
5788
|
const v_error = (() => {
|
|
5071
5789
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5072
5790
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5193,14 +5911,14 @@ function validate$n(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
|
5193
5911
|
return v_error === undefined ? null : v_error;
|
|
5194
5912
|
}
|
|
5195
5913
|
const RepresentationType$b = 'SemanticUnionOutputRepresentation';
|
|
5196
|
-
function keyBuilder$
|
|
5914
|
+
function keyBuilder$t(luvio, config) {
|
|
5197
5915
|
return keyPrefix + '::' + RepresentationType$b + ':' + config.name;
|
|
5198
5916
|
}
|
|
5199
5917
|
function keyBuilderFromType$5(luvio, object) {
|
|
5200
5918
|
const keyParams = {
|
|
5201
5919
|
name: object.id
|
|
5202
5920
|
};
|
|
5203
|
-
return keyBuilder$
|
|
5921
|
+
return keyBuilder$t(luvio, keyParams);
|
|
5204
5922
|
}
|
|
5205
5923
|
function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
5206
5924
|
const input_semanticDataObjects = input.semanticDataObjects;
|
|
@@ -5241,7 +5959,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
|
5241
5959
|
}
|
|
5242
5960
|
return input;
|
|
5243
5961
|
}
|
|
5244
|
-
const select$
|
|
5962
|
+
const select$x = function SemanticUnionOutputRepresentationSelect() {
|
|
5245
5963
|
return {
|
|
5246
5964
|
kind: 'Fragment',
|
|
5247
5965
|
version: VERSION$i,
|
|
@@ -5303,14 +6021,14 @@ const select$w = function SemanticUnionOutputRepresentationSelect() {
|
|
|
5303
6021
|
kind: 'Link',
|
|
5304
6022
|
plural: true,
|
|
5305
6023
|
required: false,
|
|
5306
|
-
fragment: select$
|
|
6024
|
+
fragment: select$I()
|
|
5307
6025
|
},
|
|
5308
6026
|
{
|
|
5309
6027
|
name: 'semanticMappedFields',
|
|
5310
6028
|
kind: 'Link',
|
|
5311
6029
|
plural: true,
|
|
5312
6030
|
required: false,
|
|
5313
|
-
fragment: select$
|
|
6031
|
+
fragment: select$y()
|
|
5314
6032
|
}
|
|
5315
6033
|
]
|
|
5316
6034
|
};
|
|
@@ -5467,7 +6185,7 @@ function equals$i(existing, incoming) {
|
|
|
5467
6185
|
}
|
|
5468
6186
|
const ingest$b = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5469
6187
|
if (process.env.NODE_ENV !== 'production') {
|
|
5470
|
-
const validateError = validate$
|
|
6188
|
+
const validateError = validate$m(input);
|
|
5471
6189
|
if (validateError !== null) {
|
|
5472
6190
|
throw validateError;
|
|
5473
6191
|
}
|
|
@@ -5500,7 +6218,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5500
6218
|
}
|
|
5501
6219
|
|
|
5502
6220
|
const VERSION$h = "281e0163ea1fc7d956974394f5310216";
|
|
5503
|
-
function validate$
|
|
6221
|
+
function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
5504
6222
|
const v_error = (() => {
|
|
5505
6223
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5506
6224
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5564,7 +6282,7 @@ function validate$m(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
5564
6282
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5565
6283
|
const obj_filters_item = obj_filters[i];
|
|
5566
6284
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5567
|
-
const referencepath_filters_itemValidationError = validate$
|
|
6285
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
5568
6286
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5569
6287
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5570
6288
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5651,14 +6369,14 @@ function validate$m(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
5651
6369
|
return v_error === undefined ? null : v_error;
|
|
5652
6370
|
}
|
|
5653
6371
|
const RepresentationType$a = 'SemanticLogicalViewOutputRepresentation';
|
|
5654
|
-
function keyBuilder$
|
|
6372
|
+
function keyBuilder$s(luvio, config) {
|
|
5655
6373
|
return keyPrefix + '::' + RepresentationType$a + ':' + config.name;
|
|
5656
6374
|
}
|
|
5657
6375
|
function keyBuilderFromType$4(luvio, object) {
|
|
5658
6376
|
const keyParams = {
|
|
5659
6377
|
name: object.id
|
|
5660
6378
|
};
|
|
5661
|
-
return keyBuilder$
|
|
6379
|
+
return keyBuilder$s(luvio, keyParams);
|
|
5662
6380
|
}
|
|
5663
6381
|
function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
5664
6382
|
const input_semanticDataObjects = input.semanticDataObjects;
|
|
@@ -5717,8 +6435,8 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
5717
6435
|
}
|
|
5718
6436
|
return input;
|
|
5719
6437
|
}
|
|
5720
|
-
const select$
|
|
5721
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
6438
|
+
const select$w = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
6439
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
|
|
5722
6440
|
return {
|
|
5723
6441
|
kind: 'Fragment',
|
|
5724
6442
|
version: VERSION$h,
|
|
@@ -5792,21 +6510,21 @@ const select$v = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
5792
6510
|
kind: 'Link',
|
|
5793
6511
|
plural: true,
|
|
5794
6512
|
required: false,
|
|
5795
|
-
fragment: select$
|
|
6513
|
+
fragment: select$I()
|
|
5796
6514
|
},
|
|
5797
6515
|
{
|
|
5798
6516
|
name: 'semanticRelationships',
|
|
5799
6517
|
kind: 'Link',
|
|
5800
6518
|
plural: true,
|
|
5801
6519
|
required: false,
|
|
5802
|
-
fragment: select$
|
|
6520
|
+
fragment: select$z()
|
|
5803
6521
|
},
|
|
5804
6522
|
{
|
|
5805
6523
|
name: 'semanticUnions',
|
|
5806
6524
|
kind: 'Link',
|
|
5807
6525
|
plural: true,
|
|
5808
6526
|
required: false,
|
|
5809
|
-
fragment: select$
|
|
6527
|
+
fragment: select$x()
|
|
5810
6528
|
},
|
|
5811
6529
|
{
|
|
5812
6530
|
name: 'semanticViewTypeEnum',
|
|
@@ -6030,7 +6748,7 @@ function equals$h(existing, incoming) {
|
|
|
6030
6748
|
}
|
|
6031
6749
|
const ingest$a = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6032
6750
|
if (process.env.NODE_ENV !== 'production') {
|
|
6033
|
-
const validateError = validate$
|
|
6751
|
+
const validateError = validate$l(input);
|
|
6034
6752
|
if (validateError !== null) {
|
|
6035
6753
|
throw validateError;
|
|
6036
6754
|
}
|
|
@@ -6069,7 +6787,7 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6069
6787
|
}
|
|
6070
6788
|
|
|
6071
6789
|
const VERSION$g = "a50848c632bb205d5e910bb726d9219e";
|
|
6072
|
-
function validate$
|
|
6790
|
+
function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
6073
6791
|
const v_error = (() => {
|
|
6074
6792
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6075
6793
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6077,7 +6795,7 @@ function validate$l(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
6077
6795
|
if (obj.identifierDimensionReference !== undefined) {
|
|
6078
6796
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
6079
6797
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
6080
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
6798
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$r(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
6081
6799
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
6082
6800
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
6083
6801
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6087,7 +6805,7 @@ function validate$l(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
6087
6805
|
if (obj.namingDimensionReference !== undefined) {
|
|
6088
6806
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
6089
6807
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
6090
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
6808
|
+
const referencepath_namingDimensionReferenceValidationError = validate$r(obj_namingDimensionReference, path_namingDimensionReference);
|
|
6091
6809
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
6092
6810
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
6093
6811
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6097,8 +6815,8 @@ function validate$l(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
6097
6815
|
})();
|
|
6098
6816
|
return v_error === undefined ? null : v_error;
|
|
6099
6817
|
}
|
|
6100
|
-
const select$
|
|
6101
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
6818
|
+
const select$v = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
|
|
6819
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
6102
6820
|
return {
|
|
6103
6821
|
kind: 'Fragment',
|
|
6104
6822
|
version: VERSION$g,
|
|
@@ -6150,7 +6868,7 @@ function equals$g(existing, incoming) {
|
|
|
6150
6868
|
}
|
|
6151
6869
|
|
|
6152
6870
|
const VERSION$f = "1b8cf2283d5d5c480459506274f0604c";
|
|
6153
|
-
function validate$
|
|
6871
|
+
function validate$j(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
6154
6872
|
const v_error = (() => {
|
|
6155
6873
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6156
6874
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6172,7 +6890,7 @@ function validate$k(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
|
6172
6890
|
})();
|
|
6173
6891
|
return v_error === undefined ? null : v_error;
|
|
6174
6892
|
}
|
|
6175
|
-
const select$
|
|
6893
|
+
const select$u = function SemanticInsightTypeOutputRepresentationSelect() {
|
|
6176
6894
|
return {
|
|
6177
6895
|
kind: 'Fragment',
|
|
6178
6896
|
version: VERSION$f,
|
|
@@ -6222,7 +6940,7 @@ function equals$f(existing, incoming) {
|
|
|
6222
6940
|
}
|
|
6223
6941
|
|
|
6224
6942
|
const VERSION$e = "a3f5972287be7bcf9ca205af56046a58";
|
|
6225
|
-
function validate$
|
|
6943
|
+
function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
6226
6944
|
const v_error = (() => {
|
|
6227
6945
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6228
6946
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6230,7 +6948,7 @@ function validate$j(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6230
6948
|
if (obj.identifyingDimension !== undefined) {
|
|
6231
6949
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
6232
6950
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
6233
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
6951
|
+
const referencepath_identifyingDimensionValidationError = validate$k(obj_identifyingDimension, path_identifyingDimension);
|
|
6234
6952
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
6235
6953
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
6236
6954
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6246,7 +6964,7 @@ function validate$j(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6246
6964
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
6247
6965
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
6248
6966
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
6249
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
6967
|
+
const referencepath_insightTypes_itemValidationError = validate$j(obj_insightTypes_item, path_insightTypes_item);
|
|
6250
6968
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
6251
6969
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
6252
6970
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6263,7 +6981,7 @@ function validate$j(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6263
6981
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
6264
6982
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
6265
6983
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
6266
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
6984
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$r(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
6267
6985
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
6268
6986
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
6269
6987
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6295,10 +7013,10 @@ function validate$j(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6295
7013
|
})();
|
|
6296
7014
|
return v_error === undefined ? null : v_error;
|
|
6297
7015
|
}
|
|
6298
|
-
const select$
|
|
6299
|
-
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$
|
|
6300
|
-
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$
|
|
6301
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
7016
|
+
const select$t = function SemanticInsightsSettingsOutputRepresentationSelect() {
|
|
7017
|
+
const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$v();
|
|
7018
|
+
const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$u();
|
|
7019
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
6302
7020
|
return {
|
|
6303
7021
|
kind: 'Fragment',
|
|
6304
7022
|
version: VERSION$e,
|
|
@@ -6435,7 +7153,7 @@ function equals$e(existing, incoming) {
|
|
|
6435
7153
|
}
|
|
6436
7154
|
|
|
6437
7155
|
const VERSION$d = "0873ccd85b32d14c753931243d20ac8b";
|
|
6438
|
-
function validate$
|
|
7156
|
+
function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
6439
7157
|
const v_error = (() => {
|
|
6440
7158
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6441
7159
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6449,7 +7167,7 @@ function validate$i(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6449
7167
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
6450
7168
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
6451
7169
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
6452
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
7170
|
+
const referencepath_additionalDimensions_itemValidationError = validate$r(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
6453
7171
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
6454
7172
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
6455
7173
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6516,7 +7234,7 @@ function validate$i(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6516
7234
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
6517
7235
|
const obj_filters_item = obj_filters[i];
|
|
6518
7236
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
6519
|
-
const referencepath_filters_itemValidationError = validate$
|
|
7237
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
6520
7238
|
if (referencepath_filters_itemValidationError !== null) {
|
|
6521
7239
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
6522
7240
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6532,7 +7250,7 @@ function validate$i(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6532
7250
|
if (obj.insightsSettings !== undefined) {
|
|
6533
7251
|
const obj_insightsSettings = obj.insightsSettings;
|
|
6534
7252
|
const path_insightsSettings = path + '.insightsSettings';
|
|
6535
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
7253
|
+
const referencepath_insightsSettingsValidationError = validate$i(obj_insightsSettings, path_insightsSettings);
|
|
6536
7254
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
6537
7255
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
6538
7256
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6570,7 +7288,7 @@ function validate$i(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6570
7288
|
if (obj.measurementReference !== undefined) {
|
|
6571
7289
|
const obj_measurementReference = obj.measurementReference;
|
|
6572
7290
|
const path_measurementReference = path + '.measurementReference';
|
|
6573
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
7291
|
+
const referencepath_measurementReferenceValidationError = validate$r(obj_measurementReference, path_measurementReference);
|
|
6574
7292
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
6575
7293
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
6576
7294
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6580,7 +7298,7 @@ function validate$i(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6580
7298
|
if (obj.timeDimensionReference !== undefined) {
|
|
6581
7299
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
6582
7300
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
6583
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
7301
|
+
const referencepath_timeDimensionReferenceValidationError = validate$r(obj_timeDimensionReference, path_timeDimensionReference);
|
|
6584
7302
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
6585
7303
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
6586
7304
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6605,22 +7323,22 @@ function validate$i(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
6605
7323
|
return v_error === undefined ? null : v_error;
|
|
6606
7324
|
}
|
|
6607
7325
|
const RepresentationType$9 = 'SemanticMetricOutputRepresentation';
|
|
6608
|
-
function keyBuilder$
|
|
7326
|
+
function keyBuilder$r(luvio, config) {
|
|
6609
7327
|
return keyPrefix + '::' + RepresentationType$9 + ':' + config.name;
|
|
6610
7328
|
}
|
|
6611
7329
|
function keyBuilderFromType$3(luvio, object) {
|
|
6612
7330
|
const keyParams = {
|
|
6613
7331
|
name: object.id
|
|
6614
7332
|
};
|
|
6615
|
-
return keyBuilder$
|
|
7333
|
+
return keyBuilder$r(luvio, keyParams);
|
|
6616
7334
|
}
|
|
6617
7335
|
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
6618
7336
|
return input;
|
|
6619
7337
|
}
|
|
6620
|
-
const select$
|
|
6621
|
-
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$
|
|
6622
|
-
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$
|
|
6623
|
-
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$
|
|
7338
|
+
const select$s = function SemanticMetricOutputRepresentationSelect() {
|
|
7339
|
+
const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
|
|
7340
|
+
const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
|
|
7341
|
+
const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$t();
|
|
6624
7342
|
return {
|
|
6625
7343
|
kind: 'Fragment',
|
|
6626
7344
|
version: VERSION$d,
|
|
@@ -6963,7 +7681,7 @@ function equals$d(existing, incoming) {
|
|
|
6963
7681
|
}
|
|
6964
7682
|
const ingest$9 = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6965
7683
|
if (process.env.NODE_ENV !== 'production') {
|
|
6966
|
-
const validateError = validate$
|
|
7684
|
+
const validateError = validate$h(input);
|
|
6967
7685
|
if (validateError !== null) {
|
|
6968
7686
|
throw validateError;
|
|
6969
7687
|
}
|
|
@@ -6984,7 +7702,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6984
7702
|
}
|
|
6985
7703
|
|
|
6986
7704
|
const VERSION$c = "158d115be773406f841e4351d481d398";
|
|
6987
|
-
function validate$
|
|
7705
|
+
function validate$g(obj, path = 'SemanticParameterListValueOutputRepresentation') {
|
|
6988
7706
|
const v_error = (() => {
|
|
6989
7707
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6990
7708
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7006,7 +7724,7 @@ function validate$h(obj, path = 'SemanticParameterListValueOutputRepresentation'
|
|
|
7006
7724
|
})();
|
|
7007
7725
|
return v_error === undefined ? null : v_error;
|
|
7008
7726
|
}
|
|
7009
|
-
const select$
|
|
7727
|
+
const select$r = function SemanticParameterListValueOutputRepresentationSelect() {
|
|
7010
7728
|
return {
|
|
7011
7729
|
kind: 'Fragment',
|
|
7012
7730
|
version: VERSION$c,
|
|
@@ -7056,7 +7774,7 @@ function equals$c(existing, incoming) {
|
|
|
7056
7774
|
}
|
|
7057
7775
|
|
|
7058
7776
|
const VERSION$b = "6ed89c4ce77235d13ce6bb395ae49d8e";
|
|
7059
|
-
function validate$
|
|
7777
|
+
function validate$f(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
7060
7778
|
const v_error = (() => {
|
|
7061
7779
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7062
7780
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7070,7 +7788,7 @@ function validate$g(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
7070
7788
|
for (let i = 0; i < obj_allowedValues.length; i++) {
|
|
7071
7789
|
const obj_allowedValues_item = obj_allowedValues[i];
|
|
7072
7790
|
const path_allowedValues_item = path_allowedValues + '[' + i + ']';
|
|
7073
|
-
const referencepath_allowedValues_itemValidationError = validate$
|
|
7791
|
+
const referencepath_allowedValues_itemValidationError = validate$g(obj_allowedValues_item, path_allowedValues_item);
|
|
7074
7792
|
if (referencepath_allowedValues_itemValidationError !== null) {
|
|
7075
7793
|
let message = 'Object doesn\'t match SemanticParameterListValueOutputRepresentation (at "' + path_allowedValues_item + '")\n';
|
|
7076
7794
|
message += referencepath_allowedValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7200,20 +7918,20 @@ function validate$g(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
7200
7918
|
return v_error === undefined ? null : v_error;
|
|
7201
7919
|
}
|
|
7202
7920
|
const RepresentationType$8 = 'SemanticParameterOutputRepresentation';
|
|
7203
|
-
function keyBuilder$
|
|
7921
|
+
function keyBuilder$q(luvio, config) {
|
|
7204
7922
|
return keyPrefix + '::' + RepresentationType$8 + ':' + config.name;
|
|
7205
7923
|
}
|
|
7206
7924
|
function keyBuilderFromType$2(luvio, object) {
|
|
7207
7925
|
const keyParams = {
|
|
7208
7926
|
name: object.id
|
|
7209
7927
|
};
|
|
7210
|
-
return keyBuilder$
|
|
7928
|
+
return keyBuilder$q(luvio, keyParams);
|
|
7211
7929
|
}
|
|
7212
7930
|
function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
7213
7931
|
return input;
|
|
7214
7932
|
}
|
|
7215
|
-
const select$
|
|
7216
|
-
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$
|
|
7933
|
+
const select$q = function SemanticParameterOutputRepresentationSelect() {
|
|
7934
|
+
const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$r();
|
|
7217
7935
|
return {
|
|
7218
7936
|
kind: 'Fragment',
|
|
7219
7937
|
version: VERSION$b,
|
|
@@ -7528,7 +8246,7 @@ function equals$b(existing, incoming) {
|
|
|
7528
8246
|
}
|
|
7529
8247
|
const ingest$8 = function SemanticParameterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7530
8248
|
if (process.env.NODE_ENV !== 'production') {
|
|
7531
|
-
const validateError = validate$
|
|
8249
|
+
const validateError = validate$f(input);
|
|
7532
8250
|
if (validateError !== null) {
|
|
7533
8251
|
throw validateError;
|
|
7534
8252
|
}
|
|
@@ -7549,7 +8267,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7549
8267
|
}
|
|
7550
8268
|
|
|
7551
8269
|
const VERSION$a = "5cda82e85d7322d459ba16b10b81ee96";
|
|
7552
|
-
function validate$
|
|
8270
|
+
function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
|
|
7553
8271
|
const v_error = (() => {
|
|
7554
8272
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7555
8273
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7582,7 +8300,7 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
7582
8300
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
7583
8301
|
const obj_baseModels_item = obj_baseModels[i];
|
|
7584
8302
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
7585
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
8303
|
+
const referencepath_baseModels_itemValidationError = validate$D(obj_baseModels_item, path_baseModels_item);
|
|
7586
8304
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
7587
8305
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
7588
8306
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7866,14 +8584,14 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
7866
8584
|
return v_error === undefined ? null : v_error;
|
|
7867
8585
|
}
|
|
7868
8586
|
const RepresentationType$7 = 'SemanticModelOutputRepresentation';
|
|
7869
|
-
function keyBuilder$
|
|
8587
|
+
function keyBuilder$p(luvio, config) {
|
|
7870
8588
|
return keyPrefix + '::' + RepresentationType$7 + ':' + config.name;
|
|
7871
8589
|
}
|
|
7872
8590
|
function keyBuilderFromType$1(luvio, object) {
|
|
7873
8591
|
const keyParams = {
|
|
7874
8592
|
name: object.id
|
|
7875
8593
|
};
|
|
7876
|
-
return keyBuilder$
|
|
8594
|
+
return keyBuilder$p(luvio, keyParams);
|
|
7877
8595
|
}
|
|
7878
8596
|
function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
7879
8597
|
const input_semanticCalculatedDimensions = input.semanticCalculatedDimensions;
|
|
@@ -8022,8 +8740,8 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
8022
8740
|
}
|
|
8023
8741
|
return input;
|
|
8024
8742
|
}
|
|
8025
|
-
const select$
|
|
8026
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
8743
|
+
const select$p = function SemanticModelOutputRepresentationSelect() {
|
|
8744
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$M();
|
|
8027
8745
|
return {
|
|
8028
8746
|
kind: 'Fragment',
|
|
8029
8747
|
version: VERSION$a,
|
|
@@ -8112,7 +8830,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8112
8830
|
kind: 'Link',
|
|
8113
8831
|
plural: true,
|
|
8114
8832
|
required: false,
|
|
8115
|
-
fragment: select$
|
|
8833
|
+
fragment: select$K()
|
|
8116
8834
|
},
|
|
8117
8835
|
{
|
|
8118
8836
|
name: 'semanticCalculatedDimensionsUrl',
|
|
@@ -8124,7 +8842,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8124
8842
|
kind: 'Link',
|
|
8125
8843
|
plural: true,
|
|
8126
8844
|
required: false,
|
|
8127
|
-
fragment: select$
|
|
8845
|
+
fragment: select$J()
|
|
8128
8846
|
},
|
|
8129
8847
|
{
|
|
8130
8848
|
name: 'semanticCalculatedMeasurementsUrl',
|
|
@@ -8136,7 +8854,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8136
8854
|
kind: 'Link',
|
|
8137
8855
|
plural: true,
|
|
8138
8856
|
required: false,
|
|
8139
|
-
fragment: select$
|
|
8857
|
+
fragment: select$I()
|
|
8140
8858
|
},
|
|
8141
8859
|
{
|
|
8142
8860
|
name: 'semanticDataObjectsUrl',
|
|
@@ -8148,7 +8866,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8148
8866
|
kind: 'Link',
|
|
8149
8867
|
plural: true,
|
|
8150
8868
|
required: false,
|
|
8151
|
-
fragment: select$
|
|
8869
|
+
fragment: select$B()
|
|
8152
8870
|
},
|
|
8153
8871
|
{
|
|
8154
8872
|
name: 'semanticGroupingsUrl',
|
|
@@ -8160,21 +8878,21 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8160
8878
|
kind: 'Link',
|
|
8161
8879
|
plural: true,
|
|
8162
8880
|
required: false,
|
|
8163
|
-
fragment: select$
|
|
8881
|
+
fragment: select$w()
|
|
8164
8882
|
},
|
|
8165
8883
|
{
|
|
8166
8884
|
name: 'semanticMetrics',
|
|
8167
8885
|
kind: 'Link',
|
|
8168
8886
|
plural: true,
|
|
8169
8887
|
required: false,
|
|
8170
|
-
fragment: select$
|
|
8888
|
+
fragment: select$s()
|
|
8171
8889
|
},
|
|
8172
8890
|
{
|
|
8173
8891
|
name: 'semanticParameters',
|
|
8174
8892
|
kind: 'Link',
|
|
8175
8893
|
plural: true,
|
|
8176
8894
|
required: false,
|
|
8177
|
-
fragment: select$
|
|
8895
|
+
fragment: select$q()
|
|
8178
8896
|
},
|
|
8179
8897
|
{
|
|
8180
8898
|
name: 'semanticParametersUrl',
|
|
@@ -8186,7 +8904,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
|
|
|
8186
8904
|
kind: 'Link',
|
|
8187
8905
|
plural: true,
|
|
8188
8906
|
required: false,
|
|
8189
|
-
fragment: select$
|
|
8907
|
+
fragment: select$z()
|
|
8190
8908
|
},
|
|
8191
8909
|
{
|
|
8192
8910
|
name: 'semanticRelationshipsUrl',
|
|
@@ -8637,7 +9355,7 @@ function equals$a(existing, incoming) {
|
|
|
8637
9355
|
}
|
|
8638
9356
|
const ingest$7 = function SemanticModelOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8639
9357
|
if (process.env.NODE_ENV !== 'production') {
|
|
8640
|
-
const validateError = validate$
|
|
9358
|
+
const validateError = validate$e(input);
|
|
8641
9359
|
if (validateError !== null) {
|
|
8642
9360
|
throw validateError;
|
|
8643
9361
|
}
|
|
@@ -8705,19 +9423,19 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8705
9423
|
}
|
|
8706
9424
|
}
|
|
8707
9425
|
|
|
8708
|
-
function select$
|
|
8709
|
-
return select$
|
|
9426
|
+
function select$o(luvio, params) {
|
|
9427
|
+
return select$p();
|
|
8710
9428
|
}
|
|
8711
|
-
function getResponseCacheKeys$
|
|
9429
|
+
function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
|
|
8712
9430
|
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
8713
9431
|
}
|
|
8714
|
-
function ingestSuccess$
|
|
9432
|
+
function ingestSuccess$e(luvio, resourceParams, response) {
|
|
8715
9433
|
const { body } = response;
|
|
8716
9434
|
const key = keyBuilderFromType$1(luvio, body);
|
|
8717
9435
|
luvio.storeIngest(key, ingest$7, body);
|
|
8718
9436
|
const snapshot = luvio.storeLookup({
|
|
8719
9437
|
recordId: key,
|
|
8720
|
-
node: select$
|
|
9438
|
+
node: select$o(),
|
|
8721
9439
|
variables: {},
|
|
8722
9440
|
});
|
|
8723
9441
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -8728,7 +9446,7 @@ function ingestSuccess$d(luvio, resourceParams, response) {
|
|
|
8728
9446
|
deepFreeze(snapshot.data);
|
|
8729
9447
|
return snapshot;
|
|
8730
9448
|
}
|
|
8731
|
-
function createResourceRequest$
|
|
9449
|
+
function createResourceRequest$g(config) {
|
|
8732
9450
|
const headers = {};
|
|
8733
9451
|
return {
|
|
8734
9452
|
baseUri: '/services/data/v64.0',
|
|
@@ -8742,7 +9460,7 @@ function createResourceRequest$f(config) {
|
|
|
8742
9460
|
};
|
|
8743
9461
|
}
|
|
8744
9462
|
|
|
8745
|
-
const adapterName$
|
|
9463
|
+
const adapterName$g = 'createSemanticModel';
|
|
8746
9464
|
const createSemanticModel_ConfigPropertyMetadata = [
|
|
8747
9465
|
generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
|
|
8748
9466
|
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
@@ -8763,17 +9481,17 @@ const createSemanticModel_ConfigPropertyMetadata = [
|
|
|
8763
9481
|
generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
8764
9482
|
generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
8765
9483
|
];
|
|
8766
|
-
const createSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
8767
|
-
const createResourceParams$
|
|
8768
|
-
function typeCheckConfig$
|
|
9484
|
+
const createSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, createSemanticModel_ConfigPropertyMetadata);
|
|
9485
|
+
const createResourceParams$g = /*#__PURE__*/ createResourceParams$i(createSemanticModel_ConfigPropertyMetadata);
|
|
9486
|
+
function typeCheckConfig$g(untrustedConfig) {
|
|
8769
9487
|
const config = {};
|
|
8770
|
-
typeCheckConfig$
|
|
9488
|
+
typeCheckConfig$i(untrustedConfig, config, createSemanticModel_ConfigPropertyMetadata);
|
|
8771
9489
|
const untrustedConfig_baseModels = untrustedConfig.baseModels;
|
|
8772
9490
|
if (ArrayIsArray$1(untrustedConfig_baseModels)) {
|
|
8773
9491
|
const untrustedConfig_baseModels_array = [];
|
|
8774
9492
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
8775
9493
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
8776
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
9494
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
|
|
8777
9495
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
8778
9496
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
8779
9497
|
}
|
|
@@ -8785,7 +9503,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8785
9503
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
8786
9504
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
8787
9505
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
8788
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
9506
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Z(untrustedConfig_semanticCalculatedDimensions_item);
|
|
8789
9507
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
8790
9508
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
8791
9509
|
}
|
|
@@ -8797,7 +9515,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8797
9515
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
8798
9516
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
8799
9517
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
8800
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
9518
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$Y(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
8801
9519
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
8802
9520
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
8803
9521
|
}
|
|
@@ -8809,7 +9527,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8809
9527
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
8810
9528
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
8811
9529
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
8812
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
9530
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$V(untrustedConfig_semanticDataObjects_item);
|
|
8813
9531
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
8814
9532
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
8815
9533
|
}
|
|
@@ -8821,7 +9539,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8821
9539
|
const untrustedConfig_semanticGroupings_array = [];
|
|
8822
9540
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
8823
9541
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
8824
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
9542
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$O(untrustedConfig_semanticGroupings_item);
|
|
8825
9543
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
8826
9544
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
8827
9545
|
}
|
|
@@ -8833,7 +9551,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8833
9551
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
8834
9552
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
8835
9553
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
8836
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
9554
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$J(untrustedConfig_semanticLogicalViews_item);
|
|
8837
9555
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
8838
9556
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
8839
9557
|
}
|
|
@@ -8845,7 +9563,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8845
9563
|
const untrustedConfig_semanticMetrics_array = [];
|
|
8846
9564
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
8847
9565
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
8848
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
9566
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$F(untrustedConfig_semanticMetrics_item);
|
|
8849
9567
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
8850
9568
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
8851
9569
|
}
|
|
@@ -8857,119 +9575,68 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
8857
9575
|
const untrustedConfig_semanticParameters_array = [];
|
|
8858
9576
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
8859
9577
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
8860
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
9578
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$E(untrustedConfig_semanticParameters_item);
|
|
8861
9579
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
8862
|
-
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
8863
|
-
}
|
|
8864
|
-
}
|
|
8865
|
-
config.semanticParameters = untrustedConfig_semanticParameters_array;
|
|
8866
|
-
}
|
|
8867
|
-
const untrustedConfig_semanticRelationships = untrustedConfig.semanticRelationships;
|
|
8868
|
-
if (ArrayIsArray$1(untrustedConfig_semanticRelationships)) {
|
|
8869
|
-
const untrustedConfig_semanticRelationships_array = [];
|
|
8870
|
-
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
8871
|
-
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
8872
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$N(untrustedConfig_semanticRelationships_item);
|
|
8873
|
-
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
8874
|
-
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
8875
|
-
}
|
|
8876
|
-
}
|
|
8877
|
-
config.semanticRelationships = untrustedConfig_semanticRelationships_array;
|
|
8878
|
-
}
|
|
8879
|
-
return config;
|
|
8880
|
-
}
|
|
8881
|
-
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
8882
|
-
if (!untrustedIsObject(untrustedConfig)) {
|
|
8883
|
-
return null;
|
|
8884
|
-
}
|
|
8885
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
8886
|
-
validateConfig(untrustedConfig, configPropertyNames);
|
|
8887
|
-
}
|
|
8888
|
-
const config = typeCheckConfig$f(untrustedConfig);
|
|
8889
|
-
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
8890
|
-
return null;
|
|
8891
|
-
}
|
|
8892
|
-
return config;
|
|
8893
|
-
}
|
|
8894
|
-
function buildNetworkSnapshot$f(luvio, config, options) {
|
|
8895
|
-
const resourceParams = createResourceParams$f(config);
|
|
8896
|
-
const request = createResourceRequest$f(resourceParams);
|
|
8897
|
-
return luvio.dispatchResourceRequest(request, options)
|
|
8898
|
-
.then((response) => {
|
|
8899
|
-
return luvio.handleSuccessResponse(() => {
|
|
8900
|
-
const snapshot = ingestSuccess$d(luvio, resourceParams, response);
|
|
8901
|
-
return luvio.storeBroadcast().then(() => snapshot);
|
|
8902
|
-
}, () => {
|
|
8903
|
-
const cache = new StoreKeyMap();
|
|
8904
|
-
getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
|
|
8905
|
-
return cache;
|
|
8906
|
-
});
|
|
8907
|
-
}, (response) => {
|
|
8908
|
-
deepFreeze(response);
|
|
8909
|
-
throw response;
|
|
8910
|
-
});
|
|
8911
|
-
}
|
|
8912
|
-
const createSemanticModelAdapterFactory = (luvio) => {
|
|
8913
|
-
return function createSemanticModel(untrustedConfig) {
|
|
8914
|
-
const config = validateAdapterConfig$f(untrustedConfig, createSemanticModel_ConfigPropertyNames);
|
|
8915
|
-
// Invalid or incomplete config
|
|
8916
|
-
if (config === null) {
|
|
8917
|
-
throw new Error('Invalid config for "createSemanticModel"');
|
|
8918
|
-
}
|
|
8919
|
-
return buildNetworkSnapshot$f(luvio, config);
|
|
8920
|
-
};
|
|
8921
|
-
};
|
|
8922
|
-
|
|
8923
|
-
function validate$e(obj, path = 'SemanticGoalStatusConditionInputRepresentation') {
|
|
8924
|
-
const v_error = (() => {
|
|
8925
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8926
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
8927
|
-
}
|
|
8928
|
-
if (obj.color !== undefined) {
|
|
8929
|
-
const obj_color = obj.color;
|
|
8930
|
-
const path_color = path + '.color';
|
|
8931
|
-
if (typeof obj_color !== 'string') {
|
|
8932
|
-
return new TypeError('Expected "string" but received "' + typeof obj_color + '" (at "' + path_color + '")');
|
|
8933
|
-
}
|
|
8934
|
-
}
|
|
8935
|
-
if (obj.currencyIsoCode !== undefined) {
|
|
8936
|
-
const obj_currencyIsoCode = obj.currencyIsoCode;
|
|
8937
|
-
const path_currencyIsoCode = path + '.currencyIsoCode';
|
|
8938
|
-
if (typeof obj_currencyIsoCode !== 'string') {
|
|
8939
|
-
return new TypeError('Expected "string" but received "' + typeof obj_currencyIsoCode + '" (at "' + path_currencyIsoCode + '")');
|
|
8940
|
-
}
|
|
8941
|
-
}
|
|
8942
|
-
if (obj.operator !== undefined) {
|
|
8943
|
-
const obj_operator = obj.operator;
|
|
8944
|
-
const path_operator = path + '.operator';
|
|
8945
|
-
if (typeof obj_operator !== 'string') {
|
|
8946
|
-
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
8947
|
-
}
|
|
8948
|
-
}
|
|
8949
|
-
if (obj.primary !== undefined) {
|
|
8950
|
-
const obj_primary = obj.primary;
|
|
8951
|
-
const path_primary = path + '.primary';
|
|
8952
|
-
if (typeof obj_primary !== 'boolean') {
|
|
8953
|
-
return new TypeError('Expected "boolean" but received "' + typeof obj_primary + '" (at "' + path_primary + '")');
|
|
8954
|
-
}
|
|
8955
|
-
}
|
|
8956
|
-
if (obj.statusName !== undefined) {
|
|
8957
|
-
const obj_statusName = obj.statusName;
|
|
8958
|
-
const path_statusName = path + '.statusName';
|
|
8959
|
-
if (typeof obj_statusName !== 'string') {
|
|
8960
|
-
return new TypeError('Expected "string" but received "' + typeof obj_statusName + '" (at "' + path_statusName + '")');
|
|
8961
|
-
}
|
|
8962
|
-
}
|
|
8963
|
-
if (obj.value !== undefined) {
|
|
8964
|
-
const obj_value = obj.value;
|
|
8965
|
-
const path_value = path + '.value';
|
|
8966
|
-
if (typeof obj_value !== 'string') {
|
|
8967
|
-
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
9580
|
+
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
8968
9581
|
}
|
|
8969
9582
|
}
|
|
8970
|
-
|
|
8971
|
-
|
|
9583
|
+
config.semanticParameters = untrustedConfig_semanticParameters_array;
|
|
9584
|
+
}
|
|
9585
|
+
const untrustedConfig_semanticRelationships = untrustedConfig.semanticRelationships;
|
|
9586
|
+
if (ArrayIsArray$1(untrustedConfig_semanticRelationships)) {
|
|
9587
|
+
const untrustedConfig_semanticRelationships_array = [];
|
|
9588
|
+
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
9589
|
+
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
9590
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$M(untrustedConfig_semanticRelationships_item);
|
|
9591
|
+
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
9592
|
+
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
9593
|
+
}
|
|
9594
|
+
}
|
|
9595
|
+
config.semanticRelationships = untrustedConfig_semanticRelationships_array;
|
|
9596
|
+
}
|
|
9597
|
+
return config;
|
|
9598
|
+
}
|
|
9599
|
+
function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
|
|
9600
|
+
if (!untrustedIsObject(untrustedConfig)) {
|
|
9601
|
+
return null;
|
|
9602
|
+
}
|
|
9603
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
9604
|
+
validateConfig(untrustedConfig, configPropertyNames);
|
|
9605
|
+
}
|
|
9606
|
+
const config = typeCheckConfig$g(untrustedConfig);
|
|
9607
|
+
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
9608
|
+
return null;
|
|
9609
|
+
}
|
|
9610
|
+
return config;
|
|
9611
|
+
}
|
|
9612
|
+
function buildNetworkSnapshot$g(luvio, config, options) {
|
|
9613
|
+
const resourceParams = createResourceParams$g(config);
|
|
9614
|
+
const request = createResourceRequest$g(resourceParams);
|
|
9615
|
+
return luvio.dispatchResourceRequest(request, options)
|
|
9616
|
+
.then((response) => {
|
|
9617
|
+
return luvio.handleSuccessResponse(() => {
|
|
9618
|
+
const snapshot = ingestSuccess$e(luvio, resourceParams, response);
|
|
9619
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
9620
|
+
}, () => {
|
|
9621
|
+
const cache = new StoreKeyMap();
|
|
9622
|
+
getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
|
|
9623
|
+
return cache;
|
|
9624
|
+
});
|
|
9625
|
+
}, (response) => {
|
|
9626
|
+
deepFreeze(response);
|
|
9627
|
+
throw response;
|
|
9628
|
+
});
|
|
8972
9629
|
}
|
|
9630
|
+
const createSemanticModelAdapterFactory = (luvio) => {
|
|
9631
|
+
return function createSemanticModel(untrustedConfig) {
|
|
9632
|
+
const config = validateAdapterConfig$g(untrustedConfig, createSemanticModel_ConfigPropertyNames);
|
|
9633
|
+
// Invalid or incomplete config
|
|
9634
|
+
if (config === null) {
|
|
9635
|
+
throw new Error('Invalid config for "createSemanticModel"');
|
|
9636
|
+
}
|
|
9637
|
+
return buildNetworkSnapshot$g(luvio, config);
|
|
9638
|
+
};
|
|
9639
|
+
};
|
|
8973
9640
|
|
|
8974
9641
|
function validate$d(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
8975
9642
|
const v_error = (() => {
|
|
@@ -8992,7 +9659,7 @@ function validate$d(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
|
8992
9659
|
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
8993
9660
|
const obj_statusConditions_item = obj_statusConditions[i];
|
|
8994
9661
|
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
8995
|
-
const referencepath_statusConditions_itemValidationError = validate$
|
|
9662
|
+
const referencepath_statusConditions_itemValidationError = validate$13(obj_statusConditions_item, path_statusConditions_item);
|
|
8996
9663
|
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
8997
9664
|
let message = 'Object doesn\'t match SemanticGoalStatusConditionInputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
8998
9665
|
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9044,6 +9711,21 @@ function validate$b(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
|
9044
9711
|
if (typeof obj_forecasting !== 'boolean') {
|
|
9045
9712
|
return new TypeError('Expected "boolean" but received "' + typeof obj_forecasting + '" (at "' + path_forecasting + '")');
|
|
9046
9713
|
}
|
|
9714
|
+
const obj_statusConditions = obj.statusConditions;
|
|
9715
|
+
const path_statusConditions = path + '.statusConditions';
|
|
9716
|
+
if (!ArrayIsArray(obj_statusConditions)) {
|
|
9717
|
+
return new TypeError('Expected "array" but received "' + typeof obj_statusConditions + '" (at "' + path_statusConditions + '")');
|
|
9718
|
+
}
|
|
9719
|
+
for (let i = 0; i < obj_statusConditions.length; i++) {
|
|
9720
|
+
const obj_statusConditions_item = obj_statusConditions[i];
|
|
9721
|
+
const path_statusConditions_item = path_statusConditions + '[' + i + ']';
|
|
9722
|
+
const referencepath_statusConditions_itemValidationError = validate$11(obj_statusConditions_item, path_statusConditions_item);
|
|
9723
|
+
if (referencepath_statusConditions_itemValidationError !== null) {
|
|
9724
|
+
let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
|
|
9725
|
+
message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
9726
|
+
return new TypeError(message);
|
|
9727
|
+
}
|
|
9728
|
+
}
|
|
9047
9729
|
})();
|
|
9048
9730
|
return v_error === undefined ? null : v_error;
|
|
9049
9731
|
}
|
|
@@ -9136,7 +9818,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9136
9818
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
9137
9819
|
const obj_filters_item = obj_filters[i];
|
|
9138
9820
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
9139
|
-
const referencepath_filters_itemValidationError = validate$
|
|
9821
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
9140
9822
|
if (referencepath_filters_itemValidationError !== null) {
|
|
9141
9823
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
9142
9824
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9190,7 +9872,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9190
9872
|
if (obj.semanticMetric !== undefined) {
|
|
9191
9873
|
const obj_semanticMetric = obj.semanticMetric;
|
|
9192
9874
|
const path_semanticMetric = path + '.semanticMetric';
|
|
9193
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
9875
|
+
const referencepath_semanticMetricValidationError = validate$h(obj_semanticMetric, path_semanticMetric);
|
|
9194
9876
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
9195
9877
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
9196
9878
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9211,19 +9893,19 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9211
9893
|
return v_error === undefined ? null : v_error;
|
|
9212
9894
|
}
|
|
9213
9895
|
const RepresentationType$6 = 'SemanticSubMetricOutputRepresentation';
|
|
9214
|
-
function keyBuilder$
|
|
9896
|
+
function keyBuilder$o(luvio, config) {
|
|
9215
9897
|
return keyPrefix + '::' + RepresentationType$6 + ':' + config.name;
|
|
9216
9898
|
}
|
|
9217
9899
|
function keyBuilderFromType(luvio, object) {
|
|
9218
9900
|
const keyParams = {
|
|
9219
9901
|
name: object.id
|
|
9220
9902
|
};
|
|
9221
|
-
return keyBuilder$
|
|
9903
|
+
return keyBuilder$o(luvio, keyParams);
|
|
9222
9904
|
}
|
|
9223
9905
|
function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
9224
9906
|
return input;
|
|
9225
9907
|
}
|
|
9226
|
-
const select$
|
|
9908
|
+
const select$n = function SemanticSubMetricOutputRepresentationSelect() {
|
|
9227
9909
|
return {
|
|
9228
9910
|
kind: 'Fragment',
|
|
9229
9911
|
version: VERSION$9,
|
|
@@ -9259,19 +9941,19 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9259
9941
|
});
|
|
9260
9942
|
}
|
|
9261
9943
|
|
|
9262
|
-
function select$
|
|
9263
|
-
return select$
|
|
9944
|
+
function select$m(luvio, params) {
|
|
9945
|
+
return select$n();
|
|
9264
9946
|
}
|
|
9265
|
-
function getResponseCacheKeys$
|
|
9947
|
+
function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
|
|
9266
9948
|
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
9267
9949
|
}
|
|
9268
|
-
function ingestSuccess$
|
|
9950
|
+
function ingestSuccess$d(luvio, resourceParams, response) {
|
|
9269
9951
|
const { body } = response;
|
|
9270
9952
|
const key = keyBuilderFromType(luvio, body);
|
|
9271
9953
|
luvio.storeIngest(key, ingest$6, body);
|
|
9272
9954
|
const snapshot = luvio.storeLookup({
|
|
9273
9955
|
recordId: key,
|
|
9274
|
-
node: select$
|
|
9956
|
+
node: select$m(),
|
|
9275
9957
|
variables: {},
|
|
9276
9958
|
});
|
|
9277
9959
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -9282,7 +9964,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
|
|
|
9282
9964
|
deepFreeze(snapshot.data);
|
|
9283
9965
|
return snapshot;
|
|
9284
9966
|
}
|
|
9285
|
-
function createResourceRequest$
|
|
9967
|
+
function createResourceRequest$f(config) {
|
|
9286
9968
|
const headers = {};
|
|
9287
9969
|
return {
|
|
9288
9970
|
baseUri: '/services/data/v64.0',
|
|
@@ -9296,7 +9978,7 @@ function createResourceRequest$e(config) {
|
|
|
9296
9978
|
};
|
|
9297
9979
|
}
|
|
9298
9980
|
|
|
9299
|
-
const adapterName$
|
|
9981
|
+
const adapterName$f = 'createSemanticSubMetric';
|
|
9300
9982
|
const createSemanticSubMetric_ConfigPropertyMetadata = [
|
|
9301
9983
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9302
9984
|
generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
|
|
@@ -9308,17 +9990,17 @@ const createSemanticSubMetric_ConfigPropertyMetadata = [
|
|
|
9308
9990
|
generateParamConfigMetadata('semanticMetricDefinitionApiName', false, 2 /* Body */, 0 /* String */),
|
|
9309
9991
|
generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
|
|
9310
9992
|
];
|
|
9311
|
-
const createSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
9312
|
-
const createResourceParams$
|
|
9313
|
-
function typeCheckConfig$
|
|
9993
|
+
const createSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, createSemanticSubMetric_ConfigPropertyMetadata);
|
|
9994
|
+
const createResourceParams$f = /*#__PURE__*/ createResourceParams$i(createSemanticSubMetric_ConfigPropertyMetadata);
|
|
9995
|
+
function typeCheckConfig$f(untrustedConfig) {
|
|
9314
9996
|
const config = {};
|
|
9315
|
-
typeCheckConfig$
|
|
9997
|
+
typeCheckConfig$i(untrustedConfig, config, createSemanticSubMetric_ConfigPropertyMetadata);
|
|
9316
9998
|
const untrustedConfig_filters = untrustedConfig.filters;
|
|
9317
9999
|
if (ArrayIsArray$1(untrustedConfig_filters)) {
|
|
9318
10000
|
const untrustedConfig_filters_array = [];
|
|
9319
10001
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
9320
10002
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
9321
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate
|
|
10003
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$_(untrustedConfig_filters_item);
|
|
9322
10004
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
9323
10005
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
9324
10006
|
}
|
|
@@ -9337,30 +10019,30 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
9337
10019
|
}
|
|
9338
10020
|
return config;
|
|
9339
10021
|
}
|
|
9340
|
-
function validateAdapterConfig$
|
|
10022
|
+
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
9341
10023
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
9342
10024
|
return null;
|
|
9343
10025
|
}
|
|
9344
10026
|
if (process.env.NODE_ENV !== 'production') {
|
|
9345
10027
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
9346
10028
|
}
|
|
9347
|
-
const config = typeCheckConfig$
|
|
10029
|
+
const config = typeCheckConfig$f(untrustedConfig);
|
|
9348
10030
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
9349
10031
|
return null;
|
|
9350
10032
|
}
|
|
9351
10033
|
return config;
|
|
9352
10034
|
}
|
|
9353
|
-
function buildNetworkSnapshot$
|
|
9354
|
-
const resourceParams = createResourceParams$
|
|
9355
|
-
const request = createResourceRequest$
|
|
10035
|
+
function buildNetworkSnapshot$f(luvio, config, options) {
|
|
10036
|
+
const resourceParams = createResourceParams$f(config);
|
|
10037
|
+
const request = createResourceRequest$f(resourceParams);
|
|
9356
10038
|
return luvio.dispatchResourceRequest(request, options)
|
|
9357
10039
|
.then((response) => {
|
|
9358
10040
|
return luvio.handleSuccessResponse(() => {
|
|
9359
|
-
const snapshot = ingestSuccess$
|
|
10041
|
+
const snapshot = ingestSuccess$d(luvio, resourceParams, response);
|
|
9360
10042
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
9361
10043
|
}, () => {
|
|
9362
10044
|
const cache = new StoreKeyMap();
|
|
9363
|
-
getResponseCacheKeys$
|
|
10045
|
+
getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
|
|
9364
10046
|
return cache;
|
|
9365
10047
|
});
|
|
9366
10048
|
}, (response) => {
|
|
@@ -9370,22 +10052,22 @@ function buildNetworkSnapshot$e(luvio, config, options) {
|
|
|
9370
10052
|
}
|
|
9371
10053
|
const createSemanticSubMetricAdapterFactory = (luvio) => {
|
|
9372
10054
|
return function createSemanticSubMetric(untrustedConfig) {
|
|
9373
|
-
const config = validateAdapterConfig$
|
|
10055
|
+
const config = validateAdapterConfig$f(untrustedConfig, createSemanticSubMetric_ConfigPropertyNames);
|
|
9374
10056
|
// Invalid or incomplete config
|
|
9375
10057
|
if (config === null) {
|
|
9376
10058
|
throw new Error('Invalid config for "createSemanticSubMetric"');
|
|
9377
10059
|
}
|
|
9378
|
-
return buildNetworkSnapshot$
|
|
10060
|
+
return buildNetworkSnapshot$f(luvio, config);
|
|
9379
10061
|
};
|
|
9380
10062
|
};
|
|
9381
10063
|
|
|
9382
|
-
function keyBuilder$
|
|
9383
|
-
return keyBuilder$
|
|
10064
|
+
function keyBuilder$n(luvio, params) {
|
|
10065
|
+
return keyBuilder$o(luvio, {
|
|
9384
10066
|
name: params.urlParams.subMetricNameOrId
|
|
9385
10067
|
});
|
|
9386
10068
|
}
|
|
9387
|
-
function getResponseCacheKeys$
|
|
9388
|
-
const key = keyBuilder$
|
|
10069
|
+
function getResponseCacheKeys$e(cacheKeyMap, luvio, resourceParams) {
|
|
10070
|
+
const key = keyBuilder$n(luvio, resourceParams);
|
|
9389
10071
|
cacheKeyMap.set(key, {
|
|
9390
10072
|
namespace: keyPrefix,
|
|
9391
10073
|
representationName: RepresentationType$6,
|
|
@@ -9393,10 +10075,10 @@ function getResponseCacheKeys$d(cacheKeyMap, luvio, resourceParams) {
|
|
|
9393
10075
|
});
|
|
9394
10076
|
}
|
|
9395
10077
|
function evictSuccess$1(luvio, resourceParams) {
|
|
9396
|
-
const key = keyBuilder$
|
|
10078
|
+
const key = keyBuilder$n(luvio, resourceParams);
|
|
9397
10079
|
luvio.storeEvict(key);
|
|
9398
10080
|
}
|
|
9399
|
-
function createResourceRequest$
|
|
10081
|
+
function createResourceRequest$e(config) {
|
|
9400
10082
|
const headers = {};
|
|
9401
10083
|
return {
|
|
9402
10084
|
baseUri: '/services/data/v64.0',
|
|
@@ -9410,34 +10092,34 @@ function createResourceRequest$d(config) {
|
|
|
9410
10092
|
};
|
|
9411
10093
|
}
|
|
9412
10094
|
|
|
9413
|
-
const adapterName$
|
|
10095
|
+
const adapterName$e = 'deleteGoalFromSubMetric';
|
|
9414
10096
|
const deleteGoalFromSubMetric_ConfigPropertyMetadata = [
|
|
9415
10097
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9416
10098
|
generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9417
10099
|
];
|
|
9418
|
-
const deleteGoalFromSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
9419
|
-
const createResourceParams$
|
|
9420
|
-
function typeCheckConfig$
|
|
10100
|
+
const deleteGoalFromSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, deleteGoalFromSubMetric_ConfigPropertyMetadata);
|
|
10101
|
+
const createResourceParams$e = /*#__PURE__*/ createResourceParams$i(deleteGoalFromSubMetric_ConfigPropertyMetadata);
|
|
10102
|
+
function typeCheckConfig$e(untrustedConfig) {
|
|
9421
10103
|
const config = {};
|
|
9422
|
-
typeCheckConfig$
|
|
10104
|
+
typeCheckConfig$i(untrustedConfig, config, deleteGoalFromSubMetric_ConfigPropertyMetadata);
|
|
9423
10105
|
return config;
|
|
9424
10106
|
}
|
|
9425
|
-
function validateAdapterConfig$
|
|
10107
|
+
function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
9426
10108
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
9427
10109
|
return null;
|
|
9428
10110
|
}
|
|
9429
10111
|
if (process.env.NODE_ENV !== 'production') {
|
|
9430
10112
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
9431
10113
|
}
|
|
9432
|
-
const config = typeCheckConfig$
|
|
10114
|
+
const config = typeCheckConfig$e(untrustedConfig);
|
|
9433
10115
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
9434
10116
|
return null;
|
|
9435
10117
|
}
|
|
9436
10118
|
return config;
|
|
9437
10119
|
}
|
|
9438
|
-
function buildNetworkSnapshot$
|
|
9439
|
-
const resourceParams = createResourceParams$
|
|
9440
|
-
const request = createResourceRequest$
|
|
10120
|
+
function buildNetworkSnapshot$e(luvio, config, options) {
|
|
10121
|
+
const resourceParams = createResourceParams$e(config);
|
|
10122
|
+
const request = createResourceRequest$e(resourceParams);
|
|
9441
10123
|
return luvio.dispatchResourceRequest(request, options)
|
|
9442
10124
|
.then(() => {
|
|
9443
10125
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -9445,7 +10127,7 @@ function buildNetworkSnapshot$d(luvio, config, options) {
|
|
|
9445
10127
|
return luvio.storeBroadcast();
|
|
9446
10128
|
}, () => {
|
|
9447
10129
|
const cache = new StoreKeyMap();
|
|
9448
|
-
getResponseCacheKeys$
|
|
10130
|
+
getResponseCacheKeys$e(cache, luvio, resourceParams);
|
|
9449
10131
|
return cache;
|
|
9450
10132
|
});
|
|
9451
10133
|
}, (response) => {
|
|
@@ -9455,22 +10137,22 @@ function buildNetworkSnapshot$d(luvio, config, options) {
|
|
|
9455
10137
|
}
|
|
9456
10138
|
const deleteGoalFromSubMetricAdapterFactory = (luvio) => {
|
|
9457
10139
|
return function SemanticAuthoringdeleteGoalFromSubMetric(untrustedConfig) {
|
|
9458
|
-
const config = validateAdapterConfig$
|
|
10140
|
+
const config = validateAdapterConfig$e(untrustedConfig, deleteGoalFromSubMetric_ConfigPropertyNames);
|
|
9459
10141
|
// Invalid or incomplete config
|
|
9460
10142
|
if (config === null) {
|
|
9461
|
-
throw new Error(`Invalid config for "${adapterName$
|
|
10143
|
+
throw new Error(`Invalid config for "${adapterName$e}"`);
|
|
9462
10144
|
}
|
|
9463
|
-
return buildNetworkSnapshot$
|
|
10145
|
+
return buildNetworkSnapshot$e(luvio, config);
|
|
9464
10146
|
};
|
|
9465
10147
|
};
|
|
9466
10148
|
|
|
9467
|
-
function keyBuilder$
|
|
9468
|
-
return keyBuilder$
|
|
10149
|
+
function keyBuilder$m(luvio, params) {
|
|
10150
|
+
return keyBuilder$o(luvio, {
|
|
9469
10151
|
name: params.urlParams.subMetricNameOrId
|
|
9470
10152
|
});
|
|
9471
10153
|
}
|
|
9472
|
-
function getResponseCacheKeys$
|
|
9473
|
-
const key = keyBuilder$
|
|
10154
|
+
function getResponseCacheKeys$d(cacheKeyMap, luvio, resourceParams) {
|
|
10155
|
+
const key = keyBuilder$m(luvio, resourceParams);
|
|
9474
10156
|
cacheKeyMap.set(key, {
|
|
9475
10157
|
namespace: keyPrefix,
|
|
9476
10158
|
representationName: RepresentationType$6,
|
|
@@ -9478,10 +10160,10 @@ function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
|
|
|
9478
10160
|
});
|
|
9479
10161
|
}
|
|
9480
10162
|
function evictSuccess(luvio, resourceParams) {
|
|
9481
|
-
const key = keyBuilder$
|
|
10163
|
+
const key = keyBuilder$m(luvio, resourceParams);
|
|
9482
10164
|
luvio.storeEvict(key);
|
|
9483
10165
|
}
|
|
9484
|
-
function createResourceRequest$
|
|
10166
|
+
function createResourceRequest$d(config) {
|
|
9485
10167
|
const headers = {};
|
|
9486
10168
|
return {
|
|
9487
10169
|
baseUri: '/services/data/v64.0',
|
|
@@ -9495,34 +10177,34 @@ function createResourceRequest$c(config) {
|
|
|
9495
10177
|
};
|
|
9496
10178
|
}
|
|
9497
10179
|
|
|
9498
|
-
const adapterName$
|
|
10180
|
+
const adapterName$d = 'deleteSemanticSubMetric';
|
|
9499
10181
|
const deleteSemanticSubMetric_ConfigPropertyMetadata = [
|
|
9500
10182
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9501
10183
|
generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9502
10184
|
];
|
|
9503
|
-
const deleteSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
9504
|
-
const createResourceParams$
|
|
9505
|
-
function typeCheckConfig$
|
|
10185
|
+
const deleteSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, deleteSemanticSubMetric_ConfigPropertyMetadata);
|
|
10186
|
+
const createResourceParams$d = /*#__PURE__*/ createResourceParams$i(deleteSemanticSubMetric_ConfigPropertyMetadata);
|
|
10187
|
+
function typeCheckConfig$d(untrustedConfig) {
|
|
9506
10188
|
const config = {};
|
|
9507
|
-
typeCheckConfig$
|
|
10189
|
+
typeCheckConfig$i(untrustedConfig, config, deleteSemanticSubMetric_ConfigPropertyMetadata);
|
|
9508
10190
|
return config;
|
|
9509
10191
|
}
|
|
9510
|
-
function validateAdapterConfig$
|
|
10192
|
+
function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|
|
9511
10193
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
9512
10194
|
return null;
|
|
9513
10195
|
}
|
|
9514
10196
|
if (process.env.NODE_ENV !== 'production') {
|
|
9515
10197
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
9516
10198
|
}
|
|
9517
|
-
const config = typeCheckConfig$
|
|
10199
|
+
const config = typeCheckConfig$d(untrustedConfig);
|
|
9518
10200
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
9519
10201
|
return null;
|
|
9520
10202
|
}
|
|
9521
10203
|
return config;
|
|
9522
10204
|
}
|
|
9523
|
-
function buildNetworkSnapshot$
|
|
9524
|
-
const resourceParams = createResourceParams$
|
|
9525
|
-
const request = createResourceRequest$
|
|
10205
|
+
function buildNetworkSnapshot$d(luvio, config, options) {
|
|
10206
|
+
const resourceParams = createResourceParams$d(config);
|
|
10207
|
+
const request = createResourceRequest$d(resourceParams);
|
|
9526
10208
|
return luvio.dispatchResourceRequest(request, options)
|
|
9527
10209
|
.then(() => {
|
|
9528
10210
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -9530,7 +10212,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
|
|
|
9530
10212
|
return luvio.storeBroadcast();
|
|
9531
10213
|
}, () => {
|
|
9532
10214
|
const cache = new StoreKeyMap();
|
|
9533
|
-
getResponseCacheKeys$
|
|
10215
|
+
getResponseCacheKeys$d(cache, luvio, resourceParams);
|
|
9534
10216
|
return cache;
|
|
9535
10217
|
});
|
|
9536
10218
|
}, (response) => {
|
|
@@ -9540,12 +10222,12 @@ function buildNetworkSnapshot$c(luvio, config, options) {
|
|
|
9540
10222
|
}
|
|
9541
10223
|
const deleteSemanticSubMetricAdapterFactory = (luvio) => {
|
|
9542
10224
|
return function SemanticAuthoringdeleteSemanticSubMetric(untrustedConfig) {
|
|
9543
|
-
const config = validateAdapterConfig$
|
|
10225
|
+
const config = validateAdapterConfig$d(untrustedConfig, deleteSemanticSubMetric_ConfigPropertyNames);
|
|
9544
10226
|
// Invalid or incomplete config
|
|
9545
10227
|
if (config === null) {
|
|
9546
|
-
throw new Error(`Invalid config for "${adapterName$
|
|
10228
|
+
throw new Error(`Invalid config for "${adapterName$d}"`);
|
|
9547
10229
|
}
|
|
9548
|
-
return buildNetworkSnapshot$
|
|
10230
|
+
return buildNetworkSnapshot$d(luvio, config);
|
|
9549
10231
|
};
|
|
9550
10232
|
};
|
|
9551
10233
|
|
|
@@ -9584,7 +10266,7 @@ function validate$8(obj, path = 'SemanticDependencyOutputRepresentation') {
|
|
|
9584
10266
|
})();
|
|
9585
10267
|
return v_error === undefined ? null : v_error;
|
|
9586
10268
|
}
|
|
9587
|
-
const select$
|
|
10269
|
+
const select$l = function SemanticDependencyOutputRepresentationSelect() {
|
|
9588
10270
|
return {
|
|
9589
10271
|
kind: 'Fragment',
|
|
9590
10272
|
version: VERSION$8,
|
|
@@ -9700,8 +10382,8 @@ function validate$7(obj, path = 'SemanticDependencyInnerCollectionOutputRepresen
|
|
|
9700
10382
|
})();
|
|
9701
10383
|
return v_error === undefined ? null : v_error;
|
|
9702
10384
|
}
|
|
9703
|
-
const select$
|
|
9704
|
-
const { selections: SemanticDependencyOutputRepresentation__selections, opaque: SemanticDependencyOutputRepresentation__opaque, } = select$
|
|
10385
|
+
const select$k = function SemanticDependencyInnerCollectionOutputRepresentationSelect() {
|
|
10386
|
+
const { selections: SemanticDependencyOutputRepresentation__selections, opaque: SemanticDependencyOutputRepresentation__opaque, } = select$l();
|
|
9705
10387
|
return {
|
|
9706
10388
|
kind: 'Fragment',
|
|
9707
10389
|
version: VERSION$7,
|
|
@@ -9805,8 +10487,8 @@ const RepresentationType$5 = 'SemanticDependencyCollectionOutputRepresentation';
|
|
|
9805
10487
|
function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
9806
10488
|
return input;
|
|
9807
10489
|
}
|
|
9808
|
-
const select$
|
|
9809
|
-
const { selections: SemanticDependencyInnerCollectionOutputRepresentation__selections, opaque: SemanticDependencyInnerCollectionOutputRepresentation__opaque, } = select$
|
|
10490
|
+
const select$j = function SemanticDependencyCollectionOutputRepresentationSelect() {
|
|
10491
|
+
const { selections: SemanticDependencyInnerCollectionOutputRepresentation__selections, opaque: SemanticDependencyInnerCollectionOutputRepresentation__opaque, } = select$k();
|
|
9810
10492
|
return {
|
|
9811
10493
|
kind: 'Fragment',
|
|
9812
10494
|
version: VERSION$6,
|
|
@@ -9865,19 +10547,154 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9865
10547
|
});
|
|
9866
10548
|
}
|
|
9867
10549
|
|
|
9868
|
-
function select$
|
|
10550
|
+
function select$i(luvio, params) {
|
|
10551
|
+
return select$j();
|
|
10552
|
+
}
|
|
10553
|
+
function keyBuilder$l(luvio, params) {
|
|
10554
|
+
return keyPrefix + '::SemanticDependencyCollectionOutputRepresentation:(' + 'types:' + params.queryParams.types + ',' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
|
|
10555
|
+
}
|
|
10556
|
+
function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
|
|
10557
|
+
getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$l(luvio, resourceParams));
|
|
10558
|
+
}
|
|
10559
|
+
function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
|
|
10560
|
+
const { body } = response;
|
|
10561
|
+
const key = keyBuilder$l(luvio, resourceParams);
|
|
10562
|
+
luvio.storeIngest(key, ingest$5, body);
|
|
10563
|
+
const snapshot = luvio.storeLookup({
|
|
10564
|
+
recordId: key,
|
|
10565
|
+
node: select$i(),
|
|
10566
|
+
variables: {},
|
|
10567
|
+
}, snapshotRefresh);
|
|
10568
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
10569
|
+
if (snapshot.state !== 'Fulfilled') {
|
|
10570
|
+
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
10571
|
+
}
|
|
10572
|
+
}
|
|
10573
|
+
deepFreeze(snapshot.data);
|
|
10574
|
+
return snapshot;
|
|
10575
|
+
}
|
|
10576
|
+
function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
10577
|
+
const key = keyBuilder$l(luvio, params);
|
|
10578
|
+
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
10579
|
+
luvio.storeIngestError(key, errorSnapshot);
|
|
10580
|
+
return errorSnapshot;
|
|
10581
|
+
}
|
|
10582
|
+
function createResourceRequest$c(config) {
|
|
10583
|
+
const headers = {};
|
|
10584
|
+
return {
|
|
10585
|
+
baseUri: '/services/data/v64.0',
|
|
10586
|
+
basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/dependencies',
|
|
10587
|
+
method: 'get',
|
|
10588
|
+
body: null,
|
|
10589
|
+
urlParams: config.urlParams,
|
|
10590
|
+
queryParams: config.queryParams,
|
|
10591
|
+
headers,
|
|
10592
|
+
priority: 'normal',
|
|
10593
|
+
};
|
|
10594
|
+
}
|
|
10595
|
+
|
|
10596
|
+
const adapterName$c = 'getLeafDependenciesByTypes';
|
|
10597
|
+
const getLeafDependenciesByTypes_ConfigPropertyMetadata = [
|
|
10598
|
+
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
10599
|
+
generateParamConfigMetadata('types', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
10600
|
+
];
|
|
10601
|
+
const getLeafDependenciesByTypes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getLeafDependenciesByTypes_ConfigPropertyMetadata);
|
|
10602
|
+
const createResourceParams$c = /*#__PURE__*/ createResourceParams$i(getLeafDependenciesByTypes_ConfigPropertyMetadata);
|
|
10603
|
+
function keyBuilder$k(luvio, config) {
|
|
10604
|
+
const resourceParams = createResourceParams$c(config);
|
|
10605
|
+
return keyBuilder$l(luvio, resourceParams);
|
|
10606
|
+
}
|
|
10607
|
+
function typeCheckConfig$c(untrustedConfig) {
|
|
10608
|
+
const config = {};
|
|
10609
|
+
typeCheckConfig$i(untrustedConfig, config, getLeafDependenciesByTypes_ConfigPropertyMetadata);
|
|
10610
|
+
return config;
|
|
10611
|
+
}
|
|
10612
|
+
function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
10613
|
+
if (!untrustedIsObject(untrustedConfig)) {
|
|
10614
|
+
return null;
|
|
10615
|
+
}
|
|
10616
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
10617
|
+
validateConfig(untrustedConfig, configPropertyNames);
|
|
10618
|
+
}
|
|
10619
|
+
const config = typeCheckConfig$c(untrustedConfig);
|
|
10620
|
+
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
10621
|
+
return null;
|
|
10622
|
+
}
|
|
10623
|
+
return config;
|
|
10624
|
+
}
|
|
10625
|
+
function adapterFragment$a(luvio, config) {
|
|
10626
|
+
createResourceParams$c(config);
|
|
9869
10627
|
return select$i();
|
|
9870
10628
|
}
|
|
10629
|
+
function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
|
|
10630
|
+
const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
|
|
10631
|
+
config,
|
|
10632
|
+
resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
|
|
10633
|
+
});
|
|
10634
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
10635
|
+
}
|
|
10636
|
+
function onFetchResponseError$a(luvio, config, resourceParams, response) {
|
|
10637
|
+
const snapshot = ingestError$a(luvio, resourceParams, response, {
|
|
10638
|
+
config,
|
|
10639
|
+
resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
|
|
10640
|
+
});
|
|
10641
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
10642
|
+
}
|
|
10643
|
+
function buildNetworkSnapshot$c(luvio, config, options) {
|
|
10644
|
+
const resourceParams = createResourceParams$c(config);
|
|
10645
|
+
const request = createResourceRequest$c(resourceParams);
|
|
10646
|
+
return luvio.dispatchResourceRequest(request, options)
|
|
10647
|
+
.then((response) => {
|
|
10648
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
|
|
10649
|
+
const cache = new StoreKeyMap();
|
|
10650
|
+
getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
|
|
10651
|
+
return cache;
|
|
10652
|
+
});
|
|
10653
|
+
}, (response) => {
|
|
10654
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
|
|
10655
|
+
});
|
|
10656
|
+
}
|
|
10657
|
+
function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
|
|
10658
|
+
return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
|
|
10659
|
+
}
|
|
10660
|
+
function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
|
|
10661
|
+
const { luvio, config } = context;
|
|
10662
|
+
const selector = {
|
|
10663
|
+
recordId: keyBuilder$k(luvio, config),
|
|
10664
|
+
node: adapterFragment$a(luvio, config),
|
|
10665
|
+
variables: {},
|
|
10666
|
+
};
|
|
10667
|
+
const cacheSnapshot = storeLookup(selector, {
|
|
10668
|
+
config,
|
|
10669
|
+
resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
|
|
10670
|
+
});
|
|
10671
|
+
return cacheSnapshot;
|
|
10672
|
+
}
|
|
10673
|
+
const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAuthoring__getLeafDependenciesByTypes(untrustedConfig, requestContext) {
|
|
10674
|
+
const config = validateAdapterConfig$c(untrustedConfig, getLeafDependenciesByTypes_ConfigPropertyNames);
|
|
10675
|
+
// Invalid or incomplete config
|
|
10676
|
+
if (config === null) {
|
|
10677
|
+
return null;
|
|
10678
|
+
}
|
|
10679
|
+
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
10680
|
+
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
|
|
10681
|
+
};
|
|
10682
|
+
|
|
10683
|
+
function select$h(luvio, params) {
|
|
10684
|
+
return select$O();
|
|
10685
|
+
}
|
|
9871
10686
|
function keyBuilder$j(luvio, params) {
|
|
9872
|
-
return
|
|
10687
|
+
return keyBuilder$A(luvio, {
|
|
10688
|
+
name: params.urlParams.modelApiNameOrId
|
|
10689
|
+
});
|
|
9873
10690
|
}
|
|
9874
10691
|
function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
|
|
9875
|
-
getTypeCacheKeys$
|
|
10692
|
+
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
9876
10693
|
}
|
|
9877
10694
|
function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
|
|
9878
10695
|
const { body } = response;
|
|
9879
10696
|
const key = keyBuilder$j(luvio, resourceParams);
|
|
9880
|
-
luvio.storeIngest(key, ingest$
|
|
10697
|
+
luvio.storeIngest(key, ingest$i, body);
|
|
9881
10698
|
const snapshot = luvio.storeLookup({
|
|
9882
10699
|
recordId: key,
|
|
9883
10700
|
node: select$h(),
|
|
@@ -9901,7 +10718,7 @@ function createResourceRequest$b(config) {
|
|
|
9901
10718
|
const headers = {};
|
|
9902
10719
|
return {
|
|
9903
10720
|
baseUri: '/services/data/v64.0',
|
|
9904
|
-
basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/
|
|
10721
|
+
basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/goals',
|
|
9905
10722
|
method: 'get',
|
|
9906
10723
|
body: null,
|
|
9907
10724
|
urlParams: config.urlParams,
|
|
@@ -9910,21 +10727,31 @@ function createResourceRequest$b(config) {
|
|
|
9910
10727
|
priority: 'normal',
|
|
9911
10728
|
};
|
|
9912
10729
|
}
|
|
10730
|
+
function createResourceRequestFromRepresentation$3(representation) {
|
|
10731
|
+
const config = {
|
|
10732
|
+
urlParams: {},
|
|
10733
|
+
queryParams: {},
|
|
10734
|
+
};
|
|
10735
|
+
config.urlParams.modelApiNameOrId = representation.id;
|
|
10736
|
+
return createResourceRequest$b(config);
|
|
10737
|
+
}
|
|
9913
10738
|
|
|
9914
|
-
const adapterName$b = '
|
|
9915
|
-
const
|
|
10739
|
+
const adapterName$b = 'getSemanticGoal';
|
|
10740
|
+
const getSemanticGoal_ConfigPropertyMetadata = [
|
|
9916
10741
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9917
|
-
generateParamConfigMetadata('
|
|
10742
|
+
generateParamConfigMetadata('endDate', false, 1 /* QueryParameter */, 0 /* String */),
|
|
10743
|
+
generateParamConfigMetadata('startDate', false, 1 /* QueryParameter */, 0 /* String */),
|
|
10744
|
+
generateParamConfigMetadata('subMetricApiNameOrId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9918
10745
|
];
|
|
9919
|
-
const
|
|
9920
|
-
const createResourceParams$b = /*#__PURE__*/ createResourceParams$
|
|
10746
|
+
const getSemanticGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSemanticGoal_ConfigPropertyMetadata);
|
|
10747
|
+
const createResourceParams$b = /*#__PURE__*/ createResourceParams$i(getSemanticGoal_ConfigPropertyMetadata);
|
|
9921
10748
|
function keyBuilder$i(luvio, config) {
|
|
9922
10749
|
const resourceParams = createResourceParams$b(config);
|
|
9923
10750
|
return keyBuilder$j(luvio, resourceParams);
|
|
9924
10751
|
}
|
|
9925
10752
|
function typeCheckConfig$b(untrustedConfig) {
|
|
9926
10753
|
const config = {};
|
|
9927
|
-
typeCheckConfig$
|
|
10754
|
+
typeCheckConfig$i(untrustedConfig, config, getSemanticGoal_ConfigPropertyMetadata);
|
|
9928
10755
|
return config;
|
|
9929
10756
|
}
|
|
9930
10757
|
function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
|
|
@@ -9973,7 +10800,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
|
|
|
9973
10800
|
});
|
|
9974
10801
|
}
|
|
9975
10802
|
function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
|
|
9976
|
-
return buildNetworkSnapshotCachePolicy$
|
|
10803
|
+
return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
|
|
9977
10804
|
}
|
|
9978
10805
|
function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
|
|
9979
10806
|
const { luvio, config } = context;
|
|
@@ -9988,8 +10815,8 @@ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
|
|
|
9988
10815
|
});
|
|
9989
10816
|
return cacheSnapshot;
|
|
9990
10817
|
}
|
|
9991
|
-
const
|
|
9992
|
-
const config = validateAdapterConfig$b(untrustedConfig,
|
|
10818
|
+
const getSemanticGoalAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticGoal(untrustedConfig, requestContext) {
|
|
10819
|
+
const config = validateAdapterConfig$b(untrustedConfig, getSemanticGoal_ConfigPropertyNames);
|
|
9993
10820
|
// Invalid or incomplete config
|
|
9994
10821
|
if (config === null) {
|
|
9995
10822
|
return null;
|
|
@@ -9997,12 +10824,41 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
|
|
|
9997
10824
|
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
9998
10825
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
|
|
9999
10826
|
};
|
|
10827
|
+
const notifyChangeFactory$3 = (luvio, options) => {
|
|
10828
|
+
return function getSsotSemanticModelsGoalsByModelApiNameOrIdNotifyChange(configs) {
|
|
10829
|
+
const keys = configs.map(c => keyBuilder$A(luvio, c));
|
|
10830
|
+
luvio.getNotifyChangeStoreEntries(keys).then(entries => {
|
|
10831
|
+
for (let i = 0, len = entries.length; i < len; i++) {
|
|
10832
|
+
const { key, record: val } = entries[i];
|
|
10833
|
+
const refreshRequest = createResourceRequestFromRepresentation$3(val);
|
|
10834
|
+
luvio.dispatchResourceRequest(refreshRequest, options)
|
|
10835
|
+
.then((response) => {
|
|
10836
|
+
return luvio.handleSuccessResponse(() => {
|
|
10837
|
+
const { body } = response;
|
|
10838
|
+
luvio.storeIngest(key, ingest$i, body);
|
|
10839
|
+
return luvio.storeBroadcast();
|
|
10840
|
+
}, () => {
|
|
10841
|
+
const cache = new StoreKeyMap();
|
|
10842
|
+
getTypeCacheKeys$i(cache, luvio, response.body);
|
|
10843
|
+
return cache;
|
|
10844
|
+
});
|
|
10845
|
+
}, (error) => {
|
|
10846
|
+
return luvio.handleErrorResponse(() => {
|
|
10847
|
+
const errorSnapshot = luvio.errorSnapshot(error);
|
|
10848
|
+
luvio.storeIngestError(key, errorSnapshot, undefined);
|
|
10849
|
+
return luvio.storeBroadcast().then(() => errorSnapshot);
|
|
10850
|
+
});
|
|
10851
|
+
});
|
|
10852
|
+
}
|
|
10853
|
+
});
|
|
10854
|
+
};
|
|
10855
|
+
};
|
|
10000
10856
|
|
|
10001
10857
|
function select$g(luvio, params) {
|
|
10002
|
-
return select$
|
|
10858
|
+
return select$s();
|
|
10003
10859
|
}
|
|
10004
10860
|
function keyBuilder$h(luvio, params) {
|
|
10005
|
-
return keyBuilder$
|
|
10861
|
+
return keyBuilder$r(luvio, {
|
|
10006
10862
|
name: params.urlParams.metricNameOrId
|
|
10007
10863
|
});
|
|
10008
10864
|
}
|
|
@@ -10059,14 +10915,14 @@ const getSemanticMetric_ConfigPropertyMetadata = [
|
|
|
10059
10915
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
10060
10916
|
];
|
|
10061
10917
|
const getSemanticMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSemanticMetric_ConfigPropertyMetadata);
|
|
10062
|
-
const createResourceParams$a = /*#__PURE__*/ createResourceParams$
|
|
10918
|
+
const createResourceParams$a = /*#__PURE__*/ createResourceParams$i(getSemanticMetric_ConfigPropertyMetadata);
|
|
10063
10919
|
function keyBuilder$g(luvio, config) {
|
|
10064
10920
|
const resourceParams = createResourceParams$a(config);
|
|
10065
10921
|
return keyBuilder$h(luvio, resourceParams);
|
|
10066
10922
|
}
|
|
10067
10923
|
function typeCheckConfig$a(untrustedConfig) {
|
|
10068
10924
|
const config = {};
|
|
10069
|
-
typeCheckConfig$
|
|
10925
|
+
typeCheckConfig$i(untrustedConfig, config, getSemanticMetric_ConfigPropertyMetadata);
|
|
10070
10926
|
return config;
|
|
10071
10927
|
}
|
|
10072
10928
|
function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
@@ -10115,7 +10971,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
|
|
|
10115
10971
|
});
|
|
10116
10972
|
}
|
|
10117
10973
|
function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
|
|
10118
|
-
return buildNetworkSnapshotCachePolicy$
|
|
10974
|
+
return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
|
|
10119
10975
|
}
|
|
10120
10976
|
function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
|
|
10121
10977
|
const { luvio, config } = context;
|
|
@@ -10141,7 +10997,7 @@ const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
10141
10997
|
};
|
|
10142
10998
|
const notifyChangeFactory$2 = (luvio, options) => {
|
|
10143
10999
|
return function getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrIdNotifyChange(configs) {
|
|
10144
|
-
const keys = configs.map(c => keyBuilder$
|
|
11000
|
+
const keys = configs.map(c => keyBuilder$r(luvio, c));
|
|
10145
11001
|
luvio.getNotifyChangeStoreEntries(keys).then(entries => {
|
|
10146
11002
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
10147
11003
|
const { key, record: val } = entries[i];
|
|
@@ -10225,7 +11081,7 @@ const select$f = function SemanticMetricCollectionOutputRepresentationSelect() {
|
|
|
10225
11081
|
kind: 'Link',
|
|
10226
11082
|
plural: true,
|
|
10227
11083
|
required: false,
|
|
10228
|
-
fragment: select$
|
|
11084
|
+
fragment: select$s()
|
|
10229
11085
|
}
|
|
10230
11086
|
]
|
|
10231
11087
|
};
|
|
@@ -10330,14 +11186,14 @@ const getSemanticMetrics_ConfigPropertyMetadata = [
|
|
|
10330
11186
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
10331
11187
|
];
|
|
10332
11188
|
const getSemanticMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSemanticMetrics_ConfigPropertyMetadata);
|
|
10333
|
-
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$
|
|
11189
|
+
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$i(getSemanticMetrics_ConfigPropertyMetadata);
|
|
10334
11190
|
function keyBuilder$e(luvio, config) {
|
|
10335
11191
|
const resourceParams = createResourceParams$9(config);
|
|
10336
11192
|
return keyBuilder$f(luvio, resourceParams);
|
|
10337
11193
|
}
|
|
10338
11194
|
function typeCheckConfig$9(untrustedConfig) {
|
|
10339
11195
|
const config = {};
|
|
10340
|
-
typeCheckConfig$
|
|
11196
|
+
typeCheckConfig$i(untrustedConfig, config, getSemanticMetrics_ConfigPropertyMetadata);
|
|
10341
11197
|
return config;
|
|
10342
11198
|
}
|
|
10343
11199
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -10386,7 +11242,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
|
|
|
10386
11242
|
});
|
|
10387
11243
|
}
|
|
10388
11244
|
function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
|
|
10389
|
-
return buildNetworkSnapshotCachePolicy$
|
|
11245
|
+
return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
|
|
10390
11246
|
}
|
|
10391
11247
|
function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
|
|
10392
11248
|
const { luvio, config } = context;
|
|
@@ -10464,14 +11320,14 @@ const getSemanticMetricsByIds_ConfigPropertyMetadata = [
|
|
|
10464
11320
|
generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
|
|
10465
11321
|
];
|
|
10466
11322
|
const getSemanticMetricsByIds_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSemanticMetricsByIds_ConfigPropertyMetadata);
|
|
10467
|
-
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$
|
|
11323
|
+
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$i(getSemanticMetricsByIds_ConfigPropertyMetadata);
|
|
10468
11324
|
function keyBuilder$c(luvio, config) {
|
|
10469
11325
|
const resourceParams = createResourceParams$8(config);
|
|
10470
11326
|
return keyBuilder$d(luvio, resourceParams);
|
|
10471
11327
|
}
|
|
10472
11328
|
function typeCheckConfig$8(untrustedConfig) {
|
|
10473
11329
|
const config = {};
|
|
10474
|
-
typeCheckConfig$
|
|
11330
|
+
typeCheckConfig$i(untrustedConfig, config, getSemanticMetricsByIds_ConfigPropertyMetadata);
|
|
10475
11331
|
return config;
|
|
10476
11332
|
}
|
|
10477
11333
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -10520,7 +11376,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
|
|
|
10520
11376
|
});
|
|
10521
11377
|
}
|
|
10522
11378
|
function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
|
|
10523
|
-
return buildNetworkSnapshotCachePolicy$
|
|
11379
|
+
return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
|
|
10524
11380
|
}
|
|
10525
11381
|
function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
|
|
10526
11382
|
const { luvio, config } = context;
|
|
@@ -10613,7 +11469,7 @@ const select$c = function SemanticSubMetricsByMetricOutputRepresentationSelect()
|
|
|
10613
11469
|
kind: 'Link',
|
|
10614
11470
|
plural: true,
|
|
10615
11471
|
required: false,
|
|
10616
|
-
fragment: select$
|
|
11472
|
+
fragment: select$n()
|
|
10617
11473
|
}
|
|
10618
11474
|
]
|
|
10619
11475
|
};
|
|
@@ -10842,14 +11698,14 @@ const getSemanticMetricsToSubMetrics_ConfigPropertyMetadata = [
|
|
|
10842
11698
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
10843
11699
|
];
|
|
10844
11700
|
const getSemanticMetricsToSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
|
|
10845
|
-
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$
|
|
11701
|
+
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$i(getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
|
|
10846
11702
|
function keyBuilder$a(luvio, config) {
|
|
10847
11703
|
const resourceParams = createResourceParams$7(config);
|
|
10848
11704
|
return keyBuilder$b(luvio, resourceParams);
|
|
10849
11705
|
}
|
|
10850
11706
|
function typeCheckConfig$7(untrustedConfig) {
|
|
10851
11707
|
const config = {};
|
|
10852
|
-
typeCheckConfig$
|
|
11708
|
+
typeCheckConfig$i(untrustedConfig, config, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
|
|
10853
11709
|
return config;
|
|
10854
11710
|
}
|
|
10855
11711
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -10898,7 +11754,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
|
|
|
10898
11754
|
});
|
|
10899
11755
|
}
|
|
10900
11756
|
function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
|
|
10901
|
-
return buildNetworkSnapshotCachePolicy$
|
|
11757
|
+
return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
|
|
10902
11758
|
}
|
|
10903
11759
|
function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
|
|
10904
11760
|
const { luvio, config } = context;
|
|
@@ -10924,10 +11780,10 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
10924
11780
|
};
|
|
10925
11781
|
|
|
10926
11782
|
function select$9(luvio, params) {
|
|
10927
|
-
return select$
|
|
11783
|
+
return select$p();
|
|
10928
11784
|
}
|
|
10929
11785
|
function keyBuilder$9(luvio, params) {
|
|
10930
|
-
return keyBuilder$
|
|
11786
|
+
return keyBuilder$p(luvio, {
|
|
10931
11787
|
name: params.urlParams.modelApiNameOrId
|
|
10932
11788
|
});
|
|
10933
11789
|
}
|
|
@@ -10987,14 +11843,14 @@ const getSemanticModel_ConfigPropertyMetadata = [
|
|
|
10987
11843
|
generateParamConfigMetadata('includeTableKeys', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
10988
11844
|
];
|
|
10989
11845
|
const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSemanticModel_ConfigPropertyMetadata);
|
|
10990
|
-
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$
|
|
11846
|
+
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$i(getSemanticModel_ConfigPropertyMetadata);
|
|
10991
11847
|
function keyBuilder$8(luvio, config) {
|
|
10992
11848
|
const resourceParams = createResourceParams$6(config);
|
|
10993
11849
|
return keyBuilder$9(luvio, resourceParams);
|
|
10994
11850
|
}
|
|
10995
11851
|
function typeCheckConfig$6(untrustedConfig) {
|
|
10996
11852
|
const config = {};
|
|
10997
|
-
typeCheckConfig$
|
|
11853
|
+
typeCheckConfig$i(untrustedConfig, config, getSemanticModel_ConfigPropertyMetadata);
|
|
10998
11854
|
return config;
|
|
10999
11855
|
}
|
|
11000
11856
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -11043,7 +11899,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
|
|
|
11043
11899
|
});
|
|
11044
11900
|
}
|
|
11045
11901
|
function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
|
|
11046
|
-
return buildNetworkSnapshotCachePolicy$
|
|
11902
|
+
return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
|
|
11047
11903
|
}
|
|
11048
11904
|
function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
|
|
11049
11905
|
const { luvio, config } = context;
|
|
@@ -11069,7 +11925,7 @@ const getSemanticModelAdapterFactory = (luvio) => function SemanticAuthoring__ge
|
|
|
11069
11925
|
};
|
|
11070
11926
|
const notifyChangeFactory$1 = (luvio, options) => {
|
|
11071
11927
|
return function getSsotSemanticModelsByModelApiNameOrIdNotifyChange(configs) {
|
|
11072
|
-
const keys = configs.map(c => keyBuilder$
|
|
11928
|
+
const keys = configs.map(c => keyBuilder$p(luvio, c));
|
|
11073
11929
|
luvio.getNotifyChangeStoreEntries(keys).then(entries => {
|
|
11074
11930
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
11075
11931
|
const { key, record: val } = entries[i];
|
|
@@ -11131,7 +11987,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
11131
11987
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
11132
11988
|
const obj_baseModels_item = obj_baseModels[i];
|
|
11133
11989
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
11134
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
11990
|
+
const referencepath_baseModels_itemValidationError = validate$D(obj_baseModels_item, path_baseModels_item);
|
|
11135
11991
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
11136
11992
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
11137
11993
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11303,7 +12159,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
11303
12159
|
return v_error === undefined ? null : v_error;
|
|
11304
12160
|
}
|
|
11305
12161
|
const select$8 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
11306
|
-
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$
|
|
12162
|
+
const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$M();
|
|
11307
12163
|
return {
|
|
11308
12164
|
kind: 'Fragment',
|
|
11309
12165
|
version: VERSION$2,
|
|
@@ -12031,14 +12887,14 @@ const getSemanticModels_ConfigPropertyMetadata = [
|
|
|
12031
12887
|
generateParamConfigMetadata('sourceCreationName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
12032
12888
|
];
|
|
12033
12889
|
const getSemanticModels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSemanticModels_ConfigPropertyMetadata);
|
|
12034
|
-
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$
|
|
12890
|
+
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$i(getSemanticModels_ConfigPropertyMetadata);
|
|
12035
12891
|
function keyBuilder$6(luvio, config) {
|
|
12036
12892
|
const resourceParams = createResourceParams$5(config);
|
|
12037
12893
|
return keyBuilder$7(luvio, resourceParams);
|
|
12038
12894
|
}
|
|
12039
12895
|
function typeCheckConfig$5(untrustedConfig) {
|
|
12040
12896
|
const config = {};
|
|
12041
|
-
typeCheckConfig$
|
|
12897
|
+
typeCheckConfig$i(untrustedConfig, config, getSemanticModels_ConfigPropertyMetadata);
|
|
12042
12898
|
return config;
|
|
12043
12899
|
}
|
|
12044
12900
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -12087,7 +12943,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
|
|
|
12087
12943
|
});
|
|
12088
12944
|
}
|
|
12089
12945
|
function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
|
|
12090
|
-
return buildNetworkSnapshotCachePolicy$
|
|
12946
|
+
return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
|
|
12091
12947
|
}
|
|
12092
12948
|
function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
12093
12949
|
const { luvio, config } = context;
|
|
@@ -12113,10 +12969,10 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
12113
12969
|
};
|
|
12114
12970
|
|
|
12115
12971
|
function select$5(luvio, params) {
|
|
12116
|
-
return select$
|
|
12972
|
+
return select$n();
|
|
12117
12973
|
}
|
|
12118
12974
|
function keyBuilder$5(luvio, params) {
|
|
12119
|
-
return keyBuilder$
|
|
12975
|
+
return keyBuilder$o(luvio, {
|
|
12120
12976
|
name: params.urlParams.subMetricNameOrId
|
|
12121
12977
|
});
|
|
12122
12978
|
}
|
|
@@ -12173,14 +13029,14 @@ const getSemanticSubMetric_ConfigPropertyMetadata = [
|
|
|
12173
13029
|
generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
12174
13030
|
];
|
|
12175
13031
|
const getSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSemanticSubMetric_ConfigPropertyMetadata);
|
|
12176
|
-
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$
|
|
13032
|
+
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$i(getSemanticSubMetric_ConfigPropertyMetadata);
|
|
12177
13033
|
function keyBuilder$4(luvio, config) {
|
|
12178
13034
|
const resourceParams = createResourceParams$4(config);
|
|
12179
13035
|
return keyBuilder$5(luvio, resourceParams);
|
|
12180
13036
|
}
|
|
12181
13037
|
function typeCheckConfig$4(untrustedConfig) {
|
|
12182
13038
|
const config = {};
|
|
12183
|
-
typeCheckConfig$
|
|
13039
|
+
typeCheckConfig$i(untrustedConfig, config, getSemanticSubMetric_ConfigPropertyMetadata);
|
|
12184
13040
|
return config;
|
|
12185
13041
|
}
|
|
12186
13042
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -12229,7 +13085,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
|
|
|
12229
13085
|
});
|
|
12230
13086
|
}
|
|
12231
13087
|
function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
|
|
12232
|
-
return buildNetworkSnapshotCachePolicy$
|
|
13088
|
+
return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
|
|
12233
13089
|
}
|
|
12234
13090
|
function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
|
|
12235
13091
|
const { luvio, config } = context;
|
|
@@ -12255,7 +13111,7 @@ const getSemanticSubMetricAdapterFactory = (luvio) => function SemanticAuthoring
|
|
|
12255
13111
|
};
|
|
12256
13112
|
const notifyChangeFactory = (luvio, options) => {
|
|
12257
13113
|
return function getSsotSemanticModelsSubMetricsByModelApiNameOrIdAndSubMetricNameOrIdNotifyChange(configs) {
|
|
12258
|
-
const keys = configs.map(c => keyBuilder$
|
|
13114
|
+
const keys = configs.map(c => keyBuilder$o(luvio, c));
|
|
12259
13115
|
luvio.getNotifyChangeStoreEntries(keys).then(entries => {
|
|
12260
13116
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
12261
13117
|
const { key, record: val } = entries[i];
|
|
@@ -12339,7 +13195,7 @@ const select$4 = function SemanticSubMetricCollectionOutputRepresentationSelect(
|
|
|
12339
13195
|
kind: 'Link',
|
|
12340
13196
|
plural: true,
|
|
12341
13197
|
required: false,
|
|
12342
|
-
fragment: select$
|
|
13198
|
+
fragment: select$n()
|
|
12343
13199
|
}
|
|
12344
13200
|
]
|
|
12345
13201
|
};
|
|
@@ -12444,14 +13300,14 @@ const getSemanticSubMetrics_ConfigPropertyMetadata = [
|
|
|
12444
13300
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
12445
13301
|
];
|
|
12446
13302
|
const getSemanticSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSemanticSubMetrics_ConfigPropertyMetadata);
|
|
12447
|
-
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$
|
|
13303
|
+
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$i(getSemanticSubMetrics_ConfigPropertyMetadata);
|
|
12448
13304
|
function keyBuilder$2(luvio, config) {
|
|
12449
13305
|
const resourceParams = createResourceParams$3(config);
|
|
12450
13306
|
return keyBuilder$3(luvio, resourceParams);
|
|
12451
13307
|
}
|
|
12452
13308
|
function typeCheckConfig$3(untrustedConfig) {
|
|
12453
13309
|
const config = {};
|
|
12454
|
-
typeCheckConfig$
|
|
13310
|
+
typeCheckConfig$i(untrustedConfig, config, getSemanticSubMetrics_ConfigPropertyMetadata);
|
|
12455
13311
|
return config;
|
|
12456
13312
|
}
|
|
12457
13313
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -12500,7 +13356,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
|
|
|
12500
13356
|
});
|
|
12501
13357
|
}
|
|
12502
13358
|
function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
|
|
12503
|
-
return buildNetworkSnapshotCachePolicy$
|
|
13359
|
+
return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
|
|
12504
13360
|
}
|
|
12505
13361
|
function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
|
|
12506
13362
|
const { luvio, config } = context;
|
|
@@ -12578,14 +13434,14 @@ const getSemanticSubMetricsById_ConfigPropertyMetadata = [
|
|
|
12578
13434
|
generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
|
|
12579
13435
|
];
|
|
12580
13436
|
const getSemanticSubMetricsById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSemanticSubMetricsById_ConfigPropertyMetadata);
|
|
12581
|
-
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$
|
|
13437
|
+
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$i(getSemanticSubMetricsById_ConfigPropertyMetadata);
|
|
12582
13438
|
function keyBuilder(luvio, config) {
|
|
12583
13439
|
const resourceParams = createResourceParams$2(config);
|
|
12584
13440
|
return keyBuilder$1(luvio, resourceParams);
|
|
12585
13441
|
}
|
|
12586
13442
|
function typeCheckConfig$2(untrustedConfig) {
|
|
12587
13443
|
const config = {};
|
|
12588
|
-
typeCheckConfig$
|
|
13444
|
+
typeCheckConfig$i(untrustedConfig, config, getSemanticSubMetricsById_ConfigPropertyMetadata);
|
|
12589
13445
|
return config;
|
|
12590
13446
|
}
|
|
12591
13447
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -12634,7 +13490,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
|
|
|
12634
13490
|
});
|
|
12635
13491
|
}
|
|
12636
13492
|
function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
|
|
12637
|
-
return buildNetworkSnapshotCachePolicy$
|
|
13493
|
+
return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
|
|
12638
13494
|
}
|
|
12639
13495
|
function buildCachedSnapshotCachePolicy(context, storeLookup) {
|
|
12640
13496
|
const { luvio, config } = context;
|
|
@@ -12660,7 +13516,7 @@ const getSemanticSubMetricsByIdAdapterFactory = (luvio) => function SemanticAuth
|
|
|
12660
13516
|
};
|
|
12661
13517
|
|
|
12662
13518
|
function select$1(luvio, params) {
|
|
12663
|
-
return select$
|
|
13519
|
+
return select$n();
|
|
12664
13520
|
}
|
|
12665
13521
|
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
12666
13522
|
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
@@ -12704,16 +13560,16 @@ const patchSemanticMetricGoal_ConfigPropertyMetadata = [
|
|
|
12704
13560
|
generateParamConfigMetadata('statusConditions', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12705
13561
|
];
|
|
12706
13562
|
const patchSemanticMetricGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, patchSemanticMetricGoal_ConfigPropertyMetadata);
|
|
12707
|
-
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$
|
|
13563
|
+
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$i(patchSemanticMetricGoal_ConfigPropertyMetadata);
|
|
12708
13564
|
function typeCheckConfig$1(untrustedConfig) {
|
|
12709
13565
|
const config = {};
|
|
12710
|
-
typeCheckConfig$
|
|
13566
|
+
typeCheckConfig$i(untrustedConfig, config, patchSemanticMetricGoal_ConfigPropertyMetadata);
|
|
12711
13567
|
const untrustedConfig_statusConditions = untrustedConfig.statusConditions;
|
|
12712
13568
|
if (ArrayIsArray$1(untrustedConfig_statusConditions)) {
|
|
12713
13569
|
const untrustedConfig_statusConditions_array = [];
|
|
12714
13570
|
for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
|
|
12715
13571
|
const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
|
|
12716
|
-
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$
|
|
13572
|
+
const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$13(untrustedConfig_statusConditions_item);
|
|
12717
13573
|
if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
|
|
12718
13574
|
untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
|
|
12719
13575
|
}
|
|
@@ -12765,7 +13621,7 @@ const patchSemanticMetricGoalAdapterFactory = (luvio) => {
|
|
|
12765
13621
|
};
|
|
12766
13622
|
|
|
12767
13623
|
function select(luvio, params) {
|
|
12768
|
-
return select$
|
|
13624
|
+
return select$p();
|
|
12769
13625
|
}
|
|
12770
13626
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
12771
13627
|
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
@@ -12824,16 +13680,16 @@ const patchSemanticModel_ConfigPropertyMetadata = [
|
|
|
12824
13680
|
generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
12825
13681
|
];
|
|
12826
13682
|
const patchSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, patchSemanticModel_ConfigPropertyMetadata);
|
|
12827
|
-
const createResourceParams = /*#__PURE__*/ createResourceParams$
|
|
13683
|
+
const createResourceParams = /*#__PURE__*/ createResourceParams$i(patchSemanticModel_ConfigPropertyMetadata);
|
|
12828
13684
|
function typeCheckConfig(untrustedConfig) {
|
|
12829
13685
|
const config = {};
|
|
12830
|
-
typeCheckConfig$
|
|
13686
|
+
typeCheckConfig$i(untrustedConfig, config, patchSemanticModel_ConfigPropertyMetadata);
|
|
12831
13687
|
const untrustedConfig_baseModels = untrustedConfig.baseModels;
|
|
12832
13688
|
if (ArrayIsArray$1(untrustedConfig_baseModels)) {
|
|
12833
13689
|
const untrustedConfig_baseModels_array = [];
|
|
12834
13690
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
12835
13691
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
12836
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate
|
|
13692
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
|
|
12837
13693
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
12838
13694
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
12839
13695
|
}
|
|
@@ -12845,7 +13701,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12845
13701
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
12846
13702
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
12847
13703
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
12848
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
13704
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Z(untrustedConfig_semanticCalculatedDimensions_item);
|
|
12849
13705
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
12850
13706
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
12851
13707
|
}
|
|
@@ -12857,7 +13713,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12857
13713
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
12858
13714
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
12859
13715
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
12860
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
13716
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$Y(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12861
13717
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
12862
13718
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
12863
13719
|
}
|
|
@@ -12869,7 +13725,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12869
13725
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
12870
13726
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
12871
13727
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
12872
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
13728
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$V(untrustedConfig_semanticDataObjects_item);
|
|
12873
13729
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
12874
13730
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
12875
13731
|
}
|
|
@@ -12881,7 +13737,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12881
13737
|
const untrustedConfig_semanticGroupings_array = [];
|
|
12882
13738
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
12883
13739
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
12884
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
13740
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$O(untrustedConfig_semanticGroupings_item);
|
|
12885
13741
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
12886
13742
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
12887
13743
|
}
|
|
@@ -12893,7 +13749,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12893
13749
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
12894
13750
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
12895
13751
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
12896
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
13752
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$J(untrustedConfig_semanticLogicalViews_item);
|
|
12897
13753
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
12898
13754
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
12899
13755
|
}
|
|
@@ -12905,7 +13761,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12905
13761
|
const untrustedConfig_semanticMetrics_array = [];
|
|
12906
13762
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
12907
13763
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
12908
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
13764
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$F(untrustedConfig_semanticMetrics_item);
|
|
12909
13765
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
12910
13766
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
12911
13767
|
}
|
|
@@ -12917,7 +13773,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12917
13773
|
const untrustedConfig_semanticParameters_array = [];
|
|
12918
13774
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
12919
13775
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
12920
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
13776
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$E(untrustedConfig_semanticParameters_item);
|
|
12921
13777
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
12922
13778
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
12923
13779
|
}
|
|
@@ -12929,7 +13785,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
12929
13785
|
const untrustedConfig_semanticRelationships_array = [];
|
|
12930
13786
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
12931
13787
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
12932
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
13788
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$M(untrustedConfig_semanticRelationships_item);
|
|
12933
13789
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
12934
13790
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
12935
13791
|
}
|
|
@@ -12980,11 +13836,14 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
12980
13836
|
};
|
|
12981
13837
|
};
|
|
12982
13838
|
|
|
13839
|
+
let createSemanticGoal;
|
|
12983
13840
|
let createSemanticModel;
|
|
12984
13841
|
let createSemanticSubMetric;
|
|
12985
13842
|
let deleteGoalFromSubMetric;
|
|
12986
13843
|
let deleteSemanticSubMetric;
|
|
12987
13844
|
let getLeafDependenciesByTypes;
|
|
13845
|
+
let getSemanticGoal;
|
|
13846
|
+
let getSemanticGoalNotifyChange;
|
|
12988
13847
|
let getSemanticMetric;
|
|
12989
13848
|
let getSemanticMetricNotifyChange;
|
|
12990
13849
|
let getSemanticMetrics;
|
|
@@ -13001,6 +13860,7 @@ let patchSemanticMetricGoal;
|
|
|
13001
13860
|
let patchSemanticModel;
|
|
13002
13861
|
// Imperative GET Adapters
|
|
13003
13862
|
let getLeafDependenciesByTypes_imperative;
|
|
13863
|
+
let getSemanticGoal_imperative;
|
|
13004
13864
|
let getSemanticMetric_imperative;
|
|
13005
13865
|
let getSemanticMetrics_imperative;
|
|
13006
13866
|
let getSemanticMetricsByIds_imperative;
|
|
@@ -13014,6 +13874,7 @@ const getLeafDependenciesByTypesMetadata = {
|
|
|
13014
13874
|
apiFamily: 'SemanticAuthoring',
|
|
13015
13875
|
name: 'getLeafDependenciesByTypes',
|
|
13016
13876
|
};
|
|
13877
|
+
const getSemanticGoalMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticGoal' };
|
|
13017
13878
|
const getSemanticMetricMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticMetric' };
|
|
13018
13879
|
const getSemanticMetricsMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticMetrics' };
|
|
13019
13880
|
const getSemanticMetricsByIdsMetadata = {
|
|
@@ -13042,6 +13903,7 @@ const getSemanticSubMetricsByIdMetadata = {
|
|
|
13042
13903
|
function bindExportsTo(luvio) {
|
|
13043
13904
|
// LDS Adapters
|
|
13044
13905
|
const getLeafDependenciesByTypes_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLeafDependenciesByTypes', getLeafDependenciesByTypesAdapterFactory), getLeafDependenciesByTypesMetadata);
|
|
13906
|
+
const getSemanticGoal_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticGoal', getSemanticGoalAdapterFactory), getSemanticGoalMetadata);
|
|
13045
13907
|
const getSemanticMetric_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticMetric', getSemanticMetricAdapterFactory), getSemanticMetricMetadata);
|
|
13046
13908
|
const getSemanticMetrics_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticMetrics', getSemanticMetricsAdapterFactory), getSemanticMetricsMetadata);
|
|
13047
13909
|
const getSemanticMetricsByIds_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticMetricsByIds', getSemanticMetricsByIdsAdapterFactory), getSemanticMetricsByIdsMetadata);
|
|
@@ -13056,11 +13918,14 @@ function bindExportsTo(luvio) {
|
|
|
13056
13918
|
return (config) => adapter(config).then((snapshot) => snapshot.data);
|
|
13057
13919
|
}
|
|
13058
13920
|
return {
|
|
13921
|
+
createSemanticGoal: unwrapSnapshotData(createSemanticGoalAdapterFactory),
|
|
13059
13922
|
createSemanticModel: unwrapSnapshotData(createSemanticModelAdapterFactory),
|
|
13060
13923
|
createSemanticSubMetric: unwrapSnapshotData(createSemanticSubMetricAdapterFactory),
|
|
13061
|
-
deleteGoalFromSubMetric: createLDSAdapter(luvio, adapterName$
|
|
13062
|
-
deleteSemanticSubMetric: createLDSAdapter(luvio, adapterName$
|
|
13924
|
+
deleteGoalFromSubMetric: createLDSAdapter(luvio, adapterName$e, deleteGoalFromSubMetricAdapterFactory),
|
|
13925
|
+
deleteSemanticSubMetric: createLDSAdapter(luvio, adapterName$d, deleteSemanticSubMetricAdapterFactory),
|
|
13063
13926
|
getLeafDependenciesByTypes: createWireAdapterConstructor(luvio, getLeafDependenciesByTypes_ldsAdapter, getLeafDependenciesByTypesMetadata),
|
|
13927
|
+
getSemanticGoal: createWireAdapterConstructor(luvio, getSemanticGoal_ldsAdapter, getSemanticGoalMetadata),
|
|
13928
|
+
getSemanticGoalNotifyChange: createLDSAdapter(luvio, 'getSemanticGoalNotifyChange', notifyChangeFactory$3),
|
|
13064
13929
|
getSemanticMetric: createWireAdapterConstructor(luvio, getSemanticMetric_ldsAdapter, getSemanticMetricMetadata),
|
|
13065
13930
|
getSemanticMetricNotifyChange: createLDSAdapter(luvio, 'getSemanticMetricNotifyChange', notifyChangeFactory$2),
|
|
13066
13931
|
getSemanticMetrics: createWireAdapterConstructor(luvio, getSemanticMetrics_ldsAdapter, getSemanticMetricsMetadata),
|
|
@@ -13077,6 +13942,7 @@ function bindExportsTo(luvio) {
|
|
|
13077
13942
|
patchSemanticModel: unwrapSnapshotData(patchSemanticModelAdapterFactory),
|
|
13078
13943
|
// Imperative GET Adapters
|
|
13079
13944
|
getLeafDependenciesByTypes_imperative: createImperativeAdapter(luvio, getLeafDependenciesByTypes_ldsAdapter, getLeafDependenciesByTypesMetadata),
|
|
13945
|
+
getSemanticGoal_imperative: createImperativeAdapter(luvio, getSemanticGoal_ldsAdapter, getSemanticGoalMetadata),
|
|
13080
13946
|
getSemanticMetric_imperative: createImperativeAdapter(luvio, getSemanticMetric_ldsAdapter, getSemanticMetricMetadata),
|
|
13081
13947
|
getSemanticMetrics_imperative: createImperativeAdapter(luvio, getSemanticMetrics_ldsAdapter, getSemanticMetricsMetadata),
|
|
13082
13948
|
getSemanticMetricsByIds_imperative: createImperativeAdapter(luvio, getSemanticMetricsByIds_ldsAdapter, getSemanticMetricsByIdsMetadata),
|
|
@@ -13091,11 +13957,14 @@ function bindExportsTo(luvio) {
|
|
|
13091
13957
|
}
|
|
13092
13958
|
withDefaultLuvio((luvio) => {
|
|
13093
13959
|
({
|
|
13960
|
+
createSemanticGoal,
|
|
13094
13961
|
createSemanticModel,
|
|
13095
13962
|
createSemanticSubMetric,
|
|
13096
13963
|
deleteGoalFromSubMetric,
|
|
13097
13964
|
deleteSemanticSubMetric,
|
|
13098
13965
|
getLeafDependenciesByTypes,
|
|
13966
|
+
getSemanticGoal,
|
|
13967
|
+
getSemanticGoalNotifyChange,
|
|
13099
13968
|
getSemanticMetric,
|
|
13100
13969
|
getSemanticMetricNotifyChange,
|
|
13101
13970
|
getSemanticMetrics,
|
|
@@ -13111,6 +13980,7 @@ withDefaultLuvio((luvio) => {
|
|
|
13111
13980
|
patchSemanticMetricGoal,
|
|
13112
13981
|
patchSemanticModel,
|
|
13113
13982
|
getLeafDependenciesByTypes_imperative,
|
|
13983
|
+
getSemanticGoal_imperative,
|
|
13114
13984
|
getSemanticMetric_imperative,
|
|
13115
13985
|
getSemanticMetrics_imperative,
|
|
13116
13986
|
getSemanticMetricsByIds_imperative,
|
|
@@ -13123,5 +13993,5 @@ withDefaultLuvio((luvio) => {
|
|
|
13123
13993
|
} = bindExportsTo(luvio));
|
|
13124
13994
|
});
|
|
13125
13995
|
|
|
13126
|
-
export { createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticSubMetric, getLeafDependenciesByTypes, getLeafDependenciesByTypes_imperative, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticMetricGoal, patchSemanticModel };
|
|
13127
|
-
// version: 1.
|
|
13996
|
+
export { createSemanticGoal, createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticSubMetric, getLeafDependenciesByTypes, getLeafDependenciesByTypes_imperative, getSemanticGoal, getSemanticGoalNotifyChange, getSemanticGoal_imperative, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticMetricGoal, patchSemanticModel };
|
|
13997
|
+
// version: 1.345.0-faf201180e
|