@warp-drive/core 5.10.0-alpha.1 → 5.10.0-alpha.3

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.
Files changed (156) hide show
  1. package/dist/{-private-Bf-s5frd.js → -private-BNv8oMNf.js} +2 -2
  2. package/dist/{-private-Bf-s5frd.js.map → -private-BNv8oMNf.js.map} +1 -1
  3. package/dist/{-private-D-EWCVEr.js → -private-DQniQUAr.js} +3 -3
  4. package/dist/{-private-D-EWCVEr.js.map → -private-DQniQUAr.js.map} +1 -1
  5. package/dist/{-private-b0e9f1au.js → -private-DppzcqZ4.js} +2 -2
  6. package/dist/{-private-b0e9f1au.js.map → -private-DppzcqZ4.js.map} +1 -1
  7. package/dist/configure.js +1 -1
  8. package/dist/{document-BEn91SwT.d.ts → document-Ca4ZZBd9.d.ts} +2 -2
  9. package/dist/{document-BEn91SwT.d.ts.map → document-Ca4ZZBd9.d.ts.map} +1 -1
  10. package/dist/{error-50OSEhsF.d.ts → error-0uD6GkNX.d.ts} +6 -2
  11. package/dist/error-0uD6GkNX.d.ts.map +1 -0
  12. package/dist/graph/-private.d.ts +1 -1
  13. package/dist/graph/-private.js +1 -1
  14. package/dist/index.d.ts +1 -1
  15. package/dist/index.js +1 -1
  16. package/dist/{internal-DtWOpxrR.d.ts → internal-BrqYbG_y.d.ts} +76 -24
  17. package/dist/{internal-DtWOpxrR.d.ts.map → internal-BrqYbG_y.d.ts.map} +1 -1
  18. package/dist/reactive/-private.d.ts +1 -1
  19. package/dist/reactive/-private.js +1 -1
  20. package/dist/reactive.d.ts +1 -1
  21. package/dist/reactive.js +3 -3
  22. package/dist/{request-Do_sEHfb.js → request-DyxCtUnt.js} +14 -2
  23. package/dist/{request-Do_sEHfb.js.map → request-DyxCtUnt.js.map} +1 -1
  24. package/dist/request.d.ts +1 -1
  25. package/dist/request.js +1 -1
  26. package/dist/signals/-leaked.d.ts +16 -16
  27. package/dist/signals/-leaked.d.ts.map +1 -1
  28. package/dist/signals/-leaked.js +1 -1
  29. package/dist/{src-CZGK02gZ.js → src-1u5OUCOQ.js} +5 -5
  30. package/dist/src-1u5OUCOQ.js.map +1 -0
  31. package/dist/store/-private.d.ts +1 -1
  32. package/dist/store/-private.js +1 -1
  33. package/dist/store.d.ts +1 -1
  34. package/dist/types/-private.d.ts +6 -7
  35. package/dist/types/-private.d.ts.map +1 -1
  36. package/dist/types/-private.js +1 -1
  37. package/dist/types/cache.d.ts +1 -1
  38. package/dist/types/request.d.ts +1 -1
  39. package/dist/types/request.js +1 -1
  40. package/dist/types/runtime.d.ts +3 -4
  41. package/dist/types/runtime.d.ts.map +1 -1
  42. package/dist/types/runtime.js +1 -1
  43. package/dist/types/schema/schema-service.d.ts +1 -1
  44. package/dist/types/spec/document.d.ts +1 -1
  45. package/dist/types/spec/error.d.ts +1 -1
  46. package/dist/types/symbols.js +1 -1
  47. package/dist/types.d.ts +1 -1
  48. package/dist/unpkg/dev/{-private-6h3lyJlN.js → -private-B_P0hXCM.js} +2 -2
  49. package/dist/unpkg/dev/{-private-6h3lyJlN.js.map → -private-B_P0hXCM.js.map} +1 -1
  50. package/dist/unpkg/dev/{-private-_SI2bU7a.js → -private-DbhQfbVb.js} +3 -3
  51. package/dist/unpkg/{dev-deprecated/-private-_SI2bU7a.js.map → dev/-private-DbhQfbVb.js.map} +1 -1
  52. package/dist/unpkg/dev/{-private-DuUUcTLK.js → -private-U1-O2NGf.js} +2 -2
  53. package/dist/unpkg/{dev-deprecated/-private-DuUUcTLK.js.map → dev/-private-U1-O2NGf.js.map} +1 -1
  54. package/dist/unpkg/dev/configure.js +1 -1
  55. package/dist/unpkg/dev/graph/-private.js +2 -2
  56. package/dist/unpkg/dev/index.js +1 -1
  57. package/dist/unpkg/dev/reactive/-private.js +1 -1
  58. package/dist/unpkg/dev/reactive.js +3 -3
  59. package/dist/unpkg/{dev-deprecated/request-C6JqCkt9.js → dev/request-CPEpTSMA.js} +14 -2
  60. package/dist/unpkg/dev/{request-C6JqCkt9.js.map → request-CPEpTSMA.js.map} +1 -1
  61. package/dist/unpkg/dev/request.js +1 -1
  62. package/dist/unpkg/dev/{runtime-FdPeCUwk.js → runtime-DW881fpw.js} +2 -2
  63. package/dist/unpkg/dev/{runtime-FdPeCUwk.js.map → runtime-DW881fpw.js.map} +1 -1
  64. package/dist/unpkg/dev/signals/-leaked.js +1 -1
  65. package/dist/unpkg/dev/{src-BCHcJX74.js → src-CHjmdfbq.js} +7 -7
  66. package/dist/unpkg/dev/src-CHjmdfbq.js.map +1 -0
  67. package/dist/unpkg/dev/store/-private.js +1 -1
  68. package/dist/unpkg/dev/{store-BRZE8mQW.js → store-C0p6sclI.js} +3 -3
  69. package/dist/unpkg/dev/{store-BRZE8mQW.js.map → store-C0p6sclI.js.map} +1 -1
  70. package/dist/unpkg/dev/store.js +1 -1
  71. package/dist/unpkg/dev/types/-private.js +1 -1
  72. package/dist/unpkg/dev/types/request.js +1 -1
  73. package/dist/unpkg/dev/types/runtime.js +1 -1
  74. package/dist/unpkg/dev/types/symbols.js +1 -1
  75. package/dist/unpkg/dev-deprecated/{-private-6h3lyJlN.js → -private-B_P0hXCM.js} +2 -2
  76. package/dist/unpkg/dev-deprecated/{-private-6h3lyJlN.js.map → -private-B_P0hXCM.js.map} +1 -1
  77. package/dist/unpkg/dev-deprecated/{-private-_SI2bU7a.js → -private-DbhQfbVb.js} +3 -3
  78. package/dist/unpkg/{dev/-private-_SI2bU7a.js.map → dev-deprecated/-private-DbhQfbVb.js.map} +1 -1
  79. package/dist/unpkg/dev-deprecated/{-private-DuUUcTLK.js → -private-U1-O2NGf.js} +2 -2
  80. package/dist/unpkg/{prod/-private-pBU5HG_u.js.map → dev-deprecated/-private-U1-O2NGf.js.map} +1 -1
  81. package/dist/unpkg/dev-deprecated/configure.js +1 -1
  82. package/dist/unpkg/dev-deprecated/graph/-private.js +3 -3
  83. package/dist/unpkg/dev-deprecated/graph/-private.js.map +1 -1
  84. package/dist/unpkg/dev-deprecated/index.js +1 -1
  85. package/dist/unpkg/dev-deprecated/reactive/-private.js +1 -1
  86. package/dist/unpkg/dev-deprecated/reactive.js +3 -3
  87. package/dist/unpkg/{dev/request-C6JqCkt9.js → dev-deprecated/request-CPEpTSMA.js} +14 -2
  88. package/dist/unpkg/dev-deprecated/{request-C6JqCkt9.js.map → request-CPEpTSMA.js.map} +1 -1
  89. package/dist/unpkg/dev-deprecated/request.js +1 -1
  90. package/dist/unpkg/dev-deprecated/{runtime-Klu1azLv.js → runtime-BIra6K31.js} +2 -2
  91. package/dist/unpkg/dev-deprecated/{runtime-Klu1azLv.js.map → runtime-BIra6K31.js.map} +1 -1
  92. package/dist/unpkg/dev-deprecated/signals/-leaked.js +1 -1
  93. package/dist/unpkg/dev-deprecated/{src-DJo3ECVR.js → src-DJs_a_Z4.js} +10 -10
  94. package/dist/unpkg/dev-deprecated/src-DJs_a_Z4.js.map +1 -0
  95. package/dist/unpkg/dev-deprecated/store/-private.js +1 -1
  96. package/dist/unpkg/dev-deprecated/{store-C6m5EkF2.js → store-D-z_1Jxe.js} +3 -3
  97. package/dist/unpkg/dev-deprecated/{store-C6m5EkF2.js.map → store-D-z_1Jxe.js.map} +1 -1
  98. package/dist/unpkg/dev-deprecated/store.js +1 -1
  99. package/dist/unpkg/dev-deprecated/types/-private.js +1 -1
  100. package/dist/unpkg/dev-deprecated/types/request.js +1 -1
  101. package/dist/unpkg/dev-deprecated/types/runtime.js +1 -1
  102. package/dist/unpkg/dev-deprecated/types/symbols.js +1 -1
  103. package/dist/unpkg/prod/{-private-D1wl48nf.js → -private-B0TuHsH1.js} +3 -3
  104. package/dist/unpkg/prod/{-private-D1wl48nf.js.map → -private-B0TuHsH1.js.map} +1 -1
  105. package/dist/unpkg/prod/-private-CdUkB-PS.js +22 -0
  106. package/dist/unpkg/{prod-deprecated/-private-pBU5HG_u.js.map → prod/-private-CdUkB-PS.js.map} +1 -1
  107. package/dist/unpkg/{prod-deprecated/-private-BpnWMjfo.js → prod/-private-pzV05ibP.js} +2 -2
  108. package/dist/unpkg/{prod-deprecated/-private-BpnWMjfo.js.map → prod/-private-pzV05ibP.js.map} +1 -1
  109. package/dist/unpkg/prod/configure.js +1 -1
  110. package/dist/unpkg/prod/graph/-private.js +1 -1
  111. package/dist/unpkg/prod/index.js +1 -1
  112. package/dist/unpkg/prod/reactive/-private.js +1 -1
  113. package/dist/unpkg/prod/reactive.js +3 -3
  114. package/dist/unpkg/{prod-deprecated/request-RPHyZJlw.js → prod/request-kcftgnZX.js} +14 -2
  115. package/dist/unpkg/prod/{request-RPHyZJlw.js.map → request-kcftgnZX.js.map} +1 -1
  116. package/dist/unpkg/prod/request.js +1 -1
  117. package/dist/unpkg/prod/signals/-leaked.js +1 -1
  118. package/dist/unpkg/prod/{src-BWQ0Vfmt.js → src-BEltQjsd.js} +5 -5
  119. package/dist/unpkg/prod/src-BEltQjsd.js.map +1 -0
  120. package/dist/unpkg/prod/store/-private.js +1 -1
  121. package/dist/unpkg/prod/types/-private.js +1 -1
  122. package/dist/unpkg/prod/types/request.js +1 -1
  123. package/dist/unpkg/prod/types/runtime.js +1 -1
  124. package/dist/unpkg/prod/types/symbols.js +1 -1
  125. package/dist/unpkg/prod-deprecated/{-private-D1wl48nf.js → -private-B0TuHsH1.js} +3 -3
  126. package/dist/unpkg/prod-deprecated/{-private-D1wl48nf.js.map → -private-B0TuHsH1.js.map} +1 -1
  127. package/dist/unpkg/prod-deprecated/{-private-pBU5HG_u.js → -private-CdUkB-PS.js} +2 -2
  128. package/dist/unpkg/{dev/-private-DuUUcTLK.js.map → prod-deprecated/-private-CdUkB-PS.js.map} +1 -1
  129. package/dist/unpkg/{prod/-private-BpnWMjfo.js → prod-deprecated/-private-pzV05ibP.js} +2 -2
  130. package/dist/unpkg/{prod/-private-BpnWMjfo.js.map → prod-deprecated/-private-pzV05ibP.js.map} +1 -1
  131. package/dist/unpkg/prod-deprecated/configure.js +1 -1
  132. package/dist/unpkg/prod-deprecated/graph/-private.js +1 -1
  133. package/dist/unpkg/prod-deprecated/index.js +1 -1
  134. package/dist/unpkg/prod-deprecated/reactive/-private.js +1 -1
  135. package/dist/unpkg/prod-deprecated/reactive.js +3 -3
  136. package/dist/unpkg/{prod/request-RPHyZJlw.js → prod-deprecated/request-kcftgnZX.js} +14 -2
  137. package/dist/unpkg/prod-deprecated/{request-RPHyZJlw.js.map → request-kcftgnZX.js.map} +1 -1
  138. package/dist/unpkg/prod-deprecated/request.js +1 -1
  139. package/dist/unpkg/prod-deprecated/signals/-leaked.js +1 -1
  140. package/dist/unpkg/prod-deprecated/{src-D-sor5_a.js → src-DlAgVJ_Z.js} +6 -6
  141. package/dist/unpkg/prod-deprecated/src-DlAgVJ_Z.js.map +1 -0
  142. package/dist/unpkg/prod-deprecated/store/-private.js +1 -1
  143. package/dist/unpkg/prod-deprecated/types/-private.js +1 -1
  144. package/dist/unpkg/prod-deprecated/types/request.js +1 -1
  145. package/dist/unpkg/prod-deprecated/types/runtime.js +1 -1
  146. package/dist/unpkg/prod-deprecated/types/symbols.js +1 -1
  147. package/dist/utils/string.d.ts +3 -4
  148. package/dist/utils/string.d.ts.map +1 -1
  149. package/package.json +6 -6
  150. package/dist/error-50OSEhsF.d.ts.map +0 -1
  151. package/dist/src-CZGK02gZ.js.map +0 -1
  152. package/dist/unpkg/dev/src-BCHcJX74.js.map +0 -1
  153. package/dist/unpkg/dev-deprecated/src-DJo3ECVR.js.map +0 -1
  154. package/dist/unpkg/prod/-private-pBU5HG_u.js +0 -22
  155. package/dist/unpkg/prod/src-BWQ0Vfmt.js.map +0 -1
  156. package/dist/unpkg/prod-deprecated/src-D-sor5_a.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import { $ as PrivateRequestStateService, B as logGroup, Dt as StoreRequestContext, Et as CacheHandler, G as ensureStringId, H as createLegacyManyArray, J as PrivateStore, K as constructResource, Ot as StoreRequestInput, Q as FindRecordQuery, Tt as CachePolicy, U as normalizeModelName, V as LegacyManyArray, W as coerceId, X as assertPrivateStore, Y as Store, Z as isPrivateStore, _t as recordIdentifierFor, at as fastPush, bn as isResourceKey, bt as PrivateCacheCapabilitiesManager, ct as PrivateReactiveResourceArray, et as Request, gt as _clearCaches, ht as StoreMap, it as RecordArrayManager, lt as ReactiveResourceArray, mt as InstanceCache, nt as RequestStateService, ot as LegacyQueryArray, pt as NativeProxy, q as CreateRecordProperties, rt as SaveRecordMutation, st as LegacyLiveArray, tt as RequestCacheRequestState, vt as setRecordIdentifier, xt as assertPrivateCapabilities, yn as isRequestKey, yt as storeFor, z as log } from "../internal-DtWOpxrR.js";
1
+ import { $ as PrivateRequestStateService, B as logGroup, Dt as StoreRequestContext, Et as CacheHandler, G as ensureStringId, H as createLegacyManyArray, J as PrivateStore, K as constructResource, Ot as StoreRequestInput, Q as FindRecordQuery, Tt as CachePolicy, U as normalizeModelName, V as LegacyManyArray, W as coerceId, X as assertPrivateStore, Y as Store, Z as isPrivateStore, _t as recordIdentifierFor, at as fastPush, bn as isResourceKey, bt as PrivateCacheCapabilitiesManager, ct as PrivateReactiveResourceArray, et as Request, gt as _clearCaches, ht as StoreMap, it as RecordArrayManager, lt as ReactiveResourceArray, mt as InstanceCache, nt as RequestStateService, ot as LegacyQueryArray, pt as NativeProxy, q as CreateRecordProperties, rt as SaveRecordMutation, st as LegacyLiveArray, tt as RequestCacheRequestState, vt as setRecordIdentifier, xt as assertPrivateCapabilities, yn as isRequestKey, yt as storeFor, z as log } from "../internal-BrqYbG_y.js";
2
2
  export { CacheHandler, type CachePolicy, type LegacyQueryArray as CollectionRecordArray, type LegacyQueryArray, type CreateRecordProperties, type FindRecordQuery, type InstanceCache, type LegacyLiveArray, type LegacyLiveArray as LiveArray, type LegacyManyArray, type LegacyManyArray as RelatedCollection, type NativeProxy, type PrivateCacheCapabilitiesManager, type PrivateReactiveResourceArray, type PrivateRequestStateService, type PrivateStore, type ReactiveResourceArray, RecordArrayManager, type Request, type RequestCacheRequestState, type RequestStateService, type SaveRecordMutation, Store, StoreMap, type StoreRequestContext, type StoreRequestInput, _clearCaches, normalizeModelName as _deprecatingNormalize, assertPrivateCapabilities, assertPrivateStore, coerceId, constructResource, createLegacyManyArray, ensureStringId, fastPush, isPrivateStore, isRequestKey, isResourceKey, log, logGroup, recordIdentifierFor, setRecordIdentifier, storeFor };
@@ -1,3 +1,3 @@
1
- import { C as setRecordIdentifier, D as isResourceKey, E as isRequestKey, F as ensureStringId, I as log, L as logGroup, N as normalizeModelName, P as coerceId, S as recordIdentifierFor, T as assertPrivateCapabilities, _ as isPrivateStore, b as StoreMap, f as createLegacyManyArray, g as assertPrivateStore, h as Store, m as CacheHandler, p as constructResource, v as RecordArrayManager, w as storeFor, x as _clearCaches, y as fastPush } from "../src-CZGK02gZ.js";
1
+ import { C as setRecordIdentifier, D as isResourceKey, E as isRequestKey, F as ensureStringId, I as log, L as logGroup, N as normalizeModelName, P as coerceId, S as recordIdentifierFor, T as assertPrivateCapabilities, _ as isPrivateStore, b as StoreMap, f as createLegacyManyArray, g as assertPrivateStore, h as Store, m as CacheHandler, p as constructResource, v as RecordArrayManager, w as storeFor, x as _clearCaches, y as fastPush } from "../src-1u5OUCOQ.js";
2
2
 
3
3
  export { CacheHandler, RecordArrayManager, Store, StoreMap, _clearCaches, normalizeModelName as _deprecatingNormalize, assertPrivateCapabilities, assertPrivateStore, coerceId, constructResource, createLegacyManyArray, ensureStringId, fastPush, isPrivateStore, isRequestKey, isResourceKey, log, logGroup, recordIdentifierFor, setRecordIdentifier, storeFor };
package/dist/store.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { A as PolicyConfig, O as CacheControlValue, gn as NotificationManager, j as parseCacheControl, k as DefaultCachePolicy } from "./internal-DtWOpxrR.js";
1
+ import { A as PolicyConfig, O as CacheControlValue, gn as NotificationManager, j as parseCacheControl, k as DefaultCachePolicy } from "./internal-BrqYbG_y.js";
2
2
  export { type CacheControlValue, DefaultCachePolicy, type NotificationManager, type PolicyConfig, parseCacheControl };
@@ -22,7 +22,7 @@ type UniqueSymbolOr<T, K extends string> = T extends symbol ? UniqueSymbol<K> :
22
22
  *
23
23
  * @private
24
24
  */
25
- declare function getOrSetGlobal<T, K extends GlobalKey>(key: K, value: T): UniqueSymbolOr<T, K>;
25
+ export declare function getOrSetGlobal<T, K extends GlobalKey>(key: K, value: T): UniqueSymbolOr<T, K>;
26
26
  /**
27
27
  * Reads back the current value stored for `key` by {@link setTransient}, or
28
28
  * `null` if nothing has been stored yet.
@@ -34,7 +34,7 @@ declare function getOrSetGlobal<T, K extends GlobalKey>(key: K, value: T): Uniqu
34
34
  *
35
35
  * @private
36
36
  */
37
- declare function peekTransient<T>(key: TransientKey): T | null;
37
+ export declare function peekTransient<T>(key: TransientKey): T | null;
38
38
  /**
39
39
  * Stores `value` for `key`, overwriting whatever was previously stored, so
40
40
  * that it can later be read back via {@link peekTransient}.
@@ -43,7 +43,7 @@ declare function peekTransient<T>(key: TransientKey): T | null;
43
43
  *
44
44
  * @private
45
45
  */
46
- declare function setTransient<T>(key: TransientKey, value: T): T;
46
+ export declare function setTransient<T>(key: TransientKey, value: T): T;
47
47
  /**
48
48
  * Like {@link getOrSetGlobal}, but reads/writes a cache that is shared across
49
49
  * *all* copies of WarpDrive on `globalThis`, regardless of package name.
@@ -54,7 +54,7 @@ declare function setTransient<T>(key: TransientKey, value: T): T;
54
54
  *
55
55
  * @private
56
56
  */
57
- declare function getOrSetUniversal<T, K extends UniversalKey>(key: K, value: T): UniqueSymbolOr<T, K>;
57
+ export declare function getOrSetUniversal<T, K extends UniversalKey>(key: K, value: T): UniqueSymbolOr<T, K>;
58
58
  /**
59
59
  * Like {@link peekTransient}, but reads from the package-name-independent
60
60
  * cache used by {@link getOrSetUniversal}. Always reads through this shared
@@ -62,7 +62,7 @@ declare function getOrSetUniversal<T, K extends UniversalKey>(key: K, value: T):
62
62
  *
63
63
  * @private
64
64
  */
65
- declare function peekUniversalTransient<T>(key: UniversalTransientKey): T | null;
65
+ export declare function peekUniversalTransient<T>(key: UniversalTransientKey): T | null;
66
66
  /**
67
67
  * Like {@link setTransient}, but writes to the package-name-independent
68
68
  * cache used by {@link getOrSetUniversal}, so it can later be read via
@@ -70,7 +70,6 @@ declare function peekUniversalTransient<T>(key: UniversalTransientKey): T | null
70
70
  *
71
71
  * @private
72
72
  */
73
- declare function setUniversalTransient<T>(key: UniversalTransientKey, value: T): T;
73
+ export declare function setUniversalTransient<T>(key: UniversalTransientKey, value: T): T;
74
74
  //#endregion
75
- export { getOrSetGlobal, getOrSetUniversal, peekTransient, peekUniversalTransient, setTransient, setUniversalTransient };
76
75
  //# sourceMappingURL=-private.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"-private.d.ts","names":[],"sources":["../../src/types/-private.ts"],"mappings":";KAMK;KAIA,8BACc;KAWd;KAWA,2BACc;KA8Gd,aAAa,0CAA0C;KACvD,eAAe,GAAG,oBAAoB,mBAAmB,aAAa,KAAK;;;;;;;;;;;;;;;;;;iBAmBhE,eAAe,GAAG,UAAU,WAAW,KAAK,GAAG,OAAO,IAAI,eAAe,GAAG;;;;;;;;;;;;iBAwB5E,cAAc,GAAG,KAAK,eAAe;;;;;;;;;iBAarC,aAAa,GAAG,KAAK,cAAc,OAAO,IAAI;;;;;;;;;;;iBAe9C,kBAAkB,GAAG,UAAU,cAAc,KAAK,GAAG,OAAO,IAAI,eAAe,GAAG;;;;;;;;iBAoBlF,uBAAuB,GAAG,KAAK,wBAAwB;;;;;;;;iBAYvD,sBAAsB,GAAG,KAAK,uBAAuB,OAAO,IAAI"}
1
+ {"version":3,"file":"-private.d.ts","names":[],"sources":["../../src/types/-private.ts"],"mappings":";KAMK;KAIA,8BACc;KAWd;KAWA,2BACc;KA8Gd,aAAa,0CAA0C;KACvD,eAAe,GAAG,oBAAoB,mBAAmB,aAAa,KAAK;;;;;;;;;;;;;;;;;;wBAmBhE,eAAe,GAAG,UAAU,WAAW,KAAK,GAAG,OAAO,IAAI,eAAe,GAAG;;;;;;;;;;;;wBAwB5E,cAAc,GAAG,KAAK,eAAe;;;;;;;;;wBAarC,aAAa,GAAG,KAAK,cAAc,OAAO,IAAI;;;;;;;;;;;wBAe9C,kBAAkB,GAAG,UAAU,cAAc,KAAK,GAAG,OAAO,IAAI,eAAe,GAAG;;;;;;;;wBAoBlF,uBAAuB,GAAG,KAAK,wBAAwB;;;;;;;;wBAYvD,sBAAsB,GAAG,KAAK,uBAAuB,OAAO,IAAI"}
@@ -1,3 +1,3 @@
1
- import { a as setTransient, i as peekUniversalTransient, n as getOrSetUniversal, o as setUniversalTransient, r as peekTransient, t as getOrSetGlobal } from "../-private-Bf-s5frd.js";
1
+ import { a as setTransient, i as peekUniversalTransient, n as getOrSetUniversal, o as setUniversalTransient, r as peekTransient, t as getOrSetGlobal } from "../-private-BNv8oMNf.js";
2
2
 
3
3
  export { getOrSetGlobal, getOrSetUniversal, peekTransient, peekUniversalTransient, setTransient, setUniversalTransient };
@@ -1,2 +1,2 @@
1
- import { Gt as Cache, Kt as ChangedAttributesHash, qt as RelationshipDiff } from "../internal-DtWOpxrR.js";
1
+ import { Gt as Cache, Kt as ChangedAttributesHash, qt as RelationshipDiff } from "../internal-BrqYbG_y.js";
2
2
  export { Cache, ChangedAttributesHash, RelationshipDiff };
@@ -1,2 +1,2 @@
1
- import { An as EnableHydration, Bn as PostQueryRequestOptions, Dn as ConstrainedRequestOptions, En as CacheOptions, Fn as ImmutableCreateRequestOptions, Gn as ResponseInfo, Hn as RemotelyAccessibleIdentifier, In as ImmutableDeleteRequestOptions, Jn as StructuredDataDocument, Kn as STRUCTURED, Ln as ImmutableHeaders, Mn as FindRecordRequestOptions, Nn as HTTPMethod, On as CreateRequestOptions, Pn as IS_FUTURE, Qn as FetchError, Rn as ImmutableRequestInfo, Un as RequestContext, Vn as QueryRequestOptions, Wn as RequestInfo, Xn as StructuredErrorDocument, Yn as StructuredDocument, Zn as UpdateRequestOptions, jn as FindRecordOptions, kn as DeleteRequestOptions, qn as SkipCache, zn as ImmutableUpdateRequestOptions } from "../internal-DtWOpxrR.js";
1
+ import { An as EnableHydration, Bn as PostQueryRequestOptions, Dn as ConstrainedRequestOptions, En as CacheOptions, Fn as ImmutableCreateRequestOptions, Gn as ResponseInfo, Hn as RemotelyAccessibleIdentifier, In as ImmutableDeleteRequestOptions, Jn as StructuredDataDocument, Kn as STRUCTURED, Ln as ImmutableHeaders, Mn as FindRecordRequestOptions, Nn as HTTPMethod, On as CreateRequestOptions, Pn as IS_FUTURE, Qn as FetchError, Rn as ImmutableRequestInfo, Un as RequestContext, Vn as QueryRequestOptions, Wn as RequestInfo, Xn as StructuredErrorDocument, Yn as StructuredDocument, Zn as UpdateRequestOptions, jn as FindRecordOptions, kn as DeleteRequestOptions, qn as SkipCache, zn as ImmutableUpdateRequestOptions } from "../internal-BrqYbG_y.js";
2
2
  export { CacheOptions, ConstrainedRequestOptions, CreateRequestOptions, DeleteRequestOptions, EnableHydration, type FetchError, FindRecordOptions, FindRecordRequestOptions, HTTPMethod, IS_FUTURE, ImmutableCreateRequestOptions, ImmutableDeleteRequestOptions, ImmutableHeaders, ImmutableRequestInfo, ImmutableUpdateRequestOptions, PostQueryRequestOptions, QueryRequestOptions, RemotelyAccessibleIdentifier, RequestContext, RequestInfo, ResponseInfo, STRUCTURED, SkipCache, StructuredDataDocument, StructuredDocument, StructuredErrorDocument, UpdateRequestOptions };
@@ -1,4 +1,4 @@
1
- import { n as getOrSetUniversal, t as getOrSetGlobal } from "../-private-Bf-s5frd.js";
1
+ import { n as getOrSetUniversal, t as getOrSetGlobal } from "../-private-BNv8oMNf.js";
2
2
 
3
3
  //#region src/types/request.ts
4
4
  /**
@@ -26,7 +26,7 @@ declare const RuntimeConfig: {
26
26
  * const { debug, mirage } = getRuntimeConfig();
27
27
  * ```
28
28
  */
29
- declare function getRuntimeConfig(): typeof RuntimeConfig;
29
+ export declare function getRuntimeConfig(): typeof RuntimeConfig;
30
30
  /**
31
31
  * Upserts the specified logging configuration into the runtime
32
32
  * config.
@@ -34,7 +34,7 @@ declare function getRuntimeConfig(): typeof RuntimeConfig;
34
34
  * globalThis.setWarpDriveLogging({ LOG_CACHE: true } });
35
35
  *
36
36
  */
37
- declare function setLogging(config: Partial<LOG_CONFIG>): void;
37
+ export declare function setLogging(config: Partial<LOG_CONFIG>): void;
38
38
  /**
39
39
  * Explicitly declares whether requests may be served by Mirage (or another
40
40
  * Pretender-based fetch mock) instead of a native `fetch` implementation.
@@ -49,7 +49,6 @@ declare function setLogging(config: Partial<LOG_CONFIG>): void;
49
49
  * globalThis.setWarpDriveIsMaybeMirage(true);
50
50
  *
51
51
  */
52
- declare function setIsMaybeMirage(value: boolean): void;
52
+ export declare function setIsMaybeMirage(value: boolean): void;
53
53
  //#endregion
54
- export { getRuntimeConfig, setIsMaybeMirage, setLogging };
55
54
  //# sourceMappingURL=runtime.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","names":[],"sources":["../../src/types/runtime.ts"],"mappings":";;;;;;KASK,8BAA8B;KAC9B,gBAAgB,OAAO;cAEtB;;;;;EAKJ,OAAO,QAAQ;;;;;EAKf;;;;;;;;;;iBA6Bc,2BAA2B;;;;;;;;iBAW3B,WAAW,QAAQ,QAAQ;;;;;;;;;;;;;;;iBAmB3B,iBAAiB"}
1
+ {"version":3,"file":"runtime.d.ts","names":[],"sources":["../../src/types/runtime.ts"],"mappings":";;;;;;KASK,8BAA8B;KAC9B,gBAAgB,OAAO;cAEtB;;;;;EAKJ,OAAO,QAAQ;;;;;EAKf;;;;;;;;;;wBA6Bc,2BAA2B;;;;;;;;wBAW3B,WAAW,QAAQ,QAAQ;;;;;;;;;;;;;;;wBAmB3B,iBAAiB"}
@@ -1,4 +1,4 @@
1
- import { n as getOrSetUniversal } from "../-private-Bf-s5frd.js";
1
+ import { n as getOrSetUniversal } from "../-private-BNv8oMNf.js";
2
2
 
3
3
  //#region src/types/runtime.ts
4
4
  /**
@@ -1,2 +1,2 @@
1
- import { Xt as RelationshipsSchema, Yt as AttributesSchema, Zt as SchemaService } from "../../internal-DtWOpxrR.js";
1
+ import { Xt as RelationshipsSchema, Yt as AttributesSchema, Zt as SchemaService } from "../../internal-BrqYbG_y.js";
2
2
  export { AttributesSchema, RelationshipsSchema, SchemaService };
@@ -1,2 +1,2 @@
1
- import { a as ResourceMetaDocument, i as ResourceErrorDocument, n as ResourceDataDocument, o as SingleResourceDataDocument, r as ResourceDocument, t as CollectionResourceDataDocument } from "../../document-BEn91SwT.js";
1
+ import { a as ResourceMetaDocument, i as ResourceErrorDocument, n as ResourceDataDocument, o as SingleResourceDataDocument, r as ResourceDocument, t as CollectionResourceDataDocument } from "../../document-Ca4ZZBd9.js";
2
2
  export { CollectionResourceDataDocument, ResourceDataDocument, ResourceDocument, ResourceErrorDocument, ResourceMetaDocument, SingleResourceDataDocument };
@@ -1,2 +1,2 @@
1
- import { t as ApiError } from "../../error-50OSEhsF.js";
1
+ import { t as ApiError } from "../../error-0uD6GkNX.js";
2
2
  export { ApiError };
@@ -1,4 +1,4 @@
1
- import { t as getOrSetGlobal } from "../-private-Bf-s5frd.js";
1
+ import { t as getOrSetGlobal } from "../-private-BNv8oMNf.js";
2
2
 
3
3
  //#region src/types/symbols.ts
4
4
  /**
package/dist/types.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { f as StableRecordIdentifier, l as ResourceKey } from "./identifier-DQnqOSJK.js";
2
- import { Jt as CacheCapabilitiesManager, Zt as SchemaService, cn as FindAllOptions, dn as QueryOptions, fn as ModelSchema, ln as FindRecordOptions, sn as BaseFinderOptions, un as LegacyResourceQuery } from "./internal-DtWOpxrR.js";
2
+ import { Jt as CacheCapabilitiesManager, Zt as SchemaService, cn as FindAllOptions, dn as QueryOptions, fn as ModelSchema, ln as FindRecordOptions, sn as BaseFinderOptions, un as LegacyResourceQuery } from "./internal-BrqYbG_y.js";
3
3
  export type { BaseFinderOptions, CacheCapabilitiesManager, FindAllOptions, FindRecordOptions, LegacyResourceQuery, ModelSchema, QueryOptions, ResourceKey, SchemaService, StableRecordIdentifier };
@@ -1,6 +1,6 @@
1
1
  //#region package.json
2
2
  var name = "@warp-drive/core";
3
- var version = "5.10.0-alpha.1";
3
+ var version = "5.10.0-alpha.3";
4
4
 
5
5
  //#endregion
6
6
  //#region src/types/-private.ts
@@ -108,4 +108,4 @@ function setUniversalTransient(key, value) {
108
108
 
109
109
  //#endregion
110
110
  export { setTransient as a, peekUniversalTransient as i, getOrSetUniversal as n, setUniversalTransient as o, peekTransient as r, getOrSetGlobal as t };
111
- //# sourceMappingURL=-private-6h3lyJlN.js.map
111
+ //# sourceMappingURL=-private-B_P0hXCM.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"-private-6h3lyJlN.js","names":["name","version","GlobalRef","globalThis","UniversalCache","__warpDrive_universalCache","__version","GlobalSink","Error","ModuleScopedCaches","__warpDrive_ModuleScopedCaches","console","warn","getOrSetGlobal","key","value","existing","undefined","peekTransient","globalKey","setTransient","getOrSetUniversal","peekUniversalTransient","setUniversalTransient"],"sources":["../../../package.json","../../../src/types/-private.ts"],"sourcesContent":["","// in testing mode, we utilize globals to ensure only one copy exists of\n// these maps, due to bugs in ember-auto-import\nimport { DEBUG, TESTING } from '@warp-drive/core/build-config/env';\n\nimport { name, version } from '../../package.json';\n\ntype UniversalTransientKey =\n // @warp-drive/core/request\n 'REQ_ID';\n\ntype UniversalKey =\n | `(transient) ${UniversalTransientKey}`\n // @warp-drive/core/request\n | 'RequestMap'\n | 'PromiseCache'\n | 'RequestCache'\n // @warp-drive/core-types/request\n | 'SkipCache'\n | 'EnableHydration'\n // @warp-drive/core-types/runtime\n | 'WarpDriveRuntimeConfig';\n\ntype TransientKey =\n // @warp-drive/core/graph\n | 'transactionRef'\n // @warp-drive/core/store\n | 'configuredGenerationMethod'\n | 'configuredUpdateMethod'\n | 'configuredForgetMethod'\n | 'configuredResetMethod'\n | 'configuredKeyInfoMethod'\n | 'signalHooks';\n\ntype GlobalKey =\n | `(transient) ${TransientKey}`\n // @warp-drive/legacy/adapter\n | 'AdapterError'\n | 'InvalidError'\n | 'TimeoutError'\n | 'AbortError'\n | 'UnauthorizedError'\n | 'ForbiddenError'\n | 'NotFoundError'\n | 'ConflictError'\n | 'ServerError'\n // @warp-drive/core/store/reactivity\n | '#{}'\n | '#[]'\n | 'Signals'\n // @warp-drive/legacy LegacySupport\n | 'AvailableShims'\n // @warp-drive/core RecordArrayManager\n | 'FAKE_ARR'\n // @warp-drive/core ReactiveArray\n | '#source'\n | '#update'\n | '#notify'\n | 'IS_COLLECTION'\n // @warp-drive/core RequestCache\n | 'Touching'\n | 'RequestPromise'\n // @warp-drive/legacy/compat FetchManager\n | 'SaveOp'\n // @warp-drive/legacy Model\n | 'LEGACY_SUPPORT'\n | 'LegacySupport'\n // @warp-drive/core/graph\n | 'Graphs'\n // @warp-drive/core/request\n | 'IS_FROZEN'\n | 'IS_CACHE_HANDLER'\n // @warp-drive/utilities\n | 'CONFIG'\n // @warp-drive/core CacheKeyManager\n | 'DEBUG_MAP'\n | 'IDENTIFIERS'\n | 'DOCUMENTS'\n // @warp-drive/core InstanceCache\n | 'RecordCache'\n | 'StoreMap'\n // @warp-drive/core/types/symbols\n | 'Store'\n | '$type'\n | 'TransformName'\n | 'RequestSignature'\n // @warp-drive/core/types/request\n | 'IS_FUTURE'\n | 'DOC'\n // @warp-drive/core NotificationManager\n | 'UnscopedChannel'\n // @warp-drive/core/reactive\n | 'ManagedArrayMap'\n | 'ManagedObjectMap'\n | 'Support'\n | 'SOURCE'\n | 'Destroy'\n | 'Checkout'\n | 'Commit'\n | 'Context';\n\ntype ModuleScopedCaches = Record<GlobalKey, unknown>;\n\nconst GlobalRef = globalThis as unknown as Record<\n string,\n {\n __warpDrive_ModuleScopedCaches?: ModuleScopedCaches;\n __warpDrive_hasOtherCopy?: boolean;\n __version: string;\n }\n> & {\n __warpDrive_universalCache: Record<UniversalKey, unknown>;\n};\nconst UniversalCache = (GlobalRef.__warpDrive_universalCache =\n GlobalRef.__warpDrive_universalCache ?? ({} as Record<UniversalKey, unknown>));\n\n// in order to support mirror packages, we ensure that each\n// unique package name has its own global cache\nGlobalRef[name] = GlobalRef[name] ?? { __version: version };\nconst GlobalSink = GlobalRef[name];\n\nif (DEBUG) {\n if (GlobalSink.__version !== version) {\n throw new Error('Multiple versions of WarpDrive detected, the application will malfunction.');\n }\n}\n\nconst ModuleScopedCaches = GlobalSink.__warpDrive_ModuleScopedCaches ?? ({} as ModuleScopedCaches);\nif (TESTING) {\n if (!GlobalSink.__warpDrive_ModuleScopedCaches) {\n GlobalSink.__warpDrive_ModuleScopedCaches = ModuleScopedCaches;\n } else {\n // oxlint-disable-next-line no-console\n console.warn(`\nMultiple copies of WarpDrive have been detected. This may be due to a bug in ember-auto-import\n in which test assets get their own copy of some v2-addons. This can cause the application to\n malfunction as each copy will maintain its own separate state.`);\n }\n} else {\n if (GlobalSink.__warpDrive_hasOtherCopy) {\n throw new Error('Multiple copies of WarpDrive detected, the application will malfunction.');\n }\n GlobalSink.__warpDrive_hasOtherCopy = true;\n}\n\ntype UniqueSymbol<T extends string> = `___(unique) Symbol(${T})`;\ntype UniqueSymbolOr<T, K extends string> = T extends symbol ? UniqueSymbol<K> : T;\n\n/**\n * Coordinates creation of a singleton `value` (e.g. a symbol, WeakMap, or\n * error class) for `key` so that duplicate copies of this package loaded\n * into the same process observe the same instance instead of each creating\n * their own.\n *\n * In `TESTING` builds this stores/reads `value` from a cache namespaced to\n * this package's name on `globalThis` (see the file-level comments above for\n * why this is necessary). Outside of `TESTING`, only one copy of the package\n * is expected to exist, so this is a no-op that always returns `value`\n * unchanged.\n *\n * The return type lies about symbols being unique to work around the d.ts\n * rollup issue described in `reactive/-private/symbols.ts`.\n *\n * @private\n */\nexport function getOrSetGlobal<T, K extends GlobalKey>(key: K, value: T): UniqueSymbolOr<T, K> {\n if (TESTING) {\n const existing = ModuleScopedCaches[key];\n if (existing === undefined) {\n return (ModuleScopedCaches[key] = value) as UniqueSymbolOr<T, K>;\n } else {\n return existing as UniqueSymbolOr<T, K>;\n }\n } else {\n return value as UniqueSymbolOr<T, K>;\n }\n}\n\n/**\n * Reads back the current value stored for `key` by {@link setTransient}, or\n * `null` if nothing has been stored yet.\n *\n * Unlike {@link getOrSetGlobal}, this always reads through the same\n * package-namespaced cache regardless of the `TESTING` flag, since this is\n * used for genuinely mutable state (not just singleton values) that must\n * stay in sync across any duplicate copies of this package.\n *\n * @private\n */\nexport function peekTransient<T>(key: TransientKey): T | null {\n const globalKey: `(transient) ${TransientKey}` = `(transient) ${key}`;\n return (ModuleScopedCaches[globalKey] as T) ?? null;\n}\n\n/**\n * Stores `value` for `key`, overwriting whatever was previously stored, so\n * that it can later be read back via {@link peekTransient}.\n *\n * See {@link peekTransient} for details on when/why this cache is shared.\n *\n * @private\n */\nexport function setTransient<T>(key: TransientKey, value: T): T {\n const globalKey: `(transient) ${TransientKey}` = `(transient) ${key}`;\n return (ModuleScopedCaches[globalKey] = value);\n}\n\n/**\n * Like {@link getOrSetGlobal}, but reads/writes a cache that is shared across\n * *all* copies of WarpDrive on `globalThis`, regardless of package name.\n *\n * This is used for keys (e.g. request/promise caches) that must be\n * coordinated even across \"mirror\" packages published under different\n * names, rather than only across duplicate copies of the same package name.\n *\n * @private\n */\nexport function getOrSetUniversal<T, K extends UniversalKey>(key: K, value: T): UniqueSymbolOr<T, K> {\n if (TESTING) {\n const existing = UniversalCache[key];\n if (existing === undefined) {\n return (UniversalCache[key] = value) as UniqueSymbolOr<T, K>;\n } else {\n return existing as UniqueSymbolOr<T, K>;\n }\n } else {\n return value as UniqueSymbolOr<T, K>;\n }\n}\n\n/**\n * Like {@link peekTransient}, but reads from the package-name-independent\n * cache used by {@link getOrSetUniversal}. Always reads through this shared\n * cache regardless of the `TESTING` flag.\n *\n * @private\n */\nexport function peekUniversalTransient<T>(key: UniversalTransientKey): T | null {\n const globalKey: `(transient) ${UniversalTransientKey}` = `(transient) ${key}`;\n return (UniversalCache[globalKey] as T) ?? null;\n}\n\n/**\n * Like {@link setTransient}, but writes to the package-name-independent\n * cache used by {@link getOrSetUniversal}, so it can later be read via\n * {@link peekUniversalTransient}.\n *\n * @private\n */\nexport function setUniversalTransient<T>(key: UniversalTransientKey, value: T): T {\n const globalKey: `(transient) ${UniversalTransientKey}` = `(transient) ${key}`;\n return (UniversalCache[globalKey] = value);\n}\n"],"mappings":";;;;;;ACsGA,MAAME,YAAYC;AAUlB,MAAMC,iBAAkBF,UAAUG,6BAChCH,UAAUG,8BAA+B,CAAC;AAI5CH,UAAUF,QAAQE,UAAUF,SAAS,EAAEM,WAAWL,QAAQ;AAC1D,MAAMM,aAAaL,UAAUF;AAG3B,IAAIO,WAAWD,cAAcL,SAC3B,MAAM,IAAIO,MAAM,4EAA4E;AAIhG,MAAMC,qBAAqBF,WAAWG,kCAAmC,CAAC;AAExE,IAAI,CAACH,WAAWG,gCACdH,WAAWG,iCAAiCD;KAG5CE,QAAQC,KAAK;;;iEAGgD;;;;;;;;;;;;;;;;;;AA6BjE,SAAgBC,eAAuCC,KAAQC,OAAgC;CAChF;EACX,MAAMC,WAAWP,mBAAmBK;EACpC,IAAIE,aAAaC,QACf,OAAQR,mBAAmBK,OAAOC;OAElC,OAAOC;CAEX;AAGF;;;;;;;;;;;;AAaA,SAAgBE,cAAiBJ,KAA6B;CAC5D,MAAMK,YAA2C,eAAeL;CAChE,OAAQL,mBAAmBU,cAAoB;AACjD;;;;;;;;;AAUA,SAAgBC,aAAgBN,KAAmBC,OAAa;CAC9D,MAAMI,YAA2C,eAAeL;CAChE,OAAQL,mBAAmBU,aAAaJ;AAC1C;;;;;;;;;;;AAYA,SAAgBM,kBAA6CP,KAAQC,OAAgC;CACtF;EACX,MAAMC,WAAWZ,eAAeU;EAChC,IAAIE,aAAaC,QACf,OAAQb,eAAeU,OAAOC;OAE9B,OAAOC;CAEX;AAGF;;;;;;;;AASA,SAAgBM,uBAA0BR,KAAsC;CAC9E,MAAMK,YAAoD,eAAeL;CACzE,OAAQV,eAAee,cAAoB;AAC7C;;;;;;;;AASA,SAAgBI,sBAAyBT,KAA4BC,OAAa;CAChF,MAAMI,YAAoD,eAAeL;CACzE,OAAQV,eAAee,aAAaJ;AACtC"}
1
+ {"version":3,"file":"-private-B_P0hXCM.js","names":["name","version","GlobalRef","globalThis","UniversalCache","__warpDrive_universalCache","__version","GlobalSink","Error","ModuleScopedCaches","__warpDrive_ModuleScopedCaches","console","warn","getOrSetGlobal","key","value","existing","undefined","peekTransient","globalKey","setTransient","getOrSetUniversal","peekUniversalTransient","setUniversalTransient"],"sources":["../../../package.json","../../../src/types/-private.ts"],"sourcesContent":["","// in testing mode, we utilize globals to ensure only one copy exists of\n// these maps, due to bugs in ember-auto-import\nimport { DEBUG, TESTING } from '@warp-drive/core/build-config/env';\n\nimport { name, version } from '../../package.json';\n\ntype UniversalTransientKey =\n // @warp-drive/core/request\n 'REQ_ID';\n\ntype UniversalKey =\n | `(transient) ${UniversalTransientKey}`\n // @warp-drive/core/request\n | 'RequestMap'\n | 'PromiseCache'\n | 'RequestCache'\n // @warp-drive/core-types/request\n | 'SkipCache'\n | 'EnableHydration'\n // @warp-drive/core-types/runtime\n | 'WarpDriveRuntimeConfig';\n\ntype TransientKey =\n // @warp-drive/core/graph\n | 'transactionRef'\n // @warp-drive/core/store\n | 'configuredGenerationMethod'\n | 'configuredUpdateMethod'\n | 'configuredForgetMethod'\n | 'configuredResetMethod'\n | 'configuredKeyInfoMethod'\n | 'signalHooks';\n\ntype GlobalKey =\n | `(transient) ${TransientKey}`\n // @warp-drive/legacy/adapter\n | 'AdapterError'\n | 'InvalidError'\n | 'TimeoutError'\n | 'AbortError'\n | 'UnauthorizedError'\n | 'ForbiddenError'\n | 'NotFoundError'\n | 'ConflictError'\n | 'ServerError'\n // @warp-drive/core/store/reactivity\n | '#{}'\n | '#[]'\n | 'Signals'\n // @warp-drive/legacy LegacySupport\n | 'AvailableShims'\n // @warp-drive/core RecordArrayManager\n | 'FAKE_ARR'\n // @warp-drive/core ReactiveArray\n | '#source'\n | '#update'\n | '#notify'\n | 'IS_COLLECTION'\n // @warp-drive/core RequestCache\n | 'Touching'\n | 'RequestPromise'\n // @warp-drive/legacy/compat FetchManager\n | 'SaveOp'\n // @warp-drive/legacy Model\n | 'LEGACY_SUPPORT'\n | 'LegacySupport'\n // @warp-drive/core/graph\n | 'Graphs'\n // @warp-drive/core/request\n | 'IS_FROZEN'\n | 'IS_CACHE_HANDLER'\n // @warp-drive/utilities\n | 'CONFIG'\n // @warp-drive/core CacheKeyManager\n | 'DEBUG_MAP'\n | 'IDENTIFIERS'\n | 'DOCUMENTS'\n // @warp-drive/core InstanceCache\n | 'RecordCache'\n | 'StoreMap'\n // @warp-drive/core/types/symbols\n | 'Store'\n | '$type'\n | 'TransformName'\n | 'RequestSignature'\n // @warp-drive/core/types/request\n | 'IS_FUTURE'\n | 'DOC'\n // @warp-drive/core NotificationManager\n | 'UnscopedChannel'\n // @warp-drive/core/reactive\n | 'ManagedArrayMap'\n | 'ManagedObjectMap'\n | 'Support'\n | 'SOURCE'\n | 'Destroy'\n | 'Checkout'\n | 'Commit'\n | 'Context';\n\ntype ModuleScopedCaches = Record<GlobalKey, unknown>;\n\nconst GlobalRef = globalThis as unknown as Record<\n string,\n {\n __warpDrive_ModuleScopedCaches?: ModuleScopedCaches;\n __warpDrive_hasOtherCopy?: boolean;\n __version: string;\n }\n> & {\n __warpDrive_universalCache: Record<UniversalKey, unknown>;\n};\nconst UniversalCache = (GlobalRef.__warpDrive_universalCache =\n GlobalRef.__warpDrive_universalCache ?? ({} as Record<UniversalKey, unknown>));\n\n// in order to support mirror packages, we ensure that each\n// unique package name has its own global cache\nGlobalRef[name] = GlobalRef[name] ?? { __version: version };\nconst GlobalSink = GlobalRef[name];\n\nif (DEBUG) {\n if (GlobalSink.__version !== version) {\n throw new Error('Multiple versions of WarpDrive detected, the application will malfunction.');\n }\n}\n\nconst ModuleScopedCaches = GlobalSink.__warpDrive_ModuleScopedCaches ?? ({} as ModuleScopedCaches);\nif (TESTING) {\n if (!GlobalSink.__warpDrive_ModuleScopedCaches) {\n GlobalSink.__warpDrive_ModuleScopedCaches = ModuleScopedCaches;\n } else {\n // oxlint-disable-next-line no-console\n console.warn(`\nMultiple copies of WarpDrive have been detected. This may be due to a bug in ember-auto-import\n in which test assets get their own copy of some v2-addons. This can cause the application to\n malfunction as each copy will maintain its own separate state.`);\n }\n} else {\n if (GlobalSink.__warpDrive_hasOtherCopy) {\n throw new Error('Multiple copies of WarpDrive detected, the application will malfunction.');\n }\n GlobalSink.__warpDrive_hasOtherCopy = true;\n}\n\ntype UniqueSymbol<T extends string> = `___(unique) Symbol(${T})`;\ntype UniqueSymbolOr<T, K extends string> = T extends symbol ? UniqueSymbol<K> : T;\n\n/**\n * Coordinates creation of a singleton `value` (e.g. a symbol, WeakMap, or\n * error class) for `key` so that duplicate copies of this package loaded\n * into the same process observe the same instance instead of each creating\n * their own.\n *\n * In `TESTING` builds this stores/reads `value` from a cache namespaced to\n * this package's name on `globalThis` (see the file-level comments above for\n * why this is necessary). Outside of `TESTING`, only one copy of the package\n * is expected to exist, so this is a no-op that always returns `value`\n * unchanged.\n *\n * The return type lies about symbols being unique to work around the d.ts\n * rollup issue described in `reactive/-private/symbols.ts`.\n *\n * @private\n */\nexport function getOrSetGlobal<T, K extends GlobalKey>(key: K, value: T): UniqueSymbolOr<T, K> {\n if (TESTING) {\n const existing = ModuleScopedCaches[key];\n if (existing === undefined) {\n return (ModuleScopedCaches[key] = value) as UniqueSymbolOr<T, K>;\n } else {\n return existing as UniqueSymbolOr<T, K>;\n }\n } else {\n return value as UniqueSymbolOr<T, K>;\n }\n}\n\n/**\n * Reads back the current value stored for `key` by {@link setTransient}, or\n * `null` if nothing has been stored yet.\n *\n * Unlike {@link getOrSetGlobal}, this always reads through the same\n * package-namespaced cache regardless of the `TESTING` flag, since this is\n * used for genuinely mutable state (not just singleton values) that must\n * stay in sync across any duplicate copies of this package.\n *\n * @private\n */\nexport function peekTransient<T>(key: TransientKey): T | null {\n const globalKey: `(transient) ${TransientKey}` = `(transient) ${key}`;\n return (ModuleScopedCaches[globalKey] as T) ?? null;\n}\n\n/**\n * Stores `value` for `key`, overwriting whatever was previously stored, so\n * that it can later be read back via {@link peekTransient}.\n *\n * See {@link peekTransient} for details on when/why this cache is shared.\n *\n * @private\n */\nexport function setTransient<T>(key: TransientKey, value: T): T {\n const globalKey: `(transient) ${TransientKey}` = `(transient) ${key}`;\n return (ModuleScopedCaches[globalKey] = value);\n}\n\n/**\n * Like {@link getOrSetGlobal}, but reads/writes a cache that is shared across\n * *all* copies of WarpDrive on `globalThis`, regardless of package name.\n *\n * This is used for keys (e.g. request/promise caches) that must be\n * coordinated even across \"mirror\" packages published under different\n * names, rather than only across duplicate copies of the same package name.\n *\n * @private\n */\nexport function getOrSetUniversal<T, K extends UniversalKey>(key: K, value: T): UniqueSymbolOr<T, K> {\n if (TESTING) {\n const existing = UniversalCache[key];\n if (existing === undefined) {\n return (UniversalCache[key] = value) as UniqueSymbolOr<T, K>;\n } else {\n return existing as UniqueSymbolOr<T, K>;\n }\n } else {\n return value as UniqueSymbolOr<T, K>;\n }\n}\n\n/**\n * Like {@link peekTransient}, but reads from the package-name-independent\n * cache used by {@link getOrSetUniversal}. Always reads through this shared\n * cache regardless of the `TESTING` flag.\n *\n * @private\n */\nexport function peekUniversalTransient<T>(key: UniversalTransientKey): T | null {\n const globalKey: `(transient) ${UniversalTransientKey}` = `(transient) ${key}`;\n return (UniversalCache[globalKey] as T) ?? null;\n}\n\n/**\n * Like {@link setTransient}, but writes to the package-name-independent\n * cache used by {@link getOrSetUniversal}, so it can later be read via\n * {@link peekUniversalTransient}.\n *\n * @private\n */\nexport function setUniversalTransient<T>(key: UniversalTransientKey, value: T): T {\n const globalKey: `(transient) ${UniversalTransientKey}` = `(transient) ${key}`;\n return (UniversalCache[globalKey] = value);\n}\n"],"mappings":";;;;;;ACsGA,MAAME,YAAYC;AAUlB,MAAMC,iBAAkBF,UAAUG,6BAChCH,UAAUG,8BAA+B,CAAC;AAI5CH,UAAUF,QAAQE,UAAUF,SAAS,EAAEM,WAAWL,QAAQ;AAC1D,MAAMM,aAAaL,UAAUF;AAG3B,IAAIO,WAAWD,cAAcL,SAC3B,MAAM,IAAIO,MAAM,4EAA4E;AAIhG,MAAMC,qBAAqBF,WAAWG,kCAAmC,CAAC;AAExE,IAAI,CAACH,WAAWG,gCACdH,WAAWG,iCAAiCD;KAG5CE,QAAQC,KAAK;;;iEAGgD;;;;;;;;;;;;;;;;;;AA6BjE,SAAgBC,eAAuCC,KAAQC,OAAgC;CAChF;EACX,MAAMC,WAAWP,mBAAmBK;EACpC,IAAIE,aAAaC,QACf,OAAQR,mBAAmBK,OAAOC;OAElC,OAAOC;CAEX;AAGF;;;;;;;;;;;;AAaA,SAAgBE,cAAiBJ,KAA6B;CAC5D,MAAMK,YAA2C,eAAeL;CAChE,OAAQL,mBAAmBU,cAAoB;AACjD;;;;;;;;;AAUA,SAAgBC,aAAgBN,KAAmBC,OAAa;CAC9D,MAAMI,YAA2C,eAAeL;CAChE,OAAQL,mBAAmBU,aAAaJ;AAC1C;;;;;;;;;;;AAYA,SAAgBM,kBAA6CP,KAAQC,OAAgC;CACtF;EACX,MAAMC,WAAWZ,eAAeU;EAChC,IAAIE,aAAaC,QACf,OAAQb,eAAeU,OAAOC;OAE9B,OAAOC;CAEX;AAGF;;;;;;;;AASA,SAAgBM,uBAA0BR,KAAsC;CAC9E,MAAMK,YAAoD,eAAeL;CACzE,OAAQV,eAAee,cAAoB;AAC7C;;;;;;;;AASA,SAAgBI,sBAAyBT,KAA4BC,OAAa;CAChF,MAAMI,YAAoD,eAAeL;CACzE,OAAQV,eAAee,aAAaJ;AACtC"}
@@ -1,5 +1,5 @@
1
- import { a as setTransient, r as peekTransient, t as getOrSetGlobal } from "./-private-6h3lyJlN.js";
2
- import { f as setPromiseResult, o as DOMError, u as getPromiseResult } from "./request-C6JqCkt9.js";
1
+ import { a as setTransient, r as peekTransient, t as getOrSetGlobal } from "./-private-B_P0hXCM.js";
2
+ import { f as setPromiseResult, o as DOMError, u as getPromiseResult } from "./request-CPEpTSMA.js";
3
3
 
4
4
  //#region src/signals/reactivity/configure.ts
5
5
  const ARRAY_SIGNAL = getOrSetGlobal("#[]", Symbol("#[]"));
@@ -3516,4 +3516,4 @@ function getPromiseState(promise) {
3516
3516
 
3517
3517
  //#endregion
3518
3518
  export { ARRAY_SIGNAL as A, createInternalMemo as C, notifyInternalSignal as D, makeInitializer as E, setupSignals as M, waitFor as N, peekInternalSignal as O, willSyncFlushWatchers as P, consumeInternalSignal as S, getOrCreateInternalSignal as T, entangleSignal as _, getPaginationState as a, signal as b, getPaginationCache as c, getRequestState as d, createSignalDescriptor as f, entangleInitiallyStaleSignal as g, defineSignal as h, getPaginationLinks as i, OBJECT_SIGNAL as j, withSignalStore as k, DISPOSE as l, defineNonEnumerableSignal as m, createPaginationLinksSubscription as n, clearPaginationCache as o, defineGate as p, createPaginationSubscription as r, defaultPageHints as s, getPromiseState as t, createRequestSubscription as u, gate as v, createInternalSignal as w, Signals as x, memoized as y };
3519
- //# sourceMappingURL=-private-_SI2bU7a.js.map
3519
+ //# sourceMappingURL=-private-DbhQfbVb.js.map