feat: add GetPaymentPlans graphQL query

This commit is contained in:
Faruk AYDIN
2023-03-20 19:12:21 +03:00
parent 40862fcd01
commit f1358c7ad1
6 changed files with 42 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ type Query {
getCurrentUser: User
getUsageData: GetUsageData
getPaymentPortalUrl: GetPaymentPortalUrl
getPaymentPlans: [PaymentPlan]
getAutomatischInfo: GetAutomatischInfo
healthcheck: AppHealth
}
@@ -481,6 +482,13 @@ type GetPaymentPortalUrl {
url: String
}
type PaymentPlan {
name: String
limit: String
price: String
productId: String
}
schema {
query: Query
mutation: Mutation