@adobe/data 0.9.2 → 0.9.4

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 (71) hide show
  1. package/assembly/package.json +1 -0
  2. package/blob/package.json +1 -0
  3. package/cache/package.json +1 -0
  4. package/ecs/database/combine-plugins.d.ts +21 -0
  5. package/ecs/database/combine-plugins.js +47 -0
  6. package/ecs/database/combine-plugins.js.map +1 -0
  7. package/ecs/database/create-plugin.d.ts +22 -55
  8. package/ecs/database/create-plugin.js +15 -24
  9. package/ecs/database/create-plugin.js.map +1 -1
  10. package/ecs/database/create-plugin.test.js +111 -65
  11. package/ecs/database/create-plugin.test.js.map +1 -1
  12. package/ecs/database/create-plugin.type-test.d.ts +1 -0
  13. package/ecs/database/create-plugin.type-test.js +671 -0
  14. package/ecs/database/create-plugin.type-test.js.map +1 -0
  15. package/ecs/database/database-schema/create-database-schema.d.ts +3 -3
  16. package/ecs/database/database-schema/database-schema.d.ts +3 -3
  17. package/ecs/database/database.d.ts +33 -45
  18. package/ecs/database/database.js +2 -16
  19. package/ecs/database/database.js.map +1 -1
  20. package/ecs/database/database.test.js +17 -11
  21. package/ecs/database/database.test.js.map +1 -1
  22. package/ecs/database/observed/create-observed-database.test.js +5 -6
  23. package/ecs/database/observed/create-observed-database.test.js.map +1 -1
  24. package/ecs/database/public/create-database-scheduler.test.d.ts +1 -0
  25. package/ecs/database/public/create-database-scheduler.test.js +82 -0
  26. package/ecs/database/public/create-database-scheduler.test.js.map +1 -0
  27. package/ecs/database/public/create-database.d.ts +18 -5
  28. package/ecs/database/public/create-database.js +73 -39
  29. package/ecs/database/public/create-database.js.map +1 -1
  30. package/ecs/database/public/create-database.test.js +156 -159
  31. package/ecs/database/public/create-database.test.js.map +1 -1
  32. package/ecs/database/reconciling/create-reconciling-database.d.ts +2 -2
  33. package/ecs/database/reconciling/create-reconciling-database.js.map +1 -1
  34. package/ecs/database/reconciling/create-reconciling-database.test.js +4 -6
  35. package/ecs/database/reconciling/create-reconciling-database.test.js.map +1 -1
  36. package/ecs/database/reconciling/reconciling-database.d.ts +2 -2
  37. package/ecs/index.d.ts +1 -2
  38. package/ecs/index.js +1 -1
  39. package/ecs/index.js.map +1 -1
  40. package/ecs/package.json +1 -0
  41. package/ecs/plugins/scheduler/scheduler.d.ts +6 -2
  42. package/ecs/plugins/scheduler/scheduler.js +17 -3
  43. package/ecs/plugins/scheduler/scheduler.js.map +1 -1
  44. package/ecs/store/action-functions.d.ts +9 -10
  45. package/ecs/store/action-functions.js +21 -0
  46. package/ecs/store/action-functions.js.map +1 -1
  47. package/ecs/store/archetype-components.d.ts +4 -2
  48. package/ecs/store/public/create-store.d.ts +1 -2
  49. package/ecs/store/store.d.ts +5 -5
  50. package/ecs/store/transaction-functions.d.ts +21 -0
  51. package/ecs/store/transaction-functions.js +2 -0
  52. package/ecs/store/transaction-functions.js.map +1 -0
  53. package/functions/package.json +1 -0
  54. package/lit/hooks/use-drag-transaction.d.ts +1 -1
  55. package/lit/package.json +1 -0
  56. package/math/package.json +1 -0
  57. package/observe/package.json +1 -0
  58. package/old-ecs/package.json +1 -0
  59. package/package.json +109 -1
  60. package/perftest/package.json +1 -0
  61. package/samples/package.json +1 -0
  62. package/samples/todo/services/state-service/create-todo-database.d.ts +2 -2
  63. package/samples/todo/services/state-service/create-todo-store.d.ts +1 -1
  64. package/schema/package.json +1 -0
  65. package/service/package.json +1 -0
  66. package/table/package.json +1 -0
  67. package/tsconfig.tsbuildinfo +1 -1
  68. package/typed-buffer/package.json +1 -0
  69. package/types/package.json +1 -0
  70. package/types/types.d.ts +1 -0
  71. package/types/types.js.map +1 -1
@@ -0,0 +1 @@
1
+ {"type":"module","main":"./index.js","types":"./index.d.ts","exports":{".": {"import":"./index.js","types":"./index.d.ts"}}}
@@ -0,0 +1 @@
1
+ {"type":"module","main":"./index.js","types":"./index.d.ts","exports":{".": {"import":"./index.js","types":"./index.d.ts"}}}
package/types/types.d.ts CHANGED
@@ -58,3 +58,4 @@ export type NoUnion<Key> = [Key] extends [UnionToIntersection<Key>] ? Key : neve
58
58
  export type Exact<T, U extends T> = U extends T ? Exclude<keyof U, keyof T> extends never ? U : never : never;
59
59
  export type NoInfer<T> = [T][T extends any ? 0 : never];
60
60
  export type IntersectTuple<T extends readonly unknown[]> = T extends readonly [infer H, ...infer R] ? Simplify<H & IntersectTuple<R>> : unknown;
61
+ export type UnionTuple<T extends readonly unknown[]> = Simplify<T extends readonly [infer H, ...infer R] ? H | UnionTuple<R> : never>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAuDX,CAAC;AAID,CAAC;AAOD,CAAC;AAID,CAAC;AAgGD,oCAAoC;AACpC,CAAC;AAcD,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAuDX,CAAC;AAID,CAAC;AAOD,CAAC;AAID,CAAC;AAmGD,oCAAoC;AACpC,CAAC;AAcD,CAAC"}