feat: Implement getUsageData graphQL query

This commit is contained in:
Faruk AYDIN
2023-03-06 12:37:28 +01:00
parent 42d418da58
commit 282e5ba2d8
5 changed files with 50 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ type Query {
parameters: JSONObject
): [SubstepArgument]
getCurrentUser: User
getUsageData: GetUsageData
getAutomatischInfo: GetAutomatischInfo
healthcheck: AppHealth
}
@@ -467,6 +468,13 @@ type GetAutomatischInfo {
isCloud: String
}
type GetUsageData {
allowedTaskCount: Int
consumedTaskCount: Int
remainingTaskCount: Int
nextResetAt: String
}
schema {
query: Query
mutation: Mutation