doxum 0.1.33 → 0.1.34

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.
package/dist/index.d.cts CHANGED
@@ -93,10 +93,6 @@ type ProjectionItems<K extends string, V> = {
93
93
  };
94
94
  //#endregion
95
95
  //#region core/src/projection/runtime.d.ts
96
- type BatchRead = {
97
- <T>(input: Input<T>): T;
98
- <K extends string, V>(input: CollectionInput<K, V>): ReadonlyMap<K, V>;
99
- };
100
96
  type ProjectionRuntime = {
101
97
  read<T>(projection: Projection<T>): T;
102
98
  select<T>(projection: Projection<T>): Readable<T>;
@@ -104,7 +100,7 @@ type ProjectionRuntime = {
104
100
  items<K extends string, V>(projection: KeyedProjection<K, V>): ProjectionItems<K, V>;
105
101
  update<T>(input: Input<T>, value: NoInfer<T>): void;
106
102
  update<K extends string, V, R>(input: CollectionInput<K, V>, run: (draft: CollectionInputDraft<K, V>) => Synchronous<R>): void;
107
- batch<T>(run: (read: BatchRead) => Synchronous<T>, options?: {
103
+ batch<T>(run: () => Synchronous<T>, options?: {
108
104
  readonly cause?: unknown;
109
105
  }): T;
110
106
  scope(): ProjectionScope;
@@ -122,7 +118,7 @@ type ProjectionScope = {
122
118
  items<K extends string, V>(projection: KeyedProjection<K, V>): ProjectionItems<K, V>;
123
119
  update<T>(input: Input<T>, value: NoInfer<T>): void;
124
120
  update<K extends string, V, R>(input: CollectionInput<K, V>, run: (draft: CollectionInputDraft<K, V>) => Synchronous<R>): void;
125
- batch<T>(run: (read: BatchRead) => Synchronous<T>, options?: {
121
+ batch<T>(run: () => Synchronous<T>, options?: {
126
122
  readonly cause?: unknown;
127
123
  }): T;
128
124
  dispose(): void;
package/dist/index.d.ts CHANGED
@@ -93,10 +93,6 @@ type ProjectionItems<K extends string, V> = {
93
93
  };
94
94
  //#endregion
95
95
  //#region core/src/projection/runtime.d.ts
96
- type BatchRead = {
97
- <T>(input: Input<T>): T;
98
- <K extends string, V>(input: CollectionInput<K, V>): ReadonlyMap<K, V>;
99
- };
100
96
  type ProjectionRuntime = {
101
97
  read<T>(projection: Projection<T>): T;
102
98
  select<T>(projection: Projection<T>): Readable<T>;
@@ -104,7 +100,7 @@ type ProjectionRuntime = {
104
100
  items<K extends string, V>(projection: KeyedProjection<K, V>): ProjectionItems<K, V>;
105
101
  update<T>(input: Input<T>, value: NoInfer<T>): void;
106
102
  update<K extends string, V, R>(input: CollectionInput<K, V>, run: (draft: CollectionInputDraft<K, V>) => Synchronous<R>): void;
107
- batch<T>(run: (read: BatchRead) => Synchronous<T>, options?: {
103
+ batch<T>(run: () => Synchronous<T>, options?: {
108
104
  readonly cause?: unknown;
109
105
  }): T;
110
106
  scope(): ProjectionScope;
@@ -122,7 +118,7 @@ type ProjectionScope = {
122
118
  items<K extends string, V>(projection: KeyedProjection<K, V>): ProjectionItems<K, V>;
123
119
  update<T>(input: Input<T>, value: NoInfer<T>): void;
124
120
  update<K extends string, V, R>(input: CollectionInput<K, V>, run: (draft: CollectionInputDraft<K, V>) => Synchronous<R>): void;
125
- batch<T>(run: (read: BatchRead) => Synchronous<T>, options?: {
121
+ batch<T>(run: () => Synchronous<T>, options?: {
126
122
  readonly cause?: unknown;
127
123
  }): T;
128
124
  dispose(): void;