refactor: rewrite useSubscription with RQ

This commit is contained in:
Rıdvan Akca
2024-03-13 14:42:29 +03:00
parent 89ad685f3a
commit 70b8817643
7 changed files with 46 additions and 57 deletions

View File

@@ -33,7 +33,6 @@ type Query {
getNotifications: [Notification]
getSamlAuthProvider: SamlAuthProvider
getSamlAuthProviderRoleMappings(id: String!): [SamlAuthProvidersRoleMapping]
getSubscriptionStatus: GetSubscriptionStatus
getTrialStatus: GetTrialStatus
getUser(id: String!): User
getUsers(limit: Int!, offset: Int!): UserConnection
@@ -612,10 +611,6 @@ type GetTrialStatus {
expireAt: String
}
type GetSubscriptionStatus {
cancellationEffectiveDate: String
}
type GetBillingAndUsage {
subscription: Subscription
usage: Usage