@salesforce/lds-worker-api 1.134.7 → 1.134.8
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.
|
@@ -26,29 +26,29 @@
|
|
|
26
26
|
SnapshotState["Stale"] = "Stale";
|
|
27
27
|
})(SnapshotState$3 || (SnapshotState$3 = {}));
|
|
28
28
|
|
|
29
|
-
const { create: create$
|
|
29
|
+
const { create: create$a, entries: entries$4, freeze: freeze$5, keys: keys$a, values: values$3 } = Object;
|
|
30
30
|
const { hasOwnProperty: hasOwnProperty$3 } = Object.prototype;
|
|
31
|
-
const { isArray: isArray$
|
|
31
|
+
const { isArray: isArray$9 } = Array;
|
|
32
32
|
const { push: push$4, indexOf, slice: slice$2 } = Array.prototype;
|
|
33
33
|
const { parse: parse$9, stringify: stringify$9 } = JSON;
|
|
34
34
|
|
|
35
|
-
function deepFreeze
|
|
35
|
+
function deepFreeze(value) {
|
|
36
36
|
// No need to freeze primitives
|
|
37
37
|
if (typeof value !== 'object' || value === null) {
|
|
38
38
|
return;
|
|
39
39
|
}
|
|
40
|
-
if (isArray$
|
|
40
|
+
if (isArray$9(value)) {
|
|
41
41
|
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
42
|
-
deepFreeze
|
|
42
|
+
deepFreeze(value[i]);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
|
-
const keys$1 = keys$
|
|
46
|
+
const keys$1 = keys$a(value);
|
|
47
47
|
for (let i = 0, len = keys$1.length; i < len; i += 1) {
|
|
48
|
-
deepFreeze
|
|
48
|
+
deepFreeze(value[keys$1[i]]);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
freeze$
|
|
51
|
+
freeze$5(value);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
function isErrorSnapshot$3(snapshot) {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
return snapshot.state === SnapshotState$3.Pending;
|
|
68
68
|
}
|
|
69
69
|
function createErrorSnapshot$1(error, refresh) {
|
|
70
|
-
deepFreeze
|
|
70
|
+
deepFreeze(error);
|
|
71
71
|
const snap = {
|
|
72
72
|
error,
|
|
73
73
|
state: SnapshotState$3.Error,
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
}
|
|
292
292
|
let i;
|
|
293
293
|
let out;
|
|
294
|
-
if (isArray$
|
|
294
|
+
if (isArray$9(node)) {
|
|
295
295
|
out = '[';
|
|
296
296
|
for (i = 0; i < node.length; i++) {
|
|
297
297
|
if (i) {
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
if (node === null) {
|
|
305
305
|
return 'null';
|
|
306
306
|
}
|
|
307
|
-
const keys$1 = keys$
|
|
307
|
+
const keys$1 = keys$a(node).sort();
|
|
308
308
|
out = '';
|
|
309
309
|
for (i = 0; i < keys$1.length; i++) {
|
|
310
310
|
const key = keys$1[i];
|
|
@@ -552,13 +552,13 @@
|
|
|
552
552
|
class StringKeyInMemoryStore {
|
|
553
553
|
constructor(options = {}) {
|
|
554
554
|
// public, in memory properties
|
|
555
|
-
this.records = create$
|
|
556
|
-
this.metadata = create$
|
|
557
|
-
this.visitedIds = create$
|
|
558
|
-
this.refreshedIds = create$
|
|
559
|
-
this.redirectKeys = create$
|
|
560
|
-
this.retainedIds = create$
|
|
561
|
-
this.ttlOverrides = create$
|
|
555
|
+
this.records = create$a(null);
|
|
556
|
+
this.metadata = create$a(null);
|
|
557
|
+
this.visitedIds = create$a(null);
|
|
558
|
+
this.refreshedIds = create$a(null);
|
|
559
|
+
this.redirectKeys = create$a(null);
|
|
560
|
+
this.retainedIds = create$a(null);
|
|
561
|
+
this.ttlOverrides = create$a(null);
|
|
562
562
|
this.snapshotSubscriptions = [];
|
|
563
563
|
this.trimTask = null;
|
|
564
564
|
this.pendingTrimKeys = new Set();
|
|
@@ -566,8 +566,8 @@
|
|
|
566
566
|
this.watchSubscriptions = [];
|
|
567
567
|
this.eventObservers = [];
|
|
568
568
|
// private/protected
|
|
569
|
-
this.insertedIds = create$
|
|
570
|
-
this.reverseRedirectKeys = create$
|
|
569
|
+
this.insertedIds = create$a(null);
|
|
570
|
+
this.reverseRedirectKeys = create$a(null);
|
|
571
571
|
this.scheduler = options.scheduler || buildDefaultScheduler();
|
|
572
572
|
}
|
|
573
573
|
// interface methods
|
|
@@ -575,13 +575,13 @@
|
|
|
575
575
|
return this.records[this.getCanonicalRecordId(key)];
|
|
576
576
|
}
|
|
577
577
|
getNumEntries() {
|
|
578
|
-
return keys$
|
|
578
|
+
return keys$a(this.records).length;
|
|
579
579
|
}
|
|
580
580
|
readMetadata(key) {
|
|
581
581
|
return this.metadata[this.getCanonicalRecordId(key)];
|
|
582
582
|
}
|
|
583
583
|
readMetadataWhere(query) {
|
|
584
|
-
const keys$1 = keys$
|
|
584
|
+
const keys$1 = keys$a(this.metadata);
|
|
585
585
|
const results = [];
|
|
586
586
|
const hasNamespaceQuery = hasOwnProperty$3.call(query, 'namespace');
|
|
587
587
|
const hasRepresentationNameQuery = hasOwnProperty$3.call(query, 'representationName');
|
|
@@ -677,8 +677,8 @@
|
|
|
677
677
|
// Note: we should always get the subscription references from this at the beginning
|
|
678
678
|
// of the function, in case the reference changes (because of an unsubscribe)
|
|
679
679
|
const { snapshotSubscriptions, watchSubscriptions, visitedIds, refreshedIds, insertedIds } = this;
|
|
680
|
-
const allVisitedIds = keys$
|
|
681
|
-
const allRefreshedIds = keys$
|
|
680
|
+
const allVisitedIds = keys$a(visitedIds);
|
|
681
|
+
const allRefreshedIds = keys$a(refreshedIds);
|
|
682
682
|
// Early exit if nothing has changed
|
|
683
683
|
if (allVisitedIds.length === 0 && allRefreshedIds.length === 0) {
|
|
684
684
|
return Promise.resolve();
|
|
@@ -715,9 +715,9 @@
|
|
|
715
715
|
callback(watchCallbackEntries);
|
|
716
716
|
}
|
|
717
717
|
}
|
|
718
|
-
this.visitedIds = create$
|
|
719
|
-
this.refreshedIds = create$
|
|
720
|
-
this.insertedIds = create$
|
|
718
|
+
this.visitedIds = create$a(null);
|
|
719
|
+
this.refreshedIds = create$a(null);
|
|
720
|
+
this.insertedIds = create$a(null);
|
|
721
721
|
// the .then removes the return of an array of voids to a single void
|
|
722
722
|
return Promise.all(snapshotSubPromises).then(() => { });
|
|
723
723
|
}
|
|
@@ -882,18 +882,18 @@
|
|
|
882
882
|
return this.defaultTTLOverride;
|
|
883
883
|
}
|
|
884
884
|
reset() {
|
|
885
|
-
this.records = create$
|
|
885
|
+
this.records = create$a(null);
|
|
886
886
|
this.snapshotSubscriptions = [];
|
|
887
887
|
this.watchSubscriptions = [];
|
|
888
|
-
this.visitedIds = create$
|
|
889
|
-
this.refreshedIds = create$
|
|
890
|
-
this.insertedIds = create$
|
|
891
|
-
this.redirectKeys = create$
|
|
892
|
-
this.reverseRedirectKeys = create$
|
|
893
|
-
this.retainedIds = create$
|
|
894
|
-
this.ttlOverrides = create$
|
|
888
|
+
this.visitedIds = create$a(null);
|
|
889
|
+
this.refreshedIds = create$a(null);
|
|
890
|
+
this.insertedIds = create$a(null);
|
|
891
|
+
this.redirectKeys = create$a(null);
|
|
892
|
+
this.reverseRedirectKeys = create$a(null);
|
|
893
|
+
this.retainedIds = create$a(null);
|
|
894
|
+
this.ttlOverrides = create$a(null);
|
|
895
895
|
this.trimTask = null;
|
|
896
|
-
this.metadata = create$
|
|
896
|
+
this.metadata = create$a(null);
|
|
897
897
|
this.defaultTTLOverride = undefined;
|
|
898
898
|
emitLuvioStoreEvent({ type: 'store-reset', timestamp: Date.now() }, this.eventObservers);
|
|
899
899
|
}
|
|
@@ -1125,7 +1125,7 @@
|
|
|
1125
1125
|
hasOverlappingIds(snapshot, visitedIds) === false);
|
|
1126
1126
|
}
|
|
1127
1127
|
function getMatchingIds(partialKey, visitedIds) {
|
|
1128
|
-
const keys$1 = keys$
|
|
1128
|
+
const keys$1 = keys$a(partialKey);
|
|
1129
1129
|
return visitedIds.filter((visitedId) => {
|
|
1130
1130
|
return keys$1.every((key) => {
|
|
1131
1131
|
return partialKey[key] === visitedId[key];
|
|
@@ -1752,8 +1752,8 @@
|
|
|
1752
1752
|
} while (redirectKey !== undefined);
|
|
1753
1753
|
}
|
|
1754
1754
|
isUsingStringKeys() {
|
|
1755
|
-
return (keys$
|
|
1756
|
-
keys$
|
|
1755
|
+
return (keys$a(this.fallbackStringKeyInMemoryStore.visitedIds).length !== 0 ||
|
|
1756
|
+
keys$a(this.fallbackStringKeyInMemoryStore.refreshedIds).length !== 0);
|
|
1757
1757
|
}
|
|
1758
1758
|
delegateToFallbackStringKeyStore(snapshot) {
|
|
1759
1759
|
return !isErrorSnapshot$3(snapshot) && typeof snapshot.recordId === 'string';
|
|
@@ -1795,7 +1795,7 @@
|
|
|
1795
1795
|
buildKeySchema(keyMetadata) {
|
|
1796
1796
|
// pull NamespacedType type out of NormalizedKeyMetadata
|
|
1797
1797
|
const { namespace: _ns, representationName: _rn, ...keyParamValues } = keyMetadata;
|
|
1798
|
-
const keySchema = keys$
|
|
1798
|
+
const keySchema = keys$a(keyParamValues).sort();
|
|
1799
1799
|
return ['namespace', 'representationName', ...keySchema];
|
|
1800
1800
|
}
|
|
1801
1801
|
}
|
|
@@ -2083,7 +2083,7 @@
|
|
|
2083
2083
|
return value;
|
|
2084
2084
|
}
|
|
2085
2085
|
keys() {
|
|
2086
|
-
return keys$
|
|
2086
|
+
return keys$a(this.data);
|
|
2087
2087
|
}
|
|
2088
2088
|
isScalar(propertyName) {
|
|
2089
2089
|
// TODO W-6900046 - merge.ts casts these to any and manually sets `data`
|
|
@@ -2388,6 +2388,7 @@
|
|
|
2388
2388
|
if (this.snapshotChanged === false && selector.recordId === this.baseSnapshot.recordId) {
|
|
2389
2389
|
return this.baseSnapshot;
|
|
2390
2390
|
}
|
|
2391
|
+
deepFreeze(data);
|
|
2391
2392
|
return {
|
|
2392
2393
|
recordId: selector.recordId,
|
|
2393
2394
|
select: selector,
|
|
@@ -2403,7 +2404,7 @@
|
|
|
2403
2404
|
deepCopy(record, data, key, visitedKeys) {
|
|
2404
2405
|
const value = record[key];
|
|
2405
2406
|
this.enterPath(key);
|
|
2406
|
-
if (isArray$
|
|
2407
|
+
if (isArray$9(value)) {
|
|
2407
2408
|
// Array
|
|
2408
2409
|
const items = [];
|
|
2409
2410
|
this.selectAll(value, items, visitedKeys);
|
|
@@ -2414,7 +2415,7 @@
|
|
|
2414
2415
|
if (value.__ref !== undefined) {
|
|
2415
2416
|
// Link
|
|
2416
2417
|
const nextRecordId = value.__ref;
|
|
2417
|
-
if (isArray$
|
|
2418
|
+
if (isArray$9(nextRecordId)) {
|
|
2418
2419
|
const items = [];
|
|
2419
2420
|
this.selectAll(nextRecordId, items, visitedKeys);
|
|
2420
2421
|
data[key] = items;
|
|
@@ -2461,7 +2462,7 @@
|
|
|
2461
2462
|
}
|
|
2462
2463
|
}
|
|
2463
2464
|
selectAllObject(record, data, visitedKeys) {
|
|
2464
|
-
const recordKeys = keys$
|
|
2465
|
+
const recordKeys = keys$a(record);
|
|
2465
2466
|
const { length } = recordKeys;
|
|
2466
2467
|
for (let i = 0; i < length; i += 1) {
|
|
2467
2468
|
const key = recordKeys[i];
|
|
@@ -2469,14 +2470,13 @@
|
|
|
2469
2470
|
}
|
|
2470
2471
|
}
|
|
2471
2472
|
selectAll(record, data, visitedKeys = {}) {
|
|
2472
|
-
const recordIsArray = isArray$
|
|
2473
|
+
const recordIsArray = isArray$9(record);
|
|
2473
2474
|
if (recordIsArray === true) {
|
|
2474
2475
|
this.selectAllArray(record, data, visitedKeys);
|
|
2475
2476
|
}
|
|
2476
2477
|
else {
|
|
2477
2478
|
this.selectAllObject(record, data, visitedKeys);
|
|
2478
2479
|
}
|
|
2479
|
-
freeze$4(data);
|
|
2480
2480
|
}
|
|
2481
2481
|
markPending() {
|
|
2482
2482
|
this.hasPendingData = true;
|
|
@@ -2503,7 +2503,6 @@
|
|
|
2503
2503
|
}
|
|
2504
2504
|
assignNonScalar(sink, key, value) {
|
|
2505
2505
|
sink[key] = value;
|
|
2506
|
-
freeze$4(value);
|
|
2507
2506
|
}
|
|
2508
2507
|
enterPath(key) {
|
|
2509
2508
|
const parent = this.currentPath;
|
|
@@ -2608,7 +2607,7 @@
|
|
|
2608
2607
|
}
|
|
2609
2608
|
return this.markMissing();
|
|
2610
2609
|
}
|
|
2611
|
-
const sinkValue = isArray$
|
|
2610
|
+
const sinkValue = isArray$9(sourceValue) ? [] : {};
|
|
2612
2611
|
if (selection.selections === undefined) {
|
|
2613
2612
|
this.selectAll(sourceValue, sinkValue);
|
|
2614
2613
|
}
|
|
@@ -2644,7 +2643,7 @@
|
|
|
2644
2643
|
}
|
|
2645
2644
|
const { baseSnapshotValue } = this.currentPath;
|
|
2646
2645
|
if (isDefined$1(baseSnapshotValue)) {
|
|
2647
|
-
this.snapshotChanged = keys$1.length !== keys$
|
|
2646
|
+
this.snapshotChanged = keys$1.length !== keys$a(baseSnapshotValue).length;
|
|
2648
2647
|
}
|
|
2649
2648
|
}
|
|
2650
2649
|
checkIfChanged(value) {
|
|
@@ -2672,7 +2671,6 @@
|
|
|
2672
2671
|
this.exitPath();
|
|
2673
2672
|
}
|
|
2674
2673
|
this.checkIfArrayLengthChanged(sink);
|
|
2675
|
-
freeze$4(sink);
|
|
2676
2674
|
}
|
|
2677
2675
|
readObjectMap(propertyName, selection, record, data) {
|
|
2678
2676
|
const obj = record[propertyName];
|
|
@@ -2683,7 +2681,7 @@
|
|
|
2683
2681
|
return this.markMissing();
|
|
2684
2682
|
}
|
|
2685
2683
|
const sink = (data[propertyName] = {});
|
|
2686
|
-
const keys$1 = keys$
|
|
2684
|
+
const keys$1 = keys$a(obj);
|
|
2687
2685
|
this.checkIfObjectKeysLengthChanged(keys$1);
|
|
2688
2686
|
for (let i = 0, len = keys$1.length; i < len; i += 1) {
|
|
2689
2687
|
const key = keys$1[i];
|
|
@@ -2691,11 +2689,10 @@
|
|
|
2691
2689
|
this.readObject(key, selection, obj, sink);
|
|
2692
2690
|
this.exitPath();
|
|
2693
2691
|
}
|
|
2694
|
-
freeze$4(sink);
|
|
2695
2692
|
}
|
|
2696
2693
|
readLinkMap(propertyName, selection, record, data) {
|
|
2697
2694
|
const map = record[propertyName];
|
|
2698
|
-
const keys$1 = keys$
|
|
2695
|
+
const keys$1 = keys$a(map);
|
|
2699
2696
|
const sink = {};
|
|
2700
2697
|
this.checkIfObjectKeysLengthChanged(keys$1);
|
|
2701
2698
|
for (let i = 0, len = keys$1.length; i < len; i += 1) {
|
|
@@ -2727,7 +2724,6 @@
|
|
|
2727
2724
|
}
|
|
2728
2725
|
if (isReaderFragment(fragment)) {
|
|
2729
2726
|
const value = fragment.read(result.value, this);
|
|
2730
|
-
freeze$4(value);
|
|
2731
2727
|
return {
|
|
2732
2728
|
state: FragmentReadResultState$1.Success,
|
|
2733
2729
|
value,
|
|
@@ -2742,7 +2738,6 @@
|
|
|
2742
2738
|
}
|
|
2743
2739
|
const sink = {};
|
|
2744
2740
|
this.traverseSelections(fragment, result.value, sink);
|
|
2745
|
-
freeze$4(sink);
|
|
2746
2741
|
return {
|
|
2747
2742
|
state: FragmentReadResultState$1.Success,
|
|
2748
2743
|
value: sink,
|
|
@@ -2760,7 +2755,6 @@
|
|
|
2760
2755
|
value: value.value,
|
|
2761
2756
|
};
|
|
2762
2757
|
}
|
|
2763
|
-
freeze$4(value);
|
|
2764
2758
|
return {
|
|
2765
2759
|
state: FragmentReadResultState$1.Success,
|
|
2766
2760
|
value,
|
|
@@ -2804,11 +2798,9 @@
|
|
|
2804
2798
|
const obj = {};
|
|
2805
2799
|
this.traverseSelections(selection, nextRecord, obj);
|
|
2806
2800
|
push$4.call(sink, obj);
|
|
2807
|
-
freeze$4(obj);
|
|
2808
2801
|
this.exitPath();
|
|
2809
2802
|
}
|
|
2810
2803
|
this.checkIfArrayLengthChanged(sink);
|
|
2811
|
-
freeze$4(sink);
|
|
2812
2804
|
}
|
|
2813
2805
|
readOpaque(sink, propertyName, value, required) {
|
|
2814
2806
|
this.checkIfChanged(value);
|
|
@@ -2828,7 +2820,7 @@
|
|
|
2828
2820
|
return;
|
|
2829
2821
|
}
|
|
2830
2822
|
const sink = (data[propertyName] = {});
|
|
2831
|
-
const keys$1 = keys$
|
|
2823
|
+
const keys$1 = keys$a(obj);
|
|
2832
2824
|
this.checkIfObjectKeysLengthChanged(keys$1);
|
|
2833
2825
|
for (let i = 0, len = keys$1.length; i < len; i += 1) {
|
|
2834
2826
|
const key = keys$1[i];
|
|
@@ -2836,7 +2828,6 @@
|
|
|
2836
2828
|
this.readScalar(key, obj, sink);
|
|
2837
2829
|
this.exitPath();
|
|
2838
2830
|
}
|
|
2839
|
-
freeze$4(sink);
|
|
2840
2831
|
}
|
|
2841
2832
|
readScalarPlural(propertyName, record, data, required) {
|
|
2842
2833
|
const array = record[propertyName];
|
|
@@ -2853,7 +2844,6 @@
|
|
|
2853
2844
|
if (this.snapshotChanged === true) {
|
|
2854
2845
|
// fast path: just copy from array to sink
|
|
2855
2846
|
push$4.apply(sink, array);
|
|
2856
|
-
freeze$4(sink);
|
|
2857
2847
|
return;
|
|
2858
2848
|
}
|
|
2859
2849
|
this.checkIfArrayLengthChanged(array);
|
|
@@ -2865,7 +2855,6 @@
|
|
|
2865
2855
|
if (this.snapshotChanged === true) {
|
|
2866
2856
|
// fast path: just copy from array to sink
|
|
2867
2857
|
push$4.apply(sink, array);
|
|
2868
|
-
freeze$4(sink);
|
|
2869
2858
|
return;
|
|
2870
2859
|
}
|
|
2871
2860
|
for (let i = 0, len = array.length; i < len; i += 1) {
|
|
@@ -2886,7 +2875,6 @@
|
|
|
2886
2875
|
break;
|
|
2887
2876
|
}
|
|
2888
2877
|
}
|
|
2889
|
-
freeze$4(sink);
|
|
2890
2878
|
}
|
|
2891
2879
|
readScalar(propertyName, record, data, required) {
|
|
2892
2880
|
if (!hasOwnProperty$3.call(record, propertyName)) {
|
|
@@ -3064,8 +3052,8 @@
|
|
|
3064
3052
|
};
|
|
3065
3053
|
this.store = store;
|
|
3066
3054
|
this.networkAdapter = networkAdapter;
|
|
3067
|
-
this.adapterContextMap = create$
|
|
3068
|
-
this.typeQueryEvaluatorMap = create$
|
|
3055
|
+
this.adapterContextMap = create$a(null);
|
|
3056
|
+
this.typeQueryEvaluatorMap = create$a(null);
|
|
3069
3057
|
// bind these methods so when they get passed into the
|
|
3070
3058
|
// Store, the this reference is preserved
|
|
3071
3059
|
this.createSnapshot = this.createSnapshot.bind(this);
|
|
@@ -3162,7 +3150,7 @@
|
|
|
3162
3150
|
status: StoreErrorStatus$1.RESOURCE_NOT_FOUND,
|
|
3163
3151
|
error,
|
|
3164
3152
|
};
|
|
3165
|
-
freeze$
|
|
3153
|
+
freeze$5(entry);
|
|
3166
3154
|
store.publish(key, entry);
|
|
3167
3155
|
if (storeMetadataParams !== undefined) {
|
|
3168
3156
|
const { ttl, namespace, representationName, version } = storeMetadataParams;
|
|
@@ -3256,7 +3244,7 @@
|
|
|
3256
3244
|
// retrieve from adapterContextMap if contextId is supplied
|
|
3257
3245
|
// we will only track context of adapters that explicitly provide a contextId
|
|
3258
3246
|
if (this.adapterContextMap[contextId] === undefined) {
|
|
3259
|
-
this.adapterContextMap[contextId] = create$
|
|
3247
|
+
this.adapterContextMap[contextId] = create$a(null);
|
|
3260
3248
|
}
|
|
3261
3249
|
const contextStore = this.adapterContextMap[contextId];
|
|
3262
3250
|
const context = {
|
|
@@ -3509,6 +3497,24 @@
|
|
|
3509
3497
|
}
|
|
3510
3498
|
}
|
|
3511
3499
|
}
|
|
3500
|
+
// ResourceRequest params are derived from Adapter config properties, which
|
|
3501
|
+
// can be optional. This could leave some queryParams or urlParams with undefined
|
|
3502
|
+
// values. We don't want to put the responsibility of filtering out those
|
|
3503
|
+
// undefined values on the injected networkAdapter. So we do it here, on
|
|
3504
|
+
// the API that those adapters call to dispatch their ResourceRequests.
|
|
3505
|
+
const { queryParams, urlParams } = mergedResourceRequest;
|
|
3506
|
+
for (const paramKey of keys$a(queryParams)) {
|
|
3507
|
+
const value = queryParams[paramKey];
|
|
3508
|
+
if (value === undefined) {
|
|
3509
|
+
delete queryParams[paramKey];
|
|
3510
|
+
}
|
|
3511
|
+
}
|
|
3512
|
+
for (const paramKey of keys$a(urlParams)) {
|
|
3513
|
+
const value = urlParams[paramKey];
|
|
3514
|
+
if (value === undefined) {
|
|
3515
|
+
delete urlParams[paramKey];
|
|
3516
|
+
}
|
|
3517
|
+
}
|
|
3512
3518
|
return this.environment.dispatchResourceRequest(mergedResourceRequest, resourceRequestContext, eventObservers);
|
|
3513
3519
|
}
|
|
3514
3520
|
refreshSnapshot(snapshot) {
|
|
@@ -3670,7 +3676,7 @@
|
|
|
3670
3676
|
return this.environment.buildStructuredKey(namespace, representationName, idValues);
|
|
3671
3677
|
}
|
|
3672
3678
|
}
|
|
3673
|
-
// engine version: 0.139.
|
|
3679
|
+
// engine version: 0.139.6-cfd5fd23
|
|
3674
3680
|
|
|
3675
3681
|
/**
|
|
3676
3682
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -3797,7 +3803,7 @@
|
|
|
3797
3803
|
}
|
|
3798
3804
|
callbacks.push(callback);
|
|
3799
3805
|
}
|
|
3800
|
-
// version: 1.134.
|
|
3806
|
+
// version: 1.134.8-87c38bf92
|
|
3801
3807
|
|
|
3802
3808
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3803
3809
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15221,7 +15227,7 @@
|
|
|
15221
15227
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15222
15228
|
return luvioDocumentNode;
|
|
15223
15229
|
}
|
|
15224
|
-
// version: 1.134.
|
|
15230
|
+
// version: 1.134.8-87c38bf92
|
|
15225
15231
|
|
|
15226
15232
|
function unwrap(data) {
|
|
15227
15233
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -15322,7 +15328,7 @@
|
|
|
15322
15328
|
return undefined;
|
|
15323
15329
|
});
|
|
15324
15330
|
}
|
|
15325
|
-
const { isArray: isArray$
|
|
15331
|
+
const { isArray: isArray$8 } = Array;
|
|
15326
15332
|
const { stringify: stringify$8 } = JSON;
|
|
15327
15333
|
|
|
15328
15334
|
function isPromise$1(value) {
|
|
@@ -15376,7 +15382,7 @@
|
|
|
15376
15382
|
}
|
|
15377
15383
|
enter(key, value) {
|
|
15378
15384
|
const { currentPath: parentPath } = this;
|
|
15379
|
-
const data = (parentPath.data[key] = isArray$
|
|
15385
|
+
const data = (parentPath.data[key] = isArray$8(value) ? [] : {});
|
|
15380
15386
|
this.currentPath = {
|
|
15381
15387
|
key,
|
|
15382
15388
|
value,
|
|
@@ -15799,7 +15805,7 @@
|
|
|
15799
15805
|
return factory(luvio);
|
|
15800
15806
|
}
|
|
15801
15807
|
|
|
15802
|
-
const { create: create$
|
|
15808
|
+
const { create: create$9, defineProperty, defineProperties } = Object;
|
|
15803
15809
|
|
|
15804
15810
|
var SnapshotState$2;
|
|
15805
15811
|
(function (SnapshotState) {
|
|
@@ -16134,7 +16140,7 @@
|
|
|
16134
16140
|
const { apiFamily, name } = metadata;
|
|
16135
16141
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16136
16142
|
}
|
|
16137
|
-
// version: 1.134.
|
|
16143
|
+
// version: 1.134.8-87c38bf92
|
|
16138
16144
|
|
|
16139
16145
|
/**
|
|
16140
16146
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16217,15 +16223,17 @@
|
|
|
16217
16223
|
({
|
|
16218
16224
|
state: FragmentReadResultState.Missing,
|
|
16219
16225
|
});
|
|
16220
|
-
// engine version: 0.139.
|
|
16226
|
+
// engine version: 0.139.6-cfd5fd23
|
|
16221
16227
|
|
|
16222
|
-
const { keys: ObjectKeys$3,
|
|
16228
|
+
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16229
|
+
|
|
16230
|
+
const { assign: assign$7, create: create$8, freeze: freeze$4, keys: keys$9 } = Object;
|
|
16223
16231
|
|
|
16224
16232
|
ObjectCreate$3(null);
|
|
16225
16233
|
|
|
16226
16234
|
ObjectCreate$3(null);
|
|
16227
16235
|
|
|
16228
|
-
|
|
16236
|
+
freeze$4({
|
|
16229
16237
|
name: '',
|
|
16230
16238
|
children: {},
|
|
16231
16239
|
});
|
|
@@ -16472,12 +16480,12 @@
|
|
|
16472
16480
|
function instrument$2(newInstrumentation) {
|
|
16473
16481
|
instrumentation$2 = Object.assign(instrumentation$2, newInstrumentation);
|
|
16474
16482
|
}
|
|
16475
|
-
const { keys: ObjectKeys$1$1,
|
|
16483
|
+
const { keys: ObjectKeys$1$1, create: ObjectCreate$1$1 } = Object;
|
|
16476
16484
|
const { stringify: JSONStringify$1 } = JSON;
|
|
16477
|
-
const { isArray: ArrayIsArray$1
|
|
16485
|
+
const { isArray: ArrayIsArray$1 } = Array;
|
|
16478
16486
|
const { push: ArrayPrototypePush$1 } = Array.prototype;
|
|
16479
16487
|
function untrustedIsObject$2(untrusted) {
|
|
16480
|
-
return typeof untrusted === 'object' && untrusted !== null && ArrayIsArray$1
|
|
16488
|
+
return typeof untrusted === 'object' && untrusted !== null && ArrayIsArray$1(untrusted) === false;
|
|
16481
16489
|
}
|
|
16482
16490
|
function areRequiredParametersPresent$1(config, configPropertyNames) {
|
|
16483
16491
|
return configPropertyNames.parameters.required.every(req => req in config);
|
|
@@ -16517,7 +16525,7 @@
|
|
|
16517
16525
|
}
|
|
16518
16526
|
let i;
|
|
16519
16527
|
let out;
|
|
16520
|
-
if (ArrayIsArray$1
|
|
16528
|
+
if (ArrayIsArray$1(node)) {
|
|
16521
16529
|
out = '[';
|
|
16522
16530
|
for (i = 0; i < node.length; i++) {
|
|
16523
16531
|
if (i) {
|
|
@@ -16568,7 +16576,7 @@
|
|
|
16568
16576
|
}
|
|
16569
16577
|
const keyPrefix$1 = 'UiApi';
|
|
16570
16578
|
|
|
16571
|
-
const {
|
|
16579
|
+
const { keys: ObjectKeys$2, create: ObjectCreate$2, assign: ObjectAssign$1 } = Object;
|
|
16572
16580
|
const { isArray: ArrayIsArray$2 } = Array;
|
|
16573
16581
|
const { stringify: JSONStringify$2 } = JSON;
|
|
16574
16582
|
function equalsArray(a, b, equalsItem) {
|
|
@@ -16603,24 +16611,6 @@
|
|
|
16603
16611
|
}
|
|
16604
16612
|
return true;
|
|
16605
16613
|
}
|
|
16606
|
-
function deepFreeze$P(value) {
|
|
16607
|
-
// No need to freeze primitives
|
|
16608
|
-
if (typeof value !== 'object' || value === null) {
|
|
16609
|
-
return;
|
|
16610
|
-
}
|
|
16611
|
-
if (ArrayIsArray$2(value)) {
|
|
16612
|
-
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
16613
|
-
deepFreeze$P(value[i]);
|
|
16614
|
-
}
|
|
16615
|
-
}
|
|
16616
|
-
else {
|
|
16617
|
-
const keys = ObjectKeys$2(value);
|
|
16618
|
-
for (let i = 0, len = keys.length; i < len; i += 1) {
|
|
16619
|
-
deepFreeze$P(value[keys[i]]);
|
|
16620
|
-
}
|
|
16621
|
-
}
|
|
16622
|
-
ObjectFreeze$2(value);
|
|
16623
|
-
}
|
|
16624
16614
|
function createLink$3(ref) {
|
|
16625
16615
|
return {
|
|
16626
16616
|
__ref: serializeStructuredKey(ref),
|
|
@@ -16684,11 +16674,6 @@
|
|
|
16684
16674
|
]
|
|
16685
16675
|
};
|
|
16686
16676
|
};
|
|
16687
|
-
function deepFreeze$O(input) {
|
|
16688
|
-
const input_operandLabels = input.operandLabels;
|
|
16689
|
-
ObjectFreeze$2(input_operandLabels);
|
|
16690
|
-
ObjectFreeze$2(input);
|
|
16691
|
-
}
|
|
16692
16677
|
|
|
16693
16678
|
const VERSION$1b = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
16694
16679
|
const select$1F = function ListReferenceRepresentationSelect() {
|
|
@@ -16762,9 +16747,6 @@
|
|
|
16762
16747
|
]
|
|
16763
16748
|
};
|
|
16764
16749
|
};
|
|
16765
|
-
function deepFreeze$N(input) {
|
|
16766
|
-
ObjectFreeze$2(input);
|
|
16767
|
-
}
|
|
16768
16750
|
|
|
16769
16751
|
const VERSION$19 = "6506134f4d72fdfa349fe60ef1af2413";
|
|
16770
16752
|
const select$1D = function ListUserPreferenceRepresentationSelect() {
|
|
@@ -16786,23 +16768,6 @@
|
|
|
16786
16768
|
]
|
|
16787
16769
|
};
|
|
16788
16770
|
};
|
|
16789
|
-
function deepFreeze$M(input) {
|
|
16790
|
-
const input_columnWidths = input.columnWidths;
|
|
16791
|
-
const input_columnWidths_keys = Object.keys(input_columnWidths);
|
|
16792
|
-
const input_columnWidths_length = input_columnWidths_keys.length;
|
|
16793
|
-
for (let i = 0; i < input_columnWidths_length; i++) {
|
|
16794
|
-
input_columnWidths_keys[i];
|
|
16795
|
-
}
|
|
16796
|
-
ObjectFreeze$2(input_columnWidths);
|
|
16797
|
-
const input_columnWrap = input.columnWrap;
|
|
16798
|
-
const input_columnWrap_keys = Object.keys(input_columnWrap);
|
|
16799
|
-
const input_columnWrap_length = input_columnWrap_keys.length;
|
|
16800
|
-
for (let i = 0; i < input_columnWrap_length; i++) {
|
|
16801
|
-
input_columnWrap_keys[i];
|
|
16802
|
-
}
|
|
16803
|
-
ObjectFreeze$2(input_columnWrap);
|
|
16804
|
-
ObjectFreeze$2(input);
|
|
16805
|
-
}
|
|
16806
16771
|
|
|
16807
16772
|
const TTL$x = 900000;
|
|
16808
16773
|
const VERSION$18 = "8f469cbf563d2ed6b2d3a7b2ee422e1f";
|
|
@@ -17003,9 +16968,6 @@
|
|
|
17003
16968
|
}
|
|
17004
16969
|
return true;
|
|
17005
16970
|
}
|
|
17006
|
-
function deepFreeze$L(input) {
|
|
17007
|
-
ObjectFreeze$2(input);
|
|
17008
|
-
}
|
|
17009
16971
|
|
|
17010
16972
|
const VERSION$16 = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
17011
16973
|
const RepresentationType$P = 'FieldValueRepresentation';
|
|
@@ -17063,13 +17025,6 @@
|
|
|
17063
17025
|
}
|
|
17064
17026
|
return true;
|
|
17065
17027
|
}
|
|
17066
|
-
function deepFreeze$K(input) {
|
|
17067
|
-
const input_value = input.value;
|
|
17068
|
-
if (input_value !== null && typeof input_value === 'object') {
|
|
17069
|
-
deepFreeze$I(input_value);
|
|
17070
|
-
}
|
|
17071
|
-
ObjectFreeze$2(input);
|
|
17072
|
-
}
|
|
17073
17028
|
const ingest$I$1 = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17074
17029
|
const key = path.fullPath;
|
|
17075
17030
|
const existingRecord = store.readEntry(key);
|
|
@@ -17113,7 +17068,7 @@
|
|
|
17113
17068
|
const { assign: assign$6, create: create$7, freeze: freeze$3, keys: keys$8 } = Object;
|
|
17114
17069
|
const { hasOwnProperty: hasOwnProperty$1 } = Object.prototype;
|
|
17115
17070
|
const { split, endsWith } = String.prototype;
|
|
17116
|
-
const { isArray: isArray$
|
|
17071
|
+
const { isArray: isArray$7 } = Array;
|
|
17117
17072
|
const { concat, filter: filter$1, includes: includes$1, push: push$3, reduce } = Array.prototype;
|
|
17118
17073
|
const { parse: parse$7, stringify: stringify$7 } = JSON;
|
|
17119
17074
|
|
|
@@ -17259,15 +17214,6 @@
|
|
|
17259
17214
|
}
|
|
17260
17215
|
return true;
|
|
17261
17216
|
}
|
|
17262
|
-
function deepFreeze$J(input) {
|
|
17263
|
-
const input_records = input.records;
|
|
17264
|
-
for (let i = 0; i < input_records.length; i++) {
|
|
17265
|
-
const input_records_item = input_records[i];
|
|
17266
|
-
deepFreeze$I(input_records_item);
|
|
17267
|
-
}
|
|
17268
|
-
ObjectFreeze$2(input_records);
|
|
17269
|
-
ObjectFreeze$2(input);
|
|
17270
|
-
}
|
|
17271
17217
|
const ingest$H$1 = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17272
17218
|
const key = path.fullPath;
|
|
17273
17219
|
const existingRecord = store.readEntry(key);
|
|
@@ -17556,31 +17502,6 @@
|
|
|
17556
17502
|
}
|
|
17557
17503
|
return true;
|
|
17558
17504
|
}
|
|
17559
|
-
function deepFreeze$I(input) {
|
|
17560
|
-
const input_childRelationships = input.childRelationships;
|
|
17561
|
-
const input_childRelationships_keys = Object.keys(input_childRelationships);
|
|
17562
|
-
const input_childRelationships_length = input_childRelationships_keys.length;
|
|
17563
|
-
for (let i = 0; i < input_childRelationships_length; i++) {
|
|
17564
|
-
const key = input_childRelationships_keys[i];
|
|
17565
|
-
const input_childRelationships_prop = input_childRelationships[key];
|
|
17566
|
-
deepFreeze$J(input_childRelationships_prop);
|
|
17567
|
-
}
|
|
17568
|
-
ObjectFreeze$2(input_childRelationships);
|
|
17569
|
-
const input_fields = input.fields;
|
|
17570
|
-
const input_fields_keys = Object.keys(input_fields);
|
|
17571
|
-
const input_fields_length = input_fields_keys.length;
|
|
17572
|
-
for (let i = 0; i < input_fields_length; i++) {
|
|
17573
|
-
const key = input_fields_keys[i];
|
|
17574
|
-
const input_fields_prop = input_fields[key];
|
|
17575
|
-
deepFreeze$K(input_fields_prop);
|
|
17576
|
-
}
|
|
17577
|
-
ObjectFreeze$2(input_fields);
|
|
17578
|
-
const input_recordTypeInfo = input.recordTypeInfo;
|
|
17579
|
-
if (input_recordTypeInfo !== null && typeof input_recordTypeInfo === 'object') {
|
|
17580
|
-
deepFreeze$L(input_recordTypeInfo);
|
|
17581
|
-
}
|
|
17582
|
-
ObjectFreeze$2(input);
|
|
17583
|
-
}
|
|
17584
17505
|
function getTypeCacheKeys$N(luvio, input, fullPathFactory) {
|
|
17585
17506
|
const rootKeySet = new StoreKeyMap();
|
|
17586
17507
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
@@ -19424,7 +19345,7 @@
|
|
|
19424
19345
|
}
|
|
19425
19346
|
return reduce.call(childKeys, (acc, cur) => concat.call(acc, convertTrieToFieldsRecursively(root.children[cur]).map((i) => `${root.name}.${i}`)), []);
|
|
19426
19347
|
}
|
|
19427
|
-
const BLANK_RECORD_FIELDS_TRIE =
|
|
19348
|
+
const BLANK_RECORD_FIELDS_TRIE = freeze$3({
|
|
19428
19349
|
name: '',
|
|
19429
19350
|
children: {},
|
|
19430
19351
|
});
|
|
@@ -20041,8 +19962,8 @@
|
|
|
20041
19962
|
return isSuperset(existingFieldsUnion, incomingFieldsUnion);
|
|
20042
19963
|
}
|
|
20043
19964
|
function unionFields(fields, optionalFields) {
|
|
20044
|
-
const fieldsArray = isArray$
|
|
20045
|
-
const optionalFieldsArray = isArray$
|
|
19965
|
+
const fieldsArray = isArray$7(fields) ? fields : [];
|
|
19966
|
+
const optionalFieldsArray = isArray$7(optionalFields) ? optionalFields : [];
|
|
20046
19967
|
return [...fieldsArray, ...optionalFieldsArray];
|
|
20047
19968
|
}
|
|
20048
19969
|
function getRecordIdsFromUrlParams(urlParams) {
|
|
@@ -20128,7 +20049,7 @@
|
|
|
20128
20049
|
* @returns The field API name.
|
|
20129
20050
|
*/
|
|
20130
20051
|
function getFieldApiNamesArray(value) {
|
|
20131
|
-
const valueArray = isArray$
|
|
20052
|
+
const valueArray = isArray$7(value) ? value : [value];
|
|
20132
20053
|
const array = [];
|
|
20133
20054
|
for (let i = 0, len = valueArray.length; i < len; i += 1) {
|
|
20134
20055
|
const item = valueArray[i];
|
|
@@ -20145,7 +20066,7 @@
|
|
|
20145
20066
|
}
|
|
20146
20067
|
|
|
20147
20068
|
function toSortedStringArray(value) {
|
|
20148
|
-
const valueArray = isArray$
|
|
20069
|
+
const valueArray = isArray$7(value) ? value : [value];
|
|
20149
20070
|
if (valueArray.length !== 0 && isArrayOfNonEmptyStrings(valueArray)) {
|
|
20150
20071
|
return dedupe(valueArray).sort();
|
|
20151
20072
|
}
|
|
@@ -20209,7 +20130,7 @@
|
|
|
20209
20130
|
config.recordId = untrustedConfig_recordId;
|
|
20210
20131
|
}
|
|
20211
20132
|
const untrustedConfig_childRelationships = untrustedConfig.childRelationships;
|
|
20212
|
-
if (ArrayIsArray$1
|
|
20133
|
+
if (ArrayIsArray$1(untrustedConfig_childRelationships)) {
|
|
20213
20134
|
const untrustedConfig_childRelationships_array = [];
|
|
20214
20135
|
for (let i = 0, arrayLength = untrustedConfig_childRelationships.length; i < arrayLength; i++) {
|
|
20215
20136
|
const untrustedConfig_childRelationships_item = untrustedConfig_childRelationships[i];
|
|
@@ -20220,7 +20141,7 @@
|
|
|
20220
20141
|
config.childRelationships = untrustedConfig_childRelationships_array;
|
|
20221
20142
|
}
|
|
20222
20143
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
20223
|
-
if (ArrayIsArray$1
|
|
20144
|
+
if (ArrayIsArray$1(untrustedConfig_fields)) {
|
|
20224
20145
|
const untrustedConfig_fields_array = [];
|
|
20225
20146
|
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
20226
20147
|
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
@@ -20231,7 +20152,7 @@
|
|
|
20231
20152
|
config.fields = untrustedConfig_fields_array;
|
|
20232
20153
|
}
|
|
20233
20154
|
const untrustedConfig_forms = untrustedConfig.forms;
|
|
20234
|
-
if (ArrayIsArray$1
|
|
20155
|
+
if (ArrayIsArray$1(untrustedConfig_forms)) {
|
|
20235
20156
|
const untrustedConfig_forms_array = [];
|
|
20236
20157
|
for (let i = 0, arrayLength = untrustedConfig_forms.length; i < arrayLength; i++) {
|
|
20237
20158
|
const untrustedConfig_forms_item = untrustedConfig_forms[i];
|
|
@@ -20242,7 +20163,7 @@
|
|
|
20242
20163
|
config.forms = untrustedConfig_forms_array;
|
|
20243
20164
|
}
|
|
20244
20165
|
const untrustedConfig_layoutTypes = untrustedConfig.layoutTypes;
|
|
20245
|
-
if (ArrayIsArray$1
|
|
20166
|
+
if (ArrayIsArray$1(untrustedConfig_layoutTypes)) {
|
|
20246
20167
|
const untrustedConfig_layoutTypes_array = [];
|
|
20247
20168
|
for (let i = 0, arrayLength = untrustedConfig_layoutTypes.length; i < arrayLength; i++) {
|
|
20248
20169
|
const untrustedConfig_layoutTypes_item = untrustedConfig_layoutTypes[i];
|
|
@@ -20253,7 +20174,7 @@
|
|
|
20253
20174
|
config.layoutTypes = untrustedConfig_layoutTypes_array;
|
|
20254
20175
|
}
|
|
20255
20176
|
const untrustedConfig_modes = untrustedConfig.modes;
|
|
20256
|
-
if (ArrayIsArray$1
|
|
20177
|
+
if (ArrayIsArray$1(untrustedConfig_modes)) {
|
|
20257
20178
|
const untrustedConfig_modes_array = [];
|
|
20258
20179
|
for (let i = 0, arrayLength = untrustedConfig_modes.length; i < arrayLength; i++) {
|
|
20259
20180
|
const untrustedConfig_modes_item = untrustedConfig_modes[i];
|
|
@@ -20264,7 +20185,7 @@
|
|
|
20264
20185
|
config.modes = untrustedConfig_modes_array;
|
|
20265
20186
|
}
|
|
20266
20187
|
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
20267
|
-
if (ArrayIsArray$1
|
|
20188
|
+
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
20268
20189
|
const untrustedConfig_optionalFields_array = [];
|
|
20269
20190
|
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
20270
20191
|
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
@@ -20419,7 +20340,7 @@
|
|
|
20419
20340
|
return luvio.applyCachePolicy(requestContext || {}, { config, luvio }, buildCachedSnapshotCachePolicy$J, buildNetworkSnapshotCachePolicy$K);
|
|
20420
20341
|
}
|
|
20421
20342
|
function isSingleBatchRecordResponse(response) {
|
|
20422
|
-
return (isArray$
|
|
20343
|
+
return (isArray$7(response.results) &&
|
|
20423
20344
|
response.results.length === 1);
|
|
20424
20345
|
}
|
|
20425
20346
|
|
|
@@ -20462,7 +20383,6 @@
|
|
|
20462
20383
|
statusCode: childStatusCode,
|
|
20463
20384
|
result: childSnapshot.data,
|
|
20464
20385
|
};
|
|
20465
|
-
ObjectFreeze$1$1(childValue);
|
|
20466
20386
|
childSnapshotDataResponses.push(childValue);
|
|
20467
20387
|
}
|
|
20468
20388
|
else {
|
|
@@ -20485,7 +20405,6 @@
|
|
|
20485
20405
|
statusCode: childStatusCode,
|
|
20486
20406
|
result: childBody,
|
|
20487
20407
|
};
|
|
20488
|
-
ObjectFreeze$1$1(childValue);
|
|
20489
20408
|
childSnapshotDataResponses.push(childValue);
|
|
20490
20409
|
}
|
|
20491
20410
|
// track non-cached responses so rebuilds work properly
|
|
@@ -20500,12 +20419,12 @@
|
|
|
20500
20419
|
delete nonCachedErrors$6[childKey];
|
|
20501
20420
|
}
|
|
20502
20421
|
}
|
|
20503
|
-
ObjectFreeze$1$1(childSnapshotDataResponses);
|
|
20504
20422
|
const childSnapshotData = {
|
|
20505
20423
|
results: childSnapshotDataResponses,
|
|
20506
20424
|
};
|
|
20425
|
+
deepFreeze(childSnapshotData);
|
|
20507
20426
|
return {
|
|
20508
|
-
childSnapshotData
|
|
20427
|
+
childSnapshotData,
|
|
20509
20428
|
seenRecords,
|
|
20510
20429
|
snapshotState,
|
|
20511
20430
|
};
|
|
@@ -20618,12 +20537,11 @@
|
|
|
20618
20537
|
reader.markPending();
|
|
20619
20538
|
break;
|
|
20620
20539
|
}
|
|
20621
|
-
ObjectFreeze$1$1(childSink);
|
|
20622
20540
|
ArrayPrototypePush$1.call(results, childSink);
|
|
20623
20541
|
reader.exitPath();
|
|
20624
20542
|
}
|
|
20625
20543
|
reader.assignNonScalar(sink, envelopePath, results);
|
|
20626
|
-
|
|
20544
|
+
deepFreeze(sink);
|
|
20627
20545
|
reader.exitPath();
|
|
20628
20546
|
return sink;
|
|
20629
20547
|
},
|
|
@@ -20729,10 +20647,10 @@
|
|
|
20729
20647
|
for (let innerIdx = 0, numOfRecordIds = recordIds.length; innerIdx < numOfRecordIds; innerIdx += 1) {
|
|
20730
20648
|
const currentRecordId = recordIds[innerIdx];
|
|
20731
20649
|
const queryParams = {};
|
|
20732
|
-
if (ArrayIsArray$1
|
|
20650
|
+
if (ArrayIsArray$1(fields)) {
|
|
20733
20651
|
queryParams.fields = fields;
|
|
20734
20652
|
}
|
|
20735
|
-
if (ArrayIsArray$1
|
|
20653
|
+
if (ArrayIsArray$1(optionalFields)) {
|
|
20736
20654
|
queryParams.optionalFields = optionalFields;
|
|
20737
20655
|
}
|
|
20738
20656
|
childResources.push({
|
|
@@ -21009,7 +20927,6 @@
|
|
|
21009
20927
|
reader.exitPath();
|
|
21010
20928
|
}
|
|
21011
20929
|
reader.exitPath();
|
|
21012
|
-
ObjectFreeze$2(itemsSink);
|
|
21013
20930
|
reader.assignNonScalar(sink, itemsProperty, itemsSink);
|
|
21014
20931
|
}
|
|
21015
20932
|
reader.enterPath('currentPageToken');
|
|
@@ -21120,7 +21037,6 @@
|
|
|
21120
21037
|
reader.exitPath();
|
|
21121
21038
|
}
|
|
21122
21039
|
reader.exitPath();
|
|
21123
|
-
ObjectFreeze$2(itemsSink);
|
|
21124
21040
|
reader.assignNonScalar(sink, itemsProperty, itemsSink);
|
|
21125
21041
|
}
|
|
21126
21042
|
reader.enterPath('currentPageToken');
|
|
@@ -21582,7 +21498,7 @@
|
|
|
21582
21498
|
config.objectApiName = untrustedConfig_objectApiName;
|
|
21583
21499
|
}
|
|
21584
21500
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
21585
|
-
if (ArrayIsArray$1
|
|
21501
|
+
if (ArrayIsArray$1(untrustedConfig_fields)) {
|
|
21586
21502
|
const untrustedConfig_fields_array = [];
|
|
21587
21503
|
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
21588
21504
|
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
@@ -21593,7 +21509,7 @@
|
|
|
21593
21509
|
config.fields = untrustedConfig_fields_array;
|
|
21594
21510
|
}
|
|
21595
21511
|
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
21596
|
-
if (ArrayIsArray$1
|
|
21512
|
+
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
21597
21513
|
const untrustedConfig_optionalFields_array = [];
|
|
21598
21514
|
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
21599
21515
|
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
@@ -21612,7 +21528,7 @@
|
|
|
21612
21528
|
config.pageToken = untrustedConfig_pageToken;
|
|
21613
21529
|
}
|
|
21614
21530
|
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
21615
|
-
if (ArrayIsArray$1
|
|
21531
|
+
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
21616
21532
|
const untrustedConfig_sortBy_array = [];
|
|
21617
21533
|
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
21618
21534
|
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
@@ -21710,7 +21626,7 @@
|
|
|
21710
21626
|
config.listViewId = untrustedConfig_listViewId;
|
|
21711
21627
|
}
|
|
21712
21628
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
21713
|
-
if (ArrayIsArray$1
|
|
21629
|
+
if (ArrayIsArray$1(untrustedConfig_fields)) {
|
|
21714
21630
|
const untrustedConfig_fields_array = [];
|
|
21715
21631
|
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
21716
21632
|
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
@@ -21721,7 +21637,7 @@
|
|
|
21721
21637
|
config.fields = untrustedConfig_fields_array;
|
|
21722
21638
|
}
|
|
21723
21639
|
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
21724
|
-
if (ArrayIsArray$1
|
|
21640
|
+
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
21725
21641
|
const untrustedConfig_optionalFields_array = [];
|
|
21726
21642
|
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
21727
21643
|
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
@@ -21740,7 +21656,7 @@
|
|
|
21740
21656
|
config.pageToken = untrustedConfig_pageToken;
|
|
21741
21657
|
}
|
|
21742
21658
|
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
21743
|
-
if (ArrayIsArray$1
|
|
21659
|
+
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
21744
21660
|
const untrustedConfig_sortBy_array = [];
|
|
21745
21661
|
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
21746
21662
|
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
@@ -22333,7 +22249,6 @@
|
|
|
22333
22249
|
reader.exitPath();
|
|
22334
22250
|
}
|
|
22335
22251
|
reader.exitPath();
|
|
22336
|
-
ObjectFreeze$2(itemsSink);
|
|
22337
22252
|
reader.assignNonScalar(sink, itemsProperty, itemsSink);
|
|
22338
22253
|
}
|
|
22339
22254
|
reader.enterPath('currentPageToken');
|
|
@@ -22581,6 +22496,7 @@
|
|
|
22581
22496
|
node: select$1t(luvio, resourceParams),
|
|
22582
22497
|
variables: {},
|
|
22583
22498
|
}, snapshotRefresh);
|
|
22499
|
+
deepFreeze(snapshot.data);
|
|
22584
22500
|
return snapshot;
|
|
22585
22501
|
}
|
|
22586
22502
|
function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
@@ -22912,7 +22828,7 @@
|
|
|
22912
22828
|
config.objectApiName = untrustedConfig_objectApiName;
|
|
22913
22829
|
}
|
|
22914
22830
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
22915
|
-
if (ArrayIsArray$1
|
|
22831
|
+
if (ArrayIsArray$1(untrustedConfig_fields)) {
|
|
22916
22832
|
const untrustedConfig_fields_array = [];
|
|
22917
22833
|
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
22918
22834
|
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
@@ -22923,7 +22839,7 @@
|
|
|
22923
22839
|
config.fields = untrustedConfig_fields_array;
|
|
22924
22840
|
}
|
|
22925
22841
|
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
22926
|
-
if (ArrayIsArray$1
|
|
22842
|
+
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
22927
22843
|
const untrustedConfig_optionalFields_array = [];
|
|
22928
22844
|
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
22929
22845
|
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
@@ -22942,7 +22858,7 @@
|
|
|
22942
22858
|
config.pageToken = untrustedConfig_pageToken;
|
|
22943
22859
|
}
|
|
22944
22860
|
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
22945
|
-
if (ArrayIsArray$1
|
|
22861
|
+
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
22946
22862
|
const untrustedConfig_sortBy_array = [];
|
|
22947
22863
|
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
22948
22864
|
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
@@ -23701,41 +23617,6 @@
|
|
|
23701
23617
|
return null;
|
|
23702
23618
|
}, { contextId: contextId$4 });
|
|
23703
23619
|
};
|
|
23704
|
-
function deepFreeze$H(input) {
|
|
23705
|
-
const input_junctionIdListNames = input.junctionIdListNames;
|
|
23706
|
-
ObjectFreeze$2(input_junctionIdListNames);
|
|
23707
|
-
const input_junctionReferenceTo = input.junctionReferenceTo;
|
|
23708
|
-
ObjectFreeze$2(input_junctionReferenceTo);
|
|
23709
|
-
ObjectFreeze$2(input);
|
|
23710
|
-
}
|
|
23711
|
-
function deepFreeze$G(input) {
|
|
23712
|
-
const input_controllingFields = input.controllingFields;
|
|
23713
|
-
ObjectFreeze$2(input_controllingFields);
|
|
23714
|
-
ObjectFreeze$2(input);
|
|
23715
|
-
}
|
|
23716
|
-
function deepFreeze$F(input) {
|
|
23717
|
-
const input_nameFields = input.nameFields;
|
|
23718
|
-
ObjectFreeze$2(input_nameFields);
|
|
23719
|
-
ObjectFreeze$2(input);
|
|
23720
|
-
}
|
|
23721
|
-
function deepFreeze$E(input) {
|
|
23722
|
-
const input_controllingFields = input.controllingFields;
|
|
23723
|
-
ObjectFreeze$2(input_controllingFields);
|
|
23724
|
-
const input_filteredLookupInfo = input.filteredLookupInfo;
|
|
23725
|
-
if (input_filteredLookupInfo !== null && typeof input_filteredLookupInfo === 'object') {
|
|
23726
|
-
deepFreeze$G(input_filteredLookupInfo);
|
|
23727
|
-
}
|
|
23728
|
-
const input_referenceToInfos = input.referenceToInfos;
|
|
23729
|
-
for (let i = 0; i < input_referenceToInfos.length; i++) {
|
|
23730
|
-
const input_referenceToInfos_item = input_referenceToInfos[i];
|
|
23731
|
-
deepFreeze$F(input_referenceToInfos_item);
|
|
23732
|
-
}
|
|
23733
|
-
ObjectFreeze$2(input_referenceToInfos);
|
|
23734
|
-
ObjectFreeze$2(input);
|
|
23735
|
-
}
|
|
23736
|
-
function deepFreeze$D(input) {
|
|
23737
|
-
ObjectFreeze$2(input);
|
|
23738
|
-
}
|
|
23739
23620
|
|
|
23740
23621
|
const TTL$t = 900000;
|
|
23741
23622
|
const VERSION$_ = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
@@ -23863,48 +23744,6 @@
|
|
|
23863
23744
|
}
|
|
23864
23745
|
return true;
|
|
23865
23746
|
}
|
|
23866
|
-
function deepFreeze$C(input) {
|
|
23867
|
-
const input_childRelationships = input.childRelationships;
|
|
23868
|
-
for (let i = 0; i < input_childRelationships.length; i++) {
|
|
23869
|
-
const input_childRelationships_item = input_childRelationships[i];
|
|
23870
|
-
deepFreeze$H(input_childRelationships_item);
|
|
23871
|
-
}
|
|
23872
|
-
ObjectFreeze$2(input_childRelationships);
|
|
23873
|
-
const input_dependentFields = input.dependentFields;
|
|
23874
|
-
const input_dependentFields_keys = Object.keys(input_dependentFields);
|
|
23875
|
-
const input_dependentFields_length = input_dependentFields_keys.length;
|
|
23876
|
-
for (let i = 0; i < input_dependentFields_length; i++) {
|
|
23877
|
-
const key = input_dependentFields_keys[i];
|
|
23878
|
-
const input_dependentFields_prop = input_dependentFields[key];
|
|
23879
|
-
ObjectFreeze$2(input_dependentFields_prop);
|
|
23880
|
-
}
|
|
23881
|
-
ObjectFreeze$2(input_dependentFields);
|
|
23882
|
-
const input_fields = input.fields;
|
|
23883
|
-
const input_fields_keys = Object.keys(input_fields);
|
|
23884
|
-
const input_fields_length = input_fields_keys.length;
|
|
23885
|
-
for (let i = 0; i < input_fields_length; i++) {
|
|
23886
|
-
const key = input_fields_keys[i];
|
|
23887
|
-
const input_fields_prop = input_fields[key];
|
|
23888
|
-
deepFreeze$E(input_fields_prop);
|
|
23889
|
-
}
|
|
23890
|
-
ObjectFreeze$2(input_fields);
|
|
23891
|
-
const input_nameFields = input.nameFields;
|
|
23892
|
-
ObjectFreeze$2(input_nameFields);
|
|
23893
|
-
const input_recordTypeInfos = input.recordTypeInfos;
|
|
23894
|
-
const input_recordTypeInfos_keys = Object.keys(input_recordTypeInfos);
|
|
23895
|
-
const input_recordTypeInfos_length = input_recordTypeInfos_keys.length;
|
|
23896
|
-
for (let i = 0; i < input_recordTypeInfos_length; i++) {
|
|
23897
|
-
const key = input_recordTypeInfos_keys[i];
|
|
23898
|
-
const input_recordTypeInfos_prop = input_recordTypeInfos[key];
|
|
23899
|
-
deepFreeze$L(input_recordTypeInfos_prop);
|
|
23900
|
-
}
|
|
23901
|
-
ObjectFreeze$2(input_recordTypeInfos);
|
|
23902
|
-
const input_themeInfo = input.themeInfo;
|
|
23903
|
-
if (input_themeInfo !== null && typeof input_themeInfo === 'object') {
|
|
23904
|
-
deepFreeze$D(input_themeInfo);
|
|
23905
|
-
}
|
|
23906
|
-
ObjectFreeze$2(input);
|
|
23907
|
-
}
|
|
23908
23747
|
const ingest$B$1 = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23909
23748
|
const key = keyBuilderFromType$s(luvio, input);
|
|
23910
23749
|
const existingRecord = store.readEntry(key);
|
|
@@ -23915,7 +23754,6 @@
|
|
|
23915
23754
|
propertyName: path.propertyName,
|
|
23916
23755
|
ttl: ttlToUse
|
|
23917
23756
|
});
|
|
23918
|
-
deepFreeze$C(input);
|
|
23919
23757
|
if (existingRecord === undefined || equals$N(existingRecord, incomingRecord) === false) {
|
|
23920
23758
|
luvio.storePublish(key, incomingRecord);
|
|
23921
23759
|
}
|
|
@@ -23962,6 +23800,7 @@
|
|
|
23962
23800
|
node: select$1r(),
|
|
23963
23801
|
variables: {},
|
|
23964
23802
|
}, snapshotRefresh);
|
|
23803
|
+
deepFreeze(snapshot.data);
|
|
23965
23804
|
return snapshot;
|
|
23966
23805
|
}
|
|
23967
23806
|
function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
@@ -24104,9 +23943,6 @@
|
|
|
24104
23943
|
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
24105
23944
|
buildCachedSnapshotCachePolicy$H, buildNetworkSnapshotCachePolicy$I);
|
|
24106
23945
|
};
|
|
24107
|
-
function deepFreeze$B(input) {
|
|
24108
|
-
ObjectFreeze$2(input);
|
|
24109
|
-
}
|
|
24110
23946
|
|
|
24111
23947
|
var DiscriminatorValues$4;
|
|
24112
23948
|
(function (DiscriminatorValues) {
|
|
@@ -24117,36 +23953,6 @@
|
|
|
24117
23953
|
DiscriminatorValues["Field"] = "Field";
|
|
24118
23954
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
24119
23955
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
24120
|
-
function deepFreeze$A(input) {
|
|
24121
|
-
ObjectFreeze$2(input);
|
|
24122
|
-
}
|
|
24123
|
-
function deepFreeze$z(input) {
|
|
24124
|
-
const input_layoutComponents = input.layoutComponents;
|
|
24125
|
-
for (let i = 0; i < input_layoutComponents.length; i++) {
|
|
24126
|
-
const input_layoutComponents_item = input_layoutComponents[i];
|
|
24127
|
-
deepFreeze$A(input_layoutComponents_item);
|
|
24128
|
-
}
|
|
24129
|
-
ObjectFreeze$2(input_layoutComponents);
|
|
24130
|
-
ObjectFreeze$2(input);
|
|
24131
|
-
}
|
|
24132
|
-
function deepFreeze$y(input) {
|
|
24133
|
-
const input_layoutItems = input.layoutItems;
|
|
24134
|
-
for (let i = 0; i < input_layoutItems.length; i++) {
|
|
24135
|
-
const input_layoutItems_item = input_layoutItems[i];
|
|
24136
|
-
deepFreeze$z(input_layoutItems_item);
|
|
24137
|
-
}
|
|
24138
|
-
ObjectFreeze$2(input_layoutItems);
|
|
24139
|
-
ObjectFreeze$2(input);
|
|
24140
|
-
}
|
|
24141
|
-
function deepFreeze$x(input) {
|
|
24142
|
-
const input_layoutRows = input.layoutRows;
|
|
24143
|
-
for (let i = 0; i < input_layoutRows.length; i++) {
|
|
24144
|
-
const input_layoutRows_item = input_layoutRows[i];
|
|
24145
|
-
deepFreeze$y(input_layoutRows_item);
|
|
24146
|
-
}
|
|
24147
|
-
ObjectFreeze$2(input_layoutRows);
|
|
24148
|
-
ObjectFreeze$2(input);
|
|
24149
|
-
}
|
|
24150
23956
|
|
|
24151
23957
|
const TTL$s = 900000;
|
|
24152
23958
|
const VERSION$Z = "fb515e25a89ca1ec154dc865e72b913a";
|
|
@@ -24213,21 +24019,6 @@
|
|
|
24213
24019
|
}
|
|
24214
24020
|
return true;
|
|
24215
24021
|
}
|
|
24216
|
-
function deepFreeze$w(input) {
|
|
24217
|
-
const input_saveOptions = input.saveOptions;
|
|
24218
|
-
for (let i = 0; i < input_saveOptions.length; i++) {
|
|
24219
|
-
const input_saveOptions_item = input_saveOptions[i];
|
|
24220
|
-
deepFreeze$B(input_saveOptions_item);
|
|
24221
|
-
}
|
|
24222
|
-
ObjectFreeze$2(input_saveOptions);
|
|
24223
|
-
const input_sections = input.sections;
|
|
24224
|
-
for (let i = 0; i < input_sections.length; i++) {
|
|
24225
|
-
const input_sections_item = input_sections[i];
|
|
24226
|
-
deepFreeze$x(input_sections_item);
|
|
24227
|
-
}
|
|
24228
|
-
ObjectFreeze$2(input_sections);
|
|
24229
|
-
ObjectFreeze$2(input);
|
|
24230
|
-
}
|
|
24231
24022
|
const ingest$A$1 = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24232
24023
|
const key = keyBuilderFromType$r(luvio, input);
|
|
24233
24024
|
const existingRecord = store.readEntry(key);
|
|
@@ -24238,7 +24029,6 @@
|
|
|
24238
24029
|
propertyName: path.propertyName,
|
|
24239
24030
|
ttl: ttlToUse
|
|
24240
24031
|
});
|
|
24241
|
-
deepFreeze$w(input);
|
|
24242
24032
|
if (existingRecord === undefined || equals$M(existingRecord, incomingRecord) === false) {
|
|
24243
24033
|
luvio.storePublish(key, incomingRecord);
|
|
24244
24034
|
}
|
|
@@ -24264,9 +24054,6 @@
|
|
|
24264
24054
|
});
|
|
24265
24055
|
return rootKeySet;
|
|
24266
24056
|
}
|
|
24267
|
-
function deepFreeze$v(input) {
|
|
24268
|
-
ObjectFreeze$2(input);
|
|
24269
|
-
}
|
|
24270
24057
|
|
|
24271
24058
|
const TTL$r = 900000;
|
|
24272
24059
|
const VERSION$Y = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
@@ -24315,18 +24102,6 @@
|
|
|
24315
24102
|
}
|
|
24316
24103
|
return true;
|
|
24317
24104
|
}
|
|
24318
|
-
function deepFreeze$u(input) {
|
|
24319
|
-
const input_sectionUserStates = input.sectionUserStates;
|
|
24320
|
-
const input_sectionUserStates_keys = Object.keys(input_sectionUserStates);
|
|
24321
|
-
const input_sectionUserStates_length = input_sectionUserStates_keys.length;
|
|
24322
|
-
for (let i = 0; i < input_sectionUserStates_length; i++) {
|
|
24323
|
-
const key = input_sectionUserStates_keys[i];
|
|
24324
|
-
const input_sectionUserStates_prop = input_sectionUserStates[key];
|
|
24325
|
-
deepFreeze$v(input_sectionUserStates_prop);
|
|
24326
|
-
}
|
|
24327
|
-
ObjectFreeze$2(input_sectionUserStates);
|
|
24328
|
-
ObjectFreeze$2(input);
|
|
24329
|
-
}
|
|
24330
24105
|
const ingest$z$1 = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24331
24106
|
const key = keyBuilderFromType$q(luvio, input);
|
|
24332
24107
|
const existingRecord = store.readEntry(key);
|
|
@@ -24337,7 +24112,6 @@
|
|
|
24337
24112
|
propertyName: path.propertyName,
|
|
24338
24113
|
ttl: ttlToUse
|
|
24339
24114
|
});
|
|
24340
|
-
deepFreeze$u(input);
|
|
24341
24115
|
if (existingRecord === undefined || equals$L(existingRecord, incomingRecord) === false) {
|
|
24342
24116
|
luvio.storePublish(key, incomingRecord);
|
|
24343
24117
|
}
|
|
@@ -24575,7 +24349,7 @@
|
|
|
24575
24349
|
* @returns The object API name.
|
|
24576
24350
|
*/
|
|
24577
24351
|
function getRecordId18Array(value) {
|
|
24578
|
-
const valueArray = isArray$
|
|
24352
|
+
const valueArray = isArray$7(value) ? value : [value];
|
|
24579
24353
|
const array = [];
|
|
24580
24354
|
for (let i = 0, len = valueArray.length; i < len; i += 1) {
|
|
24581
24355
|
const item = valueArray[i];
|
|
@@ -24630,7 +24404,7 @@
|
|
|
24630
24404
|
function typeCheckConfig$T(untrustedConfig) {
|
|
24631
24405
|
const config = {};
|
|
24632
24406
|
const untrustedConfig_recordIds = untrustedConfig.recordIds;
|
|
24633
|
-
if (ArrayIsArray$1
|
|
24407
|
+
if (ArrayIsArray$1(untrustedConfig_recordIds)) {
|
|
24634
24408
|
const untrustedConfig_recordIds_array = [];
|
|
24635
24409
|
for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
|
|
24636
24410
|
const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
|
|
@@ -24641,7 +24415,7 @@
|
|
|
24641
24415
|
config.recordIds = untrustedConfig_recordIds_array;
|
|
24642
24416
|
}
|
|
24643
24417
|
const untrustedConfig_childRelationships = untrustedConfig.childRelationships;
|
|
24644
|
-
if (ArrayIsArray$1
|
|
24418
|
+
if (ArrayIsArray$1(untrustedConfig_childRelationships)) {
|
|
24645
24419
|
const untrustedConfig_childRelationships_array = [];
|
|
24646
24420
|
for (let i = 0, arrayLength = untrustedConfig_childRelationships.length; i < arrayLength; i++) {
|
|
24647
24421
|
const untrustedConfig_childRelationships_item = untrustedConfig_childRelationships[i];
|
|
@@ -24656,7 +24430,7 @@
|
|
|
24656
24430
|
config.formFactor = untrustedConfig_formFactor;
|
|
24657
24431
|
}
|
|
24658
24432
|
const untrustedConfig_layoutTypes = untrustedConfig.layoutTypes;
|
|
24659
|
-
if (ArrayIsArray$1
|
|
24433
|
+
if (ArrayIsArray$1(untrustedConfig_layoutTypes)) {
|
|
24660
24434
|
const untrustedConfig_layoutTypes_array = [];
|
|
24661
24435
|
for (let i = 0, arrayLength = untrustedConfig_layoutTypes.length; i < arrayLength; i++) {
|
|
24662
24436
|
const untrustedConfig_layoutTypes_item = untrustedConfig_layoutTypes[i];
|
|
@@ -24667,7 +24441,7 @@
|
|
|
24667
24441
|
config.layoutTypes = untrustedConfig_layoutTypes_array;
|
|
24668
24442
|
}
|
|
24669
24443
|
const untrustedConfig_modes = untrustedConfig.modes;
|
|
24670
|
-
if (ArrayIsArray$1
|
|
24444
|
+
if (ArrayIsArray$1(untrustedConfig_modes)) {
|
|
24671
24445
|
const untrustedConfig_modes_array = [];
|
|
24672
24446
|
for (let i = 0, arrayLength = untrustedConfig_modes.length; i < arrayLength; i++) {
|
|
24673
24447
|
const untrustedConfig_modes_item = untrustedConfig_modes[i];
|
|
@@ -24678,7 +24452,7 @@
|
|
|
24678
24452
|
config.modes = untrustedConfig_modes_array;
|
|
24679
24453
|
}
|
|
24680
24454
|
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
24681
|
-
if (ArrayIsArray$1
|
|
24455
|
+
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
24682
24456
|
const untrustedConfig_optionalFields_array = [];
|
|
24683
24457
|
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
24684
24458
|
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
@@ -26290,6 +26064,7 @@
|
|
|
26290
26064
|
node: select$1k(),
|
|
26291
26065
|
variables: {},
|
|
26292
26066
|
}, snapshotRefresh);
|
|
26067
|
+
deepFreeze(snapshot.data);
|
|
26293
26068
|
return snapshot;
|
|
26294
26069
|
}
|
|
26295
26070
|
function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
@@ -26319,7 +26094,7 @@
|
|
|
26319
26094
|
}
|
|
26320
26095
|
|
|
26321
26096
|
function toSortedStringArrayAllowEmpty(value) {
|
|
26322
|
-
const valueArray = isArray$
|
|
26097
|
+
const valueArray = isArray$7(value) ? value : [value];
|
|
26323
26098
|
if (valueArray.length === 0) {
|
|
26324
26099
|
return valueArray;
|
|
26325
26100
|
}
|
|
@@ -26387,7 +26162,7 @@
|
|
|
26387
26162
|
function typeCheckConfig$S(untrustedConfig) {
|
|
26388
26163
|
const config = {};
|
|
26389
26164
|
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
26390
|
-
if (ArrayIsArray$1
|
|
26165
|
+
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
26391
26166
|
const untrustedConfig_actionTypes_array = [];
|
|
26392
26167
|
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
26393
26168
|
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
@@ -26398,7 +26173,7 @@
|
|
|
26398
26173
|
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
26399
26174
|
}
|
|
26400
26175
|
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
26401
|
-
if (ArrayIsArray$1
|
|
26176
|
+
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
26402
26177
|
const untrustedConfig_apiNames_array = [];
|
|
26403
26178
|
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
26404
26179
|
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
@@ -26417,7 +26192,7 @@
|
|
|
26417
26192
|
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
26418
26193
|
}
|
|
26419
26194
|
const untrustedConfig_sections = untrustedConfig.sections;
|
|
26420
|
-
if (ArrayIsArray$1
|
|
26195
|
+
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
26421
26196
|
const untrustedConfig_sections_array = [];
|
|
26422
26197
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
26423
26198
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
@@ -26549,11 +26324,6 @@
|
|
|
26549
26324
|
}
|
|
26550
26325
|
return true;
|
|
26551
26326
|
}
|
|
26552
|
-
function deepFreeze$t(input) {
|
|
26553
|
-
const input_layout = input.layout;
|
|
26554
|
-
deepFreeze$w(input_layout);
|
|
26555
|
-
ObjectFreeze$2(input);
|
|
26556
|
-
}
|
|
26557
26327
|
const ingest$t$1 = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26558
26328
|
const key = keyBuilderFromType$m(luvio, input);
|
|
26559
26329
|
const existingRecord = store.readEntry(key);
|
|
@@ -26564,7 +26334,6 @@
|
|
|
26564
26334
|
propertyName: path.propertyName,
|
|
26565
26335
|
ttl: ttlToUse
|
|
26566
26336
|
});
|
|
26567
|
-
deepFreeze$t(input);
|
|
26568
26337
|
if (existingRecord === undefined || equals$F(existingRecord, incomingRecord) === false) {
|
|
26569
26338
|
luvio.storePublish(key, incomingRecord);
|
|
26570
26339
|
}
|
|
@@ -26611,6 +26380,7 @@
|
|
|
26611
26380
|
node: select$1i(),
|
|
26612
26381
|
variables: {},
|
|
26613
26382
|
}, snapshotRefresh);
|
|
26383
|
+
deepFreeze(snapshot.data);
|
|
26614
26384
|
return snapshot;
|
|
26615
26385
|
}
|
|
26616
26386
|
function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
@@ -26763,6 +26533,7 @@
|
|
|
26763
26533
|
node: select$1h(),
|
|
26764
26534
|
variables: {},
|
|
26765
26535
|
}, snapshotRefresh);
|
|
26536
|
+
deepFreeze(snapshot.data);
|
|
26766
26537
|
return snapshot;
|
|
26767
26538
|
}
|
|
26768
26539
|
function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
@@ -26797,7 +26568,7 @@
|
|
|
26797
26568
|
* @returns The object API name.
|
|
26798
26569
|
*/
|
|
26799
26570
|
function getObjectApiNamesArray(value) {
|
|
26800
|
-
const valueArray = isArray$
|
|
26571
|
+
const valueArray = isArray$7(value) ? value : [value];
|
|
26801
26572
|
const array = [];
|
|
26802
26573
|
for (let i = 0, len = valueArray.length; i < len; i += 1) {
|
|
26803
26574
|
const item = valueArray[i];
|
|
@@ -26869,7 +26640,7 @@
|
|
|
26869
26640
|
function typeCheckConfig$Q(untrustedConfig) {
|
|
26870
26641
|
const config = {};
|
|
26871
26642
|
const untrustedConfig_objectApiNames = untrustedConfig.objectApiNames;
|
|
26872
|
-
if (ArrayIsArray$1
|
|
26643
|
+
if (ArrayIsArray$1(untrustedConfig_objectApiNames)) {
|
|
26873
26644
|
const untrustedConfig_objectApiNames_array = [];
|
|
26874
26645
|
for (let i = 0, arrayLength = untrustedConfig_objectApiNames.length; i < arrayLength; i++) {
|
|
26875
26646
|
const untrustedConfig_objectApiNames_item = untrustedConfig_objectApiNames[i];
|
|
@@ -26880,7 +26651,7 @@
|
|
|
26880
26651
|
config.objectApiNames = untrustedConfig_objectApiNames_array;
|
|
26881
26652
|
}
|
|
26882
26653
|
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
26883
|
-
if (ArrayIsArray$1
|
|
26654
|
+
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
26884
26655
|
const untrustedConfig_actionTypes_array = [];
|
|
26885
26656
|
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
26886
26657
|
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
@@ -26895,7 +26666,7 @@
|
|
|
26895
26666
|
config.formFactor = untrustedConfig_formFactor;
|
|
26896
26667
|
}
|
|
26897
26668
|
const untrustedConfig_sections = untrustedConfig.sections;
|
|
26898
|
-
if (ArrayIsArray$1
|
|
26669
|
+
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
26899
26670
|
const untrustedConfig_sections_array = [];
|
|
26900
26671
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
26901
26672
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
@@ -27004,6 +26775,7 @@
|
|
|
27004
26775
|
node: select$1g(),
|
|
27005
26776
|
variables: {},
|
|
27006
26777
|
}, snapshotRefresh);
|
|
26778
|
+
deepFreeze(snapshot.data);
|
|
27007
26779
|
return snapshot;
|
|
27008
26780
|
}
|
|
27009
26781
|
function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
@@ -27082,7 +26854,7 @@
|
|
|
27082
26854
|
config.objectApiName = untrustedConfig_objectApiName;
|
|
27083
26855
|
}
|
|
27084
26856
|
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
27085
|
-
if (ArrayIsArray$1
|
|
26857
|
+
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
27086
26858
|
const untrustedConfig_actionTypes_array = [];
|
|
27087
26859
|
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
27088
26860
|
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
@@ -27097,7 +26869,7 @@
|
|
|
27097
26869
|
config.formFactor = untrustedConfig_formFactor;
|
|
27098
26870
|
}
|
|
27099
26871
|
const untrustedConfig_sections = untrustedConfig.sections;
|
|
27100
|
-
if (ArrayIsArray$1
|
|
26872
|
+
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
27101
26873
|
const untrustedConfig_sections_array = [];
|
|
27102
26874
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
27103
26875
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
@@ -27207,11 +26979,6 @@
|
|
|
27207
26979
|
}
|
|
27208
26980
|
return true;
|
|
27209
26981
|
}
|
|
27210
|
-
function deepFreeze$s(input) {
|
|
27211
|
-
const input_records = input.records;
|
|
27212
|
-
ObjectFreeze$2(input_records);
|
|
27213
|
-
ObjectFreeze$2(input);
|
|
27214
|
-
}
|
|
27215
26982
|
const ingest$s$1 = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
27216
26983
|
const key = path.fullPath;
|
|
27217
26984
|
const existingRecord = store.readEntry(key);
|
|
@@ -27222,7 +26989,6 @@
|
|
|
27222
26989
|
propertyName: path.propertyName,
|
|
27223
26990
|
ttl: ttlToUse
|
|
27224
26991
|
});
|
|
27225
|
-
deepFreeze$s(input);
|
|
27226
26992
|
if (existingRecord === undefined || equals$E(existingRecord, incomingRecord) === false) {
|
|
27227
26993
|
luvio.storePublish(key, incomingRecord);
|
|
27228
26994
|
}
|
|
@@ -27267,6 +27033,7 @@
|
|
|
27267
27033
|
node: select$1e(),
|
|
27268
27034
|
variables: {},
|
|
27269
27035
|
}, snapshotRefresh);
|
|
27036
|
+
deepFreeze(snapshot.data);
|
|
27270
27037
|
return snapshot;
|
|
27271
27038
|
}
|
|
27272
27039
|
function ingestError$w(luvio, params, error, snapshotRefresh) {
|
|
@@ -27718,7 +27485,7 @@
|
|
|
27718
27485
|
config.actionApiName = untrustedConfig_actionApiName;
|
|
27719
27486
|
}
|
|
27720
27487
|
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
27721
|
-
if (ArrayIsArray$1
|
|
27488
|
+
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
27722
27489
|
const untrustedConfig_optionalFields_array = [];
|
|
27723
27490
|
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
27724
27491
|
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
@@ -27821,6 +27588,7 @@
|
|
|
27821
27588
|
node: select$1d(),
|
|
27822
27589
|
variables: {},
|
|
27823
27590
|
}, snapshotRefresh);
|
|
27591
|
+
deepFreeze(snapshot.data);
|
|
27824
27592
|
return snapshot;
|
|
27825
27593
|
}
|
|
27826
27594
|
function ingestError$u(luvio, params, error, snapshotRefresh) {
|
|
@@ -27903,7 +27671,7 @@
|
|
|
27903
27671
|
function typeCheckConfig$M(untrustedConfig) {
|
|
27904
27672
|
const config = {};
|
|
27905
27673
|
const untrustedConfig_recordIds = untrustedConfig.recordIds;
|
|
27906
|
-
if (ArrayIsArray$1
|
|
27674
|
+
if (ArrayIsArray$1(untrustedConfig_recordIds)) {
|
|
27907
27675
|
const untrustedConfig_recordIds_array = [];
|
|
27908
27676
|
for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
|
|
27909
27677
|
const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
|
|
@@ -27914,7 +27682,7 @@
|
|
|
27914
27682
|
config.recordIds = untrustedConfig_recordIds_array;
|
|
27915
27683
|
}
|
|
27916
27684
|
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
27917
|
-
if (ArrayIsArray$1
|
|
27685
|
+
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
27918
27686
|
const untrustedConfig_actionTypes_array = [];
|
|
27919
27687
|
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
27920
27688
|
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
@@ -27925,7 +27693,7 @@
|
|
|
27925
27693
|
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
27926
27694
|
}
|
|
27927
27695
|
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
27928
|
-
if (ArrayIsArray$1
|
|
27696
|
+
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
27929
27697
|
const untrustedConfig_apiNames_array = [];
|
|
27930
27698
|
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
27931
27699
|
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
@@ -27944,7 +27712,7 @@
|
|
|
27944
27712
|
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
27945
27713
|
}
|
|
27946
27714
|
const untrustedConfig_sections = untrustedConfig.sections;
|
|
27947
|
-
if (ArrayIsArray$1
|
|
27715
|
+
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
27948
27716
|
const untrustedConfig_sections_array = [];
|
|
27949
27717
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
27950
27718
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
@@ -28057,6 +27825,7 @@
|
|
|
28057
27825
|
node: select$1c(),
|
|
28058
27826
|
variables: {},
|
|
28059
27827
|
}, snapshotRefresh);
|
|
27828
|
+
deepFreeze(snapshot.data);
|
|
28060
27829
|
return snapshot;
|
|
28061
27830
|
}
|
|
28062
27831
|
function ingestError$t(luvio, params, error, snapshotRefresh) {
|
|
@@ -28131,7 +27900,7 @@
|
|
|
28131
27900
|
function typeCheckConfig$L(untrustedConfig) {
|
|
28132
27901
|
const config = {};
|
|
28133
27902
|
const untrustedConfig_recordIds = untrustedConfig.recordIds;
|
|
28134
|
-
if (ArrayIsArray$1
|
|
27903
|
+
if (ArrayIsArray$1(untrustedConfig_recordIds)) {
|
|
28135
27904
|
const untrustedConfig_recordIds_array = [];
|
|
28136
27905
|
for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
|
|
28137
27906
|
const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
|
|
@@ -28142,7 +27911,7 @@
|
|
|
28142
27911
|
config.recordIds = untrustedConfig_recordIds_array;
|
|
28143
27912
|
}
|
|
28144
27913
|
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
28145
|
-
if (ArrayIsArray$1
|
|
27914
|
+
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
28146
27915
|
const untrustedConfig_actionTypes_array = [];
|
|
28147
27916
|
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
28148
27917
|
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
@@ -28157,7 +27926,7 @@
|
|
|
28157
27926
|
config.formFactor = untrustedConfig_formFactor;
|
|
28158
27927
|
}
|
|
28159
27928
|
const untrustedConfig_sections = untrustedConfig.sections;
|
|
28160
|
-
if (ArrayIsArray$1
|
|
27929
|
+
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
28161
27930
|
const untrustedConfig_sections_array = [];
|
|
28162
27931
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
28163
27932
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
@@ -28336,6 +28105,7 @@
|
|
|
28336
28105
|
node: select$1b(),
|
|
28337
28106
|
variables: {},
|
|
28338
28107
|
}, snapshotRefresh);
|
|
28108
|
+
deepFreeze(snapshot.data);
|
|
28339
28109
|
return snapshot;
|
|
28340
28110
|
}
|
|
28341
28111
|
function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
@@ -28451,12 +28221,11 @@
|
|
|
28451
28221
|
reader.markStale();
|
|
28452
28222
|
break;
|
|
28453
28223
|
}
|
|
28454
|
-
ObjectFreeze$1$1(childSink);
|
|
28455
28224
|
ArrayPrototypePush$1.call(results, childSink);
|
|
28456
28225
|
reader.exitPath();
|
|
28457
28226
|
}
|
|
28458
28227
|
reader.assignNonScalar(sink, envelopePath, results);
|
|
28459
|
-
|
|
28228
|
+
deepFreeze(sink);
|
|
28460
28229
|
reader.exitPath();
|
|
28461
28230
|
return sink;
|
|
28462
28231
|
},
|
|
@@ -28501,7 +28270,6 @@
|
|
|
28501
28270
|
statusCode: childStatusCode,
|
|
28502
28271
|
result: childSnapshot.data,
|
|
28503
28272
|
};
|
|
28504
|
-
ObjectFreeze$1$1(childValue);
|
|
28505
28273
|
childSnapshotDataResponses.push(childValue);
|
|
28506
28274
|
}
|
|
28507
28275
|
else {
|
|
@@ -28520,15 +28288,13 @@
|
|
|
28520
28288
|
statusCode: childStatusCode,
|
|
28521
28289
|
result: childBody,
|
|
28522
28290
|
};
|
|
28523
|
-
ObjectFreeze$1$1(childValue);
|
|
28524
28291
|
childSnapshotDataResponses.push(childValue);
|
|
28525
28292
|
}
|
|
28526
28293
|
}
|
|
28527
|
-
ObjectFreeze$1$1(childSnapshotDataResponses);
|
|
28528
28294
|
const childSnapshotData = {
|
|
28529
28295
|
results: childSnapshotDataResponses,
|
|
28530
28296
|
};
|
|
28531
|
-
|
|
28297
|
+
deepFreeze(childSnapshotData);
|
|
28532
28298
|
return {
|
|
28533
28299
|
recordId: key,
|
|
28534
28300
|
data: childSnapshotData,
|
|
@@ -28624,7 +28390,7 @@
|
|
|
28624
28390
|
function typeCheckConfig$K(untrustedConfig) {
|
|
28625
28391
|
const config = {};
|
|
28626
28392
|
const untrustedConfig_recordIds = untrustedConfig.recordIds;
|
|
28627
|
-
if (ArrayIsArray$1
|
|
28393
|
+
if (ArrayIsArray$1(untrustedConfig_recordIds)) {
|
|
28628
28394
|
const untrustedConfig_recordIds_array = [];
|
|
28629
28395
|
for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
|
|
28630
28396
|
const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
|
|
@@ -28635,7 +28401,7 @@
|
|
|
28635
28401
|
config.recordIds = untrustedConfig_recordIds_array;
|
|
28636
28402
|
}
|
|
28637
28403
|
const untrustedConfig_relatedListsActionParameters = untrustedConfig.relatedListsActionParameters;
|
|
28638
|
-
if (ArrayIsArray$1
|
|
28404
|
+
if (ArrayIsArray$1(untrustedConfig_relatedListsActionParameters)) {
|
|
28639
28405
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
28640
28406
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
28641
28407
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
@@ -28795,7 +28561,7 @@
|
|
|
28795
28561
|
function typeCheckConfig$J(untrustedConfig) {
|
|
28796
28562
|
const config = {};
|
|
28797
28563
|
const untrustedConfig_recordIds = untrustedConfig.recordIds;
|
|
28798
|
-
if (ArrayIsArray$1
|
|
28564
|
+
if (ArrayIsArray$1(untrustedConfig_recordIds)) {
|
|
28799
28565
|
const untrustedConfig_recordIds_array = [];
|
|
28800
28566
|
for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
|
|
28801
28567
|
const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
|
|
@@ -28810,7 +28576,7 @@
|
|
|
28810
28576
|
config.relatedListId = untrustedConfig_relatedListId;
|
|
28811
28577
|
}
|
|
28812
28578
|
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
28813
|
-
if (ArrayIsArray$1
|
|
28579
|
+
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
28814
28580
|
const untrustedConfig_actionTypes_array = [];
|
|
28815
28581
|
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
28816
28582
|
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
@@ -28821,7 +28587,7 @@
|
|
|
28821
28587
|
config.actionTypes = untrustedConfig_actionTypes_array;
|
|
28822
28588
|
}
|
|
28823
28589
|
const untrustedConfig_apiNames = untrustedConfig.apiNames;
|
|
28824
|
-
if (ArrayIsArray$1
|
|
28590
|
+
if (ArrayIsArray$1(untrustedConfig_apiNames)) {
|
|
28825
28591
|
const untrustedConfig_apiNames_array = [];
|
|
28826
28592
|
for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
|
|
28827
28593
|
const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
|
|
@@ -28840,7 +28606,7 @@
|
|
|
28840
28606
|
config.retrievalMode = untrustedConfig_retrievalMode;
|
|
28841
28607
|
}
|
|
28842
28608
|
const untrustedConfig_sections = untrustedConfig.sections;
|
|
28843
|
-
if (ArrayIsArray$1
|
|
28609
|
+
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
28844
28610
|
const untrustedConfig_sections_array = [];
|
|
28845
28611
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
28846
28612
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
@@ -28949,6 +28715,7 @@
|
|
|
28949
28715
|
node: select$19(),
|
|
28950
28716
|
variables: {},
|
|
28951
28717
|
}, snapshotRefresh);
|
|
28718
|
+
deepFreeze(snapshot.data);
|
|
28952
28719
|
return snapshot;
|
|
28953
28720
|
}
|
|
28954
28721
|
function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
@@ -29027,7 +28794,7 @@
|
|
|
29027
28794
|
function typeCheckConfig$I(untrustedConfig) {
|
|
29028
28795
|
const config = {};
|
|
29029
28796
|
const untrustedConfig_recordIds = untrustedConfig.recordIds;
|
|
29030
|
-
if (ArrayIsArray$1
|
|
28797
|
+
if (ArrayIsArray$1(untrustedConfig_recordIds)) {
|
|
29031
28798
|
const untrustedConfig_recordIds_array = [];
|
|
29032
28799
|
for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
|
|
29033
28800
|
const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
|
|
@@ -29038,7 +28805,7 @@
|
|
|
29038
28805
|
config.recordIds = untrustedConfig_recordIds_array;
|
|
29039
28806
|
}
|
|
29040
28807
|
const untrustedConfig_relatedListRecordIds = untrustedConfig.relatedListRecordIds;
|
|
29041
|
-
if (ArrayIsArray$1
|
|
28808
|
+
if (ArrayIsArray$1(untrustedConfig_relatedListRecordIds)) {
|
|
29042
28809
|
const untrustedConfig_relatedListRecordIds_array = [];
|
|
29043
28810
|
for (let i = 0, arrayLength = untrustedConfig_relatedListRecordIds.length; i < arrayLength; i++) {
|
|
29044
28811
|
const untrustedConfig_relatedListRecordIds_item = untrustedConfig_relatedListRecordIds[i];
|
|
@@ -29049,7 +28816,7 @@
|
|
|
29049
28816
|
config.relatedListRecordIds = untrustedConfig_relatedListRecordIds_array;
|
|
29050
28817
|
}
|
|
29051
28818
|
const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
|
|
29052
|
-
if (ArrayIsArray$1
|
|
28819
|
+
if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
|
|
29053
28820
|
const untrustedConfig_actionTypes_array = [];
|
|
29054
28821
|
for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
|
|
29055
28822
|
const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
|
|
@@ -29064,7 +28831,7 @@
|
|
|
29064
28831
|
config.formFactor = untrustedConfig_formFactor;
|
|
29065
28832
|
}
|
|
29066
28833
|
const untrustedConfig_sections = untrustedConfig.sections;
|
|
29067
|
-
if (ArrayIsArray$1
|
|
28834
|
+
if (ArrayIsArray$1(untrustedConfig_sections)) {
|
|
29068
28835
|
const untrustedConfig_sections_array = [];
|
|
29069
28836
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
29070
28837
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
@@ -29174,27 +28941,6 @@
|
|
|
29174
28941
|
}
|
|
29175
28942
|
return true;
|
|
29176
28943
|
}
|
|
29177
|
-
function deepFreeze$r(input) {
|
|
29178
|
-
const input_attributes = input.attributes;
|
|
29179
|
-
const input_attributes_keys = Object.keys(input_attributes);
|
|
29180
|
-
const input_attributes_length = input_attributes_keys.length;
|
|
29181
|
-
for (let i = 0; i < input_attributes_length; i++) {
|
|
29182
|
-
const key = input_attributes_keys[i];
|
|
29183
|
-
const input_attributes_prop = input_attributes[key];
|
|
29184
|
-
deepFreeze$P(input_attributes_prop);
|
|
29185
|
-
}
|
|
29186
|
-
ObjectFreeze$2(input_attributes);
|
|
29187
|
-
const input_state = input.state;
|
|
29188
|
-
const input_state_keys = Object.keys(input_state);
|
|
29189
|
-
const input_state_length = input_state_keys.length;
|
|
29190
|
-
for (let i = 0; i < input_state_length; i++) {
|
|
29191
|
-
const key = input_state_keys[i];
|
|
29192
|
-
const input_state_prop = input_state[key];
|
|
29193
|
-
ObjectFreeze$2(input_state_prop);
|
|
29194
|
-
}
|
|
29195
|
-
ObjectFreeze$2(input_state);
|
|
29196
|
-
ObjectFreeze$2(input);
|
|
29197
|
-
}
|
|
29198
28944
|
const ingest$r$1 = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29199
28945
|
const key = path.fullPath;
|
|
29200
28946
|
const existingRecord = store.readEntry(key);
|
|
@@ -29205,7 +28951,6 @@
|
|
|
29205
28951
|
propertyName: path.propertyName,
|
|
29206
28952
|
ttl: ttlToUse
|
|
29207
28953
|
});
|
|
29208
|
-
deepFreeze$r(input);
|
|
29209
28954
|
if (existingRecord === undefined || equals$C(existingRecord, incomingRecord) === false) {
|
|
29210
28955
|
luvio.storePublish(key, incomingRecord);
|
|
29211
28956
|
}
|
|
@@ -29853,6 +29598,7 @@
|
|
|
29853
29598
|
node: select$14(),
|
|
29854
29599
|
variables: {},
|
|
29855
29600
|
}, snapshotRefresh);
|
|
29601
|
+
deepFreeze(snapshot.data);
|
|
29856
29602
|
return snapshot;
|
|
29857
29603
|
}
|
|
29858
29604
|
function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
@@ -30024,6 +29770,7 @@
|
|
|
30024
29770
|
node: select$13(),
|
|
30025
29771
|
variables: {},
|
|
30026
29772
|
}, snapshotRefresh);
|
|
29773
|
+
deepFreeze(snapshot.data);
|
|
30027
29774
|
return snapshot;
|
|
30028
29775
|
}
|
|
30029
29776
|
function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
@@ -30427,6 +30174,7 @@
|
|
|
30427
30174
|
node: select$Z(),
|
|
30428
30175
|
variables: {},
|
|
30429
30176
|
}, snapshotRefresh);
|
|
30177
|
+
deepFreeze(snapshot.data);
|
|
30430
30178
|
return snapshot;
|
|
30431
30179
|
}
|
|
30432
30180
|
function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
@@ -31057,6 +30805,7 @@
|
|
|
31057
30805
|
node: select$Y(),
|
|
31058
30806
|
variables: {},
|
|
31059
30807
|
}, snapshotRefresh);
|
|
30808
|
+
deepFreeze(snapshot.data);
|
|
31060
30809
|
return snapshot;
|
|
31061
30810
|
}
|
|
31062
30811
|
function ingestError$l(luvio, params, error, snapshotRefresh) {
|
|
@@ -31212,12 +30961,11 @@
|
|
|
31212
30961
|
reader.markPending();
|
|
31213
30962
|
break;
|
|
31214
30963
|
}
|
|
31215
|
-
ObjectFreeze$1$1(childSink);
|
|
31216
30964
|
ArrayPrototypePush$1.call(results, childSink);
|
|
31217
30965
|
reader.exitPath();
|
|
31218
30966
|
}
|
|
31219
30967
|
reader.assignNonScalar(sink, envelopePath, results);
|
|
31220
|
-
|
|
30968
|
+
deepFreeze(sink);
|
|
31221
30969
|
reader.exitPath();
|
|
31222
30970
|
return sink;
|
|
31223
30971
|
},
|
|
@@ -31289,7 +31037,6 @@
|
|
|
31289
31037
|
statusCode: 200,
|
|
31290
31038
|
result: childSnapshot.data,
|
|
31291
31039
|
};
|
|
31292
|
-
ObjectFreeze$1$1(childValue);
|
|
31293
31040
|
ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
|
|
31294
31041
|
}
|
|
31295
31042
|
else {
|
|
@@ -31308,7 +31055,6 @@
|
|
|
31308
31055
|
statusCode: childStatusCode,
|
|
31309
31056
|
result: childBody,
|
|
31310
31057
|
};
|
|
31311
|
-
ObjectFreeze$1$1(childValue);
|
|
31312
31058
|
ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
|
|
31313
31059
|
}
|
|
31314
31060
|
// track non-cached responses so rebuilds work properly
|
|
@@ -31323,11 +31069,11 @@
|
|
|
31323
31069
|
delete nonCachedErrors$5[childKey];
|
|
31324
31070
|
}
|
|
31325
31071
|
}
|
|
31326
|
-
ObjectFreeze$1$1(childSnapshotDataResponses);
|
|
31327
31072
|
const childSnapshotData = {
|
|
31328
31073
|
results: childSnapshotDataResponses,
|
|
31329
31074
|
};
|
|
31330
|
-
|
|
31075
|
+
deepFreeze(childSnapshotData);
|
|
31076
|
+
return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
|
|
31331
31077
|
}
|
|
31332
31078
|
function ingestSuccess$p(luvio, resourceParams, response, snapshotRefresh) {
|
|
31333
31079
|
const childEnvelopes = response.body.results;
|
|
@@ -31393,7 +31139,7 @@
|
|
|
31393
31139
|
function typeCheckConfig$C(untrustedConfig) {
|
|
31394
31140
|
const config = {};
|
|
31395
31141
|
const untrustedConfig_ids = untrustedConfig.ids;
|
|
31396
|
-
if (ArrayIsArray$1
|
|
31142
|
+
if (ArrayIsArray$1(untrustedConfig_ids)) {
|
|
31397
31143
|
const untrustedConfig_ids_array = [];
|
|
31398
31144
|
for (let i = 0, arrayLength = untrustedConfig_ids.length; i < arrayLength; i++) {
|
|
31399
31145
|
const untrustedConfig_ids_item = untrustedConfig_ids[i];
|
|
@@ -31404,7 +31150,7 @@
|
|
|
31404
31150
|
config.ids = untrustedConfig_ids_array;
|
|
31405
31151
|
}
|
|
31406
31152
|
const untrustedConfig_names = untrustedConfig.names;
|
|
31407
|
-
if (ArrayIsArray$1
|
|
31153
|
+
if (ArrayIsArray$1(untrustedConfig_names)) {
|
|
31408
31154
|
const untrustedConfig_names_array = [];
|
|
31409
31155
|
for (let i = 0, arrayLength = untrustedConfig_names.length; i < arrayLength; i++) {
|
|
31410
31156
|
const untrustedConfig_names_item = untrustedConfig_names[i];
|
|
@@ -31734,6 +31480,7 @@
|
|
|
31734
31480
|
node: select$V(),
|
|
31735
31481
|
variables: {},
|
|
31736
31482
|
}, snapshotRefresh);
|
|
31483
|
+
deepFreeze(snapshot.data);
|
|
31737
31484
|
return snapshot;
|
|
31738
31485
|
}
|
|
31739
31486
|
function ingestError$j(luvio, params, error, snapshotRefresh) {
|
|
@@ -31809,7 +31556,7 @@
|
|
|
31809
31556
|
config.formFactor = untrustedConfig_formFactor;
|
|
31810
31557
|
}
|
|
31811
31558
|
const untrustedConfig_navItemNames = untrustedConfig.navItemNames;
|
|
31812
|
-
if (ArrayIsArray$1
|
|
31559
|
+
if (ArrayIsArray$1(untrustedConfig_navItemNames)) {
|
|
31813
31560
|
const untrustedConfig_navItemNames_array = [];
|
|
31814
31561
|
for (let i = 0, arrayLength = untrustedConfig_navItemNames.length; i < arrayLength; i++) {
|
|
31815
31562
|
const untrustedConfig_navItemNames_item = untrustedConfig_navItemNames[i];
|
|
@@ -32017,12 +31764,10 @@
|
|
|
32017
31764
|
reader.markPending();
|
|
32018
31765
|
break;
|
|
32019
31766
|
}
|
|
32020
|
-
ObjectFreeze$1$1(childSink);
|
|
32021
31767
|
ArrayPrototypePush$1.call(results, childSink);
|
|
32022
31768
|
reader.exitPath();
|
|
32023
31769
|
}
|
|
32024
31770
|
reader.assignNonScalar(sink, envelopePath, results);
|
|
32025
|
-
ObjectFreeze$1$1(sink);
|
|
32026
31771
|
reader.exitPath();
|
|
32027
31772
|
return sink;
|
|
32028
31773
|
}
|
|
@@ -32087,7 +31832,7 @@
|
|
|
32087
31832
|
statusCode: 200,
|
|
32088
31833
|
result: childSnapshot.data,
|
|
32089
31834
|
};
|
|
32090
|
-
|
|
31835
|
+
deepFreeze(childValue);
|
|
32091
31836
|
ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
|
|
32092
31837
|
}
|
|
32093
31838
|
else {
|
|
@@ -32106,7 +31851,7 @@
|
|
|
32106
31851
|
statusCode: childStatusCode,
|
|
32107
31852
|
result: childBody,
|
|
32108
31853
|
};
|
|
32109
|
-
|
|
31854
|
+
deepFreeze(childValue);
|
|
32110
31855
|
ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
|
|
32111
31856
|
}
|
|
32112
31857
|
// track non-cached responses so rebuilds work properly
|
|
@@ -32117,11 +31862,11 @@
|
|
|
32117
31862
|
delete nonCachedErrors$4[childKey];
|
|
32118
31863
|
}
|
|
32119
31864
|
}
|
|
32120
|
-
ObjectFreeze$1$1(childSnapshotDataResponses);
|
|
32121
31865
|
const childSnapshotData = {
|
|
32122
31866
|
results: childSnapshotDataResponses
|
|
32123
31867
|
};
|
|
32124
|
-
|
|
31868
|
+
deepFreeze(childSnapshotData);
|
|
31869
|
+
return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
|
|
32125
31870
|
}
|
|
32126
31871
|
function ingestSuccess$n(luvio, resourceParams, response, snapshotRefresh) {
|
|
32127
31872
|
const childEnvelopes = response.body.results;
|
|
@@ -32196,7 +31941,7 @@
|
|
|
32196
31941
|
function typeCheckConfig$z(untrustedConfig) {
|
|
32197
31942
|
const config = {};
|
|
32198
31943
|
const untrustedConfig_objectApiNames = untrustedConfig.objectApiNames;
|
|
32199
|
-
if (ArrayIsArray$1
|
|
31944
|
+
if (ArrayIsArray$1(untrustedConfig_objectApiNames)) {
|
|
32200
31945
|
const untrustedConfig_objectApiNames_array = [];
|
|
32201
31946
|
for (let i = 0, arrayLength = untrustedConfig_objectApiNames.length; i < arrayLength; i++) {
|
|
32202
31947
|
const untrustedConfig_objectApiNames_item = untrustedConfig_objectApiNames[i];
|
|
@@ -32631,6 +32376,7 @@
|
|
|
32631
32376
|
node: select$M$1(),
|
|
32632
32377
|
variables: {},
|
|
32633
32378
|
}, snapshotRefresh);
|
|
32379
|
+
deepFreeze(snapshot.data);
|
|
32634
32380
|
return snapshot;
|
|
32635
32381
|
}
|
|
32636
32382
|
function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
@@ -32968,30 +32714,6 @@
|
|
|
32968
32714
|
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
32969
32715
|
buildCachedSnapshotCachePolicy$l, buildNetworkSnapshotCachePolicy$m);
|
|
32970
32716
|
};
|
|
32971
|
-
function deepFreeze$q(input) {
|
|
32972
|
-
const input_recordIds = input.recordIds;
|
|
32973
|
-
ObjectFreeze$2(input_recordIds);
|
|
32974
|
-
ObjectFreeze$2(input);
|
|
32975
|
-
}
|
|
32976
|
-
function deepFreeze$p(input) {
|
|
32977
|
-
const input_matchResultInfo = input.matchResultInfo;
|
|
32978
|
-
deepFreeze$q(input_matchResultInfo);
|
|
32979
|
-
ObjectFreeze$2(input);
|
|
32980
|
-
}
|
|
32981
|
-
function deepFreeze$o(input) {
|
|
32982
|
-
const input_duplicateResultInfos = input.duplicateResultInfos;
|
|
32983
|
-
const input_duplicateResultInfos_keys = Object.keys(input_duplicateResultInfos);
|
|
32984
|
-
const input_duplicateResultInfos_length = input_duplicateResultInfos_keys.length;
|
|
32985
|
-
for (let i = 0; i < input_duplicateResultInfos_length; i++) {
|
|
32986
|
-
const key = input_duplicateResultInfos_keys[i];
|
|
32987
|
-
const input_duplicateResultInfos_prop = input_duplicateResultInfos[key];
|
|
32988
|
-
deepFreeze$p(input_duplicateResultInfos_prop);
|
|
32989
|
-
}
|
|
32990
|
-
ObjectFreeze$2(input_duplicateResultInfos);
|
|
32991
|
-
const input_recordIds = input.recordIds;
|
|
32992
|
-
ObjectFreeze$2(input_recordIds);
|
|
32993
|
-
ObjectFreeze$2(input);
|
|
32994
|
-
}
|
|
32995
32717
|
|
|
32996
32718
|
const TTL$f = 30000;
|
|
32997
32719
|
const VERSION$x$1 = "583c38564fa15ce0fb3dd2807be1bdc6";
|
|
@@ -33013,17 +32735,6 @@
|
|
|
33013
32735
|
}
|
|
33014
32736
|
return true;
|
|
33015
32737
|
}
|
|
33016
|
-
function deepFreeze$n(input) {
|
|
33017
|
-
const input_duplicateRules = input.duplicateRules;
|
|
33018
|
-
ObjectFreeze$2(input_duplicateRules);
|
|
33019
|
-
const input_matches = input.matches;
|
|
33020
|
-
for (let i = 0; i < input_matches.length; i++) {
|
|
33021
|
-
const input_matches_item = input_matches[i];
|
|
33022
|
-
deepFreeze$o(input_matches_item);
|
|
33023
|
-
}
|
|
33024
|
-
ObjectFreeze$2(input_matches);
|
|
33025
|
-
ObjectFreeze$2(input);
|
|
33026
|
-
}
|
|
33027
32738
|
const ingest$j$1 = function DuplicatesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
33028
32739
|
const key = path.fullPath;
|
|
33029
32740
|
const existingRecord = store.readEntry(key);
|
|
@@ -33034,7 +32745,6 @@
|
|
|
33034
32745
|
propertyName: path.propertyName,
|
|
33035
32746
|
ttl: ttlToUse
|
|
33036
32747
|
});
|
|
33037
|
-
deepFreeze$n(input);
|
|
33038
32748
|
if (existingRecord === undefined || equals$u(existingRecord, incomingRecord) === false) {
|
|
33039
32749
|
luvio.storePublish(key, incomingRecord);
|
|
33040
32750
|
}
|
|
@@ -33079,6 +32789,7 @@
|
|
|
33079
32789
|
node: select$K$1(),
|
|
33080
32790
|
variables: {},
|
|
33081
32791
|
}, snapshotRefresh);
|
|
32792
|
+
deepFreeze(snapshot.data);
|
|
33082
32793
|
return snapshot;
|
|
33083
32794
|
}
|
|
33084
32795
|
function ingestError$g(luvio, params, error, snapshotRefresh) {
|
|
@@ -34235,7 +33946,7 @@
|
|
|
34235
33946
|
function typeCheckConfig$v(untrustedConfig) {
|
|
34236
33947
|
const config = {};
|
|
34237
33948
|
const untrustedConfig_recordIds = untrustedConfig.recordIds;
|
|
34238
|
-
if (ArrayIsArray$1
|
|
33949
|
+
if (ArrayIsArray$1(untrustedConfig_recordIds)) {
|
|
34239
33950
|
const untrustedConfig_recordIds_array = [];
|
|
34240
33951
|
for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
|
|
34241
33952
|
const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
|
|
@@ -34287,7 +33998,7 @@
|
|
|
34287
33998
|
};
|
|
34288
33999
|
|
|
34289
34000
|
function coerceRecordId18Array(value) {
|
|
34290
|
-
const valueArray = ArrayIsArray$1
|
|
34001
|
+
const valueArray = ArrayIsArray$1(value) ? value : [value];
|
|
34291
34002
|
const ret = [];
|
|
34292
34003
|
for (let i = 0, len = valueArray.length; i < len; i += 1) {
|
|
34293
34004
|
const item = valueArray[i];
|
|
@@ -34330,14 +34041,14 @@
|
|
|
34330
34041
|
const coercedConfig = coerceConfig$b(untrustedConfig);
|
|
34331
34042
|
const config = {};
|
|
34332
34043
|
const untrustedConfigs_records = coercedConfig.records;
|
|
34333
|
-
if (ArrayIsArray$1
|
|
34044
|
+
if (ArrayIsArray$1(untrustedConfigs_records)) {
|
|
34334
34045
|
const records = [];
|
|
34335
34046
|
for (let index = 0, len = untrustedConfigs_records.length; index < len; index += 1) {
|
|
34336
34047
|
const output_recordEntityConfig = {};
|
|
34337
34048
|
const untrustedConfig_recordEntity = untrustedConfigs_records[index];
|
|
34338
34049
|
if (untrustedIsObject$2(untrustedConfig_recordEntity)) {
|
|
34339
34050
|
const { recordIds: untrustedConfig_recordIds, fields: untrustedConfig_fields, optionalFields: untrustedConfig_optionalFields, } = untrustedConfig_recordEntity;
|
|
34340
|
-
if (ArrayIsArray$1
|
|
34051
|
+
if (ArrayIsArray$1(untrustedConfig_recordIds)) {
|
|
34341
34052
|
const untrustedConfig_recordIds_array = [];
|
|
34342
34053
|
for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
|
|
34343
34054
|
const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
|
|
@@ -34351,7 +34062,7 @@
|
|
|
34351
34062
|
output_recordEntityConfig.recordIds.length === 0) {
|
|
34352
34063
|
continue;
|
|
34353
34064
|
}
|
|
34354
|
-
if (ArrayIsArray$1
|
|
34065
|
+
if (ArrayIsArray$1(untrustedConfig_fields)) {
|
|
34355
34066
|
const untrustedConfig_fields_array = [];
|
|
34356
34067
|
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
34357
34068
|
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
@@ -34361,7 +34072,7 @@
|
|
|
34361
34072
|
}
|
|
34362
34073
|
output_recordEntityConfig.fields = untrustedConfig_fields_array;
|
|
34363
34074
|
}
|
|
34364
|
-
if (ArrayIsArray$1
|
|
34075
|
+
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
34365
34076
|
const untrustedConfig_optionalFields_array = [];
|
|
34366
34077
|
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
34367
34078
|
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
@@ -34550,9 +34261,6 @@
|
|
|
34550
34261
|
}
|
|
34551
34262
|
return true;
|
|
34552
34263
|
}
|
|
34553
|
-
function deepFreeze$m(input) {
|
|
34554
|
-
ObjectFreeze$2(input);
|
|
34555
|
-
}
|
|
34556
34264
|
|
|
34557
34265
|
const VERSION$l$1 = "836b875b519813e7499efc62f0f1d04b";
|
|
34558
34266
|
const RepresentationType$h = 'RelatedListRecordCountRepresentation';
|
|
@@ -34674,6 +34382,7 @@
|
|
|
34674
34382
|
node: select$y$1(),
|
|
34675
34383
|
variables: {},
|
|
34676
34384
|
}, snapshotRefresh);
|
|
34385
|
+
deepFreeze(snapshot.data);
|
|
34677
34386
|
return snapshot;
|
|
34678
34387
|
}
|
|
34679
34388
|
function ingestError$e(luvio, params, error, snapshotRefresh) {
|
|
@@ -34809,12 +34518,10 @@
|
|
|
34809
34518
|
reader.markPending();
|
|
34810
34519
|
break;
|
|
34811
34520
|
}
|
|
34812
|
-
ObjectFreeze$1$1(childSink);
|
|
34813
34521
|
ArrayPrototypePush$1.call(results, childSink);
|
|
34814
34522
|
reader.exitPath();
|
|
34815
34523
|
}
|
|
34816
34524
|
reader.assignNonScalar(sink, envelopePath, results);
|
|
34817
|
-
ObjectFreeze$1$1(sink);
|
|
34818
34525
|
reader.exitPath();
|
|
34819
34526
|
return sink;
|
|
34820
34527
|
}
|
|
@@ -34878,7 +34585,7 @@
|
|
|
34878
34585
|
statusCode: 200,
|
|
34879
34586
|
result: childSnapshot.data,
|
|
34880
34587
|
};
|
|
34881
|
-
|
|
34588
|
+
deepFreeze(childValue);
|
|
34882
34589
|
ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
|
|
34883
34590
|
}
|
|
34884
34591
|
else {
|
|
@@ -34897,7 +34604,7 @@
|
|
|
34897
34604
|
statusCode: childStatusCode,
|
|
34898
34605
|
result: childBody,
|
|
34899
34606
|
};
|
|
34900
|
-
|
|
34607
|
+
deepFreeze(childValue);
|
|
34901
34608
|
ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
|
|
34902
34609
|
}
|
|
34903
34610
|
// track non-cached responses so rebuilds work properly
|
|
@@ -34908,11 +34615,11 @@
|
|
|
34908
34615
|
delete nonCachedErrors$3[childKey];
|
|
34909
34616
|
}
|
|
34910
34617
|
}
|
|
34911
|
-
ObjectFreeze$1$1(childSnapshotDataResponses);
|
|
34912
34618
|
const childSnapshotData = {
|
|
34913
34619
|
results: childSnapshotDataResponses
|
|
34914
34620
|
};
|
|
34915
|
-
|
|
34621
|
+
deepFreeze(childSnapshotData);
|
|
34622
|
+
return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
|
|
34916
34623
|
}
|
|
34917
34624
|
function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
|
|
34918
34625
|
const childEnvelopes = response.body.results;
|
|
@@ -35002,7 +34709,7 @@
|
|
|
35002
34709
|
config.parentRecordId = untrustedConfig_parentRecordId;
|
|
35003
34710
|
}
|
|
35004
34711
|
const untrustedConfig_relatedListNames = untrustedConfig.relatedListNames;
|
|
35005
|
-
if (ArrayIsArray$1
|
|
34712
|
+
if (ArrayIsArray$1(untrustedConfig_relatedListNames)) {
|
|
35006
34713
|
const untrustedConfig_relatedListNames_array = [];
|
|
35007
34714
|
for (let i = 0, arrayLength = untrustedConfig_relatedListNames.length; i < arrayLength; i++) {
|
|
35008
34715
|
const untrustedConfig_relatedListNames_item = untrustedConfig_relatedListNames[i];
|
|
@@ -35213,20 +34920,6 @@
|
|
|
35213
34920
|
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
35214
34921
|
buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$h);
|
|
35215
34922
|
};
|
|
35216
|
-
function deepFreeze$l(input) {
|
|
35217
|
-
const input_picklistValues = input.picklistValues;
|
|
35218
|
-
for (let i = 0; i < input_picklistValues.length; i++) {
|
|
35219
|
-
const input_picklistValues_item = input_picklistValues[i];
|
|
35220
|
-
const input_picklistValues_item_keys = Object.keys(input_picklistValues_item);
|
|
35221
|
-
const input_picklistValues_item_length = input_picklistValues_item_keys.length;
|
|
35222
|
-
for (let i = 0; i < input_picklistValues_item_length; i++) {
|
|
35223
|
-
input_picklistValues_item_keys[i];
|
|
35224
|
-
}
|
|
35225
|
-
ObjectFreeze$2(input_picklistValues_item);
|
|
35226
|
-
}
|
|
35227
|
-
ObjectFreeze$2(input_picklistValues);
|
|
35228
|
-
ObjectFreeze$2(input);
|
|
35229
|
-
}
|
|
35230
34923
|
|
|
35231
34924
|
const TTL$c = 900000;
|
|
35232
34925
|
const VERSION$k$1 = "c977d65d153a2b4e888ddd45fb083248";
|
|
@@ -35349,37 +35042,6 @@
|
|
|
35349
35042
|
}
|
|
35350
35043
|
return true;
|
|
35351
35044
|
}
|
|
35352
|
-
function deepFreeze$k(input) {
|
|
35353
|
-
const input_displayColumns = input.displayColumns;
|
|
35354
|
-
for (let i = 0; i < input_displayColumns.length; i++) {
|
|
35355
|
-
const input_displayColumns_item = input_displayColumns[i];
|
|
35356
|
-
deepFreeze$l(input_displayColumns_item);
|
|
35357
|
-
}
|
|
35358
|
-
ObjectFreeze$2(input_displayColumns);
|
|
35359
|
-
const input_fields = input.fields;
|
|
35360
|
-
ObjectFreeze$2(input_fields);
|
|
35361
|
-
const input_filteredByInfo = input.filteredByInfo;
|
|
35362
|
-
for (let i = 0; i < input_filteredByInfo.length; i++) {
|
|
35363
|
-
const input_filteredByInfo_item = input_filteredByInfo[i];
|
|
35364
|
-
deepFreeze$O(input_filteredByInfo_item);
|
|
35365
|
-
}
|
|
35366
|
-
ObjectFreeze$2(input_filteredByInfo);
|
|
35367
|
-
const input_listReference = input.listReference;
|
|
35368
|
-
deepFreeze$m(input_listReference);
|
|
35369
|
-
const input_objectApiNames = input.objectApiNames;
|
|
35370
|
-
ObjectFreeze$2(input_objectApiNames);
|
|
35371
|
-
const input_optionalFields = input.optionalFields;
|
|
35372
|
-
ObjectFreeze$2(input_optionalFields);
|
|
35373
|
-
const input_orderedByInfo = input.orderedByInfo;
|
|
35374
|
-
for (let i = 0; i < input_orderedByInfo.length; i++) {
|
|
35375
|
-
const input_orderedByInfo_item = input_orderedByInfo[i];
|
|
35376
|
-
deepFreeze$N(input_orderedByInfo_item);
|
|
35377
|
-
}
|
|
35378
|
-
ObjectFreeze$2(input_orderedByInfo);
|
|
35379
|
-
const input_userPreferences = input.userPreferences;
|
|
35380
|
-
deepFreeze$M(input_userPreferences);
|
|
35381
|
-
ObjectFreeze$2(input);
|
|
35382
|
-
}
|
|
35383
35045
|
const ingest$b$1 = function RelatedListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
35384
35046
|
const key = keyBuilderFromType$d(luvio, input);
|
|
35385
35047
|
const existingRecord = store.readEntry(key);
|
|
@@ -35390,7 +35052,6 @@
|
|
|
35390
35052
|
propertyName: path.propertyName,
|
|
35391
35053
|
ttl: ttlToUse
|
|
35392
35054
|
});
|
|
35393
|
-
deepFreeze$k(input);
|
|
35394
35055
|
if (existingRecord === undefined || equals$h(existingRecord, incomingRecord) === false) {
|
|
35395
35056
|
luvio.storePublish(key, incomingRecord);
|
|
35396
35057
|
}
|
|
@@ -35442,6 +35103,7 @@
|
|
|
35442
35103
|
node: select$v$1(),
|
|
35443
35104
|
variables: {},
|
|
35444
35105
|
}, snapshotRefresh);
|
|
35106
|
+
deepFreeze(snapshot.data);
|
|
35445
35107
|
return snapshot;
|
|
35446
35108
|
}
|
|
35447
35109
|
function ingestError$c(luvio, params, error, snapshotRefresh) {
|
|
@@ -35587,12 +35249,10 @@
|
|
|
35587
35249
|
reader.markPending();
|
|
35588
35250
|
break;
|
|
35589
35251
|
}
|
|
35590
|
-
ObjectFreeze$1$1(childSink);
|
|
35591
35252
|
ArrayPrototypePush$1.call(results, childSink);
|
|
35592
35253
|
reader.exitPath();
|
|
35593
35254
|
}
|
|
35594
35255
|
reader.assignNonScalar(sink, envelopePath, results);
|
|
35595
|
-
ObjectFreeze$1$1(sink);
|
|
35596
35256
|
reader.exitPath();
|
|
35597
35257
|
return sink;
|
|
35598
35258
|
}
|
|
@@ -35657,7 +35317,7 @@
|
|
|
35657
35317
|
statusCode: 200,
|
|
35658
35318
|
result: childSnapshot.data,
|
|
35659
35319
|
};
|
|
35660
|
-
|
|
35320
|
+
deepFreeze(childValue);
|
|
35661
35321
|
ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
|
|
35662
35322
|
}
|
|
35663
35323
|
else {
|
|
@@ -35676,7 +35336,7 @@
|
|
|
35676
35336
|
statusCode: childStatusCode,
|
|
35677
35337
|
result: childBody,
|
|
35678
35338
|
};
|
|
35679
|
-
|
|
35339
|
+
deepFreeze(childValue);
|
|
35680
35340
|
ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
|
|
35681
35341
|
}
|
|
35682
35342
|
// track non-cached responses so rebuilds work properly
|
|
@@ -35687,11 +35347,11 @@
|
|
|
35687
35347
|
delete nonCachedErrors$2[childKey];
|
|
35688
35348
|
}
|
|
35689
35349
|
}
|
|
35690
|
-
ObjectFreeze$1$1(childSnapshotDataResponses);
|
|
35691
35350
|
const childSnapshotData = {
|
|
35692
35351
|
results: childSnapshotDataResponses
|
|
35693
35352
|
};
|
|
35694
|
-
|
|
35353
|
+
deepFreeze(childSnapshotData);
|
|
35354
|
+
return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
|
|
35695
35355
|
}
|
|
35696
35356
|
function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
|
|
35697
35357
|
const childEnvelopes = response.body.results;
|
|
@@ -35781,7 +35441,7 @@
|
|
|
35781
35441
|
config.parentObjectApiName = untrustedConfig_parentObjectApiName;
|
|
35782
35442
|
}
|
|
35783
35443
|
const untrustedConfig_relatedListNames = untrustedConfig.relatedListNames;
|
|
35784
|
-
if (ArrayIsArray$1
|
|
35444
|
+
if (ArrayIsArray$1(untrustedConfig_relatedListNames)) {
|
|
35785
35445
|
const untrustedConfig_relatedListNames_array = [];
|
|
35786
35446
|
for (let i = 0, arrayLength = untrustedConfig_relatedListNames.length; i < arrayLength; i++) {
|
|
35787
35447
|
const untrustedConfig_relatedListNames_item = untrustedConfig_relatedListNames[i];
|
|
@@ -35875,13 +35535,6 @@
|
|
|
35875
35535
|
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
35876
35536
|
buildCachedSnapshotCachePolicy$f, buildNetworkSnapshotCachePolicy$g);
|
|
35877
35537
|
};
|
|
35878
|
-
function deepFreeze$j(input) {
|
|
35879
|
-
const input_themeInfo = input.themeInfo;
|
|
35880
|
-
if (input_themeInfo !== null && typeof input_themeInfo === 'object') {
|
|
35881
|
-
deepFreeze$D(input_themeInfo);
|
|
35882
|
-
}
|
|
35883
|
-
ObjectFreeze$2(input);
|
|
35884
|
-
}
|
|
35885
35538
|
|
|
35886
35539
|
const VERSION$j$1 = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
35887
35540
|
const RepresentationType$f = 'RelatedListSummaryInfoCollectionRepresentation';
|
|
@@ -35928,15 +35581,6 @@
|
|
|
35928
35581
|
}
|
|
35929
35582
|
return true;
|
|
35930
35583
|
}
|
|
35931
|
-
function deepFreeze$i(input) {
|
|
35932
|
-
const input_relatedLists = input.relatedLists;
|
|
35933
|
-
for (let i = 0; i < input_relatedLists.length; i++) {
|
|
35934
|
-
const input_relatedLists_item = input_relatedLists[i];
|
|
35935
|
-
deepFreeze$j(input_relatedLists_item);
|
|
35936
|
-
}
|
|
35937
|
-
ObjectFreeze$2(input_relatedLists);
|
|
35938
|
-
ObjectFreeze$2(input);
|
|
35939
|
-
}
|
|
35940
35584
|
const ingest$a$1 = function RelatedListSummaryInfoCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
35941
35585
|
const key = keyBuilderFromType$c(luvio, input);
|
|
35942
35586
|
const existingRecord = store.readEntry(key);
|
|
@@ -35947,7 +35591,6 @@
|
|
|
35947
35591
|
propertyName: path.propertyName,
|
|
35948
35592
|
ttl: ttlToUse
|
|
35949
35593
|
});
|
|
35950
|
-
deepFreeze$i(input);
|
|
35951
35594
|
if (existingRecord === undefined || equals$g(existingRecord, incomingRecord) === false) {
|
|
35952
35595
|
luvio.storePublish(key, incomingRecord);
|
|
35953
35596
|
}
|
|
@@ -35995,6 +35638,7 @@
|
|
|
35995
35638
|
node: select$s$1(),
|
|
35996
35639
|
variables: {},
|
|
35997
35640
|
}, snapshotRefresh);
|
|
35641
|
+
deepFreeze(snapshot.data);
|
|
35998
35642
|
return snapshot;
|
|
35999
35643
|
}
|
|
36000
35644
|
function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
@@ -36205,7 +35849,7 @@
|
|
|
36205
35849
|
config.relatedListId = untrustedConfig_relatedListId;
|
|
36206
35850
|
}
|
|
36207
35851
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
36208
|
-
if (ArrayIsArray$1
|
|
35852
|
+
if (ArrayIsArray$1(untrustedConfig_fields)) {
|
|
36209
35853
|
const untrustedConfig_fields_array = [];
|
|
36210
35854
|
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
36211
35855
|
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
@@ -36216,7 +35860,7 @@
|
|
|
36216
35860
|
config.fields = untrustedConfig_fields_array;
|
|
36217
35861
|
}
|
|
36218
35862
|
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
36219
|
-
if (ArrayIsArray$1
|
|
35863
|
+
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
36220
35864
|
const untrustedConfig_optionalFields_array = [];
|
|
36221
35865
|
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
36222
35866
|
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
@@ -36386,6 +36030,7 @@
|
|
|
36386
36030
|
node: select$r$1(),
|
|
36387
36031
|
variables: {},
|
|
36388
36032
|
});
|
|
36033
|
+
deepFreeze(snapshot.data);
|
|
36389
36034
|
return snapshot;
|
|
36390
36035
|
}
|
|
36391
36036
|
function createResourceRequest$n(config) {
|
|
@@ -36462,7 +36107,7 @@
|
|
|
36462
36107
|
config.recordTypeId = untrustedConfig_recordTypeId;
|
|
36463
36108
|
}
|
|
36464
36109
|
const untrustedConfig_orderedByInfo = untrustedConfig.orderedByInfo;
|
|
36465
|
-
if (ArrayIsArray$1
|
|
36110
|
+
if (ArrayIsArray$1(untrustedConfig_orderedByInfo)) {
|
|
36466
36111
|
const untrustedConfig_orderedByInfo_array = [];
|
|
36467
36112
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
36468
36113
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
@@ -36501,7 +36146,7 @@
|
|
|
36501
36146
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
36502
36147
|
}, () => getResponseCacheKeys$k(luvio, resourceParams, response.body));
|
|
36503
36148
|
}, (response) => {
|
|
36504
|
-
deepFreeze
|
|
36149
|
+
deepFreeze(response);
|
|
36505
36150
|
throw response;
|
|
36506
36151
|
});
|
|
36507
36152
|
}
|
|
@@ -36545,29 +36190,6 @@
|
|
|
36545
36190
|
}
|
|
36546
36191
|
return true;
|
|
36547
36192
|
}
|
|
36548
|
-
function deepFreeze$h(input) {
|
|
36549
|
-
const input_columnWidths = input.columnWidths;
|
|
36550
|
-
const input_columnWidths_keys = Object.keys(input_columnWidths);
|
|
36551
|
-
const input_columnWidths_length = input_columnWidths_keys.length;
|
|
36552
|
-
for (let i = 0; i < input_columnWidths_length; i++) {
|
|
36553
|
-
input_columnWidths_keys[i];
|
|
36554
|
-
}
|
|
36555
|
-
ObjectFreeze$2(input_columnWidths);
|
|
36556
|
-
const input_columnWrap = input.columnWrap;
|
|
36557
|
-
const input_columnWrap_keys = Object.keys(input_columnWrap);
|
|
36558
|
-
const input_columnWrap_length = input_columnWrap_keys.length;
|
|
36559
|
-
for (let i = 0; i < input_columnWrap_length; i++) {
|
|
36560
|
-
input_columnWrap_keys[i];
|
|
36561
|
-
}
|
|
36562
|
-
ObjectFreeze$2(input_columnWrap);
|
|
36563
|
-
const input_orderedBy = input.orderedBy;
|
|
36564
|
-
for (let i = 0; i < input_orderedBy.length; i++) {
|
|
36565
|
-
const input_orderedBy_item = input_orderedBy[i];
|
|
36566
|
-
deepFreeze$N(input_orderedBy_item);
|
|
36567
|
-
}
|
|
36568
|
-
ObjectFreeze$2(input_orderedBy);
|
|
36569
|
-
ObjectFreeze$2(input);
|
|
36570
|
-
}
|
|
36571
36193
|
const ingest$9$1 = function RelatedListUserPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
36572
36194
|
const key = keyBuilderFromType$b(luvio, input);
|
|
36573
36195
|
const existingRecord = store.readEntry(key);
|
|
@@ -36578,7 +36200,6 @@
|
|
|
36578
36200
|
propertyName: path.propertyName,
|
|
36579
36201
|
ttl: ttlToUse
|
|
36580
36202
|
});
|
|
36581
|
-
deepFreeze$h(input);
|
|
36582
36203
|
if (existingRecord === undefined || equals$f(existingRecord, incomingRecord) === false) {
|
|
36583
36204
|
luvio.storePublish(key, incomingRecord);
|
|
36584
36205
|
}
|
|
@@ -36625,6 +36246,7 @@
|
|
|
36625
36246
|
node: select$p$1(),
|
|
36626
36247
|
variables: {},
|
|
36627
36248
|
}, snapshotRefresh);
|
|
36249
|
+
deepFreeze(snapshot.data);
|
|
36628
36250
|
return snapshot;
|
|
36629
36251
|
}
|
|
36630
36252
|
function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
@@ -36762,12 +36384,10 @@
|
|
|
36762
36384
|
reader.markPending();
|
|
36763
36385
|
break;
|
|
36764
36386
|
}
|
|
36765
|
-
ObjectFreeze$1$1(childSink);
|
|
36766
36387
|
ArrayPrototypePush$1.call(results, childSink);
|
|
36767
36388
|
reader.exitPath();
|
|
36768
36389
|
}
|
|
36769
36390
|
reader.assignNonScalar(sink, envelopePath, results);
|
|
36770
|
-
ObjectFreeze$1$1(sink);
|
|
36771
36391
|
reader.exitPath();
|
|
36772
36392
|
return sink;
|
|
36773
36393
|
}
|
|
@@ -36832,7 +36452,7 @@
|
|
|
36832
36452
|
statusCode: 200,
|
|
36833
36453
|
result: childSnapshot.data,
|
|
36834
36454
|
};
|
|
36835
|
-
|
|
36455
|
+
deepFreeze(childValue);
|
|
36836
36456
|
ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
|
|
36837
36457
|
}
|
|
36838
36458
|
else {
|
|
@@ -36851,7 +36471,7 @@
|
|
|
36851
36471
|
statusCode: childStatusCode,
|
|
36852
36472
|
result: childBody,
|
|
36853
36473
|
};
|
|
36854
|
-
|
|
36474
|
+
deepFreeze(childValue);
|
|
36855
36475
|
ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
|
|
36856
36476
|
}
|
|
36857
36477
|
// track non-cached responses so rebuilds work properly
|
|
@@ -36862,11 +36482,11 @@
|
|
|
36862
36482
|
delete nonCachedErrors$1[childKey];
|
|
36863
36483
|
}
|
|
36864
36484
|
}
|
|
36865
|
-
ObjectFreeze$1$1(childSnapshotDataResponses);
|
|
36866
36485
|
const childSnapshotData = {
|
|
36867
36486
|
results: childSnapshotDataResponses
|
|
36868
36487
|
};
|
|
36869
|
-
|
|
36488
|
+
deepFreeze(childSnapshotData);
|
|
36489
|
+
return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
|
|
36870
36490
|
}
|
|
36871
36491
|
function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
|
|
36872
36492
|
const childEnvelopes = response.body.results;
|
|
@@ -36933,7 +36553,7 @@
|
|
|
36933
36553
|
function typeCheckConfig$n(untrustedConfig) {
|
|
36934
36554
|
const config = {};
|
|
36935
36555
|
const untrustedConfig_preferencesIds = untrustedConfig.preferencesIds;
|
|
36936
|
-
if (ArrayIsArray$1
|
|
36556
|
+
if (ArrayIsArray$1(untrustedConfig_preferencesIds)) {
|
|
36937
36557
|
const untrustedConfig_preferencesIds_array = [];
|
|
36938
36558
|
for (let i = 0, arrayLength = untrustedConfig_preferencesIds.length; i < arrayLength; i++) {
|
|
36939
36559
|
const untrustedConfig_preferencesIds_item = untrustedConfig_preferencesIds[i];
|
|
@@ -37144,6 +36764,7 @@
|
|
|
37144
36764
|
node: select$n$1(),
|
|
37145
36765
|
variables: {},
|
|
37146
36766
|
});
|
|
36767
|
+
deepFreeze(snapshot.data);
|
|
37147
36768
|
return snapshot;
|
|
37148
36769
|
}
|
|
37149
36770
|
function createResourceRequest$k(config) {
|
|
@@ -37226,7 +36847,7 @@
|
|
|
37226
36847
|
}
|
|
37227
36848
|
}
|
|
37228
36849
|
const untrustedConfig_orderedBy = untrustedConfig.orderedBy;
|
|
37229
|
-
if (ArrayIsArray$1
|
|
36850
|
+
if (ArrayIsArray$1(untrustedConfig_orderedBy)) {
|
|
37230
36851
|
const untrustedConfig_orderedBy_array = [];
|
|
37231
36852
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
37232
36853
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
@@ -37259,7 +36880,7 @@
|
|
|
37259
36880
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
37260
36881
|
}, () => getResponseCacheKeys$h(luvio, resourceParams, response.body));
|
|
37261
36882
|
}, (response) => {
|
|
37262
|
-
deepFreeze
|
|
36883
|
+
deepFreeze(response);
|
|
37263
36884
|
throw response;
|
|
37264
36885
|
});
|
|
37265
36886
|
}
|
|
@@ -37615,7 +37236,6 @@
|
|
|
37615
37236
|
reader.exitPath();
|
|
37616
37237
|
}
|
|
37617
37238
|
reader.exitPath();
|
|
37618
|
-
ObjectFreeze$2(itemsSink);
|
|
37619
37239
|
reader.assignNonScalar(sink, itemsProperty, itemsSink);
|
|
37620
37240
|
}
|
|
37621
37241
|
reader.enterPath('currentPageToken');
|
|
@@ -38072,12 +37692,11 @@
|
|
|
38072
37692
|
reader.markPending();
|
|
38073
37693
|
break;
|
|
38074
37694
|
}
|
|
38075
|
-
ObjectFreeze$1$1(childSink);
|
|
38076
37695
|
ArrayPrototypePush$1.call(results, childSink);
|
|
38077
37696
|
reader.exitPath();
|
|
38078
37697
|
}
|
|
38079
37698
|
reader.assignNonScalar(sink, envelopePath, results);
|
|
38080
|
-
|
|
37699
|
+
deepFreeze(sink);
|
|
38081
37700
|
reader.exitPath();
|
|
38082
37701
|
return sink;
|
|
38083
37702
|
},
|
|
@@ -38153,7 +37772,6 @@
|
|
|
38153
37772
|
statusCode: childStatusCode,
|
|
38154
37773
|
result: childSnapshot.data,
|
|
38155
37774
|
};
|
|
38156
|
-
ObjectFreeze$1$1(childValue);
|
|
38157
37775
|
childSnapshotDataResponses.push(childValue);
|
|
38158
37776
|
}
|
|
38159
37777
|
else {
|
|
@@ -38172,15 +37790,13 @@
|
|
|
38172
37790
|
statusCode: childStatusCode,
|
|
38173
37791
|
result: childBody,
|
|
38174
37792
|
};
|
|
38175
|
-
ObjectFreeze$1$1(childValue);
|
|
38176
37793
|
childSnapshotDataResponses.push(childValue);
|
|
38177
37794
|
}
|
|
38178
37795
|
}
|
|
38179
|
-
ObjectFreeze$1$1(childSnapshotDataResponses);
|
|
38180
37796
|
const childSnapshotData = {
|
|
38181
37797
|
results: childSnapshotDataResponses,
|
|
38182
37798
|
};
|
|
38183
|
-
|
|
37799
|
+
deepFreeze(childSnapshotData);
|
|
38184
37800
|
return {
|
|
38185
37801
|
recordId: key,
|
|
38186
37802
|
data: childSnapshotData,
|
|
@@ -38244,7 +37860,7 @@
|
|
|
38244
37860
|
config.parentRecordId = untrustedConfig_parentRecordId;
|
|
38245
37861
|
}
|
|
38246
37862
|
const untrustedConfig_relatedListParameters = untrustedConfig.relatedListParameters;
|
|
38247
|
-
if (ArrayIsArray$1
|
|
37863
|
+
if (ArrayIsArray$1(untrustedConfig_relatedListParameters)) {
|
|
38248
37864
|
const untrustedConfig_relatedListParameters_array = [];
|
|
38249
37865
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
38250
37866
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
@@ -38382,7 +37998,7 @@
|
|
|
38382
37998
|
config.relatedListId = untrustedConfig_relatedListId;
|
|
38383
37999
|
}
|
|
38384
38000
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
38385
|
-
if (ArrayIsArray$1
|
|
38001
|
+
if (ArrayIsArray$1(untrustedConfig_fields)) {
|
|
38386
38002
|
const untrustedConfig_fields_array = [];
|
|
38387
38003
|
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
38388
38004
|
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
@@ -38393,7 +38009,7 @@
|
|
|
38393
38009
|
config.fields = untrustedConfig_fields_array;
|
|
38394
38010
|
}
|
|
38395
38011
|
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
38396
|
-
if (ArrayIsArray$1
|
|
38012
|
+
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
38397
38013
|
const untrustedConfig_optionalFields_array = [];
|
|
38398
38014
|
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
38399
38015
|
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
@@ -38412,7 +38028,7 @@
|
|
|
38412
38028
|
config.pageToken = untrustedConfig_pageToken;
|
|
38413
38029
|
}
|
|
38414
38030
|
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
38415
|
-
if (ArrayIsArray$1
|
|
38031
|
+
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
38416
38032
|
const untrustedConfig_sortBy_array = [];
|
|
38417
38033
|
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
38418
38034
|
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
@@ -38594,9 +38210,6 @@
|
|
|
38594
38210
|
]
|
|
38595
38211
|
};
|
|
38596
38212
|
};
|
|
38597
|
-
function deepFreeze$g(input) {
|
|
38598
|
-
ObjectFreeze$2(input);
|
|
38599
|
-
}
|
|
38600
38213
|
|
|
38601
38214
|
const VERSION$f$1 = "c00590d1dd241d43de42d1be20a6a179";
|
|
38602
38215
|
const select$j$1 = function SearchFilterSelectAttributesRepresentationSelect() {
|
|
@@ -38866,6 +38479,7 @@
|
|
|
38866
38479
|
node: select$e$1(),
|
|
38867
38480
|
variables: {},
|
|
38868
38481
|
}, snapshotRefresh);
|
|
38482
|
+
deepFreeze(snapshot.data);
|
|
38869
38483
|
return snapshot;
|
|
38870
38484
|
}
|
|
38871
38485
|
function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
@@ -39031,15 +38645,6 @@
|
|
|
39031
38645
|
}
|
|
39032
38646
|
return true;
|
|
39033
38647
|
}
|
|
39034
|
-
function deepFreeze$f(input) {
|
|
39035
|
-
const input_options = input.options;
|
|
39036
|
-
for (let i = 0; i < input_options.length; i++) {
|
|
39037
|
-
const input_options_item = input_options[i];
|
|
39038
|
-
deepFreeze$g(input_options_item);
|
|
39039
|
-
}
|
|
39040
|
-
ObjectFreeze$2(input_options);
|
|
39041
|
-
ObjectFreeze$2(input);
|
|
39042
|
-
}
|
|
39043
38648
|
const ingest$6$1 = function SearchFilterOptionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
39044
38649
|
const key = keyBuilderFromType$8(luvio, input);
|
|
39045
38650
|
const existingRecord = store.readEntry(key);
|
|
@@ -39050,7 +38655,6 @@
|
|
|
39050
38655
|
propertyName: path.propertyName,
|
|
39051
38656
|
ttl: ttlToUse
|
|
39052
38657
|
});
|
|
39053
|
-
deepFreeze$f(input);
|
|
39054
38658
|
if (existingRecord === undefined || equals$a(existingRecord, incomingRecord) === false) {
|
|
39055
38659
|
luvio.storePublish(key, incomingRecord);
|
|
39056
38660
|
}
|
|
@@ -39099,6 +38703,7 @@
|
|
|
39099
38703
|
node: select$c$1(),
|
|
39100
38704
|
variables: {},
|
|
39101
38705
|
}, snapshotRefresh);
|
|
38706
|
+
deepFreeze(snapshot.data);
|
|
39102
38707
|
return snapshot;
|
|
39103
38708
|
}
|
|
39104
38709
|
function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
@@ -39243,30 +38848,6 @@
|
|
|
39243
38848
|
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
39244
38849
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$8);
|
|
39245
38850
|
};
|
|
39246
|
-
function deepFreeze$e(input) {
|
|
39247
|
-
const input_displayFields = input.displayFields;
|
|
39248
|
-
ObjectFreeze$2(input_displayFields);
|
|
39249
|
-
ObjectFreeze$2(input);
|
|
39250
|
-
}
|
|
39251
|
-
function deepFreeze$d(input) {
|
|
39252
|
-
const input_matchingFields = input.matchingFields;
|
|
39253
|
-
ObjectFreeze$2(input_matchingFields);
|
|
39254
|
-
ObjectFreeze$2(input);
|
|
39255
|
-
}
|
|
39256
|
-
function deepFreeze$c(input) {
|
|
39257
|
-
const input_displayLayout = input.displayLayout;
|
|
39258
|
-
deepFreeze$e(input_displayLayout);
|
|
39259
|
-
const input_matchingInfo = input.matchingInfo;
|
|
39260
|
-
deepFreeze$d(input_matchingInfo);
|
|
39261
|
-
ObjectFreeze$2(input);
|
|
39262
|
-
}
|
|
39263
|
-
function deepFreeze$b(input) {
|
|
39264
|
-
const input_fullSearchInfo = input.fullSearchInfo;
|
|
39265
|
-
deepFreeze$c(input_fullSearchInfo);
|
|
39266
|
-
const input_suggestionsInfo = input.suggestionsInfo;
|
|
39267
|
-
deepFreeze$c(input_suggestionsInfo);
|
|
39268
|
-
ObjectFreeze$2(input);
|
|
39269
|
-
}
|
|
39270
38851
|
|
|
39271
38852
|
const TTL$7 = 30000;
|
|
39272
38853
|
const VERSION$9$1 = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
@@ -39298,18 +38879,6 @@
|
|
|
39298
38879
|
}
|
|
39299
38880
|
return true;
|
|
39300
38881
|
}
|
|
39301
|
-
function deepFreeze$a(input) {
|
|
39302
|
-
const input_targetInfo = input.targetInfo;
|
|
39303
|
-
const input_targetInfo_keys = Object.keys(input_targetInfo);
|
|
39304
|
-
const input_targetInfo_length = input_targetInfo_keys.length;
|
|
39305
|
-
for (let i = 0; i < input_targetInfo_length; i++) {
|
|
39306
|
-
const key = input_targetInfo_keys[i];
|
|
39307
|
-
const input_targetInfo_prop = input_targetInfo[key];
|
|
39308
|
-
deepFreeze$b(input_targetInfo_prop);
|
|
39309
|
-
}
|
|
39310
|
-
ObjectFreeze$2(input_targetInfo);
|
|
39311
|
-
ObjectFreeze$2(input);
|
|
39312
|
-
}
|
|
39313
38882
|
const ingest$5$1 = function LookupMetadataRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
39314
38883
|
const key = keyBuilderFromType$7(luvio, input);
|
|
39315
38884
|
const existingRecord = store.readEntry(key);
|
|
@@ -39320,7 +38889,6 @@
|
|
|
39320
38889
|
propertyName: path.propertyName,
|
|
39321
38890
|
ttl: ttlToUse
|
|
39322
38891
|
});
|
|
39323
|
-
deepFreeze$a(input);
|
|
39324
38892
|
if (existingRecord === undefined || equals$9(existingRecord, incomingRecord) === false) {
|
|
39325
38893
|
luvio.storePublish(key, incomingRecord);
|
|
39326
38894
|
}
|
|
@@ -39368,6 +38936,7 @@
|
|
|
39368
38936
|
node: select$a$1(),
|
|
39369
38937
|
variables: {},
|
|
39370
38938
|
}, snapshotRefresh);
|
|
38939
|
+
deepFreeze(snapshot.data);
|
|
39371
38940
|
return snapshot;
|
|
39372
38941
|
}
|
|
39373
38942
|
function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
@@ -39505,69 +39074,6 @@
|
|
|
39505
39074
|
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
39506
39075
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$7);
|
|
39507
39076
|
};
|
|
39508
|
-
function deepFreeze$9(input) {
|
|
39509
|
-
ObjectFreeze$2(input);
|
|
39510
|
-
}
|
|
39511
|
-
|
|
39512
|
-
function deepFreeze$8(input) {
|
|
39513
|
-
const input_fields = input.fields;
|
|
39514
|
-
const input_fields_keys = Object.keys(input_fields);
|
|
39515
|
-
const input_fields_length = input_fields_keys.length;
|
|
39516
|
-
for (let i = 0; i < input_fields_length; i++) {
|
|
39517
|
-
input_fields_keys[i];
|
|
39518
|
-
}
|
|
39519
|
-
ObjectFreeze$2(input_fields);
|
|
39520
|
-
ObjectFreeze$2(input);
|
|
39521
|
-
}
|
|
39522
|
-
|
|
39523
|
-
function deepFreeze$7(input) {
|
|
39524
|
-
ObjectFreeze$2(input);
|
|
39525
|
-
}
|
|
39526
|
-
|
|
39527
|
-
function deepFreeze$6(input) {
|
|
39528
|
-
const input_highlightInfo = input.highlightInfo;
|
|
39529
|
-
if (input_highlightInfo !== undefined) {
|
|
39530
|
-
deepFreeze$8(input_highlightInfo);
|
|
39531
|
-
}
|
|
39532
|
-
const input_record = input.record;
|
|
39533
|
-
deepFreeze$I(input_record);
|
|
39534
|
-
const input_searchInfo = input.searchInfo;
|
|
39535
|
-
deepFreeze$7(input_searchInfo);
|
|
39536
|
-
ObjectFreeze$2(input);
|
|
39537
|
-
}
|
|
39538
|
-
function deepFreeze$5(input) {
|
|
39539
|
-
const input_error = input.error;
|
|
39540
|
-
if (input_error !== null && typeof input_error === 'object') {
|
|
39541
|
-
deepFreeze$9(input_error);
|
|
39542
|
-
}
|
|
39543
|
-
const input_orderBy = input.orderBy;
|
|
39544
|
-
for (let i = 0; i < input_orderBy.length; i++) {
|
|
39545
|
-
const input_orderBy_item = input_orderBy[i];
|
|
39546
|
-
deepFreeze$N(input_orderBy_item);
|
|
39547
|
-
}
|
|
39548
|
-
ObjectFreeze$2(input_orderBy);
|
|
39549
|
-
const input_records = input.records;
|
|
39550
|
-
for (let i = 0; i < input_records.length; i++) {
|
|
39551
|
-
const input_records_item = input_records[i];
|
|
39552
|
-
deepFreeze$6(input_records_item);
|
|
39553
|
-
}
|
|
39554
|
-
ObjectFreeze$2(input_records);
|
|
39555
|
-
const input_relatedObjectApiNames = input.relatedObjectApiNames;
|
|
39556
|
-
ObjectFreeze$2(input_relatedObjectApiNames);
|
|
39557
|
-
ObjectFreeze$2(input);
|
|
39558
|
-
}
|
|
39559
|
-
function deepFreeze$4(input) {
|
|
39560
|
-
const input_results = input.results;
|
|
39561
|
-
for (let i = 0; i < input_results.length; i++) {
|
|
39562
|
-
const input_results_item = input_results[i];
|
|
39563
|
-
deepFreeze$5(input_results_item);
|
|
39564
|
-
}
|
|
39565
|
-
ObjectFreeze$2(input_results);
|
|
39566
|
-
ObjectFreeze$2(input);
|
|
39567
|
-
}
|
|
39568
|
-
function deepFreeze$3(input) {
|
|
39569
|
-
ObjectFreeze$2(input);
|
|
39570
|
-
}
|
|
39571
39077
|
|
|
39572
39078
|
const TTL$6 = 200;
|
|
39573
39079
|
const VERSION$8$1 = "9760c93d10288bb6889882c757514189";
|
|
@@ -39598,17 +39104,6 @@
|
|
|
39598
39104
|
}
|
|
39599
39105
|
return true;
|
|
39600
39106
|
}
|
|
39601
|
-
function deepFreeze$2$1(input) {
|
|
39602
|
-
const input_keywordSearchResults = input.keywordSearchResults;
|
|
39603
|
-
if (input_keywordSearchResults !== null && typeof input_keywordSearchResults === 'object') {
|
|
39604
|
-
deepFreeze$4(input_keywordSearchResults);
|
|
39605
|
-
}
|
|
39606
|
-
const input_qnaResult = input.qnaResult;
|
|
39607
|
-
if (input_qnaResult !== null && typeof input_qnaResult === 'object') {
|
|
39608
|
-
deepFreeze$3(input_qnaResult);
|
|
39609
|
-
}
|
|
39610
|
-
ObjectFreeze$2(input);
|
|
39611
|
-
}
|
|
39612
39107
|
const ingest$4$1 = function SearchResultsSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
39613
39108
|
const key = keyBuilderFromType$6(luvio, input);
|
|
39614
39109
|
const existingRecord = store.readEntry(key);
|
|
@@ -39619,7 +39114,6 @@
|
|
|
39619
39114
|
propertyName: path.propertyName,
|
|
39620
39115
|
ttl: ttlToUse
|
|
39621
39116
|
});
|
|
39622
|
-
deepFreeze$2$1(input);
|
|
39623
39117
|
if (existingRecord === undefined || equals$8(existingRecord, incomingRecord) === false) {
|
|
39624
39118
|
luvio.storePublish(key, incomingRecord);
|
|
39625
39119
|
}
|
|
@@ -39666,6 +39160,7 @@
|
|
|
39666
39160
|
node: select$8$1(),
|
|
39667
39161
|
variables: {},
|
|
39668
39162
|
}, snapshotRefresh);
|
|
39163
|
+
deepFreeze(snapshot.data);
|
|
39669
39164
|
return snapshot;
|
|
39670
39165
|
}
|
|
39671
39166
|
function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
@@ -39728,7 +39223,7 @@
|
|
|
39728
39223
|
config.q = untrustedConfig_q;
|
|
39729
39224
|
}
|
|
39730
39225
|
const untrustedConfig_answerTypes = untrustedConfig.answerTypes;
|
|
39731
|
-
if (ArrayIsArray$1
|
|
39226
|
+
if (ArrayIsArray$1(untrustedConfig_answerTypes)) {
|
|
39732
39227
|
const untrustedConfig_answerTypes_array = [];
|
|
39733
39228
|
for (let i = 0, arrayLength = untrustedConfig_answerTypes.length; i < arrayLength; i++) {
|
|
39734
39229
|
const untrustedConfig_answerTypes_item = untrustedConfig_answerTypes[i];
|
|
@@ -39739,7 +39234,7 @@
|
|
|
39739
39234
|
config.answerTypes = untrustedConfig_answerTypes_array;
|
|
39740
39235
|
}
|
|
39741
39236
|
const untrustedConfig_objectApiNames = untrustedConfig.objectApiNames;
|
|
39742
|
-
if (ArrayIsArray$1
|
|
39237
|
+
if (ArrayIsArray$1(untrustedConfig_objectApiNames)) {
|
|
39743
39238
|
const untrustedConfig_objectApiNames_array = [];
|
|
39744
39239
|
for (let i = 0, arrayLength = untrustedConfig_objectApiNames.length; i < arrayLength; i++) {
|
|
39745
39240
|
const untrustedConfig_objectApiNames_item = untrustedConfig_objectApiNames[i];
|
|
@@ -39928,11 +39423,6 @@
|
|
|
39928
39423
|
}
|
|
39929
39424
|
return true;
|
|
39930
39425
|
}
|
|
39931
|
-
function deepFreeze$1$1(input) {
|
|
39932
|
-
const input_keywordSearchResult = input.keywordSearchResult;
|
|
39933
|
-
deepFreeze$5(input_keywordSearchResult);
|
|
39934
|
-
ObjectFreeze$2(input);
|
|
39935
|
-
}
|
|
39936
39426
|
const ingest$3$1 = function KeywordSearchResultsSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
39937
39427
|
const key = keyBuilderFromType$5(luvio, input);
|
|
39938
39428
|
const existingRecord = store.readEntry(key);
|
|
@@ -39943,7 +39433,6 @@
|
|
|
39943
39433
|
propertyName: path.propertyName,
|
|
39944
39434
|
ttl: ttlToUse
|
|
39945
39435
|
});
|
|
39946
|
-
deepFreeze$1$1(input);
|
|
39947
39436
|
if (existingRecord === undefined || equals$7(existingRecord, incomingRecord) === false) {
|
|
39948
39437
|
luvio.storePublish(key, incomingRecord);
|
|
39949
39438
|
}
|
|
@@ -39991,6 +39480,7 @@
|
|
|
39991
39480
|
node: select$6$1(),
|
|
39992
39481
|
variables: {},
|
|
39993
39482
|
}, snapshotRefresh);
|
|
39483
|
+
deepFreeze(snapshot.data);
|
|
39994
39484
|
return snapshot;
|
|
39995
39485
|
}
|
|
39996
39486
|
function ingestError$1$1(luvio, params, error, snapshotRefresh) {
|
|
@@ -40063,7 +39553,7 @@
|
|
|
40063
39553
|
config.q = untrustedConfig_q;
|
|
40064
39554
|
}
|
|
40065
39555
|
const untrustedConfig_filters = untrustedConfig.filters;
|
|
40066
|
-
if (ArrayIsArray$1
|
|
39556
|
+
if (ArrayIsArray$1(untrustedConfig_filters)) {
|
|
40067
39557
|
const untrustedConfig_filters_array = [];
|
|
40068
39558
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
40069
39559
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
@@ -40184,6 +39674,7 @@
|
|
|
40184
39674
|
node: select$5$1(),
|
|
40185
39675
|
variables: {},
|
|
40186
39676
|
});
|
|
39677
|
+
deepFreeze(snapshot.data);
|
|
40187
39678
|
return snapshot;
|
|
40188
39679
|
}
|
|
40189
39680
|
function createResourceRequest$c(config) {
|
|
@@ -40296,7 +39787,7 @@
|
|
|
40296
39787
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
40297
39788
|
}, () => getResponseCacheKeys$9(luvio, resourceParams, response.body));
|
|
40298
39789
|
}, (response) => {
|
|
40299
|
-
deepFreeze
|
|
39790
|
+
deepFreeze(response);
|
|
40300
39791
|
throw response;
|
|
40301
39792
|
});
|
|
40302
39793
|
}
|
|
@@ -40328,6 +39819,7 @@
|
|
|
40328
39819
|
node: select$4$1(),
|
|
40329
39820
|
variables: {},
|
|
40330
39821
|
});
|
|
39822
|
+
deepFreeze(snapshot.data);
|
|
40331
39823
|
return snapshot;
|
|
40332
39824
|
}
|
|
40333
39825
|
function createResourceRequest$b(config) {
|
|
@@ -40440,7 +39932,7 @@
|
|
|
40440
39932
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
40441
39933
|
}, () => getResponseCacheKeys$8(luvio, resourceParams, response.body));
|
|
40442
39934
|
}, (response) => {
|
|
40443
|
-
deepFreeze
|
|
39935
|
+
deepFreeze(response);
|
|
40444
39936
|
throw response;
|
|
40445
39937
|
});
|
|
40446
39938
|
}
|
|
@@ -40457,25 +39949,6 @@
|
|
|
40457
39949
|
|
|
40458
39950
|
const factory$c = performQuickActionAdapterFactory;
|
|
40459
39951
|
|
|
40460
|
-
function deepFreeze$Q(value) {
|
|
40461
|
-
// No need to freeze primitives
|
|
40462
|
-
if (typeof value !== 'object' || value === null) {
|
|
40463
|
-
return;
|
|
40464
|
-
}
|
|
40465
|
-
if (isArray$8(value)) {
|
|
40466
|
-
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
40467
|
-
deepFreeze$Q(value[i]);
|
|
40468
|
-
}
|
|
40469
|
-
}
|
|
40470
|
-
else {
|
|
40471
|
-
const keys$1 = keys$8(value);
|
|
40472
|
-
for (let i = 0, len = keys$1.length; i < len; i += 1) {
|
|
40473
|
-
deepFreeze$Q(value[keys$1[i]]);
|
|
40474
|
-
}
|
|
40475
|
-
}
|
|
40476
|
-
freeze$3(value);
|
|
40477
|
-
}
|
|
40478
|
-
|
|
40479
39952
|
function createResourceRequest$a(config) {
|
|
40480
39953
|
const headers = {};
|
|
40481
39954
|
return {
|
|
@@ -40526,7 +39999,7 @@
|
|
|
40526
39999
|
const { body } = response;
|
|
40527
40000
|
return luvio.handleSuccessResponse(() => ingestAndBroadcast(luvio, key, config, body), () => getTypeCacheKeys$G$1(luvio, body));
|
|
40528
40001
|
}, (err) => {
|
|
40529
|
-
deepFreeze
|
|
40002
|
+
deepFreeze(err);
|
|
40530
40003
|
throw err;
|
|
40531
40004
|
});
|
|
40532
40005
|
}
|
|
@@ -40673,7 +40146,7 @@
|
|
|
40673
40146
|
config.objectApiName = untrustedConfig_objectApiName;
|
|
40674
40147
|
}
|
|
40675
40148
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
40676
|
-
if (ArrayIsArray$1
|
|
40149
|
+
if (ArrayIsArray$1(untrustedConfig_fields)) {
|
|
40677
40150
|
const untrustedConfig_fields_array = [];
|
|
40678
40151
|
for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
|
|
40679
40152
|
const untrustedConfig_fields_item = untrustedConfig_fields[i];
|
|
@@ -40684,7 +40157,7 @@
|
|
|
40684
40157
|
config.fields = untrustedConfig_fields_array;
|
|
40685
40158
|
}
|
|
40686
40159
|
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
40687
|
-
if (ArrayIsArray$1
|
|
40160
|
+
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
40688
40161
|
const untrustedConfig_optionalFields_array = [];
|
|
40689
40162
|
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
40690
40163
|
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
@@ -40703,7 +40176,7 @@
|
|
|
40703
40176
|
config.pageToken = untrustedConfig_pageToken;
|
|
40704
40177
|
}
|
|
40705
40178
|
const untrustedConfig_sortBy = untrustedConfig.sortBy;
|
|
40706
|
-
if (ArrayIsArray$1
|
|
40179
|
+
if (ArrayIsArray$1(untrustedConfig_sortBy)) {
|
|
40707
40180
|
const untrustedConfig_sortBy_array = [];
|
|
40708
40181
|
for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
|
|
40709
40182
|
const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
|
|
@@ -40981,7 +40454,7 @@
|
|
|
40981
40454
|
config.objectApiName = untrustedConfig_objectApiName;
|
|
40982
40455
|
}
|
|
40983
40456
|
const untrustedConfig_dependentFieldBindings = untrustedConfig.dependentFieldBindings;
|
|
40984
|
-
if (ArrayIsArray$1
|
|
40457
|
+
if (ArrayIsArray$1(untrustedConfig_dependentFieldBindings)) {
|
|
40985
40458
|
const untrustedConfig_dependentFieldBindings_array = [];
|
|
40986
40459
|
for (let i = 0, arrayLength = untrustedConfig_dependentFieldBindings.length; i < arrayLength; i++) {
|
|
40987
40460
|
const untrustedConfig_dependentFieldBindings_item = untrustedConfig_dependentFieldBindings[i];
|
|
@@ -41120,7 +40593,7 @@
|
|
|
41120
40593
|
.map((targetApiName) => body.lookupResults[targetApiName].records)
|
|
41121
40594
|
.reduce((allRecords, records) => allRecords.concat(records), [])
|
|
41122
40595
|
.forEach((record) => removeEtags(record));
|
|
41123
|
-
deepFreeze
|
|
40596
|
+
deepFreeze(body);
|
|
41124
40597
|
return Promise.resolve({
|
|
41125
40598
|
state: 'Fulfilled',
|
|
41126
40599
|
recordId: key,
|
|
@@ -41290,7 +40763,7 @@
|
|
|
41290
40763
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
41291
40764
|
}, () => getTypeCacheKeys$n$1(luvio, body));
|
|
41292
40765
|
}, (err) => {
|
|
41293
|
-
deepFreeze
|
|
40766
|
+
deepFreeze(err);
|
|
41294
40767
|
throw err;
|
|
41295
40768
|
});
|
|
41296
40769
|
};
|
|
@@ -41661,7 +41134,7 @@
|
|
|
41661
41134
|
config.formFactor = untrustedConfig_formFactor;
|
|
41662
41135
|
}
|
|
41663
41136
|
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
41664
|
-
if (ArrayIsArray$1
|
|
41137
|
+
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
41665
41138
|
const untrustedConfig_optionalFields_array = [];
|
|
41666
41139
|
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
41667
41140
|
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
@@ -42276,7 +41749,7 @@
|
|
|
42276
41749
|
config.recordId = untrustedConfig_recordId;
|
|
42277
41750
|
}
|
|
42278
41751
|
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
42279
|
-
if (ArrayIsArray$1
|
|
41752
|
+
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
42280
41753
|
const untrustedConfig_optionalFields_array = [];
|
|
42281
41754
|
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
42282
41755
|
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
@@ -42897,7 +42370,7 @@
|
|
|
42897
42370
|
config.objectApiName = untrustedConfig_objectApiName;
|
|
42898
42371
|
}
|
|
42899
42372
|
const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
|
|
42900
|
-
if (ArrayIsArray$1
|
|
42373
|
+
if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
|
|
42901
42374
|
const untrustedConfig_optionalFields_array = [];
|
|
42902
42375
|
for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
|
|
42903
42376
|
const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
|
|
@@ -43148,7 +42621,7 @@
|
|
|
43148
42621
|
return luvio.dispatchResourceRequest(request).then((response) => {
|
|
43149
42622
|
return luvio.handleSuccessResponse(() => onResponseSuccess$1(luvio, response, recordIngest, conflictMap), () => getResponseCacheKeys$3(luvio, resourceParams, response.body));
|
|
43150
42623
|
}, (err) => {
|
|
43151
|
-
deepFreeze
|
|
42624
|
+
deepFreeze(err);
|
|
43152
42625
|
throw err;
|
|
43153
42626
|
});
|
|
43154
42627
|
}
|
|
@@ -43249,7 +42722,7 @@
|
|
|
43249
42722
|
return luvio.storeBroadcast();
|
|
43250
42723
|
}, () => getResponseCacheKeys$2$1(luvio, resourceParams));
|
|
43251
42724
|
}, (response) => {
|
|
43252
|
-
deepFreeze
|
|
42725
|
+
deepFreeze(response);
|
|
43253
42726
|
throw response;
|
|
43254
42727
|
});
|
|
43255
42728
|
}
|
|
@@ -43483,7 +42956,7 @@
|
|
|
43483
42956
|
return luvio.dispatchResourceRequest(request).then((response) => {
|
|
43484
42957
|
return luvio.handleSuccessResponse(() => onResponseSuccess(luvio, response, recordId, recordIngest, conflictMap), () => getResponseCacheKeys$1$1(luvio, resourceParams, response.body));
|
|
43485
42958
|
}, (err) => {
|
|
43486
|
-
deepFreeze
|
|
42959
|
+
deepFreeze(err);
|
|
43487
42960
|
throw err;
|
|
43488
42961
|
});
|
|
43489
42962
|
}
|
|
@@ -43739,7 +43212,7 @@
|
|
|
43739
43212
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
43740
43213
|
}, () => getResponseCacheKeys$T(luvio, {}, response.body));
|
|
43741
43214
|
}, (response) => {
|
|
43742
|
-
deepFreeze
|
|
43215
|
+
deepFreeze(response);
|
|
43743
43216
|
throw response;
|
|
43744
43217
|
});
|
|
43745
43218
|
}
|
|
@@ -43806,7 +43279,7 @@
|
|
|
43806
43279
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
43807
43280
|
}, () => getResponseCacheKeys$T(luvio, resourceParams, response.body));
|
|
43808
43281
|
}, (response) => {
|
|
43809
|
-
deepFreeze
|
|
43282
|
+
deepFreeze(response);
|
|
43810
43283
|
throw response;
|
|
43811
43284
|
});
|
|
43812
43285
|
}
|
|
@@ -44434,7 +43907,7 @@
|
|
|
44434
43907
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44435
43908
|
});
|
|
44436
43909
|
});
|
|
44437
|
-
// version: 1.134.
|
|
43910
|
+
// version: 1.134.8-c3d6d2cfc
|
|
44438
43911
|
|
|
44439
43912
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44440
43913
|
|
|
@@ -44511,7 +43984,7 @@
|
|
|
44511
43984
|
|
|
44512
43985
|
const { parse: parse$5, stringify: stringify$5 } = JSON;
|
|
44513
43986
|
const { join: join$2, push: push$2, unshift } = Array.prototype;
|
|
44514
|
-
const { isArray: isArray$
|
|
43987
|
+
const { isArray: isArray$5 } = Array;
|
|
44515
43988
|
const { entries: entries$3, keys: keys$6 } = Object;
|
|
44516
43989
|
|
|
44517
43990
|
const UI_API_BASE_URI = '/services/data/v59.0/ui-api';
|
|
@@ -44731,7 +44204,7 @@
|
|
|
44731
44204
|
const { queryParams, urlParams } = resourceRequest;
|
|
44732
44205
|
const { fields, optionalFields } = queryParams;
|
|
44733
44206
|
const recordId = urlParams.recordId;
|
|
44734
|
-
const fieldsArray = fields !== undefined && isArray$
|
|
44207
|
+
const fieldsArray = fields !== undefined && isArray$5(fields) ? fields : [];
|
|
44735
44208
|
const optionalFieldsArray = optionalFields !== undefined && Array.isArray(optionalFields)
|
|
44736
44209
|
? optionalFields
|
|
44737
44210
|
: [];
|
|
@@ -44982,7 +44455,6 @@
|
|
|
44982
44455
|
const DefaultDurableSegment = 'DEFAULT';
|
|
44983
44456
|
|
|
44984
44457
|
const { keys: keys$5, create: create$5, assign: assign$4, freeze: freeze$1$1 } = Object;
|
|
44985
|
-
const { isArray: isArray$5 } = Array;
|
|
44986
44458
|
|
|
44987
44459
|
//Durable store error instrumentation key
|
|
44988
44460
|
const DURABLE_STORE_ERROR = 'durable-store-error';
|
|
@@ -45005,25 +44477,6 @@
|
|
|
45005
44477
|
};
|
|
45006
44478
|
}
|
|
45007
44479
|
|
|
45008
|
-
function deepFreeze$2(value) {
|
|
45009
|
-
// No need to freeze primitives
|
|
45010
|
-
if (typeof value !== 'object' || value === null) {
|
|
45011
|
-
return;
|
|
45012
|
-
}
|
|
45013
|
-
if (isArray$5(value)) {
|
|
45014
|
-
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
45015
|
-
deepFreeze$2(value[i]);
|
|
45016
|
-
}
|
|
45017
|
-
}
|
|
45018
|
-
else {
|
|
45019
|
-
const keys$1 = keys$5(value);
|
|
45020
|
-
for (let i = 0, len = keys$1.length; i < len; i += 1) {
|
|
45021
|
-
deepFreeze$2(value[keys$1[i]]);
|
|
45022
|
-
}
|
|
45023
|
-
}
|
|
45024
|
-
freeze$1$1(value);
|
|
45025
|
-
}
|
|
45026
|
-
|
|
45027
44480
|
function isStoreEntryError(storeRecord) {
|
|
45028
44481
|
return storeRecord.__type === 'error';
|
|
45029
44482
|
}
|
|
@@ -45075,7 +44528,7 @@
|
|
|
45075
44528
|
}
|
|
45076
44529
|
if (isStoreEntryError(data)) {
|
|
45077
44530
|
// freeze errors on way into L1
|
|
45078
|
-
deepFreeze
|
|
44531
|
+
deepFreeze(data.error);
|
|
45079
44532
|
}
|
|
45080
44533
|
put(key, data);
|
|
45081
44534
|
revivedKeys.add(key);
|
|
@@ -57635,7 +57088,7 @@
|
|
|
57635
57088
|
const { keys: keys$1$1, create: create$1$1, assign: assign$1, entries: entries$1 } = Object;
|
|
57636
57089
|
const { stringify: stringify$1$1, parse: parse$1$1 } = JSON;
|
|
57637
57090
|
const { push: push$1, join: join$1, slice: slice$1 } = Array.prototype;
|
|
57638
|
-
const { isArray: isArray$
|
|
57091
|
+
const { isArray: isArray$6, from } = Array;
|
|
57639
57092
|
|
|
57640
57093
|
function ldsParamsToString(params) {
|
|
57641
57094
|
const returnParams = create$1$1(null);
|
|
@@ -57647,7 +57100,7 @@
|
|
|
57647
57100
|
// filter out params that have no value
|
|
57648
57101
|
continue;
|
|
57649
57102
|
}
|
|
57650
|
-
if (isArray$
|
|
57103
|
+
if (isArray$6(value)) {
|
|
57651
57104
|
// filter out empty arrays
|
|
57652
57105
|
if (value.length > 0) {
|
|
57653
57106
|
returnParams[key] = value.join(',');
|
|
@@ -57710,7 +57163,7 @@
|
|
|
57710
57163
|
}
|
|
57711
57164
|
// adapted from adapter-utils untrustedIsObject
|
|
57712
57165
|
function isObject(value) {
|
|
57713
|
-
return typeof value === 'object' && value !== null && isArray$
|
|
57166
|
+
return typeof value === 'object' && value !== null && isArray$6(value) === false;
|
|
57714
57167
|
}
|
|
57715
57168
|
function stringifyIfPresent(value) {
|
|
57716
57169
|
if (value === undefined || value === null) {
|
|
@@ -58050,7 +57503,7 @@
|
|
|
58050
57503
|
const queryString = [];
|
|
58051
57504
|
for (const [key, value] of entries$1(mergedParams)) {
|
|
58052
57505
|
if (value !== undefined) {
|
|
58053
|
-
queryString.push(`${key}=${isArray$
|
|
57506
|
+
queryString.push(`${key}=${isArray$6(value) ? value.join(',') : value}`);
|
|
58054
57507
|
}
|
|
58055
57508
|
}
|
|
58056
57509
|
return `${resourceRequest.baseUri}${resourceRequest.basePath}?${join$1.call(queryString, '&')}`;
|
|
@@ -58197,7 +57650,7 @@
|
|
|
58197
57650
|
* @returns the array or an empty array
|
|
58198
57651
|
*/
|
|
58199
57652
|
function arrayOrEmpty(array) {
|
|
58200
|
-
return array !== undefined && isArray$
|
|
57653
|
+
return array !== undefined && isArray$6(array) ? array : [];
|
|
58201
57654
|
}
|
|
58202
57655
|
|
|
58203
57656
|
const RECORD_ENDPOINT_REGEX = /^\/ui-api\/records\/?(([a-zA-Z0-9]+))?$/;
|
|
@@ -58211,13 +57664,13 @@
|
|
|
58211
57664
|
*/
|
|
58212
57665
|
function mergeGetRecordResult(first, second) {
|
|
58213
57666
|
// return the error if first is error.
|
|
58214
|
-
if (isArray$
|
|
57667
|
+
if (isArray$6(first) && !isArray$6(second))
|
|
58215
57668
|
return first;
|
|
58216
57669
|
// return the error if second is error.
|
|
58217
|
-
if (!isArray$
|
|
57670
|
+
if (!isArray$6(first) && isArray$6(second))
|
|
58218
57671
|
return second;
|
|
58219
57672
|
// concat the error array if both are error
|
|
58220
|
-
if (isArray$
|
|
57673
|
+
if (isArray$6(first) && isArray$6(second)) {
|
|
58221
57674
|
return [...first, ...second];
|
|
58222
57675
|
}
|
|
58223
57676
|
mergeRecordFields(first, second);
|
|
@@ -60065,7 +59518,7 @@
|
|
|
60065
59518
|
id: '@salesforce/lds-network-adapter',
|
|
60066
59519
|
instrument: instrument$1,
|
|
60067
59520
|
});
|
|
60068
|
-
// version: 1.134.
|
|
59521
|
+
// version: 1.134.8-87c38bf92
|
|
60069
59522
|
|
|
60070
59523
|
const { create: create$2, keys: keys$2 } = Object;
|
|
60071
59524
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -60078,12 +59531,12 @@
|
|
|
60078
59531
|
*/
|
|
60079
59532
|
|
|
60080
59533
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
60081
|
-
const { keys: ObjectKeys$1,
|
|
59534
|
+
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
60082
59535
|
const { stringify: JSONStringify } = JSON;
|
|
60083
|
-
const { isArray: ArrayIsArray
|
|
59536
|
+
const { isArray: ArrayIsArray } = Array;
|
|
60084
59537
|
const { push: ArrayPrototypePush } = Array.prototype;
|
|
60085
59538
|
function untrustedIsObject$1(untrusted) {
|
|
60086
|
-
return typeof untrusted === 'object' && untrusted !== null && ArrayIsArray
|
|
59539
|
+
return typeof untrusted === 'object' && untrusted !== null && ArrayIsArray(untrusted) === false;
|
|
60087
59540
|
}
|
|
60088
59541
|
function areRequiredParametersPresent(config, configPropertyNames) {
|
|
60089
59542
|
return configPropertyNames.parameters.required.every(req => req in config);
|
|
@@ -60122,7 +59575,7 @@
|
|
|
60122
59575
|
}
|
|
60123
59576
|
let i;
|
|
60124
59577
|
let out;
|
|
60125
|
-
if (ArrayIsArray
|
|
59578
|
+
if (ArrayIsArray(node)) {
|
|
60126
59579
|
out = '[';
|
|
60127
59580
|
for (i = 0; i < node.length; i++) {
|
|
60128
59581
|
if (i) {
|
|
@@ -60170,8 +59623,7 @@
|
|
|
60170
59623
|
}
|
|
60171
59624
|
const keyPrefix = 'UiApi';
|
|
60172
59625
|
|
|
60173
|
-
const {
|
|
60174
|
-
const { isArray: ArrayIsArray } = Array;
|
|
59626
|
+
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
60175
59627
|
function equalsObject(a, b, equalsProp) {
|
|
60176
59628
|
const aKeys = ObjectKeys(a).sort();
|
|
60177
59629
|
const bKeys = ObjectKeys(b).sort();
|
|
@@ -60191,24 +59643,6 @@
|
|
|
60191
59643
|
}
|
|
60192
59644
|
return true;
|
|
60193
59645
|
}
|
|
60194
|
-
function deepFreeze$1(value) {
|
|
60195
|
-
// No need to freeze primitives
|
|
60196
|
-
if (typeof value !== 'object' || value === null) {
|
|
60197
|
-
return;
|
|
60198
|
-
}
|
|
60199
|
-
if (ArrayIsArray(value)) {
|
|
60200
|
-
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
60201
|
-
deepFreeze$1(value[i]);
|
|
60202
|
-
}
|
|
60203
|
-
}
|
|
60204
|
-
else {
|
|
60205
|
-
const keys = ObjectKeys(value);
|
|
60206
|
-
for (let i = 0, len = keys.length; i < len; i += 1) {
|
|
60207
|
-
deepFreeze$1(value[keys[i]]);
|
|
60208
|
-
}
|
|
60209
|
-
}
|
|
60210
|
-
ObjectFreeze(value);
|
|
60211
|
-
}
|
|
60212
59646
|
function createLink$1(ref) {
|
|
60213
59647
|
return {
|
|
60214
59648
|
__ref: serializeStructuredKey(ref),
|
|
@@ -72220,7 +71654,7 @@
|
|
|
72220
71654
|
const fieldKey = getSerializedKeyForField(requestedField, variables, fieldType);
|
|
72221
71655
|
if (fieldType === undefined) {
|
|
72222
71656
|
console.warn(`Unknown Field: ${requestedField}. This field or nested fields cannot participate in normalization`);
|
|
72223
|
-
deepFreeze
|
|
71657
|
+
deepFreeze(fieldData);
|
|
72224
71658
|
sink[fieldKey] = fieldData;
|
|
72225
71659
|
continue;
|
|
72226
71660
|
}
|
|
@@ -73130,10 +72564,11 @@
|
|
|
73130
72564
|
}
|
|
73131
72565
|
}
|
|
73132
72566
|
}
|
|
72567
|
+
deepFreeze(trimmedEdges);
|
|
73133
72568
|
const paginatedData = {
|
|
73134
72569
|
data: {
|
|
73135
72570
|
...source,
|
|
73136
|
-
edges:
|
|
72571
|
+
edges: trimmedEdges,
|
|
73137
72572
|
}
|
|
73138
72573
|
};
|
|
73139
72574
|
reader.markSeenId(parentRecordId);
|
|
@@ -73834,12 +73269,11 @@
|
|
|
73834
73269
|
reader.markPending();
|
|
73835
73270
|
break;
|
|
73836
73271
|
}
|
|
73837
|
-
ObjectFreeze$1(childSink);
|
|
73838
73272
|
ArrayPrototypePush.call(results, childSink);
|
|
73839
73273
|
reader.exitPath();
|
|
73840
73274
|
}
|
|
73841
73275
|
reader.assignNonScalar(sink, envelopePath, results);
|
|
73842
|
-
|
|
73276
|
+
deepFreeze(sink);
|
|
73843
73277
|
reader.exitPath();
|
|
73844
73278
|
return sink;
|
|
73845
73279
|
},
|
|
@@ -73913,7 +73347,6 @@
|
|
|
73913
73347
|
statusCode: 200,
|
|
73914
73348
|
result: childSnapshot.data,
|
|
73915
73349
|
};
|
|
73916
|
-
ObjectFreeze$1(childValue);
|
|
73917
73350
|
ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
|
|
73918
73351
|
}
|
|
73919
73352
|
else {
|
|
@@ -73932,7 +73365,6 @@
|
|
|
73932
73365
|
statusCode: childStatusCode,
|
|
73933
73366
|
result: childBody,
|
|
73934
73367
|
};
|
|
73935
|
-
ObjectFreeze$1(childValue);
|
|
73936
73368
|
ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
|
|
73937
73369
|
}
|
|
73938
73370
|
// track non-cached responses so rebuilds work properly
|
|
@@ -73943,12 +73375,12 @@
|
|
|
73943
73375
|
delete nonCachedErrors[childKey];
|
|
73944
73376
|
}
|
|
73945
73377
|
}
|
|
73946
|
-
ObjectFreeze$1(childSnapshotDataResponses);
|
|
73947
73378
|
const childSnapshotData = {
|
|
73948
73379
|
results: childSnapshotDataResponses,
|
|
73949
73380
|
};
|
|
73381
|
+
deepFreeze(childSnapshotData);
|
|
73950
73382
|
return {
|
|
73951
|
-
childSnapshotData:
|
|
73383
|
+
childSnapshotData: childSnapshotData,
|
|
73952
73384
|
seenRecords,
|
|
73953
73385
|
snapshotState,
|
|
73954
73386
|
};
|
|
@@ -74009,7 +73441,7 @@
|
|
|
74009
73441
|
const config = {};
|
|
74010
73442
|
const untrustedConfig_batchQuery = untrustedConfig.batchQuery;
|
|
74011
73443
|
if (untrustedConfig_batchQuery !== undefined &&
|
|
74012
|
-
ArrayIsArray
|
|
73444
|
+
ArrayIsArray(untrustedConfig_batchQuery)) {
|
|
74013
73445
|
const untrustedConfig_batchQuery_array = [];
|
|
74014
73446
|
for (let i = 0, arrayLength = untrustedConfig_batchQuery.length; i < arrayLength; i++) {
|
|
74015
73447
|
const untrustedConfig_batchQuery_item = untrustedConfig_batchQuery[i];
|
|
@@ -74217,7 +73649,7 @@
|
|
|
74217
73649
|
}
|
|
74218
73650
|
};
|
|
74219
73651
|
|
|
74220
|
-
|
|
73652
|
+
freeze$1({
|
|
74221
73653
|
name: '',
|
|
74222
73654
|
children: {},
|
|
74223
73655
|
});
|
|
@@ -74505,7 +73937,7 @@
|
|
|
74505
73937
|
configuration: { ...configurationForGraphQLAdapters },
|
|
74506
73938
|
instrument,
|
|
74507
73939
|
});
|
|
74508
|
-
// version: 1.134.
|
|
73940
|
+
// version: 1.134.8-c3d6d2cfc
|
|
74509
73941
|
|
|
74510
73942
|
// On core the unstable adapters are re-exported with different names,
|
|
74511
73943
|
|
|
@@ -74585,25 +74017,6 @@
|
|
|
74585
74017
|
function untrustedIsObject(untrusted) {
|
|
74586
74018
|
return typeof untrusted === 'object' && untrusted !== null && isArray(untrusted) === false;
|
|
74587
74019
|
}
|
|
74588
|
-
function deepFreeze(value) {
|
|
74589
|
-
// No need to freeze primitives
|
|
74590
|
-
if (typeof value !== 'object' || value === null) {
|
|
74591
|
-
return;
|
|
74592
|
-
}
|
|
74593
|
-
if (isArray(value)) {
|
|
74594
|
-
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
74595
|
-
deepFreeze(value[i]);
|
|
74596
|
-
}
|
|
74597
|
-
}
|
|
74598
|
-
else {
|
|
74599
|
-
const keys$1 = keys(value);
|
|
74600
|
-
for (let i = 0, len = keys$1.length; i < len; i += 1) {
|
|
74601
|
-
const v = value[keys$1[i]];
|
|
74602
|
-
deepFreeze(v);
|
|
74603
|
-
}
|
|
74604
|
-
}
|
|
74605
|
-
return freeze(value);
|
|
74606
|
-
}
|
|
74607
74020
|
/**
|
|
74608
74021
|
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
74609
74022
|
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
@@ -76409,7 +75822,8 @@
|
|
|
76409
75822
|
reader.assignNonScalar(sink, 'data', body.data);
|
|
76410
75823
|
reader.exitPath();
|
|
76411
75824
|
reader.enterPath('errors');
|
|
76412
|
-
|
|
75825
|
+
deepFreeze(body.errors);
|
|
75826
|
+
reader.assignNonScalar(sink, 'errors', body.errors);
|
|
76413
75827
|
reader.exitPath();
|
|
76414
75828
|
return sink;
|
|
76415
75829
|
},
|
|
@@ -76634,7 +76048,7 @@
|
|
|
76634
76048
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
76635
76049
|
graphQLImperative = ldsAdapter;
|
|
76636
76050
|
});
|
|
76637
|
-
// version: 1.134.
|
|
76051
|
+
// version: 1.134.8-c3d6d2cfc
|
|
76638
76052
|
|
|
76639
76053
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
76640
76054
|
__proto__: null,
|
|
@@ -77343,4 +76757,4 @@
|
|
|
77343
76757
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
77344
76758
|
|
|
77345
76759
|
}));
|
|
77346
|
-
// version: 1.134.
|
|
76760
|
+
// version: 1.134.8-87c38bf92
|