feat: use actual data in billing and usage
This commit is contained in:
39
packages/web/src/graphql/queries/get-billing-and-usage.ee.ts
Normal file
39
packages/web/src/graphql/queries/get-billing-and-usage.ee.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const GET_BILLING_AND_USAGE = gql`
|
||||
query GetBillingAndUsage {
|
||||
getBillingAndUsage {
|
||||
subscription {
|
||||
status
|
||||
monthlyQuota {
|
||||
title
|
||||
action {
|
||||
type
|
||||
text
|
||||
src
|
||||
}
|
||||
}
|
||||
nextBillDate {
|
||||
title
|
||||
action {
|
||||
type
|
||||
text
|
||||
src
|
||||
}
|
||||
}
|
||||
nextBillAmount {
|
||||
title
|
||||
action {
|
||||
type
|
||||
text
|
||||
src
|
||||
}
|
||||
}
|
||||
}
|
||||
usage {
|
||||
task
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
Reference in New Issue
Block a user