@ember-data/store 5.4.0-alpha.35 → 5.4.0-alpha.41
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/addon/-private.js +1 -1
- package/addon/{cache-handler-k7I5KvcC.js → cache-handler-B6QvsAXr.js} +3 -2
- package/addon/cache-handler-B6QvsAXr.js.map +1 -0
- package/addon/index.js +1 -1
- package/addon-main.js +1 -0
- package/package.json +36 -36
- package/unstable-preview-types/-private/cache-handler.d.ts +5 -6
- package/unstable-preview-types/-private/cache-handler.d.ts.map +1 -1
- package/unstable-preview-types/-private.d.ts +1 -0
- package/unstable-preview-types/-private.d.ts.map +1 -1
- package/unstable-preview-types/index.d.ts +26 -26
- package/unstable-preview-types/index.d.ts.map +1 -1
- package/addon/cache-handler-k7I5KvcC.js.map +0 -1
package/addon/-private.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { A as ARRAY_SIGNAL, f as AdapterPopulatedRecordArray, C as CacheHandler, I as IdentifierArray, M as MUTATE, I as RecordArray, R as RecordArrayManager, g as SOURCE, S as Store, l as StoreMap, _ as _clearCaches, o as _deprecatingNormalize, e as coerceId, h as fastPush, i as isStableIdentifier, n as notifyArray, p as peekCache, r as recordIdentifierFor, j as removeRecordDataFor, m as setCacheFor, c as setIdentifierForgetMethod, a as setIdentifierGenerationMethod, d as setIdentifierResetMethod, b as setIdentifierUpdateMethod, k as setRecordIdentifier, s as storeFor } from "./cache-handler-
|
|
1
|
+
export { A as ARRAY_SIGNAL, f as AdapterPopulatedRecordArray, C as CacheHandler, I as IdentifierArray, M as MUTATE, I as RecordArray, R as RecordArrayManager, g as SOURCE, S as Store, l as StoreMap, _ as _clearCaches, o as _deprecatingNormalize, e as coerceId, h as fastPush, i as isStableIdentifier, n as notifyArray, p as peekCache, r as recordIdentifierFor, j as removeRecordDataFor, m as setCacheFor, c as setIdentifierForgetMethod, a as setIdentifierGenerationMethod, d as setIdentifierResetMethod, b as setIdentifierUpdateMethod, k as setRecordIdentifier, s as storeFor } from "./cache-handler-B6QvsAXr";
|
|
@@ -5629,10 +5629,11 @@ const CacheHandler = {
|
|
|
5629
5629
|
newError.content = content;
|
|
5630
5630
|
throw newError;
|
|
5631
5631
|
}
|
|
5632
|
-
|
|
5632
|
+
const result = shouldHydrate ? maybeUpdateUiObjects(store, context.request, {
|
|
5633
5633
|
shouldHydrate,
|
|
5634
5634
|
identifier
|
|
5635
|
-
}, peeked.content, true) : peeked.content
|
|
5635
|
+
}, peeked.content, true) : peeked.content;
|
|
5636
|
+
return result;
|
|
5636
5637
|
}
|
|
5637
5638
|
};
|
|
5638
5639
|
function copyDocumentProperties(target, source) {
|