Added query to graphql types.
This commit is contained in:
@@ -9,27 +9,28 @@ const typeDefs = /* GraphQL */ `
|
||||
getTodayStats: DailyStats!
|
||||
getStatsRange(startDate: Date, endDate: Date): [DailyStats]
|
||||
getTotalStats: TotalStats!
|
||||
getGroupStats(groupID: BigInt!): Groups
|
||||
}
|
||||
type Mutation {
|
||||
init(mutationKey: String): String
|
||||
cronJob(mutationKey: String): TotalStats
|
||||
init(mutationKey: String): String!
|
||||
cronJob(mutationKey: String): TotalStats!
|
||||
addGroup(
|
||||
groupID: BigInt!
|
||||
groupName: String!
|
||||
groupUsername: String
|
||||
mutationKey: String
|
||||
): Groups
|
||||
): Groups!
|
||||
incrementGroup(
|
||||
groupID: BigInt!
|
||||
linksDeleted: Int!
|
||||
mutationKey: String
|
||||
): Groups
|
||||
): Groups!
|
||||
increment(
|
||||
link: Boolean
|
||||
command: Boolean
|
||||
trigger: Boolean
|
||||
mutationKey: String
|
||||
): DailyStats
|
||||
): DailyStats!
|
||||
}
|
||||
|
||||
type Groups {
|
||||
|
||||
Reference in New Issue
Block a user