@adobe/data 0.9.2 → 0.9.5

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 (875) hide show
  1. package/LICENSE +1 -1
  2. package/assembly/index.wasm.map +1 -1
  3. package/assembly/package.json +1 -0
  4. package/assembly-test/assembly.test.js +1 -21
  5. package/assembly-test/assembly.test.js.map +1 -1
  6. package/blob/blob-handle.js +1 -21
  7. package/blob/blob-handle.js.map +1 -1
  8. package/blob/blob-meta.js.map +1 -1
  9. package/blob/index.js +1 -21
  10. package/blob/index.js.map +1 -1
  11. package/blob/package.json +1 -0
  12. package/cache/async-cache.js +1 -21
  13. package/cache/async-cache.js.map +1 -1
  14. package/cache/blob-store.js +1 -21
  15. package/cache/blob-store.js.map +1 -1
  16. package/cache/blob-store.test.js +1 -21
  17. package/cache/blob-store.test.js.map +1 -1
  18. package/cache/data-cache.js.map +1 -1
  19. package/cache/data-cache.test.js +1 -21
  20. package/cache/data-cache.test.js.map +1 -1
  21. package/cache/expiring-data-cache.js +1 -21
  22. package/cache/expiring-data-cache.js.map +1 -1
  23. package/cache/expiring-data-cache.test.js +1 -21
  24. package/cache/expiring-data-cache.test.js.map +1 -1
  25. package/cache/fallback-async-cache.js.map +1 -1
  26. package/cache/functions/async-data-function.js +1 -21
  27. package/cache/functions/async-data-function.js.map +1 -1
  28. package/cache/functions/functions.test.js +1 -21
  29. package/cache/functions/functions.test.js.map +1 -1
  30. package/cache/functions/get-cached.js +1 -21
  31. package/cache/functions/get-cached.js.map +1 -1
  32. package/cache/functions/get-cached.test.js +1 -21
  33. package/cache/functions/get-cached.test.js.map +1 -1
  34. package/cache/functions/hashing/array-buffer-to-hex.js +1 -21
  35. package/cache/functions/hashing/array-buffer-to-hex.js.map +1 -1
  36. package/cache/functions/hashing/blob-to-hash.js +1 -21
  37. package/cache/functions/hashing/blob-to-hash.js.map +1 -1
  38. package/cache/functions/hashing/buffer-to-hash.js +1 -21
  39. package/cache/functions/hashing/buffer-to-hash.js.map +1 -1
  40. package/cache/functions/hashing/hashing.test.js +1 -21
  41. package/cache/functions/hashing/hashing.test.js.map +1 -1
  42. package/cache/functions/hashing/index.js +1 -21
  43. package/cache/functions/hashing/index.js.map +1 -1
  44. package/cache/functions/hashing/json-to-hash.js +1 -21
  45. package/cache/functions/hashing/json-to-hash.js.map +1 -1
  46. package/cache/functions/hashing/string-to-hash.js +1 -21
  47. package/cache/functions/hashing/string-to-hash.js.map +1 -1
  48. package/cache/functions/index.js +1 -21
  49. package/cache/functions/index.js.map +1 -1
  50. package/cache/functions/memoize.js +1 -21
  51. package/cache/functions/memoize.js.map +1 -1
  52. package/cache/functions/prevent-parallel-execution.js.map +1 -1
  53. package/cache/get-persistent-cache.js.map +1 -1
  54. package/cache/index.js +1 -21
  55. package/cache/index.js.map +1 -1
  56. package/cache/managed-array.js.map +1 -1
  57. package/cache/managed-async-cache.browser.test.js +1 -21
  58. package/cache/managed-async-cache.browser.test.js.map +1 -1
  59. package/cache/managed-async-cache.js.map +1 -1
  60. package/cache/memory-allocator.js +1 -21
  61. package/cache/memory-allocator.js.map +1 -1
  62. package/cache/memory-async-cache.js.map +1 -1
  63. package/cache/package.json +1 -0
  64. package/data.js +1 -21
  65. package/data.js.map +1 -1
  66. package/ecs/archetype/archetype.js.map +1 -1
  67. package/ecs/archetype/create-archetype.js +1 -21
  68. package/ecs/archetype/create-archetype.js.map +1 -1
  69. package/ecs/archetype/create-archetype.test.js +1 -21
  70. package/ecs/archetype/create-archetype.test.js.map +1 -1
  71. package/ecs/archetype/delete-row.js +1 -21
  72. package/ecs/archetype/delete-row.js.map +1 -1
  73. package/ecs/archetype/delete-row.test.js +1 -21
  74. package/ecs/archetype/delete-row.test.js.map +1 -1
  75. package/ecs/archetype/index.js +1 -21
  76. package/ecs/archetype/index.js.map +1 -1
  77. package/ecs/database/calculate-system-order.js +1 -21
  78. package/ecs/database/calculate-system-order.js.map +1 -1
  79. package/ecs/database/calculate-system-order.test.js +1 -21
  80. package/ecs/database/calculate-system-order.test.js.map +1 -1
  81. package/ecs/database/combine-plugins-test.d.ts +39 -0
  82. package/ecs/database/combine-plugins-test.js +3 -0
  83. package/ecs/database/combine-plugins-test.js.map +1 -0
  84. package/ecs/database/combine-plugins.d.ts +24 -0
  85. package/ecs/database/combine-plugins.js +27 -0
  86. package/ecs/database/combine-plugins.js.map +1 -0
  87. package/ecs/database/create-plugin.d.ts +54 -55
  88. package/ecs/database/create-plugin.js +65 -43
  89. package/ecs/database/create-plugin.js.map +1 -1
  90. package/ecs/database/create-plugin.test.js +157 -86
  91. package/ecs/database/create-plugin.test.js.map +1 -1
  92. package/ecs/database/create-plugin.type-test.d.ts +1 -0
  93. package/ecs/database/create-plugin.type-test.js +667 -0
  94. package/ecs/database/create-plugin.type-test.js.map +1 -0
  95. package/ecs/database/database-schema/create-database-schema-test.js +1 -21
  96. package/ecs/database/database-schema/create-database-schema-test.js.map +1 -1
  97. package/ecs/database/database-schema/create-database-schema.d.ts +3 -3
  98. package/ecs/database/database-schema/create-database-schema.js +1 -21
  99. package/ecs/database/database-schema/create-database-schema.js.map +1 -1
  100. package/ecs/database/database-schema/database-schema.d.ts +3 -3
  101. package/ecs/database/database-schema/database-schema.js +1 -21
  102. package/ecs/database/database-schema/database-schema.js.map +1 -1
  103. package/ecs/database/database-schema/index.js +1 -21
  104. package/ecs/database/database-schema/index.js.map +1 -1
  105. package/ecs/database/database.d.ts +34 -46
  106. package/ecs/database/database.js +6 -37
  107. package/ecs/database/database.js.map +1 -1
  108. package/ecs/database/database.test.js +18 -33
  109. package/ecs/database/database.test.js.map +1 -1
  110. package/ecs/database/index.js +1 -21
  111. package/ecs/database/index.js.map +1 -1
  112. package/ecs/database/observe-dependent-value.js +1 -21
  113. package/ecs/database/observe-dependent-value.js.map +1 -1
  114. package/ecs/database/observe-dependent-value.test.js +1 -21
  115. package/ecs/database/observe-dependent-value.test.js.map +1 -1
  116. package/ecs/database/observe-select-entities.js +1 -21
  117. package/ecs/database/observe-select-entities.js.map +1 -1
  118. package/ecs/database/observe-select-entities.performance.test.js +1 -21
  119. package/ecs/database/observe-select-entities.performance.test.js.map +1 -1
  120. package/ecs/database/observe-select-entities.test.js +1 -21
  121. package/ecs/database/observe-select-entities.test.js.map +1 -1
  122. package/ecs/database/observed/create-observed-database.js +1 -17
  123. package/ecs/database/observed/create-observed-database.js.map +1 -1
  124. package/ecs/database/observed/create-observed-database.test.js +6 -6
  125. package/ecs/database/observed/create-observed-database.test.js.map +1 -1
  126. package/ecs/database/observed/observed-database.js +1 -17
  127. package/ecs/database/observed/observed-database.js.map +1 -1
  128. package/ecs/database/public/create-database-from-schema.test.js +1 -21
  129. package/ecs/database/public/create-database-from-schema.test.js.map +1 -1
  130. package/ecs/database/public/create-database-scheduler.test.d.ts +1 -0
  131. package/ecs/database/public/create-database-scheduler.test.js +67 -0
  132. package/ecs/database/public/create-database-scheduler.test.js.map +1 -0
  133. package/ecs/database/public/create-database.d.ts +19 -7
  134. package/ecs/database/public/create-database.js +76 -186
  135. package/ecs/database/public/create-database.js.map +1 -1
  136. package/ecs/database/public/create-database.test.js +190 -180
  137. package/ecs/database/public/create-database.test.js.map +1 -1
  138. package/ecs/database/public/create-database.type-test.d.ts +1 -0
  139. package/ecs/database/public/create-database.type-test.js +160 -0
  140. package/ecs/database/public/create-database.type-test.js.map +1 -0
  141. package/ecs/database/public/index.js +1 -20
  142. package/ecs/database/public/index.js.map +1 -1
  143. package/ecs/database/reconciling/create-reconciling-database.d.ts +2 -2
  144. package/ecs/database/reconciling/create-reconciling-database.js +1 -20
  145. package/ecs/database/reconciling/create-reconciling-database.js.map +1 -1
  146. package/ecs/database/reconciling/create-reconciling-database.test.js +5 -6
  147. package/ecs/database/reconciling/create-reconciling-database.test.js.map +1 -1
  148. package/ecs/database/reconciling/reconciling-database.d.ts +2 -2
  149. package/ecs/database/reconciling/reconciling-database.js +1 -20
  150. package/ecs/database/reconciling/reconciling-database.js.map +1 -1
  151. package/ecs/database/reconciling/reconciling-entry.js +1 -20
  152. package/ecs/database/reconciling/reconciling-entry.js.map +1 -1
  153. package/ecs/database/transactional-store/apply-operations.js.map +1 -1
  154. package/ecs/database/transactional-store/coalesce-actions.js +1 -21
  155. package/ecs/database/transactional-store/coalesce-actions.js.map +1 -1
  156. package/ecs/database/transactional-store/coalesce-actions.test.js +1 -21
  157. package/ecs/database/transactional-store/coalesce-actions.test.js.map +1 -1
  158. package/ecs/database/transactional-store/create-transactional-store.js.map +1 -1
  159. package/ecs/database/transactional-store/create-transactional-store.test.js +1 -21
  160. package/ecs/database/transactional-store/create-transactional-store.test.js.map +1 -1
  161. package/ecs/database/transactional-store/index.js +1 -21
  162. package/ecs/database/transactional-store/index.js.map +1 -1
  163. package/ecs/database/transactional-store/patch-entity-values.js.map +1 -1
  164. package/ecs/database/transactional-store/transaction-options.js +1 -21
  165. package/ecs/database/transactional-store/transaction-options.js.map +1 -1
  166. package/ecs/database/transactional-store/transactional-store.js +1 -21
  167. package/ecs/database/transactional-store/transactional-store.js.map +1 -1
  168. package/ecs/database/type-inference-example.js +1 -0
  169. package/ecs/database/type-inference-example.js.map +1 -1
  170. package/ecs/database/undoable.js +1 -21
  171. package/ecs/database/undoable.js.map +1 -1
  172. package/ecs/entity-location-table/create-entity-location-table.js +1 -21
  173. package/ecs/entity-location-table/create-entity-location-table.js.map +1 -1
  174. package/ecs/entity-location-table/create-entity-location-table.test.js +1 -21
  175. package/ecs/entity-location-table/create-entity-location-table.test.js.map +1 -1
  176. package/ecs/entity-location-table/entity-location.js.map +1 -1
  177. package/ecs/entity-location-table/index.js +1 -21
  178. package/ecs/entity-location-table/index.js.map +1 -1
  179. package/ecs/entity.js.map +1 -1
  180. package/ecs/index.d.ts +1 -2
  181. package/ecs/index.js +2 -22
  182. package/ecs/index.js.map +1 -1
  183. package/ecs/package.json +1 -0
  184. package/ecs/persistence-service/create-storage-persistence-service.js +1 -21
  185. package/ecs/persistence-service/create-storage-persistence-service.js.map +1 -1
  186. package/ecs/persistence-service/index.js +1 -21
  187. package/ecs/persistence-service/index.js.map +1 -1
  188. package/ecs/plugins/index.js +1 -21
  189. package/ecs/plugins/index.js.map +1 -1
  190. package/ecs/plugins/scheduler/index.js +1 -21
  191. package/ecs/plugins/scheduler/index.js.map +1 -1
  192. package/ecs/plugins/scheduler/scheduler.d.ts +7 -4
  193. package/ecs/plugins/scheduler/scheduler.js +18 -24
  194. package/ecs/plugins/scheduler/scheduler.js.map +1 -1
  195. package/ecs/resource-schemas.js +1 -21
  196. package/ecs/resource-schemas.js.map +1 -1
  197. package/ecs/store/action-functions.d.ts +9 -10
  198. package/ecs/store/action-functions.js +1 -0
  199. package/ecs/store/action-functions.js.map +1 -1
  200. package/ecs/store/archetype-components.d.ts +4 -2
  201. package/ecs/store/archetype-components.js +1 -21
  202. package/ecs/store/archetype-components.js.map +1 -1
  203. package/ecs/store/components.js +1 -21
  204. package/ecs/store/components.js.map +1 -1
  205. package/ecs/store/core/core.js +1 -21
  206. package/ecs/store/core/core.js.map +1 -1
  207. package/ecs/store/core/create-core.js +1 -21
  208. package/ecs/store/core/create-core.js.map +1 -1
  209. package/ecs/store/core/create-core.test.js +1 -21
  210. package/ecs/store/core/create-core.test.js.map +1 -1
  211. package/ecs/store/core/index.js +1 -21
  212. package/ecs/store/core/index.js.map +1 -1
  213. package/ecs/store/core/select-entities.js +1 -21
  214. package/ecs/store/core/select-entities.js.map +1 -1
  215. package/ecs/store/core/select-entities.test.js +1 -21
  216. package/ecs/store/core/select-entities.test.js.map +1 -1
  217. package/ecs/store/create-store-schema-test.js +1 -21
  218. package/ecs/store/create-store-schema-test.js.map +1 -1
  219. package/ecs/store/entity-select-options.js +1 -21
  220. package/ecs/store/entity-select-options.js.map +1 -1
  221. package/ecs/store/index.js +1 -21
  222. package/ecs/store/index.js.map +1 -1
  223. package/ecs/store/public/create-store.d.ts +1 -2
  224. package/ecs/store/public/create-store.js +1 -21
  225. package/ecs/store/public/create-store.js.map +1 -1
  226. package/ecs/store/public/create-store.test.js +1 -21
  227. package/ecs/store/public/create-store.test.js.map +1 -1
  228. package/ecs/store/resource-components.js +1 -21
  229. package/ecs/store/resource-components.js.map +1 -1
  230. package/ecs/store/store.d.ts +5 -5
  231. package/ecs/store/store.js.map +1 -1
  232. package/ecs/store/store.test.js +1 -21
  233. package/ecs/store/store.test.js.map +1 -1
  234. package/ecs/store/transaction-functions.d.ts +21 -0
  235. package/ecs/store/transaction-functions.js +2 -0
  236. package/ecs/store/transaction-functions.js.map +1 -0
  237. package/ecs/undo-redo-service/create-undo-redo-service.js +1 -21
  238. package/ecs/undo-redo-service/create-undo-redo-service.js.map +1 -1
  239. package/ecs/undo-redo-service/create-undo-redo-service.test.js +1 -21
  240. package/ecs/undo-redo-service/create-undo-redo-service.test.js.map +1 -1
  241. package/ecs/undo-redo-service/index.js +1 -21
  242. package/ecs/undo-redo-service/index.js.map +1 -1
  243. package/ecs/undo-redo-service/undo-redo-service.js +1 -21
  244. package/ecs/undo-redo-service/undo-redo-service.js.map +1 -1
  245. package/equals-shallow.js +1 -21
  246. package/equals-shallow.js.map +1 -1
  247. package/equals-shallow.test.js +1 -21
  248. package/equals-shallow.test.js.map +1 -1
  249. package/equals.js +1 -21
  250. package/equals.js.map +1 -1
  251. package/equals.test.js +1 -21
  252. package/equals.test.js.map +1 -1
  253. package/functions/apply-args.js +1 -21
  254. package/functions/apply-args.js.map +1 -1
  255. package/functions/blit.js +1 -21
  256. package/functions/blit.js.map +1 -1
  257. package/functions/copy-view-bytes.js +1 -21
  258. package/functions/copy-view-bytes.js.map +1 -1
  259. package/functions/index.js +1 -21
  260. package/functions/index.js.map +1 -1
  261. package/functions/merge-patch.js.map +1 -1
  262. package/functions/merge-patch.test.js +1 -21
  263. package/functions/merge-patch.test.js.map +1 -1
  264. package/functions/package.json +1 -0
  265. package/functions/serialization/codec.js +1 -21
  266. package/functions/serialization/codec.js.map +1 -1
  267. package/functions/serialization/index.js +1 -21
  268. package/functions/serialization/index.js.map +1 -1
  269. package/functions/serialization/register-blob-codecs.js.map +1 -1
  270. package/functions/serialization/register-typed-array-codecs.js.map +1 -1
  271. package/functions/serialization/serialization.test.js +1 -21
  272. package/functions/serialization/serialization.test.js.map +1 -1
  273. package/functions/serialization/serialize-to-blobs.js +1 -21
  274. package/functions/serialization/serialize-to-blobs.js.map +1 -1
  275. package/functions/serialization/serialize-to-blobs.test.js +1 -21
  276. package/functions/serialization/serialize-to-blobs.test.js.map +1 -1
  277. package/functions/serialization/serialize-to-json.js +1 -21
  278. package/functions/serialization/serialize-to-json.js.map +1 -1
  279. package/functions/serialization/serialize-to-json.test.js +1 -21
  280. package/functions/serialization/serialize-to-json.test.js.map +1 -1
  281. package/functions/serialization/serialize-to-storage.js +1 -21
  282. package/functions/serialization/serialize-to-storage.js.map +1 -1
  283. package/functions/serialization/serialize-to-storage.test.js +1 -21
  284. package/functions/serialization/serialize-to-storage.test.js.map +1 -1
  285. package/functions/serialization/serialize.js +1 -21
  286. package/functions/serialization/serialize.js.map +1 -1
  287. package/index.js +1 -21
  288. package/index.js.map +1 -1
  289. package/internal/array/index.js +1 -21
  290. package/internal/array/index.js.map +1 -1
  291. package/internal/array/topological-sort.js +1 -21
  292. package/internal/array/topological-sort.js.map +1 -1
  293. package/internal/array/topological-sort.test.js +1 -21
  294. package/internal/array/topological-sort.test.js.map +1 -1
  295. package/internal/array-buffer-like/copy.js +1 -21
  296. package/internal/array-buffer-like/copy.js.map +1 -1
  297. package/internal/array-buffer-like/index.js +1 -21
  298. package/internal/array-buffer-like/index.js.map +1 -1
  299. package/internal/array-buffer-like/is-array-buffer.js +1 -21
  300. package/internal/array-buffer-like/is-array-buffer.js.map +1 -1
  301. package/internal/array-buffer-like/is-shared-array-buffer.js +1 -21
  302. package/internal/array-buffer-like/is-shared-array-buffer.js.map +1 -1
  303. package/internal/array-buffer-like/resize.js +1 -21
  304. package/internal/array-buffer-like/resize.js.map +1 -1
  305. package/internal/async-generator/is-async-generator.js +1 -21
  306. package/internal/async-generator/is-async-generator.js.map +1 -1
  307. package/internal/data-view-32/create-data-view-32.js.map +1 -1
  308. package/internal/data-view-32/index.js +1 -21
  309. package/internal/data-view-32/index.js.map +1 -1
  310. package/internal/function/debounce.js +1 -21
  311. package/internal/function/debounce.js.map +1 -1
  312. package/internal/function/debounce.test.js +1 -21
  313. package/internal/function/debounce.test.js.map +1 -1
  314. package/internal/function/memoize-factory.js +1 -21
  315. package/internal/function/memoize-factory.js.map +1 -1
  316. package/internal/object/index.js +1 -21
  317. package/internal/object/index.js.map +1 -1
  318. package/internal/object/map-entries.js +1 -21
  319. package/internal/object/map-entries.js.map +1 -1
  320. package/internal/promise/is-promise.js +1 -21
  321. package/internal/promise/is-promise.js.map +1 -1
  322. package/internal/shared-array-buffer/create-shared-array-buffer.js +1 -21
  323. package/internal/shared-array-buffer/create-shared-array-buffer.js.map +1 -1
  324. package/internal/typed-array/get-byte-size.js.map +1 -1
  325. package/internal/typed-array/index.js +1 -21
  326. package/internal/typed-array/index.js.map +1 -1
  327. package/is-data.js +1 -21
  328. package/is-data.js.map +1 -1
  329. package/lit/decorators/apply-decorator.js +1 -21
  330. package/lit/decorators/apply-decorator.js.map +1 -1
  331. package/lit/decorators/apply-service-decorators.js +1 -21
  332. package/lit/decorators/apply-service-decorators.js.map +1 -1
  333. package/lit/decorators/index.js +1 -21
  334. package/lit/decorators/index.js.map +1 -1
  335. package/lit/decorators/require-service.js +1 -21
  336. package/lit/decorators/require-service.js.map +1 -1
  337. package/lit/elements/application-element copy.d.ts +9 -0
  338. package/lit/elements/application-element copy.js +62 -0
  339. package/lit/elements/application-element copy.js.map +1 -0
  340. package/lit/elements/application-element.js +1 -21
  341. package/lit/elements/application-element.js.map +1 -1
  342. package/lit/elements/application-host.js +1 -21
  343. package/lit/elements/application-host.js.map +1 -1
  344. package/lit/elements/database-element.d.ts +10 -0
  345. package/lit/elements/database-element.js +40 -0
  346. package/lit/elements/database-element.js.map +1 -0
  347. package/lit/elements/index.d.ts +1 -0
  348. package/lit/elements/index.js +2 -21
  349. package/lit/elements/index.js.map +1 -1
  350. package/lit/functions/index.js +1 -21
  351. package/lit/functions/index.js.map +1 -1
  352. package/lit/functions/iterate-self-and-ancestors.js +1 -21
  353. package/lit/functions/iterate-self-and-ancestors.js.map +1 -1
  354. package/lit/hooks/attach-decorator.js +1 -21
  355. package/lit/hooks/attach-decorator.js.map +1 -1
  356. package/lit/hooks/component/component.js +1 -21
  357. package/lit/hooks/component/component.js.map +1 -1
  358. package/lit/hooks/component/stack.js +1 -21
  359. package/lit/hooks/component/stack.js.map +1 -1
  360. package/lit/hooks/index.js +1 -21
  361. package/lit/hooks/index.js.map +1 -1
  362. package/lit/hooks/use-connected.js +1 -21
  363. package/lit/hooks/use-connected.js.map +1 -1
  364. package/lit/hooks/use-debounce.js +1 -21
  365. package/lit/hooks/use-debounce.js.map +1 -1
  366. package/lit/hooks/use-drag-observe.js +1 -21
  367. package/lit/hooks/use-drag-observe.js.map +1 -1
  368. package/lit/hooks/use-drag-transaction.d.ts +1 -1
  369. package/lit/hooks/use-drag-transaction.js +1 -21
  370. package/lit/hooks/use-drag-transaction.js.map +1 -1
  371. package/lit/hooks/use-draggable.js +1 -21
  372. package/lit/hooks/use-draggable.js.map +1 -1
  373. package/lit/hooks/use-effect.js +1 -21
  374. package/lit/hooks/use-effect.js.map +1 -1
  375. package/lit/hooks/use-element.js +1 -21
  376. package/lit/hooks/use-element.js.map +1 -1
  377. package/lit/hooks/use-memo.js +1 -21
  378. package/lit/hooks/use-memo.js.map +1 -1
  379. package/lit/hooks/use-observable-values.js +1 -21
  380. package/lit/hooks/use-observable-values.js.map +1 -1
  381. package/lit/hooks/use-observable.js +1 -21
  382. package/lit/hooks/use-observable.js.map +1 -1
  383. package/lit/hooks/use-ref.js +1 -21
  384. package/lit/hooks/use-ref.js.map +1 -1
  385. package/lit/hooks/use-resize-observer.js +1 -21
  386. package/lit/hooks/use-resize-observer.js.map +1 -1
  387. package/lit/hooks/use-state.js +1 -21
  388. package/lit/hooks/use-state.js.map +1 -1
  389. package/lit/hooks/use-updated.js +1 -21
  390. package/lit/hooks/use-updated.js.map +1 -1
  391. package/lit/hooks/use-window-event.js +1 -21
  392. package/lit/hooks/use-window-event.js.map +1 -1
  393. package/lit/hooks/with-hooks.js +1 -21
  394. package/lit/hooks/with-hooks.js.map +1 -1
  395. package/lit/index.js +1 -21
  396. package/lit/index.js.map +1 -1
  397. package/lit/package.json +1 -0
  398. package/math/aabb/center.js.map +1 -1
  399. package/math/aabb/face/aabb-face.test.js +1 -21
  400. package/math/aabb/face/aabb-face.test.js.map +1 -1
  401. package/math/aabb/face/functions.js +1 -21
  402. package/math/aabb/face/functions.js.map +1 -1
  403. package/math/aabb/face/index.js +1 -21
  404. package/math/aabb/face/index.js.map +1 -1
  405. package/math/aabb/face/public.js +1 -21
  406. package/math/aabb/face/public.js.map +1 -1
  407. package/math/aabb/face/schema.js +1 -21
  408. package/math/aabb/face/schema.js.map +1 -1
  409. package/math/aabb/index.js +1 -21
  410. package/math/aabb/index.js.map +1 -1
  411. package/math/aabb/layout.js +1 -21
  412. package/math/aabb/layout.js.map +1 -1
  413. package/math/aabb/line-intersection.js.map +1 -1
  414. package/math/aabb/line-intersection.test.js +1 -21
  415. package/math/aabb/line-intersection.test.js.map +1 -1
  416. package/math/aabb/public.js +1 -21
  417. package/math/aabb/public.js.map +1 -1
  418. package/math/aabb/schema.js +1 -21
  419. package/math/aabb/schema.js.map +1 -1
  420. package/math/aabb/unit.js.map +1 -1
  421. package/math/constants.js +1 -21
  422. package/math/constants.js.map +1 -1
  423. package/math/f32/index.js +1 -21
  424. package/math/f32/index.js.map +1 -1
  425. package/math/f32/public.js +1 -21
  426. package/math/f32/public.js.map +1 -1
  427. package/math/f32/schema.js +1 -21
  428. package/math/f32/schema.js.map +1 -1
  429. package/math/f64/index.js.map +1 -1
  430. package/math/f64/public.js +1 -21
  431. package/math/f64/public.js.map +1 -1
  432. package/math/f64/schema.js.map +1 -1
  433. package/math/i32/index.js +1 -21
  434. package/math/i32/index.js.map +1 -1
  435. package/math/i32/public.js +1 -21
  436. package/math/i32/public.js.map +1 -1
  437. package/math/i32/schema.js +1 -21
  438. package/math/i32/schema.js.map +1 -1
  439. package/math/index.js +1 -21
  440. package/math/index.js.map +1 -1
  441. package/math/line2/functions.js +1 -21
  442. package/math/line2/functions.js.map +1 -1
  443. package/math/line2/index.js +1 -21
  444. package/math/line2/index.js.map +1 -1
  445. package/math/line2/intersects.test.js +1 -21
  446. package/math/line2/intersects.test.js.map +1 -1
  447. package/math/line2/layout.js +1 -21
  448. package/math/line2/layout.js.map +1 -1
  449. package/math/line2/public.js +1 -21
  450. package/math/line2/public.js.map +1 -1
  451. package/math/line2/schema.js +1 -21
  452. package/math/line2/schema.js.map +1 -1
  453. package/math/line3/closest-point-on-line.test.js +1 -21
  454. package/math/line3/closest-point-on-line.test.js.map +1 -1
  455. package/math/line3/functions.js +1 -21
  456. package/math/line3/functions.js.map +1 -1
  457. package/math/line3/index.js +1 -21
  458. package/math/line3/index.js.map +1 -1
  459. package/math/line3/interpolate.test.js +1 -21
  460. package/math/line3/interpolate.test.js.map +1 -1
  461. package/math/line3/layout.js +1 -21
  462. package/math/line3/layout.js.map +1 -1
  463. package/math/line3/public.js +1 -21
  464. package/math/line3/public.js.map +1 -1
  465. package/math/line3/schema.js +1 -21
  466. package/math/line3/schema.js.map +1 -1
  467. package/math/line3/sub-line.test.js +1 -21
  468. package/math/line3/sub-line.test.js.map +1 -1
  469. package/math/mat4x4/functions.js +1 -21
  470. package/math/mat4x4/functions.js.map +1 -1
  471. package/math/mat4x4/index.js +1 -21
  472. package/math/mat4x4/index.js.map +1 -1
  473. package/math/mat4x4/layout.js +1 -21
  474. package/math/mat4x4/layout.js.map +1 -1
  475. package/math/mat4x4/public.js +1 -21
  476. package/math/mat4x4/public.js.map +1 -1
  477. package/math/mat4x4/schema.js +1 -21
  478. package/math/mat4x4/schema.js.map +1 -1
  479. package/math/package.json +1 -0
  480. package/math/plane/functions.js +1 -21
  481. package/math/plane/functions.js.map +1 -1
  482. package/math/plane/index.js +1 -21
  483. package/math/plane/index.js.map +1 -1
  484. package/math/plane/layout.js +1 -21
  485. package/math/plane/layout.js.map +1 -1
  486. package/math/plane/plane.test.js +1 -21
  487. package/math/plane/plane.test.js.map +1 -1
  488. package/math/plane/public.js +1 -21
  489. package/math/plane/public.js.map +1 -1
  490. package/math/plane/schema.js +1 -21
  491. package/math/plane/schema.js.map +1 -1
  492. package/math/quat/constants/functions.js +1 -21
  493. package/math/quat/constants/functions.js.map +1 -1
  494. package/math/quat/functions.js +1 -21
  495. package/math/quat/functions.js.map +1 -1
  496. package/math/quat/index.js +1 -21
  497. package/math/quat/index.js.map +1 -1
  498. package/math/quat/layout.js +1 -21
  499. package/math/quat/layout.js.map +1 -1
  500. package/math/quat/public.js +1 -21
  501. package/math/quat/public.js.map +1 -1
  502. package/math/quat/schema.js +1 -21
  503. package/math/quat/schema.js.map +1 -1
  504. package/math/u32/index.js +1 -21
  505. package/math/u32/index.js.map +1 -1
  506. package/math/u32/public.js +1 -21
  507. package/math/u32/public.js.map +1 -1
  508. package/math/u32/schema.js +1 -21
  509. package/math/u32/schema.js.map +1 -1
  510. package/math/vec2/functions.js +1 -21
  511. package/math/vec2/functions.js.map +1 -1
  512. package/math/vec2/index.js +1 -21
  513. package/math/vec2/index.js.map +1 -1
  514. package/math/vec2/layout.js +1 -21
  515. package/math/vec2/layout.js.map +1 -1
  516. package/math/vec2/public.js +1 -21
  517. package/math/vec2/public.js.map +1 -1
  518. package/math/vec2/schema.js +1 -21
  519. package/math/vec2/schema.js.map +1 -1
  520. package/math/vec3/functions.js +1 -21
  521. package/math/vec3/functions.js.map +1 -1
  522. package/math/vec3/index.js +1 -21
  523. package/math/vec3/index.js.map +1 -1
  524. package/math/vec3/layout.js +1 -21
  525. package/math/vec3/layout.js.map +1 -1
  526. package/math/vec3/public.js +1 -21
  527. package/math/vec3/public.js.map +1 -1
  528. package/math/vec3/schema.js +1 -21
  529. package/math/vec3/schema.js.map +1 -1
  530. package/math/vec4/functions.js +1 -21
  531. package/math/vec4/functions.js.map +1 -1
  532. package/math/vec4/index.js +1 -21
  533. package/math/vec4/index.js.map +1 -1
  534. package/math/vec4/layout.js +1 -21
  535. package/math/vec4/layout.js.map +1 -1
  536. package/math/vec4/public.js +1 -21
  537. package/math/vec4/public.js.map +1 -1
  538. package/math/vec4/schema.js +1 -21
  539. package/math/vec4/schema.js.map +1 -1
  540. package/mutable-clone.js +1 -21
  541. package/mutable-clone.js.map +1 -1
  542. package/mutable.js +1 -21
  543. package/mutable.js.map +1 -1
  544. package/normalize.js +1 -21
  545. package/normalize.js.map +1 -1
  546. package/normalize.test.js +1 -21
  547. package/normalize.test.js.map +1 -1
  548. package/observe/create-event.js.map +1 -1
  549. package/observe/create-persisted-state.js.map +1 -1
  550. package/observe/create-persisted-state.test.js +1 -21
  551. package/observe/create-persisted-state.test.js.map +1 -1
  552. package/observe/create-query-state.js +1 -21
  553. package/observe/create-query-state.js.map +1 -1
  554. package/observe/create-state.js.map +1 -1
  555. package/observe/from-array.js +1 -21
  556. package/observe/from-array.js.map +1 -1
  557. package/observe/from-constant.js.map +1 -1
  558. package/observe/from-element-id.js +1 -21
  559. package/observe/from-element-id.js.map +1 -1
  560. package/observe/from-element-properties-and-events.js.map +1 -1
  561. package/observe/from-element-property.js +1 -21
  562. package/observe/from-element-property.js.map +1 -1
  563. package/observe/from-promise-with-error.js.map +1 -1
  564. package/observe/from-promise.js.map +1 -1
  565. package/observe/from-properties.js.map +1 -1
  566. package/observe/index.js +1 -21
  567. package/observe/index.js.map +1 -1
  568. package/observe/observe.test.js +1 -21
  569. package/observe/observe.test.js.map +1 -1
  570. package/observe/package.json +1 -0
  571. package/observe/public.js +1 -21
  572. package/observe/public.js.map +1 -1
  573. package/observe/to-async-generator.js +1 -21
  574. package/observe/to-async-generator.js.map +1 -1
  575. package/observe/to-async-generator.test.js +1 -21
  576. package/observe/to-async-generator.test.js.map +1 -1
  577. package/observe/to-promise.js.map +1 -1
  578. package/observe/to-properties.js.map +1 -1
  579. package/observe/with-async-map.js.map +1 -1
  580. package/observe/with-batch.js.map +1 -1
  581. package/observe/with-batch.test.js +1 -21
  582. package/observe/with-batch.test.js.map +1 -1
  583. package/observe/with-cache.js.map +1 -1
  584. package/observe/with-copy.js.map +1 -1
  585. package/observe/with-deduplicate-data.js.map +1 -1
  586. package/observe/with-deduplicate.js.map +1 -1
  587. package/observe/with-default.js.map +1 -1
  588. package/observe/with-filter.js.map +1 -1
  589. package/observe/with-filter.test.js +1 -21
  590. package/observe/with-filter.test.js.map +1 -1
  591. package/observe/with-lazy.js.map +1 -1
  592. package/observe/with-lazy.test.js +1 -21
  593. package/observe/with-lazy.test.js.map +1 -1
  594. package/observe/with-map-data.js +1 -21
  595. package/observe/with-map-data.js.map +1 -1
  596. package/observe/with-map.js.map +1 -1
  597. package/observe/with-optional.js.map +1 -1
  598. package/observe/with-unwrap.js.map +1 -1
  599. package/old-ecs/action-ecs/action-ecs.js +1 -21
  600. package/old-ecs/action-ecs/action-ecs.js.map +1 -1
  601. package/old-ecs/action-ecs/action-ecs.test.js +1 -21
  602. package/old-ecs/action-ecs/action-ecs.test.js.map +1 -1
  603. package/old-ecs/action-ecs/action-types.js.map +1 -1
  604. package/old-ecs/action-ecs/index.js +1 -21
  605. package/old-ecs/action-ecs/index.js.map +1 -1
  606. package/old-ecs/action-ecs/sequential-action.js +1 -21
  607. package/old-ecs/action-ecs/sequential-action.js.map +1 -1
  608. package/old-ecs/core-ecs/core-ecs-serialization.test.js +1 -21
  609. package/old-ecs/core-ecs/core-ecs-serialization.test.js.map +1 -1
  610. package/old-ecs/core-ecs/core-ecs-types.js +1 -21
  611. package/old-ecs/core-ecs/core-ecs-types.js.map +1 -1
  612. package/old-ecs/core-ecs/core-ecs.js +1 -21
  613. package/old-ecs/core-ecs/core-ecs.js.map +1 -1
  614. package/old-ecs/core-ecs/core-ecs.test.js +1 -21
  615. package/old-ecs/core-ecs/core-ecs.test.js.map +1 -1
  616. package/old-ecs/ecs/ecs-types.js +1 -21
  617. package/old-ecs/ecs/ecs-types.js.map +1 -1
  618. package/old-ecs/ecs/ecs-where-functions.js +1 -21
  619. package/old-ecs/ecs/ecs-where-functions.js.map +1 -1
  620. package/old-ecs/ecs/ecs.js.map +1 -1
  621. package/old-ecs/ecs/ecs.test.js +1 -21
  622. package/old-ecs/ecs/ecs.test.js.map +1 -1
  623. package/old-ecs/ecs/index.js +1 -21
  624. package/old-ecs/ecs/index.js.map +1 -1
  625. package/old-ecs/entity.js.map +1 -1
  626. package/old-ecs/index.js +1 -21
  627. package/old-ecs/index.js.map +1 -1
  628. package/old-ecs/package.json +1 -0
  629. package/old-ecs/transaction-ecs/index.js +1 -21
  630. package/old-ecs/transaction-ecs/index.js.map +1 -1
  631. package/old-ecs/transaction-ecs/transaction-ecs.js.map +1 -1
  632. package/old-ecs/transaction-ecs/transaction-ecs.test.js +1 -21
  633. package/old-ecs/transaction-ecs/transaction-ecs.test.js.map +1 -1
  634. package/old-ecs/transaction-ecs/transactions.js +1 -21
  635. package/old-ecs/transaction-ecs/transactions.js.map +1 -1
  636. package/package.json +111 -3
  637. package/perftest/ecs-perf.js +1 -21
  638. package/perftest/ecs-perf.js.map +1 -1
  639. package/perftest/helper-functions.js +1 -21
  640. package/perftest/helper-functions.js.map +1 -1
  641. package/perftest/horizon-perf.js +1 -21
  642. package/perftest/horizon-perf.js.map +1 -1
  643. package/perftest/index.js +1 -21
  644. package/perftest/index.js.map +1 -1
  645. package/perftest/package.json +1 -0
  646. package/perftest/perf-test.js.map +1 -1
  647. package/perftest/vanilla-perf.js +1 -21
  648. package/perftest/vanilla-perf.js.map +1 -1
  649. package/samples/index.js +1 -21
  650. package/samples/index.js.map +1 -1
  651. package/samples/package.json +1 -0
  652. package/samples/todo/elements/todo-list/todo-list-presentation.js.map +1 -1
  653. package/samples/todo/elements/todo-list/todo-list.css.js +1 -21
  654. package/samples/todo/elements/todo-list/todo-list.css.js.map +1 -1
  655. package/samples/todo/elements/todo-list/todo-list.js +1 -21
  656. package/samples/todo/elements/todo-list/todo-list.js.map +1 -1
  657. package/samples/todo/elements/todo-row/index.js +1 -21
  658. package/samples/todo/elements/todo-row/index.js.map +1 -1
  659. package/samples/todo/elements/todo-row/todo-row-presentation.js +1 -21
  660. package/samples/todo/elements/todo-row/todo-row-presentation.js.map +1 -1
  661. package/samples/todo/elements/todo-row/todo-row.css.js +1 -21
  662. package/samples/todo/elements/todo-row/todo-row.css.js.map +1 -1
  663. package/samples/todo/elements/todo-row/todo-row.js +1 -21
  664. package/samples/todo/elements/todo-row/todo-row.js.map +1 -1
  665. package/samples/todo/elements/todo-toolbar/index.js +1 -21
  666. package/samples/todo/elements/todo-toolbar/index.js.map +1 -1
  667. package/samples/todo/elements/todo-toolbar/todo-toolbar-presentation.js +1 -21
  668. package/samples/todo/elements/todo-toolbar/todo-toolbar-presentation.js.map +1 -1
  669. package/samples/todo/elements/todo-toolbar/todo-toolbar.css.js +1 -21
  670. package/samples/todo/elements/todo-toolbar/todo-toolbar.css.js.map +1 -1
  671. package/samples/todo/elements/todo-toolbar/todo-toolbar.js +1 -21
  672. package/samples/todo/elements/todo-toolbar/todo-toolbar.js.map +1 -1
  673. package/samples/todo/elements/todo-undo-redo/index.js +1 -21
  674. package/samples/todo/elements/todo-undo-redo/index.js.map +1 -1
  675. package/samples/todo/elements/todo-undo-redo/todo-undo-redo-presentation.js +1 -21
  676. package/samples/todo/elements/todo-undo-redo/todo-undo-redo-presentation.js.map +1 -1
  677. package/samples/todo/elements/todo-undo-redo/todo-undo-redo.css.js +1 -21
  678. package/samples/todo/elements/todo-undo-redo/todo-undo-redo.css.js.map +1 -1
  679. package/samples/todo/elements/todo-undo-redo/todo-undo-redo.js +1 -21
  680. package/samples/todo/elements/todo-undo-redo/todo-undo-redo.js.map +1 -1
  681. package/samples/todo/services/dependent-state-service/create-dependent-state-service.js +1 -21
  682. package/samples/todo/services/dependent-state-service/create-dependent-state-service.js.map +1 -1
  683. package/samples/todo/services/dependent-state-service/dependent-state/all-todos.js.map +1 -1
  684. package/samples/todo/services/dependent-state-service/dependent-state/complete-todos.js.map +1 -1
  685. package/samples/todo/services/dependent-state-service/dependent-state/incomplete-todos.js.map +1 -1
  686. package/samples/todo/services/dependent-state-service/dependent-state/index.js +1 -21
  687. package/samples/todo/services/dependent-state-service/dependent-state/index.js.map +1 -1
  688. package/samples/todo/services/main-service/create-main-service.js.map +1 -1
  689. package/samples/todo/services/state-service/create-todo-database.d.ts +1 -1
  690. package/samples/todo/services/state-service/create-todo-database.js +1 -21
  691. package/samples/todo/services/state-service/create-todo-database.js.map +1 -1
  692. package/samples/todo/services/state-service/create-todo-store.js +1 -21
  693. package/samples/todo/services/state-service/create-todo-store.js.map +1 -1
  694. package/samples/todo/services/state-service/transactions/create-bulk-todos.js +1 -21
  695. package/samples/todo/services/state-service/transactions/create-bulk-todos.js.map +1 -1
  696. package/samples/todo/services/state-service/transactions/create-todo.js.map +1 -1
  697. package/samples/todo/services/state-service/transactions/create-todo.test.js +1 -21
  698. package/samples/todo/services/state-service/transactions/create-todo.test.js.map +1 -1
  699. package/samples/todo/services/state-service/transactions/delete-all-todos.js.map +1 -1
  700. package/samples/todo/services/state-service/transactions/delete-todo.js +1 -21
  701. package/samples/todo/services/state-service/transactions/delete-todo.js.map +1 -1
  702. package/samples/todo/services/state-service/transactions/delete-todo.test.js +1 -21
  703. package/samples/todo/services/state-service/transactions/delete-todo.test.js.map +1 -1
  704. package/samples/todo/services/state-service/transactions/drag-todo.js +1 -21
  705. package/samples/todo/services/state-service/transactions/drag-todo.js.map +1 -1
  706. package/samples/todo/services/state-service/transactions/index.js +1 -21
  707. package/samples/todo/services/state-service/transactions/index.js.map +1 -1
  708. package/samples/todo/services/state-service/transactions/reorder-todos.js.map +1 -1
  709. package/samples/todo/services/state-service/transactions/toggle-complete.js.map +1 -1
  710. package/samples/todo/services/state-service/transactions/toggle-complete.test.js +1 -21
  711. package/samples/todo/services/state-service/transactions/toggle-complete.test.js.map +1 -1
  712. package/samples/todo/todo-element.js.map +1 -1
  713. package/samples/todo/todo-host.js +1 -21
  714. package/samples/todo/todo-host.js.map +1 -1
  715. package/samples/todo/todo-main-element.js +1 -21
  716. package/samples/todo/todo-main-element.js.map +1 -1
  717. package/samples/todo/todo-sample.js +1 -21
  718. package/samples/todo/todo-sample.js.map +1 -1
  719. package/schema/boolean/index.js +1 -21
  720. package/schema/boolean/index.js.map +1 -1
  721. package/schema/boolean/public.js +1 -21
  722. package/schema/boolean/public.js.map +1 -1
  723. package/schema/boolean/schema.js.map +1 -1
  724. package/schema/dynamic/deep-merge.js.map +1 -1
  725. package/schema/dynamic/deep-merge.test.js +1 -21
  726. package/schema/dynamic/deep-merge.test.js.map +1 -1
  727. package/schema/dynamic/enumerate-patches.js.map +1 -1
  728. package/schema/dynamic/enumerate-patches.test.js +1 -21
  729. package/schema/dynamic/enumerate-patches.test.js.map +1 -1
  730. package/schema/dynamic/get-dynamic-schema.js +1 -21
  731. package/schema/dynamic/get-dynamic-schema.js.map +1 -1
  732. package/schema/dynamic/get-dynamic-schema.test.js +1 -21
  733. package/schema/dynamic/get-dynamic-schema.test.js.map +1 -1
  734. package/schema/dynamic/index.js +1 -21
  735. package/schema/dynamic/index.js.map +1 -1
  736. package/schema/index.js +1 -21
  737. package/schema/index.js.map +1 -1
  738. package/schema/nullable.js.map +1 -1
  739. package/schema/package.json +1 -0
  740. package/schema/public.js +1 -21
  741. package/schema/public.js.map +1 -1
  742. package/schema/schema.js +1 -21
  743. package/schema/schema.js.map +1 -1
  744. package/schema/time/index.js +1 -21
  745. package/schema/time/index.js.map +1 -1
  746. package/schema/time/public.js +1 -21
  747. package/schema/time/public.js.map +1 -1
  748. package/schema/time/schema.js +1 -21
  749. package/schema/time/schema.js.map +1 -1
  750. package/schema/to-type.js +1 -21
  751. package/schema/to-type.js.map +1 -1
  752. package/schema/to-vertex-buffer-layout.js +1 -21
  753. package/schema/to-vertex-buffer-layout.js.map +1 -1
  754. package/schema/to-vertex-buffer-layout.test.js +1 -21
  755. package/schema/to-vertex-buffer-layout.test.js.map +1 -1
  756. package/schema/true/index.js +1 -21
  757. package/schema/true/index.js.map +1 -1
  758. package/schema/true/public.js +1 -21
  759. package/schema/true/public.js.map +1 -1
  760. package/schema/true/schema.js.map +1 -1
  761. package/schema/tuple.js +1 -21
  762. package/schema/tuple.js.map +1 -1
  763. package/schema/validation/index.js +1 -21
  764. package/schema/validation/index.js.map +1 -1
  765. package/schema/validation/is-valid.js.map +1 -1
  766. package/schema/validation/is-valid.test.js +1 -21
  767. package/schema/validation/is-valid.test.js.map +1 -1
  768. package/schema/validation/validate.js +1 -21
  769. package/schema/validation/validate.js.map +1 -1
  770. package/schema/validation/validate.test.js +1 -21
  771. package/schema/validation/validate.test.js.map +1 -1
  772. package/schema/validation/with-validation.js.map +1 -1
  773. package/schema/validation/with-validation.test.js +1 -21
  774. package/schema/validation/with-validation.test.js.map +1 -1
  775. package/schema.test.js.map +1 -1
  776. package/service/add-observable-actions.js +1 -21
  777. package/service/add-observable-actions.js.map +1 -1
  778. package/service/disposable.js +1 -21
  779. package/service/disposable.js.map +1 -1
  780. package/service/index.js +1 -21
  781. package/service/index.js.map +1 -1
  782. package/service/is-service.js +1 -21
  783. package/service/is-service.js.map +1 -1
  784. package/service/package.json +1 -0
  785. package/service/progressive-result.js +1 -21
  786. package/service/progressive-result.js.map +1 -1
  787. package/service/service.js +1 -21
  788. package/service/service.js.map +1 -1
  789. package/table/add-row.js +1 -21
  790. package/table/add-row.js.map +1 -1
  791. package/table/copy-column-to-gpu-buffer.js +1 -21
  792. package/table/copy-column-to-gpu-buffer.js.map +1 -1
  793. package/table/create-table.js +1 -21
  794. package/table/create-table.js.map +1 -1
  795. package/table/create-table.test.js +1 -21
  796. package/table/create-table.test.js.map +1 -1
  797. package/table/delete-row.js.map +1 -1
  798. package/table/ensure-capacity.js.map +1 -1
  799. package/table/get-row-data.js.map +1 -1
  800. package/table/index.js +1 -21
  801. package/table/index.js.map +1 -1
  802. package/table/package.json +1 -0
  803. package/table/row-index.js.map +1 -1
  804. package/table/select-rows.js.map +1 -1
  805. package/table/select-rows.test.js +1 -21
  806. package/table/select-rows.test.js.map +1 -1
  807. package/table/table-compact.test.js +1 -21
  808. package/table/table-compact.test.js.map +1 -1
  809. package/table/table.js.map +1 -1
  810. package/table/update-row.js.map +1 -1
  811. package/tsconfig.tsbuildinfo +1 -1
  812. package/typed-buffer/copy-to-gpu-buffer.js +1 -21
  813. package/typed-buffer/copy-to-gpu-buffer.js.map +1 -1
  814. package/typed-buffer/create-array-buffer.js.map +1 -1
  815. package/typed-buffer/create-array-buffer.test.js +1 -21
  816. package/typed-buffer/create-array-buffer.test.js.map +1 -1
  817. package/typed-buffer/create-const-buffer.copy.test.js +1 -21
  818. package/typed-buffer/create-const-buffer.copy.test.js.map +1 -1
  819. package/typed-buffer/create-const-buffer.js.map +1 -1
  820. package/typed-buffer/create-const-buffer.test.js +1 -21
  821. package/typed-buffer/create-const-buffer.test.js.map +1 -1
  822. package/typed-buffer/create-number-buffer.js +1 -21
  823. package/typed-buffer/create-number-buffer.js.map +1 -1
  824. package/typed-buffer/create-number-buffer.test.js +1 -21
  825. package/typed-buffer/create-number-buffer.test.js.map +1 -1
  826. package/typed-buffer/create-struct-buffer.copy.test.js +1 -21
  827. package/typed-buffer/create-struct-buffer.copy.test.js.map +1 -1
  828. package/typed-buffer/create-struct-buffer.js +1 -21
  829. package/typed-buffer/create-struct-buffer.js.map +1 -1
  830. package/typed-buffer/create-struct-buffer.test.js +1 -21
  831. package/typed-buffer/create-struct-buffer.test.js.map +1 -1
  832. package/typed-buffer/create-typed-buffer.js.map +1 -1
  833. package/typed-buffer/create-typed-buffer.test.js +1 -21
  834. package/typed-buffer/create-typed-buffer.test.js.map +1 -1
  835. package/typed-buffer/index.js +1 -21
  836. package/typed-buffer/index.js.map +1 -1
  837. package/typed-buffer/is-typed-buffer.js +1 -21
  838. package/typed-buffer/is-typed-buffer.js.map +1 -1
  839. package/typed-buffer/is-typed-buffer.test.js +1 -21
  840. package/typed-buffer/is-typed-buffer.test.js.map +1 -1
  841. package/typed-buffer/package.json +1 -0
  842. package/typed-buffer/register-typed-buffer-codecs.js +1 -21
  843. package/typed-buffer/register-typed-buffer-codecs.js.map +1 -1
  844. package/typed-buffer/structs/assert-struct.js.map +1 -1
  845. package/typed-buffer/structs/create-read-struct.js +1 -21
  846. package/typed-buffer/structs/create-read-struct.js.map +1 -1
  847. package/typed-buffer/structs/create-read-struct.test.js +1 -21
  848. package/typed-buffer/structs/create-read-struct.test.js.map +1 -1
  849. package/typed-buffer/structs/create-write-struct.js +1 -21
  850. package/typed-buffer/structs/create-write-struct.js.map +1 -1
  851. package/typed-buffer/structs/get-field-offset.js.map +1 -1
  852. package/typed-buffer/structs/get-struct-layout.js +1 -21
  853. package/typed-buffer/structs/get-struct-layout.js.map +1 -1
  854. package/typed-buffer/structs/get-struct-layout.test.js +1 -21
  855. package/typed-buffer/structs/get-struct-layout.test.js.map +1 -1
  856. package/typed-buffer/structs/index.js +1 -21
  857. package/typed-buffer/structs/index.js.map +1 -1
  858. package/typed-buffer/structs/write-struct.test.js +1 -21
  859. package/typed-buffer/structs/write-struct.test.js.map +1 -1
  860. package/typed-buffer/typed-buffer-equals.js +1 -21
  861. package/typed-buffer/typed-buffer-equals.js.map +1 -1
  862. package/typed-buffer/typed-buffer-equals.test.js +1 -21
  863. package/typed-buffer/typed-buffer-equals.test.js.map +1 -1
  864. package/typed-buffer/typed-buffer.js.map +1 -1
  865. package/typed-buffer/typed-buffer.test.js +1 -21
  866. package/typed-buffer/typed-buffer.test.js.map +1 -1
  867. package/types/index.js +1 -21
  868. package/types/index.js.map +1 -1
  869. package/types/package.json +1 -0
  870. package/types/replace.js.map +1 -1
  871. package/types/typed-array.js +1 -21
  872. package/types/typed-array.js.map +1 -1
  873. package/types/types.d.ts +1 -0
  874. package/types/types.js +1 -21
  875. package/types/types.js.map +1 -1
@@ -1,24 +1,4 @@
1
- /*MIT License
2
-
3
- © Copyright 2025 Adobe. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.*/
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
22
2
  import { createDatabaseSchema } from "./create-database-schema.js";
23
3
  const databaseSchema = createDatabaseSchema({
24
4
  velocity: { type: "number" },
@@ -1 +1 @@
1
- {"version":3,"file":"create-database-schema-test.js","sourceRoot":"","sources":["../../../../src/ecs/database/database-schema/create-database-schema-test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAQX,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,cAAc,GAAG,oBAAoB,CACvC;IACI,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;IAC5B,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;CAChC,EACD;IACI,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE;IAC7C,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE;CAC9C,EACD;IACI,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,eAAe,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;CAC5C,EACD;IACI,cAAc,CAAC,CAAC,EAAE,IAA2B;QACzC,sEAAsE;QACtE,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC;QACzB,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC9D,CAAC;IACD,qBAAqB,CAAC,CAAC,EAAE,IAA6C;QAClE,CAAC,CAAC,UAAU,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC9F,CAAC;CACJ,CACJ,CAAA"}
1
+ {"version":3,"file":"create-database-schema-test.js","sourceRoot":"","sources":["../../../../src/ecs/database/database-schema/create-database-schema-test.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAQvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,cAAc,GAAG,oBAAoB,CACvC;IACI,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;IAC5B,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;CAChC,EACD;IACI,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE;IAC7C,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE;CAC9C,EACD;IACI,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,eAAe,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;CAC5C,EACD;IACI,cAAc,CAAC,CAAC,EAAE,IAA2B;QACzC,sEAAsE;QACtE,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC;QACzB,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC9D,CAAC;IACD,qBAAqB,CAAC,CAAC,EAAE,IAA6C;QAClE,CAAC,CAAC,UAAU,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC9F,CAAC;CACJ,CACJ,CAAA"}
@@ -3,12 +3,12 @@ import { StringKeyof } from "../../../types/types.js";
3
3
  import { ComponentSchemas } from "../../component-schemas.js";
4
4
  import { ResourceSchemas } from "../../resource-schemas.js";
5
5
  import { ArchetypeComponents } from "../../store/archetype-components.js";
6
- import type { ActionDeclarations } from "../../store/action-functions.js";
6
+ import type { TransactionDeclarations } from "../../store/transaction-functions.js";
7
7
  import { DatabaseFromSchema, DatabaseSchema } from "./database-schema.js";
8
- export declare function createDatabaseSchema<const CS extends ComponentSchemas, const RS extends ResourceSchemas, const A extends ArchetypeComponents<StringKeyof<CS>>, const TD extends ActionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A>>(components: CS, resources: RS, archetypes: A, transactions: TD): {
8
+ export declare function createDatabaseSchema<const CS extends ComponentSchemas, const RS extends ResourceSchemas, const A extends ArchetypeComponents<StringKeyof<CS>>, const TD extends TransactionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A>>(components: CS, resources: RS, archetypes: A, transactions: TD): {
9
9
  readonly components: CS;
10
10
  readonly resources: RS;
11
11
  readonly archetypes: A;
12
12
  readonly transactions: TD;
13
13
  };
14
- export declare function createDatabaseFromSchema<const CS extends ComponentSchemas, const RS extends ResourceSchemas, const A extends ArchetypeComponents<StringKeyof<CS>>, const TD extends ActionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A>>(schema: DatabaseSchema<CS, RS, A, TD>): DatabaseFromSchema<typeof schema>;
14
+ export declare function createDatabaseFromSchema<const CS extends ComponentSchemas, const RS extends ResourceSchemas, const A extends ArchetypeComponents<StringKeyof<CS>>, const TD extends TransactionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A>>(schema: DatabaseSchema<CS, RS, A, TD>): DatabaseFromSchema<typeof schema>;
@@ -1,24 +1,4 @@
1
- /*MIT License
2
-
3
- © Copyright 2025 Adobe. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.*/
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
22
2
  import { Store } from "../../index.js";
23
3
  import { Database } from "../database.js";
24
4
  export function createDatabaseSchema(components, resources, archetypes, transactions) {
@@ -1 +1 @@
1
- {"version":3,"file":"create-database-schema.js","sourceRoot":"","sources":["../../../../src/ecs/database/database-schema/create-database-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAKX,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAI1C,MAAM,UAAU,oBAAoB,CAMhC,UAAc,EACd,SAAa,EACb,UAAa,EACb,YAAgB;IAEhB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAmD,CAAC;AAChH,CAAC;AAED,MAAM,UAAU,wBAAwB,CAMpC,MAAqC;IAErC,OAAO,QAAQ,CAAC,MAAM,CAClB,KAAK,CAAC,MAAM,CAAY;QACpB,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,SAAS,EAAE,MAAM,CAAC,SAAS;QAC3B,UAAU,EAAE,MAAM,CAAC,UAAU;KAChC,CAAC,EACF,MAAM,CAAC,YAAmB,CACtB,CAAC;AACb,CAAC"}
1
+ {"version":3,"file":"create-database-schema.js","sourceRoot":"","sources":["../../../../src/ecs/database/database-schema/create-database-schema.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAKvD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAI1C,MAAM,UAAU,oBAAoB,CAMhC,UAAc,EACd,SAAa,EACb,UAAa,EACb,YAAgB;IAEhB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAmD,CAAC;AAChH,CAAC;AAED,MAAM,UAAU,wBAAwB,CAMpC,MAAqC;IAErC,OAAO,QAAQ,CAAC,MAAM,CAClB,KAAK,CAAC,MAAM,CAAY;QACpB,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,SAAS,EAAE,MAAM,CAAC,SAAS;QAC3B,UAAU,EAAE,MAAM,CAAC,UAAU;KAChC,CAAC,EACF,MAAM,CAAC,YAAmB,CACtB,CAAC;AACb,CAAC"}
@@ -3,12 +3,12 @@ import { ComponentSchemas } from "../../component-schemas.js";
3
3
  import { ResourceSchemas } from "../../resource-schemas.js";
4
4
  import { StringKeyof } from "../../../types/types.js";
5
5
  import { Database } from "../database.js";
6
- import type { ToActionFunctions, ActionDeclarations } from "../../store/action-functions.js";
6
+ import type { ToTransactionFunctions, TransactionDeclarations } from "../../store/transaction-functions.js";
7
7
  import { ArchetypeComponents } from "../../store/archetype-components.js";
8
- export type DatabaseSchema<CS extends ComponentSchemas, RS extends ResourceSchemas, A extends ArchetypeComponents<StringKeyof<CS>>, TD extends ActionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A>> = {
8
+ export type DatabaseSchema<CS extends ComponentSchemas, RS extends ResourceSchemas, A extends ArchetypeComponents<StringKeyof<CS>>, TD extends TransactionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A>> = {
9
9
  readonly components: CS;
10
10
  readonly resources: RS;
11
11
  readonly archetypes: A;
12
12
  readonly transactions: TD;
13
13
  };
14
- export type DatabaseFromSchema<T> = T extends DatabaseSchema<infer CS, infer RS, infer A, infer TD> ? Database<FromSchemas<CS>, FromSchemas<RS>, A, ToActionFunctions<TD>> : never;
14
+ export type DatabaseFromSchema<T> = T extends DatabaseSchema<infer CS, infer RS, infer A, infer TD> ? Database<FromSchemas<CS>, FromSchemas<RS>, A, ToTransactionFunctions<TD>> : never;
@@ -1,23 +1,3 @@
1
- /*MIT License
2
-
3
- © Copyright 2025 Adobe. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.*/
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
22
2
  export {};
23
3
  //# sourceMappingURL=database-schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"database-schema.js","sourceRoot":"","sources":["../../../../src/ecs/database/database-schema/database-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW"}
1
+ {"version":3,"file":"database-schema.js","sourceRoot":"","sources":["../../../../src/ecs/database/database-schema/database-schema.ts"],"names":[],"mappings":"AAAA,uDAAuD"}
@@ -1,24 +1,4 @@
1
- /*MIT License
2
-
3
- © Copyright 2025 Adobe. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.*/
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
22
2
  export * from "./create-database-schema.js";
23
3
  export * from "./database-schema.js";
24
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ecs/database/database-schema/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAEX,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ecs/database/database-schema/index.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC"}
@@ -5,32 +5,43 @@ import { Entity } from "../entity.js";
5
5
  import { EntityReadValues } from "../store/core/index.js";
6
6
  import { Observe } from "../../observe/index.js";
7
7
  import { TransactionResult } from "./transactional-store/index.js";
8
- import { IntersectTuple, NoInfer, StringKeyof } from "../../types/types.js";
8
+ import { StringKeyof } from "../../types/types.js";
9
9
  import { Components } from "../store/components.js";
10
10
  import { ArchetypeComponents } from "../store/archetype-components.js";
11
11
  import { RequiredComponents } from "../required-components.js";
12
12
  import { EntitySelectOptions } from "../store/entity-select-options.js";
13
13
  import { Service } from "../../service/service.js";
14
- import { OptionalComponents } from "../optional-components.js";
15
14
  import { createDatabase } from "./public/create-database.js";
16
15
  import { ResourceSchemas } from "../resource-schemas.js";
17
16
  import { ComponentSchemas } from "../component-schemas.js";
18
17
  import { FromSchemas } from "../../schema/index.js";
18
+ import type { TransactionDeclarations, TransactionFunctions, ToTransactionFunctions } from "../store/transaction-functions.js";
19
19
  import type { ActionDeclarations, ActionFunctions, ToActionFunctions } from "../store/action-functions.js";
20
20
  import { createPlugin } from "./create-plugin.js";
21
- type SystemFunction = () => void | Promise<void>;
22
- export interface Database<C extends Components, R extends ResourceComponents, A extends ArchetypeComponents<StringKeyof<C & OptionalComponents>>, F extends ActionFunctions, S extends string = never> extends ReadonlyStore<C, R, A>, Service {
23
- readonly transactions: F & Service;
21
+ import { combinePlugins } from "./combine-plugins.js";
22
+ export type SystemFunction = () => void | Promise<void>;
23
+ export type SystemDeclaration = {
24
+ readonly create: (db: Database<any, any, any, any, any, any> & {
25
+ store: Store<any, any, any>;
26
+ }) => SystemFunction | void;
24
27
  /**
25
- * Provides direct mutable access to the underlying store.
28
+ * Scheduling constraints for system execution order.
29
+ * - `before`: Hard constraint - this system must run before the listed systems
30
+ * - `after`: Hard constraint - this system must run after the listed systems
31
+ * - `during`: Soft constraint - prefer to run in the same tier as the listed systems, if dependencies allow
26
32
  */
27
- readonly store: Store<C, R, A> & {
28
- /**
29
- * Provides fast access to the action functions without a transaction wrapper.
30
- * This means any calls to them will NOT be observable or undoable.
31
- */
32
- readonly actions: F;
33
+ readonly schedule?: {
34
+ readonly before?: readonly string[];
35
+ readonly after?: readonly string[];
36
+ readonly during?: readonly string[];
33
37
  };
38
+ };
39
+ export type SystemDeclarations<S extends string> = {
40
+ readonly [K in S]: SystemDeclaration;
41
+ };
42
+ export interface Database<C extends Components = {}, R extends ResourceComponents = {}, A extends ArchetypeComponents<StringKeyof<C>> = {}, F extends TransactionFunctions = {}, S extends string = never, AF extends ActionFunctions = {}> extends ReadonlyStore<C, R, A>, Service {
43
+ readonly transactions: F & Service;
44
+ readonly actions: AF & Service;
34
45
  readonly observe: {
35
46
  readonly components: {
36
47
  readonly [K in StringKeyof<C>]: Observe<void>;
@@ -54,45 +65,22 @@ export interface Database<C extends Components, R extends ResourceComponents, A
54
65
  };
55
66
  toData(): unknown;
56
67
  fromData(data: unknown): void;
57
- extend<P extends Database.Plugin<any, any, any, any, any>>(plugin: P): Database<C & (P extends Database.Plugin<infer XC, any, any, any, any> ? FromSchemas<XC> : never), R & (P extends Database.Plugin<any, infer XR, any, any, any> ? FromSchemas<XR> : never), A & (P extends Database.Plugin<any, any, infer XA, any, any> ? XA : never), F & (P extends Database.Plugin<any, any, any, infer XTD, any> ? ToActionFunctions<XTD> : never), S | (P extends Database.Plugin<any, any, any, any, infer XS> ? XS : never)>;
68
+ extend<P extends Database.Plugin<any, any, any, any, any, any>>(plugin: P): Database<C & (P extends Database.Plugin<infer XC, any, any, any, any, any> ? FromSchemas<XC> : never), R & (P extends Database.Plugin<any, infer XR, any, any, any, any> ? FromSchemas<XR> : never), A & (P extends Database.Plugin<any, any, infer XA, any, any, any> ? XA : never), F & (P extends Database.Plugin<any, any, any, infer XTD, any, any> ? ToTransactionFunctions<XTD> : never), S | (P extends Database.Plugin<any, any, any, any, infer XS, any> ? XS : never), AF & (P extends Database.Plugin<any, any, any, any, any, infer XAD> ? ToActionFunctions<XAD> : never)>;
58
69
  }
59
70
  export declare namespace Database {
60
71
  const create: typeof createDatabase;
61
- type Plugin<CS extends ComponentSchemas = any, RS extends ResourceSchemas = any, A extends ArchetypeComponents<StringKeyof<CS & OptionalComponents>> = any, TD extends ActionDeclarations<FromSchemas<CS>, FromSchemas<RS>, any> = any, S extends string = any> = {
62
- readonly components?: CS;
63
- readonly resources?: RS;
64
- readonly archetypes?: A;
65
- readonly transactions?: TD;
66
- readonly systems?: {
67
- readonly [K in S]: {
68
- readonly create: (db: Database<FromSchemas<CS>, FromSchemas<RS>, A, ToActionFunctions<TD>, S>) => SystemFunction;
69
- /**
70
- * Scheduling constraints for system execution order.
71
- * - `before`: Hard constraint - this system must run before the listed systems
72
- * - `after`: Hard constraint - this system must run after the listed systems
73
- * - `during`: Soft constraint - prefer to run in the same tier as the listed systems, if dependencies allow
74
- */
75
- readonly schedule?: {
76
- readonly before?: readonly NoInfer<Exclude<S, K>>[];
77
- readonly after?: readonly NoInfer<Exclude<S, K>>[];
78
- readonly during?: readonly NoInfer<Exclude<S, K>>[];
79
- };
80
- };
81
- };
72
+ const is: (value: unknown) => value is Database;
73
+ type Plugin<CS extends ComponentSchemas = any, RS extends ResourceSchemas = any, A extends ArchetypeComponents<StringKeyof<CS>> = any, TD extends TransactionDeclarations<FromSchemas<CS>, FromSchemas<RS>, any> = any, S extends string = any, AD extends ActionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A, ToTransactionFunctions<TD>, S> = any> = {
74
+ readonly components: CS;
75
+ readonly resources: RS;
76
+ readonly archetypes: A;
77
+ readonly transactions: TD;
78
+ readonly systems: SystemDeclarations<S>;
79
+ readonly actions: AD;
82
80
  };
83
81
  namespace Plugin {
84
- type Intersect<T extends readonly Plugin<any, any, any, any, any>[]> = Required<Database.Plugin<{} & IntersectTuple<{
85
- [K in keyof T]: T[K] extends Plugin<infer C, any, any, any, any> ? (C extends undefined ? {} : C) : never;
86
- }>, {} & IntersectTuple<{
87
- [K in keyof T]: T[K] extends Plugin<any, infer R, any, any, any> ? (R extends undefined ? {} : R) : never;
88
- }>, {} & IntersectTuple<{
89
- [K in keyof T]: T[K] extends Plugin<any, any, infer A, any, any> ? (A extends undefined ? {} : A) : never;
90
- }>, {} & IntersectTuple<{
91
- [K in keyof T]: T[K] extends Plugin<any, any, any, infer TD, any> ? (TD extends undefined ? Record<never, never> : TD) : never;
92
- }>, Extract<{
93
- [K in keyof T]: T[K] extends Plugin<any, any, any, any, infer S> ? S : never;
94
- }[number], string>>>;
95
82
  const create: typeof createPlugin;
83
+ const combine: typeof combinePlugins;
84
+ type ToDatabase<P extends Database.Plugin> = P extends Database.Plugin<infer CS, infer RS, infer A, infer TD, infer S, infer AD> ? Database<FromSchemas<CS>, FromSchemas<RS>, A, ToTransactionFunctions<TD>, S, ToActionFunctions<AD>> : never;
96
85
  }
97
86
  }
98
- export {};
@@ -1,48 +1,17 @@
1
- /*MIT License
2
-
3
- © Copyright 2025 Adobe. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.*/
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
22
2
  import { createDatabase } from "./public/create-database.js";
23
3
  import { createPlugin } from "./create-plugin.js";
4
+ import { combinePlugins } from "./combine-plugins.js";
24
5
  export var Database;
25
6
  (function (Database) {
26
7
  Database.create = createDatabase;
8
+ Database.is = (value) => {
9
+ return value !== null && typeof value === "object" && "transactions" in value && "actions" in value && "store" in value && "observe" in value && "system" in value && "extend" in value;
10
+ };
27
11
  let Plugin;
28
12
  (function (Plugin) {
29
13
  Plugin.create = createPlugin;
14
+ Plugin.combine = combinePlugins;
30
15
  })(Plugin = Database.Plugin || (Database.Plugin = {}));
31
16
  })(Database || (Database = {}));
32
- // Test type inference with new overload pattern
33
- const testBasePlugin = Database.Plugin.create({
34
- components: {
35
- position: { type: "number" },
36
- health: { type: "number" }
37
- }
38
- });
39
- const testExtendedPlugin = Database.Plugin.create({
40
- components: {
41
- velocity: { type: "number" }
42
- },
43
- archetypes: {
44
- DynamicEntity: ["position", "velocity"],
45
- LivingEntity: ["position", "health"]
46
- }
47
- }, [testBasePlugin]);
48
17
  //# sourceMappingURL=database.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"database.js","sourceRoot":"","sources":["../../../src/ecs/database/database.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAgBX,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAW7D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAoDlD,MAAM,KAAW,QAAQ,CA4CxB;AA5CD,WAAiB,QAAQ;IACV,eAAM,GAAG,cAAc,CAAC;IA6BrC,IAAiB,MAAM,CAYtB;IAZD,WAAiB,MAAM;QAWR,aAAM,GAAG,YAAY,CAAC;IACrC,CAAC,EAZgB,MAAM,GAAN,eAAM,KAAN,eAAM,QAYtB;AAEH,CAAC,EA5CgB,QAAQ,KAAR,QAAQ,QA4CxB;AA8CD,gDAAgD;AAChD,MAAM,cAAc,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5C,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC5B,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC3B;CACF,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,CAC/C;IACE,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC7B;IACD,UAAU,EAAE;QACV,aAAa,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;QACvC,YAAY,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC;KACrC;CACF,EACD,CAAC,cAAc,CAAC,CACjB,CAAC"}
1
+ {"version":3,"file":"database.js","sourceRoot":"","sources":["../../../src/ecs/database/database.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAevD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAc7D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AA4DtD,MAAM,KAAW,QAAQ,CA6BxB;AA7BD,WAAiB,QAAQ;IACV,eAAM,GAAG,cAAc,CAAC;IAExB,WAAE,GAAG,CAAC,KAAc,EAAqB,EAAE;QACtD,OAAO,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,cAAc,IAAI,KAAK,IAAI,SAAS,IAAI,KAAK,IAAI,OAAO,IAAI,KAAK,IAAI,SAAS,IAAI,KAAK,IAAI,QAAQ,IAAI,KAAK,IAAI,QAAQ,IAAI,KAAK,CAAC;IAC1L,CAAC,CAAA;IAkBD,IAAiB,MAAM,CAItB;IAJD,WAAiB,MAAM;QACR,aAAM,GAAG,YAAY,CAAC;QACtB,cAAO,GAAG,cAAc,CAAC;IAExC,CAAC,EAJgB,MAAM,GAAN,eAAM,KAAN,eAAM,QAItB;AAEH,CAAC,EA7BgB,QAAQ,KAAR,QAAQ,QA6BxB"}
@@ -1,31 +1,10 @@
1
- /*MIT License
2
-
3
- © Copyright 2025 Adobe. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.*/
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
22
2
  import { describe, it, expect } from "vitest";
23
3
  import { Database } from "./database.js";
24
4
  describe("Database.create", () => {
25
5
  it("should create an empty database without errors when called with no arguments", () => {
26
6
  const db = Database.create();
27
7
  expect(db).toBeDefined();
28
- expect(db.store).toBeDefined();
29
8
  expect(db.transactions).toBeDefined();
30
9
  });
31
10
  });
@@ -93,10 +72,11 @@ describe("Database.Plugin.create", () => {
93
72
  }
94
73
  });
95
74
  const extendedSchema = Database.Plugin.create({
75
+ extends: baseSchema,
96
76
  components: {
97
77
  velocity: { type: "number" }
98
- }
99
- }, [baseSchema]);
78
+ },
79
+ });
100
80
  expect(extendedSchema.components).toHaveProperty("position");
101
81
  expect(extendedSchema.components).toHaveProperty("velocity");
102
82
  expect(extendedSchema.resources).toHaveProperty("time");
@@ -112,7 +92,7 @@ describe("Database.Plugin.create", () => {
112
92
  updateTransform: () => { }
113
93
  }
114
94
  });
115
- const emptyExtension = Database.Plugin.create({}, [baseSchema]);
95
+ const emptyExtension = Database.Plugin.create({ extends: baseSchema });
116
96
  expect(emptyExtension.components).toHaveProperty("transform");
117
97
  expect(emptyExtension.transactions).toHaveProperty("updateTransform");
118
98
  expect(Object.keys(emptyExtension.components)).toHaveLength(1);
@@ -128,9 +108,11 @@ describe("Database.Plugin.create", () => {
128
108
  const pluginC = Database.Plugin.create({
129
109
  components: { c: { type: "number" } }
130
110
  });
111
+ const combinedBase = Database.Plugin.combine(pluginA, pluginB, pluginC);
131
112
  const merged = Database.Plugin.create({
132
- components: { d: { type: "number" } }
133
- }, [pluginA, pluginB, pluginC]);
113
+ extends: combinedBase,
114
+ components: { d: { type: "number" } },
115
+ });
134
116
  expect(merged.components).toHaveProperty("a");
135
117
  expect(merged.components).toHaveProperty("b");
136
118
  expect(merged.components).toHaveProperty("c");
@@ -144,10 +126,11 @@ describe("Database.Plugin.create", () => {
144
126
  }
145
127
  });
146
128
  const extendedSchema = Database.Plugin.create({
129
+ extends: baseSchema,
147
130
  transactions: {
148
131
  extendedAction: () => { }
149
- }
150
- }, [baseSchema]);
132
+ },
133
+ });
151
134
  expect(extendedSchema.transactions).toHaveProperty("baseAction");
152
135
  expect(extendedSchema.transactions).toHaveProperty("extendedAction");
153
136
  expect(Object.keys(extendedSchema.transactions)).toHaveLength(2);
@@ -163,11 +146,12 @@ describe("Database.Plugin.create", () => {
163
146
  }
164
147
  });
165
148
  const extendedSchema = Database.Plugin.create({
149
+ extends: baseSchema,
166
150
  components: {
167
151
  position: positionComponent, // Must use same reference
168
152
  mass: { type: "number" }
169
- }
170
- }, [baseSchema]);
153
+ },
154
+ });
171
155
  // All components should be present
172
156
  expect(extendedSchema.components).toHaveProperty("position");
173
157
  expect(extendedSchema.components).toHaveProperty("velocity");
@@ -182,14 +166,15 @@ describe("Database.Plugin.create", () => {
182
166
  }
183
167
  });
184
168
  const extendedSchema = Database.Plugin.create({
169
+ extends: baseSchema,
185
170
  components: {
186
171
  velocity: { type: "number" }
187
172
  },
188
173
  archetypes: {
189
174
  DynamicEntity: ["position", "velocity"],
190
175
  LivingEntity: ["position", "health"]
191
- }
192
- }, [baseSchema]);
176
+ },
177
+ });
193
178
  expect(extendedSchema.archetypes).toHaveProperty("DynamicEntity");
194
179
  expect(extendedSchema.archetypes).toHaveProperty("LivingEntity");
195
180
  expect(extendedSchema.archetypes.DynamicEntity).toEqual(["position", "velocity"]);
@@ -1 +1 @@
1
- {"version":3,"file":"database.test.js","sourceRoot":"","sources":["../../../src/ecs/database/database.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAEX,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,QAAQ,CAAC,iBAAi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C;iBACvC;aACJ,CAAC,CAAC;YAEH,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;YAClE,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;YACjE,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC;YAClF,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;QACnF,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,24 +1,4 @@
1
- /*MIT License
2
-
3
- © Copyright 2025 Adobe. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.*/
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
22
2
  export * from "./public/create-database.js";
23
3
  export * from "./reconciling/create-reconciling-database.js";
24
4
  export * from "./reconciling/reconciling-database.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ecs/database/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAEX,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC;AAChD,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ecs/database/index.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC;AAChD,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC"}
@@ -1,24 +1,4 @@
1
- /*MIT License
2
-
3
- © Copyright 2025 Adobe. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.*/
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
22
2
  import { Observe } from "../../observe/index.js";
23
3
  /**
24
4
  * Creates an observe function that is computed based on the stores resources.
@@ -1 +1 @@
1
- {"version":3,"file":"observe-dependent-value.js","sourceRoot":"","sources":["../../../src/ecs/database/observe-dependent-value.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AACX,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAIjD;;GAEG;AACH,MAAM,UAAU,qBAAqB,CAGnC,EAAK,EAAE,OAA0G;IAC/G,OAAO,OAAO,CAAC,QAAQ,CAAC,GAAG,EAAE;QACzB,MAAM,aAAa,GAAG,sBAAsB,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QAE1D,mEAAmE;QACnE,MAAM,mBAAmB,GACrB,aAAa,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAE,EAAE,CAAC,OAAO,CAAC,SAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC;QAE3E,mGAAmG;QACnG,OAAO,OAAO,CAAC,eAAe,CAC1B,OAAO,CAAC,OAAO,CACX,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC,EACzD,CAAC,UAAU,EAAE,EAAE;YACX,OAAO,OAAO,CAAC,EAAS,CAAC,CAAC;QAC9B,CAAC,CACJ,CACJ,CAAC;IACN,CAAC,CAAC,CAAC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AAC;QAE3E,mGAAmG;QACnG,OAAO,OAAO,CAAC,eAAe,CAC1B,OAAO,CAAC,OAAO,CACX,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC,EACzD,CAAC,UAAU,EAAE,EAAE;YACX,OAAO,OAAO,CAAC,EAAS,CAAC,CAAC;QAC9B,CAAC,CACJ,CACJ,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAS,sBAAsB,CAAyC,EAAK,EAAE,OAAyG;IACpL,MAAM,iBAAiB,GAAG,IAAI,GAAG,EAAU,CAAC;IAE5C,oEAAoE;IACpE,MAAM,aAAa,GAAG,IAAI,KAAK,CAAC,EAAE,CAAC,SAAS,EAAE;QAC1C,GAAG,CAAC,MAAM,EAAE,IAAI;YACZ,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;gBAC3B,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAChC,CAAC;YACD,OAAQ,MAAc,CAAC,IAAI,CAAC,CAAC;QACjC,CAAC;KACJ,CAAC,CAAC;IAEH,sDAAsD;IACtD,MAAM,OAAO,GAAG,EAAE,GAAG,EAAE,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;IAEpD,sDAAsD;IACtD,+CAA+C;IAC/C,IAAI,CAAC;QACD,OAAO,CAAC,OAAc,CAAC,CAAC;IAC5B,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,4CAA4C;QAC5C,kEAAkE;IACtE,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;AACzC,CAAC"}
@@ -1,24 +1,4 @@
1
- /*MIT License
2
-
3
- © Copyright 2025 Adobe. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.*/
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
22
2
  import { describe, it, expect } from 'vitest';
23
3
  import { observeDependentValue } from './observe-dependent-value.js';
24
4
  import { Store } from '../store/index.js';