@warp-drive-mirror/core 5.10.0-alpha.12 → 5.10.0-alpha.13

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 (267) hide show
  1. package/README.md +32 -0
  2. package/dist/{-private-CjK1Dmuh.js → -private-BpyvBYFj.js} +508 -144
  3. package/dist/-private-BpyvBYFj.js.map +1 -0
  4. package/dist/{unpkg/dev/-private-Dtj8O5W7.js → -private-CmNOwhK0.js} +3 -1
  5. package/dist/{-private-Dtj8O5W7.js.map → -private-CmNOwhK0.js.map} +1 -1
  6. package/dist/{aliases-BWYW5EhX.d.ts → aliases-BQmAxXmb.d.ts} +4 -1
  7. package/dist/aliases-BQmAxXmb.d.ts.map +1 -0
  8. package/dist/{change-C7kqv2kW.d.ts → change-DClXcHvr.d.ts} +4 -2
  9. package/dist/change-DClXcHvr.d.ts.map +1 -0
  10. package/dist/{concepts-DFldVwEM.d.ts → concepts-DzuY5M1K.d.ts} +14 -5
  11. package/dist/concepts-DzuY5M1K.d.ts.map +1 -0
  12. package/dist/{configure-B_F639tN.d.ts → configure-CjsojjiI.d.ts} +7 -1
  13. package/dist/configure-CjsojjiI.d.ts.map +1 -0
  14. package/dist/configure.d.ts +1 -1
  15. package/dist/configure.js +1 -1
  16. package/dist/{document-Ca4ZZBd9.d.ts → document-Ni8Ns26t.d.ts} +22 -4
  17. package/dist/document-Ni8Ns26t.d.ts.map +1 -0
  18. package/dist/{error-0uD6GkNX.d.ts → error-APuUdUGk.d.ts} +4 -2
  19. package/dist/error-APuUdUGk.d.ts.map +1 -0
  20. package/dist/{fields-CnlWuUd5.d.ts → fields-D6173Q_a.d.ts} +126 -5
  21. package/dist/fields-D6173Q_a.d.ts.map +1 -0
  22. package/dist/graph/-private.d.ts +1 -1
  23. package/dist/graph/-private.js +2 -0
  24. package/dist/graph/-private.js.map +1 -1
  25. package/dist/{graph-DLqYXP2z.d.ts → graph-rjTyJ-gd.d.ts} +25 -5
  26. package/dist/graph-rjTyJ-gd.d.ts.map +1 -0
  27. package/dist/{identifier-DQnqOSJK.d.ts → identifier-B_tK3FUw.d.ts} +29 -4
  28. package/dist/identifier-B_tK3FUw.d.ts.map +1 -0
  29. package/dist/index.d.ts +1 -1
  30. package/dist/index.js +1 -1
  31. package/dist/{internal-DBnp5uP6.d.ts → internal-CgOlgOt3.d.ts} +496 -31
  32. package/dist/internal-CgOlgOt3.d.ts.map +1 -0
  33. package/dist/{json-api-raw-C5APJHHB.d.ts → json-api-raw-BxzNsCg0.d.ts} +44 -2
  34. package/dist/json-api-raw-BxzNsCg0.d.ts.map +1 -0
  35. package/dist/{mutations-CqtoGB4t.d.ts → mutations-C81gbYjB.d.ts} +18 -2
  36. package/dist/mutations-C81gbYjB.d.ts.map +1 -0
  37. package/dist/{operations-D1qA6r0_.d.ts → operations-B4pQM7D6.d.ts} +39 -5
  38. package/dist/operations-B4pQM7D6.d.ts.map +1 -0
  39. package/dist/{params-DrEx3bf8.d.ts → params-dbHiSOMF.d.ts} +11 -1
  40. package/dist/params-dbHiSOMF.d.ts.map +1 -0
  41. package/dist/{raw-D5hnjiq7.d.ts → raw-CiC64nCY.d.ts} +10 -1
  42. package/dist/raw-CiC64nCY.d.ts.map +1 -0
  43. package/dist/reactive/-private.d.ts +1 -1
  44. package/dist/reactive/-private.js +1 -1
  45. package/dist/reactive.d.ts +2 -2
  46. package/dist/reactive.js +3 -3
  47. package/dist/{record-D3QQcaIR.d.ts → record-DDxPtzcY.d.ts} +22 -2
  48. package/dist/record-DDxPtzcY.d.ts.map +1 -0
  49. package/dist/{relationship-CmHzMPKf.d.ts → relationship-BlGIXgj4.d.ts} +10 -3
  50. package/dist/relationship-BlGIXgj4.d.ts.map +1 -0
  51. package/dist/{request-Di274pQz.js → request-MiwUbGdT.js} +26 -1
  52. package/dist/request-MiwUbGdT.js.map +1 -0
  53. package/dist/request.d.ts +1 -1
  54. package/dist/request.js +1 -1
  55. package/dist/signals/-leaked.d.ts +86 -4
  56. package/dist/signals/-leaked.d.ts.map +1 -1
  57. package/dist/signals/-leaked.js +1 -1
  58. package/dist/{src-B9WcEdYg.js → src-DlNeupkA.js} +221 -20
  59. package/dist/src-DlNeupkA.js.map +1 -0
  60. package/dist/store/-private.d.ts +1 -1
  61. package/dist/store/-private.js +1 -1
  62. package/dist/{store-DNF9Rgoh.js → store-lcyaxrpj.js} +16 -1
  63. package/dist/store-lcyaxrpj.js.map +1 -0
  64. package/dist/store.d.ts +1 -1
  65. package/dist/store.js +1 -1
  66. package/dist/{symbols-DjRDCeX0.d.ts → symbols-Cu9un1NR.d.ts} +10 -1
  67. package/dist/symbols-Cu9un1NR.d.ts.map +1 -0
  68. package/dist/types/-private.js +1 -1
  69. package/dist/types/cache/aliases.d.ts +1 -1
  70. package/dist/types/cache/change.d.ts +1 -1
  71. package/dist/types/cache/mutations.d.ts +1 -1
  72. package/dist/types/cache/operations.d.ts +1 -1
  73. package/dist/types/cache/relationship.d.ts +1 -1
  74. package/dist/types/cache.d.ts +1 -1
  75. package/dist/types/graph.d.ts +1 -1
  76. package/dist/types/identifier.d.ts +1 -1
  77. package/dist/types/identifier.js +33 -3
  78. package/dist/types/identifier.js.map +1 -1
  79. package/dist/types/json/raw.d.ts +1 -1
  80. package/dist/types/params.d.ts +1 -1
  81. package/dist/types/record.d.ts +1 -1
  82. package/dist/types/record.js +25 -0
  83. package/dist/types/record.js.map +1 -1
  84. package/dist/types/request.d.ts +1 -1
  85. package/dist/types/request.js +80 -0
  86. package/dist/types/request.js.map +1 -1
  87. package/dist/types/runtime.d.ts.map +1 -1
  88. package/dist/types/schema/concepts.d.ts +1 -1
  89. package/dist/types/schema/fields.d.ts +1 -1
  90. package/dist/types/schema/fields.js +132 -3
  91. package/dist/types/schema/fields.js.map +1 -1
  92. package/dist/types/schema/schema-service.d.ts +1 -1
  93. package/dist/types/spec/document.d.ts +1 -1
  94. package/dist/types/spec/error.d.ts +1 -1
  95. package/dist/types/spec/json-api-raw.d.ts +1 -1
  96. package/dist/types/symbols.d.ts +1 -1
  97. package/dist/types/symbols.js +14 -0
  98. package/dist/types/symbols.js.map +1 -1
  99. package/dist/types/utils.d.ts +1 -1
  100. package/dist/types.d.ts +2 -2
  101. package/dist/unpkg/{dev-deprecated/-private-DrQgwtNS.js → dev/-private-BH4O810v.js} +508 -144
  102. package/dist/unpkg/dev/-private-BH4O810v.js.map +1 -0
  103. package/dist/{-private-Dtj8O5W7.js → unpkg/dev/-private-CmNOwhK0.js} +3 -1
  104. package/dist/unpkg/dev/{-private-Dtj8O5W7.js.map → -private-CmNOwhK0.js.map} +1 -1
  105. package/dist/unpkg/dev/configure.js +1 -1
  106. package/dist/unpkg/dev/graph/-private.js +2 -0
  107. package/dist/unpkg/dev/graph/-private.js.map +1 -1
  108. package/dist/unpkg/dev/index.js +1 -1
  109. package/dist/unpkg/dev/reactive/-private.js +1 -1
  110. package/dist/unpkg/dev/reactive.js +3 -3
  111. package/dist/unpkg/{dev-deprecated/request-nAaeDlS9.js → dev/request-Fe-vpe-u.js} +26 -1
  112. package/dist/unpkg/dev/request-Fe-vpe-u.js.map +1 -0
  113. package/dist/unpkg/dev/request.js +1 -1
  114. package/dist/unpkg/dev/signals/-leaked.js +1 -1
  115. package/dist/unpkg/dev/{src-CkkrRFE1.js → src-FSk0Z_Lp.js} +212 -13
  116. package/dist/unpkg/dev/src-FSk0Z_Lp.js.map +1 -0
  117. package/dist/unpkg/dev/store/-private.js +1 -1
  118. package/dist/unpkg/dev/{store-BIFNM_fB.js → store-BUV8Pfi7.js} +16 -1
  119. package/dist/unpkg/dev/store-BUV8Pfi7.js.map +1 -0
  120. package/dist/unpkg/dev/store.js +1 -1
  121. package/dist/unpkg/dev/types/-private.js +1 -1
  122. package/dist/unpkg/dev/types/identifier.js +33 -3
  123. package/dist/unpkg/dev/types/identifier.js.map +1 -1
  124. package/dist/unpkg/dev/types/record.js +25 -0
  125. package/dist/unpkg/dev/types/record.js.map +1 -1
  126. package/dist/unpkg/dev/types/request.js +80 -0
  127. package/dist/unpkg/dev/types/request.js.map +1 -1
  128. package/dist/unpkg/dev/types/schema/fields.js +132 -3
  129. package/dist/unpkg/dev/types/schema/fields.js.map +1 -1
  130. package/dist/unpkg/dev/types/symbols.js +14 -0
  131. package/dist/unpkg/dev/types/symbols.js.map +1 -1
  132. package/dist/unpkg/{dev/-private-DrQgwtNS.js → dev-deprecated/-private-BH4O810v.js} +508 -144
  133. package/dist/unpkg/dev-deprecated/-private-BH4O810v.js.map +1 -0
  134. package/dist/unpkg/{prod-deprecated/-private-Dtj8O5W7.js → dev-deprecated/-private-CmNOwhK0.js} +3 -1
  135. package/dist/unpkg/dev-deprecated/{-private-Dtj8O5W7.js.map → -private-CmNOwhK0.js.map} +1 -1
  136. package/dist/unpkg/dev-deprecated/configure.js +1 -1
  137. package/dist/unpkg/dev-deprecated/graph/-private.js +2 -0
  138. package/dist/unpkg/dev-deprecated/graph/-private.js.map +1 -1
  139. package/dist/unpkg/dev-deprecated/index.js +1 -1
  140. package/dist/unpkg/dev-deprecated/reactive/-private.js +1 -1
  141. package/dist/unpkg/dev-deprecated/reactive.js +3 -3
  142. package/dist/unpkg/{dev/request-nAaeDlS9.js → dev-deprecated/request-Fe-vpe-u.js} +26 -1
  143. package/dist/unpkg/dev-deprecated/request-Fe-vpe-u.js.map +1 -0
  144. package/dist/unpkg/dev-deprecated/request.js +1 -1
  145. package/dist/unpkg/dev-deprecated/signals/-leaked.js +1 -1
  146. package/dist/unpkg/dev-deprecated/{src-oz6OaQXu.js → src-Isk_Je7q.js} +214 -13
  147. package/dist/unpkg/dev-deprecated/src-Isk_Je7q.js.map +1 -0
  148. package/dist/unpkg/dev-deprecated/store/-private.js +1 -1
  149. package/dist/unpkg/dev-deprecated/{store-X1WN7P_O.js → store-CCZBSe0p.js} +16 -1
  150. package/dist/unpkg/dev-deprecated/store-CCZBSe0p.js.map +1 -0
  151. package/dist/unpkg/dev-deprecated/store.js +1 -1
  152. package/dist/unpkg/dev-deprecated/types/-private.js +1 -1
  153. package/dist/unpkg/dev-deprecated/types/identifier.js +33 -3
  154. package/dist/unpkg/dev-deprecated/types/identifier.js.map +1 -1
  155. package/dist/unpkg/dev-deprecated/types/record.js +25 -0
  156. package/dist/unpkg/dev-deprecated/types/record.js.map +1 -1
  157. package/dist/unpkg/dev-deprecated/types/request.js +80 -0
  158. package/dist/unpkg/dev-deprecated/types/request.js.map +1 -1
  159. package/dist/unpkg/dev-deprecated/types/schema/fields.js +132 -3
  160. package/dist/unpkg/dev-deprecated/types/schema/fields.js.map +1 -1
  161. package/dist/unpkg/dev-deprecated/types/symbols.js +14 -0
  162. package/dist/unpkg/dev-deprecated/types/symbols.js.map +1 -1
  163. package/dist/unpkg/prod/-private-CmNOwhK0.js +24 -0
  164. package/dist/unpkg/prod/{-private-Dtj8O5W7.js.map → -private-CmNOwhK0.js.map} +1 -1
  165. package/dist/unpkg/prod/{-private-Dg1vsF-H.js → -private-DKVDMUfT.js} +481 -138
  166. package/dist/unpkg/prod/-private-DKVDMUfT.js.map +1 -0
  167. package/dist/unpkg/prod/configure.js +1 -1
  168. package/dist/unpkg/prod/graph/-private.js +2 -0
  169. package/dist/unpkg/prod/graph/-private.js.map +1 -1
  170. package/dist/unpkg/prod/index.js +1 -1
  171. package/dist/unpkg/prod/reactive/-private.js +1 -1
  172. package/dist/unpkg/prod/reactive.js +3 -3
  173. package/dist/unpkg/prod/{request-DK7nNaAf.js → request-ndw2Fy91.js} +26 -1
  174. package/dist/unpkg/prod/request-ndw2Fy91.js.map +1 -0
  175. package/dist/unpkg/prod/request.js +1 -1
  176. package/dist/unpkg/prod/signals/-leaked.js +1 -1
  177. package/dist/unpkg/prod/{src-BGKCOL5L.js → src-CoSpuocQ.js} +212 -13
  178. package/dist/unpkg/prod/src-CoSpuocQ.js.map +1 -0
  179. package/dist/unpkg/prod/store/-private.js +1 -1
  180. package/dist/unpkg/{prod-deprecated/store-BWhmb7Ob.js → prod/store-CQOsqdST.js} +16 -1
  181. package/dist/unpkg/prod/store-CQOsqdST.js.map +1 -0
  182. package/dist/unpkg/prod/store.js +1 -1
  183. package/dist/unpkg/prod/types/-private.js +1 -1
  184. package/dist/unpkg/prod/types/identifier.js +33 -3
  185. package/dist/unpkg/prod/types/identifier.js.map +1 -1
  186. package/dist/unpkg/prod/types/record.js +25 -0
  187. package/dist/unpkg/prod/types/record.js.map +1 -1
  188. package/dist/unpkg/prod/types/request.js +80 -0
  189. package/dist/unpkg/prod/types/request.js.map +1 -1
  190. package/dist/unpkg/prod/types/schema/fields.js +132 -3
  191. package/dist/unpkg/prod/types/schema/fields.js.map +1 -1
  192. package/dist/unpkg/prod/types/symbols.js +14 -0
  193. package/dist/unpkg/prod/types/symbols.js.map +1 -1
  194. package/dist/unpkg/{dev-deprecated/-private-Dtj8O5W7.js → prod-deprecated/-private-CmNOwhK0.js} +3 -1
  195. package/dist/unpkg/prod-deprecated/{-private-Dtj8O5W7.js.map → -private-CmNOwhK0.js.map} +1 -1
  196. package/dist/unpkg/prod-deprecated/{-private-Dg1vsF-H.js → -private-DKVDMUfT.js} +481 -138
  197. package/dist/unpkg/prod-deprecated/-private-DKVDMUfT.js.map +1 -0
  198. package/dist/unpkg/prod-deprecated/configure.js +1 -1
  199. package/dist/unpkg/prod-deprecated/graph/-private.js +2 -0
  200. package/dist/unpkg/prod-deprecated/graph/-private.js.map +1 -1
  201. package/dist/unpkg/prod-deprecated/index.js +1 -1
  202. package/dist/unpkg/prod-deprecated/reactive/-private.js +1 -1
  203. package/dist/unpkg/prod-deprecated/reactive.js +3 -3
  204. package/dist/unpkg/prod-deprecated/{request-DK7nNaAf.js → request-ndw2Fy91.js} +26 -1
  205. package/dist/unpkg/prod-deprecated/request-ndw2Fy91.js.map +1 -0
  206. package/dist/unpkg/prod-deprecated/request.js +1 -1
  207. package/dist/unpkg/prod-deprecated/signals/-leaked.js +1 -1
  208. package/dist/unpkg/prod-deprecated/{src-CGypdIsf.js → src-FK_rMde5.js} +214 -13
  209. package/dist/unpkg/prod-deprecated/src-FK_rMde5.js.map +1 -0
  210. package/dist/unpkg/prod-deprecated/store/-private.js +1 -1
  211. package/dist/unpkg/{prod/store-BWhmb7Ob.js → prod-deprecated/store-CQOsqdST.js} +16 -1
  212. package/dist/unpkg/prod-deprecated/store-CQOsqdST.js.map +1 -0
  213. package/dist/unpkg/prod-deprecated/store.js +1 -1
  214. package/dist/unpkg/prod-deprecated/types/-private.js +1 -1
  215. package/dist/unpkg/prod-deprecated/types/identifier.js +33 -3
  216. package/dist/unpkg/prod-deprecated/types/identifier.js.map +1 -1
  217. package/dist/unpkg/prod-deprecated/types/record.js +25 -0
  218. package/dist/unpkg/prod-deprecated/types/record.js.map +1 -1
  219. package/dist/unpkg/prod-deprecated/types/request.js +80 -0
  220. package/dist/unpkg/prod-deprecated/types/request.js.map +1 -1
  221. package/dist/unpkg/prod-deprecated/types/schema/fields.js +132 -3
  222. package/dist/unpkg/prod-deprecated/types/schema/fields.js.map +1 -1
  223. package/dist/unpkg/prod-deprecated/types/symbols.js +14 -0
  224. package/dist/unpkg/prod-deprecated/types/symbols.js.map +1 -1
  225. package/dist/{utils-BtURiy8l.d.ts → utils-CNmQoKm8.d.ts} +8 -1
  226. package/dist/utils-CNmQoKm8.d.ts.map +1 -0
  227. package/package.json +5 -5
  228. package/dist/-private-CjK1Dmuh.js.map +0 -1
  229. package/dist/aliases-BWYW5EhX.d.ts.map +0 -1
  230. package/dist/change-C7kqv2kW.d.ts.map +0 -1
  231. package/dist/concepts-DFldVwEM.d.ts.map +0 -1
  232. package/dist/configure-B_F639tN.d.ts.map +0 -1
  233. package/dist/document-Ca4ZZBd9.d.ts.map +0 -1
  234. package/dist/error-0uD6GkNX.d.ts.map +0 -1
  235. package/dist/fields-CnlWuUd5.d.ts.map +0 -1
  236. package/dist/graph-DLqYXP2z.d.ts.map +0 -1
  237. package/dist/identifier-DQnqOSJK.d.ts.map +0 -1
  238. package/dist/internal-DBnp5uP6.d.ts.map +0 -1
  239. package/dist/json-api-raw-C5APJHHB.d.ts.map +0 -1
  240. package/dist/mutations-CqtoGB4t.d.ts.map +0 -1
  241. package/dist/operations-D1qA6r0_.d.ts.map +0 -1
  242. package/dist/params-DrEx3bf8.d.ts.map +0 -1
  243. package/dist/raw-D5hnjiq7.d.ts.map +0 -1
  244. package/dist/record-D3QQcaIR.d.ts.map +0 -1
  245. package/dist/relationship-CmHzMPKf.d.ts.map +0 -1
  246. package/dist/request-Di274pQz.js.map +0 -1
  247. package/dist/src-B9WcEdYg.js.map +0 -1
  248. package/dist/store-DNF9Rgoh.js.map +0 -1
  249. package/dist/symbols-DjRDCeX0.d.ts.map +0 -1
  250. package/dist/unpkg/dev/-private-DrQgwtNS.js.map +0 -1
  251. package/dist/unpkg/dev/request-nAaeDlS9.js.map +0 -1
  252. package/dist/unpkg/dev/src-CkkrRFE1.js.map +0 -1
  253. package/dist/unpkg/dev/store-BIFNM_fB.js.map +0 -1
  254. package/dist/unpkg/dev-deprecated/-private-DrQgwtNS.js.map +0 -1
  255. package/dist/unpkg/dev-deprecated/request-nAaeDlS9.js.map +0 -1
  256. package/dist/unpkg/dev-deprecated/src-oz6OaQXu.js.map +0 -1
  257. package/dist/unpkg/dev-deprecated/store-X1WN7P_O.js.map +0 -1
  258. package/dist/unpkg/prod/-private-Dg1vsF-H.js.map +0 -1
  259. package/dist/unpkg/prod/-private-Dtj8O5W7.js +0 -22
  260. package/dist/unpkg/prod/request-DK7nNaAf.js.map +0 -1
  261. package/dist/unpkg/prod/src-BGKCOL5L.js.map +0 -1
  262. package/dist/unpkg/prod/store-BWhmb7Ob.js.map +0 -1
  263. package/dist/unpkg/prod-deprecated/-private-Dg1vsF-H.js.map +0 -1
  264. package/dist/unpkg/prod-deprecated/request-DK7nNaAf.js.map +0 -1
  265. package/dist/unpkg/prod-deprecated/src-CGypdIsf.js.map +0 -1
  266. package/dist/unpkg/prod-deprecated/store-BWhmb7Ob.js.map +0 -1
  267. package/dist/utils-BtURiy8l.d.ts.map +0 -1
@@ -1,12 +1,14 @@
1
- import { l as ResourceKey } from "./identifier-DQnqOSJK.js";
2
- import { b as SingleResourceRelationship, n as CollectionResourceRelationship } from "./json-api-raw-C5APJHHB.js";
3
- import { r as RemoveFromResourceRelationshipMutation, t as AddToResourceRelationshipMutation } from "./mutations-CqtoGB4t.js";
4
- import { l as RemoveFromResourceRelationshipOperation, p as UpdateResourceRelationshipOperation, r as AddToResourceRelationshipOperation } from "./operations-D1qA6r0_.js";
1
+ import { l as ResourceKey } from "./identifier-B_tK3FUw.js";
2
+ import { b as SingleResourceRelationship, n as CollectionResourceRelationship } from "./json-api-raw-BxzNsCg0.js";
3
+ import { r as RemoveFromResourceRelationshipMutation, t as AddToResourceRelationshipMutation } from "./mutations-C81gbYjB.js";
4
+ import { l as RemoveFromResourceRelationshipOperation, p as UpdateResourceRelationshipOperation, r as AddToResourceRelationshipOperation } from "./operations-B4pQM7D6.js";
5
5
  //#region src/types/graph.d.ts
6
6
  /**
7
7
  * All Graph operations are objects with at least one property,
8
8
  * `op`, which contains a string with the name of the operation
9
9
  * to perform.
10
+ *
11
+ * @summary Base shape of every relationship Graph operation, carrying the operation's name in `op`.
10
12
  */
11
13
  interface Operation {
12
14
  /**
@@ -16,6 +18,8 @@ interface Operation {
16
18
  }
17
19
  /**
18
20
  * Replaces the state of a relationship on the Graph with a new state.
21
+ *
22
+ * @summary Graph operation that replaces a relationship's remote state with a raw JSON:API relationship object.
19
23
  */
20
24
  interface UpdateRelationshipOperation {
21
25
  /**
@@ -38,6 +42,9 @@ interface UpdateRelationshipOperation {
38
42
  /**
39
43
  * Signals to the Graph that a resource has been deleted, so that
40
44
  * it can be removed from any relationships that reference it.
45
+ *
46
+ * @summary Graph operation signaling that a resource was deleted so it is removed from every relationship that
47
+ * references it.
41
48
  */
42
49
  interface DeleteRecordOperation {
43
50
  /**
@@ -56,6 +63,9 @@ interface DeleteRecordOperation {
56
63
  /**
57
64
  * A placeholder operation for a relationship whose kind (`to-one` vs
58
65
  * `to-many`) is not yet known to the Graph.
66
+ *
67
+ * @summary Placeholder Graph operation, with `op: 'never'`, for a relationship whose to-one or to-many kind is not
68
+ * yet known.
59
69
  */
60
70
  interface UnknownOperation {
61
71
  /**
@@ -73,6 +83,8 @@ interface UnknownOperation {
73
83
  }
74
84
  /**
75
85
  * Replaces the state of a `to-one` relationship on the Graph with a new value.
86
+ *
87
+ * @summary Graph operation that sets a to-one relationship's value, or swaps a single member of a to-many.
76
88
  */
77
89
  interface ReplaceRelatedRecordOperation {
78
90
  /**
@@ -103,6 +115,8 @@ interface ReplaceRelatedRecordOperation {
103
115
  }
104
116
  /**
105
117
  * Reorders the state of a `to-many` relationship on the Graph.
118
+ *
119
+ * @summary Graph operation that reorders the members of a to-many relationship.
106
120
  */
107
121
  interface SortRelatedRecords {
108
122
  /**
@@ -125,6 +139,8 @@ interface SortRelatedRecords {
125
139
  /**
126
140
  * Replaces the state of a `to-many` relationship on the Graph with a
127
141
  * new set of values.
142
+ *
143
+ * @summary Graph operation that replaces or splices the members of a to-many relationship.
128
144
  */
129
145
  interface ReplaceRelatedRecordsOperation {
130
146
  /**
@@ -167,6 +183,8 @@ interface ReplaceRelatedRecordsOperation {
167
183
  * - {@link AddResourceOperation}
168
184
  * - {@link DeleteRecordOperation}
169
185
  * - {@link SortRelatedRecords}
186
+ *
187
+ * @summary Union of the Graph operations that update a relationship's remote (persisted) state.
170
188
  */
171
189
  type RemoteRelationshipOperation = UpdateResourceRelationshipOperation | UpdateRelationshipOperation | ReplaceRelatedRecordOperation | ReplaceRelatedRecordsOperation | RemoveFromResourceRelationshipOperation | AddToResourceRelationshipOperation | DeleteRecordOperation | SortRelatedRecords;
172
190
  /**
@@ -179,8 +197,10 @@ type RemoteRelationshipOperation = UpdateResourceRelationshipOperation | UpdateR
179
197
  * - {@link AddResourceMutation}
180
198
  * - {@link RemoveResourceMutation}
181
199
  * - {@link SortRelatedRecords}
200
+ *
201
+ * @summary Union of the Graph operations that update a relationship's local (uncommitted) state.
182
202
  */
183
203
  type LocalRelationshipOperation = ReplaceRelatedRecordsOperation | ReplaceRelatedRecordOperation | AddToResourceRelationshipMutation | RemoveFromResourceRelationshipMutation | SortRelatedRecords;
184
204
  //#endregion
185
205
  export { ReplaceRelatedRecordOperation as a, UnknownOperation as c, RemoteRelationshipOperation as i, UpdateRelationshipOperation as l, LocalRelationshipOperation as n, ReplaceRelatedRecordsOperation as o, Operation as r, SortRelatedRecords as s, DeleteRecordOperation as t };
186
- //# sourceMappingURL=graph-DLqYXP2z.d.ts.map
206
+ //# sourceMappingURL=graph-rjTyJ-gd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-rjTyJ-gd.d.ts","names":["RemoveResourceOperation","AddResourceOperation","AddResourceMutation","RemoveResourceMutation"],"sources":["../src/types/graph.ts"],"mappings":";;;;;;;;;;;;UAyBiB;;;;EAIf;;;;;;;UAQe;;;;EAIf;;;;EAIA,QAAQ;;;;EAIR;;;;EAIA,OAAO,6BAA6B;;;;;;;;;UAUrB;;;;EAIf;;;;EAIA,QAAQ;;;;EAIR;;;;;;;;;UAUe;;;;EAIf;;;;EAIA,QAAQ;;;;EAIR;;;;;;;UAQe;;;;EAIf;;;;EAIA,QAAQ;;;;EAIR;;;;;EAKA,OAAO;;;;EAIP,QAAQ;;;;EAIR;;;;;;;UAQe;;;;EAIf;;;;EAIA,QAAQ;;;;EAIR;;;;EAIA,OAAO;;;;;;;;UASQ;;;;EAIf;;;;EAIA,QAAQ;;;;EAIR;;;;;;EAMA,OAAO;;;;EAIP,QAAQ;;;;EAIR;;;;;;;;;;;;;;;;;;KAmBU,8BACR,sCACA,8BACA,gCACA,iCACAA,0CACAC,qCACA,wBACA;;;;;;;;;;;;;;KAeQ,6BACR,iCACA,gCACAC,oCACAC,yCACA"}
@@ -19,6 +19,8 @@ declare const CACHE_OWNER: "__$co";
19
19
  * Identifies which "bucket" of the cache a key belongs to: resources
20
20
  * (`'record'`, see {@link ResourceKey}) or request documents
21
21
  * (`'document'`, see {@link RequestKey}).
22
+ *
23
+ * @summary Which cache bucket a key belongs to: `'record'` for resource keys or `'document'` for request keys.
22
24
  */
23
25
  type CacheKeyType = "record" | "document";
24
26
  /**
@@ -28,6 +30,11 @@ type CacheKeyType = "record" | "document";
28
30
  * Only requests that are assigned a RequestKey are retrievable/replayable from
29
31
  * the cache, though requests without RequestKeys may still update cache state.
30
32
  *
33
+ * The [Key Terminology](/guides/the-manual/caching/key-terms#documents) guide explains
34
+ * the documents it identifies.
35
+ *
36
+ * @summary Stable object with a unique `lid` that references a cached request document, letting that request's
37
+ * result be retrieved or replayed.
31
38
  * @public
32
39
  */
33
40
  interface RequestKey {
@@ -40,7 +47,10 @@ interface RequestKey {
40
47
  */
41
48
  type: "@document";
42
49
  }
43
- /** @deprecated use {@link RequestKey} */
50
+ /**
51
+ * @summary Deprecated alias for `RequestKey`, the stable cache reference to a request document.
52
+ * @deprecated use {@link RequestKey}
53
+ */
44
54
  type StableDocumentIdentifier = RequestKey;
45
55
  /**
46
56
  * Used when an ResourceKey is known to be the stable version
@@ -66,6 +76,8 @@ interface ResourceKeyBase<T extends string = string> {
66
76
  * Distinguishing between this ResourceKey and one for a client created
67
77
  * resource that was created with an ID is generally speaking not possible
68
78
  * at runtime, so anything with an ID typically narrows to this.
79
+ *
80
+ * @summary Resource key whose `id` is a known string, the form keys for server-loaded resources take.
69
81
  */
70
82
  interface PersistedResourceKey<T extends string = string> extends ResourceKeyBase<T> {
71
83
  /**
@@ -75,7 +87,10 @@ interface PersistedResourceKey<T extends string = string> extends ResourceKeyBas
75
87
  */
76
88
  id: string;
77
89
  }
78
- /** @deprecated use {@link PersistedResourceKey} */
90
+ /**
91
+ * @summary Deprecated alias for `PersistedResourceKey`, a resource key whose `id` is known.
92
+ * @deprecated use {@link PersistedResourceKey}
93
+ */
79
94
  type StableExistingRecordIdentifier<T extends string = string> = PersistedResourceKey<T>;
80
95
  /**
81
96
  * Used when a ResourceKey was created locally
@@ -85,6 +100,8 @@ type StableExistingRecordIdentifier<T extends string = string> = PersistedResour
85
100
  * that is not for a new record but does not have an ID. This would
86
101
  * happen if a user intentionally created one for use with a secondary-index
87
102
  * prior to the record having been fully loaded.
103
+ *
104
+ * @summary Resource key for a record created locally with `store.createRecord`, whose `id` may still be `null`.
88
105
  */
89
106
  interface NewResourceKey<T extends string = string> extends ResourceKeyBase<T> {
90
107
  /**
@@ -102,11 +119,19 @@ interface NewResourceKey<T extends string = string> extends ResourceKeyBase<T> {
102
119
  * Every resource has a unique ResourceKey, and ResourceKeys may refer
103
120
  * to data that has never been loaded (for instance, in an async relationship).
104
121
  *
122
+ * The [Key Terminology](/guides/the-manual/caching/key-terms#resources) guide explains
123
+ * the resources it identifies.
124
+ *
125
+ * @summary Stable object with a unique `lid` plus `type` and `id` that uniquely references one resource's data in
126
+ * the cache, loaded or not.
105
127
  * @public
106
128
  */
107
129
  type ResourceKey<T extends string = string> = PersistedResourceKey<T> | NewResourceKey<T>;
108
- /** @deprecated use {@link ResourceKey} */
130
+ /**
131
+ * @summary Deprecated alias for `ResourceKey`, the stable cache reference to a single resource.
132
+ * @deprecated use {@link ResourceKey}
133
+ */
109
134
  type StableRecordIdentifier<T extends string = string> = ResourceKey<T>;
110
135
  //#endregion
111
136
  export { DEBUG_STALE_CACHE_OWNER as a, RequestKey as c, StableExistingRecordIdentifier as d, StableRecordIdentifier as f, DEBUG_KEY_TYPE as i, ResourceKey as l, CacheKeyType as n, NewResourceKey as o, DEBUG_CLIENT_ORIGINATED as r, PersistedResourceKey as s, CACHE_OWNER as t, StableDocumentIdentifier as u };
112
- //# sourceMappingURL=identifier-DQnqOSJK.d.ts.map
137
+ //# sourceMappingURL=identifier-B_tK3FUw.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identifier-B_tK3FUw.d.ts","names":[],"sources":["../src/types/identifier.ts"],"mappings":";;;;cAYa;;;;cAIA;;;;cAIA;;;;cAUA;;;;;;;;KASD;;;;;;;;;;;;;;;UAgBK;;;;EAIf;;;;EAIA;;;;;;KASU,2BAA2B;;;;UAK7B,gBAAgB;;;;;;EAMxB;;;;;;EAOA,MAAM;;;;;;;;;;;;UAqBS,qBAAqB,mCAAmC,gBAAgB;;;;;;EAMvF;;;;;;KAOU,+BAA+B,6BAA6B,qBAAqB;;;;;;;;;;;;UAa5E,eAAe,mCAAmC,gBAAgB;;;;;;;EAOjF;;;;;;;;;;;;;;;;KAiBU,YAAY,6BAA6B,qBAAqB,KAAK,eAAe;;;;;KAMlF,uBAAuB,6BAA6B,YAAY"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { D as StoreSetupOptions, Dt as CacheHandler, E as Document, Et as CachePolicy, N as Fetch, O as useRecommendedStore, Ot as StoreRequestContext, Qt as NotificationChannel, T as ConfiguredStore, X as Store, Xt as CacheOperation, Zt as DocumentCacheOperation, bt as storeFor, cn as setIdentifierResetMethod, en as NotificationType, kt as StoreRequestInput, ln as setIdentifierUpdateMethod, lr as RequestManager, on as setIdentifierForgetMethod, sn as setIdentifierGenerationMethod, tn as NotifyKeys, un as setKeyInfoForResource, vt as recordIdentifierFor } from "./internal-DBnp5uP6.js";
1
+ import { A as Document, At as CachePolicy, L as Fetch, M as useRecommendedStore, Mt as StoreRequestContext, Nt as StoreRequestInput, St as recordIdentifierFor, an as NotifyKeys, dn as setIdentifierGenerationMethod, en as CacheOperation, et as Store, fn as setIdentifierResetMethod, in as NotificationType, j as StoreSetupOptions, jt as CacheHandler, k as ConfiguredStore, mn as setKeyInfoForResource, nn as NotificationChannel, pn as setIdentifierUpdateMethod, pr as RequestManager, tn as DocumentCacheOperation, un as setIdentifierForgetMethod, wt as storeFor } from "./internal-CgOlgOt3.js";
2
2
  export { CacheHandler, type CacheOperation, type CachePolicy, ConfiguredStore, Document, type DocumentCacheOperation, Fetch, type NotificationChannel, type NotificationType, type NotifyKeys, RequestManager, Store, type StoreRequestContext, type StoreRequestInput, StoreSetupOptions, recordIdentifierFor as cacheKeyFor, recordIdentifierFor, setIdentifierForgetMethod, setIdentifierGenerationMethod, setIdentifierResetMethod, setIdentifierUpdateMethod, setKeyInfoForResource, storeFor, useRecommendedStore };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { A as setIdentifierGenerationMethod, M as setIdentifierUpdateMethod, N as setKeyInfoForResource, S as recordIdentifierFor, h as Store, j as setIdentifierResetMethod, k as setIdentifierForgetMethod, m as CacheHandler, n as RequestManager, r as Fetch, t as useRecommendedStore, w as storeFor } from "./src-B9WcEdYg.js";
1
+ import { A as setIdentifierGenerationMethod, M as setIdentifierUpdateMethod, N as setKeyInfoForResource, S as recordIdentifierFor, h as Store, j as setIdentifierResetMethod, k as setIdentifierForgetMethod, m as CacheHandler, n as RequestManager, r as Fetch, t as useRecommendedStore, w as storeFor } from "./src-DlNeupkA.js";
2
2
 
3
3
  export { CacheHandler, Fetch, RequestManager, Store, recordIdentifierFor as cacheKeyFor, recordIdentifierFor, setIdentifierForgetMethod, setIdentifierGenerationMethod, setIdentifierResetMethod, setIdentifierUpdateMethod, setKeyInfoForResource, storeFor, useRecommendedStore };