@adobe/data 0.5.23 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) hide show
  1. package/README.md +96 -110
  2. package/dist/blob/blob-handle.d.ts +53 -2
  3. package/dist/blob/blob-handle.js +48 -4
  4. package/dist/blob/blob-handle.js.map +1 -1
  5. package/dist/blob/blob-meta.d.ts +26 -1
  6. package/dist/blob/blob-meta.js +14 -1
  7. package/dist/blob/blob-meta.js.map +1 -1
  8. package/dist/blob/index.d.ts +0 -2
  9. package/dist/blob/index.js +21 -2
  10. package/dist/blob/index.js.map +1 -1
  11. package/dist/cache/functions/hashing/blob-to-hash.js +7 -5
  12. package/dist/cache/functions/hashing/blob-to-hash.js.map +1 -1
  13. package/dist/ecs/database/create-database.js +56 -50
  14. package/dist/ecs/database/create-database.js.map +1 -1
  15. package/dist/ecs/database/create-database.test.js +2 -1
  16. package/dist/ecs/database/create-database.test.js.map +1 -1
  17. package/dist/ecs/database/database-schema/create-database-schema-test.js +1 -1
  18. package/dist/ecs/database/database-schema/create-database-schema-test.js.map +1 -1
  19. package/dist/ecs/database/database-schema/create-database-schema.js +0 -2
  20. package/dist/ecs/database/database-schema/create-database-schema.js.map +1 -1
  21. package/dist/ecs/database/transactional-store/apply-operations.js.map +1 -1
  22. package/dist/ecs/database/transactional-store/coalesce-transactions.js +2 -2
  23. package/dist/ecs/database/transactional-store/coalesce-transactions.js.map +1 -1
  24. package/dist/ecs/database/transactional-store/patch-entity-values.js.map +1 -1
  25. package/dist/ecs/store/core/select-entities.js +2 -2
  26. package/dist/ecs/store/core/select-entities.js.map +1 -1
  27. package/dist/ecs/store/store-schema/create-store-schema-test.js +2 -2
  28. package/dist/ecs/store/store-schema/create-store-schema-test.js.map +1 -1
  29. package/dist/ecs/store/store-schema/create-store-schema.d.ts +11 -1
  30. package/dist/ecs/store/store-schema/create-store-schema.js +30 -44
  31. package/dist/ecs/store/store-schema/create-store-schema.js.map +1 -1
  32. package/dist/ecs/store/store-schema/index.d.ts +2 -1
  33. package/dist/ecs/store/store-schema/index.js +23 -20
  34. package/dist/ecs/store/store-schema/index.js.map +1 -1
  35. package/dist/ecs/store/store-schema/store-schema.d.ts +12 -1
  36. package/dist/ecs/store/store-schema/store-schema.js +21 -55
  37. package/dist/ecs/store/store-schema/store-schema.js.map +1 -1
  38. package/dist/ecs/store/store.js +2 -2
  39. package/dist/ecs/store/store.js.map +1 -1
  40. package/dist/functions/merge-patch.js.map +1 -1
  41. package/dist/functions/merge-patch.test.js +21 -0
  42. package/dist/functions/merge-patch.test.js.map +1 -1
  43. package/dist/functions/serialization/index.js +21 -0
  44. package/dist/functions/serialization/index.js.map +1 -1
  45. package/dist/functions/serialization/register-blob-codecs.js.map +1 -1
  46. package/dist/functions/serialization/register-typed-array-codecs.js.map +1 -1
  47. package/dist/functions/serialization/serialize-to-blobs.js +21 -0
  48. package/dist/functions/serialization/serialize-to-blobs.js.map +1 -1
  49. package/dist/functions/serialization/serialize-to-blobs.test.js +21 -0
  50. package/dist/functions/serialization/serialize-to-blobs.test.js.map +1 -1
  51. package/dist/functions/serialization/serialize-to-storage.js +21 -0
  52. package/dist/functions/serialization/serialize-to-storage.js.map +1 -1
  53. package/dist/functions/serialization/serialize-to-storage.test.js +21 -0
  54. package/dist/functions/serialization/serialize-to-storage.test.js.map +1 -1
  55. package/dist/functions/serialization/serialize.js +21 -0
  56. package/dist/functions/serialization/serialize.js.map +1 -1
  57. package/dist/graphics/frame.d.ts +22 -1
  58. package/dist/graphics/frame.js +11 -14
  59. package/dist/graphics/frame.js.map +1 -1
  60. package/dist/graphics/get-web-gpu-device-and-context.d.ts +2 -1
  61. package/dist/graphics/get-web-gpu-device-and-context.js +20 -23
  62. package/dist/graphics/get-web-gpu-device-and-context.js.map +1 -1
  63. package/dist/graphics/graphics-context.d.ts +5 -1
  64. package/dist/graphics/graphics-context.js +0 -5
  65. package/dist/graphics/graphics-context.js.map +1 -1
  66. package/dist/internal/array-buffer-like/copy.js +0 -420
  67. package/dist/internal/array-buffer-like/copy.js.map +1 -1
  68. package/dist/internal/array-buffer-like/is-array-buffer.js +0 -420
  69. package/dist/internal/array-buffer-like/is-array-buffer.js.map +1 -1
  70. package/dist/internal/array-buffer-like/is-shared-array-buffer.js +0 -420
  71. package/dist/internal/array-buffer-like/is-shared-array-buffer.js.map +1 -1
  72. package/dist/internal/data-view-32/data-view-32.js +0 -21
  73. package/dist/internal/data-view-32/data-view-32.js.map +1 -1
  74. package/dist/lit/elements/service-application.d.ts +9 -0
  75. package/dist/lit/elements/service-application.js +55 -0
  76. package/dist/lit/elements/service-application.js.map +1 -0
  77. package/dist/lit/elements/service-context.d.ts +1 -0
  78. package/dist/{ecs/entity/u32.js → lit/elements/service-context.js} +3 -3
  79. package/dist/lit/elements/service-context.js.map +1 -0
  80. package/dist/lit/elements/service-element.d.ts +6 -0
  81. package/dist/lit/elements/service-element.js +43 -0
  82. package/dist/lit/elements/service-element.js.map +1 -0
  83. package/dist/lit/hooks/index.d.ts +1 -0
  84. package/dist/lit/hooks/index.js +1 -0
  85. package/dist/lit/hooks/index.js.map +1 -1
  86. package/dist/lit/hooks/use-debounce.d.ts +8 -0
  87. package/dist/lit/hooks/use-debounce.js +41 -0
  88. package/dist/lit/hooks/use-debounce.js.map +1 -0
  89. package/dist/lit/hooks/use-drag-observe.d.ts +6 -5
  90. package/dist/lit/hooks/use-drag-observe.js +2 -2
  91. package/dist/lit/hooks/use-drag-observe.js.map +1 -1
  92. package/dist/lit/hooks/use-drag-transaction.d.ts +1 -1
  93. package/dist/lit/hooks/use-drag-transaction.js +1 -2
  94. package/dist/lit/hooks/use-drag-transaction.js.map +1 -1
  95. package/dist/lit/hooks/use-draggable.d.ts +5 -6
  96. package/dist/lit/hooks/use-draggable.js +23 -31
  97. package/dist/lit/hooks/use-draggable.js.map +1 -1
  98. package/dist/lit/hooks/use-effect.js +1 -1
  99. package/dist/lit/hooks/use-effect.js.map +1 -1
  100. package/dist/lit/hooks/use-resize-observer.d.ts +2 -0
  101. package/dist/lit/hooks/use-resize-observer.js +2 -0
  102. package/dist/lit/hooks/use-resize-observer.js.map +1 -1
  103. package/dist/lit/hooks/use-updated.js +21 -0
  104. package/dist/lit/hooks/use-updated.js.map +1 -1
  105. package/dist/math/aabb/aabb.js +1 -0
  106. package/dist/math/aabb/aabb.js.map +1 -1
  107. package/dist/math/aabb-face/aabb-face.d.ts +14 -19
  108. package/dist/math/aabb-face/aabb-face.js +31 -19
  109. package/dist/math/aabb-face/aabb-face.js.map +1 -1
  110. package/dist/math/f32/f32.js +1 -0
  111. package/dist/math/f32/f32.js.map +1 -1
  112. package/dist/math/i32/i32.js +1 -0
  113. package/dist/math/i32/i32.js.map +1 -1
  114. package/dist/math/line2/line2.js +1 -0
  115. package/dist/math/line2/line2.js.map +1 -1
  116. package/dist/math/line3/line3.js +1 -0
  117. package/dist/math/line3/line3.js.map +1 -1
  118. package/dist/math/mat4x4/mat4x4.js +1 -0
  119. package/dist/math/mat4x4/mat4x4.js.map +1 -1
  120. package/dist/math/picking/get-closest-entity-to-line.js +1 -1
  121. package/dist/math/picking/get-closest-entity-to-line.js.map +1 -1
  122. package/dist/math/picking/get-closest-entity-to-point.js +1 -1
  123. package/dist/math/picking/get-closest-entity-to-point.js.map +1 -1
  124. package/dist/math/picking/pick-from-tables.js +1 -1
  125. package/dist/math/picking/pick-from-tables.js.map +1 -1
  126. package/dist/math/picking/pick-result.d.ts +2 -4
  127. package/dist/math/plane/plane.js +1 -0
  128. package/dist/math/plane/plane.js.map +1 -1
  129. package/dist/math/quat/quat.js +1 -0
  130. package/dist/math/quat/quat.js.map +1 -1
  131. package/dist/math/u32/u32.js +1 -0
  132. package/dist/math/u32/u32.js.map +1 -1
  133. package/dist/math/vec2/vec2.js +1 -0
  134. package/dist/math/vec2/vec2.js.map +1 -1
  135. package/dist/math/vec3/vec3.d.ts +1 -0
  136. package/dist/math/vec3/vec3.js +2 -0
  137. package/dist/math/vec3/vec3.js.map +1 -1
  138. package/dist/math/vec4/vec4.d.ts +1 -0
  139. package/dist/math/vec4/vec4.js +7 -0
  140. package/dist/math/vec4/vec4.js.map +1 -1
  141. package/dist/observe/to-async-generator.test.js +5 -8
  142. package/dist/observe/to-async-generator.test.js.map +1 -1
  143. package/dist/observe/with-default.js +0 -1
  144. package/dist/observe/with-default.js.map +1 -1
  145. package/dist/old-ecs/action-ecs/action-ecs.test.js +1 -1
  146. package/dist/old-ecs/action-ecs/action-ecs.test.js.map +1 -1
  147. package/dist/old-ecs/core-ecs/core-ecs-serialization.test.js +4 -208
  148. package/dist/old-ecs/core-ecs/core-ecs-serialization.test.js.map +1 -1
  149. package/dist/old-ecs/core-ecs/core-ecs-types.d.ts +1 -4
  150. package/dist/old-ecs/core-ecs/core-ecs.d.ts +0 -2
  151. package/dist/old-ecs/core-ecs/core-ecs.js +9 -13
  152. package/dist/old-ecs/core-ecs/core-ecs.js.map +1 -1
  153. package/dist/old-ecs/ecs/ecs.test.js +1 -1
  154. package/dist/old-ecs/ecs/ecs.test.js.map +1 -1
  155. package/dist/old-ecs/transaction-ecs/transaction-ecs.test.js +1 -1
  156. package/dist/old-ecs/transaction-ecs/transaction-ecs.test.js.map +1 -1
  157. package/dist/samples/todo/elements/todo-list/todo-list-presentation.d.ts +0 -17
  158. package/dist/samples/todo/elements/todo-list/todo-list-presentation.js.map +1 -1
  159. package/dist/samples/todo/elements/todo-list/todo-list.css.d.ts +0 -17
  160. package/dist/samples/todo/elements/todo-list/todo-list.css.js +21 -17
  161. package/dist/samples/todo/elements/todo-list/todo-list.css.js.map +1 -1
  162. package/dist/samples/todo/elements/todo-list/todo-list.js +21 -17
  163. package/dist/samples/todo/elements/todo-list/todo-list.js.map +1 -1
  164. package/dist/samples/todo/elements/todo-row/index.d.ts +0 -17
  165. package/dist/samples/todo/elements/todo-row/index.js +21 -17
  166. package/dist/samples/todo/elements/todo-row/index.js.map +1 -1
  167. package/dist/samples/todo/elements/todo-row/todo-row-presentation.js +23 -19
  168. package/dist/samples/todo/elements/todo-row/todo-row-presentation.js.map +1 -1
  169. package/dist/samples/todo/elements/todo-row/todo-row.css.js +21 -17
  170. package/dist/samples/todo/elements/todo-row/todo-row.css.js.map +1 -1
  171. package/dist/samples/todo/elements/todo-row/todo-row.js +21 -17
  172. package/dist/samples/todo/elements/todo-row/todo-row.js.map +1 -1
  173. package/dist/samples/todo/elements/todo-toolbar/index.d.ts +0 -17
  174. package/dist/samples/todo/elements/todo-toolbar/index.js +21 -17
  175. package/dist/samples/todo/elements/todo-toolbar/index.js.map +1 -1
  176. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar-presentation.js +21 -17
  177. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar-presentation.js.map +1 -1
  178. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar.css.js +21 -17
  179. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar.css.js.map +1 -1
  180. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar.js +21 -17
  181. package/dist/samples/todo/elements/todo-toolbar/todo-toolbar.js.map +1 -1
  182. package/dist/samples/todo/elements/todo-undo-redo/index.d.ts +0 -17
  183. package/dist/samples/todo/elements/todo-undo-redo/index.js +21 -17
  184. package/dist/samples/todo/elements/todo-undo-redo/index.js.map +1 -1
  185. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo-presentation.js +21 -17
  186. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo-presentation.js.map +1 -1
  187. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo.css.js +21 -17
  188. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo.css.js.map +1 -1
  189. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo.js +21 -17
  190. package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo.js.map +1 -1
  191. package/dist/samples/todo/services/dependent-state-service/create-dependent-state-service.js +21 -17
  192. package/dist/samples/todo/services/dependent-state-service/create-dependent-state-service.js.map +1 -1
  193. package/dist/samples/todo/services/dependent-state-service/dependent-state/all-todos.d.ts +0 -17
  194. package/dist/samples/todo/services/dependent-state-service/dependent-state/all-todos.js.map +1 -1
  195. package/dist/samples/todo/services/dependent-state-service/dependent-state/complete-todos.d.ts +0 -17
  196. package/dist/samples/todo/services/dependent-state-service/dependent-state/complete-todos.js.map +1 -1
  197. package/dist/samples/todo/services/dependent-state-service/dependent-state/incomplete-todos.d.ts +0 -17
  198. package/dist/samples/todo/services/dependent-state-service/dependent-state/incomplete-todos.js.map +1 -1
  199. package/dist/samples/todo/services/dependent-state-service/dependent-state/index.d.ts +0 -17
  200. package/dist/samples/todo/services/dependent-state-service/dependent-state/index.js +21 -17
  201. package/dist/samples/todo/services/dependent-state-service/dependent-state/index.js.map +1 -1
  202. package/dist/samples/todo/services/dependent-state-service/dependent-state-service.d.ts +0 -17
  203. package/dist/samples/todo/services/main-service/create-main-service.d.ts +0 -17
  204. package/dist/samples/todo/services/main-service/create-main-service.js.map +1 -1
  205. package/dist/samples/todo/services/main-service/todo-main-service.d.ts +0 -17
  206. package/dist/samples/todo/services/state-service/create-todo-database.js +21 -17
  207. package/dist/samples/todo/services/state-service/create-todo-database.js.map +1 -1
  208. package/dist/samples/todo/services/state-service/create-todo-store.js +21 -17
  209. package/dist/samples/todo/services/state-service/create-todo-store.js.map +1 -1
  210. package/dist/samples/todo/services/state-service/todo-state-service.d.ts +0 -17
  211. package/dist/samples/todo/services/state-service/transactions/create-bulk-todos.js +21 -17
  212. package/dist/samples/todo/services/state-service/transactions/create-bulk-todos.js.map +1 -1
  213. package/dist/samples/todo/services/state-service/transactions/create-todo.d.ts +0 -17
  214. package/dist/samples/todo/services/state-service/transactions/create-todo.js.map +1 -1
  215. package/dist/samples/todo/services/state-service/transactions/create-todo.test.js +21 -17
  216. package/dist/samples/todo/services/state-service/transactions/create-todo.test.js.map +1 -1
  217. package/dist/samples/todo/services/state-service/transactions/delete-all-todos.d.ts +0 -17
  218. package/dist/samples/todo/services/state-service/transactions/delete-all-todos.js.map +1 -1
  219. package/dist/samples/todo/services/state-service/transactions/delete-todo.js +21 -17
  220. package/dist/samples/todo/services/state-service/transactions/delete-todo.js.map +1 -1
  221. package/dist/samples/todo/services/state-service/transactions/delete-todo.test.js +21 -17
  222. package/dist/samples/todo/services/state-service/transactions/delete-todo.test.js.map +1 -1
  223. package/dist/samples/todo/services/state-service/transactions/drag-todo.js +21 -17
  224. package/dist/samples/todo/services/state-service/transactions/drag-todo.js.map +1 -1
  225. package/dist/samples/todo/services/state-service/transactions/index.d.ts +0 -17
  226. package/dist/samples/todo/services/state-service/transactions/index.js +21 -17
  227. package/dist/samples/todo/services/state-service/transactions/index.js.map +1 -1
  228. package/dist/samples/todo/services/state-service/transactions/reorder-todos.d.ts +0 -17
  229. package/dist/samples/todo/services/state-service/transactions/reorder-todos.js.map +1 -1
  230. package/dist/samples/todo/services/state-service/transactions/toggle-complete.d.ts +0 -17
  231. package/dist/samples/todo/services/state-service/transactions/toggle-complete.js.map +1 -1
  232. package/dist/samples/todo/services/state-service/transactions/toggle-complete.test.js +21 -17
  233. package/dist/samples/todo/services/state-service/transactions/toggle-complete.test.js.map +1 -1
  234. package/dist/samples/todo/todo-element.d.ts +0 -17
  235. package/dist/samples/todo/todo-element.js.map +1 -1
  236. package/dist/samples/todo/todo-main-element.d.ts +0 -17
  237. package/dist/samples/todo/todo-main-element.js +21 -17
  238. package/dist/samples/todo/todo-main-element.js.map +1 -1
  239. package/dist/schema/schema.d.ts +12 -15
  240. package/dist/schema/schema.js +2 -5
  241. package/dist/schema/schema.js.map +1 -1
  242. package/dist/service/index.d.ts +1 -1
  243. package/dist/service/index.js +1 -1
  244. package/dist/service/index.js.map +1 -1
  245. package/dist/table/table.js +1 -0
  246. package/dist/table/table.js.map +1 -1
  247. package/dist/tsconfig.tsbuildinfo +1 -1
  248. package/dist/typed-buffer/create-struct-buffer.js +0 -1
  249. package/dist/typed-buffer/create-struct-buffer.js.map +1 -1
  250. package/dist/typed-buffer/create-struct-buffer.test.js +5 -3
  251. package/dist/typed-buffer/create-struct-buffer.test.js.map +1 -1
  252. package/dist/typed-buffer/is-typed-buffer.js +21 -0
  253. package/dist/typed-buffer/is-typed-buffer.js.map +1 -1
  254. package/dist/typed-buffer/is-typed-buffer.test.js +21 -0
  255. package/dist/typed-buffer/is-typed-buffer.test.js.map +1 -1
  256. package/dist/typed-buffer/typed-buffer-equals.js +21 -0
  257. package/dist/typed-buffer/typed-buffer-equals.js.map +1 -1
  258. package/dist/types/replace.d.ts +0 -4
  259. package/dist/types/replace.js.map +1 -1
  260. package/package.json +1 -1
  261. package/dist/ecs/entity/entity.d.ts +0 -8
  262. package/dist/ecs/entity/entity.js +0 -3
  263. package/dist/ecs/entity/entity.js.map +0 -1
  264. package/dist/ecs/entity/u32.d.ts +0 -8
  265. package/dist/ecs/entity/u32.js.map +0 -1
  266. package/dist/math/aabb-face/face.d.ts +0 -51
  267. package/dist/math/aabb-face/face.js +0 -110
  268. package/dist/math/aabb-face/face.js.map +0 -1
  269. package/dist/math/aabb-face/face.test.d.ts +0 -1
  270. package/dist/math/aabb-face/face.test.js +0 -94
  271. package/dist/math/aabb-face/face.test.js.map +0 -1
  272. package/dist/math/box/box.d.ts +0 -50
  273. package/dist/math/box/box.js +0 -23
  274. package/dist/math/box/box.js.map +0 -1
  275. package/dist/math/face/face.d.ts +0 -51
  276. package/dist/math/face/face.js +0 -110
  277. package/dist/math/face/face.js.map +0 -1
  278. package/dist/math/face/face.test.d.ts +0 -1
  279. package/dist/math/face/face.test.js +0 -94
  280. package/dist/math/face/face.test.js.map +0 -1
  281. package/dist/math/picking/face.d.ts +0 -1
  282. package/dist/math/picking/face.js +0 -2
  283. package/dist/math/picking/face.js.map +0 -1
  284. package/dist/math/picking/getClosestEntityToLine.d.ts +0 -4
  285. package/dist/math/picking/getClosestEntityToLine.js +0 -29
  286. package/dist/math/picking/getClosestEntityToLine.js.map +0 -1
  287. package/dist/math/picking/getClosestEntityToPoint.d.ts +0 -4
  288. package/dist/math/picking/getClosestEntityToPoint.js +0 -27
  289. package/dist/math/picking/getClosestEntityToPoint.js.map +0 -1
  290. package/dist/math/picking/getIntersectingEntities.d.ts +0 -12
  291. package/dist/math/picking/getIntersectingEntities.js +0 -15
  292. package/dist/math/picking/getIntersectingEntities.js.map +0 -1
  293. package/dist/math/transform/debug-inverse.d.ts +0 -1
  294. package/dist/math/transform/debug-inverse.js +0 -28
  295. package/dist/math/transform/debug-inverse.js.map +0 -1
  296. package/dist/math/transform/debug-quat.d.ts +0 -1
  297. package/dist/math/transform/debug-quat.js +0 -23
  298. package/dist/math/transform/debug-quat.js.map +0 -1
  299. package/dist/math/transform/debug-test.d.ts +0 -1
  300. package/dist/math/transform/debug-test.js +0 -34
  301. package/dist/math/transform/debug-test.js.map +0 -1
  302. package/dist/math/transform/transform.d.ts +0 -58
  303. package/dist/math/transform/transform.js +0 -101
  304. package/dist/math/transform/transform.js.map +0 -1
  305. package/dist/math/transform/transform.test.d.ts +0 -1
  306. package/dist/math/transform/transform.test.js +0 -309
  307. package/dist/math/transform/transform.test.js.map +0 -1
@@ -1,20 +1,24 @@
1
- /*************************************************************************
2
- *
3
- * ADOBE CONFIDENTIAL
4
- * ___________________
5
- *
6
- * Copyright 2025 Adobe
7
- * All Rights Reserved.
8
- *
9
- * NOTICE: All information contained herein is, and remains
10
- * the property of Adobe and its suppliers, if any. The intellectual
11
- * and technical concepts contained herein are proprietary to Adobe
12
- * and its suppliers and are protected by all applicable intellectual
13
- * property laws, including trade secret and copyright laws.
14
- * Dissemination of this information or reproduction of this material
15
- * is strictly forbidden unless prior written permission is obtained
16
- * from Adobe.
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.*/
18
22
  export * from './create-todo.js';
19
23
  export * from './delete-todo.js';
20
24
  export * from './toggle-complete.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;4EAgB4E;AAC5E,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,oFAAoF;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AACX,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,oFAAoF;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC"}
@@ -1,20 +1,3 @@
1
- /*************************************************************************
2
- *
3
- * ADOBE CONFIDENTIAL
4
- * ___________________
5
- *
6
- * Copyright 2025 Adobe
7
- * All Rights Reserved.
8
- *
9
- * NOTICE: All information contained herein is, and remains
10
- * the property of Adobe and its suppliers, if any. The intellectual
11
- * and technical concepts contained herein are proprietary to Adobe
12
- * and its suppliers and are protected by all applicable intellectual
13
- * property laws, including trade secret and copyright laws.
14
- * Dissemination of this information or reproduction of this material
15
- * is strictly forbidden unless prior written permission is obtained
16
- * from Adobe.
17
- **************************************************************************/
18
1
  import { TodoStore } from '../create-todo-store.js';
19
2
  /**
20
3
  * Ensures each todo has an monotonically increasing integer order value.
@@ -1 +1 @@
1
- {"version":3,"file":"reorder-todos.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/reorder-todos.ts"],"names":[],"mappings":"AAmBA;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAY,EAAE,EAAE;IAC3C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IACjF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACtC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IACnC,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"reorder-todos.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/reorder-todos.ts"],"names":[],"mappings":"AAuBA;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAY,EAAE,EAAE;IAC3C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IACjF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACtC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IACnC,CAAC;AACH,CAAC,CAAC"}
@@ -1,20 +1,3 @@
1
- /*************************************************************************
2
- *
3
- * ADOBE CONFIDENTIAL
4
- * ___________________
5
- *
6
- * Copyright 2025 Adobe
7
- * All Rights Reserved.
8
- *
9
- * NOTICE: All information contained herein is, and remains
10
- * the property of Adobe and its suppliers, if any. The intellectual
11
- * and technical concepts contained herein are proprietary to Adobe
12
- * and its suppliers and are protected by all applicable intellectual
13
- * property laws, including trade secret and copyright laws.
14
- * Dissemination of this information or reproduction of this material
15
- * is strictly forbidden unless prior written permission is obtained
16
- * from Adobe.
17
- **************************************************************************/
18
1
  import { type Entity } from '../../../../../ecs/index.js';
19
2
  import { type TodoStore } from '../create-todo-store.js';
20
3
  export declare const toggleComplete: (t: TodoStore, id: Entity) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-complete.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/toggle-complete.ts"],"names":[],"mappings":"AAqBA,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAY,EAAE,EAAU,EAAE,EAAE;IACzD,CAAC,CAAC,QAAQ,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACjC,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACxB,wCAAwC;IACxC,uCAAuC;IACvC,yDAAyD;IACzD,IAAI,IAAI,EAAE,CAAC;QACT,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC7C,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"toggle-complete.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/toggle-complete.ts"],"names":[],"mappings":"AAyBA,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAY,EAAE,EAAU,EAAE,EAAE;IACzD,CAAC,CAAC,QAAQ,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACjC,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACxB,wCAAwC;IACxC,uCAAuC;IACvC,yDAAyD;IACzD,IAAI,IAAI,EAAE,CAAC;QACT,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC7C,CAAC;AACH,CAAC,CAAC"}
@@ -1,20 +1,24 @@
1
- /*************************************************************************
2
- *
3
- * ADOBE CONFIDENTIAL
4
- * ___________________
5
- *
6
- * Copyright 2025 Adobe
7
- * All Rights Reserved.
8
- *
9
- * NOTICE: All information contained herein is, and remains
10
- * the property of Adobe and its suppliers, if any. The intellectual
11
- * and technical concepts contained herein are proprietary to Adobe
12
- * and its suppliers and are protected by all applicable intellectual
13
- * property laws, including trade secret and copyright laws.
14
- * Dissemination of this information or reproduction of this material
15
- * is strictly forbidden unless prior written permission is obtained
16
- * from Adobe.
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.*/
18
22
  import { createTodo } from './create-todo.js';
19
23
  import { toggleComplete } from './toggle-complete.js';
20
24
  import { describe, expect, it } from 'vitest';
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-complete.test.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/toggle-complete.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;4EAgB4E;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;QAC7C,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;YACtC,MAAM,CAAC,GAAG,eAAe,EAAE,CAAC;YAC5B,MAAM,MAAM,GAAG,UAAU,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;YACpD,yBAAyB;YACzB,CAAC,CAAC,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E;YACpD,MAAM,CAAC,GAAG,eAAe,EAAE,CAAC;YAC5B,MAAM,SAAS,GAAG,CAAC,CAAC,CAAC;YAErB,mBAAmB;YACnB,cAAc,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;YAC7B,MAAM,CAAC,GAAG,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;QAC3D,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"toggle-complete.test.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/toggle-complete.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AACX,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;QAC7C,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;YACtC,MAAM,CAAC,GAAG,eAAe,EAAE,CAAC;YAC5B,MAAM,MAAM,GAAG,UAAU,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;YACpD,yBAAyB;YACzB,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;YACrC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAE5C,iBAAiB;YACjB,cAAc,CAAC,CAAC,EAA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AC,CAAC,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;QAC3D,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,20 +1,3 @@
1
- /*************************************************************************
2
- *
3
- * ADOBE CONFIDENTIAL
4
- * ___________________
5
- *
6
- * Copyright 2024 Adobe
7
- * All Rights Reserved.
8
- *
9
- * NOTICE: All information contained herein is, and remains
10
- * the property of Adobe and its suppliers, if any. The intellectual
11
- * and technical concepts contained herein are proprietary to Adobe
12
- * and its suppliers and are protected by all applicable intellectual
13
- * property laws, including trade secret and copyright laws.
14
- * Dissemination of this information or reproduction of this material
15
- * is strictly forbidden unless prior written permission is obtained
16
- * from Adobe.
17
- **************************************************************************/
18
1
  import { TodoMainService } from './services/main-service/todo-main-service.js';
19
2
  import { ApplicationElement } from '../../lit/elements/application-element.js';
20
3
  export declare class TodoElement extends ApplicationElement<TodoMainService> {
@@ -1 +1 @@
1
- {"version":3,"file":"todo-element.js","sourceRoot":"","sources":["../../../src/samples/todo/todo-element.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAE/E,MAAM,OAAO,WAAY,SAAQ,kBAAmC;CAAI"}
1
+ {"version":3,"file":"todo-element.js","sourceRoot":"","sources":["../../../src/samples/todo/todo-element.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAE/E,MAAM,OAAO,WAAY,SAAQ,kBAAmC;CAAI"}
@@ -1,20 +1,3 @@
1
- /*************************************************************************
2
- *
3
- * ADOBE CONFIDENTIAL
4
- * ___________________
5
- *
6
- * Copyright 2024 Adobe
7
- * All Rights Reserved.
8
- *
9
- * NOTICE: All information contained herein is, and remains
10
- * the property of Adobe and its suppliers, if any. The intellectual
11
- * and technical concepts contained herein are proprietary to Adobe
12
- * and its suppliers and are protected by all applicable intellectual
13
- * property laws, including trade secret and copyright laws.
14
- * Dissemination of this information or reproduction of this material
15
- * is strictly forbidden unless prior written permission is obtained
16
- * from Adobe.
17
- **************************************************************************/
18
1
  import './elements/todo-list/todo-list.js';
19
2
  import './elements/todo-row/todo-row.js';
20
3
  import './elements/todo-toolbar/todo-toolbar.js';
@@ -4,23 +4,27 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- /*************************************************************************
8
- *
9
- * ADOBE CONFIDENTIAL
10
- * ___________________
11
- *
12
- * Copyright 2024 Adobe
13
- * All Rights Reserved.
14
- *
15
- * NOTICE: All information contained herein is, and remains
16
- * the property of Adobe and its suppliers, if any. The intellectual
17
- * and technical concepts contained herein are proprietary to Adobe
18
- * and its suppliers and are protected by all applicable intellectual
19
- * property laws, including trade secret and copyright laws.
20
- * Dissemination of this information or reproduction of this material
21
- * is strictly forbidden unless prior written permission is obtained
22
- * from Adobe.
23
- **************************************************************************/
7
+ /*MIT License
8
+
9
+ © Copyright 2025 Adobe. All rights reserved.
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.*/
24
28
  import './elements/todo-list/todo-list.js';
25
29
  import './elements/todo-row/todo-row.js';
26
30
  import './elements/todo-toolbar/todo-toolbar.js';
@@ -1 +1 @@
1
- {"version":3,"file":"todo-main-element.js","sourceRoot":"","sources":["../../../src/samples/todo/todo-main-element.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;4EAgB4E;AAC5E,OAAO,mCAAmC,CAAC;AAC3C,OAAO,iCAAiC,CAAC;AACzC,OAAO,yCAAyC,CAAC;AACjD,OAAO,6CAA6C,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,CAAC,MAAM,OAAO,GAAG,WAAW,CAAC;AAG5B,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,WAAW;aACvC,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;GAkBlB,AAlBY,CAkBX;IAEF,MAAM;QACJ,OAAO,IAAI,CAAA;;;KAGV,CAAC;IACJ,CAAC;;AA1BU,eAAe;IAD3B,aAAa,CAAC,OAAO,CAAC;GACV,eAAe,CA2B3B"}
1
+ {"version":3,"file":"todo-main-element.js","sourceRoot":"","sources":["../../../src/samples/todo/todo-main-element.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AACX,OAAO,mCAAmC,CAAC;AAC3C,OAAO,iCAAiC,CAAC;AACzC,OAAO,yCAAyC,CAAC;AACjD,OAAO,6CAA6C,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,CAAC,MAAM,OAAO,GAAG,WAAW,CAAC;AAG5B,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,WAAW;aACvC,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;GAkBlB,AAlBY,CAkBX;IAEF,MAAM;QACJ,OAAO,IAAI,CAAA;;;KAGV,CAAC;IACJ,CAAC;;AA1BU,eAAe;IAD3B,aAAa,CAAC,OAAO,CAAC;GACV,eAAe,CA2B3B"}
@@ -29,9 +29,19 @@ export interface UIProperties {
29
29
  readonly [key: string]: UIProperties;
30
30
  };
31
31
  }
32
- export declare const isSchema: (schema: unknown) => schema is Schema;
32
+ declare const schemaTypes: {
33
+ readonly number: true;
34
+ readonly integer: true;
35
+ readonly string: true;
36
+ readonly boolean: true;
37
+ readonly null: true;
38
+ readonly array: true;
39
+ readonly object: true;
40
+ readonly 'typed-buffer': true;
41
+ readonly blob: true;
42
+ };
33
43
  export interface Schema {
34
- type?: 'number' | 'integer' | 'string' | 'boolean' | 'null' | 'array' | 'object' | 'typed-buffer' | 'blob';
44
+ type?: keyof typeof schemaTypes;
35
45
  conditionals?: readonly Conditional[];
36
46
  ui?: UIProperties;
37
47
  transient?: boolean;
@@ -60,19 +70,6 @@ export interface Schema {
60
70
  const?: any;
61
71
  enum?: readonly any[];
62
72
  layout?: Layout;
63
- /**
64
- * Classification of data according to privacy regulations and cookie consent frameworks.
65
- * Used to categorize data collection and processing for privacy compliance.
66
- * Useful resource:
67
- * https://www.onetrust.com/products/cookie-consent/
68
- *
69
- * @remarks
70
- * - `strictlyNecessary`: Essential data required for basic functionality and security
71
- * - `performance`: Data used for analytics, performance monitoring, and site optimization
72
- * - `functional`: Data used for enhanced features and user experience improvements
73
- * - `advertising`: Data used for advertising, marketing, and personalized content
74
- */
75
- privacy?: 'strictlyNecessary' | 'performance' | 'functional' | 'advertising';
76
73
  }
77
74
  export type FromSchemas<T> = {
78
75
  [K in Extract<keyof T, string>]: FromSchema<T[K]>;
@@ -19,11 +19,7 @@ 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 const isSchema = (schema) => {
23
- return typeof schema === 'object' && schema !== null && ('type' in schema && typeof schema.type === 'string'
24
- ||
25
- 'default' in schema && typeof schema.default !== 'undefined');
26
- };
22
+ const schemaTypes = { number: true, integer: true, string: true, boolean: true, null: true, array: true, object: true, 'typed-buffer': true, blob: true };
27
23
  const mySchema = {
28
24
  type: 'object',
29
25
  properties: {
@@ -34,4 +30,5 @@ const mySchema = {
34
30
  required: ['a', 'c'],
35
31
  additionalProperties: false,
36
32
  };
33
+ export {};
37
34
  //# sourceMappingURL=schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/schema/schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAwCX,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,MAAe,EAAoB,EAAE;IAC5D,OAAO,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,IAAI,CACtD,MAAM,IAAI,MAAM,IAAI,OAAO,MAAM,CAAC,IAAI,KAAK,QAAQ;;YAEnD,SAAS,IAAI,MAAM,IAAI,OAAO,MAAM,CAAC,OAAO,KAAK,WAAW,CAC7D,CAAC;AACJ,CAAC,CAAA;AAsMD,MAAM,QAAQ,GAAG;IACf,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACrB,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACrB,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE;KACvB;IACD,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;IACpB,oBAAoB,EAAE,KAAK;CACF,CAAC"}
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/schema/schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAwCX,MAAM,WAAW,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAW,CAAC;AAyLnK,MAAM,QAAQ,GAAG;IACf,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACrB,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACrB,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE;KACvB;IACD,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;IACpB,oBAAoB,EAAE,KAAK;CACF,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export { type Service } from './service.js';
2
2
  export { isService } from './is-service.js';
3
3
  export { type WithObservableActions, type ServiceActionMessages, addObservableActions } from './add-observable-actions.js';
4
- export * from './progressive-result.js';
4
+ export { type ErrorResult, type IntermediateResult, type SuccessResult, type FinalResult, type ProgressiveResult, isErrorResult, isIntermediateResult, isSuccessResult, ErrorResultSchema, IntermediateResultSchema, SuccessResultSchema, ProgressiveResultSchema } from './progressive-result.js';
@@ -21,5 +21,5 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.*/
22
22
  export { isService } from './is-service.js';
23
23
  export { addObservableActions } from './add-observable-actions.js';
24
- export * from './progressive-result.js';
24
+ export { isErrorResult, isIntermediateResult, isSuccessResult, ErrorResultSchema, IntermediateResultSchema, SuccessResultSchema, ProgressiveResultSchema } from './progressive-result.js';
25
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/service/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAGX,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAA0D,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAC3H,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/service/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAGX,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAA0D,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAC3H,OAAO,EAEH,aAAa,EAAE,oBAAoB,EAAE,eAAe,EACpD,iBAAiB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,uBAAuB,EAC5F,MAAM,yBAAyB,CAAC"}
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @typescript-eslint/no-namespace
1
2
  export var Table;
2
3
  (function (Table) {
3
4
  Table.hasColumn = (table, component) => {
@@ -1 +1 @@
1
- {"version":3,"file":"table.js","sourceRoot":"","sources":["../../src/table/table.ts"],"names":[],"mappings":"AAmCA,MAAM,KAAW,KAAK,CAMrB;AAND,WAAiB,KAAK;IAEL,eAAS,GAAG,CAAuB,KAAwB,EAAE,SAAY,EAA0C,EAAE;QAC9H,OAAO,SAAS,IAAI,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,SAAS,CAAC;IAChF,CAAC,CAAA;AAEL,CAAC,EANgB,KAAK,KAAL,KAAK,QAMrB"}
1
+ {"version":3,"file":"table.js","sourceRoot":"","sources":["../../src/table/table.ts"],"names":[],"mappings":"AAmCA,2DAA2D;AAC3D,MAAM,KAAW,KAAK,CAMrB;AAND,WAAiB,KAAK;IAEL,eAAS,GAAG,CAAuB,KAAwB,EAAE,SAAY,EAA0C,EAAE;QAC9H,OAAO,SAAS,IAAI,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,SAAS,CAAC;IAChF,CAAC,CAAA;AAEL,CAAC,EANgB,KAAK,KAAL,KAAK,QAMrB"}