@go-avro/avro-js 0.0.87 → 0.0.88
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/hooks/bills.js +3 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -82,6 +82,7 @@ AvroQueryClient.prototype.useCreateBill = function () {
|
|
|
82
82
|
entityKey: 'bills',
|
|
83
83
|
id: result.id,
|
|
84
84
|
fetchPath: `/bill/${result.id}`,
|
|
85
|
+
construct: (d) => new Bill(d),
|
|
85
86
|
});
|
|
86
87
|
},
|
|
87
88
|
onError: (_err, _variables, context) => {
|
|
@@ -131,6 +132,7 @@ AvroQueryClient.prototype.useUpdateBill = function () {
|
|
|
131
132
|
entityKey: 'bills',
|
|
132
133
|
id: billId,
|
|
133
134
|
fetchPath: `/bill/${billId}`,
|
|
135
|
+
construct: (d) => new Bill(d),
|
|
134
136
|
});
|
|
135
137
|
},
|
|
136
138
|
onError: (err, variables, context) => {
|
|
@@ -162,6 +164,7 @@ AvroQueryClient.prototype.useUpdateBillLineItemStatus = function () {
|
|
|
162
164
|
entityKey: 'bills',
|
|
163
165
|
id: billId,
|
|
164
166
|
fetchPath: `/bill/${billId}`,
|
|
167
|
+
construct: (d) => new Bill(d),
|
|
165
168
|
});
|
|
166
169
|
// Item paid state also lives on the underlying events,
|
|
167
170
|
// service months and prepayments
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AVRO_JS_VERSION = "0.0.
|
|
1
|
+
export declare const AVRO_JS_VERSION = "0.0.88";
|
package/dist/version.js
CHANGED