Added query to graphql types.
Some checks failed
Main / build-and-push-docker-image (20.x) (push) Successful in 4m47s
Hourly cron job / cron (push) Failing after 0s

This commit is contained in:
2025-12-10 19:16:27 -05:00
parent 80730ab549
commit b6f1b6f3e4

View File

@@ -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 {