feat(core): invoice service (#8124)

This commit is contained in:
EYHN
2024-09-05 23:56:58 +08:00
committed by GitHub
parent 9cbe416c2c
commit 74cd175d37
12 changed files with 229 additions and 394 deletions
@@ -750,6 +750,7 @@ export const invoicesQuery = {
query: `
query invoices($take: Int!, $skip: Int!) {
currentUser {
invoiceCount
invoices(take: $take, skip: $skip) {
id
status
@@ -1,5 +1,6 @@
query invoices($take: Int!, $skip: Int!) {
currentUser {
invoiceCount
invoices(take: $take, skip: $skip) {
id
status
+1
View File
@@ -1941,6 +1941,7 @@ export type InvoicesQuery = {
__typename?: 'Query';
currentUser: {
__typename?: 'UserType';
invoiceCount: number;
invoices: Array<{
__typename?: 'UserInvoice';
id: string;