@adobe/data 0.5.3 → 0.5.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 (366) hide show
  1. package/dist/ecs/database/create-database.d.ts +2 -2
  2. package/dist/ecs/database/database-schema/create-database-schema-test.d.ts +1 -0
  3. package/dist/ecs/database/database-schema/create-database-schema-test.js +42 -0
  4. package/dist/ecs/database/database-schema/create-database-schema-test.js.map +1 -0
  5. package/dist/ecs/database/database-schema/create-database-schema.d.ts +14 -0
  6. package/dist/ecs/database/database-schema/create-database-schema.js +32 -0
  7. package/dist/ecs/database/database-schema/create-database-schema.js.map +1 -0
  8. package/dist/ecs/database/database-schema/database-schema.d.ts +13 -0
  9. package/dist/ecs/database/database-schema/database-schema.js +23 -0
  10. package/dist/ecs/database/database-schema/database-schema.js.map +1 -0
  11. package/dist/ecs/database/database-schema/index.d.ts +2 -0
  12. package/dist/{services → ecs/database/database-schema}/index.js +2 -3
  13. package/dist/ecs/database/database-schema/index.js.map +1 -0
  14. package/dist/ecs/database/database.d.ts +3 -1
  15. package/dist/ecs/database/index.d.ts +1 -0
  16. package/dist/ecs/database/index.js +1 -0
  17. package/dist/ecs/database/index.js.map +1 -1
  18. package/dist/ecs/index.d.ts +2 -1
  19. package/dist/ecs/index.js +2 -1
  20. package/dist/ecs/index.js.map +1 -1
  21. package/dist/ecs/store/archetype-components.d.ts +3 -1
  22. package/dist/ecs/store/core/core.d.ts +1 -8
  23. package/dist/ecs/store/core/create-core.js +9 -4
  24. package/dist/ecs/store/core/create-core.js.map +1 -1
  25. package/dist/ecs/store/core/create-core.test.js +0 -109
  26. package/dist/ecs/store/core/create-core.test.js.map +1 -1
  27. package/dist/ecs/store/create-store.js +21 -0
  28. package/dist/ecs/store/create-store.js.map +1 -1
  29. package/dist/ecs/store/store-schema/create-store-schema-test.js +4 -7
  30. package/dist/ecs/store/store-schema/create-store-schema-test.js.map +1 -1
  31. package/dist/ecs/store/store-schema/create-store-schema.d.ts +2 -0
  32. package/dist/ecs/store/store-schema/create-store-schema.js +5 -0
  33. package/dist/ecs/store/store-schema/create-store-schema.js.map +1 -1
  34. package/dist/ecs/store/store-schema/index.d.ts +1 -1
  35. package/dist/ecs/store/store-schema/index.js +1 -1
  36. package/dist/ecs/store/store-schema/index.js.map +1 -1
  37. package/dist/ecs/store/store-schema/store-schema.d.ts +1 -1
  38. package/dist/ecs/world/create-world.d.ts +7 -0
  39. package/dist/ecs/world/create-world.js +108 -0
  40. package/dist/ecs/world/create-world.js.map +1 -0
  41. package/dist/ecs/world/create-world.test.d.ts +1 -0
  42. package/dist/ecs/world/create-world.test.js +499 -0
  43. package/dist/ecs/world/create-world.test.js.map +1 -0
  44. package/dist/ecs/world/index.d.ts +4 -0
  45. package/dist/ecs/world/index.js +26 -0
  46. package/dist/ecs/world/index.js.map +1 -0
  47. package/dist/ecs/world/system.d.ts +20 -0
  48. package/dist/ecs/world/system.js +2 -0
  49. package/dist/ecs/world/system.js.map +1 -0
  50. package/dist/ecs/world/world-schema/create-world-schema-test.d.ts +1 -0
  51. package/dist/ecs/world/world-schema/create-world-schema-test.js +55 -0
  52. package/dist/ecs/world/world-schema/create-world-schema-test.js.map +1 -0
  53. package/dist/ecs/world/world-schema/create-world-schema.d.ts +19 -0
  54. package/dist/ecs/world/world-schema/create-world-schema.js +33 -0
  55. package/dist/ecs/world/world-schema/create-world-schema.js.map +1 -0
  56. package/dist/ecs/world/world-schema/index.d.ts +2 -0
  57. package/dist/ecs/world/world-schema/index.js +24 -0
  58. package/dist/ecs/world/world-schema/index.js.map +1 -0
  59. package/dist/ecs/world/world-schema/world-schema.d.ts +18 -0
  60. package/dist/ecs/world/world-schema/world-schema.js +23 -0
  61. package/dist/ecs/world/world-schema/world-schema.js.map +1 -0
  62. package/dist/ecs/world/world.d.ts +9 -0
  63. package/dist/ecs/world/world.js +2 -0
  64. package/dist/ecs/world/world.js.map +1 -0
  65. package/dist/functions/serialization/serialization.test.js +78 -0
  66. package/dist/functions/serialization/serialization.test.js.map +1 -1
  67. package/dist/graphics/camera/camera.d.ts +62 -0
  68. package/dist/graphics/camera/camera.js +17 -0
  69. package/dist/graphics/camera/camera.js.map +1 -0
  70. package/dist/graphics/camera/index.d.ts +4 -0
  71. package/dist/graphics/camera/index.js +5 -0
  72. package/dist/graphics/camera/index.js.map +1 -0
  73. package/dist/graphics/camera/screen-to-world-ray.d.ts +12 -0
  74. package/dist/graphics/camera/screen-to-world-ray.js +49 -0
  75. package/dist/graphics/camera/screen-to-world-ray.js.map +1 -0
  76. package/dist/graphics/camera/screen-to-world-ray.test.d.ts +1 -0
  77. package/dist/graphics/camera/screen-to-world-ray.test.js +171 -0
  78. package/dist/graphics/camera/screen-to-world-ray.test.js.map +1 -0
  79. package/dist/graphics/camera/to-view-projection.d.ts +3 -0
  80. package/dist/graphics/camera/to-view-projection.js +8 -0
  81. package/dist/graphics/camera/to-view-projection.js.map +1 -0
  82. package/dist/graphics/camera/world-to-screen.d.ts +12 -0
  83. package/dist/graphics/camera/world-to-screen.js +38 -0
  84. package/dist/graphics/camera/world-to-screen.js.map +1 -0
  85. package/dist/graphics/camera/world-to-screen.test.d.ts +1 -0
  86. package/dist/graphics/camera/world-to-screen.test.js +124 -0
  87. package/dist/graphics/camera/world-to-screen.test.js.map +1 -0
  88. package/dist/graphics/create-struct-gpu-buffer.d.ts +7 -0
  89. package/dist/graphics/create-struct-gpu-buffer.js +17 -0
  90. package/dist/graphics/create-struct-gpu-buffer.js.map +1 -0
  91. package/dist/graphics/extract-wgsl-bindings.d.ts +5 -0
  92. package/dist/graphics/extract-wgsl-bindings.js +10 -0
  93. package/dist/graphics/extract-wgsl-bindings.js.map +1 -0
  94. package/dist/graphics/frame.d.ts +22 -0
  95. package/dist/graphics/frame.js +12 -0
  96. package/dist/graphics/frame.js.map +1 -0
  97. package/dist/graphics/get-web-gpu-device-and-context.d.ts +2 -0
  98. package/dist/graphics/get-web-gpu-device-and-context.js +21 -0
  99. package/dist/graphics/get-web-gpu-device-and-context.js.map +1 -0
  100. package/dist/graphics/graphics-context.d.ts +5 -0
  101. package/dist/graphics/graphics-context.js +2 -0
  102. package/dist/graphics/graphics-context.js.map +1 -0
  103. package/dist/graphics/index.d.ts +5 -0
  104. package/dist/graphics/index.js +5 -0
  105. package/dist/graphics/index.js.map +1 -0
  106. package/dist/graphics/to-gpu-buffer.d.ts +2 -0
  107. package/dist/graphics/to-gpu-buffer.js +14 -0
  108. package/dist/graphics/to-gpu-buffer.js.map +1 -0
  109. package/dist/internal/array/index.d.ts +1 -0
  110. package/dist/internal/array/index.js +23 -0
  111. package/dist/internal/array/index.js.map +1 -0
  112. package/dist/internal/array/topological-sort.d.ts +26 -0
  113. package/dist/internal/array/topological-sort.js +79 -0
  114. package/dist/internal/array/topological-sort.js.map +1 -0
  115. package/dist/internal/array/topological-sort.test.d.ts +1 -0
  116. package/dist/internal/array/topological-sort.test.js +100 -0
  117. package/dist/internal/array/topological-sort.test.js.map +1 -0
  118. package/dist/internal/function/debounce.d.ts +70 -0
  119. package/dist/internal/function/debounce.js +155 -0
  120. package/dist/internal/function/debounce.js.map +1 -0
  121. package/dist/internal/function/debounce.test.d.ts +1 -0
  122. package/dist/internal/function/debounce.test.js +306 -0
  123. package/dist/internal/function/debounce.test.js.map +1 -0
  124. package/dist/lit/elements/application-element.d.ts +9 -0
  125. package/dist/lit/elements/application-element.js +62 -0
  126. package/dist/lit/elements/application-element.js.map +1 -0
  127. package/dist/lit/elements/application-host.d.ts +16 -0
  128. package/dist/lit/elements/application-host.js +59 -0
  129. package/dist/lit/elements/application-host.js.map +1 -0
  130. package/dist/lit/elements/index.d.ts +2 -0
  131. package/dist/lit/elements/index.js +2 -0
  132. package/dist/lit/elements/index.js.map +1 -1
  133. package/dist/lit/elements/service-application.js +4 -1
  134. package/dist/lit/elements/service-application.js.map +1 -1
  135. package/dist/lit/functions/index.d.ts +1 -0
  136. package/dist/lit/functions/index.js +23 -0
  137. package/dist/lit/functions/index.js.map +1 -0
  138. package/dist/lit/functions/iterate-self-and-ancestors.d.ts +1 -0
  139. package/dist/lit/functions/iterate-self-and-ancestors.js +44 -0
  140. package/dist/lit/functions/iterate-self-and-ancestors.js.map +1 -0
  141. package/dist/lit/hooks/attach-decorator.d.ts +4 -0
  142. package/dist/lit/hooks/attach-decorator.js +46 -0
  143. package/dist/lit/hooks/attach-decorator.js.map +1 -0
  144. package/dist/lit/hooks/index.d.ts +4 -0
  145. package/dist/lit/hooks/index.js +4 -0
  146. package/dist/lit/hooks/index.js.map +1 -1
  147. package/dist/lit/hooks/use-drag-observe.d.ts +22 -0
  148. package/dist/lit/hooks/use-drag-observe.js +55 -0
  149. package/dist/lit/hooks/use-drag-observe.js.map +1 -0
  150. package/dist/lit/hooks/use-drag-transaction.d.ts +7 -0
  151. package/dist/lit/hooks/use-drag-transaction.js +56 -0
  152. package/dist/lit/hooks/use-drag-transaction.js.map +1 -0
  153. package/dist/lit/hooks/use-draggable.d.ts +16 -0
  154. package/dist/lit/hooks/use-draggable.js +122 -0
  155. package/dist/lit/hooks/use-draggable.js.map +1 -0
  156. package/dist/math/aabb/aabb.d.ts +48 -0
  157. package/dist/math/aabb/aabb.js +86 -0
  158. package/dist/math/aabb/aabb.js.map +1 -0
  159. package/dist/math/aabb/line-intersection.test.d.ts +1 -0
  160. package/dist/math/aabb/line-intersection.test.js +210 -0
  161. package/dist/math/aabb/line-intersection.test.js.map +1 -0
  162. package/dist/math/constants.d.ts +4 -0
  163. package/dist/math/constants.js +26 -0
  164. package/dist/math/constants.js.map +1 -0
  165. package/dist/math/index.d.ts +18 -0
  166. package/dist/math/index.js +40 -0
  167. package/dist/math/index.js.map +1 -0
  168. package/dist/math/line2/intersects.test.d.ts +1 -0
  169. package/dist/math/line2/intersects.test.js +104 -0
  170. package/dist/math/line2/intersects.test.js.map +1 -0
  171. package/dist/math/line2/line2.d.ts +42 -0
  172. package/dist/math/line2/line2.js +78 -0
  173. package/dist/math/line2/line2.js.map +1 -0
  174. package/dist/math/line3/closest-point-on-line.test.d.ts +1 -0
  175. package/dist/math/line3/closest-point-on-line.test.js +107 -0
  176. package/dist/math/line3/closest-point-on-line.test.js.map +1 -0
  177. package/dist/math/line3/interpolate.test.d.ts +1 -0
  178. package/dist/math/line3/interpolate.test.js +66 -0
  179. package/dist/math/line3/interpolate.test.js.map +1 -0
  180. package/dist/math/line3/line3.d.ts +49 -0
  181. package/dist/math/line3/line3.js +77 -0
  182. package/dist/math/line3/line3.js.map +1 -0
  183. package/dist/math/line3/sub-line.test.d.ts +1 -0
  184. package/dist/math/line3/sub-line.test.js +70 -0
  185. package/dist/math/line3/sub-line.test.js.map +1 -0
  186. package/dist/math/mat4x4/mat4x4.d.ts +37 -0
  187. package/dist/math/mat4x4/mat4x4.js +246 -0
  188. package/dist/math/mat4x4/mat4x4.js.map +1 -0
  189. package/dist/math/picking/index.d.ts +1 -0
  190. package/dist/math/picking/index.js +23 -0
  191. package/dist/math/picking/index.js.map +1 -0
  192. package/dist/math/picking/pick-from-tables.d.ts +18 -0
  193. package/dist/math/picking/pick-from-tables.js +154 -0
  194. package/dist/math/picking/pick-from-tables.js.map +1 -0
  195. package/dist/math/picking/pick-result.d.ts +7 -0
  196. package/dist/{services/service.js → math/picking/pick-result.js} +1 -1
  197. package/dist/math/picking/pick-result.js.map +1 -0
  198. package/dist/math/quat/quat.d.ts +42 -0
  199. package/dist/math/quat/quat.js +220 -0
  200. package/dist/math/quat/quat.js.map +1 -0
  201. package/dist/math/vec2/vec2.d.ts +63 -0
  202. package/dist/math/vec2/vec2.js +114 -0
  203. package/dist/math/vec2/vec2.js.map +1 -0
  204. package/dist/math/vec3/vec3.d.ts +65 -0
  205. package/dist/math/vec3/vec3.js +154 -0
  206. package/dist/math/vec3/vec3.js.map +1 -0
  207. package/dist/math/vec4/vec4.d.ts +63 -0
  208. package/dist/math/vec4/vec4.js +154 -0
  209. package/dist/math/vec4/vec4.js.map +1 -0
  210. package/dist/observe/to-async-generator.js +4 -0
  211. package/dist/observe/to-async-generator.js.map +1 -1
  212. package/dist/observe/with-filter.d.ts +1 -1
  213. package/dist/observe/with-filter.js.map +1 -1
  214. package/dist/samples/index.d.ts +13 -0
  215. package/dist/samples/index.js +27 -0
  216. package/dist/samples/index.js.map +1 -0
  217. package/dist/samples/todo/elements/todo-list/todo-list-presentation.d.ts +25 -0
  218. package/dist/samples/todo/elements/todo-list/todo-list-presentation.js +12 -0
  219. package/dist/samples/todo/elements/todo-list/todo-list-presentation.js.map +1 -0
  220. package/dist/samples/todo/elements/todo-list/todo-list.css.d.ts +18 -0
  221. package/dist/samples/todo/elements/todo-list/todo-list.css.js +27 -0
  222. package/dist/samples/todo/elements/todo-list/todo-list.css.js.map +1 -0
  223. package/dist/samples/todo/elements/todo-list/todo-list.d.ts +12 -0
  224. package/dist/samples/todo/elements/todo-list/todo-list.js +60 -0
  225. package/dist/samples/todo/elements/todo-list/todo-list.js.map +1 -0
  226. package/dist/samples/todo/elements/todo-row/index.d.ts +18 -0
  227. package/dist/samples/todo/elements/todo-row/index.js +19 -0
  228. package/dist/samples/todo/elements/todo-row/index.js.map +1 -0
  229. package/dist/samples/todo/elements/todo-row/todo-row-presentation.d.ts +18 -0
  230. package/dist/samples/todo/elements/todo-row/todo-row-presentation.js +66 -0
  231. package/dist/samples/todo/elements/todo-row/todo-row-presentation.js.map +1 -0
  232. package/dist/samples/todo/elements/todo-row/todo-row.css.d.ts +1 -0
  233. package/dist/samples/todo/elements/todo-row/todo-row.css.js +65 -0
  234. package/dist/samples/todo/elements/todo-row/todo-row.css.js.map +1 -0
  235. package/dist/samples/todo/elements/todo-row/todo-row.d.ts +14 -0
  236. package/dist/samples/todo/elements/todo-row/todo-row.js +60 -0
  237. package/dist/samples/todo/elements/todo-row/todo-row.js.map +1 -0
  238. package/dist/samples/todo/elements/todo-toolbar/index.d.ts +18 -0
  239. package/dist/samples/todo/elements/todo-toolbar/index.js +19 -0
  240. package/dist/samples/todo/elements/todo-toolbar/index.js.map +1 -0
  241. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar-presentation.d.ts +22 -0
  242. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar-presentation.js +57 -0
  243. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar-presentation.js.map +1 -0
  244. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar.css.d.ts +1 -0
  245. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar.css.js +50 -0
  246. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar.css.js.map +1 -0
  247. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar.d.ts +11 -0
  248. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar.js +77 -0
  249. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar.js.map +1 -0
  250. package/dist/samples/todo/elements/todo-undo-redo/index.d.ts +18 -0
  251. package/dist/samples/todo/elements/todo-undo-redo/index.js +19 -0
  252. package/dist/samples/todo/elements/todo-undo-redo/index.js.map +1 -0
  253. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo-presentation.d.ts +17 -0
  254. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo-presentation.js +45 -0
  255. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo-presentation.js.map +1 -0
  256. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo.css.d.ts +1 -0
  257. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo.css.js +28 -0
  258. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo.css.js.map +1 -0
  259. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo.d.ts +11 -0
  260. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo.js +52 -0
  261. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo.js.map +1 -0
  262. package/dist/samples/todo/services/dependent-state-service/create-dependent-state-service.d.ts +6 -0
  263. package/dist/samples/todo/services/dependent-state-service/create-dependent-state-service.js +21 -0
  264. package/dist/samples/todo/services/dependent-state-service/create-dependent-state-service.js.map +1 -0
  265. package/dist/samples/todo/services/dependent-state-service/dependent-state/all-todos.d.ts +19 -0
  266. package/dist/samples/todo/services/dependent-state-service/dependent-state/all-todos.js +2 -0
  267. package/dist/samples/todo/services/dependent-state-service/dependent-state/all-todos.js.map +1 -0
  268. package/dist/samples/todo/services/dependent-state-service/dependent-state/complete-todos.d.ts +19 -0
  269. package/dist/samples/todo/services/dependent-state-service/dependent-state/complete-todos.js +2 -0
  270. package/dist/samples/todo/services/dependent-state-service/dependent-state/complete-todos.js.map +1 -0
  271. package/dist/samples/todo/services/dependent-state-service/dependent-state/incomplete-todos.d.ts +19 -0
  272. package/dist/samples/todo/services/dependent-state-service/dependent-state/incomplete-todos.js +2 -0
  273. package/dist/samples/todo/services/dependent-state-service/dependent-state/incomplete-todos.js.map +1 -0
  274. package/dist/samples/todo/services/dependent-state-service/dependent-state/index.d.ts +20 -0
  275. package/dist/samples/todo/services/dependent-state-service/dependent-state/index.js +21 -0
  276. package/dist/samples/todo/services/dependent-state-service/dependent-state/index.js.map +1 -0
  277. package/dist/samples/todo/services/dependent-state-service/dependent-state-service.d.ts +19 -0
  278. package/dist/samples/todo/services/dependent-state-service/dependent-state-service.js +2 -0
  279. package/dist/samples/todo/services/dependent-state-service/dependent-state-service.js.map +1 -0
  280. package/dist/samples/todo/services/main-service/create-main-service.d.ts +25 -0
  281. package/dist/samples/todo/services/main-service/create-main-service.js +39 -0
  282. package/dist/samples/todo/services/main-service/create-main-service.js.map +1 -0
  283. package/dist/samples/todo/services/main-service/todo-main-service.d.ts +35 -0
  284. package/dist/samples/todo/services/main-service/todo-main-service.js +2 -0
  285. package/dist/samples/todo/services/main-service/todo-main-service.js.map +1 -0
  286. package/dist/samples/todo/services/state-service/create-todo-database.d.ts +13 -0
  287. package/dist/samples/todo/services/state-service/create-todo-database.js +26 -0
  288. package/dist/samples/todo/services/state-service/create-todo-database.js.map +1 -0
  289. package/dist/samples/todo/services/state-service/create-todo-store.d.ts +13 -0
  290. package/dist/samples/todo/services/state-service/create-todo-store.js +41 -0
  291. package/dist/samples/todo/services/state-service/create-todo-store.js.map +1 -0
  292. package/dist/samples/todo/services/state-service/todo-state-service.d.ts +22 -0
  293. package/dist/samples/todo/services/state-service/todo-state-service.js +2 -0
  294. package/dist/samples/todo/services/state-service/todo-state-service.js.map +1 -0
  295. package/dist/samples/todo/services/state-service/transactions/create-bulk-todos.d.ts +2 -0
  296. package/dist/samples/todo/services/state-service/transactions/create-bulk-todos.js +26 -0
  297. package/dist/samples/todo/services/state-service/transactions/create-bulk-todos.js.map +1 -0
  298. package/dist/samples/todo/services/state-service/transactions/create-todo.d.ts +22 -0
  299. package/dist/samples/todo/services/state-service/transactions/create-todo.js +13 -0
  300. package/dist/samples/todo/services/state-service/transactions/create-todo.js.map +1 -0
  301. package/dist/samples/todo/services/state-service/transactions/create-todo.test.d.ts +1 -0
  302. package/dist/samples/todo/services/state-service/transactions/create-todo.test.js +32 -0
  303. package/dist/samples/todo/services/state-service/transactions/create-todo.test.js.map +1 -0
  304. package/dist/samples/todo/services/state-service/transactions/delete-all-todos.d.ts +19 -0
  305. package/dist/samples/todo/services/state-service/transactions/delete-all-todos.js +16 -0
  306. package/dist/samples/todo/services/state-service/transactions/delete-all-todos.js.map +1 -0
  307. package/dist/samples/todo/services/state-service/transactions/delete-todo.d.ts +3 -0
  308. package/dist/samples/todo/services/state-service/transactions/delete-todo.js +24 -0
  309. package/dist/samples/todo/services/state-service/transactions/delete-todo.js.map +1 -0
  310. package/dist/samples/todo/services/state-service/transactions/delete-todo.test.d.ts +1 -0
  311. package/dist/samples/todo/services/state-service/transactions/delete-todo.test.js +40 -0
  312. package/dist/samples/todo/services/state-service/transactions/delete-todo.test.js.map +1 -0
  313. package/dist/samples/todo/services/state-service/transactions/drag-todo.d.ts +7 -0
  314. package/dist/samples/todo/services/state-service/transactions/drag-todo.js +33 -0
  315. package/dist/samples/todo/services/state-service/transactions/drag-todo.js.map +1 -0
  316. package/dist/samples/todo/services/state-service/transactions/index.d.ts +23 -0
  317. package/dist/samples/todo/services/state-service/transactions/index.js +25 -0
  318. package/dist/samples/todo/services/state-service/transactions/index.js.map +1 -0
  319. package/dist/samples/todo/services/state-service/transactions/reorder-todos.d.ts +23 -0
  320. package/dist/samples/todo/services/state-service/transactions/reorder-todos.js +11 -0
  321. package/dist/samples/todo/services/state-service/transactions/reorder-todos.js.map +1 -0
  322. package/dist/samples/todo/services/state-service/transactions/toggle-complete.d.ts +20 -0
  323. package/dist/samples/todo/services/state-service/transactions/toggle-complete.js +11 -0
  324. package/dist/samples/todo/services/state-service/transactions/toggle-complete.js.map +1 -0
  325. package/dist/samples/todo/services/state-service/transactions/toggle-complete.test.d.ts +1 -0
  326. package/dist/samples/todo/services/state-service/transactions/toggle-complete.test.js +81 -0
  327. package/dist/samples/todo/services/state-service/transactions/toggle-complete.test.js.map +1 -0
  328. package/dist/samples/todo/todo-element.d.ts +21 -0
  329. package/dist/samples/todo/todo-element.js +4 -0
  330. package/dist/samples/todo/todo-element.js.map +1 -0
  331. package/dist/samples/todo/todo-host.d.ts +8 -0
  332. package/dist/samples/todo/todo-host.js +55 -0
  333. package/dist/samples/todo/todo-host.js.map +1 -0
  334. package/dist/samples/todo/todo-main-element.d.ts +27 -0
  335. package/dist/samples/todo/todo-main-element.js +63 -0
  336. package/dist/samples/todo/todo-main-element.js.map +1 -0
  337. package/dist/samples/todo/todo-sample.d.ts +3 -0
  338. package/dist/samples/todo/todo-sample.js +39 -0
  339. package/dist/samples/todo/todo-sample.js.map +1 -0
  340. package/dist/schema/schema.d.ts +7 -6
  341. package/dist/schema/schema.js.map +1 -1
  342. package/dist/service/disposable.d.ts +4 -0
  343. package/dist/{services/is-service.js → service/disposable.js} +3 -3
  344. package/dist/service/disposable.js.map +1 -0
  345. package/dist/service/progressive-result.d.ts +7 -10
  346. package/dist/service/progressive-result.js +0 -6
  347. package/dist/service/progressive-result.js.map +1 -1
  348. package/dist/service/service.d.ts +11 -1
  349. package/dist/tsconfig.tsbuildinfo +1 -1
  350. package/dist/typed-buffer/register-typed-buffer-codecs.js +39 -22
  351. package/dist/typed-buffer/register-typed-buffer-codecs.js.map +1 -1
  352. package/dist/typed-buffer/structs/get-struct-layout.js +3 -0
  353. package/dist/typed-buffer/structs/get-struct-layout.js.map +1 -1
  354. package/package.json +20 -3
  355. package/dist/services/add-observable-actions.d.ts +0 -29
  356. package/dist/services/add-observable-actions.js +0 -108
  357. package/dist/services/add-observable-actions.js.map +0 -1
  358. package/dist/services/index.d.ts +0 -4
  359. package/dist/services/index.js.map +0 -1
  360. package/dist/services/is-service.d.ts +0 -2
  361. package/dist/services/is-service.js.map +0 -1
  362. package/dist/services/progressive-result.d.ts +0 -96
  363. package/dist/services/progressive-result.js +0 -99
  364. package/dist/services/progressive-result.js.map +0 -1
  365. package/dist/services/service.d.ts +0 -4
  366. package/dist/services/service.js.map +0 -1
@@ -19,18 +19,15 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.*/
22
- import { TrueSchema } from "../../../schema/true.js";
23
22
  import { createStoreSchema } from "./create-store-schema.js";
24
- // just a compile time test which is why we're using -test.ts extension instead of .test.ts
25
- createStoreSchema({
23
+ const storeSchema = createStoreSchema({
26
24
  velocity: { type: "number" },
27
- particle: TrueSchema,
25
+ particle: { type: "boolean" },
28
26
  }, {
29
27
  mousePosition: { type: "number", default: 0 },
30
28
  fooPosition: { type: "number", default: 0 },
31
29
  }, {
32
- bar: ["particle", "velocity"],
33
- // @ts-expect-error
34
- foo: ["particle", "velocity2"] // should throw error because velocity2 is not a component
30
+ Particle: ["particle"],
31
+ DynamicParticle: ["particle", "velocity"],
35
32
  });
36
33
  //# sourceMappingURL=create-store-schema-test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-store-schema-test.js","sourceRoot":"","sources":["../../../../src/ecs/store/store-schema/create-store-schema-test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAEX,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,2FAA2F;AAE3F,iBAAiB,CACb;IACI,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;IAC5B,QAAQ,EAAE,UAAU;CACvB,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,GAAG,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;IAC7B,mBAAmB;IACnB,GAAG,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,0DAA0D;CAC5F,CACJ,CAAA"}
1
+ {"version":3,"file":"create-store-schema-test.js","sourceRoot":"","sources":["../../../../src/ecs/store/store-schema/create-store-schema-test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAMX,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,MAAM,WAAW,GAAG,iBAAiB,CACjC;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,CACJ,CAAA"}
@@ -2,8 +2,10 @@ import { StringKeyof } from "../../../types/types.js";
2
2
  import { ComponentSchemas } from "../../component-schemas.js";
3
3
  import { ResourceSchemas } from "../../resource-schemas.js";
4
4
  import { ArchetypeComponents } from "../archetype-components.js";
5
+ import { StoreSchema } from "./store-schema.js";
5
6
  export declare function createStoreSchema<const CS extends ComponentSchemas, const RS extends ResourceSchemas, const A extends ArchetypeComponents<StringKeyof<CS>>>(components: CS, resources: RS, archetypes: A): {
6
7
  readonly components: CS;
7
8
  readonly resources: RS;
8
9
  readonly archetypes: A;
9
10
  };
11
+ export declare function createStoreFromSchema<const CS extends ComponentSchemas, const RS extends ResourceSchemas, const A extends ArchetypeComponents<StringKeyof<CS>>>(schema: StoreSchema<CS, RS, A>): import("../store.js").Store<{ [K in Extract<keyof CS, string>]: import("../../../schema/schema.js").FromSchema<CS[K], 5>; }, { -readonly [K_1 in Extract<keyof RS, string>]: import("../../../schema/schema.js").FromSchema<RS[K_1], 5>; }, A>;
@@ -19,8 +19,13 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.*/
22
+ import { createStore } from "../create-store.js";
22
23
  export function createStoreSchema(components, resources, archetypes) {
23
24
  return { components, resources, archetypes };
24
25
  }
25
26
  ;
27
+ export function createStoreFromSchema(schema) {
28
+ return createStore(schema.components, schema.resources, schema.archetypes);
29
+ }
30
+ ;
26
31
  //# sourceMappingURL=create-store-schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-store-schema.js","sourceRoot":"","sources":["../../../../src/ecs/store/store-schema/create-store-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAQX,MAAM,UAAU,iBAAiB,CAK7B,UAAc,EACd,SAAa,EACb,UAAa;IAEb,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAA4C,CAAC;AAC3F,CAAC;AAAA,CAAC"}
1
+ {"version":3,"file":"create-store-schema.js","sourceRoot":"","sources":["../../../../src/ecs/store/store-schema/create-store-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAMX,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,MAAM,UAAU,iBAAiB,CAK7B,UAAc,EACd,SAAa,EACb,UAAa;IAEb,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAA4C,CAAC;AAC3F,CAAC;AAAA,CAAC;AAEF,MAAM,UAAU,qBAAqB,CAKjC,MAA8B;IAE9B,OAAO,WAAW,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC;AAC/E,CAAC;AAAA,CAAC"}
@@ -1,2 +1,2 @@
1
- export { createStoreSchema } from "./create-store-schema.js";
1
+ export * from "./create-store-schema.js";
2
2
  export * from "./store-schema.js";
@@ -19,6 +19,6 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.*/
22
- export { createStoreSchema } from "./create-store-schema.js";
22
+ export * from "./create-store-schema.js";
23
23
  export * from "./store-schema.js";
24
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ecs/store/store-schema/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAEX,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ecs/store/store-schema/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAEX,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { FromSchemas } from "@adobe/data/schema";
1
+ import { FromSchemas } from "../../../schema/schema.js";
2
2
  import { ComponentSchemas } from "../../component-schemas.js";
3
3
  import { ResourceSchemas } from "../../resource-schemas.js";
4
4
  import { Store } from "../store.js";
@@ -0,0 +1,7 @@
1
+ import { StringKeyof } from "../../types/types.js";
2
+ import { ArchetypeComponents, Database, Store, TransactionFunctions } from "../index.js";
3
+ import { Components } from "../store/components.js";
4
+ import { ResourceComponents } from "../store/resource-components.js";
5
+ import { System } from "./system.js";
6
+ import { World } from "./world.js";
7
+ export declare function createWorld<C extends Components, R extends ResourceComponents, A extends ArchetypeComponents<StringKeyof<C>>, T extends TransactionFunctions, SD extends Record<string, System<C, R, A, T, keyof SD & string>>>(store: Store<C, R, A>, database: Database<C, R, A, T>, systems: SD): World<C, R, A, T, keyof SD & string>;
@@ -0,0 +1,108 @@
1
+ import { topologicalSort } from "../../internal/array/index.js";
2
+ export function createWorld(store, database, systems) {
3
+ const allSystems = Object.keys(systems);
4
+ // Cache for topological sort results to avoid re-computing for same system sets
5
+ const topologicalSortCache = new Map();
6
+ const runSystems = (systemNames) => {
7
+ try {
8
+ // Default to all systems if none specified
9
+ if (systemNames.length === 0) {
10
+ systemNames = allSystems;
11
+ }
12
+ // Check cache first (by array identity)
13
+ let sortedSystems = topologicalSortCache.get(systemNames);
14
+ if (!sortedSystems) {
15
+ // Build dependency graph for system scheduling
16
+ const edges = buildSystemEdges(systemNames, systems);
17
+ sortedSystems = topologicalSort(systemNames, edges);
18
+ // Cache the result
19
+ topologicalSortCache.set(systemNames, sortedSystems);
20
+ }
21
+ // Track if any system is async
22
+ const asyncPromises = [];
23
+ // Execute systems in dependency order
24
+ for (const systemName of sortedSystems) {
25
+ const system = systems[systemName];
26
+ try {
27
+ let result = undefined;
28
+ if (system.type === "store") {
29
+ result = system.run(store);
30
+ }
31
+ else if (system.type === "database") {
32
+ result = system.run(database);
33
+ }
34
+ // Check if the result is a Promise
35
+ if (result && typeof result === 'object' && 'then' in result) {
36
+ // If we find any async system, we need to handle all remaining systems async
37
+ asyncPromises.push(result);
38
+ // Switch to async mode for remaining systems
39
+ return executeRemainingAsync(sortedSystems, systemName, asyncPromises);
40
+ }
41
+ // If result is not a Promise, continue synchronously
42
+ }
43
+ catch (error) {
44
+ console.error(`System ${String(systemName)} failed:`, error);
45
+ return Promise.reject(error);
46
+ }
47
+ }
48
+ // If we reach here, all systems were synchronous
49
+ return Promise.resolve();
50
+ }
51
+ catch (error) {
52
+ // Handle errors from topological sort (e.g., circular dependencies)
53
+ return Promise.reject(error);
54
+ }
55
+ };
56
+ // Helper function to handle async execution once we encounter the first async system
57
+ const executeRemainingAsync = async (sortedSystems, currentSystemName, pendingPromises) => {
58
+ // Wait for the current async system to complete
59
+ await Promise.all(pendingPromises);
60
+ // Find the index of current system to continue from next one
61
+ const currentIndex = sortedSystems.indexOf(currentSystemName);
62
+ // Execute remaining systems asynchronously
63
+ for (let i = currentIndex + 1; i < sortedSystems.length; i++) {
64
+ const systemName = sortedSystems[i];
65
+ const system = systems[systemName];
66
+ try {
67
+ if (system.type === "store") {
68
+ await system.run(store);
69
+ }
70
+ else if (system.type === "database") {
71
+ await system.run(database);
72
+ }
73
+ }
74
+ catch (error) {
75
+ console.error(`System ${String(systemName)} failed:`, error);
76
+ throw error;
77
+ }
78
+ }
79
+ };
80
+ // Build edges for system dependency graph
81
+ const buildSystemEdges = (systemNames, systemMap) => {
82
+ const edges = [];
83
+ systemNames.forEach(name => {
84
+ const system = systemMap[name];
85
+ const nameStr = String(name);
86
+ // Convert 'before' constraints to edges: current → dependency
87
+ // (current system must run before the dependency)
88
+ system.schedule?.before?.forEach(dep => {
89
+ if (systemNames.includes(dep)) {
90
+ edges.push([nameStr, String(dep)]);
91
+ }
92
+ });
93
+ // Convert 'after' constraints to edges: dependency → current
94
+ // (current system must run after the dependency)
95
+ system.schedule?.after?.forEach(dep => {
96
+ if (systemNames.includes(dep)) {
97
+ edges.push([String(dep), nameStr]);
98
+ }
99
+ });
100
+ });
101
+ return edges;
102
+ };
103
+ return {
104
+ ...database,
105
+ runSystems,
106
+ };
107
+ }
108
+ //# sourceMappingURL=create-world.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-world.js","sourceRoot":"","sources":["../../../src/ecs/world/create-world.ts"],"names":[],"mappings":"AA2BA,OAAO,EAAE,eAAe,EAAa,MAAM,+BAA+B,CAAC;AAE3E,MAAM,UAAU,WAAW,CAOvB,KAAqB,EACrB,QAA8B,EAC9B,OAAW;IAGX,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAA0B,CAAC;IAEjE,gFAAgF;IAChF,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAgD,CAAC;IAErF,MAAM,UAAU,GAAG,CAAC,WAAkC,EAAiB,EAAE;QACrE,IAAI,CAAC;YACD,2CAA2C;YAC3C,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC3B,WAAW,GAAG,UAAU,CAAC;YAC7B,CAAC;YAED,wCAAwC;YACxC,IAAI,aAAa,GAAG,oBAAoB,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;YAC1D,IAAI,CAAC,aAAa,EAAE,CAAC;gBACjB,+CAA+C;gBAC/C,MAAM,KAAK,GAAG,gBAAgB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;gBACrD,aAAa,GAAG,eAAe,CAAC,WAAW,EAAE,KAAK,CAA0B,CAAC;gBAE7E,mBAAmB;gBACnB,oBAAoB,CAAC,GAAG,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;YAC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