@go-avro/avro-js 0.1.4 → 0.1.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.
- package/dist/client/realtime.js +7 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/client/realtime.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* `delete` removes, `invalidate` refetches. Query keys: `[ns, id]`
|
|
5
5
|
* detail, `keys.list/keys.infinite(ns, scope, filters)` for lists.
|
|
6
6
|
*/
|
|
7
|
-
import { constructEvent, Job, Route, Session } from '../types/api';
|
|
7
|
+
import { Bill, constructEvent, Job, Route, Session } from '../types/api';
|
|
8
8
|
export const keys = {
|
|
9
9
|
detail: (ns, id) => [ns, id],
|
|
10
10
|
list: (ns, scope, filters = {}) => [ns, 'list', scope ?? '', filters],
|
|
@@ -204,7 +204,12 @@ export const REGISTRY = {
|
|
|
204
204
|
fetchMany: bulk('fetchPrepayments'),
|
|
205
205
|
listMatch: matchLineItems,
|
|
206
206
|
},
|
|
207
|
-
bill: {
|
|
207
|
+
bill: {
|
|
208
|
+
ns: 'bills',
|
|
209
|
+
construct: (d) => new Bill(d),
|
|
210
|
+
fetchMany: bulk('fetchBills'),
|
|
211
|
+
listMatch: matchBills,
|
|
212
|
+
},
|
|
208
213
|
session: {
|
|
209
214
|
ns: 'sessions',
|
|
210
215
|
construct: (raw) => new Session(raw),
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AVRO_JS_VERSION = "0.1.
|
|
1
|
+
export declare const AVRO_JS_VERSION = "0.1.5";
|
package/dist/version.js
CHANGED