@duely/client
Advanced tools
Comparing version 0.4.47 to 0.4.48
{ | ||
"name": "@duely/client", | ||
"version": "0.4.47", | ||
"version": "0.4.48", | ||
"description": "GraphQL client by Duely (wrapper for @apollo/client)", | ||
@@ -22,3 +22,3 @@ "repository": "github:uoleevi/duely", | ||
"dependencies": { | ||
"@duely/util": "^0.4.7", | ||
"@duely/util": "^0.4.9", | ||
"graphql": "^15.5.0", | ||
@@ -25,0 +25,0 @@ "subscriptions-transport-ws": "^0.9.18" |
@@ -24,4 +24,6 @@ import { ApolloCache, MutationOptions, NormalizedCacheObject, Reference } from '@apollo/client'; | ||
DeleteProductDocument, | ||
FinalizeInvoiceDocument, | ||
LogInDocument, | ||
LogOutDocument, | ||
MarkInvoiceUncollectibleDocument, | ||
Page_BlockFragmentDoc, | ||
@@ -48,3 +50,4 @@ ProductFragmentDoc, | ||
VerifyPasswordResetDocument, | ||
VerifySignUpDocument | ||
VerifySignUpDocument, | ||
VoidInvoiceDocument | ||
} from '@duely/core'; | ||
@@ -336,2 +339,20 @@ import { client } from '../apollo/client'; | ||
const void_invoice_R = (d: ResultOf<typeof VoidInvoiceDocument>) => d?.void_invoice; | ||
export const void_invoice_M = { | ||
mutation: VoidInvoiceDocument, | ||
result: void_invoice_R | ||
}; | ||
const finalize_invoice_R = (d: ResultOf<typeof FinalizeInvoiceDocument>) => d?.finalize_invoice; | ||
export const finalize_invoice_M = { | ||
mutation: FinalizeInvoiceDocument, | ||
result: finalize_invoice_R | ||
}; | ||
const mark_invoice_uncollectible_R = (d: ResultOf<typeof MarkInvoiceUncollectibleDocument>) => d?.mark_invoice_uncollectible; | ||
export const mark_invoice_uncollectible_M = { | ||
mutation: FinalizeInvoiceDocument, | ||
result: mark_invoice_uncollectible_R | ||
}; | ||
const create_invoiceitem_R = (d: ResultOf<typeof CreateInvoiceItemDocument>) => d?.create_invoiceitem; | ||
@@ -338,0 +359,0 @@ export const create_invoiceitem_M = { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
801892
24
7486
Updated@duely/util@^0.4.9