@salesforce/lds-adapters-industries-context 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.
- package/dist/es/es2018/industries-context.js +59 -155
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +1 -7
- package/dist/es/es2018/types/src/generated/types/ContextAttrHydrationDetailInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttrHydrationDetailRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeInputWrapperRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeListInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeListInputWrapperRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeListRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeMappingInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeMappingInputWrapperRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeMappingRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeTagInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeTagInputWrapperRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeTagListRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeTagRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextDataRecordRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionInfoRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionInputWrapperRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionListRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionVersionInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionVersionInputWrapperRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionVersionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextInfoRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextMappingInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextMappingInputWrapperRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextMappingRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextMetaDataInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextNodeInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextNodeInputWrapperRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextNodeMappingInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextNodeMappingInputWrapperRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextNodeMappingRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextNodeRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextOutputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextQueryRecordRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextQueryResultRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextServiceAccessInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextServiceAccessInputWrapperRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ContextServiceAccessRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/NodePathAndAttributesInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/QueryContextInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/UpdateContextAttributesInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +1 -8
- package/package.json +1 -1
- package/sfdc/index.js +60 -156
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, StoreKeyMap } from '@luvio/engine';
|
|
7
|
+
import { serializeStructuredKey, StoreKeyMap, deepFreeze } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
|
-
const { keys: ObjectKeys
|
|
10
|
+
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
11
11
|
const { isArray: ArrayIsArray$1 } = Array;
|
|
12
12
|
/**
|
|
13
13
|
* Validates an adapter config is well-formed.
|
|
@@ -31,7 +31,7 @@ function validateConfig(config, adapter, oneOf) {
|
|
|
31
31
|
throw new TypeError(`adapter ${displayName} does not yet support ${unsupported.sort().join(', ')}`);
|
|
32
32
|
}
|
|
33
33
|
const supported = required.concat(optional);
|
|
34
|
-
if (ObjectKeys
|
|
34
|
+
if (ObjectKeys(config).some(key => !supported.includes(key))) {
|
|
35
35
|
throw new TypeError(`adapter ${displayName} configuration supports only ${supported.sort().join(', ')}`);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -50,7 +50,6 @@ const snapshotRefreshOptions = {
|
|
|
50
50
|
};
|
|
51
51
|
const keyPrefix = 'IndustriesContext';
|
|
52
52
|
|
|
53
|
-
const { freeze: ObjectFreeze, keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
54
53
|
const { isArray: ArrayIsArray } = Array;
|
|
55
54
|
const { stringify: JSONStringify } = JSON;
|
|
56
55
|
function equalsArray(a, b, equalsItem) {
|
|
@@ -66,24 +65,6 @@ function equalsArray(a, b, equalsItem) {
|
|
|
66
65
|
}
|
|
67
66
|
return true;
|
|
68
67
|
}
|
|
69
|
-
function deepFreeze$9(value) {
|
|
70
|
-
// No need to freeze primitives
|
|
71
|
-
if (typeof value !== 'object' || value === null) {
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
if (ArrayIsArray(value)) {
|
|
75
|
-
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
76
|
-
deepFreeze$9(value[i]);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
const keys = ObjectKeys(value);
|
|
81
|
-
for (let i = 0, len = keys.length; i < len; i += 1) {
|
|
82
|
-
deepFreeze$9(value[keys[i]]);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
ObjectFreeze(value);
|
|
86
|
-
}
|
|
87
68
|
function createLink(ref) {
|
|
88
69
|
return {
|
|
89
70
|
__ref: serializeStructuredKey(ref),
|
|
@@ -645,6 +626,7 @@ function ingestSuccess$t(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
645
626
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
646
627
|
}
|
|
647
628
|
}
|
|
629
|
+
deepFreeze(snapshot.data);
|
|
648
630
|
return snapshot;
|
|
649
631
|
}
|
|
650
632
|
function ingestError$b(luvio, params, error, snapshotRefresh) {
|
|
@@ -852,6 +834,7 @@ function ingestSuccess$s(luvio, resourceParams, response) {
|
|
|
852
834
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
853
835
|
}
|
|
854
836
|
}
|
|
837
|
+
deepFreeze(snapshot.data);
|
|
855
838
|
return snapshot;
|
|
856
839
|
}
|
|
857
840
|
function createResourceRequest$A(config) {
|
|
@@ -915,7 +898,7 @@ function buildNetworkSnapshot$A(luvio, config, options) {
|
|
|
915
898
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
916
899
|
}, () => getResponseCacheKeys$A(luvio, resourceParams, response.body));
|
|
917
900
|
}, (response) => {
|
|
918
|
-
deepFreeze
|
|
901
|
+
deepFreeze(response);
|
|
919
902
|
throw response;
|
|
920
903
|
});
|
|
921
904
|
}
|
|
@@ -1133,9 +1116,6 @@ function equals$b(existing, incoming) {
|
|
|
1133
1116
|
}
|
|
1134
1117
|
return true;
|
|
1135
1118
|
}
|
|
1136
|
-
function deepFreeze$8(input) {
|
|
1137
|
-
ObjectFreeze(input);
|
|
1138
|
-
}
|
|
1139
1119
|
const ingest$b = function ContextAttributeTagRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1140
1120
|
if (process.env.NODE_ENV !== 'production') {
|
|
1141
1121
|
const validateError = validate$j(input);
|
|
@@ -1402,15 +1382,6 @@ function equals$a(existing, incoming) {
|
|
|
1402
1382
|
}
|
|
1403
1383
|
return true;
|
|
1404
1384
|
}
|
|
1405
|
-
function deepFreeze$7(input) {
|
|
1406
|
-
const input_attributeTags = input.attributeTags;
|
|
1407
|
-
for (let i = 0; i < input_attributeTags.length; i++) {
|
|
1408
|
-
const input_attributeTags_item = input_attributeTags[i];
|
|
1409
|
-
deepFreeze$8(input_attributeTags_item);
|
|
1410
|
-
}
|
|
1411
|
-
ObjectFreeze(input_attributeTags);
|
|
1412
|
-
ObjectFreeze(input);
|
|
1413
|
-
}
|
|
1414
1385
|
const ingest$a = function ContextAttributeRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1415
1386
|
if (process.env.NODE_ENV !== 'production') {
|
|
1416
1387
|
const validateError = validate$i(input);
|
|
@@ -1477,6 +1448,7 @@ function ingestSuccess$r(luvio, resourceParams, response) {
|
|
|
1477
1448
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1478
1449
|
}
|
|
1479
1450
|
}
|
|
1451
|
+
deepFreeze(snapshot.data);
|
|
1480
1452
|
return snapshot;
|
|
1481
1453
|
}
|
|
1482
1454
|
function createResourceRequest$z(config) {
|
|
@@ -1540,7 +1512,7 @@ function buildNetworkSnapshot$z(luvio, config, options) {
|
|
|
1540
1512
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
1541
1513
|
}, () => getResponseCacheKeys$z(luvio, resourceParams, response.body));
|
|
1542
1514
|
}, (response) => {
|
|
1543
|
-
deepFreeze
|
|
1515
|
+
deepFreeze(response);
|
|
1544
1516
|
throw response;
|
|
1545
1517
|
});
|
|
1546
1518
|
}
|
|
@@ -1635,7 +1607,7 @@ function buildNetworkSnapshot$y(luvio, config, options) {
|
|
|
1635
1607
|
return luvio.storeBroadcast();
|
|
1636
1608
|
}, () => getResponseCacheKeys$y(luvio, resourceParams));
|
|
1637
1609
|
}, (response) => {
|
|
1638
|
-
deepFreeze
|
|
1610
|
+
deepFreeze(response);
|
|
1639
1611
|
throw response;
|
|
1640
1612
|
});
|
|
1641
1613
|
}
|
|
@@ -1675,6 +1647,7 @@ function ingestSuccess$q(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1675
1647
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1676
1648
|
}
|
|
1677
1649
|
}
|
|
1650
|
+
deepFreeze(snapshot.data);
|
|
1678
1651
|
return snapshot;
|
|
1679
1652
|
}
|
|
1680
1653
|
function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
@@ -1831,6 +1804,7 @@ function ingestSuccess$p(luvio, resourceParams, response) {
|
|
|
1831
1804
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1832
1805
|
}
|
|
1833
1806
|
}
|
|
1807
|
+
deepFreeze(snapshot.data);
|
|
1834
1808
|
return snapshot;
|
|
1835
1809
|
}
|
|
1836
1810
|
function createResourceRequest$w(config) {
|
|
@@ -1901,7 +1875,7 @@ function buildNetworkSnapshot$w(luvio, config, options) {
|
|
|
1901
1875
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
1902
1876
|
}, () => getResponseCacheKeys$w(luvio, resourceParams, response.body));
|
|
1903
1877
|
}, (response) => {
|
|
1904
|
-
deepFreeze
|
|
1878
|
+
deepFreeze(response);
|
|
1905
1879
|
throw response;
|
|
1906
1880
|
});
|
|
1907
1881
|
}
|
|
@@ -1968,17 +1942,6 @@ function equals$9(existing, incoming) {
|
|
|
1968
1942
|
}
|
|
1969
1943
|
return true;
|
|
1970
1944
|
}
|
|
1971
|
-
function deepFreeze$6(input) {
|
|
1972
|
-
const input_attributeTags = input.attributeTags;
|
|
1973
|
-
if (input_attributeTags !== undefined) {
|
|
1974
|
-
for (let i = 0; i < input_attributeTags.length; i++) {
|
|
1975
|
-
const input_attributeTags_item = input_attributeTags[i];
|
|
1976
|
-
deepFreeze$8(input_attributeTags_item);
|
|
1977
|
-
}
|
|
1978
|
-
ObjectFreeze(input_attributeTags);
|
|
1979
|
-
}
|
|
1980
|
-
ObjectFreeze(input);
|
|
1981
|
-
}
|
|
1982
1945
|
const ingest$9 = function ContextAttributeTagListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1983
1946
|
if (process.env.NODE_ENV !== 'production') {
|
|
1984
1947
|
const validateError = validate$h(input);
|
|
@@ -1995,7 +1958,6 @@ const ingest$9 = function ContextAttributeTagListRepresentationIngest(input, pat
|
|
|
1995
1958
|
propertyName: path.propertyName,
|
|
1996
1959
|
ttl: ttlToUse
|
|
1997
1960
|
});
|
|
1998
|
-
deepFreeze$6(input);
|
|
1999
1961
|
if (existingRecord === undefined || equals$9(existingRecord, incomingRecord) === false) {
|
|
2000
1962
|
luvio.storePublish(key, incomingRecord);
|
|
2001
1963
|
}
|
|
@@ -2045,6 +2007,7 @@ function ingestSuccess$o(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2045
2007
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
2046
2008
|
}
|
|
2047
2009
|
}
|
|
2010
|
+
deepFreeze(snapshot.data);
|
|
2048
2011
|
return snapshot;
|
|
2049
2012
|
}
|
|
2050
2013
|
function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
@@ -2229,6 +2192,7 @@ function ingestSuccess$n(luvio, resourceParams, response) {
|
|
|
2229
2192
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
2230
2193
|
}
|
|
2231
2194
|
}
|
|
2195
|
+
deepFreeze(snapshot.data);
|
|
2232
2196
|
return snapshot;
|
|
2233
2197
|
}
|
|
2234
2198
|
function createResourceRequest$u(config) {
|
|
@@ -2292,7 +2256,7 @@ function buildNetworkSnapshot$u(luvio, config, options) {
|
|
|
2292
2256
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
2293
2257
|
}, () => getResponseCacheKeys$u(luvio, resourceParams, response.body));
|
|
2294
2258
|
}, (response) => {
|
|
2295
|
-
deepFreeze
|
|
2259
|
+
deepFreeze(response);
|
|
2296
2260
|
throw response;
|
|
2297
2261
|
});
|
|
2298
2262
|
}
|
|
@@ -2387,7 +2351,7 @@ function buildNetworkSnapshot$t(luvio, config, options) {
|
|
|
2387
2351
|
return luvio.storeBroadcast();
|
|
2388
2352
|
}, () => getResponseCacheKeys$t(luvio, resourceParams));
|
|
2389
2353
|
}, (response) => {
|
|
2390
|
-
deepFreeze
|
|
2354
|
+
deepFreeze(response);
|
|
2391
2355
|
throw response;
|
|
2392
2356
|
});
|
|
2393
2357
|
}
|
|
@@ -2427,6 +2391,7 @@ function ingestSuccess$m(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2427
2391
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
2428
2392
|
}
|
|
2429
2393
|
}
|
|
2394
|
+
deepFreeze(snapshot.data);
|
|
2430
2395
|
return snapshot;
|
|
2431
2396
|
}
|
|
2432
2397
|
function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
@@ -2583,6 +2548,7 @@ function ingestSuccess$l(luvio, resourceParams, response) {
|
|
|
2583
2548
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
2584
2549
|
}
|
|
2585
2550
|
}
|
|
2551
|
+
deepFreeze(snapshot.data);
|
|
2586
2552
|
return snapshot;
|
|
2587
2553
|
}
|
|
2588
2554
|
function createResourceRequest$r(config) {
|
|
@@ -2653,7 +2619,7 @@ function buildNetworkSnapshot$r(luvio, config, options) {
|
|
|
2653
2619
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
2654
2620
|
}, () => getResponseCacheKeys$r(luvio, resourceParams, response.body));
|
|
2655
2621
|
}, (response) => {
|
|
2656
|
-
deepFreeze
|
|
2622
|
+
deepFreeze(response);
|
|
2657
2623
|
throw response;
|
|
2658
2624
|
});
|
|
2659
2625
|
}
|
|
@@ -2693,6 +2659,7 @@ function ingestSuccess$k(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2693
2659
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
2694
2660
|
}
|
|
2695
2661
|
}
|
|
2662
|
+
deepFreeze(snapshot.data);
|
|
2696
2663
|
return snapshot;
|
|
2697
2664
|
}
|
|
2698
2665
|
function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
@@ -3028,33 +2995,6 @@ function equals$8(existing, incoming) {
|
|
|
3028
2995
|
}
|
|
3029
2996
|
return true;
|
|
3030
2997
|
}
|
|
3031
|
-
function deepFreeze$5(input) {
|
|
3032
|
-
const input_attributes = input.attributes;
|
|
3033
|
-
if (input_attributes !== undefined) {
|
|
3034
|
-
for (let i = 0; i < input_attributes.length; i++) {
|
|
3035
|
-
const input_attributes_item = input_attributes[i];
|
|
3036
|
-
deepFreeze$7(input_attributes_item);
|
|
3037
|
-
}
|
|
3038
|
-
ObjectFreeze(input_attributes);
|
|
3039
|
-
}
|
|
3040
|
-
const input_childNodes = input.childNodes;
|
|
3041
|
-
if (input_childNodes !== undefined) {
|
|
3042
|
-
for (let i = 0; i < input_childNodes.length; i++) {
|
|
3043
|
-
const input_childNodes_item = input_childNodes[i];
|
|
3044
|
-
deepFreeze$5(input_childNodes_item);
|
|
3045
|
-
}
|
|
3046
|
-
ObjectFreeze(input_childNodes);
|
|
3047
|
-
}
|
|
3048
|
-
const input_tags = input.tags;
|
|
3049
|
-
if (input_tags !== undefined) {
|
|
3050
|
-
for (let i = 0; i < input_tags.length; i++) {
|
|
3051
|
-
const input_tags_item = input_tags[i];
|
|
3052
|
-
deepFreeze$8(input_tags_item);
|
|
3053
|
-
}
|
|
3054
|
-
ObjectFreeze(input_tags);
|
|
3055
|
-
}
|
|
3056
|
-
ObjectFreeze(input);
|
|
3057
|
-
}
|
|
3058
2998
|
const ingest$8 = function ContextNodeRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3059
2999
|
if (process.env.NODE_ENV !== 'production') {
|
|
3060
3000
|
const validateError = validate$e(input);
|
|
@@ -3071,7 +3011,6 @@ const ingest$8 = function ContextNodeRepresentationIngest(input, path, luvio, st
|
|
|
3071
3011
|
propertyName: path.propertyName,
|
|
3072
3012
|
ttl: ttlToUse
|
|
3073
3013
|
});
|
|
3074
|
-
deepFreeze$5(input);
|
|
3075
3014
|
if (existingRecord === undefined || equals$8(existingRecord, incomingRecord) === false) {
|
|
3076
3015
|
luvio.storePublish(key, incomingRecord);
|
|
3077
3016
|
}
|
|
@@ -3118,6 +3057,7 @@ function ingestSuccess$j(luvio, resourceParams, response) {
|
|
|
3118
3057
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
3119
3058
|
}
|
|
3120
3059
|
}
|
|
3060
|
+
deepFreeze(snapshot.data);
|
|
3121
3061
|
return snapshot;
|
|
3122
3062
|
}
|
|
3123
3063
|
function createResourceRequest$p(config) {
|
|
@@ -3181,7 +3121,7 @@ function buildNetworkSnapshot$p(luvio, config, options) {
|
|
|
3181
3121
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
3182
3122
|
}, () => getResponseCacheKeys$p(luvio, resourceParams, response.body));
|
|
3183
3123
|
}, (response) => {
|
|
3184
|
-
deepFreeze
|
|
3124
|
+
deepFreeze(response);
|
|
3185
3125
|
throw response;
|
|
3186
3126
|
});
|
|
3187
3127
|
}
|
|
@@ -3276,7 +3216,7 @@ function buildNetworkSnapshot$o(luvio, config, options) {
|
|
|
3276
3216
|
return luvio.storeBroadcast();
|
|
3277
3217
|
}, () => getResponseCacheKeys$o(luvio, resourceParams));
|
|
3278
3218
|
}, (response) => {
|
|
3279
|
-
deepFreeze
|
|
3219
|
+
deepFreeze(response);
|
|
3280
3220
|
throw response;
|
|
3281
3221
|
});
|
|
3282
3222
|
}
|
|
@@ -3316,6 +3256,7 @@ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
3316
3256
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
3317
3257
|
}
|
|
3318
3258
|
}
|
|
3259
|
+
deepFreeze(snapshot.data);
|
|
3319
3260
|
return snapshot;
|
|
3320
3261
|
}
|
|
3321
3262
|
function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
@@ -3472,6 +3413,7 @@ function ingestSuccess$h(luvio, resourceParams, response) {
|
|
|
3472
3413
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
3473
3414
|
}
|
|
3474
3415
|
}
|
|
3416
|
+
deepFreeze(snapshot.data);
|
|
3475
3417
|
return snapshot;
|
|
3476
3418
|
}
|
|
3477
3419
|
function createResourceRequest$m(config) {
|
|
@@ -3542,7 +3484,7 @@ function buildNetworkSnapshot$m(luvio, config, options) {
|
|
|
3542
3484
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
3543
3485
|
}, () => getResponseCacheKeys$m(luvio, resourceParams, response.body));
|
|
3544
3486
|
}, (response) => {
|
|
3545
|
-
deepFreeze
|
|
3487
|
+
deepFreeze(response);
|
|
3546
3488
|
throw response;
|
|
3547
3489
|
});
|
|
3548
3490
|
}
|
|
@@ -3762,6 +3704,7 @@ function ingestSuccess$g(luvio, resourceParams, response) {
|
|
|
3762
3704
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
3763
3705
|
}
|
|
3764
3706
|
}
|
|
3707
|
+
deepFreeze(snapshot.data);
|
|
3765
3708
|
return snapshot;
|
|
3766
3709
|
}
|
|
3767
3710
|
function createResourceRequest$l(config) {
|
|
@@ -3832,7 +3775,7 @@ function buildNetworkSnapshot$l(luvio, config, options) {
|
|
|
3832
3775
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
3833
3776
|
}, () => getResponseCacheKeys$l(luvio, resourceParams, response.body));
|
|
3834
3777
|
}, (response) => {
|
|
3835
|
-
deepFreeze
|
|
3778
|
+
deepFreeze(response);
|
|
3836
3779
|
throw response;
|
|
3837
3780
|
});
|
|
3838
3781
|
}
|
|
@@ -3994,17 +3937,6 @@ function equals$6(existing, incoming) {
|
|
|
3994
3937
|
}
|
|
3995
3938
|
return true;
|
|
3996
3939
|
}
|
|
3997
|
-
function deepFreeze$4(input) {
|
|
3998
|
-
const input_childDetails = input.childDetails;
|
|
3999
|
-
if (input_childDetails !== undefined) {
|
|
4000
|
-
for (let i = 0; i < input_childDetails.length; i++) {
|
|
4001
|
-
const input_childDetails_item = input_childDetails[i];
|
|
4002
|
-
deepFreeze$9(input_childDetails_item);
|
|
4003
|
-
}
|
|
4004
|
-
ObjectFreeze(input_childDetails);
|
|
4005
|
-
}
|
|
4006
|
-
ObjectFreeze(input);
|
|
4007
|
-
}
|
|
4008
3940
|
const ingest$6 = function ContextAttrHydrationDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4009
3941
|
if (process.env.NODE_ENV !== 'production') {
|
|
4010
3942
|
const validateError = validate$a(input);
|
|
@@ -4021,7 +3953,6 @@ const ingest$6 = function ContextAttrHydrationDetailRepresentationIngest(input,
|
|
|
4021
3953
|
propertyName: path.propertyName,
|
|
4022
3954
|
ttl: ttlToUse
|
|
4023
3955
|
});
|
|
4024
|
-
deepFreeze$4(input);
|
|
4025
3956
|
if (existingRecord === undefined || equals$6(existingRecord, incomingRecord) === false) {
|
|
4026
3957
|
luvio.storePublish(key, incomingRecord);
|
|
4027
3958
|
}
|
|
@@ -4208,15 +4139,6 @@ function equals$5(existing, incoming) {
|
|
|
4208
4139
|
}
|
|
4209
4140
|
return true;
|
|
4210
4141
|
}
|
|
4211
|
-
function deepFreeze$3(input) {
|
|
4212
|
-
const input_contextAttrHydrationDetailList = input.contextAttrHydrationDetailList;
|
|
4213
|
-
for (let i = 0; i < input_contextAttrHydrationDetailList.length; i++) {
|
|
4214
|
-
const input_contextAttrHydrationDetailList_item = input_contextAttrHydrationDetailList[i];
|
|
4215
|
-
deepFreeze$4(input_contextAttrHydrationDetailList_item);
|
|
4216
|
-
}
|
|
4217
|
-
ObjectFreeze(input_contextAttrHydrationDetailList);
|
|
4218
|
-
ObjectFreeze(input);
|
|
4219
|
-
}
|
|
4220
4142
|
const ingest$5 = function ContextAttributeMappingRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4221
4143
|
if (process.env.NODE_ENV !== 'production') {
|
|
4222
4144
|
const validateError = validate$9(input);
|
|
@@ -4434,15 +4356,6 @@ function equals$4(existing, incoming) {
|
|
|
4434
4356
|
}
|
|
4435
4357
|
return true;
|
|
4436
4358
|
}
|
|
4437
|
-
function deepFreeze$2(input) {
|
|
4438
|
-
const input_attributeMappings = input.attributeMappings;
|
|
4439
|
-
for (let i = 0; i < input_attributeMappings.length; i++) {
|
|
4440
|
-
const input_attributeMappings_item = input_attributeMappings[i];
|
|
4441
|
-
deepFreeze$3(input_attributeMappings_item);
|
|
4442
|
-
}
|
|
4443
|
-
ObjectFreeze(input_attributeMappings);
|
|
4444
|
-
ObjectFreeze(input);
|
|
4445
|
-
}
|
|
4446
4359
|
const ingest$4 = function ContextNodeMappingRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4447
4360
|
if (process.env.NODE_ENV !== 'production') {
|
|
4448
4361
|
const validateError = validate$8(input);
|
|
@@ -4660,15 +4573,6 @@ function equals$3(existing, incoming) {
|
|
|
4660
4573
|
}
|
|
4661
4574
|
return true;
|
|
4662
4575
|
}
|
|
4663
|
-
function deepFreeze$1(input) {
|
|
4664
|
-
const input_contextNodeMappings = input.contextNodeMappings;
|
|
4665
|
-
for (let i = 0; i < input_contextNodeMappings.length; i++) {
|
|
4666
|
-
const input_contextNodeMappings_item = input_contextNodeMappings[i];
|
|
4667
|
-
deepFreeze$2(input_contextNodeMappings_item);
|
|
4668
|
-
}
|
|
4669
|
-
ObjectFreeze(input_contextNodeMappings);
|
|
4670
|
-
ObjectFreeze(input);
|
|
4671
|
-
}
|
|
4672
4576
|
const ingest$3 = function ContextMappingRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4673
4577
|
if (process.env.NODE_ENV !== 'production') {
|
|
4674
4578
|
const validateError = validate$7(input);
|
|
@@ -4827,21 +4731,6 @@ function equals$2(existing, incoming) {
|
|
|
4827
4731
|
}
|
|
4828
4732
|
return true;
|
|
4829
4733
|
}
|
|
4830
|
-
function deepFreeze(input) {
|
|
4831
|
-
const input_contextMappings = input.contextMappings;
|
|
4832
|
-
for (let i = 0; i < input_contextMappings.length; i++) {
|
|
4833
|
-
const input_contextMappings_item = input_contextMappings[i];
|
|
4834
|
-
deepFreeze$1(input_contextMappings_item);
|
|
4835
|
-
}
|
|
4836
|
-
ObjectFreeze(input_contextMappings);
|
|
4837
|
-
const input_contextNodes = input.contextNodes;
|
|
4838
|
-
for (let i = 0; i < input_contextNodes.length; i++) {
|
|
4839
|
-
const input_contextNodes_item = input_contextNodes[i];
|
|
4840
|
-
deepFreeze$5(input_contextNodes_item);
|
|
4841
|
-
}
|
|
4842
|
-
ObjectFreeze(input_contextNodes);
|
|
4843
|
-
ObjectFreeze(input);
|
|
4844
|
-
}
|
|
4845
4734
|
const ingest$2 = function ContextDefinitionVersionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4846
4735
|
if (process.env.NODE_ENV !== 'production') {
|
|
4847
4736
|
const validateError = validate$6(input);
|
|
@@ -4858,7 +4747,6 @@ const ingest$2 = function ContextDefinitionVersionRepresentationIngest(input, pa
|
|
|
4858
4747
|
propertyName: path.propertyName,
|
|
4859
4748
|
ttl: ttlToUse
|
|
4860
4749
|
});
|
|
4861
|
-
deepFreeze(input);
|
|
4862
4750
|
if (existingRecord === undefined || equals$2(existingRecord, incomingRecord) === false) {
|
|
4863
4751
|
luvio.storePublish(key, incomingRecord);
|
|
4864
4752
|
}
|
|
@@ -4905,6 +4793,7 @@ function ingestSuccess$f(luvio, resourceParams, response) {
|
|
|
4905
4793
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
4906
4794
|
}
|
|
4907
4795
|
}
|
|
4796
|
+
deepFreeze(snapshot.data);
|
|
4908
4797
|
return snapshot;
|
|
4909
4798
|
}
|
|
4910
4799
|
function createResourceRequest$k(config) {
|
|
@@ -4968,7 +4857,7 @@ function buildNetworkSnapshot$k(luvio, config, options) {
|
|
|
4968
4857
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
4969
4858
|
}, () => getResponseCacheKeys$k(luvio, resourceParams, response.body));
|
|
4970
4859
|
}, (response) => {
|
|
4971
|
-
deepFreeze
|
|
4860
|
+
deepFreeze(response);
|
|
4972
4861
|
throw response;
|
|
4973
4862
|
});
|
|
4974
4863
|
}
|
|
@@ -5063,7 +4952,7 @@ function buildNetworkSnapshot$j(luvio, config, options) {
|
|
|
5063
4952
|
return luvio.storeBroadcast();
|
|
5064
4953
|
}, () => getResponseCacheKeys$j(luvio, resourceParams));
|
|
5065
4954
|
}, (response) => {
|
|
5066
|
-
deepFreeze
|
|
4955
|
+
deepFreeze(response);
|
|
5067
4956
|
throw response;
|
|
5068
4957
|
});
|
|
5069
4958
|
}
|
|
@@ -5103,6 +4992,7 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
5103
4992
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
5104
4993
|
}
|
|
5105
4994
|
}
|
|
4995
|
+
deepFreeze(snapshot.data);
|
|
5106
4996
|
return snapshot;
|
|
5107
4997
|
}
|
|
5108
4998
|
function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
@@ -5259,6 +5149,7 @@ function ingestSuccess$d(luvio, resourceParams, response) {
|
|
|
5259
5149
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
5260
5150
|
}
|
|
5261
5151
|
}
|
|
5152
|
+
deepFreeze(snapshot.data);
|
|
5262
5153
|
return snapshot;
|
|
5263
5154
|
}
|
|
5264
5155
|
function createResourceRequest$h(config) {
|
|
@@ -5329,7 +5220,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
|
|
|
5329
5220
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
5330
5221
|
}, () => getResponseCacheKeys$h(luvio, resourceParams, response.body));
|
|
5331
5222
|
}, (response) => {
|
|
5332
|
-
deepFreeze
|
|
5223
|
+
deepFreeze(response);
|
|
5333
5224
|
throw response;
|
|
5334
5225
|
});
|
|
5335
5226
|
}
|
|
@@ -5691,7 +5582,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
|
|
|
5691
5582
|
return luvio.storeBroadcast();
|
|
5692
5583
|
}, () => getResponseCacheKeys$g(luvio, resourceParams));
|
|
5693
5584
|
}, (response) => {
|
|
5694
|
-
deepFreeze
|
|
5585
|
+
deepFreeze(response);
|
|
5695
5586
|
throw response;
|
|
5696
5587
|
});
|
|
5697
5588
|
}
|
|
@@ -5731,6 +5622,7 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
5731
5622
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
5732
5623
|
}
|
|
5733
5624
|
}
|
|
5625
|
+
deepFreeze(snapshot.data);
|
|
5734
5626
|
return snapshot;
|
|
5735
5627
|
}
|
|
5736
5628
|
function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
@@ -5887,6 +5779,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
|
|
|
5887
5779
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
5888
5780
|
}
|
|
5889
5781
|
}
|
|
5782
|
+
deepFreeze(snapshot.data);
|
|
5890
5783
|
return snapshot;
|
|
5891
5784
|
}
|
|
5892
5785
|
function createResourceRequest$e(config) {
|
|
@@ -5957,7 +5850,7 @@ function buildNetworkSnapshot$e(luvio, config, options) {
|
|
|
5957
5850
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
5958
5851
|
}, () => getResponseCacheKeys$e(luvio, resourceParams, response.body));
|
|
5959
5852
|
}, (response) => {
|
|
5960
|
-
deepFreeze
|
|
5853
|
+
deepFreeze(response);
|
|
5961
5854
|
throw response;
|
|
5962
5855
|
});
|
|
5963
5856
|
}
|
|
@@ -6032,6 +5925,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
|
|
|
6032
5925
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
6033
5926
|
}
|
|
6034
5927
|
}
|
|
5928
|
+
deepFreeze(snapshot.data);
|
|
6035
5929
|
return snapshot;
|
|
6036
5930
|
}
|
|
6037
5931
|
function createResourceRequest$d(config) {
|
|
@@ -6095,7 +5989,7 @@ function buildNetworkSnapshot$d(luvio, config, options) {
|
|
|
6095
5989
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
6096
5990
|
}, () => getResponseCacheKeys$d(luvio, resourceParams, response.body));
|
|
6097
5991
|
}, (response) => {
|
|
6098
|
-
deepFreeze
|
|
5992
|
+
deepFreeze(response);
|
|
6099
5993
|
throw response;
|
|
6100
5994
|
});
|
|
6101
5995
|
}
|
|
@@ -6177,6 +6071,7 @@ function ingestSuccess$9(luvio, resourceParams, response) {
|
|
|
6177
6071
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
6178
6072
|
}
|
|
6179
6073
|
}
|
|
6074
|
+
deepFreeze(snapshot.data);
|
|
6180
6075
|
return snapshot;
|
|
6181
6076
|
}
|
|
6182
6077
|
function createResourceRequest$c(config) {
|
|
@@ -6240,7 +6135,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
|
|
|
6240
6135
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
6241
6136
|
}, () => getResponseCacheKeys$c(luvio, resourceParams, response.body));
|
|
6242
6137
|
}, (response) => {
|
|
6243
|
-
deepFreeze
|
|
6138
|
+
deepFreeze(response);
|
|
6244
6139
|
throw response;
|
|
6245
6140
|
});
|
|
6246
6141
|
}
|
|
@@ -6335,7 +6230,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
|
|
|
6335
6230
|
return luvio.storeBroadcast();
|
|
6336
6231
|
}, () => getResponseCacheKeys$b(luvio, resourceParams));
|
|
6337
6232
|
}, (response) => {
|
|
6338
|
-
deepFreeze
|
|
6233
|
+
deepFreeze(response);
|
|
6339
6234
|
throw response;
|
|
6340
6235
|
});
|
|
6341
6236
|
}
|
|
@@ -6375,6 +6270,7 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
6375
6270
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
6376
6271
|
}
|
|
6377
6272
|
}
|
|
6273
|
+
deepFreeze(snapshot.data);
|
|
6378
6274
|
return snapshot;
|
|
6379
6275
|
}
|
|
6380
6276
|
function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
@@ -6531,6 +6427,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
|
|
|
6531
6427
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
6532
6428
|
}
|
|
6533
6429
|
}
|
|
6430
|
+
deepFreeze(snapshot.data);
|
|
6534
6431
|
return snapshot;
|
|
6535
6432
|
}
|
|
6536
6433
|
function createResourceRequest$9(config) {
|
|
@@ -6601,7 +6498,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
|
|
|
6601
6498
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
6602
6499
|
}, () => getResponseCacheKeys$9(luvio, resourceParams, response.body));
|
|
6603
6500
|
}, (response) => {
|
|
6604
|
-
deepFreeze
|
|
6501
|
+
deepFreeze(response);
|
|
6605
6502
|
throw response;
|
|
6606
6503
|
});
|
|
6607
6504
|
}
|
|
@@ -6672,6 +6569,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
|
|
|
6672
6569
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
6673
6570
|
}
|
|
6674
6571
|
}
|
|
6572
|
+
deepFreeze(snapshot.data);
|
|
6675
6573
|
return snapshot;
|
|
6676
6574
|
}
|
|
6677
6575
|
function createResourceRequest$8(config) {
|
|
@@ -6735,7 +6633,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
|
|
|
6735
6633
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
6736
6634
|
}, () => getResponseCacheKeys$8(luvio, resourceParams, response.body));
|
|
6737
6635
|
}, (response) => {
|
|
6738
|
-
deepFreeze
|
|
6636
|
+
deepFreeze(response);
|
|
6739
6637
|
throw response;
|
|
6740
6638
|
});
|
|
6741
6639
|
}
|
|
@@ -6830,7 +6728,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
|
|
|
6830
6728
|
return luvio.storeBroadcast();
|
|
6831
6729
|
}, () => getResponseCacheKeys$7(luvio, resourceParams));
|
|
6832
6730
|
}, (response) => {
|
|
6833
|
-
deepFreeze
|
|
6731
|
+
deepFreeze(response);
|
|
6834
6732
|
throw response;
|
|
6835
6733
|
});
|
|
6836
6734
|
}
|
|
@@ -6870,6 +6768,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
6870
6768
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
6871
6769
|
}
|
|
6872
6770
|
}
|
|
6771
|
+
deepFreeze(snapshot.data);
|
|
6873
6772
|
return snapshot;
|
|
6874
6773
|
}
|
|
6875
6774
|
function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
@@ -7026,6 +6925,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
|
|
|
7026
6925
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
7027
6926
|
}
|
|
7028
6927
|
}
|
|
6928
|
+
deepFreeze(snapshot.data);
|
|
7029
6929
|
return snapshot;
|
|
7030
6930
|
}
|
|
7031
6931
|
function createResourceRequest$5(config) {
|
|
@@ -7096,7 +6996,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
|
|
|
7096
6996
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
7097
6997
|
}, () => getResponseCacheKeys$5(luvio, resourceParams, response.body));
|
|
7098
6998
|
}, (response) => {
|
|
7099
|
-
deepFreeze
|
|
6999
|
+
deepFreeze(response);
|
|
7100
7000
|
throw response;
|
|
7101
7001
|
});
|
|
7102
7002
|
}
|
|
@@ -7191,7 +7091,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
|
|
|
7191
7091
|
return luvio.storeBroadcast();
|
|
7192
7092
|
}, () => getResponseCacheKeys$4(luvio, resourceParams));
|
|
7193
7093
|
}, (response) => {
|
|
7194
|
-
deepFreeze
|
|
7094
|
+
deepFreeze(response);
|
|
7195
7095
|
throw response;
|
|
7196
7096
|
});
|
|
7197
7097
|
}
|
|
@@ -7231,6 +7131,7 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
7231
7131
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
7232
7132
|
}
|
|
7233
7133
|
}
|
|
7134
|
+
deepFreeze(snapshot.data);
|
|
7234
7135
|
return snapshot;
|
|
7235
7136
|
}
|
|
7236
7137
|
function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
@@ -7387,6 +7288,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
|
|
|
7387
7288
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
7388
7289
|
}
|
|
7389
7290
|
}
|
|
7291
|
+
deepFreeze(snapshot.data);
|
|
7390
7292
|
return snapshot;
|
|
7391
7293
|
}
|
|
7392
7294
|
function createResourceRequest$2(config) {
|
|
@@ -7457,7 +7359,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
|
|
|
7457
7359
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
7458
7360
|
}, () => getResponseCacheKeys$2(luvio, resourceParams, response.body));
|
|
7459
7361
|
}, (response) => {
|
|
7460
|
-
deepFreeze
|
|
7362
|
+
deepFreeze(response);
|
|
7461
7363
|
throw response;
|
|
7462
7364
|
});
|
|
7463
7365
|
}
|
|
@@ -7613,6 +7515,7 @@ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
7613
7515
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
7614
7516
|
}
|
|
7615
7517
|
}
|
|
7518
|
+
deepFreeze(snapshot.data);
|
|
7616
7519
|
return snapshot;
|
|
7617
7520
|
}
|
|
7618
7521
|
function ingestError(luvio, params, error, snapshotRefresh) {
|
|
@@ -7787,6 +7690,7 @@ function ingestSuccess(luvio, resourceParams, response) {
|
|
|
7787
7690
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
7788
7691
|
}
|
|
7789
7692
|
}
|
|
7693
|
+
deepFreeze(snapshot.data);
|
|
7790
7694
|
return snapshot;
|
|
7791
7695
|
}
|
|
7792
7696
|
function createResourceRequest(config) {
|
|
@@ -7861,7 +7765,7 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
7861
7765
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
7862
7766
|
}, () => getResponseCacheKeys(luvio, resourceParams, response.body));
|
|
7863
7767
|
}, (response) => {
|
|
7864
|
-
deepFreeze
|
|
7768
|
+
deepFreeze(response);
|
|
7865
7769
|
throw response;
|
|
7866
7770
|
});
|
|
7867
7771
|
}
|