@salesforce/lds-adapters-analytics-app-framework 1.330.0 → 1.331.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/analytics-app-framework.js +458 -438
- package/dist/es/es2018/types/src/generated/types/StaticResourceReferenceRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/TemplateIconsRepresentation.d.ts +6 -6
- package/dist/es/es2018/types/src/generated/types/TemplatePreviewRepresentation.d.ts +12 -6
- package/package.json +3 -3
- package/sfdc/index.js +462 -442
- package/src/raml/api.raml +43 -7
|
@@ -112,8 +112,8 @@ function createLink(ref) {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
const VERSION$
|
|
116
|
-
function validate$
|
|
115
|
+
const VERSION$v = "8747a45321deaf63f65cf74537b07eb6";
|
|
116
|
+
function validate$z(obj, path = 'UserRepresentation') {
|
|
117
117
|
const v_error = (() => {
|
|
118
118
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
119
119
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -157,10 +157,10 @@ function validate$A(obj, path = 'UserRepresentation') {
|
|
|
157
157
|
})();
|
|
158
158
|
return v_error === undefined ? null : v_error;
|
|
159
159
|
}
|
|
160
|
-
const select$
|
|
160
|
+
const select$K = function UserRepresentationSelect() {
|
|
161
161
|
return {
|
|
162
162
|
kind: 'Fragment',
|
|
163
|
-
version: VERSION$
|
|
163
|
+
version: VERSION$v,
|
|
164
164
|
private: [],
|
|
165
165
|
selections: [
|
|
166
166
|
{
|
|
@@ -178,7 +178,7 @@ const select$L = function UserRepresentationSelect() {
|
|
|
178
178
|
]
|
|
179
179
|
};
|
|
180
180
|
};
|
|
181
|
-
function equals$
|
|
181
|
+
function equals$s(existing, incoming) {
|
|
182
182
|
const existing_id = existing.id;
|
|
183
183
|
const incoming_id = incoming.id;
|
|
184
184
|
if (!(existing_id === incoming_id)) {
|
|
@@ -197,8 +197,8 @@ function equals$t(existing, incoming) {
|
|
|
197
197
|
return true;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
const VERSION$
|
|
201
|
-
function validate$
|
|
200
|
+
const VERSION$u = "74662b770f974cec987197380f2580ea";
|
|
201
|
+
function validate$y(obj, path = 'ScheduledTimezoneRepresentation') {
|
|
202
202
|
const v_error = (() => {
|
|
203
203
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
204
204
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -217,10 +217,10 @@ function validate$z(obj, path = 'ScheduledTimezoneRepresentation') {
|
|
|
217
217
|
})();
|
|
218
218
|
return v_error === undefined ? null : v_error;
|
|
219
219
|
}
|
|
220
|
-
const select$
|
|
220
|
+
const select$J = function ScheduledTimezoneRepresentationSelect() {
|
|
221
221
|
return {
|
|
222
222
|
kind: 'Fragment',
|
|
223
|
-
version: VERSION$
|
|
223
|
+
version: VERSION$u,
|
|
224
224
|
private: [],
|
|
225
225
|
selections: [
|
|
226
226
|
{
|
|
@@ -238,7 +238,7 @@ const select$K = function ScheduledTimezoneRepresentationSelect() {
|
|
|
238
238
|
]
|
|
239
239
|
};
|
|
240
240
|
};
|
|
241
|
-
function equals$
|
|
241
|
+
function equals$r(existing, incoming) {
|
|
242
242
|
const existing_name = existing.name;
|
|
243
243
|
const incoming_name = incoming.name;
|
|
244
244
|
if (!(existing_name === incoming_name)) {
|
|
@@ -257,8 +257,8 @@ function equals$s(existing, incoming) {
|
|
|
257
257
|
return true;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
const VERSION$
|
|
261
|
-
function validate$
|
|
260
|
+
const VERSION$t = "d96bf6818be64d5924beaaad8e684221";
|
|
261
|
+
function validate$x(obj, path = 'ScheduledTimeRepresentation') {
|
|
262
262
|
const v_error = (() => {
|
|
263
263
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
264
264
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -275,7 +275,7 @@ function validate$y(obj, path = 'ScheduledTimeRepresentation') {
|
|
|
275
275
|
}
|
|
276
276
|
const obj_timezone = obj.timezone;
|
|
277
277
|
const path_timezone = path + '.timezone';
|
|
278
|
-
const referencepath_timezoneValidationError = validate$
|
|
278
|
+
const referencepath_timezoneValidationError = validate$y(obj_timezone, path_timezone);
|
|
279
279
|
if (referencepath_timezoneValidationError !== null) {
|
|
280
280
|
let message = 'Object doesn\'t match ScheduledTimezoneRepresentation (at "' + path_timezone + '")\n';
|
|
281
281
|
message += referencepath_timezoneValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -284,11 +284,11 @@ function validate$y(obj, path = 'ScheduledTimeRepresentation') {
|
|
|
284
284
|
})();
|
|
285
285
|
return v_error === undefined ? null : v_error;
|
|
286
286
|
}
|
|
287
|
-
const select$
|
|
288
|
-
const { selections: ScheduledTimezoneRepresentation__selections, opaque: ScheduledTimezoneRepresentation__opaque, } = select$
|
|
287
|
+
const select$I = function ScheduledTimeRepresentationSelect() {
|
|
288
|
+
const { selections: ScheduledTimezoneRepresentation__selections, opaque: ScheduledTimezoneRepresentation__opaque, } = select$J();
|
|
289
289
|
return {
|
|
290
290
|
kind: 'Fragment',
|
|
291
|
-
version: VERSION$
|
|
291
|
+
version: VERSION$t,
|
|
292
292
|
private: [],
|
|
293
293
|
selections: [
|
|
294
294
|
{
|
|
@@ -307,7 +307,7 @@ const select$J = function ScheduledTimeRepresentationSelect() {
|
|
|
307
307
|
]
|
|
308
308
|
};
|
|
309
309
|
};
|
|
310
|
-
function equals$
|
|
310
|
+
function equals$q(existing, incoming) {
|
|
311
311
|
const existing_hour = existing.hour;
|
|
312
312
|
const incoming_hour = incoming.hour;
|
|
313
313
|
if (!(existing_hour === incoming_hour)) {
|
|
@@ -320,18 +320,18 @@ function equals$r(existing, incoming) {
|
|
|
320
320
|
}
|
|
321
321
|
const existing_timezone = existing.timezone;
|
|
322
322
|
const incoming_timezone = incoming.timezone;
|
|
323
|
-
if (!(equals$
|
|
323
|
+
if (!(equals$r(existing_timezone, incoming_timezone))) {
|
|
324
324
|
return false;
|
|
325
325
|
}
|
|
326
326
|
return true;
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
const VERSION$
|
|
330
|
-
const select$
|
|
331
|
-
const { selections: ScheduledItemRepresentationSelections } = select$
|
|
329
|
+
const VERSION$s = "91838b86aa135ce828af6242b11ae888";
|
|
330
|
+
const select$H = function HourlyScheduledItemRepresentationSelect() {
|
|
331
|
+
const { selections: ScheduledItemRepresentationSelections } = select$E();
|
|
332
332
|
return {
|
|
333
333
|
kind: 'Fragment',
|
|
334
|
-
version: VERSION$
|
|
334
|
+
version: VERSION$s,
|
|
335
335
|
private: [],
|
|
336
336
|
selections: [
|
|
337
337
|
...ScheduledItemRepresentationSelections,
|
|
@@ -348,12 +348,12 @@ const select$I = function HourlyScheduledItemRepresentationSelect() {
|
|
|
348
348
|
};
|
|
349
349
|
};
|
|
350
350
|
|
|
351
|
-
const VERSION$
|
|
352
|
-
const select$
|
|
353
|
-
const { selections: ScheduledItemRepresentationSelections } = select$
|
|
351
|
+
const VERSION$r = "46260a34f0b2c2d7adc7f8c150a8d8fb";
|
|
352
|
+
const select$G = function WeeklyScheduledItemRepresentationSelect() {
|
|
353
|
+
const { selections: ScheduledItemRepresentationSelections } = select$E();
|
|
354
354
|
return {
|
|
355
355
|
kind: 'Fragment',
|
|
356
|
-
version: VERSION$
|
|
356
|
+
version: VERSION$r,
|
|
357
357
|
private: [],
|
|
358
358
|
selections: [
|
|
359
359
|
...ScheduledItemRepresentationSelections,
|
|
@@ -366,12 +366,12 @@ const select$H = function WeeklyScheduledItemRepresentationSelect() {
|
|
|
366
366
|
};
|
|
367
367
|
};
|
|
368
368
|
|
|
369
|
-
const VERSION$
|
|
370
|
-
const select$
|
|
371
|
-
const { selections: ScheduledItemRepresentationSelections } = select$
|
|
369
|
+
const VERSION$q = "dcda6d015a01d9acde5fac241448cfe4";
|
|
370
|
+
const select$F = function DailyScheduledItemRepresentationSelect() {
|
|
371
|
+
const { selections: ScheduledItemRepresentationSelections } = select$E();
|
|
372
372
|
return {
|
|
373
373
|
kind: 'Fragment',
|
|
374
|
-
version: VERSION$
|
|
374
|
+
version: VERSION$q,
|
|
375
375
|
private: [],
|
|
376
376
|
selections: [
|
|
377
377
|
...ScheduledItemRepresentationSelections,
|
|
@@ -385,8 +385,8 @@ var DiscriminatorValues;
|
|
|
385
385
|
DiscriminatorValues["Weekly"] = "Weekly";
|
|
386
386
|
DiscriminatorValues["Daily"] = "Daily";
|
|
387
387
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
388
|
-
const VERSION$
|
|
389
|
-
function validate$
|
|
388
|
+
const VERSION$p = "193484b4261ca5840b61caaab3dea067";
|
|
389
|
+
function validate$w(obj, path = 'ScheduledItemRepresentation') {
|
|
390
390
|
const v_error = (() => {
|
|
391
391
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
392
392
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -403,7 +403,7 @@ function validate$x(obj, path = 'ScheduledItemRepresentation') {
|
|
|
403
403
|
}
|
|
404
404
|
const obj_time = obj.time;
|
|
405
405
|
const path_time = path + '.time';
|
|
406
|
-
const referencepath_timeValidationError = validate$
|
|
406
|
+
const referencepath_timeValidationError = validate$x(obj_time, path_time);
|
|
407
407
|
if (referencepath_timeValidationError !== null) {
|
|
408
408
|
let message = 'Object doesn\'t match ScheduledTimeRepresentation (at "' + path_time + '")\n';
|
|
409
409
|
message += referencepath_timeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -413,9 +413,9 @@ function validate$x(obj, path = 'ScheduledItemRepresentation') {
|
|
|
413
413
|
return v_error === undefined ? null : v_error;
|
|
414
414
|
}
|
|
415
415
|
const selectChildren = function ScheduledItemRepresentationSelectChildren() {
|
|
416
|
-
const hourlyScheduledItemRepresentationSelections = select$
|
|
417
|
-
const weeklyScheduledItemRepresentationSelections = select$
|
|
418
|
-
const dailyScheduledItemRepresentationSelections = select$
|
|
416
|
+
const hourlyScheduledItemRepresentationSelections = select$H();
|
|
417
|
+
const weeklyScheduledItemRepresentationSelections = select$G();
|
|
418
|
+
const dailyScheduledItemRepresentationSelections = select$F();
|
|
419
419
|
return {
|
|
420
420
|
kind: 'Fragment',
|
|
421
421
|
union: true,
|
|
@@ -427,11 +427,11 @@ const selectChildren = function ScheduledItemRepresentationSelectChildren() {
|
|
|
427
427
|
}
|
|
428
428
|
};
|
|
429
429
|
};
|
|
430
|
-
const select$
|
|
431
|
-
const { selections: ScheduledTimeRepresentation__selections, opaque: ScheduledTimeRepresentation__opaque, } = select$
|
|
430
|
+
const select$E = function ScheduledItemRepresentationSelect() {
|
|
431
|
+
const { selections: ScheduledTimeRepresentation__selections, opaque: ScheduledTimeRepresentation__opaque, } = select$I();
|
|
432
432
|
return {
|
|
433
433
|
kind: 'Fragment',
|
|
434
|
-
version: VERSION$
|
|
434
|
+
version: VERSION$p,
|
|
435
435
|
private: [],
|
|
436
436
|
selections: [
|
|
437
437
|
{
|
|
@@ -450,7 +450,7 @@ const select$F = function ScheduledItemRepresentationSelect() {
|
|
|
450
450
|
]
|
|
451
451
|
};
|
|
452
452
|
};
|
|
453
|
-
function equals$
|
|
453
|
+
function equals$p(existing, incoming) {
|
|
454
454
|
const existing_frequency = existing.frequency;
|
|
455
455
|
const incoming_frequency = incoming.frequency;
|
|
456
456
|
if (!(existing_frequency === incoming_frequency)) {
|
|
@@ -463,14 +463,14 @@ function equals$q(existing, incoming) {
|
|
|
463
463
|
}
|
|
464
464
|
const existing_time = existing.time;
|
|
465
465
|
const incoming_time = incoming.time;
|
|
466
|
-
if (!(equals$
|
|
466
|
+
if (!(equals$q(existing_time, incoming_time))) {
|
|
467
467
|
return false;
|
|
468
468
|
}
|
|
469
469
|
return true;
|
|
470
470
|
}
|
|
471
471
|
|
|
472
|
-
const VERSION$
|
|
473
|
-
function validate$
|
|
472
|
+
const VERSION$o = "06b5da5162febff2692d819c9b718be5";
|
|
473
|
+
function validate$v(obj, path = 'AppScheduleRepresentation') {
|
|
474
474
|
const v_error = (() => {
|
|
475
475
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
476
476
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -479,7 +479,7 @@ function validate$w(obj, path = 'AppScheduleRepresentation') {
|
|
|
479
479
|
const path_dataRefreshSchedule = path + '.dataRefreshSchedule';
|
|
480
480
|
let obj_dataRefreshSchedule_union0 = null;
|
|
481
481
|
const obj_dataRefreshSchedule_union0_error = (() => {
|
|
482
|
-
const referencepath_dataRefreshScheduleValidationError = validate$
|
|
482
|
+
const referencepath_dataRefreshScheduleValidationError = validate$w(obj_dataRefreshSchedule, path_dataRefreshSchedule);
|
|
483
483
|
if (referencepath_dataRefreshScheduleValidationError !== null) {
|
|
484
484
|
let message = 'Object doesn\'t match ScheduledItemRepresentation (at "' + path_dataRefreshSchedule + '")\n';
|
|
485
485
|
message += referencepath_dataRefreshScheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -533,11 +533,11 @@ function validate$w(obj, path = 'AppScheduleRepresentation') {
|
|
|
533
533
|
})();
|
|
534
534
|
return v_error === undefined ? null : v_error;
|
|
535
535
|
}
|
|
536
|
-
const select$
|
|
536
|
+
const select$D = function AppScheduleRepresentationSelect() {
|
|
537
537
|
const ScheduledItemRepresentation__unionSelections = selectChildren();
|
|
538
538
|
return {
|
|
539
539
|
kind: 'Fragment',
|
|
540
|
-
version: VERSION$
|
|
540
|
+
version: VERSION$o,
|
|
541
541
|
private: [],
|
|
542
542
|
selections: [
|
|
543
543
|
{
|
|
@@ -555,13 +555,13 @@ const select$E = function AppScheduleRepresentationSelect() {
|
|
|
555
555
|
]
|
|
556
556
|
};
|
|
557
557
|
};
|
|
558
|
-
function equals$
|
|
558
|
+
function equals$o(existing, incoming) {
|
|
559
559
|
const existing_dataRefreshSchedule = existing.dataRefreshSchedule;
|
|
560
560
|
const incoming_dataRefreshSchedule = incoming.dataRefreshSchedule;
|
|
561
561
|
if (!(existing_dataRefreshSchedule === incoming_dataRefreshSchedule
|
|
562
562
|
|| (existing_dataRefreshSchedule != null &&
|
|
563
563
|
incoming_dataRefreshSchedule != null &&
|
|
564
|
-
equals$
|
|
564
|
+
equals$p(existing_dataRefreshSchedule, incoming_dataRefreshSchedule)))) {
|
|
565
565
|
return false;
|
|
566
566
|
}
|
|
567
567
|
const existing_url = existing.url;
|
|
@@ -573,8 +573,8 @@ function equals$p(existing, incoming) {
|
|
|
573
573
|
}
|
|
574
574
|
|
|
575
575
|
const TTL$c = 5000;
|
|
576
|
-
const VERSION$
|
|
577
|
-
function validate$
|
|
576
|
+
const VERSION$n = "be6294bb853a9581fb3b06a2d8caa5d5";
|
|
577
|
+
function validate$u(obj, path = 'AppRepresentation') {
|
|
578
578
|
const v_error = (() => {
|
|
579
579
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
580
580
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -596,7 +596,7 @@ function validate$v(obj, path = 'AppRepresentation') {
|
|
|
596
596
|
}
|
|
597
597
|
const obj_createdBy = obj.createdBy;
|
|
598
598
|
const path_createdBy = path + '.createdBy';
|
|
599
|
-
const referencepath_createdByValidationError = validate$
|
|
599
|
+
const referencepath_createdByValidationError = validate$z(obj_createdBy, path_createdBy);
|
|
600
600
|
if (referencepath_createdByValidationError !== null) {
|
|
601
601
|
let message = 'Object doesn\'t match UserRepresentation (at "' + path_createdBy + '")\n';
|
|
602
602
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -650,7 +650,7 @@ function validate$v(obj, path = 'AppRepresentation') {
|
|
|
650
650
|
}
|
|
651
651
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
652
652
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
653
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
653
|
+
const referencepath_lastModifiedByValidationError = validate$z(obj_lastModifiedBy, path_lastModifiedBy);
|
|
654
654
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
655
655
|
let message = 'Object doesn\'t match UserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
656
656
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -675,7 +675,7 @@ function validate$v(obj, path = 'AppRepresentation') {
|
|
|
675
675
|
const path_schedule = path + '.schedule';
|
|
676
676
|
let obj_schedule_union0 = null;
|
|
677
677
|
const obj_schedule_union0_error = (() => {
|
|
678
|
-
const referencepath_scheduleValidationError = validate$
|
|
678
|
+
const referencepath_scheduleValidationError = validate$v(obj_schedule, path_schedule);
|
|
679
679
|
if (referencepath_scheduleValidationError !== null) {
|
|
680
680
|
let message = 'Object doesn\'t match AppScheduleRepresentation (at "' + path_schedule + '")\n';
|
|
681
681
|
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -750,12 +750,12 @@ function keyBuilderFromType$9(luvio, object) {
|
|
|
750
750
|
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
751
751
|
return input;
|
|
752
752
|
}
|
|
753
|
-
const select$
|
|
754
|
-
const { selections: UserRepresentation__selections, opaque: UserRepresentation__opaque, } = select$
|
|
755
|
-
const { selections: AppScheduleRepresentation__selections, opaque: AppScheduleRepresentation__opaque, } = select$
|
|
753
|
+
const select$C = function AppRepresentationSelect() {
|
|
754
|
+
const { selections: UserRepresentation__selections, opaque: UserRepresentation__opaque, } = select$K();
|
|
755
|
+
const { selections: AppScheduleRepresentation__selections, opaque: AppScheduleRepresentation__opaque, } = select$D();
|
|
756
756
|
return {
|
|
757
757
|
kind: 'Fragment',
|
|
758
|
-
version: VERSION$
|
|
758
|
+
version: VERSION$n,
|
|
759
759
|
private: [],
|
|
760
760
|
selections: [
|
|
761
761
|
{
|
|
@@ -842,7 +842,7 @@ const select$D = function AppRepresentationSelect() {
|
|
|
842
842
|
]
|
|
843
843
|
};
|
|
844
844
|
};
|
|
845
|
-
function equals$
|
|
845
|
+
function equals$n(existing, incoming) {
|
|
846
846
|
const existing_activitiesUrl = existing.activitiesUrl;
|
|
847
847
|
const incoming_activitiesUrl = incoming.activitiesUrl;
|
|
848
848
|
if (!(existing_activitiesUrl === incoming_activitiesUrl)) {
|
|
@@ -915,7 +915,7 @@ function equals$o(existing, incoming) {
|
|
|
915
915
|
}
|
|
916
916
|
const existing_createdBy = existing.createdBy;
|
|
917
917
|
const incoming_createdBy = incoming.createdBy;
|
|
918
|
-
if (!(equals$
|
|
918
|
+
if (!(equals$s(existing_createdBy, incoming_createdBy))) {
|
|
919
919
|
return false;
|
|
920
920
|
}
|
|
921
921
|
const existing_description = existing.description;
|
|
@@ -925,7 +925,7 @@ function equals$o(existing, incoming) {
|
|
|
925
925
|
}
|
|
926
926
|
const existing_lastModifiedBy = existing.lastModifiedBy;
|
|
927
927
|
const incoming_lastModifiedBy = incoming.lastModifiedBy;
|
|
928
|
-
if (!(equals$
|
|
928
|
+
if (!(equals$s(existing_lastModifiedBy, incoming_lastModifiedBy))) {
|
|
929
929
|
return false;
|
|
930
930
|
}
|
|
931
931
|
const existing_schedule = existing.schedule;
|
|
@@ -933,7 +933,7 @@ function equals$o(existing, incoming) {
|
|
|
933
933
|
if (!(existing_schedule === incoming_schedule
|
|
934
934
|
|| (existing_schedule != null &&
|
|
935
935
|
incoming_schedule != null &&
|
|
936
|
-
equals$
|
|
936
|
+
equals$o(existing_schedule, incoming_schedule)))) {
|
|
937
937
|
return false;
|
|
938
938
|
}
|
|
939
939
|
const existing_templateValues = existing.templateValues;
|
|
@@ -950,14 +950,14 @@ function equals$o(existing, incoming) {
|
|
|
950
950
|
}
|
|
951
951
|
const ingest$c = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
952
952
|
if (process.env.NODE_ENV !== 'production') {
|
|
953
|
-
const validateError = validate$
|
|
953
|
+
const validateError = validate$u(input);
|
|
954
954
|
if (validateError !== null) {
|
|
955
955
|
throw validateError;
|
|
956
956
|
}
|
|
957
957
|
}
|
|
958
958
|
const key = keyBuilderFromType$9(luvio, input);
|
|
959
959
|
const ttlToUse = TTL$c;
|
|
960
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "AppFramework", VERSION$
|
|
960
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "AppFramework", VERSION$n, RepresentationType$c, equals$n);
|
|
961
961
|
return createLink(key);
|
|
962
962
|
};
|
|
963
963
|
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -971,8 +971,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
971
971
|
}
|
|
972
972
|
|
|
973
973
|
const TTL$b = 5000;
|
|
974
|
-
const VERSION$
|
|
975
|
-
function validate$
|
|
974
|
+
const VERSION$m = "2dd7266897d8b84ea0207582ca533d29";
|
|
975
|
+
function validate$t(obj, path = 'AppCollectionRepresentation') {
|
|
976
976
|
const v_error = (() => {
|
|
977
977
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
978
978
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1012,22 +1012,22 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
return input;
|
|
1014
1014
|
}
|
|
1015
|
-
const select$
|
|
1015
|
+
const select$B = function AppCollectionRepresentationSelect() {
|
|
1016
1016
|
return {
|
|
1017
1017
|
kind: 'Fragment',
|
|
1018
|
-
version: VERSION$
|
|
1018
|
+
version: VERSION$m,
|
|
1019
1019
|
private: [],
|
|
1020
1020
|
selections: [
|
|
1021
1021
|
{
|
|
1022
1022
|
name: 'apps',
|
|
1023
1023
|
kind: 'Link',
|
|
1024
1024
|
plural: true,
|
|
1025
|
-
fragment: select$
|
|
1025
|
+
fragment: select$C()
|
|
1026
1026
|
}
|
|
1027
1027
|
]
|
|
1028
1028
|
};
|
|
1029
1029
|
};
|
|
1030
|
-
function equals$
|
|
1030
|
+
function equals$m(existing, incoming) {
|
|
1031
1031
|
const existing_apps = existing.apps;
|
|
1032
1032
|
const incoming_apps = incoming.apps;
|
|
1033
1033
|
const equals_apps_items = equalsArray(existing_apps, incoming_apps, (existing_apps_item, incoming_apps_item) => {
|
|
@@ -1042,14 +1042,14 @@ function equals$n(existing, incoming) {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
const ingest$b = function AppCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1044
1044
|
if (process.env.NODE_ENV !== 'production') {
|
|
1045
|
-
const validateError = validate$
|
|
1045
|
+
const validateError = validate$t(input);
|
|
1046
1046
|
if (validateError !== null) {
|
|
1047
1047
|
throw validateError;
|
|
1048
1048
|
}
|
|
1049
1049
|
}
|
|
1050
1050
|
const key = path.fullPath;
|
|
1051
1051
|
const ttlToUse = TTL$b;
|
|
1052
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "AppFramework", VERSION$
|
|
1052
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "AppFramework", VERSION$m, RepresentationType$b, equals$m);
|
|
1053
1053
|
return createLink(key);
|
|
1054
1054
|
};
|
|
1055
1055
|
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1066,8 +1066,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
}
|
|
1068
1068
|
|
|
1069
|
-
function select$
|
|
1070
|
-
return select$
|
|
1069
|
+
function select$A(luvio, params) {
|
|
1070
|
+
return select$B();
|
|
1071
1071
|
}
|
|
1072
1072
|
function keyBuilder$u(luvio, params) {
|
|
1073
1073
|
return keyPrefix + '::AppCollectionRepresentation:(' + 'templateSourceId:' + params.queryParams.templateSourceId + ',' + 'type:' + params.queryParams.type + ')';
|
|
@@ -1081,7 +1081,7 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1081
1081
|
luvio.storeIngest(key, ingest$b, body);
|
|
1082
1082
|
const snapshot = luvio.storeLookup({
|
|
1083
1083
|
recordId: key,
|
|
1084
|
-
node: select$
|
|
1084
|
+
node: select$A(),
|
|
1085
1085
|
variables: {},
|
|
1086
1086
|
}, snapshotRefresh);
|
|
1087
1087
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1098,7 +1098,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
1098
1098
|
const storeMetadataParams = {
|
|
1099
1099
|
ttl: TTL$b,
|
|
1100
1100
|
namespace: keyPrefix,
|
|
1101
|
-
version: VERSION$
|
|
1101
|
+
version: VERSION$m,
|
|
1102
1102
|
representationName: RepresentationType$b
|
|
1103
1103
|
};
|
|
1104
1104
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -1149,7 +1149,7 @@ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
|
|
|
1149
1149
|
}
|
|
1150
1150
|
function adapterFragment$9(luvio, config) {
|
|
1151
1151
|
createResourceParams$g(config);
|
|
1152
|
-
return select$
|
|
1152
|
+
return select$A();
|
|
1153
1153
|
}
|
|
1154
1154
|
function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
|
|
1155
1155
|
const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
|
|
@@ -1206,8 +1206,8 @@ const getAppsAdapterFactory = (luvio) => function AppFramework__getApps(untruste
|
|
|
1206
1206
|
};
|
|
1207
1207
|
|
|
1208
1208
|
const TTL$a = 5000;
|
|
1209
|
-
const VERSION$
|
|
1210
|
-
function validate$
|
|
1209
|
+
const VERSION$l = "1e01d8ae397bfbae02ba4cfae1dac4fc";
|
|
1210
|
+
function validate$s(obj, path = 'AppResultRepresentation') {
|
|
1211
1211
|
const v_error = (() => {
|
|
1212
1212
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1213
1213
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1290,16 +1290,16 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
1290
1290
|
}, luvio, store, timestamp);
|
|
1291
1291
|
return input;
|
|
1292
1292
|
}
|
|
1293
|
-
const select$
|
|
1293
|
+
const select$z = function AppResultRepresentationSelect() {
|
|
1294
1294
|
return {
|
|
1295
1295
|
kind: 'Fragment',
|
|
1296
|
-
version: VERSION$
|
|
1296
|
+
version: VERSION$l,
|
|
1297
1297
|
private: [],
|
|
1298
1298
|
selections: [
|
|
1299
1299
|
{
|
|
1300
1300
|
name: 'app',
|
|
1301
1301
|
kind: 'Link',
|
|
1302
|
-
fragment: select$
|
|
1302
|
+
fragment: select$C()
|
|
1303
1303
|
},
|
|
1304
1304
|
{
|
|
1305
1305
|
name: 'failureMessage',
|
|
@@ -1317,7 +1317,7 @@ const select$A = function AppResultRepresentationSelect() {
|
|
|
1317
1317
|
]
|
|
1318
1318
|
};
|
|
1319
1319
|
};
|
|
1320
|
-
function equals$
|
|
1320
|
+
function equals$l(existing, incoming) {
|
|
1321
1321
|
const existing_runtimeRequestId = existing.runtimeRequestId;
|
|
1322
1322
|
const incoming_runtimeRequestId = incoming.runtimeRequestId;
|
|
1323
1323
|
if (!(existing_runtimeRequestId === incoming_runtimeRequestId)) {
|
|
@@ -1347,14 +1347,14 @@ function equals$m(existing, incoming) {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
const ingest$a = function AppResultRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1349
1349
|
if (process.env.NODE_ENV !== 'production') {
|
|
1350
|
-
const validateError = validate$
|
|
1350
|
+
const validateError = validate$s(input);
|
|
1351
1351
|
if (validateError !== null) {
|
|
1352
1352
|
throw validateError;
|
|
1353
1353
|
}
|
|
1354
1354
|
}
|
|
1355
1355
|
const key = keyBuilderFromType$8(luvio, input);
|
|
1356
1356
|
const ttlToUse = TTL$a;
|
|
1357
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "AppFramework", VERSION$
|
|
1357
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "AppFramework", VERSION$l, RepresentationType$a, equals$l);
|
|
1358
1358
|
return createLink(key);
|
|
1359
1359
|
};
|
|
1360
1360
|
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1368,8 +1368,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1368
1368
|
getTypeCacheKeys$c(rootKeySet, luvio, input.app);
|
|
1369
1369
|
}
|
|
1370
1370
|
|
|
1371
|
-
function select$
|
|
1372
|
-
return select$
|
|
1371
|
+
function select$y(luvio, params) {
|
|
1372
|
+
return select$z();
|
|
1373
1373
|
}
|
|
1374
1374
|
function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
|
|
1375
1375
|
getTypeCacheKeys$a(storeKeyMap, luvio, response);
|
|
@@ -1380,7 +1380,7 @@ function ingestSuccess$d(luvio, resourceParams, response) {
|
|
|
1380
1380
|
luvio.storeIngest(key, ingest$a, body);
|
|
1381
1381
|
const snapshot = luvio.storeLookup({
|
|
1382
1382
|
recordId: key,
|
|
1383
|
-
node: select$
|
|
1383
|
+
node: select$y(),
|
|
1384
1384
|
variables: {},
|
|
1385
1385
|
});
|
|
1386
1386
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1566,8 +1566,8 @@ const deleteAppAdapterFactory = (luvio) => {
|
|
|
1566
1566
|
};
|
|
1567
1567
|
};
|
|
1568
1568
|
|
|
1569
|
-
function select$
|
|
1570
|
-
return select$
|
|
1569
|
+
function select$x(luvio, params) {
|
|
1570
|
+
return select$C();
|
|
1571
1571
|
}
|
|
1572
1572
|
function keyBuilder$q(luvio, params) {
|
|
1573
1573
|
return keyBuilder$v(luvio, {
|
|
@@ -1583,7 +1583,7 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1583
1583
|
luvio.storeIngest(key, ingest$c, body);
|
|
1584
1584
|
const snapshot = luvio.storeLookup({
|
|
1585
1585
|
recordId: key,
|
|
1586
|
-
node: select$
|
|
1586
|
+
node: select$x(),
|
|
1587
1587
|
variables: {},
|
|
1588
1588
|
}, snapshotRefresh);
|
|
1589
1589
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1600,7 +1600,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
1600
1600
|
const storeMetadataParams = {
|
|
1601
1601
|
ttl: TTL$c,
|
|
1602
1602
|
namespace: keyPrefix,
|
|
1603
|
-
version: VERSION$
|
|
1603
|
+
version: VERSION$n,
|
|
1604
1604
|
representationName: RepresentationType$c
|
|
1605
1605
|
};
|
|
1606
1606
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -1650,7 +1650,7 @@ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|
|
|
1650
1650
|
}
|
|
1651
1651
|
function adapterFragment$8(luvio, config) {
|
|
1652
1652
|
createResourceParams$d(config);
|
|
1653
|
-
return select$
|
|
1653
|
+
return select$x();
|
|
1654
1654
|
}
|
|
1655
1655
|
function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
|
|
1656
1656
|
const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
|
|
@@ -1707,8 +1707,8 @@ const getAppAdapterFactory = (luvio) => function AppFramework__getApp(untrustedC
|
|
|
1707
1707
|
};
|
|
1708
1708
|
|
|
1709
1709
|
const TTL$9 = 5000;
|
|
1710
|
-
const VERSION$
|
|
1711
|
-
function validate$
|
|
1710
|
+
const VERSION$k = "b8e879a936b5069ec247355c66198ca7";
|
|
1711
|
+
function validate$r(obj, path = 'AppActivityItemRepresentation') {
|
|
1712
1712
|
const v_error = (() => {
|
|
1713
1713
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1714
1714
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1764,10 +1764,10 @@ function keyBuilderFromType$7(luvio, object) {
|
|
|
1764
1764
|
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
1765
1765
|
return input;
|
|
1766
1766
|
}
|
|
1767
|
-
const select$
|
|
1767
|
+
const select$w = function AppActivityItemRepresentationSelect() {
|
|
1768
1768
|
return {
|
|
1769
1769
|
kind: 'Fragment',
|
|
1770
|
-
version: VERSION$
|
|
1770
|
+
version: VERSION$k,
|
|
1771
1771
|
private: [],
|
|
1772
1772
|
selections: [
|
|
1773
1773
|
{
|
|
@@ -1794,7 +1794,7 @@ const select$x = function AppActivityItemRepresentationSelect() {
|
|
|
1794
1794
|
]
|
|
1795
1795
|
};
|
|
1796
1796
|
};
|
|
1797
|
-
function equals$
|
|
1797
|
+
function equals$k(existing, incoming) {
|
|
1798
1798
|
const existing_activityType = existing.activityType;
|
|
1799
1799
|
const incoming_activityType = incoming.activityType;
|
|
1800
1800
|
if (!(existing_activityType === incoming_activityType)) {
|
|
@@ -1829,14 +1829,14 @@ function equals$l(existing, incoming) {
|
|
|
1829
1829
|
}
|
|
1830
1830
|
const ingest$9 = function AppActivityItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1831
1831
|
if (process.env.NODE_ENV !== 'production') {
|
|
1832
|
-
const validateError = validate$
|
|
1832
|
+
const validateError = validate$r(input);
|
|
1833
1833
|
if (validateError !== null) {
|
|
1834
1834
|
throw validateError;
|
|
1835
1835
|
}
|
|
1836
1836
|
}
|
|
1837
1837
|
const key = keyBuilderFromType$7(luvio, input);
|
|
1838
1838
|
const ttlToUse = TTL$9;
|
|
1839
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "AppFramework", VERSION$
|
|
1839
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "AppFramework", VERSION$k, RepresentationType$9, equals$k);
|
|
1840
1840
|
return createLink(key);
|
|
1841
1841
|
};
|
|
1842
1842
|
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1850,8 +1850,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1850
1850
|
}
|
|
1851
1851
|
|
|
1852
1852
|
const TTL$8 = 5000;
|
|
1853
|
-
const VERSION$
|
|
1854
|
-
function validate$
|
|
1853
|
+
const VERSION$j = "e0f049ec23678e696fb7c592c9641c65";
|
|
1854
|
+
function validate$q(obj, path = 'AppActivityCollectionRepresentation') {
|
|
1855
1855
|
const v_error = (() => {
|
|
1856
1856
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1857
1857
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1905,10 +1905,10 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
1905
1905
|
}
|
|
1906
1906
|
return input;
|
|
1907
1907
|
}
|
|
1908
|
-
const select$
|
|
1908
|
+
const select$v = function AppActivityCollectionRepresentationSelect() {
|
|
1909
1909
|
return {
|
|
1910
1910
|
kind: 'Fragment',
|
|
1911
|
-
version: VERSION$
|
|
1911
|
+
version: VERSION$j,
|
|
1912
1912
|
private: [],
|
|
1913
1913
|
selections: [
|
|
1914
1914
|
{
|
|
@@ -1919,12 +1919,12 @@ const select$w = function AppActivityCollectionRepresentationSelect() {
|
|
|
1919
1919
|
name: 'items',
|
|
1920
1920
|
kind: 'Link',
|
|
1921
1921
|
plural: true,
|
|
1922
|
-
fragment: select$
|
|
1922
|
+
fragment: select$w()
|
|
1923
1923
|
}
|
|
1924
1924
|
]
|
|
1925
1925
|
};
|
|
1926
1926
|
};
|
|
1927
|
-
function equals$
|
|
1927
|
+
function equals$j(existing, incoming) {
|
|
1928
1928
|
const existing_appId = existing.appId;
|
|
1929
1929
|
const incoming_appId = incoming.appId;
|
|
1930
1930
|
if (!(existing_appId === incoming_appId)) {
|
|
@@ -1944,14 +1944,14 @@ function equals$k(existing, incoming) {
|
|
|
1944
1944
|
}
|
|
1945
1945
|
const ingest$8 = function AppActivityCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1946
1946
|
if (process.env.NODE_ENV !== 'production') {
|
|
1947
|
-
const validateError = validate$
|
|
1947
|
+
const validateError = validate$q(input);
|
|
1948
1948
|
if (validateError !== null) {
|
|
1949
1949
|
throw validateError;
|
|
1950
1950
|
}
|
|
1951
1951
|
}
|
|
1952
1952
|
const key = keyBuilderFromType$6(luvio, input);
|
|
1953
1953
|
const ttlToUse = TTL$8;
|
|
1954
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "AppFramework", VERSION$
|
|
1954
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "AppFramework", VERSION$j, RepresentationType$8, equals$j);
|
|
1955
1955
|
return createLink(key);
|
|
1956
1956
|
};
|
|
1957
1957
|
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1968,8 +1968,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1968
1968
|
}
|
|
1969
1969
|
}
|
|
1970
1970
|
|
|
1971
|
-
function select$
|
|
1972
|
-
return select$
|
|
1971
|
+
function select$u(luvio, params) {
|
|
1972
|
+
return select$v();
|
|
1973
1973
|
}
|
|
1974
1974
|
function keyBuilder$m(luvio, params) {
|
|
1975
1975
|
return keyBuilder$n(luvio, {
|
|
@@ -1985,7 +1985,7 @@ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1985
1985
|
luvio.storeIngest(key, ingest$8, body);
|
|
1986
1986
|
const snapshot = luvio.storeLookup({
|
|
1987
1987
|
recordId: key,
|
|
1988
|
-
node: select$
|
|
1988
|
+
node: select$u(),
|
|
1989
1989
|
variables: {},
|
|
1990
1990
|
}, snapshotRefresh);
|
|
1991
1991
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2002,7 +2002,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
2002
2002
|
const storeMetadataParams = {
|
|
2003
2003
|
ttl: TTL$8,
|
|
2004
2004
|
namespace: keyPrefix,
|
|
2005
|
-
version: VERSION$
|
|
2005
|
+
version: VERSION$j,
|
|
2006
2006
|
representationName: RepresentationType$8
|
|
2007
2007
|
};
|
|
2008
2008
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -2052,7 +2052,7 @@ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
|
2052
2052
|
}
|
|
2053
2053
|
function adapterFragment$7(luvio, config) {
|
|
2054
2054
|
createResourceParams$c(config);
|
|
2055
|
-
return select$
|
|
2055
|
+
return select$u();
|
|
2056
2056
|
}
|
|
2057
2057
|
function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
|
|
2058
2058
|
const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
|
|
@@ -2108,8 +2108,8 @@ const getAppActivitiesAdapterFactory = (luvio) => function AppFramework__getAppA
|
|
|
2108
2108
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
|
|
2109
2109
|
};
|
|
2110
2110
|
|
|
2111
|
-
function select$
|
|
2112
|
-
return select$
|
|
2111
|
+
function select$t(luvio, params) {
|
|
2112
|
+
return select$w();
|
|
2113
2113
|
}
|
|
2114
2114
|
function keyBuilder$k(luvio, params) {
|
|
2115
2115
|
return keyBuilder$o(luvio, {
|
|
@@ -2126,7 +2126,7 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2126
2126
|
luvio.storeIngest(key, ingest$9, body);
|
|
2127
2127
|
const snapshot = luvio.storeLookup({
|
|
2128
2128
|
recordId: key,
|
|
2129
|
-
node: select$
|
|
2129
|
+
node: select$t(),
|
|
2130
2130
|
variables: {},
|
|
2131
2131
|
}, snapshotRefresh);
|
|
2132
2132
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2143,7 +2143,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
2143
2143
|
const storeMetadataParams = {
|
|
2144
2144
|
ttl: TTL$9,
|
|
2145
2145
|
namespace: keyPrefix,
|
|
2146
|
-
version: VERSION$
|
|
2146
|
+
version: VERSION$k,
|
|
2147
2147
|
representationName: RepresentationType$9
|
|
2148
2148
|
};
|
|
2149
2149
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -2194,7 +2194,7 @@ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
|
|
|
2194
2194
|
}
|
|
2195
2195
|
function adapterFragment$6(luvio, config) {
|
|
2196
2196
|
createResourceParams$b(config);
|
|
2197
|
-
return select$
|
|
2197
|
+
return select$t();
|
|
2198
2198
|
}
|
|
2199
2199
|
function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
|
|
2200
2200
|
const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
|
|
@@ -2251,8 +2251,8 @@ const getAppActivityAdapterFactory = (luvio) => function AppFramework__getAppAct
|
|
|
2251
2251
|
};
|
|
2252
2252
|
|
|
2253
2253
|
const TTL$7 = 5000;
|
|
2254
|
-
const VERSION$
|
|
2255
|
-
function validate$
|
|
2254
|
+
const VERSION$i = "b91a35834fb34f4f6cede2d5dc29dc5d";
|
|
2255
|
+
function validate$p(obj, path = 'AssetRepresentation') {
|
|
2256
2256
|
const v_error = (() => {
|
|
2257
2257
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2258
2258
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2418,10 +2418,10 @@ function keyBuilderFromType$5(luvio, object) {
|
|
|
2418
2418
|
function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
2419
2419
|
return input;
|
|
2420
2420
|
}
|
|
2421
|
-
const select$
|
|
2421
|
+
const select$s = function AssetRepresentationSelect() {
|
|
2422
2422
|
return {
|
|
2423
2423
|
kind: 'Fragment',
|
|
2424
|
-
version: VERSION$
|
|
2424
|
+
version: VERSION$i,
|
|
2425
2425
|
private: [],
|
|
2426
2426
|
selections: [
|
|
2427
2427
|
{
|
|
@@ -2459,7 +2459,7 @@ const select$t = function AssetRepresentationSelect() {
|
|
|
2459
2459
|
]
|
|
2460
2460
|
};
|
|
2461
2461
|
};
|
|
2462
|
-
function equals$
|
|
2462
|
+
function equals$i(existing, incoming) {
|
|
2463
2463
|
const existing_appId = existing.appId;
|
|
2464
2464
|
const incoming_appId = incoming.appId;
|
|
2465
2465
|
if (!(existing_appId === incoming_appId)) {
|
|
@@ -2504,14 +2504,14 @@ function equals$j(existing, incoming) {
|
|
|
2504
2504
|
}
|
|
2505
2505
|
const ingest$7 = function AssetRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2506
2506
|
if (process.env.NODE_ENV !== 'production') {
|
|
2507
|
-
const validateError = validate$
|
|
2507
|
+
const validateError = validate$p(input);
|
|
2508
2508
|
if (validateError !== null) {
|
|
2509
2509
|
throw validateError;
|
|
2510
2510
|
}
|
|
2511
2511
|
}
|
|
2512
2512
|
const key = keyBuilderFromType$5(luvio, input);
|
|
2513
2513
|
const ttlToUse = TTL$7;
|
|
2514
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "AppFramework", VERSION$
|
|
2514
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "AppFramework", VERSION$i, RepresentationType$7, equals$i);
|
|
2515
2515
|
return createLink(key);
|
|
2516
2516
|
};
|
|
2517
2517
|
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2525,8 +2525,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2525
2525
|
}
|
|
2526
2526
|
|
|
2527
2527
|
const TTL$6 = 5000;
|
|
2528
|
-
const VERSION$
|
|
2529
|
-
function validate$
|
|
2528
|
+
const VERSION$h = "1a10175fcc2ad43823e47bfbbdf917f6";
|
|
2529
|
+
function validate$o(obj, path = 'AssetCollectionRepresentation') {
|
|
2530
2530
|
const v_error = (() => {
|
|
2531
2531
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2532
2532
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2580,10 +2580,10 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
2580
2580
|
}
|
|
2581
2581
|
return input;
|
|
2582
2582
|
}
|
|
2583
|
-
const select$
|
|
2583
|
+
const select$r = function AssetCollectionRepresentationSelect() {
|
|
2584
2584
|
return {
|
|
2585
2585
|
kind: 'Fragment',
|
|
2586
|
-
version: VERSION$
|
|
2586
|
+
version: VERSION$h,
|
|
2587
2587
|
private: [],
|
|
2588
2588
|
selections: [
|
|
2589
2589
|
{
|
|
@@ -2594,12 +2594,12 @@ const select$s = function AssetCollectionRepresentationSelect() {
|
|
|
2594
2594
|
name: 'assets',
|
|
2595
2595
|
kind: 'Link',
|
|
2596
2596
|
plural: true,
|
|
2597
|
-
fragment: select$
|
|
2597
|
+
fragment: select$s()
|
|
2598
2598
|
}
|
|
2599
2599
|
]
|
|
2600
2600
|
};
|
|
2601
2601
|
};
|
|
2602
|
-
function equals$
|
|
2602
|
+
function equals$h(existing, incoming) {
|
|
2603
2603
|
const existing_appId = existing.appId;
|
|
2604
2604
|
const incoming_appId = incoming.appId;
|
|
2605
2605
|
if (!(existing_appId === incoming_appId)) {
|
|
@@ -2619,14 +2619,14 @@ function equals$i(existing, incoming) {
|
|
|
2619
2619
|
}
|
|
2620
2620
|
const ingest$6 = function AssetCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2621
2621
|
if (process.env.NODE_ENV !== 'production') {
|
|
2622
|
-
const validateError = validate$
|
|
2622
|
+
const validateError = validate$o(input);
|
|
2623
2623
|
if (validateError !== null) {
|
|
2624
2624
|
throw validateError;
|
|
2625
2625
|
}
|
|
2626
2626
|
}
|
|
2627
2627
|
const key = keyBuilderFromType$4(luvio, input);
|
|
2628
2628
|
const ttlToUse = TTL$6;
|
|
2629
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "AppFramework", VERSION$
|
|
2629
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "AppFramework", VERSION$h, RepresentationType$6, equals$h);
|
|
2630
2630
|
return createLink(key);
|
|
2631
2631
|
};
|
|
2632
2632
|
function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2643,8 +2643,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2643
2643
|
}
|
|
2644
2644
|
}
|
|
2645
2645
|
|
|
2646
|
-
function select$
|
|
2647
|
-
return select$
|
|
2646
|
+
function select$q(luvio, params) {
|
|
2647
|
+
return select$r();
|
|
2648
2648
|
}
|
|
2649
2649
|
function keyBuilder$g(luvio, params) {
|
|
2650
2650
|
return keyBuilder$h(luvio, {
|
|
@@ -2660,7 +2660,7 @@ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2660
2660
|
luvio.storeIngest(key, ingest$6, body);
|
|
2661
2661
|
const snapshot = luvio.storeLookup({
|
|
2662
2662
|
recordId: key,
|
|
2663
|
-
node: select$
|
|
2663
|
+
node: select$q(),
|
|
2664
2664
|
variables: {},
|
|
2665
2665
|
}, snapshotRefresh);
|
|
2666
2666
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2677,7 +2677,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
2677
2677
|
const storeMetadataParams = {
|
|
2678
2678
|
ttl: TTL$6,
|
|
2679
2679
|
namespace: keyPrefix,
|
|
2680
|
-
version: VERSION$
|
|
2680
|
+
version: VERSION$h,
|
|
2681
2681
|
representationName: RepresentationType$6
|
|
2682
2682
|
};
|
|
2683
2683
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -2729,7 +2729,7 @@ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
|
2729
2729
|
}
|
|
2730
2730
|
function adapterFragment$5(luvio, config) {
|
|
2731
2731
|
createResourceParams$a(config);
|
|
2732
|
-
return select$
|
|
2732
|
+
return select$q();
|
|
2733
2733
|
}
|
|
2734
2734
|
function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
|
|
2735
2735
|
const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
|
|
@@ -2786,8 +2786,8 @@ const getAppAssetsAdapterFactory = (luvio) => function AppFramework__getAppAsset
|
|
|
2786
2786
|
};
|
|
2787
2787
|
|
|
2788
2788
|
const TTL$5 = 5000;
|
|
2789
|
-
const VERSION$
|
|
2790
|
-
function validate$
|
|
2789
|
+
const VERSION$g = "4b0d1bee319e31459f529b802621d6b8";
|
|
2790
|
+
function validate$n(obj, path = 'InstalledAssetCollectionRepresentation') {
|
|
2791
2791
|
const v_error = (() => {
|
|
2792
2792
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2793
2793
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2827,22 +2827,22 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
|
2827
2827
|
}
|
|
2828
2828
|
return input;
|
|
2829
2829
|
}
|
|
2830
|
-
const select$
|
|
2830
|
+
const select$p = function InstalledAssetCollectionRepresentationSelect() {
|
|
2831
2831
|
return {
|
|
2832
2832
|
kind: 'Fragment',
|
|
2833
|
-
version: VERSION$
|
|
2833
|
+
version: VERSION$g,
|
|
2834
2834
|
private: [],
|
|
2835
2835
|
selections: [
|
|
2836
2836
|
{
|
|
2837
2837
|
name: 'assets',
|
|
2838
2838
|
kind: 'Link',
|
|
2839
2839
|
plural: true,
|
|
2840
|
-
fragment: select$
|
|
2840
|
+
fragment: select$s()
|
|
2841
2841
|
}
|
|
2842
2842
|
]
|
|
2843
2843
|
};
|
|
2844
2844
|
};
|
|
2845
|
-
function equals$
|
|
2845
|
+
function equals$g(existing, incoming) {
|
|
2846
2846
|
const existing_assets = existing.assets;
|
|
2847
2847
|
const incoming_assets = incoming.assets;
|
|
2848
2848
|
const equals_assets_items = equalsArray(existing_assets, incoming_assets, (existing_assets_item, incoming_assets_item) => {
|
|
@@ -2857,14 +2857,14 @@ function equals$h(existing, incoming) {
|
|
|
2857
2857
|
}
|
|
2858
2858
|
const ingest$5 = function InstalledAssetCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2859
2859
|
if (process.env.NODE_ENV !== 'production') {
|
|
2860
|
-
const validateError = validate$
|
|
2860
|
+
const validateError = validate$n(input);
|
|
2861
2861
|
if (validateError !== null) {
|
|
2862
2862
|
throw validateError;
|
|
2863
2863
|
}
|
|
2864
2864
|
}
|
|
2865
2865
|
const key = path.fullPath;
|
|
2866
2866
|
const ttlToUse = TTL$5;
|
|
2867
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "AppFramework", VERSION$
|
|
2867
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "AppFramework", VERSION$g, RepresentationType$5, equals$g);
|
|
2868
2868
|
return createLink(key);
|
|
2869
2869
|
};
|
|
2870
2870
|
function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2881,8 +2881,8 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2881
2881
|
}
|
|
2882
2882
|
}
|
|
2883
2883
|
|
|
2884
|
-
function select$
|
|
2885
|
-
return select$
|
|
2884
|
+
function select$o(luvio, params) {
|
|
2885
|
+
return select$p();
|
|
2886
2886
|
}
|
|
2887
2887
|
function keyBuilder$e(luvio, params) {
|
|
2888
2888
|
return keyPrefix + '::InstalledAssetCollectionRepresentation:(' + 'assetIdOrName:' + params.queryParams.assetIdOrName + ',' + 'assetType:' + params.queryParams.assetType + ')';
|
|
@@ -2896,7 +2896,7 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2896
2896
|
luvio.storeIngest(key, ingest$5, body);
|
|
2897
2897
|
const snapshot = luvio.storeLookup({
|
|
2898
2898
|
recordId: key,
|
|
2899
|
-
node: select$
|
|
2899
|
+
node: select$o(),
|
|
2900
2900
|
variables: {},
|
|
2901
2901
|
}, snapshotRefresh);
|
|
2902
2902
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2913,7 +2913,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
2913
2913
|
const storeMetadataParams = {
|
|
2914
2914
|
ttl: TTL$5,
|
|
2915
2915
|
namespace: keyPrefix,
|
|
2916
|
-
version: VERSION$
|
|
2916
|
+
version: VERSION$g,
|
|
2917
2917
|
representationName: RepresentationType$5
|
|
2918
2918
|
};
|
|
2919
2919
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -2964,7 +2964,7 @@ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
|
2964
2964
|
}
|
|
2965
2965
|
function adapterFragment$4(luvio, config) {
|
|
2966
2966
|
createResourceParams$9(config);
|
|
2967
|
-
return select$
|
|
2967
|
+
return select$o();
|
|
2968
2968
|
}
|
|
2969
2969
|
function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
|
|
2970
2970
|
const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
|
|
@@ -3020,8 +3020,8 @@ const getInstalledAssetsAdapterFactory = (luvio) => function AppFramework__getIn
|
|
|
3020
3020
|
buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
|
|
3021
3021
|
};
|
|
3022
3022
|
|
|
3023
|
-
const VERSION$
|
|
3024
|
-
function validate$
|
|
3023
|
+
const VERSION$f = "37cd2df78831b62dfcd672b30f4ca0eb";
|
|
3024
|
+
function validate$m(obj, path = 'ChainDefinitionRepresentation') {
|
|
3025
3025
|
const v_error = (() => {
|
|
3026
3026
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3027
3027
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3091,10 +3091,10 @@ function validate$n(obj, path = 'ChainDefinitionRepresentation') {
|
|
|
3091
3091
|
})();
|
|
3092
3092
|
return v_error === undefined ? null : v_error;
|
|
3093
3093
|
}
|
|
3094
|
-
const select$
|
|
3094
|
+
const select$n = function ChainDefinitionRepresentationSelect() {
|
|
3095
3095
|
return {
|
|
3096
3096
|
kind: 'Fragment',
|
|
3097
|
-
version: VERSION$
|
|
3097
|
+
version: VERSION$f,
|
|
3098
3098
|
private: [],
|
|
3099
3099
|
selections: [
|
|
3100
3100
|
{
|
|
@@ -3116,7 +3116,7 @@ const select$o = function ChainDefinitionRepresentationSelect() {
|
|
|
3116
3116
|
]
|
|
3117
3117
|
};
|
|
3118
3118
|
};
|
|
3119
|
-
function equals$
|
|
3119
|
+
function equals$f(existing, incoming) {
|
|
3120
3120
|
const existing_file = existing.file;
|
|
3121
3121
|
const incoming_file = incoming.file;
|
|
3122
3122
|
if (!(existing_file === incoming_file)) {
|
|
@@ -3140,79 +3140,155 @@ function equals$g(existing, incoming) {
|
|
|
3140
3140
|
return true;
|
|
3141
3141
|
}
|
|
3142
3142
|
|
|
3143
|
-
const VERSION$
|
|
3144
|
-
function validate$
|
|
3143
|
+
const VERSION$e = "c0e40695f975d64bf46ee8f48e2b5f38";
|
|
3144
|
+
function validate$l(obj, path = 'ImageReferenceRepresentation') {
|
|
3145
3145
|
const v_error = (() => {
|
|
3146
3146
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3147
3147
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3148
3148
|
}
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3149
|
+
if (obj.id !== undefined) {
|
|
3150
|
+
const obj_id = obj.id;
|
|
3151
|
+
const path_id = path + '.id';
|
|
3152
|
+
if (typeof obj_id !== 'string') {
|
|
3153
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
3154
|
+
}
|
|
3153
3155
|
}
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3156
|
+
if (obj.label !== undefined) {
|
|
3157
|
+
const obj_label = obj.label;
|
|
3158
|
+
const path_label = path + '.label';
|
|
3159
|
+
if (typeof obj_label !== 'string') {
|
|
3160
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
3161
|
+
}
|
|
3162
|
+
}
|
|
3163
|
+
if (obj.name !== undefined) {
|
|
3164
|
+
const obj_name = obj.name;
|
|
3165
|
+
const path_name = path + '.name';
|
|
3166
|
+
if (typeof obj_name !== 'string') {
|
|
3167
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
3168
|
+
}
|
|
3169
|
+
}
|
|
3170
|
+
if (obj.namespace !== undefined) {
|
|
3171
|
+
const obj_namespace = obj.namespace;
|
|
3172
|
+
const path_namespace = path + '.namespace';
|
|
3158
3173
|
if (typeof obj_namespace !== 'string') {
|
|
3159
3174
|
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
3160
3175
|
}
|
|
3161
|
-
})();
|
|
3162
|
-
if (obj_namespace_union0_error != null) {
|
|
3163
|
-
obj_namespace_union0 = obj_namespace_union0_error.message;
|
|
3164
3176
|
}
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3177
|
+
if (obj.url !== undefined) {
|
|
3178
|
+
const obj_url = obj.url;
|
|
3179
|
+
const path_url = path + '.url';
|
|
3180
|
+
if (typeof obj_url !== 'string') {
|
|
3181
|
+
return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
|
|
3169
3182
|
}
|
|
3170
|
-
})();
|
|
3171
|
-
if (obj_namespace_union1_error != null) {
|
|
3172
|
-
obj_namespace_union1 = obj_namespace_union1_error.message;
|
|
3173
|
-
}
|
|
3174
|
-
if (obj_namespace_union0 && obj_namespace_union1) {
|
|
3175
|
-
let message = 'Object doesn\'t match union (at "' + path_namespace + '")';
|
|
3176
|
-
message += '\n' + obj_namespace_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3177
|
-
message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3178
|
-
return new TypeError(message);
|
|
3179
3183
|
}
|
|
3180
3184
|
})();
|
|
3181
3185
|
return v_error === undefined ? null : v_error;
|
|
3182
3186
|
}
|
|
3183
|
-
const select$
|
|
3187
|
+
const select$m = function ImageReferenceRepresentationSelect() {
|
|
3184
3188
|
return {
|
|
3185
3189
|
kind: 'Fragment',
|
|
3186
|
-
version: VERSION$
|
|
3190
|
+
version: VERSION$e,
|
|
3187
3191
|
private: [],
|
|
3188
3192
|
selections: [
|
|
3193
|
+
{
|
|
3194
|
+
name: 'id',
|
|
3195
|
+
kind: 'Scalar',
|
|
3196
|
+
required: false
|
|
3197
|
+
},
|
|
3198
|
+
{
|
|
3199
|
+
name: 'label',
|
|
3200
|
+
kind: 'Scalar',
|
|
3201
|
+
required: false
|
|
3202
|
+
},
|
|
3189
3203
|
{
|
|
3190
3204
|
name: 'name',
|
|
3191
|
-
kind: 'Scalar'
|
|
3205
|
+
kind: 'Scalar',
|
|
3206
|
+
required: false
|
|
3192
3207
|
},
|
|
3193
3208
|
{
|
|
3194
3209
|
name: 'namespace',
|
|
3195
|
-
kind: 'Scalar'
|
|
3210
|
+
kind: 'Scalar',
|
|
3211
|
+
required: false
|
|
3212
|
+
},
|
|
3213
|
+
{
|
|
3214
|
+
name: 'url',
|
|
3215
|
+
kind: 'Scalar',
|
|
3216
|
+
required: false
|
|
3196
3217
|
}
|
|
3197
3218
|
]
|
|
3198
3219
|
};
|
|
3199
3220
|
};
|
|
3200
|
-
function equals$
|
|
3221
|
+
function equals$e(existing, incoming) {
|
|
3222
|
+
const existing_id = existing.id;
|
|
3223
|
+
const incoming_id = incoming.id;
|
|
3224
|
+
// if at least one of these optionals is defined
|
|
3225
|
+
if (existing_id !== undefined || incoming_id !== undefined) {
|
|
3226
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3227
|
+
// not equal
|
|
3228
|
+
if (existing_id === undefined || incoming_id === undefined) {
|
|
3229
|
+
return false;
|
|
3230
|
+
}
|
|
3231
|
+
if (!(existing_id === incoming_id)) {
|
|
3232
|
+
return false;
|
|
3233
|
+
}
|
|
3234
|
+
}
|
|
3235
|
+
const existing_label = existing.label;
|
|
3236
|
+
const incoming_label = incoming.label;
|
|
3237
|
+
// if at least one of these optionals is defined
|
|
3238
|
+
if (existing_label !== undefined || incoming_label !== undefined) {
|
|
3239
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3240
|
+
// not equal
|
|
3241
|
+
if (existing_label === undefined || incoming_label === undefined) {
|
|
3242
|
+
return false;
|
|
3243
|
+
}
|
|
3244
|
+
if (!(existing_label === incoming_label)) {
|
|
3245
|
+
return false;
|
|
3246
|
+
}
|
|
3247
|
+
}
|
|
3201
3248
|
const existing_name = existing.name;
|
|
3202
3249
|
const incoming_name = incoming.name;
|
|
3203
|
-
if
|
|
3204
|
-
|
|
3250
|
+
// if at least one of these optionals is defined
|
|
3251
|
+
if (existing_name !== undefined || incoming_name !== undefined) {
|
|
3252
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3253
|
+
// not equal
|
|
3254
|
+
if (existing_name === undefined || incoming_name === undefined) {
|
|
3255
|
+
return false;
|
|
3256
|
+
}
|
|
3257
|
+
if (!(existing_name === incoming_name)) {
|
|
3258
|
+
return false;
|
|
3259
|
+
}
|
|
3205
3260
|
}
|
|
3206
3261
|
const existing_namespace = existing.namespace;
|
|
3207
3262
|
const incoming_namespace = incoming.namespace;
|
|
3208
|
-
if
|
|
3209
|
-
|
|
3263
|
+
// if at least one of these optionals is defined
|
|
3264
|
+
if (existing_namespace !== undefined || incoming_namespace !== undefined) {
|
|
3265
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3266
|
+
// not equal
|
|
3267
|
+
if (existing_namespace === undefined || incoming_namespace === undefined) {
|
|
3268
|
+
return false;
|
|
3269
|
+
}
|
|
3270
|
+
if (!(existing_namespace === incoming_namespace)) {
|
|
3271
|
+
return false;
|
|
3272
|
+
}
|
|
3273
|
+
}
|
|
3274
|
+
const existing_url = existing.url;
|
|
3275
|
+
const incoming_url = incoming.url;
|
|
3276
|
+
// if at least one of these optionals is defined
|
|
3277
|
+
if (existing_url !== undefined || incoming_url !== undefined) {
|
|
3278
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3279
|
+
// not equal
|
|
3280
|
+
if (existing_url === undefined || incoming_url === undefined) {
|
|
3281
|
+
return false;
|
|
3282
|
+
}
|
|
3283
|
+
if (!(existing_url === incoming_url)) {
|
|
3284
|
+
return false;
|
|
3285
|
+
}
|
|
3210
3286
|
}
|
|
3211
3287
|
return true;
|
|
3212
3288
|
}
|
|
3213
3289
|
|
|
3214
|
-
const VERSION$
|
|
3215
|
-
function validate$
|
|
3290
|
+
const VERSION$d = "03654b29de6009c4d1dd92d0cd14994f";
|
|
3291
|
+
function validate$k(obj, path = 'TemplatePreviewRepresentation') {
|
|
3216
3292
|
const v_error = (() => {
|
|
3217
3293
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3218
3294
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3243,8 +3319,34 @@ function validate$l(obj, path = 'TemplatePreviewRepresentation') {
|
|
|
3243
3319
|
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3244
3320
|
return new TypeError(message);
|
|
3245
3321
|
}
|
|
3246
|
-
const
|
|
3247
|
-
const
|
|
3322
|
+
const obj_id = obj.id;
|
|
3323
|
+
const path_id = path + '.id';
|
|
3324
|
+
let obj_id_union0 = null;
|
|
3325
|
+
const obj_id_union0_error = (() => {
|
|
3326
|
+
if (typeof obj_id !== 'string') {
|
|
3327
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
3328
|
+
}
|
|
3329
|
+
})();
|
|
3330
|
+
if (obj_id_union0_error != null) {
|
|
3331
|
+
obj_id_union0 = obj_id_union0_error.message;
|
|
3332
|
+
}
|
|
3333
|
+
let obj_id_union1 = null;
|
|
3334
|
+
const obj_id_union1_error = (() => {
|
|
3335
|
+
if (obj_id !== null) {
|
|
3336
|
+
return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
3337
|
+
}
|
|
3338
|
+
})();
|
|
3339
|
+
if (obj_id_union1_error != null) {
|
|
3340
|
+
obj_id_union1 = obj_id_union1_error.message;
|
|
3341
|
+
}
|
|
3342
|
+
if (obj_id_union0 && obj_id_union1) {
|
|
3343
|
+
let message = 'Object doesn\'t match union (at "' + path_id + '")';
|
|
3344
|
+
message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3345
|
+
message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3346
|
+
return new TypeError(message);
|
|
3347
|
+
}
|
|
3348
|
+
const obj_label = obj.label;
|
|
3349
|
+
const path_label = path + '.label';
|
|
3248
3350
|
let obj_label_union0 = null;
|
|
3249
3351
|
const obj_label_union0_error = (() => {
|
|
3250
3352
|
if (typeof obj_label !== 'string') {
|
|
@@ -3271,8 +3373,29 @@ function validate$l(obj, path = 'TemplatePreviewRepresentation') {
|
|
|
3271
3373
|
}
|
|
3272
3374
|
const obj_name = obj.name;
|
|
3273
3375
|
const path_name = path + '.name';
|
|
3274
|
-
|
|
3275
|
-
|
|
3376
|
+
let obj_name_union0 = null;
|
|
3377
|
+
const obj_name_union0_error = (() => {
|
|
3378
|
+
if (typeof obj_name !== 'string') {
|
|
3379
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
3380
|
+
}
|
|
3381
|
+
})();
|
|
3382
|
+
if (obj_name_union0_error != null) {
|
|
3383
|
+
obj_name_union0 = obj_name_union0_error.message;
|
|
3384
|
+
}
|
|
3385
|
+
let obj_name_union1 = null;
|
|
3386
|
+
const obj_name_union1_error = (() => {
|
|
3387
|
+
if (obj_name !== null) {
|
|
3388
|
+
return new TypeError('Expected "null" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
3389
|
+
}
|
|
3390
|
+
})();
|
|
3391
|
+
if (obj_name_union1_error != null) {
|
|
3392
|
+
obj_name_union1 = obj_name_union1_error.message;
|
|
3393
|
+
}
|
|
3394
|
+
if (obj_name_union0 && obj_name_union1) {
|
|
3395
|
+
let message = 'Object doesn\'t match union (at "' + path_name + '")';
|
|
3396
|
+
message += '\n' + obj_name_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3397
|
+
message += '\n' + obj_name_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3398
|
+
return new TypeError(message);
|
|
3276
3399
|
}
|
|
3277
3400
|
const obj_namespace = obj.namespace;
|
|
3278
3401
|
const path_namespace = path + '.namespace';
|
|
@@ -3300,19 +3423,49 @@ function validate$l(obj, path = 'TemplatePreviewRepresentation') {
|
|
|
3300
3423
|
message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3301
3424
|
return new TypeError(message);
|
|
3302
3425
|
}
|
|
3426
|
+
const obj_url = obj.url;
|
|
3427
|
+
const path_url = path + '.url';
|
|
3428
|
+
let obj_url_union0 = null;
|
|
3429
|
+
const obj_url_union0_error = (() => {
|
|
3430
|
+
if (typeof obj_url !== 'string') {
|
|
3431
|
+
return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
|
|
3432
|
+
}
|
|
3433
|
+
})();
|
|
3434
|
+
if (obj_url_union0_error != null) {
|
|
3435
|
+
obj_url_union0 = obj_url_union0_error.message;
|
|
3436
|
+
}
|
|
3437
|
+
let obj_url_union1 = null;
|
|
3438
|
+
const obj_url_union1_error = (() => {
|
|
3439
|
+
if (obj_url !== null) {
|
|
3440
|
+
return new TypeError('Expected "null" but received "' + typeof obj_url + '" (at "' + path_url + '")');
|
|
3441
|
+
}
|
|
3442
|
+
})();
|
|
3443
|
+
if (obj_url_union1_error != null) {
|
|
3444
|
+
obj_url_union1 = obj_url_union1_error.message;
|
|
3445
|
+
}
|
|
3446
|
+
if (obj_url_union0 && obj_url_union1) {
|
|
3447
|
+
let message = 'Object doesn\'t match union (at "' + path_url + '")';
|
|
3448
|
+
message += '\n' + obj_url_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3449
|
+
message += '\n' + obj_url_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3450
|
+
return new TypeError(message);
|
|
3451
|
+
}
|
|
3303
3452
|
})();
|
|
3304
3453
|
return v_error === undefined ? null : v_error;
|
|
3305
3454
|
}
|
|
3306
|
-
const select$
|
|
3455
|
+
const select$l = function TemplatePreviewRepresentationSelect() {
|
|
3307
3456
|
return {
|
|
3308
3457
|
kind: 'Fragment',
|
|
3309
|
-
version: VERSION$
|
|
3458
|
+
version: VERSION$d,
|
|
3310
3459
|
private: [],
|
|
3311
3460
|
selections: [
|
|
3312
3461
|
{
|
|
3313
3462
|
name: 'description',
|
|
3314
3463
|
kind: 'Scalar'
|
|
3315
3464
|
},
|
|
3465
|
+
{
|
|
3466
|
+
name: 'id',
|
|
3467
|
+
kind: 'Scalar'
|
|
3468
|
+
},
|
|
3316
3469
|
{
|
|
3317
3470
|
name: 'label',
|
|
3318
3471
|
kind: 'Scalar'
|
|
@@ -3324,36 +3477,50 @@ const select$m = function TemplatePreviewRepresentationSelect() {
|
|
|
3324
3477
|
{
|
|
3325
3478
|
name: 'namespace',
|
|
3326
3479
|
kind: 'Scalar'
|
|
3480
|
+
},
|
|
3481
|
+
{
|
|
3482
|
+
name: 'url',
|
|
3483
|
+
kind: 'Scalar'
|
|
3327
3484
|
}
|
|
3328
3485
|
]
|
|
3329
3486
|
};
|
|
3330
3487
|
};
|
|
3331
|
-
function equals$
|
|
3332
|
-
const existing_name = existing.name;
|
|
3333
|
-
const incoming_name = incoming.name;
|
|
3334
|
-
if (!(existing_name === incoming_name)) {
|
|
3335
|
-
return false;
|
|
3336
|
-
}
|
|
3488
|
+
function equals$d(existing, incoming) {
|
|
3337
3489
|
const existing_description = existing.description;
|
|
3338
3490
|
const incoming_description = incoming.description;
|
|
3339
3491
|
if (!(existing_description === incoming_description)) {
|
|
3340
3492
|
return false;
|
|
3341
3493
|
}
|
|
3494
|
+
const existing_id = existing.id;
|
|
3495
|
+
const incoming_id = incoming.id;
|
|
3496
|
+
if (!(existing_id === incoming_id)) {
|
|
3497
|
+
return false;
|
|
3498
|
+
}
|
|
3342
3499
|
const existing_label = existing.label;
|
|
3343
3500
|
const incoming_label = incoming.label;
|
|
3344
3501
|
if (!(existing_label === incoming_label)) {
|
|
3345
3502
|
return false;
|
|
3346
3503
|
}
|
|
3504
|
+
const existing_name = existing.name;
|
|
3505
|
+
const incoming_name = incoming.name;
|
|
3506
|
+
if (!(existing_name === incoming_name)) {
|
|
3507
|
+
return false;
|
|
3508
|
+
}
|
|
3347
3509
|
const existing_namespace = existing.namespace;
|
|
3348
3510
|
const incoming_namespace = incoming.namespace;
|
|
3349
3511
|
if (!(existing_namespace === incoming_namespace)) {
|
|
3350
3512
|
return false;
|
|
3351
3513
|
}
|
|
3514
|
+
const existing_url = existing.url;
|
|
3515
|
+
const incoming_url = incoming.url;
|
|
3516
|
+
if (!(existing_url === incoming_url)) {
|
|
3517
|
+
return false;
|
|
3518
|
+
}
|
|
3352
3519
|
return true;
|
|
3353
3520
|
}
|
|
3354
3521
|
|
|
3355
|
-
const VERSION$
|
|
3356
|
-
function validate$
|
|
3522
|
+
const VERSION$c = "60cbf330de3d87a0dfeedb031eb8751c";
|
|
3523
|
+
function validate$j(obj, path = 'TemplateIconsRepresentation') {
|
|
3357
3524
|
const v_error = (() => {
|
|
3358
3525
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3359
3526
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3362,9 +3529,9 @@ function validate$k(obj, path = 'TemplateIconsRepresentation') {
|
|
|
3362
3529
|
const path_appBadge = path + '.appBadge';
|
|
3363
3530
|
let obj_appBadge_union0 = null;
|
|
3364
3531
|
const obj_appBadge_union0_error = (() => {
|
|
3365
|
-
const referencepath_appBadgeValidationError = validate$
|
|
3532
|
+
const referencepath_appBadgeValidationError = validate$l(obj_appBadge, path_appBadge);
|
|
3366
3533
|
if (referencepath_appBadgeValidationError !== null) {
|
|
3367
|
-
let message = 'Object doesn\'t match
|
|
3534
|
+
let message = 'Object doesn\'t match ImageReferenceRepresentation (at "' + path_appBadge + '")\n';
|
|
3368
3535
|
message += referencepath_appBadgeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3369
3536
|
return new TypeError(message);
|
|
3370
3537
|
}
|
|
@@ -3391,9 +3558,9 @@ function validate$k(obj, path = 'TemplateIconsRepresentation') {
|
|
|
3391
3558
|
const path_templateBadge = path + '.templateBadge';
|
|
3392
3559
|
let obj_templateBadge_union0 = null;
|
|
3393
3560
|
const obj_templateBadge_union0_error = (() => {
|
|
3394
|
-
const referencepath_templateBadgeValidationError = validate$
|
|
3561
|
+
const referencepath_templateBadgeValidationError = validate$l(obj_templateBadge, path_templateBadge);
|
|
3395
3562
|
if (referencepath_templateBadgeValidationError !== null) {
|
|
3396
|
-
let message = 'Object doesn\'t match
|
|
3563
|
+
let message = 'Object doesn\'t match ImageReferenceRepresentation (at "' + path_templateBadge + '")\n';
|
|
3397
3564
|
message += referencepath_templateBadgeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3398
3565
|
return new TypeError(message);
|
|
3399
3566
|
}
|
|
@@ -3424,7 +3591,7 @@ function validate$k(obj, path = 'TemplateIconsRepresentation') {
|
|
|
3424
3591
|
for (let i = 0; i < obj_templatePreviews.length; i++) {
|
|
3425
3592
|
const obj_templatePreviews_item = obj_templatePreviews[i];
|
|
3426
3593
|
const path_templatePreviews_item = path_templatePreviews + '[' + i + ']';
|
|
3427
|
-
const referencepath_templatePreviews_itemValidationError = validate$
|
|
3594
|
+
const referencepath_templatePreviews_itemValidationError = validate$k(obj_templatePreviews_item, path_templatePreviews_item);
|
|
3428
3595
|
if (referencepath_templatePreviews_itemValidationError !== null) {
|
|
3429
3596
|
let message = 'Object doesn\'t match TemplatePreviewRepresentation (at "' + path_templatePreviews_item + '")\n';
|
|
3430
3597
|
message += referencepath_templatePreviews_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3434,25 +3601,25 @@ function validate$k(obj, path = 'TemplateIconsRepresentation') {
|
|
|
3434
3601
|
})();
|
|
3435
3602
|
return v_error === undefined ? null : v_error;
|
|
3436
3603
|
}
|
|
3437
|
-
const select$
|
|
3438
|
-
const { selections:
|
|
3439
|
-
const { selections: TemplatePreviewRepresentation__selections, opaque: TemplatePreviewRepresentation__opaque, } = select$
|
|
3604
|
+
const select$k = function TemplateIconsRepresentationSelect() {
|
|
3605
|
+
const { selections: ImageReferenceRepresentation__selections, opaque: ImageReferenceRepresentation__opaque, } = select$m();
|
|
3606
|
+
const { selections: TemplatePreviewRepresentation__selections, opaque: TemplatePreviewRepresentation__opaque, } = select$l();
|
|
3440
3607
|
return {
|
|
3441
3608
|
kind: 'Fragment',
|
|
3442
|
-
version: VERSION$
|
|
3609
|
+
version: VERSION$c,
|
|
3443
3610
|
private: [],
|
|
3444
3611
|
selections: [
|
|
3445
3612
|
{
|
|
3446
3613
|
name: 'appBadge',
|
|
3447
3614
|
kind: 'Object',
|
|
3448
3615
|
nullable: true,
|
|
3449
|
-
selections:
|
|
3616
|
+
selections: ImageReferenceRepresentation__selections
|
|
3450
3617
|
},
|
|
3451
3618
|
{
|
|
3452
3619
|
name: 'templateBadge',
|
|
3453
3620
|
kind: 'Object',
|
|
3454
3621
|
nullable: true,
|
|
3455
|
-
selections:
|
|
3622
|
+
selections: ImageReferenceRepresentation__selections
|
|
3456
3623
|
},
|
|
3457
3624
|
{
|
|
3458
3625
|
name: 'templatePreviews',
|
|
@@ -3463,13 +3630,13 @@ const select$l = function TemplateIconsRepresentationSelect() {
|
|
|
3463
3630
|
]
|
|
3464
3631
|
};
|
|
3465
3632
|
};
|
|
3466
|
-
function equals$
|
|
3633
|
+
function equals$c(existing, incoming) {
|
|
3467
3634
|
const existing_appBadge = existing.appBadge;
|
|
3468
3635
|
const incoming_appBadge = incoming.appBadge;
|
|
3469
3636
|
if (!(existing_appBadge === incoming_appBadge
|
|
3470
3637
|
|| (existing_appBadge != null &&
|
|
3471
3638
|
incoming_appBadge != null &&
|
|
3472
|
-
equals$
|
|
3639
|
+
equals$e(existing_appBadge, incoming_appBadge)))) {
|
|
3473
3640
|
return false;
|
|
3474
3641
|
}
|
|
3475
3642
|
const existing_templateBadge = existing.templateBadge;
|
|
@@ -3477,13 +3644,13 @@ function equals$d(existing, incoming) {
|
|
|
3477
3644
|
if (!(existing_templateBadge === incoming_templateBadge
|
|
3478
3645
|
|| (existing_templateBadge != null &&
|
|
3479
3646
|
incoming_templateBadge != null &&
|
|
3480
|
-
equals$
|
|
3647
|
+
equals$e(existing_templateBadge, incoming_templateBadge)))) {
|
|
3481
3648
|
return false;
|
|
3482
3649
|
}
|
|
3483
3650
|
const existing_templatePreviews = existing.templatePreviews;
|
|
3484
3651
|
const incoming_templatePreviews = incoming.templatePreviews;
|
|
3485
3652
|
const equals_templatePreviews_items = equalsArray(existing_templatePreviews, incoming_templatePreviews, (existing_templatePreviews_item, incoming_templatePreviews_item) => {
|
|
3486
|
-
if (!(equals$
|
|
3653
|
+
if (!(equals$d(existing_templatePreviews_item, incoming_templatePreviews_item))) {
|
|
3487
3654
|
return false;
|
|
3488
3655
|
}
|
|
3489
3656
|
});
|
|
@@ -3493,8 +3660,8 @@ function equals$d(existing, incoming) {
|
|
|
3493
3660
|
return true;
|
|
3494
3661
|
}
|
|
3495
3662
|
|
|
3496
|
-
const VERSION$
|
|
3497
|
-
function validate$
|
|
3663
|
+
const VERSION$b = "3fc4320afdc399fc752a2e482573a828";
|
|
3664
|
+
function validate$i(obj, path = 'ReleaseInfoRepresentation') {
|
|
3498
3665
|
const v_error = (() => {
|
|
3499
3666
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3500
3667
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3533,10 +3700,10 @@ function validate$j(obj, path = 'ReleaseInfoRepresentation') {
|
|
|
3533
3700
|
})();
|
|
3534
3701
|
return v_error === undefined ? null : v_error;
|
|
3535
3702
|
}
|
|
3536
|
-
const select$
|
|
3703
|
+
const select$j = function ReleaseInfoRepresentationSelect() {
|
|
3537
3704
|
return {
|
|
3538
3705
|
kind: 'Fragment',
|
|
3539
|
-
version: VERSION$
|
|
3706
|
+
version: VERSION$b,
|
|
3540
3707
|
private: [],
|
|
3541
3708
|
selections: [
|
|
3542
3709
|
{
|
|
@@ -3550,7 +3717,7 @@ const select$k = function ReleaseInfoRepresentationSelect() {
|
|
|
3550
3717
|
]
|
|
3551
3718
|
};
|
|
3552
3719
|
};
|
|
3553
|
-
function equals$
|
|
3720
|
+
function equals$b(existing, incoming) {
|
|
3554
3721
|
const existing_templateVersion = existing.templateVersion;
|
|
3555
3722
|
const incoming_templateVersion = incoming.templateVersion;
|
|
3556
3723
|
if (!(existing_templateVersion === incoming_templateVersion)) {
|
|
@@ -3564,8 +3731,8 @@ function equals$c(existing, incoming) {
|
|
|
3564
3731
|
return true;
|
|
3565
3732
|
}
|
|
3566
3733
|
|
|
3567
|
-
const VERSION$
|
|
3568
|
-
function validate$
|
|
3734
|
+
const VERSION$a = "11e304d2f006486e36c7ceadcc930fca";
|
|
3735
|
+
function validate$h(obj, path = 'RuleInfoRepresentation') {
|
|
3569
3736
|
const v_error = (() => {
|
|
3570
3737
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3571
3738
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3583,10 +3750,10 @@ function validate$i(obj, path = 'RuleInfoRepresentation') {
|
|
|
3583
3750
|
})();
|
|
3584
3751
|
return v_error === undefined ? null : v_error;
|
|
3585
3752
|
}
|
|
3586
|
-
const select$
|
|
3753
|
+
const select$i = function RuleInfoRepresentationSelect() {
|
|
3587
3754
|
return {
|
|
3588
3755
|
kind: 'Fragment',
|
|
3589
|
-
version: VERSION$
|
|
3756
|
+
version: VERSION$a,
|
|
3590
3757
|
private: [],
|
|
3591
3758
|
selections: [
|
|
3592
3759
|
{
|
|
@@ -3600,7 +3767,7 @@ const select$j = function RuleInfoRepresentationSelect() {
|
|
|
3600
3767
|
]
|
|
3601
3768
|
};
|
|
3602
3769
|
};
|
|
3603
|
-
function equals$
|
|
3770
|
+
function equals$a(existing, incoming) {
|
|
3604
3771
|
const existing_file = existing.file;
|
|
3605
3772
|
const incoming_file = incoming.file;
|
|
3606
3773
|
if (!(existing_file === incoming_file)) {
|
|
@@ -3615,8 +3782,8 @@ function equals$b(existing, incoming) {
|
|
|
3615
3782
|
}
|
|
3616
3783
|
|
|
3617
3784
|
const TTL$4 = 5000;
|
|
3618
|
-
const VERSION$
|
|
3619
|
-
function validate$
|
|
3785
|
+
const VERSION$9 = "b5a9a51561570638a21672e936a3d399";
|
|
3786
|
+
function validate$g(obj, path = 'TemplateRepresentation') {
|
|
3620
3787
|
const v_error = (() => {
|
|
3621
3788
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3622
3789
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3681,7 +3848,7 @@ function validate$h(obj, path = 'TemplateRepresentation') {
|
|
|
3681
3848
|
for (let i = 0; i < obj_chainDefinitions.length; i++) {
|
|
3682
3849
|
const obj_chainDefinitions_item = obj_chainDefinitions[i];
|
|
3683
3850
|
const path_chainDefinitions_item = path_chainDefinitions + '[' + i + ']';
|
|
3684
|
-
const referencepath_chainDefinitions_itemValidationError = validate$
|
|
3851
|
+
const referencepath_chainDefinitions_itemValidationError = validate$m(obj_chainDefinitions_item, path_chainDefinitions_item);
|
|
3685
3852
|
if (referencepath_chainDefinitions_itemValidationError !== null) {
|
|
3686
3853
|
let message = 'Object doesn\'t match ChainDefinitionRepresentation (at "' + path_chainDefinitions_item + '")\n';
|
|
3687
3854
|
message += referencepath_chainDefinitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3749,7 +3916,7 @@ function validate$h(obj, path = 'TemplateRepresentation') {
|
|
|
3749
3916
|
const path_icons = path + '.icons';
|
|
3750
3917
|
let obj_icons_union0 = null;
|
|
3751
3918
|
const obj_icons_union0_error = (() => {
|
|
3752
|
-
const referencepath_iconsValidationError = validate$
|
|
3919
|
+
const referencepath_iconsValidationError = validate$j(obj_icons, path_icons);
|
|
3753
3920
|
if (referencepath_iconsValidationError !== null) {
|
|
3754
3921
|
let message = 'Object doesn\'t match TemplateIconsRepresentation (at "' + path_icons + '")\n';
|
|
3755
3922
|
message += referencepath_iconsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3902,7 +4069,7 @@ function validate$h(obj, path = 'TemplateRepresentation') {
|
|
|
3902
4069
|
const path_releaseInfo = path + '.releaseInfo';
|
|
3903
4070
|
let obj_releaseInfo_union0 = null;
|
|
3904
4071
|
const obj_releaseInfo_union0_error = (() => {
|
|
3905
|
-
const referencepath_releaseInfoValidationError = validate$
|
|
4072
|
+
const referencepath_releaseInfoValidationError = validate$i(obj_releaseInfo, path_releaseInfo);
|
|
3906
4073
|
if (referencepath_releaseInfoValidationError !== null) {
|
|
3907
4074
|
let message = 'Object doesn\'t match ReleaseInfoRepresentation (at "' + path_releaseInfo + '")\n';
|
|
3908
4075
|
message += referencepath_releaseInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3935,7 +4102,7 @@ function validate$h(obj, path = 'TemplateRepresentation') {
|
|
|
3935
4102
|
for (let i = 0; i < obj_rules.length; i++) {
|
|
3936
4103
|
const obj_rules_item = obj_rules[i];
|
|
3937
4104
|
const path_rules_item = path_rules + '[' + i + ']';
|
|
3938
|
-
const referencepath_rules_itemValidationError = validate$
|
|
4105
|
+
const referencepath_rules_itemValidationError = validate$h(obj_rules_item, path_rules_item);
|
|
3939
4106
|
if (referencepath_rules_itemValidationError !== null) {
|
|
3940
4107
|
let message = 'Object doesn\'t match RuleInfoRepresentation (at "' + path_rules_item + '")\n';
|
|
3941
4108
|
message += referencepath_rules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4008,14 +4175,14 @@ function keyBuilderFromType$3(luvio, object) {
|
|
|
4008
4175
|
function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
4009
4176
|
return input;
|
|
4010
4177
|
}
|
|
4011
|
-
const select$
|
|
4012
|
-
const { selections: ChainDefinitionRepresentation__selections, opaque: ChainDefinitionRepresentation__opaque, } = select$
|
|
4013
|
-
const { selections: TemplateIconsRepresentation__selections, opaque: TemplateIconsRepresentation__opaque, } = select$
|
|
4014
|
-
const { selections: ReleaseInfoRepresentation__selections, opaque: ReleaseInfoRepresentation__opaque, } = select$
|
|
4015
|
-
const { selections: RuleInfoRepresentation__selections, opaque: RuleInfoRepresentation__opaque, } = select$
|
|
4178
|
+
const select$h = function TemplateRepresentationSelect() {
|
|
4179
|
+
const { selections: ChainDefinitionRepresentation__selections, opaque: ChainDefinitionRepresentation__opaque, } = select$n();
|
|
4180
|
+
const { selections: TemplateIconsRepresentation__selections, opaque: TemplateIconsRepresentation__opaque, } = select$k();
|
|
4181
|
+
const { selections: ReleaseInfoRepresentation__selections, opaque: ReleaseInfoRepresentation__opaque, } = select$j();
|
|
4182
|
+
const { selections: RuleInfoRepresentation__selections, opaque: RuleInfoRepresentation__opaque, } = select$i();
|
|
4016
4183
|
return {
|
|
4017
4184
|
kind: 'Fragment',
|
|
4018
|
-
version: VERSION$
|
|
4185
|
+
version: VERSION$9,
|
|
4019
4186
|
private: [],
|
|
4020
4187
|
selections: [
|
|
4021
4188
|
{
|
|
@@ -4114,7 +4281,7 @@ const select$i = function TemplateRepresentationSelect() {
|
|
|
4114
4281
|
]
|
|
4115
4282
|
};
|
|
4116
4283
|
};
|
|
4117
|
-
function equals$
|
|
4284
|
+
function equals$9(existing, incoming) {
|
|
4118
4285
|
const existing_configurationUrl = existing.configurationUrl;
|
|
4119
4286
|
const incoming_configurationUrl = incoming.configurationUrl;
|
|
4120
4287
|
if (!(existing_configurationUrl === incoming_configurationUrl)) {
|
|
@@ -4163,7 +4330,7 @@ function equals$a(existing, incoming) {
|
|
|
4163
4330
|
const existing_chainDefinitions = existing.chainDefinitions;
|
|
4164
4331
|
const incoming_chainDefinitions = incoming.chainDefinitions;
|
|
4165
4332
|
const equals_chainDefinitions_items = equalsArray(existing_chainDefinitions, incoming_chainDefinitions, (existing_chainDefinitions_item, incoming_chainDefinitions_item) => {
|
|
4166
|
-
if (!(equals$
|
|
4333
|
+
if (!(equals$f(existing_chainDefinitions_item, incoming_chainDefinitions_item))) {
|
|
4167
4334
|
return false;
|
|
4168
4335
|
}
|
|
4169
4336
|
});
|
|
@@ -4185,7 +4352,7 @@ function equals$a(existing, incoming) {
|
|
|
4185
4352
|
if (!(existing_icons === incoming_icons
|
|
4186
4353
|
|| (existing_icons != null &&
|
|
4187
4354
|
incoming_icons != null &&
|
|
4188
|
-
equals$
|
|
4355
|
+
equals$c(existing_icons, incoming_icons)))) {
|
|
4189
4356
|
return false;
|
|
4190
4357
|
}
|
|
4191
4358
|
const existing_lastModifiedDate = existing.lastModifiedDate;
|
|
@@ -4213,13 +4380,13 @@ function equals$a(existing, incoming) {
|
|
|
4213
4380
|
if (!(existing_releaseInfo === incoming_releaseInfo
|
|
4214
4381
|
|| (existing_releaseInfo != null &&
|
|
4215
4382
|
incoming_releaseInfo != null &&
|
|
4216
|
-
equals$
|
|
4383
|
+
equals$b(existing_releaseInfo, incoming_releaseInfo)))) {
|
|
4217
4384
|
return false;
|
|
4218
4385
|
}
|
|
4219
4386
|
const existing_rules = existing.rules;
|
|
4220
4387
|
const incoming_rules = incoming.rules;
|
|
4221
4388
|
const equals_rules_items = equalsArray(existing_rules, incoming_rules, (existing_rules_item, incoming_rules_item) => {
|
|
4222
|
-
if (!(equals$
|
|
4389
|
+
if (!(equals$a(existing_rules_item, incoming_rules_item))) {
|
|
4223
4390
|
return false;
|
|
4224
4391
|
}
|
|
4225
4392
|
});
|
|
@@ -4245,14 +4412,14 @@ function equals$a(existing, incoming) {
|
|
|
4245
4412
|
}
|
|
4246
4413
|
const ingest$4 = function TemplateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4247
4414
|
if (process.env.NODE_ENV !== 'production') {
|
|
4248
|
-
const validateError = validate$
|
|
4415
|
+
const validateError = validate$g(input);
|
|
4249
4416
|
if (validateError !== null) {
|
|
4250
4417
|
throw validateError;
|
|
4251
4418
|
}
|
|
4252
4419
|
}
|
|
4253
4420
|
const key = keyBuilderFromType$3(luvio, input);
|
|
4254
4421
|
const ttlToUse = TTL$4;
|
|
4255
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "AppFramework", VERSION$
|
|
4422
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "AppFramework", VERSION$9, RepresentationType$4, equals$9);
|
|
4256
4423
|
return createLink(key);
|
|
4257
4424
|
};
|
|
4258
4425
|
function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4266,8 +4433,8 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4266
4433
|
}
|
|
4267
4434
|
|
|
4268
4435
|
const TTL$3 = 5000;
|
|
4269
|
-
const VERSION$
|
|
4270
|
-
function validate$
|
|
4436
|
+
const VERSION$8 = "4d3fc84707ae344f06fb99bd22e68f46";
|
|
4437
|
+
function validate$f(obj, path = 'TemplateCollectionRepresentation') {
|
|
4271
4438
|
const v_error = (() => {
|
|
4272
4439
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4273
4440
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4307,22 +4474,22 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
|
4307
4474
|
}
|
|
4308
4475
|
return input;
|
|
4309
4476
|
}
|
|
4310
|
-
const select$
|
|
4477
|
+
const select$g = function TemplateCollectionRepresentationSelect() {
|
|
4311
4478
|
return {
|
|
4312
4479
|
kind: 'Fragment',
|
|
4313
|
-
version: VERSION$
|
|
4480
|
+
version: VERSION$8,
|
|
4314
4481
|
private: [],
|
|
4315
4482
|
selections: [
|
|
4316
4483
|
{
|
|
4317
4484
|
name: 'templates',
|
|
4318
4485
|
kind: 'Link',
|
|
4319
4486
|
plural: true,
|
|
4320
|
-
fragment: select$
|
|
4487
|
+
fragment: select$h()
|
|
4321
4488
|
}
|
|
4322
4489
|
]
|
|
4323
4490
|
};
|
|
4324
4491
|
};
|
|
4325
|
-
function equals$
|
|
4492
|
+
function equals$8(existing, incoming) {
|
|
4326
4493
|
const existing_templates = existing.templates;
|
|
4327
4494
|
const incoming_templates = incoming.templates;
|
|
4328
4495
|
const equals_templates_items = equalsArray(existing_templates, incoming_templates, (existing_templates_item, incoming_templates_item) => {
|
|
@@ -4337,14 +4504,14 @@ function equals$9(existing, incoming) {
|
|
|
4337
4504
|
}
|
|
4338
4505
|
const ingest$3 = function TemplateCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4339
4506
|
if (process.env.NODE_ENV !== 'production') {
|
|
4340
|
-
const validateError = validate$
|
|
4507
|
+
const validateError = validate$f(input);
|
|
4341
4508
|
if (validateError !== null) {
|
|
4342
4509
|
throw validateError;
|
|
4343
4510
|
}
|
|
4344
4511
|
}
|
|
4345
4512
|
const key = path.fullPath;
|
|
4346
4513
|
const ttlToUse = TTL$3;
|
|
4347
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "AppFramework", VERSION$
|
|
4514
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "AppFramework", VERSION$8, RepresentationType$3, equals$8);
|
|
4348
4515
|
return createLink(key);
|
|
4349
4516
|
};
|
|
4350
4517
|
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4361,8 +4528,8 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4361
4528
|
}
|
|
4362
4529
|
}
|
|
4363
4530
|
|
|
4364
|
-
function select$
|
|
4365
|
-
return select$
|
|
4531
|
+
function select$f(luvio, params) {
|
|
4532
|
+
return select$g();
|
|
4366
4533
|
}
|
|
4367
4534
|
function keyBuilder$b(luvio, params) {
|
|
4368
4535
|
return keyPrefix + '::TemplateCollectionRepresentation:(' + ')';
|
|
@@ -4376,7 +4543,7 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
4376
4543
|
luvio.storeIngest(key, ingest$3, body);
|
|
4377
4544
|
const snapshot = luvio.storeLookup({
|
|
4378
4545
|
recordId: key,
|
|
4379
|
-
node: select$
|
|
4546
|
+
node: select$f(),
|
|
4380
4547
|
variables: {},
|
|
4381
4548
|
}, snapshotRefresh);
|
|
4382
4549
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -4393,7 +4560,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
4393
4560
|
const storeMetadataParams = {
|
|
4394
4561
|
ttl: TTL$3,
|
|
4395
4562
|
namespace: keyPrefix,
|
|
4396
|
-
version: VERSION$
|
|
4563
|
+
version: VERSION$8,
|
|
4397
4564
|
representationName: RepresentationType$3
|
|
4398
4565
|
};
|
|
4399
4566
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -4440,7 +4607,7 @@ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
|
4440
4607
|
}
|
|
4441
4608
|
function adapterFragment$3(luvio, config) {
|
|
4442
4609
|
createResourceParams$8(config);
|
|
4443
|
-
return select$
|
|
4610
|
+
return select$f();
|
|
4444
4611
|
}
|
|
4445
4612
|
function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
|
|
4446
4613
|
const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
|
|
@@ -4496,7 +4663,7 @@ const getTemplatesAdapterFactory = (luvio) => function AppFramework__getTemplate
|
|
|
4496
4663
|
buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
|
|
4497
4664
|
};
|
|
4498
4665
|
|
|
4499
|
-
function validate$
|
|
4666
|
+
function validate$e(obj, path = 'ChainDefinitionInputRepresentation') {
|
|
4500
4667
|
const v_error = (() => {
|
|
4501
4668
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4502
4669
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4522,7 +4689,7 @@ function validate$f(obj, path = 'ChainDefinitionInputRepresentation') {
|
|
|
4522
4689
|
return v_error === undefined ? null : v_error;
|
|
4523
4690
|
}
|
|
4524
4691
|
|
|
4525
|
-
function validate$
|
|
4692
|
+
function validate$d(obj, path = 'NamespacedReferenceInputRepresentation') {
|
|
4526
4693
|
const v_error = (() => {
|
|
4527
4694
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4528
4695
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4541,7 +4708,7 @@ function validate$e(obj, path = 'NamespacedReferenceInputRepresentation') {
|
|
|
4541
4708
|
return v_error === undefined ? null : v_error;
|
|
4542
4709
|
}
|
|
4543
4710
|
|
|
4544
|
-
function validate$
|
|
4711
|
+
function validate$c(obj, path = 'TemplatePreviewInputRepresentation') {
|
|
4545
4712
|
const v_error = (() => {
|
|
4546
4713
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4547
4714
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4574,7 +4741,7 @@ function validate$d(obj, path = 'TemplatePreviewInputRepresentation') {
|
|
|
4574
4741
|
return v_error === undefined ? null : v_error;
|
|
4575
4742
|
}
|
|
4576
4743
|
|
|
4577
|
-
function validate$
|
|
4744
|
+
function validate$b(obj, path = 'TemplateIconsInputRepresentation') {
|
|
4578
4745
|
const v_error = (() => {
|
|
4579
4746
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4580
4747
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4582,7 +4749,7 @@ function validate$c(obj, path = 'TemplateIconsInputRepresentation') {
|
|
|
4582
4749
|
if (obj.appBadge !== undefined) {
|
|
4583
4750
|
const obj_appBadge = obj.appBadge;
|
|
4584
4751
|
const path_appBadge = path + '.appBadge';
|
|
4585
|
-
const referencepath_appBadgeValidationError = validate$
|
|
4752
|
+
const referencepath_appBadgeValidationError = validate$d(obj_appBadge, path_appBadge);
|
|
4586
4753
|
if (referencepath_appBadgeValidationError !== null) {
|
|
4587
4754
|
let message = 'Object doesn\'t match NamespacedReferenceInputRepresentation (at "' + path_appBadge + '")\n';
|
|
4588
4755
|
message += referencepath_appBadgeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4592,7 +4759,7 @@ function validate$c(obj, path = 'TemplateIconsInputRepresentation') {
|
|
|
4592
4759
|
if (obj.templateBadge !== undefined) {
|
|
4593
4760
|
const obj_templateBadge = obj.templateBadge;
|
|
4594
4761
|
const path_templateBadge = path + '.templateBadge';
|
|
4595
|
-
const referencepath_templateBadgeValidationError = validate$
|
|
4762
|
+
const referencepath_templateBadgeValidationError = validate$d(obj_templateBadge, path_templateBadge);
|
|
4596
4763
|
if (referencepath_templateBadgeValidationError !== null) {
|
|
4597
4764
|
let message = 'Object doesn\'t match NamespacedReferenceInputRepresentation (at "' + path_templateBadge + '")\n';
|
|
4598
4765
|
message += referencepath_templateBadgeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4608,7 +4775,7 @@ function validate$c(obj, path = 'TemplateIconsInputRepresentation') {
|
|
|
4608
4775
|
for (let i = 0; i < obj_templatePreviews.length; i++) {
|
|
4609
4776
|
const obj_templatePreviews_item = obj_templatePreviews[i];
|
|
4610
4777
|
const path_templatePreviews_item = path_templatePreviews + '[' + i + ']';
|
|
4611
|
-
const referencepath_templatePreviews_itemValidationError = validate$
|
|
4778
|
+
const referencepath_templatePreviews_itemValidationError = validate$c(obj_templatePreviews_item, path_templatePreviews_item);
|
|
4612
4779
|
if (referencepath_templatePreviews_itemValidationError !== null) {
|
|
4613
4780
|
let message = 'Object doesn\'t match TemplatePreviewInputRepresentation (at "' + path_templatePreviews_item + '")\n';
|
|
4614
4781
|
message += referencepath_templatePreviews_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4620,7 +4787,7 @@ function validate$c(obj, path = 'TemplateIconsInputRepresentation') {
|
|
|
4620
4787
|
return v_error === undefined ? null : v_error;
|
|
4621
4788
|
}
|
|
4622
4789
|
|
|
4623
|
-
function validate$
|
|
4790
|
+
function validate$a(obj, path = 'ReleaseInfoInputRepresentation') {
|
|
4624
4791
|
const v_error = (() => {
|
|
4625
4792
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4626
4793
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4641,7 +4808,7 @@ function validate$b(obj, path = 'ReleaseInfoInputRepresentation') {
|
|
|
4641
4808
|
return v_error === undefined ? null : v_error;
|
|
4642
4809
|
}
|
|
4643
4810
|
|
|
4644
|
-
function validate$
|
|
4811
|
+
function validate$9(obj, path = 'RuleInfoInputRepresentation') {
|
|
4645
4812
|
const v_error = (() => {
|
|
4646
4813
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4647
4814
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4660,8 +4827,8 @@ function validate$a(obj, path = 'RuleInfoInputRepresentation') {
|
|
|
4660
4827
|
return v_error === undefined ? null : v_error;
|
|
4661
4828
|
}
|
|
4662
4829
|
|
|
4663
|
-
function select$
|
|
4664
|
-
return select$
|
|
4830
|
+
function select$e(luvio, params) {
|
|
4831
|
+
return select$h();
|
|
4665
4832
|
}
|
|
4666
4833
|
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
4667
4834
|
getTypeCacheKeys$4(storeKeyMap, luvio, response);
|
|
@@ -4672,7 +4839,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
|
|
|
4672
4839
|
luvio.storeIngest(key, ingest$4, body);
|
|
4673
4840
|
const snapshot = luvio.storeLookup({
|
|
4674
4841
|
recordId: key,
|
|
4675
|
-
node: select$
|
|
4842
|
+
node: select$e(),
|
|
4676
4843
|
variables: {},
|
|
4677
4844
|
});
|
|
4678
4845
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -4725,7 +4892,7 @@ function typeCheckConfig$7(untrustedConfig) {
|
|
|
4725
4892
|
const untrustedConfig_chainDefinitions_array = [];
|
|
4726
4893
|
for (let i = 0, arrayLength = untrustedConfig_chainDefinitions.length; i < arrayLength; i++) {
|
|
4727
4894
|
const untrustedConfig_chainDefinitions_item = untrustedConfig_chainDefinitions[i];
|
|
4728
|
-
const referenceChainDefinitionInputRepresentationValidationError = validate$
|
|
4895
|
+
const referenceChainDefinitionInputRepresentationValidationError = validate$e(untrustedConfig_chainDefinitions_item);
|
|
4729
4896
|
if (referenceChainDefinitionInputRepresentationValidationError === null) {
|
|
4730
4897
|
untrustedConfig_chainDefinitions_array.push(untrustedConfig_chainDefinitions_item);
|
|
4731
4898
|
}
|
|
@@ -4733,12 +4900,12 @@ function typeCheckConfig$7(untrustedConfig) {
|
|
|
4733
4900
|
config.chainDefinitions = untrustedConfig_chainDefinitions_array;
|
|
4734
4901
|
}
|
|
4735
4902
|
const untrustedConfig_icons = untrustedConfig.icons;
|
|
4736
|
-
const referenceTemplateIconsInputRepresentationValidationError = validate$
|
|
4903
|
+
const referenceTemplateIconsInputRepresentationValidationError = validate$b(untrustedConfig_icons);
|
|
4737
4904
|
if (referenceTemplateIconsInputRepresentationValidationError === null) {
|
|
4738
4905
|
config.icons = untrustedConfig_icons;
|
|
4739
4906
|
}
|
|
4740
4907
|
const untrustedConfig_releaseInfo = untrustedConfig.releaseInfo;
|
|
4741
|
-
const referenceReleaseInfoInputRepresentationValidationError = validate$
|
|
4908
|
+
const referenceReleaseInfoInputRepresentationValidationError = validate$a(untrustedConfig_releaseInfo);
|
|
4742
4909
|
if (referenceReleaseInfoInputRepresentationValidationError === null) {
|
|
4743
4910
|
config.releaseInfo = untrustedConfig_releaseInfo;
|
|
4744
4911
|
}
|
|
@@ -4747,7 +4914,7 @@ function typeCheckConfig$7(untrustedConfig) {
|
|
|
4747
4914
|
const untrustedConfig_rules_array = [];
|
|
4748
4915
|
for (let i = 0, arrayLength = untrustedConfig_rules.length; i < arrayLength; i++) {
|
|
4749
4916
|
const untrustedConfig_rules_item = untrustedConfig_rules[i];
|
|
4750
|
-
const referenceRuleInfoInputRepresentationValidationError = validate$
|
|
4917
|
+
const referenceRuleInfoInputRepresentationValidationError = validate$9(untrustedConfig_rules_item);
|
|
4751
4918
|
if (referenceRuleInfoInputRepresentationValidationError === null) {
|
|
4752
4919
|
untrustedConfig_rules_array.push(untrustedConfig_rules_item);
|
|
4753
4920
|
}
|
|
@@ -4813,8 +4980,8 @@ const createTemplateAdapterFactory = (luvio) => {
|
|
|
4813
4980
|
};
|
|
4814
4981
|
};
|
|
4815
4982
|
|
|
4816
|
-
function select$
|
|
4817
|
-
return select$
|
|
4983
|
+
function select$d(luvio, params) {
|
|
4984
|
+
return select$h();
|
|
4818
4985
|
}
|
|
4819
4986
|
function keyBuilder$9(luvio, params) {
|
|
4820
4987
|
return keyBuilder$c(luvio, {
|
|
@@ -4830,7 +4997,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
4830
4997
|
luvio.storeIngest(key, ingest$4, body);
|
|
4831
4998
|
const snapshot = luvio.storeLookup({
|
|
4832
4999
|
recordId: key,
|
|
4833
|
-
node: select$
|
|
5000
|
+
node: select$d(),
|
|
4834
5001
|
variables: {},
|
|
4835
5002
|
}, snapshotRefresh);
|
|
4836
5003
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -4847,7 +5014,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
4847
5014
|
const storeMetadataParams = {
|
|
4848
5015
|
ttl: TTL$4,
|
|
4849
5016
|
namespace: keyPrefix,
|
|
4850
|
-
version: VERSION$
|
|
5017
|
+
version: VERSION$9,
|
|
4851
5018
|
representationName: RepresentationType$4
|
|
4852
5019
|
};
|
|
4853
5020
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -4897,7 +5064,7 @@ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
|
4897
5064
|
}
|
|
4898
5065
|
function adapterFragment$2(luvio, config) {
|
|
4899
5066
|
createResourceParams$6(config);
|
|
4900
|
-
return select$
|
|
5067
|
+
return select$d();
|
|
4901
5068
|
}
|
|
4902
5069
|
function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
|
|
4903
5070
|
const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
|
|
@@ -4953,8 +5120,8 @@ const getTemplateAdapterFactory = (luvio) => function AppFramework__getTemplate(
|
|
|
4953
5120
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
4954
5121
|
};
|
|
4955
5122
|
|
|
4956
|
-
function select$
|
|
4957
|
-
return select$
|
|
5123
|
+
function select$c(luvio, params) {
|
|
5124
|
+
return select$h();
|
|
4958
5125
|
}
|
|
4959
5126
|
function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
4960
5127
|
getTypeCacheKeys$4(storeKeyMap, luvio, response);
|
|
@@ -4965,7 +5132,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
|
|
|
4965
5132
|
luvio.storeIngest(key, ingest$4, body);
|
|
4966
5133
|
const snapshot = luvio.storeLookup({
|
|
4967
5134
|
recordId: key,
|
|
4968
|
-
node: select$
|
|
5135
|
+
node: select$c(),
|
|
4969
5136
|
variables: {},
|
|
4970
5137
|
});
|
|
4971
5138
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -5003,7 +5170,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5003
5170
|
const config = {};
|
|
5004
5171
|
typeCheckConfig$h(untrustedConfig, config, updateTemplate_ConfigPropertyMetadata);
|
|
5005
5172
|
const untrustedConfig_releaseInfo = untrustedConfig.releaseInfo;
|
|
5006
|
-
const referenceReleaseInfoInputRepresentationValidationError = validate$
|
|
5173
|
+
const referenceReleaseInfoInputRepresentationValidationError = validate$a(untrustedConfig_releaseInfo);
|
|
5007
5174
|
if (referenceReleaseInfoInputRepresentationValidationError === null) {
|
|
5008
5175
|
config.releaseInfo = untrustedConfig_releaseInfo;
|
|
5009
5176
|
}
|
|
@@ -5135,153 +5302,6 @@ const deleteTemplateAdapterFactory = (luvio) => {
|
|
|
5135
5302
|
};
|
|
5136
5303
|
};
|
|
5137
5304
|
|
|
5138
|
-
const VERSION$8 = "c0e40695f975d64bf46ee8f48e2b5f38";
|
|
5139
|
-
function validate$9(obj, path = 'ImageReferenceRepresentation') {
|
|
5140
|
-
const v_error = (() => {
|
|
5141
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5142
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5143
|
-
}
|
|
5144
|
-
if (obj.id !== undefined) {
|
|
5145
|
-
const obj_id = obj.id;
|
|
5146
|
-
const path_id = path + '.id';
|
|
5147
|
-
if (typeof obj_id !== 'string') {
|
|
5148
|
-
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
5149
|
-
}
|
|
5150
|
-
}
|
|
5151
|
-
if (obj.label !== undefined) {
|
|
5152
|
-
const obj_label = obj.label;
|
|
5153
|
-
const path_label = path + '.label';
|
|
5154
|
-
if (typeof obj_label !== 'string') {
|
|
5155
|
-
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
5156
|
-
}
|
|
5157
|
-
}
|
|
5158
|
-
if (obj.name !== undefined) {
|
|
5159
|
-
const obj_name = obj.name;
|
|
5160
|
-
const path_name = path + '.name';
|
|
5161
|
-
if (typeof obj_name !== 'string') {
|
|
5162
|
-
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
5163
|
-
}
|
|
5164
|
-
}
|
|
5165
|
-
if (obj.namespace !== undefined) {
|
|
5166
|
-
const obj_namespace = obj.namespace;
|
|
5167
|
-
const path_namespace = path + '.namespace';
|
|
5168
|
-
if (typeof obj_namespace !== 'string') {
|
|
5169
|
-
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
5170
|
-
}
|
|
5171
|
-
}
|
|
5172
|
-
if (obj.url !== undefined) {
|
|
5173
|
-
const obj_url = obj.url;
|
|
5174
|
-
const path_url = path + '.url';
|
|
5175
|
-
if (typeof obj_url !== 'string') {
|
|
5176
|
-
return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
|
|
5177
|
-
}
|
|
5178
|
-
}
|
|
5179
|
-
})();
|
|
5180
|
-
return v_error === undefined ? null : v_error;
|
|
5181
|
-
}
|
|
5182
|
-
const select$c = function ImageReferenceRepresentationSelect() {
|
|
5183
|
-
return {
|
|
5184
|
-
kind: 'Fragment',
|
|
5185
|
-
version: VERSION$8,
|
|
5186
|
-
private: [],
|
|
5187
|
-
selections: [
|
|
5188
|
-
{
|
|
5189
|
-
name: 'id',
|
|
5190
|
-
kind: 'Scalar',
|
|
5191
|
-
required: false
|
|
5192
|
-
},
|
|
5193
|
-
{
|
|
5194
|
-
name: 'label',
|
|
5195
|
-
kind: 'Scalar',
|
|
5196
|
-
required: false
|
|
5197
|
-
},
|
|
5198
|
-
{
|
|
5199
|
-
name: 'name',
|
|
5200
|
-
kind: 'Scalar',
|
|
5201
|
-
required: false
|
|
5202
|
-
},
|
|
5203
|
-
{
|
|
5204
|
-
name: 'namespace',
|
|
5205
|
-
kind: 'Scalar',
|
|
5206
|
-
required: false
|
|
5207
|
-
},
|
|
5208
|
-
{
|
|
5209
|
-
name: 'url',
|
|
5210
|
-
kind: 'Scalar',
|
|
5211
|
-
required: false
|
|
5212
|
-
}
|
|
5213
|
-
]
|
|
5214
|
-
};
|
|
5215
|
-
};
|
|
5216
|
-
function equals$8(existing, incoming) {
|
|
5217
|
-
const existing_id = existing.id;
|
|
5218
|
-
const incoming_id = incoming.id;
|
|
5219
|
-
// if at least one of these optionals is defined
|
|
5220
|
-
if (existing_id !== undefined || incoming_id !== undefined) {
|
|
5221
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
5222
|
-
// not equal
|
|
5223
|
-
if (existing_id === undefined || incoming_id === undefined) {
|
|
5224
|
-
return false;
|
|
5225
|
-
}
|
|
5226
|
-
if (!(existing_id === incoming_id)) {
|
|
5227
|
-
return false;
|
|
5228
|
-
}
|
|
5229
|
-
}
|
|
5230
|
-
const existing_label = existing.label;
|
|
5231
|
-
const incoming_label = incoming.label;
|
|
5232
|
-
// if at least one of these optionals is defined
|
|
5233
|
-
if (existing_label !== undefined || incoming_label !== undefined) {
|
|
5234
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
5235
|
-
// not equal
|
|
5236
|
-
if (existing_label === undefined || incoming_label === undefined) {
|
|
5237
|
-
return false;
|
|
5238
|
-
}
|
|
5239
|
-
if (!(existing_label === incoming_label)) {
|
|
5240
|
-
return false;
|
|
5241
|
-
}
|
|
5242
|
-
}
|
|
5243
|
-
const existing_name = existing.name;
|
|
5244
|
-
const incoming_name = incoming.name;
|
|
5245
|
-
// if at least one of these optionals is defined
|
|
5246
|
-
if (existing_name !== undefined || incoming_name !== undefined) {
|
|
5247
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
5248
|
-
// not equal
|
|
5249
|
-
if (existing_name === undefined || incoming_name === undefined) {
|
|
5250
|
-
return false;
|
|
5251
|
-
}
|
|
5252
|
-
if (!(existing_name === incoming_name)) {
|
|
5253
|
-
return false;
|
|
5254
|
-
}
|
|
5255
|
-
}
|
|
5256
|
-
const existing_namespace = existing.namespace;
|
|
5257
|
-
const incoming_namespace = incoming.namespace;
|
|
5258
|
-
// if at least one of these optionals is defined
|
|
5259
|
-
if (existing_namespace !== undefined || incoming_namespace !== undefined) {
|
|
5260
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
5261
|
-
// not equal
|
|
5262
|
-
if (existing_namespace === undefined || incoming_namespace === undefined) {
|
|
5263
|
-
return false;
|
|
5264
|
-
}
|
|
5265
|
-
if (!(existing_namespace === incoming_namespace)) {
|
|
5266
|
-
return false;
|
|
5267
|
-
}
|
|
5268
|
-
}
|
|
5269
|
-
const existing_url = existing.url;
|
|
5270
|
-
const incoming_url = incoming.url;
|
|
5271
|
-
// if at least one of these optionals is defined
|
|
5272
|
-
if (existing_url !== undefined || incoming_url !== undefined) {
|
|
5273
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
5274
|
-
// not equal
|
|
5275
|
-
if (existing_url === undefined || incoming_url === undefined) {
|
|
5276
|
-
return false;
|
|
5277
|
-
}
|
|
5278
|
-
if (!(existing_url === incoming_url)) {
|
|
5279
|
-
return false;
|
|
5280
|
-
}
|
|
5281
|
-
}
|
|
5282
|
-
return true;
|
|
5283
|
-
}
|
|
5284
|
-
|
|
5285
5305
|
const VERSION$7 = "86de998fed5be771d0024e692d48ea17";
|
|
5286
5306
|
function validate$8(obj, path = 'GuidancePanelRepresentation') {
|
|
5287
5307
|
const v_error = (() => {
|
|
@@ -5291,7 +5311,7 @@ function validate$8(obj, path = 'GuidancePanelRepresentation') {
|
|
|
5291
5311
|
if (obj.backgroundImage !== undefined) {
|
|
5292
5312
|
const obj_backgroundImage = obj.backgroundImage;
|
|
5293
5313
|
const path_backgroundImage = path + '.backgroundImage';
|
|
5294
|
-
const referencepath_backgroundImageValidationError = validate$
|
|
5314
|
+
const referencepath_backgroundImageValidationError = validate$l(obj_backgroundImage, path_backgroundImage);
|
|
5295
5315
|
if (referencepath_backgroundImageValidationError !== null) {
|
|
5296
5316
|
let message = 'Object doesn\'t match ImageReferenceRepresentation (at "' + path_backgroundImage + '")\n';
|
|
5297
5317
|
message += referencepath_backgroundImageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5340,7 +5360,7 @@ function validate$8(obj, path = 'GuidancePanelRepresentation') {
|
|
|
5340
5360
|
return v_error === undefined ? null : v_error;
|
|
5341
5361
|
}
|
|
5342
5362
|
const select$b = function GuidancePanelRepresentationSelect() {
|
|
5343
|
-
const { selections: ImageReferenceRepresentation__selections, opaque: ImageReferenceRepresentation__opaque, } = select$
|
|
5363
|
+
const { selections: ImageReferenceRepresentation__selections, opaque: ImageReferenceRepresentation__opaque, } = select$m();
|
|
5344
5364
|
return {
|
|
5345
5365
|
kind: 'Fragment',
|
|
5346
5366
|
version: VERSION$7,
|
|
@@ -5374,7 +5394,7 @@ function equals$7(existing, incoming) {
|
|
|
5374
5394
|
if (existing_backgroundImage === undefined || incoming_backgroundImage === undefined) {
|
|
5375
5395
|
return false;
|
|
5376
5396
|
}
|
|
5377
|
-
if (!(equals$
|
|
5397
|
+
if (!(equals$e(existing_backgroundImage, incoming_backgroundImage))) {
|
|
5378
5398
|
return false;
|
|
5379
5399
|
}
|
|
5380
5400
|
}
|