Merge pull request #1780 from automatisch/AUT-686
refactor: rewrite useBillingAndUsageData with useSubscription and useUserTrial
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
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