@warp-drive-mirror/core 5.10.0-alpha.19 → 5.10.0-alpha.20

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 (250) hide show
  1. package/dist/{-private-CmNOwhK0.js → -private-BiuED7nc.js} +2 -3
  2. package/dist/{-private-CmNOwhK0.js.map → -private-BiuED7nc.js.map} +1 -1
  3. package/dist/{-private-Y-13dsHO.js → -private-CvZfrDZl.js} +22 -29
  4. package/dist/-private-CvZfrDZl.js.map +1 -0
  5. package/dist/{aliases-BQmAxXmb.d.ts → aliases-BG5TxALl.d.ts} +1 -3
  6. package/dist/aliases-BG5TxALl.d.ts.map +1 -0
  7. package/dist/build-config/babel-macros.d.ts +0 -5
  8. package/dist/build-config/canary-features.d.ts +0 -5
  9. package/dist/build-config/debugging.d.ts +0 -59
  10. package/dist/build-config/deprecations.d.ts +0 -5
  11. package/dist/build-config.d.ts +0 -17
  12. package/dist/{change-DClXcHvr.d.ts → change-INHMiZ2a.d.ts} +2 -4
  13. package/dist/change-INHMiZ2a.d.ts.map +1 -0
  14. package/dist/{concepts-DzuY5M1K.d.ts → concepts-vh86nAcd.d.ts} +5 -7
  15. package/dist/concepts-vh86nAcd.d.ts.map +1 -0
  16. package/dist/{configure-CodrrdQr.d.ts → configure-BfXDuPUb.d.ts} +1 -3
  17. package/dist/configure-BfXDuPUb.d.ts.map +1 -0
  18. package/dist/configure.d.ts +1 -9
  19. package/dist/configure.js +1 -1
  20. package/dist/{document-Ni8Ns26t.d.ts → document-B8Fup751.d.ts} +4 -6
  21. package/dist/document-B8Fup751.d.ts.map +1 -0
  22. package/dist/{error-APuUdUGk.d.ts → error-j5n1yL9m.d.ts} +2 -4
  23. package/dist/error-j5n1yL9m.d.ts.map +1 -0
  24. package/dist/{fields-D6173Q_a.d.ts → fields-r1rZJB9d.d.ts} +2 -4
  25. package/dist/fields-r1rZJB9d.d.ts.map +1 -0
  26. package/dist/graph/-private.d.ts +1 -1
  27. package/dist/graph/-private.js +18 -36
  28. package/dist/graph/-private.js.map +1 -1
  29. package/dist/{graph-rjTyJ-gd.d.ts → graph-BqxaFjEb.d.ts} +5 -7
  30. package/dist/graph-BqxaFjEb.d.ts.map +1 -0
  31. package/dist/{identifier-B_tK3FUw.d.ts → identifier-DmgDehQK.d.ts} +1 -3
  32. package/dist/identifier-DmgDehQK.d.ts.map +1 -0
  33. package/dist/index.d.ts +1 -1
  34. package/dist/index.js +1 -1
  35. package/dist/{internal-DTPBJZLO.d.ts → internal-BE5B0ZXl.d.ts} +19 -133
  36. package/dist/internal-BE5B0ZXl.d.ts.map +1 -0
  37. package/dist/{json-api-raw-BxzNsCg0.d.ts → json-api-raw-juUdIITO.d.ts} +2 -4
  38. package/dist/json-api-raw-juUdIITO.d.ts.map +1 -0
  39. package/dist/{mutations-C81gbYjB.d.ts → mutations-CA39mior.d.ts} +2 -4
  40. package/dist/mutations-CA39mior.d.ts.map +1 -0
  41. package/dist/{operations-B4pQM7D6.d.ts → operations-C1WAEKKq.d.ts} +5 -7
  42. package/dist/operations-C1WAEKKq.d.ts.map +1 -0
  43. package/dist/{params-dbHiSOMF.d.ts → params-CNLjCRyH.d.ts} +1 -3
  44. package/dist/params-CNLjCRyH.d.ts.map +1 -0
  45. package/dist/{raw-CiC64nCY.d.ts → raw-adYGuEGM.d.ts} +1 -3
  46. package/dist/raw-adYGuEGM.d.ts.map +1 -0
  47. package/dist/reactive/-private.d.ts +1 -1
  48. package/dist/reactive/-private.js +1 -1
  49. package/dist/reactive.d.ts +1 -276
  50. package/dist/reactive.js +3 -3
  51. package/dist/{record-DDxPtzcY.d.ts → record-f5-uOgHt.d.ts} +2 -4
  52. package/dist/record-f5-uOgHt.d.ts.map +1 -0
  53. package/dist/{relationship-BlGIXgj4.d.ts → relationship-99pc4CaS.d.ts} +3 -5
  54. package/dist/relationship-99pc4CaS.d.ts.map +1 -0
  55. package/dist/{request-DUGpwUhf.js → request-CxtnNIIp.js} +7 -13
  56. package/dist/{request-DUGpwUhf.js.map → request-CxtnNIIp.js.map} +1 -1
  57. package/dist/request.d.ts +1 -9
  58. package/dist/request.js +1 -1
  59. package/dist/signals/-leaked.d.ts +2 -30
  60. package/dist/signals/-leaked.d.ts.map +1 -1
  61. package/dist/signals/-leaked.js +1 -1
  62. package/dist/{src-CvKTKJvq.js → src-BTF6QRQ3.js} +58 -111
  63. package/dist/{src-CvKTKJvq.js.map → src-BTF6QRQ3.js.map} +1 -1
  64. package/dist/store/-private.d.ts +1 -1
  65. package/dist/store/-private.js +1 -1
  66. package/dist/{store-lcyaxrpj.js → store-C8iKKtQK.js} +2 -3
  67. package/dist/{store-lcyaxrpj.js.map → store-C8iKKtQK.js.map} +1 -1
  68. package/dist/store.d.ts +1 -6
  69. package/dist/store.js +1 -1
  70. package/dist/{symbols-Cu9un1NR.d.ts → symbols-DVa1PMFG.d.ts} +1 -3
  71. package/dist/symbols-DVa1PMFG.d.ts.map +1 -0
  72. package/dist/types/-private.d.ts +0 -2
  73. package/dist/types/-private.d.ts.map +1 -1
  74. package/dist/types/-private.js +2 -3
  75. package/dist/types/cache/aliases.d.ts +1 -1
  76. package/dist/types/cache/change.d.ts +1 -1
  77. package/dist/types/cache/mutations.d.ts +1 -1
  78. package/dist/types/cache/operations.d.ts +1 -1
  79. package/dist/types/cache/relationship.d.ts +1 -6
  80. package/dist/types/cache.d.ts +1 -6
  81. package/dist/types/graph.d.ts +1 -6
  82. package/dist/types/identifier.d.ts +1 -1
  83. package/dist/types/identifier.js +1 -2
  84. package/dist/types/json/raw.d.ts +1 -1
  85. package/dist/types/params.d.ts +1 -1
  86. package/dist/types/record.d.ts +1 -6
  87. package/dist/types/record.js +1 -2
  88. package/dist/types/request.d.ts +1 -1
  89. package/dist/types/request.js +1 -2
  90. package/dist/types/runtime.d.ts +0 -2
  91. package/dist/types/runtime.d.ts.map +1 -1
  92. package/dist/types/runtime.js +1 -2
  93. package/dist/types/schema/concepts.d.ts +1 -6
  94. package/dist/types/schema/fields.d.ts +1 -1
  95. package/dist/types/schema/fields.js +1 -2
  96. package/dist/types/schema/schema-service.d.ts +1 -6
  97. package/dist/types/spec/document.d.ts +1 -1
  98. package/dist/types/spec/error.d.ts +1 -5
  99. package/dist/types/spec/json-api-raw.d.ts +1 -6
  100. package/dist/types/symbols.d.ts +1 -1
  101. package/dist/types/symbols.js +1 -2
  102. package/dist/types/utils.d.ts +1 -1
  103. package/dist/types.d.ts +2 -10
  104. package/dist/unpkg/{dev-deprecated/-private-BoKjsWc1.js → dev/-private-B4pCmkq-.js} +22 -29
  105. package/dist/unpkg/dev/-private-B4pCmkq-.js.map +1 -0
  106. package/dist/unpkg/{prod-deprecated/-private-CmNOwhK0.js → dev/-private-BiuED7nc.js} +2 -3
  107. package/dist/unpkg/{prod/-private-CmNOwhK0.js.map → dev/-private-BiuED7nc.js.map} +1 -1
  108. package/dist/unpkg/dev/configure.js +1 -1
  109. package/dist/unpkg/dev/graph/-private.js +19 -37
  110. package/dist/unpkg/dev/graph/-private.js.map +1 -1
  111. package/dist/unpkg/dev/index.js +1 -1
  112. package/dist/unpkg/dev/reactive/-private.js +1 -1
  113. package/dist/unpkg/dev/reactive.js +3 -3
  114. package/dist/unpkg/{dev-deprecated/request-BQUGZTOj.js → dev/request-oWpijCPQ.js} +7 -13
  115. package/dist/unpkg/dev/{request-BQUGZTOj.js.map → request-oWpijCPQ.js.map} +1 -1
  116. package/dist/unpkg/dev/request.js +1 -1
  117. package/dist/unpkg/dev/{runtime-DhiRXM4s.js → runtime-RYvEtg99.js} +2 -3
  118. package/dist/unpkg/dev/{runtime-DhiRXM4s.js.map → runtime-RYvEtg99.js.map} +1 -1
  119. package/dist/unpkg/dev/signals/-leaked.js +1 -1
  120. package/dist/unpkg/dev/{src-CqJO8wIe.js → src-Dt1O1Pw1.js} +56 -106
  121. package/dist/unpkg/dev/{src-CqJO8wIe.js.map → src-Dt1O1Pw1.js.map} +1 -1
  122. package/dist/unpkg/dev/store/-private.js +1 -1
  123. package/dist/unpkg/{dev-deprecated/store-BCq54-8u.js → dev/store-dZViNfMK.js} +3 -4
  124. package/dist/unpkg/{dev-deprecated/store-BCq54-8u.js.map → dev/store-dZViNfMK.js.map} +1 -1
  125. package/dist/unpkg/dev/store.js +1 -1
  126. package/dist/unpkg/dev/types/-private.js +2 -3
  127. package/dist/unpkg/dev/types/identifier.js +1 -2
  128. package/dist/unpkg/dev/types/record.js +1 -2
  129. package/dist/unpkg/dev/types/request.js +1 -2
  130. package/dist/unpkg/dev/types/runtime.js +1 -2
  131. package/dist/unpkg/dev/types/schema/fields.js +1 -2
  132. package/dist/unpkg/dev/types/symbols.js +1 -2
  133. package/dist/unpkg/dev/utils/string.js +1 -2
  134. package/dist/unpkg/{dev/-private-BoKjsWc1.js → dev-deprecated/-private-B4pCmkq-.js} +22 -29
  135. package/dist/unpkg/dev-deprecated/-private-B4pCmkq-.js.map +1 -0
  136. package/dist/unpkg/dev-deprecated/{-private-CmNOwhK0.js → -private-BiuED7nc.js} +2 -3
  137. package/dist/unpkg/dev-deprecated/{-private-CmNOwhK0.js.map → -private-BiuED7nc.js.map} +1 -1
  138. package/dist/unpkg/dev-deprecated/configure.js +1 -1
  139. package/dist/unpkg/dev-deprecated/graph/-private.js +19 -37
  140. package/dist/unpkg/dev-deprecated/graph/-private.js.map +1 -1
  141. package/dist/unpkg/dev-deprecated/index.js +1 -1
  142. package/dist/unpkg/dev-deprecated/reactive/-private.js +1 -1
  143. package/dist/unpkg/dev-deprecated/reactive.js +3 -3
  144. package/dist/unpkg/{dev/request-BQUGZTOj.js → dev-deprecated/request-oWpijCPQ.js} +7 -13
  145. package/dist/unpkg/dev-deprecated/{request-BQUGZTOj.js.map → request-oWpijCPQ.js.map} +1 -1
  146. package/dist/unpkg/dev-deprecated/request.js +1 -1
  147. package/dist/unpkg/dev-deprecated/{runtime-DtHRI2Rj.js → runtime-DZVuMuzL.js} +2 -3
  148. package/dist/unpkg/dev-deprecated/{runtime-DtHRI2Rj.js.map → runtime-DZVuMuzL.js.map} +1 -1
  149. package/dist/unpkg/dev-deprecated/signals/-leaked.js +1 -1
  150. package/dist/unpkg/dev-deprecated/{src-BtyRjyV0.js → src-B5QlMjHe.js} +59 -112
  151. package/dist/unpkg/dev-deprecated/{src-BtyRjyV0.js.map → src-B5QlMjHe.js.map} +1 -1
  152. package/dist/unpkg/dev-deprecated/store/-private.js +1 -1
  153. package/dist/unpkg/{dev/store-EH1qO_5y.js → dev-deprecated/store-I7YB0_rC.js} +3 -4
  154. package/dist/unpkg/{dev/store-EH1qO_5y.js.map → dev-deprecated/store-I7YB0_rC.js.map} +1 -1
  155. package/dist/unpkg/dev-deprecated/store.js +1 -1
  156. package/dist/unpkg/dev-deprecated/types/-private.js +2 -3
  157. package/dist/unpkg/dev-deprecated/types/identifier.js +1 -2
  158. package/dist/unpkg/dev-deprecated/types/record.js +1 -2
  159. package/dist/unpkg/dev-deprecated/types/request.js +1 -2
  160. package/dist/unpkg/dev-deprecated/types/runtime.js +1 -2
  161. package/dist/unpkg/dev-deprecated/types/schema/fields.js +1 -2
  162. package/dist/unpkg/dev-deprecated/types/symbols.js +1 -2
  163. package/dist/unpkg/dev-deprecated/utils/string.js +1 -2
  164. package/dist/unpkg/prod/-private-BiuED7nc.js +23 -0
  165. package/dist/unpkg/{prod-deprecated/-private-CmNOwhK0.js.map → prod/-private-BiuED7nc.js.map} +1 -1
  166. package/dist/unpkg/prod/{-private-CRDwlN1v.js → -private-CrUi_3E_.js} +22 -29
  167. package/dist/unpkg/prod/-private-CrUi_3E_.js.map +1 -0
  168. package/dist/unpkg/prod/configure.js +1 -1
  169. package/dist/unpkg/prod/graph/-private.js +16 -32
  170. package/dist/unpkg/prod/graph/-private.js.map +1 -1
  171. package/dist/unpkg/prod/index.js +1 -1
  172. package/dist/unpkg/prod/reactive/-private.js +1 -1
  173. package/dist/unpkg/prod/reactive.js +3 -3
  174. package/dist/unpkg/prod/{request-0h8eJko9.js → request-Cgw3j6Dx.js} +6 -11
  175. package/dist/unpkg/{prod-deprecated/request-0h8eJko9.js.map → prod/request-Cgw3j6Dx.js.map} +1 -1
  176. package/dist/unpkg/prod/request.js +1 -1
  177. package/dist/unpkg/prod/signals/-leaked.js +1 -1
  178. package/dist/unpkg/prod/{src-Ack6NaKZ.js → src-evv7LXnE.js} +54 -103
  179. package/dist/unpkg/prod/{src-Ack6NaKZ.js.map → src-evv7LXnE.js.map} +1 -1
  180. package/dist/unpkg/prod/store/-private.js +1 -1
  181. package/dist/unpkg/prod/{store-CQOsqdST.js → store-Bz9R5hGB.js} +2 -3
  182. package/dist/unpkg/prod/{store-CQOsqdST.js.map → store-Bz9R5hGB.js.map} +1 -1
  183. package/dist/unpkg/prod/store.js +1 -1
  184. package/dist/unpkg/prod/types/-private.js +2 -3
  185. package/dist/unpkg/prod/types/identifier.js +1 -2
  186. package/dist/unpkg/prod/types/record.js +1 -2
  187. package/dist/unpkg/prod/types/request.js +1 -2
  188. package/dist/unpkg/prod/types/runtime.js +1 -2
  189. package/dist/unpkg/prod/types/schema/fields.js +1 -2
  190. package/dist/unpkg/prod/types/symbols.js +1 -2
  191. package/dist/unpkg/prod/utils/string.js +1 -2
  192. package/dist/unpkg/{dev/-private-CmNOwhK0.js → prod-deprecated/-private-BiuED7nc.js} +2 -3
  193. package/dist/unpkg/{dev/-private-CmNOwhK0.js.map → prod-deprecated/-private-BiuED7nc.js.map} +1 -1
  194. package/dist/unpkg/prod-deprecated/{-private-CRDwlN1v.js → -private-CrUi_3E_.js} +22 -29
  195. package/dist/unpkg/prod-deprecated/-private-CrUi_3E_.js.map +1 -0
  196. package/dist/unpkg/prod-deprecated/configure.js +1 -1
  197. package/dist/unpkg/prod-deprecated/graph/-private.js +16 -32
  198. package/dist/unpkg/prod-deprecated/graph/-private.js.map +1 -1
  199. package/dist/unpkg/prod-deprecated/index.js +1 -1
  200. package/dist/unpkg/prod-deprecated/reactive/-private.js +1 -1
  201. package/dist/unpkg/prod-deprecated/reactive.js +3 -3
  202. package/dist/unpkg/prod-deprecated/{request-0h8eJko9.js → request-Cgw3j6Dx.js} +6 -11
  203. package/dist/unpkg/{prod/request-0h8eJko9.js.map → prod-deprecated/request-Cgw3j6Dx.js.map} +1 -1
  204. package/dist/unpkg/prod-deprecated/request.js +1 -1
  205. package/dist/unpkg/prod-deprecated/signals/-leaked.js +1 -1
  206. package/dist/unpkg/prod-deprecated/{src-C8-R95FT.js → src-D6BqG5K8.js} +57 -109
  207. package/dist/unpkg/prod-deprecated/{src-C8-R95FT.js.map → src-D6BqG5K8.js.map} +1 -1
  208. package/dist/unpkg/prod-deprecated/store/-private.js +1 -1
  209. package/dist/unpkg/prod-deprecated/{store-CQOsqdST.js → store-Bz9R5hGB.js} +2 -3
  210. package/dist/unpkg/prod-deprecated/{store-CQOsqdST.js.map → store-Bz9R5hGB.js.map} +1 -1
  211. package/dist/unpkg/prod-deprecated/store.js +1 -1
  212. package/dist/unpkg/prod-deprecated/types/-private.js +2 -3
  213. package/dist/unpkg/prod-deprecated/types/identifier.js +1 -2
  214. package/dist/unpkg/prod-deprecated/types/record.js +1 -2
  215. package/dist/unpkg/prod-deprecated/types/request.js +1 -2
  216. package/dist/unpkg/prod-deprecated/types/runtime.js +1 -2
  217. package/dist/unpkg/prod-deprecated/types/schema/fields.js +1 -2
  218. package/dist/unpkg/prod-deprecated/types/symbols.js +1 -2
  219. package/dist/unpkg/prod-deprecated/utils/string.js +1 -2
  220. package/dist/utils/string.d.ts +0 -2
  221. package/dist/utils/string.d.ts.map +1 -1
  222. package/dist/utils/string.js +1 -2
  223. package/dist/{utils-CNmQoKm8.d.ts → utils-BVKvrO6e.d.ts} +1 -3
  224. package/dist/utils-BVKvrO6e.d.ts.map +1 -0
  225. package/package.json +6 -6
  226. package/dist/-private-Y-13dsHO.js.map +0 -1
  227. package/dist/aliases-BQmAxXmb.d.ts.map +0 -1
  228. package/dist/change-DClXcHvr.d.ts.map +0 -1
  229. package/dist/concepts-DzuY5M1K.d.ts.map +0 -1
  230. package/dist/configure-CodrrdQr.d.ts.map +0 -1
  231. package/dist/document-Ni8Ns26t.d.ts.map +0 -1
  232. package/dist/error-APuUdUGk.d.ts.map +0 -1
  233. package/dist/fields-D6173Q_a.d.ts.map +0 -1
  234. package/dist/graph-rjTyJ-gd.d.ts.map +0 -1
  235. package/dist/identifier-B_tK3FUw.d.ts.map +0 -1
  236. package/dist/internal-DTPBJZLO.d.ts.map +0 -1
  237. package/dist/json-api-raw-BxzNsCg0.d.ts.map +0 -1
  238. package/dist/mutations-C81gbYjB.d.ts.map +0 -1
  239. package/dist/operations-B4pQM7D6.d.ts.map +0 -1
  240. package/dist/params-dbHiSOMF.d.ts.map +0 -1
  241. package/dist/raw-CiC64nCY.d.ts.map +0 -1
  242. package/dist/record-DDxPtzcY.d.ts.map +0 -1
  243. package/dist/relationship-BlGIXgj4.d.ts.map +0 -1
  244. package/dist/symbols-Cu9un1NR.d.ts.map +0 -1
  245. package/dist/unpkg/dev/-private-BoKjsWc1.js.map +0 -1
  246. package/dist/unpkg/dev-deprecated/-private-BoKjsWc1.js.map +0 -1
  247. package/dist/unpkg/prod/-private-CRDwlN1v.js.map +0 -1
  248. package/dist/unpkg/prod/-private-CmNOwhK0.js +0 -24
  249. package/dist/unpkg/prod-deprecated/-private-CRDwlN1v.js.map +0 -1
  250. package/dist/utils-CNmQoKm8.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { getOrSetGlobal } from "./types/-private.js";
2
2
 
3
- //#region src/reactive/-private/symbols.ts
3
+ // src/reactive/-private/symbols.ts
4
4
  const SOURCE = getOrSetGlobal("SOURCE", Symbol("#source"));
5
5
  const Destroy = getOrSetGlobal("Destroy", Symbol.dispose || Symbol.for("Dispose"));
6
6
  /**
@@ -19,6 +19,5 @@ const Commit = getOrSetGlobal("Commit", Symbol("Commit"));
19
19
  */
20
20
  const Context = getOrSetGlobal("Context", Symbol("Context"));
21
21
 
22
- //#endregion
23
22
  export { SOURCE as a, Destroy as i, Commit as n, Context as r, Checkout as t };
24
- //# sourceMappingURL=-private-CmNOwhK0.js.map
23
+ //# sourceMappingURL=-private-BiuED7nc.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"-private-CmNOwhK0.js","names":["getOrSetGlobal","SOURCE","Symbol","Destroy","dispose","for","Checkout","Commit","Context"],"sources":["../src/reactive/-private/symbols.ts"],"sourcesContent":["///////////////////\n///// WARNING /////\n///////////////////\n\nimport { getOrSetGlobal } from '../../types/-private';\n\n// Great, got your attention with that warning didn't we?\n// Good. Here's the deal: typescript treats symbols as unique types.\n// If by accident a module creating a symbol is processed more than\n// once, the symbol will be different in each processing. This will\n// cause a type error.\n// It could also cause a runtime error if the symbol is used innapropriately.\n// However, this case is extremely hard to hit and would require other things\n// to go wrong first.\n//\n// So, why do the warning? And why do we lie about the types of the symbols?\n//\n// Because we intentionally create multiple copies of them within the types\n// at build time. This is because we rollup our d.ts files in order to give\n// our consumers a better experience.\n//\n// However, no tool today supports rolling up d.ts files with multiple entry\n// points correctly. The tool we use currently (vite-plugin-dts) uses @microsoft/api-extractor\n// which creates a fully unique stand-alone types file per-entry-point. Thus\n// every entry point that uses one of these symbols somewhere will have accidentally\n// created a new symbol type.\n//\n// This cast allows us to rollup these types using this tool while not encountering\n// the unique symbol type issue.\n//\n// Note that none of these symbols are part of the public API, these are used for\n// debugging DX and as a safe way to provide an intimate contract on public objects.\n\nexport const SOURCE: '___(unique) Symbol(SOURCE)' = getOrSetGlobal('SOURCE', Symbol('#source'));\n\nexport const Destroy: '___(unique) Symbol(Destroy)' = getOrSetGlobal(\n 'Destroy',\n Symbol.dispose || Symbol.for('Dispose')\n);\n/**\n * Symbol for the method used to request a mutable copy of an otherwise\n * immutable {@link ReactiveResource}.\n *\n * @summary Deprecated symbol-keyed method on a ReactiveResource that resolves with an editable copy;\n * use `checkout` instead.\n * @deprecated use the {@link checkout} utility function instead.\n */\nexport const Checkout: '___(unique) Symbol(Checkout)' = getOrSetGlobal('Checkout', Symbol('Checkout'));\nexport const Commit: '___(unique) Symbol(Commit)' = getOrSetGlobal('Commit', Symbol('Commit'));\n\n/**\n * Symbol used to stash the internal field/resource context (schema, store,\n * mutability, etc.) on a {@link ReactiveResource} or reactive field instance.\n */\nexport const Context: '___(unique) Symbol(Context)' = getOrSetGlobal('Context', Symbol('Context'));\n"],"mappings":";;;AAiCA,MAAaC,SAAuCD,eAAe,UAAUE,OAAO,SAAS,CAAC;AAE9F,MAAaC,UAAyCH,eACpD,WACAE,OAAOE,WAAWF,OAAOG,IAAI,SAAS,CACxC;;;;;;;;;AASA,MAAaC,WAA2CN,eAAe,YAAYE,OAAO,UAAU,CAAC;AACrG,MAAaK,SAAuCP,eAAe,UAAUE,OAAO,QAAQ,CAAC;;;;;AAM7F,MAAaM,UAAyCR,eAAe,WAAWE,OAAO,SAAS,CAAC"}
1
+ {"version":3,"file":"-private-BiuED7nc.js","names":["getOrSetGlobal","SOURCE","Symbol","Destroy","dispose","for","Checkout","Commit","Context"],"sources":["../src/reactive/-private/symbols.ts"],"sourcesContent":["///////////////////\n///// WARNING /////\n///////////////////\n\nimport { getOrSetGlobal } from '../../types/-private';\n\n// Great, got your attention with that warning didn't we?\n// Good. Here's the deal: typescript treats symbols as unique types.\n// If by accident a module creating a symbol is processed more than\n// once, the symbol will be different in each processing. This will\n// cause a type error.\n// It could also cause a runtime error if the symbol is used innapropriately.\n// However, this case is extremely hard to hit and would require other things\n// to go wrong first.\n//\n// So, why do the warning? And why do we lie about the types of the symbols?\n//\n// Because we intentionally create multiple copies of them within the types\n// at build time. This is because we rollup our d.ts files in order to give\n// our consumers a better experience.\n//\n// However, no tool today supports rolling up d.ts files with multiple entry\n// points correctly. The tool we use currently (vite-plugin-dts) uses @microsoft/api-extractor\n// which creates a fully unique stand-alone types file per-entry-point. Thus\n// every entry point that uses one of these symbols somewhere will have accidentally\n// created a new symbol type.\n//\n// This cast allows us to rollup these types using this tool while not encountering\n// the unique symbol type issue.\n//\n// Note that none of these symbols are part of the public API, these are used for\n// debugging DX and as a safe way to provide an intimate contract on public objects.\n\nexport const SOURCE: '___(unique) Symbol(SOURCE)' = getOrSetGlobal('SOURCE', Symbol('#source'));\n\nexport const Destroy: '___(unique) Symbol(Destroy)' = getOrSetGlobal(\n 'Destroy',\n Symbol.dispose || Symbol.for('Dispose')\n);\n/**\n * Symbol for the method used to request a mutable copy of an otherwise\n * immutable {@link ReactiveResource}.\n *\n * @summary Deprecated symbol-keyed method on a ReactiveResource that resolves with an editable copy;\n * use `checkout` instead.\n * @deprecated use the {@link checkout} utility function instead.\n */\nexport const Checkout: '___(unique) Symbol(Checkout)' = getOrSetGlobal('Checkout', Symbol('Checkout'));\nexport const Commit: '___(unique) Symbol(Commit)' = getOrSetGlobal('Commit', Symbol('Commit'));\n\n/**\n * Symbol used to stash the internal field/resource context (schema, store,\n * mutability, etc.) on a {@link ReactiveResource} or reactive field instance.\n */\nexport const Context: '___(unique) Symbol(Context)' = getOrSetGlobal('Context', Symbol('Context'));\n"],"mappings":";;;AAiCA,MAAaC,SAAuCD,eAAe,UAAUE,OAAO,SAAS,CAAC;AAE9F,MAAaC,UAAyCH,eACpD,WACAE,OAAOE,WAAWF,OAAOG,IAAI,SAAS,CACxC;;;;;;;;;AASA,MAAaC,WAA2CN,eAAe,YAAYE,OAAO,UAAU,CAAC;AACrG,MAAaK,SAAuCP,eAAe,UAAUE,OAAO,QAAQ,CAAC;;;;;AAM7F,MAAaM,UAAyCR,eAAe,WAAWE,OAAO,SAAS,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { getOrSetGlobal, peekTransient, setTransient } from "./types/-private.js";
2
- import { f as setPromiseResult, o as DOMError, u as getPromiseResult } from "./request-DUGpwUhf.js";
2
+ import { f as setPromiseResult, o as DOMError, u as getPromiseResult } from "./request-CxtnNIIp.js";
3
3
  import { getGlobalConfig, macroCondition } from "@embroider/macros";
4
4
 
5
- //#region src/signals/reactivity/configure.ts
5
+ // src/signals/reactivity/configure.ts
6
6
  const ARRAY_SIGNAL = getOrSetGlobal("#[]", Symbol("#[]"));
7
7
  const OBJECT_SIGNAL = getOrSetGlobal("#{}", Symbol("#{}"));
8
8
  /**
@@ -165,8 +165,7 @@ function waitFor(promise) {
165
165
  return promise;
166
166
  }
167
167
 
168
- //#endregion
169
- //#region src/signals/reactivity/internal.ts
168
+ // src/signals/reactivity/internal.ts
170
169
  const INITIALIZER_PROTO = { isInitializer: true };
171
170
  /**
172
171
  * Wraps `fn` so that a signal can recognize it as a lazy initializer
@@ -437,8 +436,7 @@ function printMemo(memo, key, lines = [], depth = 0) {
437
436
  return lines;
438
437
  }
439
438
 
440
- //#endregion
441
- //#region src/signals/reactivity/signal.ts
439
+ // src/signals/reactivity/signal.ts
442
440
  /**
443
441
  * Creates a signal for the key/object pairing and subscribes to the signal.
444
442
  *
@@ -594,8 +592,7 @@ function defineGate(obj, key, desc) {
594
592
  Object.defineProperty(obj, key, options);
595
593
  }
596
594
 
597
- //#endregion
598
- //#region src/signals/request-state.ts
595
+ // src/signals/request-state.ts
599
596
  const RequestCache = /* @__PURE__ */ new WeakMap();
600
597
  function isAbortError(error) {
601
598
  return error instanceof DOMError && error.name === "AbortError";
@@ -1093,8 +1090,7 @@ function getRequestState(future) {
1093
1090
  return state;
1094
1091
  }
1095
1092
 
1096
- //#endregion
1097
- //#region ../../node_modules/.pnpm/decorat_5d4eca388601a94e7fbc656401b751d1/node_modules/decorator-transforms/dist/runtime--fcdnjmJ.js
1093
+ // ../../node_modules/.pnpm/decorat_5d4eca388601a94e7fbc656401b751d1/node_modules/decorator-transforms/dist/runtime--fcdnjmJ.js
1098
1094
  const deferred = /* @__PURE__ */ new WeakMap();
1099
1095
  function deferDecorator(proto, prop, desc) {
1100
1096
  let map = deferred.get(proto);
@@ -1144,8 +1140,7 @@ function initializeDeferredDecorator(target, prop) {
1144
1140
  });
1145
1141
  }
1146
1142
 
1147
- //#endregion
1148
- //#region src/signals/request-subscription.ts
1143
+ // src/signals/request-subscription.ts
1149
1144
  const DEFAULT_DEADLINE = 3e4;
1150
1145
  /**
1151
1146
  * A symbol used to dispose of a {@link RequestSubscription} when the
@@ -1298,8 +1293,14 @@ var RequestSubscription = class {
1298
1293
  * @internal
1299
1294
  */
1300
1295
  async _beginPolling() {
1296
+ let initialRequest;
1301
1297
  try {
1302
- if (!this.isIdle) await this.request;
1298
+ initialRequest = this.isIdle ? null : this.request;
1299
+ } catch (e) {
1300
+ throw new Error(`Unable to begin polling the request`, { cause: e });
1301
+ }
1302
+ try {
1303
+ if (initialRequest) await initialRequest;
1303
1304
  } catch {} finally {
1304
1305
  if (!this.isDestroyed) this._scheduleInterval();
1305
1306
  }
@@ -1660,8 +1661,7 @@ function _DISPOSE$2() {
1660
1661
  });
1661
1662
  }
1662
1663
 
1663
- //#endregion
1664
- //#region src/signals/page-cache.ts
1664
+ // src/signals/page-cache.ts
1665
1665
  const { abs } = Math;
1666
1666
  /**
1667
1667
  * Extracts the `data` member of a document type, or the document type itself
@@ -2160,8 +2160,7 @@ var PageCache = class {
2160
2160
  };
2161
2161
  };
2162
2162
 
2163
- //#endregion
2164
- //#region src/signals/pagination-cache.ts
2163
+ // src/signals/pagination-cache.ts
2165
2164
  const PaginationCacheMap = /* @__PURE__ */ new Map();
2166
2165
  /**
2167
2166
  * A hint function for extracting the `currentPage` and `totalPages` from a loaded
@@ -2410,8 +2409,7 @@ function clearPaginationCache() {
2410
2409
  PaginationCacheMap.clear();
2411
2410
  }
2412
2411
 
2413
- //#endregion
2414
- //#region src/signals/pagination-state.ts
2412
+ // src/signals/pagination-state.ts
2415
2413
  /**
2416
2414
  * The two navigation surfaces a `<Paginate />` component can drive. Selecting
2417
2415
  * one (via the component's `@mode` arg) narrows the yielded state so the two
@@ -3012,8 +3010,7 @@ function getPaginationState(request, pageHints) {
3012
3010
  return state;
3013
3011
  }
3014
3012
 
3015
- //#endregion
3016
- //#region src/signals/pagination-links.ts
3013
+ // src/signals/pagination-links.ts
3017
3014
  const PaginationLinksCache = /* @__PURE__ */ new WeakMap();
3018
3015
  /**
3019
3016
  * A single numbered link, e.g. page `3`. Loads its page and makes it active when
@@ -3350,8 +3347,7 @@ function getPaginationLinks(state) {
3350
3347
  return links;
3351
3348
  }
3352
3349
 
3353
- //#endregion
3354
- //#region src/signals/pagination-subscription.ts
3350
+ // src/signals/pagination-subscription.ts
3355
3351
  /**
3356
3352
  * The content features available in both pagination modes: the state and
3357
3353
  * controls of the initial request.
@@ -3673,8 +3669,7 @@ function _DISPOSE$1() {
3673
3669
  self._requestSubscription?.[DISPOSE]?.();
3674
3670
  }
3675
3671
 
3676
- //#endregion
3677
- //#region src/signals/pagination-links-subscription.ts
3672
+ // src/signals/pagination-links-subscription.ts
3678
3673
  /**
3679
3674
  * The framework-agnostic core of a pagination links component (for example the
3680
3675
  * `<EachLink />` component of `@warp-drive-mirror/ember`): it owns the component
@@ -3748,8 +3743,7 @@ function _DISPOSE() {
3748
3743
  self.isDestroyed = true;
3749
3744
  }
3750
3745
 
3751
- //#endregion
3752
- //#region src/signals/promise-state.ts
3746
+ // src/signals/promise-state.ts
3753
3747
  const PromiseCache = /* @__PURE__ */ new WeakMap();
3754
3748
  /**
3755
3749
  * The state of a promise in the "pending"
@@ -3919,6 +3913,5 @@ function getPromiseState(promise) {
3919
3913
  return state;
3920
3914
  }
3921
3915
 
3922
- //#endregion
3923
3916
  export { ARRAY_SIGNAL as A, createInternalMemo as C, notifyInternalSignal as D, makeInitializer as E, willSyncFlushWatchers as F, registerSignals as M, setupSignals as N, peekInternalSignal as O, waitFor 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 };
3924
- //# sourceMappingURL=-private-Y-13dsHO.js.map
3917
+ //# sourceMappingURL=-private-CvZfrDZl.js.map