@dialecte/core 0.8.1 → 0.9.0

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 (281) hide show
  1. package/dist/assets/hub.worker-35vzG0HK.js +2 -0
  2. package/dist/dialecte/create-dialecte-project.d.ts +1 -2
  3. package/dist/dialecte/create-dialecte-project.d.ts.map +1 -1
  4. package/dist/dialecte/create-project-factory.d.ts +5 -5
  5. package/dist/dialecte/create-project-factory.d.ts.map +1 -1
  6. package/dist/dialecte/define-dialecte.d.ts +2 -2
  7. package/dist/dialecte/dialecte.types.d.ts +11 -23
  8. package/dist/dialecte/dialecte.types.d.ts.map +1 -1
  9. package/dist/{dialecte-gIPrRzni.js → dialecte-oAXwOG-Q.js} +1182 -1203
  10. package/dist/document/document.d.ts +1 -1
  11. package/dist/{engine-store-CIEqgPUb.js → engine-store-Deo9XNhr.js} +21 -21
  12. package/dist/engine.constants-Bi4gw6BR.js +205 -0
  13. package/dist/errors/{codes.d.ts → codes.constants.d.ts} +33 -105
  14. package/dist/errors/{codes.d.ts.map → codes.constants.d.ts.map} +1 -1
  15. package/dist/errors/core-codes.constants.d.ts +3 -0
  16. package/dist/errors/core-codes.constants.d.ts.map +1 -0
  17. package/dist/errors/errors.constants.d.ts +5 -0
  18. package/dist/errors/errors.constants.d.ts.map +1 -1
  19. package/dist/errors/errors.d.ts.map +1 -1
  20. package/dist/errors/index.d.ts +1 -1
  21. package/dist/errors/index.d.ts.map +1 -1
  22. package/dist/errors/types.d.ts +1 -1
  23. package/dist/errors/types.d.ts.map +1 -1
  24. package/dist/{helpers-DVShv41E.js → helpers-D8p0KiJu.js} +1 -1
  25. package/dist/helpers.js +2 -2
  26. package/dist/{in-process-link-DBeAOZRp.js → in-process-link-B-TCHrlb.js} +996 -993
  27. package/dist/index.js +8 -7
  28. package/dist/project/index.d.ts +1 -1
  29. package/dist/project/index.d.ts.map +1 -1
  30. package/dist/project/io/store-runtime.types.d.ts +1 -3
  31. package/dist/project/io/store-runtime.types.d.ts.map +1 -1
  32. package/dist/project/project.d.ts +13 -15
  33. package/dist/project/project.d.ts.map +1 -1
  34. package/dist/project/types.d.ts +24 -19
  35. package/dist/project/types.d.ts.map +1 -1
  36. package/dist/{project-key-Ch34EtFa.js → project-key-2ccZ-0gu.js} +195 -205
  37. package/dist/running-operations-DCKvzlU7.js +107 -0
  38. package/dist/{same-json-value-C6kUaoyt.js → same-json-value-_AChwM_n.js} +41 -41
  39. package/dist/sqlite-engine.d.ts +7 -0
  40. package/dist/sqlite-engine.d.ts.map +1 -0
  41. package/dist/{engine.js → sqlite-engine.js} +4136 -4075
  42. package/dist/sqlite.d.ts +27 -2
  43. package/dist/sqlite.d.ts.map +1 -1
  44. package/dist/sqlite.js +1118 -917
  45. package/dist/store/in-memory/in-memory-state.constants.d.ts +14 -0
  46. package/dist/store/in-memory/in-memory-state.constants.d.ts.map +1 -0
  47. package/dist/store/in-memory/in-memory-state.d.ts +0 -4
  48. package/dist/store/in-memory/in-memory-state.d.ts.map +1 -1
  49. package/dist/store/in-memory/in-memory-store.d.ts.map +1 -1
  50. package/dist/store/in-memory/types.d.ts +1 -2
  51. package/dist/store/in-memory/types.d.ts.map +1 -1
  52. package/dist/store/index.d.ts +2 -1
  53. package/dist/store/index.d.ts.map +1 -1
  54. package/dist/store/lost-write.d.ts +8 -8
  55. package/dist/store/lost-write.d.ts.map +1 -1
  56. package/dist/store/lost-write.types.d.ts +1 -1
  57. package/dist/store/lost-write.types.d.ts.map +1 -1
  58. package/dist/store/{engine/project-key.d.ts → project-key.d.ts} +0 -5
  59. package/dist/store/project-key.d.ts.map +1 -0
  60. package/dist/store/resolve-store.d.ts +6 -18
  61. package/dist/store/resolve-store.d.ts.map +1 -1
  62. package/dist/store/sqlite/adapter/in-process-link.constants.d.ts +12 -0
  63. package/dist/store/sqlite/adapter/in-process-link.constants.d.ts.map +1 -0
  64. package/dist/store/sqlite/adapter/in-process-link.d.ts +1 -1
  65. package/dist/store/sqlite/adapter/in-process-link.d.ts.map +1 -1
  66. package/dist/store/sqlite/adapter/sqlite-connector.d.ts +12 -11
  67. package/dist/store/sqlite/adapter/sqlite-connector.d.ts.map +1 -1
  68. package/dist/store/sqlite/adapter/sqlite-connector.types.d.ts +7 -0
  69. package/dist/store/sqlite/adapter/sqlite-connector.types.d.ts.map +1 -0
  70. package/dist/store/sqlite/adapter/sqlite-hub-spawner.d.ts +8 -3
  71. package/dist/store/sqlite/adapter/sqlite-hub-spawner.d.ts.map +1 -1
  72. package/dist/store/sqlite/adapter/sqlite-hub-spawner.types.d.ts +12 -1
  73. package/dist/store/sqlite/adapter/sqlite-hub-spawner.types.d.ts.map +1 -1
  74. package/dist/store/sqlite/adapter/sqlite-worker-connector.d.ts +2 -2
  75. package/dist/store/sqlite/adapter/sqlite-worker-connector.d.ts.map +1 -1
  76. package/dist/store/sqlite/adapter/sqlite-worker-connector.types.d.ts +1 -1
  77. package/dist/store/sqlite/adapter/sqlite-worker-connector.types.d.ts.map +1 -1
  78. package/dist/store/sqlite/engine/engine.types.d.ts +2 -2
  79. package/dist/store/sqlite/engine/engine.types.d.ts.map +1 -1
  80. package/dist/store/sqlite/engine/schema.d.ts.map +1 -1
  81. package/dist/store/sqlite/engine/sqlite-engine.d.ts.map +1 -1
  82. package/dist/store/{hub-public.d.ts → sqlite/hub-public.d.ts} +9 -9
  83. package/dist/store/sqlite/hub-public.d.ts.map +1 -0
  84. package/dist/store/sqlite/packaging/engine-packaging.constants.d.ts +15 -0
  85. package/dist/store/sqlite/packaging/engine-packaging.constants.d.ts.map +1 -0
  86. package/dist/store/sqlite/runtime/engine-control-loop.d.ts +11 -0
  87. package/dist/store/sqlite/runtime/engine-control-loop.d.ts.map +1 -0
  88. package/dist/store/sqlite/runtime/install-pool.d.ts +1 -1
  89. package/dist/store/sqlite/runtime/install-pool.d.ts.map +1 -1
  90. package/dist/store/sqlite/runtime/progress-beat.d.ts +1 -1
  91. package/dist/store/sqlite/runtime/progress-beat.d.ts.map +1 -1
  92. package/dist/store/sqlite/runtime/runtime.types.d.ts +4 -2
  93. package/dist/store/sqlite/runtime/runtime.types.d.ts.map +1 -1
  94. package/dist/store/sqlite/runtime/serve-sqlite-engine.d.ts +9 -0
  95. package/dist/store/sqlite/runtime/serve-sqlite-engine.d.ts.map +1 -0
  96. package/dist/store/sqlite/runtime/serve-sqlite-engine.types.d.ts +27 -0
  97. package/dist/store/sqlite/runtime/serve-sqlite-engine.types.d.ts.map +1 -0
  98. package/dist/store/sqlite/served/client/check-engine-wire.d.ts.map +1 -0
  99. package/dist/store/{engine → sqlite/served}/client/client.constants.d.ts +3 -3
  100. package/dist/store/sqlite/served/client/client.constants.d.ts.map +1 -0
  101. package/dist/store/{engine → sqlite/served}/client/client.types.d.ts +13 -8
  102. package/dist/store/sqlite/served/client/client.types.d.ts.map +1 -0
  103. package/dist/store/{engine → sqlite/served}/client/engine-client.d.ts +1 -1
  104. package/dist/store/sqlite/served/client/engine-client.d.ts.map +1 -0
  105. package/dist/store/sqlite/served/client/engine-control.d.ts.map +1 -0
  106. package/dist/store/sqlite/served/client/heartbeat-watch.d.ts.map +1 -0
  107. package/dist/store/{engine → sqlite/served}/client/hub-connector.d.ts +1 -1
  108. package/dist/store/sqlite/served/client/hub-connector.d.ts.map +1 -0
  109. package/dist/store/{engine → sqlite/served}/client/hub-connector.types.d.ts +6 -7
  110. package/dist/store/sqlite/served/client/hub-connector.types.d.ts.map +1 -0
  111. package/dist/store/sqlite/served/client/worker-connector.d.ts.map +1 -0
  112. package/dist/store/sqlite/served/creation-refusal.d.ts.map +1 -0
  113. package/dist/store/sqlite/served/dialecte-refusal.d.ts +19 -0
  114. package/dist/store/sqlite/served/dialecte-refusal.d.ts.map +1 -0
  115. package/dist/store/sqlite/served/engine-lock.d.ts +6 -0
  116. package/dist/store/sqlite/served/engine-lock.d.ts.map +1 -0
  117. package/dist/store/sqlite/served/engine-store.constants.d.ts +3 -0
  118. package/dist/store/sqlite/served/engine-store.constants.d.ts.map +1 -0
  119. package/dist/store/{engine → sqlite/served}/engine-store.d.ts +6 -6
  120. package/dist/store/sqlite/served/engine-store.d.ts.map +1 -0
  121. package/dist/store/sqlite/served/engine-store.types.d.ts.map +1 -0
  122. package/dist/store/sqlite/served/engine.constants.d.ts.map +1 -0
  123. package/dist/store/{engine → sqlite/served}/engine.types.d.ts +2 -4
  124. package/dist/store/sqlite/served/engine.types.d.ts.map +1 -0
  125. package/dist/store/sqlite/served/host/changed.d.ts +5 -0
  126. package/dist/store/sqlite/served/host/changed.d.ts.map +1 -0
  127. package/dist/store/sqlite/served/host/engine-wire.d.ts.map +1 -0
  128. package/dist/store/{engine → sqlite/served}/host/heartbeat.d.ts +1 -1
  129. package/dist/store/sqlite/served/host/heartbeat.d.ts.map +1 -0
  130. package/dist/store/sqlite/served/host/host.constants.d.ts.map +1 -0
  131. package/dist/store/{engine → sqlite/served}/host/host.types.d.ts +4 -3
  132. package/dist/store/sqlite/served/host/host.types.d.ts.map +1 -0
  133. package/dist/store/sqlite/served/host/store-events.constants.d.ts +9 -0
  134. package/dist/store/sqlite/served/host/store-events.constants.d.ts.map +1 -0
  135. package/dist/store/sqlite/served/host/store-events.d.ts.map +1 -0
  136. package/dist/store/sqlite/served/hub/hub-client.constants.d.ts.map +1 -0
  137. package/dist/store/sqlite/served/hub/hub-client.d.ts.map +1 -0
  138. package/dist/store/{engine → sqlite/served}/hub/hub-client.types.d.ts +2 -9
  139. package/dist/store/sqlite/served/hub/hub-client.types.d.ts.map +1 -0
  140. package/dist/store/sqlite/served/hub/hub-protocol.types.d.ts.map +1 -0
  141. package/dist/store/sqlite/served/hub/hub-router.d.ts.map +1 -0
  142. package/dist/store/sqlite/served/hub/hub-shell.d.ts.map +1 -0
  143. package/dist/store/sqlite/served/hub/hub-shell.types.d.ts.map +1 -0
  144. package/dist/store/{engine → sqlite/served}/hub/hub.constants.d.ts +3 -3
  145. package/dist/store/sqlite/served/hub/hub.constants.d.ts.map +1 -0
  146. package/dist/store/{engine → sqlite/served}/hub/hub.types.d.ts +2 -2
  147. package/dist/store/sqlite/served/hub/hub.types.d.ts.map +1 -0
  148. package/dist/store/sqlite/served/hub/hub.worker.d.ts.map +1 -0
  149. package/dist/store/sqlite/served/hub/realm-host.d.ts.map +1 -0
  150. package/dist/store/{engine → sqlite/served}/hub/realm-host.types.d.ts +3 -3
  151. package/dist/store/sqlite/served/hub/realm-host.types.d.ts.map +1 -0
  152. package/dist/store/sqlite/served/wire/error-envelope.d.ts.map +1 -0
  153. package/dist/store/sqlite/served/wire/wire-values.d.ts.map +1 -0
  154. package/dist/store/sqlite/served/wire/wire.constants.d.ts.map +1 -0
  155. package/dist/store/{engine → sqlite/served}/wire/wire.types.d.ts +1 -1
  156. package/dist/store/sqlite/served/wire/wire.types.d.ts.map +1 -0
  157. package/dist/store/sqlite/sqlite-connector-params.d.ts +13 -0
  158. package/dist/store/sqlite/sqlite-connector-params.d.ts.map +1 -0
  159. package/dist/store/sqlite/sqlite-engine-registration.d.ts +30 -0
  160. package/dist/store/sqlite/sqlite-engine-registration.d.ts.map +1 -0
  161. package/dist/store/sqlite/sqlite-error-entry.d.ts +10 -0
  162. package/dist/store/sqlite/sqlite-error-entry.d.ts.map +1 -0
  163. package/dist/store/sqlite/sqlite-errors.constants.d.ts +110 -0
  164. package/dist/store/sqlite/sqlite-errors.constants.d.ts.map +1 -0
  165. package/dist/store/sqlite/sqlite-errors.types.d.ts +7 -0
  166. package/dist/store/sqlite/sqlite-errors.types.d.ts.map +1 -0
  167. package/dist/store/sqlite/sqlite-storage-kind.constants.d.ts +10 -0
  168. package/dist/store/sqlite/sqlite-storage-kind.constants.d.ts.map +1 -0
  169. package/dist/store/sqlite/sqlite-storage-kind.d.ts +3 -0
  170. package/dist/store/sqlite/sqlite-storage-kind.d.ts.map +1 -0
  171. package/dist/store/sqlite/sqlite-storage.constants.d.ts +24 -0
  172. package/dist/store/sqlite/sqlite-storage.constants.d.ts.map +1 -0
  173. package/dist/store/sqlite/sqlite-storage.types.d.ts +27 -0
  174. package/dist/store/sqlite/sqlite-storage.types.d.ts.map +1 -0
  175. package/dist/store/sqlite/sqlite-store-of.d.ts +8 -3
  176. package/dist/store/sqlite/sqlite-store-of.d.ts.map +1 -1
  177. package/dist/store/storage-kinds.constants.d.ts +16 -0
  178. package/dist/store/storage-kinds.constants.d.ts.map +1 -0
  179. package/dist/store/storage-kinds.d.ts +43 -0
  180. package/dist/store/storage-kinds.d.ts.map +1 -0
  181. package/dist/store/storage-kinds.types.d.ts +46 -0
  182. package/dist/store/storage-kinds.types.d.ts.map +1 -0
  183. package/dist/store/store.types.d.ts +6 -4
  184. package/dist/store/store.types.d.ts.map +1 -1
  185. package/dist/test/create-test-dialecte.constants.d.ts +4 -0
  186. package/dist/test/create-test-dialecte.constants.d.ts.map +1 -0
  187. package/dist/test/create-test-dialecte.d.ts.map +1 -1
  188. package/dist/test/test-storage/index.d.ts +1 -1
  189. package/dist/test/test-storage/index.d.ts.map +1 -1
  190. package/dist/test/test-storage/sqlite-test-store.d.ts +15 -0
  191. package/dist/test/test-storage/sqlite-test-store.d.ts.map +1 -0
  192. package/dist/test/test-storage/test-storage.types.d.ts +12 -0
  193. package/dist/test/test-storage/test-storage.types.d.ts.map +1 -1
  194. package/dist/test/test-storage/test-store-for.d.ts +18 -6
  195. package/dist/test/test-storage/test-store-for.d.ts.map +1 -1
  196. package/dist/test/test-storage/test-store-providers.constants.d.ts +8 -0
  197. package/dist/test/test-storage/test-store-providers.constants.d.ts.map +1 -0
  198. package/dist/test/test-storage/test-store-providers.d.ts +11 -0
  199. package/dist/test/test-storage/test-store-providers.d.ts.map +1 -0
  200. package/dist/test.js +797 -763
  201. package/dist/{utils-USNkj4sT.js → utils-Cv4oHia0.js} +63 -137
  202. package/dist/utils.js +1 -1
  203. package/package.json +1 -5
  204. package/skills/dialecte/references/api.json +88 -61
  205. package/skills/dialecte/references/api.md +461 -459
  206. package/skills/dialecte/references/core-api.md +42 -15
  207. package/dist/assets/hub.worker-B1HcVDhn.js +0 -2
  208. package/dist/engine.constants-DBMjMmV9.js +0 -98
  209. package/dist/engine.d.ts +0 -9
  210. package/dist/engine.d.ts.map +0 -1
  211. package/dist/running-operations-vnijBvn7.js +0 -76
  212. package/dist/store/engine/client/check-engine-wire.d.ts.map +0 -1
  213. package/dist/store/engine/client/client.constants.d.ts.map +0 -1
  214. package/dist/store/engine/client/client.types.d.ts.map +0 -1
  215. package/dist/store/engine/client/engine-client.d.ts.map +0 -1
  216. package/dist/store/engine/client/engine-control.d.ts.map +0 -1
  217. package/dist/store/engine/client/heartbeat-watch.d.ts.map +0 -1
  218. package/dist/store/engine/client/hub-connector.d.ts.map +0 -1
  219. package/dist/store/engine/client/hub-connector.types.d.ts.map +0 -1
  220. package/dist/store/engine/client/worker-connector.d.ts.map +0 -1
  221. package/dist/store/engine/creation-refusal.d.ts.map +0 -1
  222. package/dist/store/engine/dialecte-refusal.d.ts +0 -18
  223. package/dist/store/engine/dialecte-refusal.d.ts.map +0 -1
  224. package/dist/store/engine/engine-store.d.ts.map +0 -1
  225. package/dist/store/engine/engine-store.types.d.ts.map +0 -1
  226. package/dist/store/engine/engine.constants.d.ts.map +0 -1
  227. package/dist/store/engine/engine.types.d.ts.map +0 -1
  228. package/dist/store/engine/host/engine-wire.d.ts.map +0 -1
  229. package/dist/store/engine/host/heartbeat.d.ts.map +0 -1
  230. package/dist/store/engine/host/host.constants.d.ts.map +0 -1
  231. package/dist/store/engine/host/host.types.d.ts.map +0 -1
  232. package/dist/store/engine/host/store-events.d.ts.map +0 -1
  233. package/dist/store/engine/hub/hub-client.constants.d.ts.map +0 -1
  234. package/dist/store/engine/hub/hub-client.d.ts.map +0 -1
  235. package/dist/store/engine/hub/hub-client.types.d.ts.map +0 -1
  236. package/dist/store/engine/hub/hub-protocol.types.d.ts.map +0 -1
  237. package/dist/store/engine/hub/hub-router.d.ts.map +0 -1
  238. package/dist/store/engine/hub/hub-shell.d.ts.map +0 -1
  239. package/dist/store/engine/hub/hub-shell.types.d.ts.map +0 -1
  240. package/dist/store/engine/hub/hub.constants.d.ts.map +0 -1
  241. package/dist/store/engine/hub/hub.types.d.ts.map +0 -1
  242. package/dist/store/engine/hub/hub.worker.d.ts.map +0 -1
  243. package/dist/store/engine/hub/realm-host.d.ts.map +0 -1
  244. package/dist/store/engine/hub/realm-host.types.d.ts.map +0 -1
  245. package/dist/store/engine/project-key.d.ts.map +0 -1
  246. package/dist/store/engine/wire/error-envelope.d.ts.map +0 -1
  247. package/dist/store/engine/wire/wire-values.d.ts.map +0 -1
  248. package/dist/store/engine/wire/wire.constants.d.ts.map +0 -1
  249. package/dist/store/engine/wire/wire.types.d.ts.map +0 -1
  250. package/dist/store/hub-public.d.ts.map +0 -1
  251. package/dist/store/sqlite/runtime/serve-dialecte-engine.d.ts +0 -16
  252. package/dist/store/sqlite/runtime/serve-dialecte-engine.d.ts.map +0 -1
  253. package/dist/store/sqlite-storage.constants.d.ts +0 -14
  254. package/dist/store/sqlite-storage.constants.d.ts.map +0 -1
  255. package/dist/store/sqlite-storage.d.ts +0 -22
  256. package/dist/store/sqlite-storage.d.ts.map +0 -1
  257. package/dist/store/sqlite-storage.types.d.ts +0 -24
  258. package/dist/store/sqlite-storage.types.d.ts.map +0 -1
  259. package/dist/test/test-dialecte.worker.d.ts +0 -2
  260. package/dist/test/test-dialecte.worker.d.ts.map +0 -1
  261. /package/dist/store/{engine → sqlite/served}/client/check-engine-wire.d.ts +0 -0
  262. /package/dist/store/{engine → sqlite/served}/client/engine-control.d.ts +0 -0
  263. /package/dist/store/{engine → sqlite/served}/client/heartbeat-watch.d.ts +0 -0
  264. /package/dist/store/{engine → sqlite/served}/client/worker-connector.d.ts +0 -0
  265. /package/dist/store/{engine → sqlite/served}/creation-refusal.d.ts +0 -0
  266. /package/dist/store/{engine → sqlite/served}/engine-store.types.d.ts +0 -0
  267. /package/dist/store/{engine → sqlite/served}/engine.constants.d.ts +0 -0
  268. /package/dist/store/{engine → sqlite/served}/host/engine-wire.d.ts +0 -0
  269. /package/dist/store/{engine → sqlite/served}/host/host.constants.d.ts +0 -0
  270. /package/dist/store/{engine → sqlite/served}/host/store-events.d.ts +0 -0
  271. /package/dist/store/{engine → sqlite/served}/hub/hub-client.constants.d.ts +0 -0
  272. /package/dist/store/{engine → sqlite/served}/hub/hub-client.d.ts +0 -0
  273. /package/dist/store/{engine → sqlite/served}/hub/hub-protocol.types.d.ts +0 -0
  274. /package/dist/store/{engine → sqlite/served}/hub/hub-router.d.ts +0 -0
  275. /package/dist/store/{engine → sqlite/served}/hub/hub-shell.d.ts +0 -0
  276. /package/dist/store/{engine → sqlite/served}/hub/hub-shell.types.d.ts +0 -0
  277. /package/dist/store/{engine → sqlite/served}/hub/hub.worker.d.ts +0 -0
  278. /package/dist/store/{engine → sqlite/served}/hub/realm-host.d.ts +0 -0
  279. /package/dist/store/{engine → sqlite/served}/wire/error-envelope.d.ts +0 -0
  280. /package/dist/store/{engine → sqlite/served}/wire/wire-values.d.ts +0 -0
  281. /package/dist/store/{engine → sqlite/served}/wire/wire.constants.d.ts +0 -0
@@ -21,13 +21,13 @@ in the installed `.d.ts` or the repo before calling. Paths are relative to the c
21
21
 
22
22
  ## Entry points
23
23
 
24
- | Import | What is there |
25
- | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ |
26
- | `@dialecte/core` | Project, Document, Query, Transaction, `defineDialecte`, `createProjectFactory`, stores, XML parse/build, errors, diagnostics, perf, all types |
27
- | `@dialecte/core/helpers` | record converters, guards, `readAttribute(s)`, `standardizeRecord`, `mergeExtensions`, `stripAttributes`, write-path guards, namespace constants |
28
- | `@dialecte/core/utils` | attribute rules, definition resolution, xsi:type, namespaces, ordering, `invariant`, `formatXml` / `formatEmbeddedXml`, `saveToDisk` |
29
- | `@dialecte/core/test` | `createTestHelpers`, `createTestRunner`, `createTestProject`, XML/XPath assertions, test dialecte, `normalizeUuids` |
30
- | `@dialecte/core/sqlite` | opt-in SQLite storage: importing it registers `{ type: 'sqlite' }`; `connectHub`, `adoptHubPort`, `listProjects` |
24
+ | Import | What is there |
25
+ | ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
26
+ | `@dialecte/core` | Project, Document, Query, Transaction, `defineDialecte`, `createProjectFactory`, stores, XML parse/build, errors, diagnostics, perf, all types |
27
+ | `@dialecte/core/helpers` | record converters, guards, `readAttribute(s)`, `standardizeRecord`, `mergeExtensions`, `stripAttributes`, write-path guards, namespace constants |
28
+ | `@dialecte/core/utils` | attribute rules, definition resolution, xsi:type, namespaces, ordering, `invariant`, `formatXml` / `formatEmbeddedXml`, `saveToDisk` |
29
+ | `@dialecte/core/test` | `createTestHelpers`, `createTestRunner`, `createTestProject`, XML/XPath assertions, test dialecte, `normalizeUuids` |
30
+ | `@dialecte/core/sqlite` | opt-in SQLite storage: importing it registers `{ type: 'sqlite' }`; `serveSqliteEngine` (the app's one engine worker file), `registerSqliteEngine` (the page, once), `connectHub`, `adoptHubPort`, `listProjects` |
31
31
 
32
32
  ## Project (`project/project.ts`)
33
33
 
@@ -53,7 +53,8 @@ in the installed `.d.ts` or the repo before calling. Paths are relative to the c
53
53
  in-memory) the channel is the Project's own and reposts what the store tells; on `local` (IndexedDB) it is
54
54
  shared by project name.
55
55
  - `listProjects({ dialecteId? })` from `@dialecte/core/sqlite` (SQLite projects of the origin, read from the private
56
- file system) and `factory.destroyProject({ name })` (delete one without opening it).
56
+ file system) and `factory.destroyProject({ name, storage })` (delete one without opening it, from the storage named:
57
+ `storage: { type: 'sqlite' }` for a project on SQLite; any kind works the same way).
57
58
 
58
59
  ## Document (`document/document.ts`)
59
60
 
@@ -184,13 +185,39 @@ needs the parent's `updated` (children list) too.
184
185
 
185
186
  ## Stores (`store/`)
186
187
 
187
- - `storage` param: `{ type: 'local' }` (IndexedDB, the default), `{ type: 'sqlite' }` (the SQLite
188
- engine in a worker, one per project shared by every tab through the hub; opt-in: the app imports
189
- `@dialecte/core/sqlite` once, else `PROJECT_SQLITE_NOT_IMPORTED`; opened from a dialecte's project
190
- factory, which names its engine worker),
191
- `{ type: 'inMemory', writable? }`,
192
- `{ type: 'custom', store }`. The store is a switch: results must be identical on every store,
193
- only speed changes. A difference is a store bug.
188
+ - `storage` param: `{ type: 'local' }` (IndexedDB, the default), `{ type: 'inMemory', writable? }`,
189
+ `{ type: 'custom', store }` - core's own kinds - and any kind an entry registers: `{ type: 'sqlite' }` (the SQLite
190
+ engine in a worker, one per project shared by every tab through the hub; setup below) exists once
191
+ `@dialecte/core/sqlite` is imported. The store is a switch: results must be identical on every store, only speed
192
+ changes. A difference is a store bug.
193
+ - Storage kinds are a registry: an entry adds its kind with `registerStorageKind({ type, kind: { id, storeOf } })`
194
+ (from `@dialecte/core`) and widens `StorageParam` by augmenting `interface StorageKinds` of `@dialecte/core`
195
+ (`declare module '@dialecte/core' { interface StorageKinds { mine: { type: 'mine'; url: string } } }`) - how a
196
+ store package plugs in like SQLite does. A type nobody registered (an app that never imported
197
+ `@dialecte/core/sqlite`) is refused `PROJECT_STORAGE_NOT_REGISTERED`; another kind under a taken type,
198
+ `STORE_KIND_TAKEN`.
199
+ - SQLite storage is opt-in and **the app assembles its engine**; a dialecte package ships its declaration
200
+ only, no worker. The SQLite calls come from `@dialecte/core/sqlite`, which the app imports once (the factory and
201
+ the rest of the API stay in `@dialecte/core`):
202
+ - the app's one engine worker file (say `engine.worker.ts` in its sources) calls `serveSqliteEngine({ dialectes })`
203
+ with every dialecte the app opens on SQLite - one file for all of them, not one per dialecte;
204
+ - the page calls `registerSqliteEngine({ url, dialectes })` once, before the first project opens: `url` a
205
+ `?worker&url` import of that file, `dialectes` the same list (declarations fit);
206
+ - `createProjectFactory({ dialecte })` takes the declaration only, no engine URL; a project opens with
207
+ `storage: { type: 'sqlite' }`; `connectHub()` takes no parameter (optional: a project opening on
208
+ `sqlite` offers the registered engines too).
209
+ - SQLite refusals: entry never imported → `PROJECT_STORAGE_NOT_REGISTERED` (core: no `sqlite` kind); no
210
+ registration, or one that does not name the project's dialecte → `PROJECT_SQLITE_ENGINE_NOT_REGISTERED`, nothing
211
+ started; a worker file that fails to load, or cannot load the engine's chunk (a precache list that leaves it out)
212
+ → `PROJECT_ENGINE_UNAVAILABLE`; a project stored by another layout → `PROJECT_LAYOUT_OUTDATED`. The keys only SQLite
213
+ raises (`PROJECT_SQLITE_*`, `PROJECT_ENGINE_*`, `PROJECT_LAYOUT_OUTDATED`, `PROJECT_DATABASE_LOST`, the hub's
214
+ `STORE_HUB_*`, `STORE_REALM_*`, `STORE_PROTOCOL_MISMATCH`, `STORE_SQLITE_ENGINE_FIXED`) are declared by
215
+ `SQLITE_ERRORS` from `@dialecte/core/sqlite`, codes unchanged: match them with
216
+ `isKnownDialecteError(error, { catalogues: [SQLITE_ERRORS] })` or `SQLITE_ERRORS.<KEY>.key`.
217
+ - A store behind a connection (SQLite's worker, a remote store) that loses it refuses the call
218
+ `STORE_CONNECTION_LOST` (core); for a write, `meta.writeId` and `meta.outcome` (`applied`, `not-applied`,
219
+ `running`, `unknown`) say whether it landed - a Document's commit and a Project's import ask it once themselves;
220
+ never write again blindly (`store.getWriteOutcome({ writeId })`).
194
221
  - `Store` interface is public surface for custom stores. The patch merge every built-in store uses
195
222
  is internal to the stores (not exported): a custom store merges a `RecordPatch` itself.
196
223
 
@@ -1,2 +0,0 @@
1
- (function(){let e=`https://dialecte.github.io/core`,t={UNKNOWN:{code:`D0001`,message:`An unknown error occurred`,explanation:{when:"A transaction's callback threw something that is not a structured error (a plain `Error`, a value); the original is its `cause`.",fix:"Read `cause` and `detail`; raise your own failures with `throwDialecteError` or `invariant` so callers get a key.",docs:`${e}/guide/development/state-and-errors#error-catalog`}},ASSERTION_FAILED:{code:`D0002`,message:`Assertion failed`,explanation:{when:"An `invariant` without its own key failed, or core met a state it never expects (a catalogue built wrong, an inconsistent export, an engine running an sqlite-wasm older than 3.54.1, which removes a project on a failed install).",fix:"Read `detail`: it names the condition. Give `invariant` a key of its own when the failure is one a caller should handle.",docs:`${e}/guide/development/state-and-errors#error-catalog`}},STORE_CONNECTION_FAILED:{code:`D1001`,message:`Failed to open database`,explanation:{when:`The project's database could not be opened (the SQLite file or its worker did not start), or the origin's hub could not be joined: its SharedWorker failed to start or was blocked, or a child's port went unanswered past the welcome budget (its page unbound it).`,fix:"Check the browser supports the store (OPFS, workers, SharedWorker for the hub) and that no other tab holds the project; reload, or open the project with another storage. A child view refused so is bound again by its page (`createHubPort`, then `adoptHubPort`).",docs:`${e}/api/project#store-errors`}},STORE_COMMIT_FAILED:{code:`D1002`,message:`Failed to commit changes`,explanation:{when:"The database refused a transaction's write as it committed (the failure is the `cause`).",fix:"Read `cause`; a full disk or a lost connection are the usual reasons. Retry the transaction once the store is back.",docs:`${e}/api/project#store-errors`}},STORE_RECORD_NOT_FOUND:{code:`D1003`,message:`Record not found in database`,explanation:{when:`A write updated or deleted a record the store does not hold in that document.`,fix:`Read the record again before writing: it was deleted, or the ref names another document.`,docs:`${e}/api/project#store-errors`}},STORE_BULK_ADD_FAILED:{code:`D1004`,message:`Failed to add records to database`,explanation:{when:"The database refused to add a batch of records (import, commit); the failure is the `cause`.",fix:"Read `cause`; a full disk or a closed store are the usual reasons.",docs:`${e}/api/project#store-errors`}},STORE_BULK_UPDATE_FAILED:{code:`D1005`,message:`Failed to update records in database`,explanation:{when:"The database refused to update a batch of records; the failure is the `cause`.",fix:"Read `cause`; a full disk or a closed store are the usual reasons.",docs:`${e}/api/project#store-errors`}},STORE_DELETE_FAILED:{code:`D1006`,message:`Failed to delete records from database`,explanation:{when:"The database refused to delete records; the failure is the `cause`.",fix:"Read `cause`; a closed store is the usual reason.",docs:`${e}/api/project#store-errors`}},STORE_NOT_WRITABLE:{code:`D1007`,message:`Store is not writable`,explanation:{when:`A write reached an in-memory store created read-only.`,fix:"Create the project with `storage: { type: 'inMemory', writable: true }` when the script writes.",docs:`${e}/api/project#in-memory-storage`}},STORE_BLOB_NOT_FOUND:{code:`D1008`,message:`Blob not found`,explanation:{when:`A blob operation named a blob id the store does not hold.`,fix:"List the blobs (`project.getBlobsByDocument`) and use an id from there.",docs:`${e}/api/project#blobs`}},STORE_DUPLICATE_ID:{code:`D1009`,message:`An id is already taken in the store`,explanation:{when:"A write would create a record (or register a document) with an id the store already holds; `meta.recordIds` lists them.",fix:"Let core mint ids (omit `id`), or pick ids no record of the document has; `deepClone` mints new ids itself.",docs:`${e}/api/project#store-errors`}},STORE_CLOSED:{code:`D1010`,message:`Store is closed`,explanation:{when:"A store operation was still in flight when its store closed, or code holding the store itself (a custom store, a test context) called it after its `close()`. A project closed with `project.close()` answers `PROJECT_NOT_OPENED` instead.",fix:`Await every operation before closing the store or the project; open it again before using it.`,docs:`${e}/api/project#lifecycle`}},STORE_READ_FAILED:{code:`D1011`,message:`Failed to read from database`,explanation:{when:"The SQLite store's database failed under a read; the failure is the `cause`.",fix:"Read `cause`; reopen the project. A lasting failure means the file is damaged: import its documents again.",docs:`${e}/api/project#store-errors`}},STORE_PROTOCOL_MISMATCH:{code:`D1012`,message:`Another version of the library holds the shared store connection`,explanation:{when:`Another version of the library already holds the shared store connection (another tab runs an older or newer build).`,fix:`Close the other tabs of the app, or reload them all on the same version.`,docs:`${e}/api/project#store-errors`}},STORE_REALM_ID_TAKEN:{code:`D1013`,message:`A view with this id is already connected to the shared store`,explanation:{when:`A view joined the shared store with an id another connected view already uses.`,fix:`Give each view its own id; reload the page that reused one.`,docs:`${e}/api/project#store-errors`}},STORE_REALM_UNKNOWN:{code:`D1014`,message:`The shared store does not know this view`,explanation:{when:`A view spoke to the shared store without having joined it, or after it left.`,fix:`Join (open the project) before reading or writing; reload a view that was disconnected.`,docs:`${e}/api/project#store-errors`}},STORE_VALUE_NOT_JSON:{code:`D1015`,message:`A value handed to the store is not JSON`,explanation:{when:`A write handed the store a value that is not plain JSON (a function, a Map, undefined, a class instance) in a record or in document metadata.`,fix:"Pass plain strings, numbers, booleans, arrays and objects; `detail` names the value and the field.",docs:`${e}/io/#values-a-store-keeps`}},STORE_UNAVAILABLE:{code:`D1016`,message:`This browser gives the page no storage for a project`,explanation:{when:`The browser gives the page no private file system (a private window), or a worker no synchronous file access, so the SQLite project store cannot create, open or destroy the project; nothing is changed.`,fix:`Open the app in a normal (not private) window of a browser that supports the origin private file system.`,docs:`${e}/api/project#store-errors`}},STORE_QUOTA_EXCEEDED:{code:`D1017`,message:`Not enough storage left for the project`,explanation:{when:"The origin has too little storage left: for a new project's files, for an import (eight times the file's size and at least 1 MiB, less the project's free pages), or the file system refused a write for want of space; nothing of the call applied. The SQLite project store answers it; the local (IndexedDB) store answers the failing write's own error (`STORE_COMMIT_FAILED`, `STORE_BULK_ADD_FAILED`, `STORE_BULK_UPDATE_FAILED`; an import `IMPORT_FAILED`) until it moves to SQLite; the in-memory store has no limit.",fix:"Free storage for the origin (delete projects no longer needed) or import a smaller file, then try again; `meta.needed` and `meta.available` give the sizes when known.",docs:`${e}/api/project#store-errors`}},STORE_ENGINE_LOST:{code:`D1018`,message:`The project engine stopped answering`,explanation:{when:"A call to a project engine served from a worker lost that engine: it ended with what hosted it or gave no answer within its budget (`meta.reason` `'host-gone'`), it sent nothing for too long while the call waited (`'no-heartbeat'`, it may still finish), or the hub dropped this view with the page that bound it - frozen, gone, or unbinding it (`'realm-dropped'`: every call, `getWriteOutcome` too, is refused so until the view is bound again).",fix:"A Document's commit and a Project's import ask the outcome themselves, once: a commit that landed resolves; otherwise the refusal says `meta.outcome` - `not-applied` (make it again if wanted), `running` (a silent engine may still apply it: tell the user, read again later), `unknown` (it could not be asked), or `applied` for an import (its document is in the project; its diagnostics were lost). Elsewhere ask `getWriteOutcome({ writeId })` with `meta.writeId` before writing again; never retry a write blindly. For `'realm-dropped'`, every call is refused until the page binds the view again once it is back (`onRejoined`, then `createHubPort`, its port handed to the view's `adoptHubPort`).",docs:`${e}/api/project#store-errors`}},STORE_HUB_SPAWNERS_FIXED:{code:`D1019`,message:`The page's hub connection runs another version of this dialecte's engine`,explanation:{when:"`connectHub({ spawners })` named a dialecte whose engine the page's connection already runs at another version, or a project was opened (or destroyed by name) on `sqlite` from a factory of such a version (the project offers its engine to the hub as it opens): a page runs one version of each dialecte's engine (two would split a project's views between two engines). A later call adds the engines of dialectes the page does not run yet. `meta.spawners` names the dialectes (id and version) refused; nothing of the call was added, nothing opened.",fix:"Ship one version of each dialecte in the app: register each dialecte's `factory.spawner` from the copy the app opens its projects with.",docs:`${e}/api/project#store-errors`}},ELEMENT_NOT_FOUND:{code:`D2001`,message:`Element not found`,explanation:{when:`A ref names an element the document does not hold (deleted, never created, or from another document).`,fix:"Read the ref from a query in the same document (`getRecord`, `findDescendants`) instead of keeping an old one.",docs:`${e}/guide/development/state-and-errors#error-catalog`}},ROOT_NOT_FOUND:{code:`D2002`,message:`Root element not found`,explanation:{when:`The document holds no root element of the dialecte's root tag (an empty or foreign document).`,fix:"Import a file whose root is the dialecte's root element, or create the document with `project.initEmptyDocument`.",docs:`${e}/api/project#initemptydocument`}},DUPLICATE_ID:{code:`D2003`,message:`Duplicate element ID`,explanation:{when:`Not raised by core itself: a dialecte or app code raises it when two elements carry the same id.`,fix:`Give each element its own id; let core mint them.`,docs:`${e}/guide/development/state-and-errors#error-catalog`}},ELEMENT_TAGNAME_MISMATCH:{code:`D2004`,message:`Element tagName does not match the expected type`,explanation:{when:"A ref's `tagName` is not the tag of the record its id names.",fix:"Build refs with `toRef(record)` from a record you read, never by hand with a guessed tag.",docs:`${e}/api/transaction#reforrecord`}},INVALID_PARENT_CHILD:{code:`D3001`,message:`Invalid parent-child relationship`,explanation:{when:`Not raised by core itself: a dialecte or app code raises it when an element is placed under a parent the schema does not admit.`,fix:"Read the parent's children in the definition (`query.getDefinition`) and add the element under an admitted parent.",docs:`${e}/api/transaction#addchild`}},INVALID_ATTRIBUTE:{code:`D3002`,message:`Invalid attribute for element`,explanation:{when:`Not raised by core itself: a dialecte or app code raises it for an attribute the element does not declare.`,fix:`Use an attribute the element's definition lists.`,docs:`${e}/guide/development/state-and-errors#error-catalog`}},PROTECTED_ROOT:{code:`D3003`,message:`Root element cannot be deleted`,explanation:{when:`A transaction tried to delete the document's root element.`,fix:"Delete the root's children instead, or remove the whole document with `project.removeDocument`.",docs:`${e}/api/transaction#delete`}},REQUIRED_ATTRIBUTE_MISSING:{code:`D3004`,message:`Required attribute is missing`,explanation:{when:`Not raised by core itself: a dialecte or app code raises it when a required attribute is absent.`,fix:`Give the attribute a value when creating the element.`,docs:`${e}/guide/development/state-and-errors#error-catalog`}},UNIQUE_CONSTRAINT_VIOLATION:{code:`D3005`,message:`Value is already used within its scope`,explanation:{when:`Not raised by core itself: a dialecte raises it when a value is already used within the scope where it must be unique.`,fix:`Pick another value, or let the dialecte's hook name the element.`,docs:`${e}/guide/development/state-and-errors#error-catalog`}},UNKNOWN_NAMESPACE_PREFIX:{code:`D3006`,message:`Unknown namespace prefix on attribute — pass it explicitly as { name, namespace: { prefix, uri } }`,explanation:{when:`An attribute was written with a namespace key or prefix the dialecte does not declare.`,fix:"Use a namespace key of the dialecte's config, or pass the namespace in full: `{ name, namespace: { prefix, uri } }`.",docs:`${e}/api/transaction#addchild`}},PREFIXED_ATTRIBUTE_NAME:{code:`D3007`,message:`Authored attribute name must be a local name — pass the namespace separately as { name, namespace }, not a prefixed name`,explanation:{when:"An attribute was written with a prefixed name (`ext:attr`) on create or update.",fix:"Pass the local name and the namespace apart: `{ name: 'attr', namespace }`.",docs:`${e}/api/transaction#addchild`}},FIXED_VALUE_VIOLATION:{code:`D3008`,message:`Attribute value differs from the schema-fixed value`,explanation:{when:`A write gave an attribute another value than the one the schema fixes.`,fix:"Leave the attribute out (core writes the fixed value) or give exactly the fixed value; `getAttributeRules` reads it.",docs:`${e}/api/transaction#addchild`}},XSI_TYPE_REQUIRED:{code:`D3009`,message:`The element is declared with an abstract type: name a type with xsi:type`,explanation:{when:"An element declared with an abstract type was created without naming a concrete type in `xsi:type`.",fix:"Name one of the admitted types: `attributes: { 'xsi:type': '<Type>' }`; `admittedXsiTypes` lists them.",docs:`${e}/api/transaction#addchild`}},XSI_TYPE_NOT_ADMITTED:{code:`D3010`,message:`The element may not take the type named with xsi:type`,explanation:{when:"A write named in `xsi:type` a type the element may not take.",fix:"Pick a type from `admittedXsiTypes` for that element.",docs:`${e}/api/transaction#addchild`}},XSI_TYPE_CHANGE_LEAVES_CONTENT:{code:`D3011`,message:`The new xsi:type does not admit content the element still holds`,explanation:{when:"An update changed `xsi:type` to a type that does not admit attributes or children the element still holds.",fix:`Remove that content in the same transaction before changing the type, or pick a type that admits it.`,docs:`${e}/api/transaction#update`}},XML_CHARACTER_NOT_ALLOWED:{code:`D3012`,message:`The text holds a character XML does not allow`,explanation:{when:`A write, an import session's own writes or an export met a character XML does not allow (a control character below U+0020 but tab, line feed and carriage return, U+FFFE, U+FFFF) in a value, a name, a prefix, a namespace URI or an id; nothing was written, no file.`,fix:"Remove or replace the character named in `meta.character` at `meta.part` of the record `meta.recordId` before writing or exporting it.",docs:`${e}/io/#values-a-store-keeps`}},ALREADY_COMMITTED:{code:`D4001`,message:`Transaction already committed`,explanation:{when:`Not raised by core today: kept for a transaction used after its commit.`,fix:"Start a new `doc.transaction` for further writes.",docs:`${e}/guide/development/state-and-errors#error-catalog`}},ALREADY_FAILED:{code:`D4002`,message:`Transaction already failed`,explanation:{when:`Not raised by core today: kept for a transaction used after it failed.`,fix:"Start a new `doc.transaction`; the failed one wrote nothing.",docs:`${e}/guide/development/state-and-errors#error-catalog`}},DATABASE_COMMIT_ERROR:{code:`D4003`,message:`An error occurred while committing changes to the database`,explanation:{when:"Not raised by core today: store commit failures are `STORE_COMMIT_FAILED`.",fix:"Read `cause`; see `STORE_COMMIT_FAILED`.",docs:`${e}/guide/development/state-and-errors#error-catalog`}},CONCURRENT_TRANSACTION:{code:`D4004`,message:`A transaction is already in progress. Concurrent transactions are not supported yet — serialize them or implement a transaction queue.`,explanation:{when:"A `doc.transaction` started on a Document while another transaction or `doc.prepare` was still running on it (a missing `await`, or a nested transaction).",fix:"Await each transaction before the next; inside a transaction, write through its `tx`, never through `doc.transaction` again.",docs:`${e}/api/document`}},EXPORT_ROOT_NOT_FOUND:{code:`D5001`,message:`Root element not found in records during export`,explanation:{when:`The export found no root record in the document.`,fix:"The document is empty or damaged: import it again, or create it with `project.initEmptyDocument`.",docs:`${e}/api/project#export`}},EXPORT_ORPHAN_CHILD_REF:{code:`D5002`,message:`Parent references non-existent child record`,explanation:{when:`The export met a parent whose list of children names a record that does not exist.`,fix:"A hook or a raw write left a dangling child ref: a hook that deletes must also return the parent's `updated` operation.",docs:`${e}/api/project#export`}},PARSE_ERROR:{code:`D5003`,message:`Failed to parse XML`,explanation:{when:"The file given to import (or to `parseXmlDocument`) is not well-formed XML.",fix:"Fix the XML where `detail` points (line and column); check the file's encoding.",docs:`${e}/api/project#import`}},IMPORT_FAILED:{code:`D5004`,message:`Failed to import the file`,explanation:{when:`Importing a file failed after it was parsed (a hook threw, the store refused the records); nothing of the file remains.`,fix:"Read `cause` and `detail`; an import hook must not read the store or throw on data it can report as a diagnostic.",docs:`${e}/api/project#import`}},IMPORT_ABORTED:{code:`D5005`,message:`The import was aborted`,explanation:{when:"The import's `signal` was aborted; nothing of the file remains.",fix:`Nothing to fix when the abort was wanted; import the file again otherwise.`,docs:`${e}/api/project#import`}},EXPORT_CONFLICT:{code:`D5006`,message:`The document changed while it was exported`,explanation:{when:`The document was written twice while it was being exported, so no consistent file could be read.`,fix:`Export when no transaction or import is writing the document, or retry.`,docs:`${e}/api/project#export`}},EXPORT_ABORTED:{code:`D5007`,message:`The export was aborted`,explanation:{when:"The export's `signal` was aborted.",fix:`Nothing to fix when the abort was wanted; export again otherwise.`,docs:`${e}/api/project#export`}},EXTENSION_METHOD_COLLISION:{code:`D6001`,message:`Extension method name collision detected`,explanation:{when:`Two extension modules merged under one key define a method of the same name.`,fix:`Rename your method, or put your module under a key of its own.`,docs:`${e}/guide/extensions/#registering-extensions`}},UNKNOWN_CONFIG_KEY:{code:`D7001`,message:`Unknown config key`,explanation:{when:`A document, a test or a declaration named a config key the dialecte does not declare.`,fix:"Use a key of the dialecte's `configs` (its `defaultConfigKey` when in doubt).",docs:`${e}/api/dialecte#definedialecte`}},DOCUMENT_NOT_REGISTERED:{code:`D7002`,message:`Document not registered in project`,explanation:{when:`A document id names no document of the open project (removed, or from another project).`,fix:"Use an id from `project.getDocuments()` or from the import result.",docs:`${e}/api/project#document-access`}},PROJECT_NOT_OPENED:{code:`D7003`,message:`Project not opened`,explanation:{when:"The project was used before `open(name)` resolved, or once `close()`, `destroy()` or another `open()` was called on it - a batch import's file whose turn came after that is refused the same.",fix:"Keep the instance and await its `open(name)` before using the project; open it again after `close()` or `destroy()`, and await an `open()` of another project before using the Project again.",docs:`${e}/api/project#lifecycle`}},BLOB_NOT_FOUND:{code:`D7004`,message:`Blob not found in store`,explanation:{when:"`project.exportBlob` named a blob the project does not hold.",fix:"Use an id from `project.getBlobsByDocument` or `getStandaloneBlobs`.",docs:`${e}/api/project#blobs`}},PROJECT_LAYOUT_OUTDATED:{code:`D7005`,message:`Project stored by another version of the library`,explanation:{when:`The project file was stored by another version of the library (another layout); nothing was written to it.`,fix:`Delete the project and import its files again with this version.`,docs:`${e}/api/project#store-errors`}},PROJECT_ENGINE_UNAVAILABLE:{code:`D7006`,message:`No view can start the project engine`,explanation:{when:`The project's engine could not be started or reached: its worker failed to load or never answered its open within the open budget; through the origin's hub, no open view offers an engine for the project's dialecte, or the engine never said it opened; a destroy still running past the open budget, or one asked by a page suspended before the hub granted it.`,fix:"Keep one tab of the app open and reload; check the dialecte's `engineUrl` points at its worker and that it loads (the console names a script that fails); a destroy refused so is asked again once the project is closed elsewhere.",docs:`${e}/api/project#store-errors`}},PROJECT_ENGINE_BUSY:{code:`D7007`,message:`The project is still held by another engine`,explanation:{when:`Another engine still holds the project (another tab or a worker that did not stop).`,fix:`Close the other tabs of the app, then open the project again.`,docs:`${e}/api/project#store-errors`}},PROJECT_DIALECTE_MISMATCH:{code:`D7008`,message:`The project's engine or file is of another dialecte`,explanation:{when:"A project file stored by another dialecte was opened (nothing of it written); or an engine was asked for a project of another dialecte than its own - the dialecte's `engineUrl` (its project factory's, or a hub spawner's) pointing at another dialecte's worker. Two dialectes' projects of one name are two projects: opening one never meets the other. `meta`: `project`, `projectDialecteId` (the engine's or the file's), `realmDialecteId` (the one asked).",fix:"Open the project with the dialecte it was created with; point the dialecte's `engineUrl` at its own worker.",docs:`${e}/api/project#store-errors`}},PROJECT_DIALECTE_VERSION_MISMATCH:{code:`D7009`,message:`The project engine runs another version of the dialecte`,explanation:{when:`The project's engine runs another version of the dialecte than this view.`,fix:`Reload every tab of the app so they run the same version.`,docs:`${e}/api/project#store-errors`}},PROJECT_DESTROY_FAILED:{code:`D7010`,message:`The project could not be deleted`,explanation:{when:`Destroying a project left its files in place: another tab or worker still holds one.`,fix:`Close the other tabs or windows of the app that have the project open, then destroy it again.`,docs:`${e}/api/project#lifecycle`}},PROJECT_OPEN_ELSEWHERE:{code:`D7011`,message:`The project is open in another tab, window or connection`,explanation:{when:"Another tab or window has the project open and there is no shared connection between them; or a destroy was asked while another connection - a store or project of the name in this page, or another tab - has the project open (`meta.connections`, where the store counts them).",fix:`Close the project in the other tab, window or connection, then open or destroy it here again.`,docs:`${e}/api/project#lifecycle`}},PROJECT_DATABASE_LOST:{code:`D7012`,message:`The project's database is gone`,explanation:{when:"The project's files hold data but none of them is its database any more: the database file's header was damaged (by the disk, another program, or site data changed outside the app). Nothing is opened or changed: no empty database is made in its place. `meta.project` names the project.",fix:"The project's data cannot be read back. Offer the user a reset, never automatically: `destroy()` on the same Project instance whose `open` was refused (keep it: `const project = new Project(params)`, then `await project.open(name)`) removes what the refused store holds, without opening it; `open(name)` then makes it again, empty, and its documents can be imported again.",docs:`${e}/api/project#lifecycle`}},PROJECT_DESTROYED_WHILE_AWAY:{code:`D7013`,message:`The project was deleted while this view was away`,explanation:{when:"A view's connection to a project came back - the page back from a freeze or the back/forward cache, its engine started again - and the project it had open was destroyed meanwhile by another tab (and maybe made again under its name): nothing is opened in its place and nothing of it is read. `meta.project` names the project.",fix:"Tell the user the project was deleted elsewhere; close it in this view (`project.close()`), then open it again by its name for what is there now, or choose another.",docs:`${e}/api/project#lifecycle`}},PROJECT_NAME_INVALID:{code:`D7014`,message:`The project's name cannot name its files`,explanation:{when:"A project's name or its dialecte's id is empty, `.` or `..`: every store refuses it before it is built (a SQLite project's files sit in a directory named after both, which no directory can be); nothing was opened or written. `meta.project` and `meta.dialecteId` say which.",fix:"Give the project a name of its own (and the dialecte an id) other than an empty one, `.` or `..`.",docs:`${e}/api/project#lifecycle`}},PROJECT_ENGINE_NOT_DECLARED:{code:`D7015`,message:`This project has no engine to open it on SQLite`,explanation:{when:"A project was opened on `storage: { type: 'sqlite' }` but made by no dialecte's project factory: its engine (the dialecte's id, its version and its engine worker's URL) is known to no one, so nothing can start it. Nothing was opened.",fix:"Make the project with the dialecte's project factory (`createProjectFactory({ dialecte, engineUrl })`, as a dialecte package exports it), or open it on another storage.",docs:`${e}/api/project#sqlite-storage`}},PROJECT_SQLITE_NOT_IMPORTED:{code:`D7016`,message:"SQLite storage needs `import '@dialecte/core/sqlite'`",explanation:{when:"A project was opened (or destroyed by name) on `storage: { type: 'sqlite' }`, or a test asked for the `sqlite` test store, but the app never imported `@dialecte/core/sqlite`: the SQLite storage kind lives behind that entry, so an app that never imports it neither emits nor downloads the SQLite engine, its wasm or the hub. Nothing was opened.",fix:"Add `import '@dialecte/core/sqlite'` once to the app's entry (for tests, to the test runner's setup file), before the first project is opened on SQLite; or open the project on another storage. Imported already? The import registers the kind for every copy of @dialecte/core of the same SQLite storage version in the realm: a copy of another one (a dialecte bringing its own core) does not see it - align the core versions.",docs:`${e}/api/project#sqlite-storage`}},DOCUMENT_PATH_INVALID:{code:`D7030`,message:`A document's path is not valid`,explanation:{when:"A document's path breaks a rule (empty, `.` or `..` segment, backslash, invisible character, not NFC, too long), names another file than the document's, changes its extension, or was handed to `project.import` of several files; nothing was written. `detail` says which rule.",fix:"Write the path relative, joined by `/`, in NFC, ending with the document's file name; pass a path to `importFile`, not to `import`.",docs:`${e}/api/project#a-document-s-path`}},DOCUMENT_PATH_TAKEN:{code:`D7031`,message:`A document's path is another document's place`,explanation:{when:"Another document already holds the place (`meta.takenBy`), a document still importing included: the same path, a path under another document's file, or a file at a folder another document's path uses.",fix:`Choose a path no other document holds, or move the other document first.`,docs:`${e}/api/project#a-document-s-path`}}};function n(e,n){let r=typeof e==`string`?{key:e,...t[e]}:e,i={code:r.code,key:r.key,message:n.message??r.message,detail:n.detail,method:a((/* @__PURE__ */ Error()).stack),ref:n.ref,meta:n.meta,cause:n.cause},o=Error(n.detail);return o.cause=i,o}new Set(Object.values(t).map(e=>e.code));function r(e){if(!(e instanceof Error))return;let t=e.cause;if(!(!t||t instanceof Error)&&typeof t.key==`string`&&typeof t.code==`string`)return t}let i=/* @__PURE__ */ new Set([`throwDialecteError`,`createDialecteError`,`invariant`,`reportFailure`]);function a(e){if(!e)return`unknown`;let t=e.split(`
2
- `).slice(1).map(e=>e.match(/\bat\s+(?:async\s+)?(\S+)(?:\s+\[as\s+[^\]]+\])?\s+\(([^)]+)\)/)).find(e=>!o(e?.[1])),n=t?.[1]?.replace(/^Object\./,``),r=t?.[2];if(!r||!n)return n??`unknown`;let i=r.match(/(\w[\w-]*\/src\/[^?:]+)/);return i?`${i[1].replace(/\.[^/.]+$/,``)}::${n}`:n}function o(e){return e?i.has(e.slice(e.lastIndexOf(`.`)+1)):!1}function s(e){return c({thrown:e.thrown,depth:0})}function c(e){let{thrown:t,depth:n}=e,i=r(t);if(i&&t instanceof Error){let{cause:e,meta:r,ref:a,...o}=i,s={...o};return r!==void 0&&(s.meta=l({value:r})),a!==void 0&&(s.ref=l({value:a})),e!==void 0&&n<4&&(s.cause=c({thrown:e,depth:n+1})),{kind:`dialecte`,message:t.message,stack:t.stack,error:s}}if(t instanceof Error){let e={kind:`error`,name:t.name,message:t.message,stack:t.stack};return t.cause!==void 0&&n<4&&(e.cause=c({thrown:t.cause,depth:n+1})),e}return{kind:`value`,value:l({value:t})}}function l(e){let{value:t,ancestors:n=/* @__PURE__ */ new Set}=e;if(u({value:t}))return t;if(typeof t!=`object`||!t||n.has(t))return String(t);let r=Object.getPrototypeOf(t),i=Array.isArray(t);if(r!==(i?Array.prototype:Object.prototype)&&r!==null)return String(t);n.add(t);let a=i?t.map(function(e){return l({value:e,ancestors:n})}):Object.fromEntries(Object.entries(t).map(function([e,t]){return[e,l({value:t,ancestors:n})]}));return n.delete(t),a}function u(e){try{return structuredClone(e.value),!0}catch{return!1}}let d=3e4;function f(e){let{dialecteId:t,project:n}=e;return`${encodeURIComponent(t)}/${encodeURIComponent(n)}`}function ee(){let e={realms:/* @__PURE__ */ new Map,projects:/* @__PURE__ */ new Map,holds:/* @__PURE__ */ new Map,nextGeneration:1,nextOrder:0};return{handle:function(t){let n={state:e,now:t.now,commands:[]};return te({step:n,event:t}),{commands:n.commands,wakeAt:de({state:e})}}}}function te(e){let{step:t,event:n}=e;switch(n.type){case`hello`:return ne({step:t,hello:n});case`spawners`:return re({step:t,added:n});case`open`:return m({step:t,open:n});case`leave`:return oe({step:t,leave:n});case`realm-gone`:return le({step:t,realmId:n.realmId});case`engine-opened`:return N({step:t,opened:n});case`engine-open-failed`:return P({step:t,failed:n});case`engine-ended`:return L({step:t,ended:n});case`destroy`:return se({step:t,destroy:n});case`destroyed`:return T({step:t,key:f(n),realmId:n.realmId});case`destroy-elsewhere`:return b({step:t,destroy:n});case`files-deleted`:return ce({step:t,deleted:n});case`tick`:return z({step:t});default:return n}}function ne(e){let{step:t,hello:n}=e;if(n.protocol!==5){p({step:t,realmId:n.realmId,refusal:{origin:`hub`,key:`STORE_PROTOCOL_MISMATCH`,detail:`the hub speaks protocol 5, the view ${n.protocol}`,meta:{hubProtocol:5,realmProtocol:n.protocol}}});return}if(t.state.realms.has(n.realmId)){p({step:t,realmId:n.realmId,refusal:{origin:`hub`,key:`STORE_REALM_ID_TAKEN`,detail:`a view "${n.realmId}" is already connected`,meta:{realmId:n.realmId}}});return}if(n.parentRealmId!==void 0&&!t.state.realms.has(n.parentRealmId)){p({step:t,realmId:n.realmId,refusal:{origin:`hub`,key:`STORE_REALM_UNKNOWN`,detail:`the hub knows no view "${n.parentRealmId}", the parent of "${n.realmId}"`,meta:{realmId:n.realmId,parentRealmId:n.parentRealmId}}});return}let r=n.parentRealmId===void 0?n.spawners:[];t.state.realms.set(n.realmId,{realmId:n.realmId,topLevel:n.topLevel,spawners:new Map(r.map(e=>[e.dialecteId,e.dialecteVersion])),parentRealmId:n.parentRealmId,order:t.state.nextOrder++}),t.commands.push({type:`welcome`,realmId:n.realmId}),n.parentRealmId===void 0&&t.commands.push({type:`watch-realm-lock`,realmId:n.realmId})}function re(e){let{step:t,added:n}=e,r=t.state.realms.get(n.realmId);if(r&&r.parentRealmId===void 0)for(let e of n.spawners)r.spawners.has(e.dialecteId)||r.spawners.set(e.dialecteId,e.dialecteVersion)}function p(e){let{step:t,realmId:n,refusal:r}=e;t.commands.push({type:`refuse-hello`,realmId:n,refusal:r})}function m(e){let{step:t,open:n}=e;if(!t.state.realms.has(n.realmId)){U({step:t,realmId:n.realmId,project:n.project,dialecteId:n.dialecteId,refusal:{origin:`hub`,key:`STORE_REALM_UNKNOWN`,detail:`the hub knows no view "${n.realmId}"`,meta:{realmId:n.realmId}}});return}let r=t.state.holds.get(f(n));if(r){r.opens.set(n.realmId,n);return}let i=t.state.projects.get(f(n));if(i){let e=v({project:i,open:n});if(!e)return ae({step:t,project:i,open:n});if(!ie({state:t.state,project:i,open:n}))return U({step:t,realmId:n.realmId,project:n.project,dialecteId:n.dialecteId,refusal:e});W({step:t,project:i}),t.state.projects.delete(f(i))}h({step:t,open:n})}function ie(e){let{state:t,project:n,open:r}=e;if(n.clients.size>0)return!1;let i=/* @__PURE__ */ new Map([[r.realmId,r.dialecteVersion]]),[a]=K({state:t,dialecteId:r.dialecteId,clients:i});return a?.dialecteVersion===r.dialecteVersion}function ae(e){let{step:t,project:n,open:r}=e;n.clients.set(r.realmId,r.dialecteVersion),g({project:n,open:r}),n.idleDeadline=void 0,n.engine.status===`opening`?A({step:t,project:n}):G({step:t,project:n,realmId:r.realmId})}function h(e){let{step:t,open:n}=e,r=/* @__PURE__ */ new Map([[n.realmId,n.dialecteVersion]]),i=j({step:t,project:n.project,dialecteId:n.dialecteId,clients:r});if(!i)return;let a=t.now+d,o={project:n.project,dialecteId:n.dialecteId,clients:r,expectations:/* @__PURE__ */ new Map,engine:M({step:t,project:n.project,dialecteId:n.dialecteId,host:i,openDeadline:a,expectedCreationId:n.expectedCreationId}),openDeadline:a,idleDeadline:void 0,triedHosts:[]};g({project:o,open:n}),t.state.projects.set(f(n),o)}function g(e){let{project:t,open:n}=e;n.expectedCreationId===void 0?t.expectations.delete(n.realmId):t.expectations.set(n.realmId,n.expectedCreationId)}function _(e){let{project:t}=e,n=[...t.clients.keys()].map(function(e){return t.expectations.get(e)});return n.some(function(e){return e===void 0})?void 0:n[0]}function v(e){let{project:t,open:n}=e;if(n.dialecteVersion!==t.engine.dialecteVersion)return y({project:t.project,dialecteId:t.dialecteId,engineVersion:t.engine.dialecteVersion,realmVersion:n.dialecteVersion})}function y(e){let{project:t,dialecteId:n,engineVersion:r,realmVersion:i}=e;return{origin:`hub`,key:`PROJECT_DIALECTE_VERSION_MISMATCH`,detail:`the engine of "${t}" runs ${n} ${r}, the view ${i}`,meta:{project:t,dialecteId:n,engineVersion:r,realmVersion:i}}}function oe(e){let{step:t,leave:n}=e;t.state.holds.get(f(n))?.opens.delete(n.realmId);let r=t.state.projects.get(f(n));r&&E({step:t,project:r,realmId:n.realmId}),t.commands.push({type:`left`,realmId:n.realmId,project:n.project,dialecteId:n.dialecteId})}function se(e){let{step:t,destroy:n}=e,r=w({state:t.state,destroy:n});r?S({step:t,destroy:n,refusal:r}):(C({step:t,destroy:n,deleterRealmId:void 0}),t.commands.push({type:`destroy-granted`,realmId:n.realmId,project:n.project,dialecteId:n.dialecteId}))}function b(e){let{step:t,destroy:n}=e,r=w({state:t.state,destroy:n});if(r){S({step:t,destroy:n,refusal:r});return}let i=x({state:t.state,destroy:n});i===void 0?S({step:t,destroy:n,refusal:{origin:`hub`,key:`STORE_UNAVAILABLE`,detail:`no view of the origin runs an engine of "${n.dialecteId}" to delete "${n.project}"`,meta:{project:n.project,dialecteId:n.dialecteId}}}):(C({step:t,destroy:n,deleterRealmId:i}),t.commands.push({type:`delete-files`,realmId:i,project:n.project,dialecteId:n.dialecteId}))}function x(e){let{state:t,destroy:n}=e,r=t.realms.get(n.realmId),i=r?.parentRealmId===void 0?void 0:t.realms.get(r.parentRealmId),a=[...t.realms.values()].filter(function(e){return e.realmId!==n.realmId&&e!==i}).sort(function(e,t){return e.order-t.order}),o=i?[i,...a]:a;function s(e){return e.spawners.get(n.dialecteId)===n.dialecteVersion}function c(e){return e.spawners.has(n.dialecteId)}return(o.find(s)??o.find(c))?.realmId}function S(e){let{step:t,destroy:n,refusal:r}=e;t.commands.push({type:`refuse-destroy`,realmId:n.realmId,project:n.project,dialecteId:n.dialecteId,refusal:r})}function C(e){let{step:t,destroy:n,deleterRealmId:r}=e,{realmId:i}=n,a={project:n.project,dialecteId:n.dialecteId,realmId:i,...r!==void 0&&{deleterRealmId:r},opens:/* @__PURE__ */ new Map},o=t.state.projects.get(f(n));if(o){let e=o.clients.get(i);e!==void 0&&(r===void 0&&a.opens.set(i,{type:`open`,now:t.now,realmId:i,project:o.project,dialecteId:o.dialecteId,dialecteVersion:e}),o.engine.status===`ready`&&t.commands.push({type:`engine-lost`,realmId:i,project:o.project,dialecteId:o.dialecteId,generation:o.engine.generation})),W({step:t,project:o}),t.state.projects.delete(f(o))}t.state.holds.set(f(n),a)}function ce(e){let{step:t,deleted:n}=e,r=f(n),i=t.state.holds.get(r);i?.deleterRealmId!==void 0&&i.deleterRealmId===n.realmId&&(t.state.realms.has(i.realmId)&&(n.error===void 0?t.commands.push({type:`destroyed-elsewhere`,realmId:i.realmId,project:i.project,dialecteId:i.dialecteId}):S({step:t,destroy:i,refusal:{origin:`engine`,error:n.error}})),T({step:t,key:r,realmId:i.realmId,held:!0}))}function w(e){let{state:t,destroy:n}=e,{realmId:r,project:i}=n,a=f(n);if(!t.realms.has(r))return{origin:`hub`,key:`STORE_REALM_UNKNOWN`,detail:`the hub knows no view "${r}"`,meta:{realmId:r}};if(t.holds.has(a))return{origin:`hub`,key:`PROJECT_OPEN_ELSEWHERE`,detail:`"${i}" is being destroyed by another view`,meta:{project:i}};let o=[...t.projects.get(a)?.clients.keys()??[]].filter(function(e){return e!==r});if(o.length!==0)return{origin:`hub`,key:`PROJECT_OPEN_ELSEWHERE`,detail:`"${i}" is open in ${o.length} other view(s)`,meta:{project:i,connections:o.length}}}function T(e){let{step:t,key:n,realmId:r,held:i=!1}=e,a=t.state.holds.get(n);if(a?.realmId===r&&(a.deleterRealmId===void 0||i)){t.state.holds.delete(n);for(let e of a.opens.values())m({step:t,open:{...e,now:t.now}})}}function E(e){let{step:t,project:n,realmId:r}=e;I({project:n,realmId:r})&&(n.engine.status===`ready`&&t.commands.push({type:`client-gone`,project:n.project,dialecteId:n.dialecteId,generation:n.engine.generation,realmId:r}),n.clients.size>0||(n.idleDeadline=t.now+5e3,n.openDeadline=void 0))}function le(e){let{step:t,realmId:n}=e;if(!t.state.realms.has(n))return;let r=D({state:t.state,realmId:n});for(let e of r)t.state.realms.delete(e),t.commands.push({type:`drop-realm`,realmId:e});for(let e of t.state.holds.values()){for(let t of r)e.opens.delete(t);e.deleterRealmId!==void 0&&r.includes(e.deleterRealmId)?(r.includes(e.realmId)||S({step:t,destroy:e,refusal:{origin:`hub`,key:`STORE_ENGINE_LOST`,detail:`the view deleting "${e.project}" is gone: its files may be partly deleted`,meta:{project:e.project,reason:`host-gone`}}}),T({step:t,key:f(e),realmId:e.realmId,held:!0})):r.includes(e.realmId)&&T({step:t,key:f(e),realmId:e.realmId})}for(let e of t.state.projects.values())if(r.includes(e.engine.hostRealmId)){for(let t of r)I({project:e,realmId:t});O({step:t,project:e})}else for(let n of r)E({step:t,project:e,realmId:n})}function D(e){let{state:t,realmId:n}=e,r=[n];for(let e of r)for(let n of t.realms.values())n.parentRealmId===e&&r.push(n.realmId);return r}function O(e){let{step:t,project:n}=e;if(W({step:t,project:n}),n.engine.status===`ready`)for(let e of n.clients.keys())t.commands.push({type:`engine-lost`,realmId:e,project:n.project,dialecteId:n.dialecteId,generation:n.engine.generation});if(n.openDeadline!==void 0&&n.openDeadline-t.now<1e3){k({step:t,project:n});return}let r=n.clients.size>0?j({step:t,project:n.project,dialecteId:n.dialecteId,clients:n.clients}):void 0;r?n.engine=M({step:t,project:n.project,dialecteId:n.dialecteId,host:r,openDeadline:A({step:t,project:n}),expectedCreationId:_({project:n})}):t.state.projects.delete(f(n))}function k(e){let{step:t,project:n}=e;H({step:t,project:n.project,dialecteId:n.dialecteId,clients:n.clients,refusal:{origin:`hub`,key:`PROJECT_ENGINE_UNAVAILABLE`,detail:`no engine for "${n.project}" opened within ${d} ms`,meta:{project:n.project,dialecteId:n.dialecteId,openBudgetMs:d}}}),t.state.projects.delete(f(n))}function A(e){let{step:t,project:n}=e;return n.openDeadline===void 0&&(n.openDeadline=t.now+d,n.triedHosts=[]),n.openDeadline}function j(e){let{step:t,project:n,dialecteId:r,clients:i}=e,[a]=K({state:t.state,dialecteId:r,clients:i});if(a)return ue({step:t,project:n,dialecteId:r,clients:i,host:a});H({step:t,project:n,dialecteId:r,clients:i,refusal:{origin:`hub`,key:`PROJECT_ENGINE_UNAVAILABLE`,detail:`no connected view can start an engine of "${r}"`,meta:{project:n,dialecteId:r}}})}function ue(e){let{step:t,project:n,dialecteId:r,clients:i,host:a}=e;for(let[e,o]of i)o!==a.dialecteVersion&&(U({step:t,realmId:e,project:n,dialecteId:r,refusal:y({project:n,dialecteId:r,engineVersion:a.dialecteVersion,realmVersion:o})}),i.delete(e));return i.size>0?a:void 0}function M(e){let{step:t,project:n,dialecteId:r,host:i,openDeadline:a,expectedCreationId:o}=e,s={hostRealmId:i.realm.realmId,generation:t.state.nextGeneration++,dialecteVersion:i.dialecteVersion,status:`opening`,creationId:void 0,expectedCreationId:o};return t.commands.push({type:`spawn-engine`,realmId:s.hostRealmId,project:n,dialecteId:r,generation:s.generation,openBudgetMs:Math.min(1e4,a-t.now),...o!==void 0&&{expectedCreationId:o}}),s}function N(e){let{step:t,opened:n}=e,r=V({state:t.state,project:n.project,dialecteId:n.dialecteId,generation:n.generation});if(r?.engine.status===`opening`){r.engine.status=`ready`,r.engine.creationId=n.creationId,r.openDeadline=void 0;for(let e of r.clients.keys())G({step:t,project:r,realmId:e})}}function P(e){let{step:t,failed:n}=e,r=V({state:t.state,project:n.project,dialecteId:n.dialecteId,generation:n.generation});if(r?.engine.status!==`opening`)return;W({step:t,project:r});let i=A({step:t,project:r});if(r.triedHosts.push(r.engine.hostRealmId),n.failure.key===`PROJECT_DESTROYED_WHILE_AWAY`)return F({step:t,project:r,error:n.failure.error,openDeadline:i});let a=n.failure.key===`PROJECT_ENGINE_BUSY`&&r.clients.size>0&&i-t.now>=1e3?R({step:t,project:r}):void 0;a?r.engine=M({step:t,project:r.project,dialecteId:r.dialecteId,host:a,openDeadline:i,expectedCreationId:_({project:r})}):(H({step:t,project:r.project,dialecteId:r.dialecteId,clients:r.clients,refusal:{origin:`engine`,error:n.failure.error}}),t.state.projects.delete(f(r)))}function F(e){let{step:t,project:n,error:r,openDeadline:i}=e,a=n.engine.expectedCreationId,o=new Map([...n.clients].filter(function([e]){return n.expectations.get(e)===a}));for(let e of o.keys())I({project:n,realmId:e});if(H({step:t,project:n.project,dialecteId:n.dialecteId,clients:o,refusal:{origin:`engine`,error:r}}),n.clients.size===0){t.state.projects.delete(f(n));return}if(i-t.now<1e3)return k({step:t,project:n});let s=j({step:t,project:n.project,dialecteId:n.dialecteId,clients:n.clients});s?n.engine=M({step:t,project:n.project,dialecteId:n.dialecteId,host:s,openDeadline:i,expectedCreationId:_({project:n})}):t.state.projects.delete(f(n))}function I(e){let{project:t,realmId:n}=e;return t.expectations.delete(n),t.clients.delete(n)}function L(e){let{step:t,ended:n}=e,r=V({state:t.state,project:n.project,dialecteId:n.dialecteId,generation:n.generation});r&&(r.engine.status===`ready`?O({step:t,project:r}):(W({step:t,project:r}),H({step:t,project:r.project,dialecteId:r.dialecteId,clients:r.clients,refusal:{origin:`hub`,key:`PROJECT_ENGINE_UNAVAILABLE`,detail:`the engine of "${r.project}" ended before it opened`,meta:{project:r.project,dialecteId:r.dialecteId}}}),t.state.projects.delete(f(r))))}function R(e){let{step:t,project:n}=e,r=K({state:t.state,dialecteId:n.dialecteId,clients:n.clients}),i=n.triedHosts.at(-1);return r.find(e=>!n.triedHosts.includes(e.realm.realmId)&&q({clients:n.clients,candidate:e})>0)??r.find(e=>e.realm.realmId===i)}function z(e){let{step:t}=e;for(let e of t.state.projects.values())e.openDeadline===void 0||e.openDeadline>t.now||(W({step:t,project:e}),k({step:t,project:e}));for(let e of t.state.projects.values())e.idleDeadline===void 0||e.idleDeadline>t.now||(W({step:t,project:e}),t.state.projects.delete(f(e)));for(let e of t.state.holds.values())B({step:t,hold:e})}function B(e){let{step:t,hold:n}=e;for(let e of n.opens.values())e.now+d>t.now||(n.opens.delete(e.realmId),U({step:t,realmId:e.realmId,project:n.project,dialecteId:n.dialecteId,refusal:{origin:`hub`,key:`PROJECT_ENGINE_UNAVAILABLE`,detail:`"${n.project}" is being destroyed and was not done within ${d} ms`,meta:{project:n.project,openBudgetMs:d}}}))}function V(e){let t=e.state.projects.get(f(e));return t?.engine.generation===e.generation?t:void 0}function H(e){let{step:t,project:n,dialecteId:r,clients:i,refusal:a}=e;for(let e of i.keys())U({step:t,realmId:e,project:n,dialecteId:r,refusal:a});i.clear()}function U(e){let{step:t,realmId:n,project:r,dialecteId:i,refusal:a}=e;t.commands.push({type:`refuse-open`,realmId:n,project:r,dialecteId:i,refusal:a})}function W(e){let{step:t,project:n}=e;t.commands.push({type:`release-engine`,project:n.project,dialecteId:n.dialecteId,generation:n.engine.generation,hostRealmId:n.engine.hostRealmId})}function de(e){let t=[...e.state.projects.values()].flatMap(e=>[e.openDeadline,e.idleDeadline].filter(e=>e!==void 0));for(let n of e.state.holds.values())for(let e of n.opens.values())t.push(e.now+d);return t.length>0?Math.min(...t):void 0}function G(e){let{step:t,project:n,realmId:r}=e,{creationId:i}=n.engine;i!==void 0&&(n.expectations.set(r,i),t.commands.push({type:`connect-client`,creationId:i,project:n.project,dialecteId:n.dialecteId,generation:n.engine.generation,realmId:r}))}function K(e){let{state:t,dialecteId:n,clients:r}=e;return[...t.realms.values()].flatMap(e=>fe({realm:e,dialecteId:n})).sort((e,t)=>pe({left:e,right:t,clients:r}))}function fe(e){let{realm:t,dialecteId:n}=e,r=t.spawners.get(n);return r===void 0?[]:[{realm:t,dialecteVersion:r}]}function pe(e){let{left:t,right:n,clients:r}=e;return Number(n.realm.topLevel)-Number(t.realm.topLevel)||q({clients:r,candidate:n})-q({clients:r,candidate:t})||Number(r.has(n.realm.realmId))-Number(r.has(t.realm.realmId))||t.realm.order-n.realm.order}function q(e){let{clients:t,candidate:n}=e;return[...t.values()].filter(e=>e===n.dialecteVersion).length}function me(e={}){let{helloBudgetMs:t=2e4}=e,r=ee(),i={realms:/* @__PURE__ */ new Map,hosts:/* @__PURE__ */ new Map,adoptions:/* @__PURE__ */ new Map,nextAdoptionId:0,bindings:/* @__PURE__ */ new Map,timer:void 0,hubLock:`dialecte:hub:${crypto.randomUUID()}`},a=Ee({name:i.hubLock});a.catch(Te);function o(e){let t=r.handle(e.event);for(let n of t.commands)he({state:i,command:n,hello:e.hello,feed:o});we({state:i,wakeAt:t.wakeAt,feed:o})}function c(e){let{port:n,parentRealmId:r,bindingId:a}=e,s,c=a===void 0?setTimeout(function(){n.onmessage=null,n.close()},t):void 0;n.onmessage=function(e){let t=e.data;if(typeof t?.type==`string`){if(t.type===`hello`){if(s!==void 0)return;clearTimeout(c),s=t.realmId,o({event:{type:`hello`,now:performance.now(),realmId:t.realmId,protocol:t.protocol,topLevel:t.topLevel,spawners:t.spawners,parentRealmId:r},hello:{port:n,bindingId:a}})}else t.type===`port-unused`&&s===void 0?(clearTimeout(c),a!==void 0&&i.bindings.delete(a),n.close()):s!==void 0&&i.realms.get(s)?.port===n&&l({realmId:s,message:t})}}}function l(e){let{realmId:t,message:n}=e,r=performance.now();switch(n.type){case`open`:return o({event:{...n,now:r,realmId:t}});case`spawners`:return o({event:{type:`spawners`,now:r,realmId:t,spawners:n.spawners}});case`ping`:return $({port:i.realms.get(t).port,message:{type:`pong`}});case`files-deleted`:return o({event:{type:`files-deleted`,now:r,realmId:t,project:n.project,dialecteId:n.dialecteId,...n.error!==void 0&&{error:n.error}}});case`destroy-elsewhere`:return o({event:{type:`destroy-elsewhere`,now:r,realmId:t,project:n.project,dialecteId:n.dialecteId,dialecteVersion:n.dialecteVersion}});case`leave`:case`destroy`:case`destroyed`:return o({event:{type:n.type,now:r,realmId:t,project:n.project,dialecteId:n.dialecteId}});case`bind-child`:return i.bindings.set(n.bindingId,{port:n.port,parentRealmId:t,realmId:void 0}),c({port:n.port,parentRealmId:t,bindingId:n.bindingId});case`unbind-child`:return be({state:i,bindingId:n.bindingId,feed:o});case`engine-opened`:return J({state:i,realmId:t,engine:n})?o({event:{type:`engine-opened`,now:r,project:n.project,dialecteId:n.dialecteId,generation:n.generation,creationId:n.creationId}}):void 0;case`engine-ended`:return J({state:i,realmId:t,engine:n})?o({event:{type:`engine-ended`,now:r,project:n.project,dialecteId:n.dialecteId,generation:n.generation}}):void 0;case`engine-open-failed`:return J({state:i,realmId:t,engine:n})?o({event:{type:`engine-open-failed`,now:r,project:n.project,dialecteId:n.dialecteId,generation:n.generation,failure:{key:n.key,error:n.error}}}):void 0;case`client-adopted`:return Se({state:i,realmId:t,adoptionId:n.adoptionId});case`client-adopt-failed`:return Ce({state:i,realmId:t,adoptionId:n.adoptionId,feed:o});default:return}}return{connect:function({port:e}){a.then(function(){c({port:e})},function(t){$({port:e,message:{type:`hello-refused`,error:s({thrown:n(`STORE_CONNECTION_FAILED`,{detail:`The origin's hub could not hold its lock: it welcomes no view`,...t instanceof Error&&{cause:t}})})}}),e.close()})}}}function he(e){let{state:t,command:n,hello:r,feed:i}=e;switch(n.type){case`welcome`:return ge({state:t,realmId:n.realmId,hello:r});case`refuse-hello`:if(!r)return;$({port:r.port,message:{type:`hello-refused`,error:X(n.refusal)}}),r.port.close(),r.bindingId!==void 0&&t.bindings.delete(r.bindingId);return;case`drop-realm`:return _e({state:t,realmId:n.realmId});case`watch-realm-lock`:return ye({state:t,realmId:n.realmId,feed:i});case`spawn-engine`:return t.hosts.set(Z(n),n.realmId),Q({state:t,realmId:n.realmId,message:{type:`spawn-engine`,project:n.project,dialecteId:n.dialecteId,generation:n.generation,openBudgetMs:n.openBudgetMs,...n.expectedCreationId!==void 0&&{expectedCreationId:n.expectedCreationId}}});case`connect-client`:return xe({state:t,project:n.project,dialecteId:n.dialecteId,generation:n.generation,creationId:n.creationId,clientRealmId:n.realmId,feed:i});case`engine-lost`:return Y({state:t,realmId:n.realmId,engine:n}),Q({state:t,realmId:n.realmId,message:{type:`engine-lost`,project:n.project,dialecteId:n.dialecteId,generation:n.generation}});case`refuse-open`:return Y({state:t,realmId:n.realmId,engine:n}),Q({state:t,realmId:n.realmId,message:{type:`open-refused`,project:n.project,dialecteId:n.dialecteId,error:X(n.refusal)}});case`client-gone`:{Y({state:t,realmId:n.realmId,engine:n});let e=t.hosts.get(Z(n));return e===void 0?void 0:Q({state:t,realmId:e,message:{type:`client-gone`,project:n.project,dialecteId:n.dialecteId,generation:n.generation,clientId:n.realmId}})}case`release-engine`:return t.hosts.delete(Z(n)),Q({state:t,realmId:n.hostRealmId,message:{type:`release-engine`,project:n.project,dialecteId:n.dialecteId,generation:n.generation}});case`left`:return Q({state:t,realmId:n.realmId,message:{type:`left`,project:n.project,dialecteId:n.dialecteId}});case`destroy-granted`:return Q({state:t,realmId:n.realmId,message:{type:`destroy-granted`,project:n.project,dialecteId:n.dialecteId}});case`delete-files`:case`destroyed-elsewhere`:return Q({state:t,realmId:n.realmId,message:{type:n.type,project:n.project,dialecteId:n.dialecteId}});case`refuse-destroy`:return Q({state:t,realmId:n.realmId,message:{type:`destroy-refused`,project:n.project,dialecteId:n.dialecteId,error:X(n.refusal)}});default:return n}}function ge(e){let{state:t,realmId:n,hello:r}=e;if(r){if(t.realms.set(n,{realmId:n,port:r.port,watch:void 0}),r.bindingId!==void 0){let e=t.bindings.get(r.bindingId);e&&(e.realmId=n)}$({port:r.port,message:{type:`welcome`,realmId:n,hubLock:t.hubLock}})}}function _e(e){let{state:t,realmId:n}=e,r=t.realms.get(n);if(r){t.realms.delete(n),r.watch?.abort(),ve({state:t,realmId:n})&&$({port:r.port,message:{type:`dropped`}}),r.port.close();for(let[e,r]of t.adoptions)r.clientRealmId===n&&(r.port.close(),t.adoptions.delete(e));for(let[e,r]of t.bindings)r.realmId===n&&t.bindings.delete(e),r.realmId===void 0&&r.parentRealmId===n&&($({port:r.port,message:{type:`hello-refused`,error:X({origin:`hub`,key:`STORE_REALM_UNKNOWN`,detail:`the view that bound this one ("${n}") is gone`,meta:{realmId:n}})}}),r.port.close(),t.bindings.delete(e))}}function ve(e){for(let t of e.state.bindings.values())if(t.realmId===e.realmId)return!0;return!1}function ye(e){let{state:t,realmId:n,feed:r}=e,i=t.realms.get(n);if(!i)return;let a=new AbortController;i.watch=a,navigator.locks.request(`dialecte:realm:${n}`,{signal:a.signal},function(){r({event:{type:`realm-gone`,now:performance.now(),realmId:n}})}).catch(function(e){e?.name!==`AbortError`&&console.error(`The hub could not watch a view for its end:`,e)})}function be(e){let{state:t,bindingId:n,feed:r}=e,i=t.bindings.get(n);i&&(i.realmId===void 0?(t.bindings.delete(n),i.port.close()):(r({event:{type:`realm-gone`,now:performance.now(),realmId:i.realmId}}),t.bindings.delete(n)))}function xe(e){let{state:t,project:n,dialecteId:r,generation:i,creationId:a,clientRealmId:o,feed:s}=e,c=t.hosts.get(Z({project:n,generation:i})),l=c===void 0?void 0:t.realms.get(c);if(c===void 0||!l){queueMicrotask(function(){s({event:{type:`engine-ended`,now:performance.now(),project:n,dialecteId:r,generation:i}})});return}let u=new MessageChannel;t.nextAdoptionId+=1;let d=t.nextAdoptionId;t.adoptions.set(d,{hostRealmId:c,clientRealmId:o,project:n,dialecteId:r,generation:i,creationId:a,port:u.port1}),$({port:l.port,message:{type:`adopt-client`,project:n,dialecteId:r,generation:i,adoptionId:d,clientId:o,port:u.port2},transfer:[u.port2]})}function Se(e){let{state:t,realmId:n,adoptionId:r}=e,i=t.adoptions.get(r);if(i?.hostRealmId!==n)return;t.adoptions.delete(r);let a=t.realms.get(i.clientRealmId);!a||t.hosts.get(Z(i))!==n?i.port.close():$({port:a.port,message:{type:`engine-ready`,project:i.project,dialecteId:i.dialecteId,generation:i.generation,creationId:i.creationId,port:i.port},transfer:[i.port]})}function Ce(e){let{state:t,realmId:n,adoptionId:r,feed:i}=e,a=t.adoptions.get(r);a?.hostRealmId===n&&(t.adoptions.delete(r),a.port.close(),i({event:{type:`engine-ended`,now:performance.now(),project:a.project,dialecteId:a.dialecteId,generation:a.generation}}))}function J(e){return e.state.hosts.get(Z(e.engine))===e.realmId}function Y(e){let{state:t,realmId:n,engine:r}=e;for(let[e,i]of t.adoptions){let a=i.project===r.project&&i.dialecteId===r.dialecteId;i.clientRealmId===n&&a&&(i.port.close(),t.adoptions.delete(e))}}function we(e){let{state:t,wakeAt:n,feed:r}=e;clearTimeout(t.timer),t.timer=void 0,n!==void 0&&(t.timer=setTimeout(function(){t.timer=void 0;let e={type:`tick`,now:performance.now()};r({event:e})},Math.max(0,n-performance.now())))}function X(e){return e.origin===`engine`?e.error:s({thrown:n(e.key,{detail:e.detail,meta:e.meta})})}function Z(e){return`${e.project}#${e.generation}`}function Q(e){let t=e.state.realms.get(e.realmId);t&&$({port:t.port,message:e.message})}function $(e){e.port.postMessage(e.message,e.transfer??[])}function Te(){}function Ee(e){return new Promise(function(t,n){navigator.locks.request(e.name,function(){return t(),new Promise(function(){})}).catch(n)})}let De=me();self.onconnect=function(e){for(let t of e.ports)De.connect({port:t})}})();
@@ -1,98 +0,0 @@
1
- import { W as e } from "./utils-USNkj4sT.js";
2
- // src/store/engine/creation-refusal.ts
3
- function t(t) {
4
- let { project: n, expectedCreationId: r, creationId: i } = t;
5
- r !== void 0 && i !== r && e("PROJECT_DESTROYED_WHILE_AWAY", {
6
- detail: `Project "${n}" was destroyed while this view was away${i === void 0 ? "" : ", and made again since"}: nothing of it was opened`,
7
- meta: { project: n }
8
- });
9
- }
10
- // src/store/sqlite/sqlite-wasm-url.ts
11
- var n = new URL(new URL("sqlite3.wasm", import.meta.url).href, "" + import.meta.url).href;
12
- function r() {
13
- return typeof globalThis.process?.versions?.node == "string" ? void 0 : n;
14
- }
15
- // src/store/sqlite/engine/engine.constants.ts
16
- var i = {
17
- cacheRule: {
18
- mibPerGiB: 64,
19
- floorMiB: 64,
20
- ceilingMiB: 512
21
- },
22
- importWindowMs: 1e3,
23
- reclaimSliceMs: 50,
24
- reclaimPagesPerStatement: 256
25
- }, a = {
26
- dialecteId: "dialecteId",
27
- layoutVersion: "layoutVersion",
28
- creationId: "creationId"
29
- }, o = {
30
- offsetBasis: 2166136261,
31
- prime: 16777619
32
- }, s = {
33
- id: "TEXT NOT NULL UNIQUE",
34
- name: "TEXT NOT NULL",
35
- extension: "TEXT NOT NULL",
36
- configKey: "TEXT NOT NULL",
37
- createdAt: "INTEGER NOT NULL",
38
- metadata: "TEXT",
39
- status: "TEXT NOT NULL",
40
- writeId: "TEXT",
41
- path: "TEXT UNIQUE"
42
- }, c = {
43
- id: "INTEGER PRIMARY KEY AUTOINCREMENT",
44
- documentId: "TEXT NOT NULL",
45
- sequenceNumber: "INTEGER",
46
- timestamp: "INTEGER NOT NULL",
47
- writeId: "TEXT NOT NULL",
48
- state: "INTEGER NOT NULL"
49
- }, l = {
50
- applied: 1,
51
- undone: 0,
52
- discarded: -1
53
- }, u = {
54
- id: "TEXT PRIMARY KEY",
55
- documentId: "TEXT NOT NULL",
56
- entry: "TEXT NOT NULL"
57
- }, d = {
58
- id: "TEXT PRIMARY KEY",
59
- type: "TEXT NOT NULL",
60
- bytes: "BLOB NOT NULL"
61
- }, f = {
62
- id: "TEXT NOT NULL",
63
- tagName: "TEXT NOT NULL",
64
- nsPrefix: "TEXT",
65
- nsUri: "TEXT",
66
- value: "TEXT",
67
- parentId: "TEXT",
68
- parentTagName: "TEXT",
69
- attributes: "TEXT",
70
- children: "TEXT"
71
- }, p = {
72
- id: {
73
- column: "id",
74
- unique: !0
75
- },
76
- tag: {
77
- column: "tagName",
78
- unique: !1
79
- }
80
- }, m = {
81
- create: 0,
82
- before: 1,
83
- after: 2,
84
- delete: 3
85
- }, h = "xch_", g = "_blobData", _ = 1e3, v = ["attributes", "children"], y = Object.keys(f), b = y.join(", "), x = Object.keys(s).join(", "), S = Object.keys(f).map((e, t) => v.includes(e) ? `e.value->${t}` : `e.value->>${t}`), C = Object.keys(f).slice(1).map((e, t) => `${e} = u.c${t + 1}`).join(", "), w = S.map((e, t) => `${e} AS c${t}`).join(", "), T = 1048576, E = [
86
- "registerDocument",
87
- "updateDocument",
88
- "removeDocument",
89
- "bulkWrite",
90
- "commit",
91
- "undo",
92
- "redo",
93
- "addBlob",
94
- "attachBlob",
95
- "detachBlob",
96
- "removeBlob"
97
- ];
98
- export { n as C, h as S, t as T, C as _, i as a, S as b, E as c, T as d, a as f, p as g, y as h, c as i, l, b as m, u as n, s as o, f as p, d as r, x as s, o as t, m as u, _ as v, r as w, g as x, w as y };
package/dist/engine.d.ts DELETED
@@ -1,9 +0,0 @@
1
- /**
2
- * `@dialecte/core/engine` - the entry of a dialecte's engine worker, never imported by the page: a
3
- * dialecte package's worker file calls `serveDialecteEngine({ dialecte })`, and its bundle carries the
4
- * project engine whole (today SQLite on the origin's private file system, with sqlite-wasm and comlink;
5
- * the consumer's one wasm file is handed to it at open). The page reaches that engine through
6
- * `@dialecte/core`, which keeps the database out of the page's bundle.
7
- */
8
- export { serveDialecteEngine } from './store/sqlite/runtime/serve-dialecte-engine';
9
- //# sourceMappingURL=engine.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"engine.d.ts","sourceRoot":"","sources":["../src/engine.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAA"}
@@ -1,76 +0,0 @@
1
- import { W as e } from "./utils-USNkj4sT.js";
2
- var t = Symbol.for("@dialecte/core/sqlite-storage/v1");
3
- // src/store/sqlite-storage.ts
4
- function n(e) {
5
- let n = globalThis;
6
- n[t] ??= e.storage;
7
- }
8
- function r(n) {
9
- let r = globalThis[t];
10
- return r || e("PROJECT_SQLITE_NOT_IMPORTED", {
11
- detail: `Project "${n.project}" asks for SQLite storage, but '@dialecte/core/sqlite' was never imported in this realm: add \`import '@dialecte/core/sqlite'\` to the app's entry (a test runner's setup file for a test on it). Imported already? Then it came from another copy of @dialecte/core whose SQLite storage is of another version than the one opening the project (a dialecte bringing its own core): align the core versions`,
12
- meta: { project: n.project }
13
- }), r;
14
- }
15
- // src/store/closing-connections.ts
16
- function i() {
17
- let e = /* @__PURE__ */ new Map();
18
- return {
19
- markClosing: function({ name: t, until: n }) {
20
- let r = e.get(t) ?? /* @__PURE__ */ new Set();
21
- e.set(t, r);
22
- let i = n.then(a, a);
23
- r.add(i), i.then(function() {
24
- r.delete(i), r.size === 0 && e.get(t) === r && e.delete(t);
25
- });
26
- },
27
- settled: async function({ name: t }) {
28
- for (let n = e.get(t); n; n = e.get(t)) await Promise.all(n);
29
- }
30
- };
31
- }
32
- function a() {}
33
- // src/store/ignore-destroy-outcome.ts
34
- function o() {}
35
- // src/store/open-connections.ts
36
- function s() {
37
- let e = /* @__PURE__ */ new Map();
38
- return {
39
- markOpen: function({ name: t, connection: n }) {
40
- let r = e.get(t) ?? /* @__PURE__ */ new Set();
41
- r.add(n), e.set(t, r);
42
- },
43
- markClosed: function({ name: t, connection: n }) {
44
- let r = e.get(t);
45
- !r?.delete(n) || r.size > 0 || e.delete(t);
46
- },
47
- others: function({ name: t, connection: n }) {
48
- let r = e.get(t);
49
- return r ? r.size - (n !== void 0 && r.has(n) ? 1 : 0) : 0;
50
- }
51
- };
52
- }
53
- // src/store/running-operations.ts
54
- function c() {
55
- let e = 0, t = [];
56
- return {
57
- get count() {
58
- return e;
59
- },
60
- start: function() {
61
- e += 1;
62
- },
63
- end: function() {
64
- if (--e, e > 0) return;
65
- let n = t;
66
- t = [];
67
- for (let e of n) e();
68
- },
69
- whenIdle: function() {
70
- return e === 0 ? Promise.resolve() : new Promise((e) => {
71
- t.push(e);
72
- });
73
- }
74
- };
75
- }
76
- export { n as a, i, s as n, r as o, o as r, c as t };
@@ -1 +0,0 @@
1
- {"version":3,"file":"check-engine-wire.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/client/check-engine-wire.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAOjE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"client.constants.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/client/client.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,2HAA2H;AAC3H,eAAO,MAAM,qBAAqB,QAAS,CAAA;AAE3C;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,QAAS,CAAA;AAE3C,uFAAuF;AACvF,eAAO,MAAM,sBAAsB,OAAQ,CAAA;AAE3C;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,OAAQ,CAAA;AACjD,eAAO,MAAM,0BAA0B,QAAS,CAAA;AAEhD;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,QAAS,CAAA;AAEjD,yHAAyH;AACzH,eAAO,MAAM,UAAU,eAAe,CAAA;AAEtC,yFAAyF;AACzF,eAAO,MAAM,mBAAmB,EAAE,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MAAM,MAAM,cAAc,GAAG;IAC5B,+BAA+B;IAC/B,GAAG,EAAE,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAA;KAAE,KAAK,MAAM,IAAI,CAAA;IAC9E,IAAI,EAAE,MAAM,IAAI,CAAA;CAChB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"engine-client.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/client/engine-client.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAEX,YAAY,EAIZ,MAAM,gBAAgB,CAAA;AAGvB;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IAC1C,IAAI,EAAE,WAAW,CAAA;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC3B,GAAG,YAAY,CA4If"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"engine-control.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/client/engine-control.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAM/C,OAAO,KAAK,EAAE,aAAa,EAAuC,MAAM,gBAAgB,CAAA;AAExF,wFAAwF;AACxF,wBAAgB,mBAAmB,CAAC,MAAM,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,aAAa,CAyE7E;AAgCD;;;GAGG;AACH,wBAAsB,gBAAgB,CAAC,aAAa,EAAE,MAAM,EAAE;IAC7D,OAAO,EAAE,aAAa,CAAA;IACtB,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,CAAA;IAC5B,QAAQ,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,CAAC,aAAa,GAAG,OAAO,UAAU,CAAC,CAW7C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"heartbeat-watch.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/client/heartbeat-watch.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE;IACtC,MAAM,EAAE,WAAW,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,IAAI,CAAA;IAChB,IAAI,CAAC,EAAE,OAAO,CAAA;CACd,GAAG,cAAc,CA8DjB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"hub-connector.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/client/hub-connector.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAc,MAAM,uBAAuB,CAAA;AAIxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAK/D;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,kBAAkB,GAAG,eAAe,CAmE9E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"hub-connector.types.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/client/hub-connector.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,MAAM,kBAAkB,GAAG;IAChC,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,yCAAyC;IACzC,UAAU,EAAE,aAAa,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;IAClB,6FAA6F;IAC7F,eAAe,EAAE,MAAM,CAAA;IACvB,qFAAqF;IACrF,SAAS,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,0EAA0E;IAC1E,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;CACtB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"worker-connector.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/client/worker-connector.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,eAAe,EAAyC,MAAM,uBAAuB,CAAA;AACnG,OAAO,KAAK,EAAa,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChE,OAAO,KAAK,EAMX,qBAAqB,EAErB,MAAM,gBAAgB,CAAA;AAavB;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,eAAe,EACpD,MAAM,EAAE,qBAAqB,CAAC,eAAe,CAAC,GAC5C,eAAe,CAUjB;AA8dD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAElF;AAqBD;;;;;GAKG;AACH,wBAAsB,sBAAsB,CAAC,MAAM,EAAE;IACpD,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,cAAc,CAAA;CACpB,GAAG,OAAO,CAAC,IAAI,CAAC,CAEhB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"creation-refusal.d.ts","sourceRoot":"","sources":["../../../src/store/engine/creation-refusal.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE;IAC3C,OAAO,EAAE,MAAM,CAAA;IACf,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAA;IACtC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;CAC9B,GAAG,IAAI,CAOP"}
@@ -1,18 +0,0 @@
1
- /**
2
- * An engine asked for a project of another dialecte, or of another version of it - what a spawner's address
3
- * pointing at another worker gives: refused `PROJECT_DIALECTE_MISMATCH` or `PROJECT_DIALECTE_VERSION_MISMATCH`,
4
- * naming both. The engine refuses itself before it takes any lock or file; the realm refuses an engine that
5
- * answers otherwise than it asked (ending it, as a failed open). A destroy names no version.
6
- */
7
- export declare function refuseAnotherDialecte(params: {
8
- project: string;
9
- engine: {
10
- dialecteId: string;
11
- dialecteVersion: string;
12
- };
13
- asked: {
14
- dialecteId: string;
15
- dialecteVersion?: string;
16
- };
17
- }): void;
18
- //# sourceMappingURL=dialecte-refusal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dialecte-refusal.d.ts","sourceRoot":"","sources":["../../../src/store/engine/dialecte-refusal.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE;IAC7C,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,eAAe,EAAE,MAAM,CAAA;KAAE,CAAA;IACvD,KAAK,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CACvD,GAAG,IAAI,CAmBP"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"engine-store.d.ts","sourceRoot":"","sources":["../../../src/store/engine/engine-store.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACX,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,KAAK,EAEL,WAAW,EACX,YAAY,EACZ,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAGX,iBAAiB,EAEjB,MAAM,sBAAsB,CAAA;AAI7B,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAKpF;;;;;GAKG;AACH,qBAAa,WAAY,YAAW,KAAK;IACxC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiB;IAC3C,OAAO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BAAmB,GAAG;IAAE,GAAG,CAAC,EAAE,aAAa,CAAA;CAAE,CAAA;AAEzD,wHAAwH;AACxH,MAAM,MAAM,aAAa,GAAG;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAAE,CAAA;AAE5E,gFAAgF;AAChF,MAAM,MAAM,eAAe,GAAG;IAC7B,OAAO,EAAE,MAAM,OAAO,CAAC,UAAU,CAAC,CAAA;IAClC;;;;OAIG;IACH,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,mBAAmB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CACxD,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC/B,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,eAAe,CAAA;CAC1B,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"engine.constants.d.ts","sourceRoot":"","sources":["../../../src/store/engine/engine.constants.ts"],"names":[],"mappings":"AAAA,6GAA6G;AAC7G,eAAO,MAAM,kBAAkB,qBAAqB,CAAA;AAEpD,yGAAyG;AACzG,eAAO,MAAM,aAAa;IACzB,wBAAwB;;IAExB,wGAAwG;;IAExG,kGAAkG;;IAElG,0GAA0G;;CAEjG,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"engine.types.d.ts","sourceRoot":"","sources":["../../../src/store/engine/engine.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,KAAK,EACX,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,KAAK,EACL,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAW3C;;;;GAIG;AAC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AAE,WAAW,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,SAAS,CAAA;IACf,MAAM,EAAE,WAAW,CAAA;IACnB,gGAAgG;IAChG,SAAS,EAAE,SAAS,CAAA;CACpB,GAAG,YAAY,CA+Bf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"heartbeat.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/host/heartbeat.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE/D;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE;IACvC,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CACjD,GAAG,SAAS,CAyCZ;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE;IAClD,SAAS,EAAE,SAAS,CAAA;IACpB,IAAI,EAAE,MAAM,aAAa,CAAA;CACzB,GAAG,aAAa,CAQhB;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE;IACxC,KAAK,EAAE,aAAa,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAA;IACnD,SAAS,EAAE,SAAS,CAAA;CACpB,GAAG,aAAa,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAmC/C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"host.constants.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/host/host.constants.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAC1D,eAAO,MAAM,4BAA4B,OAAQ,CAAA;AAEjD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,OAAQ,CAAA;AAE3C;;;GAGG;AACH,eAAO,MAAM,oBAAoB,QAAS,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"host.types.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/host/host.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAE5D,uGAAuG;AACvG,MAAM,MAAM,cAAc,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,iFAAiF;IACjF,aAAa,EAAE,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,YAAY,CAAA;CAC1D,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,qBAAqB,CAAA;IAC9B,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CACjC,MAAM,CACL,MAAM,SAAS,EACf,CAAC,MAAM,EAAE;IACR,IAAI,EAAE,OAAO,EAAE,CAAA;IACf,KAAK,EAAE,OAAO,CAAA;CACd,KAAK,gBAAgB,CAAC,qBAAqB,EAAE,WAAW,CAAC,GAAG,SAAS,CACtE,CACD,CAAA;AAED,+FAA+F;AAC/F,MAAM,MAAM,aAAa,GAAG;IAC3B,MAAM,EAAE,MAAM,SAAS,CAAA;IACvB,IAAI,EAAE,OAAO,EAAE,CAAA;IACf,KAAK,EAAE,OAAO,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,oDAAoD;AACpD,MAAM,MAAM,WAAW,GAAG;IACzB,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAA;IACzC,KAAK,EAAE,MAAM,IAAI,CAAA;CACjB,CAAA;AAED,wDAAwD;AACxD,MAAM,MAAM,SAAS,GAAG;IACvB,GAAG,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAA;IAChC,MAAM,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAA;IACnC,gEAAgE;IAChE,IAAI,EAAE,MAAM,IAAI,CAAA;IAChB,6FAA6F;IAC7F,IAAI,EAAE,MAAM,IAAI,CAAA;IAChB,iGAAiG;IACjG,IAAI,EAAE,MAAM,IAAI,CAAA;CAChB,CAAA;AAED,2FAA2F;AAC3F,MAAM,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,WAAW,CAAA;IACjB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC5B,CAAA;AAED,6FAA6F;AAC7F,MAAM,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,UAAU,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,OAAO,EAAE,CAAA;CACnB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"store-events.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/host/store-events.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAgB,WAAW,EAAE,MAAM,cAAc,CAAA;AAkE/F;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,aAAa,GAAG,iBAAiB,GAAG,SAAS,CAWjF;AAUD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,QAAQ,CAAC,WAAW,CAAC,CAAA;CAAE,GAAG,WAAW,CAoB7F"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"hub-client.constants.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/hub/hub-client.constants.ts"],"names":[],"mappings":"AAEA,0GAA0G;AAC1G,eAAO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BAAkB,CAAC,EAAE,MAAM,CAAA;CAC1B,GACD;IACA,IAAI,EAAE,cAAc,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,mDAAmD;IACnD,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,WAAW,CAAA;CAChB,GACD;IACA,IAAI,EAAE,aAAa,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;CACf,GACD;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"hub-router.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/hub/hub-router.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EASX,SAAS,EAGT,MAAM,aAAa,CAAA;AAGpB;;;;;GAKG;AACH,wBAAgB,eAAe,IAAI,SAAS,CAe3C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"hub-shell.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/hub/hub-shell.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAEX,QAAQ,EAER,cAAc,EAEd,MAAM,mBAAmB,CAAA;AAG1B;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,CAAC,MAAM,GAAE,cAAmB,GAAG,QAAQ,CA0M9D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"hub-shell.types.d.ts","sourceRoot":"","sources":["../../../../src/store/engine/hub/hub-shell.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAE3C,mFAAmF;AACnF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