Merge pull request #1780 from automatisch/AUT-686
refactor: rewrite useBillingAndUsageData with useSubscription and useUserTrial
This commit is contained in:
@@ -8,7 +8,6 @@ type Query {
|
||||
key: String!
|
||||
parameters: JSONObject
|
||||
): JSONObject
|
||||
getBillingAndUsage: GetBillingAndUsage
|
||||
}
|
||||
|
||||
type Mutation {
|
||||
@@ -560,43 +559,6 @@ type License {
|
||||
verified: Boolean
|
||||
}
|
||||
|
||||
type GetBillingAndUsage {
|
||||
subscription: Subscription
|
||||
usage: Usage
|
||||
}
|
||||
|
||||
type MonthlyQuota {
|
||||
title: String
|
||||
action: BillingCardAction
|
||||
}
|
||||
|
||||
type NextBillAmount {
|
||||
title: String
|
||||
action: BillingCardAction
|
||||
}
|
||||
|
||||
type NextBillDate {
|
||||
title: String
|
||||
action: BillingCardAction
|
||||
}
|
||||
|
||||
type BillingCardAction {
|
||||
type: String
|
||||
text: String
|
||||
src: String
|
||||
}
|
||||
|
||||
type Subscription {
|
||||
status: String
|
||||
monthlyQuota: MonthlyQuota
|
||||
nextBillAmount: NextBillAmount
|
||||
nextBillDate: NextBillDate
|
||||
}
|
||||
|
||||
type Usage {
|
||||
task: Int
|
||||
}
|
||||
|
||||
type Permission {
|
||||
id: String
|
||||
action: String
|
||||
|
Reference in New Issue
Block a user