update cron and cronJob typeDef
This commit is contained in:
2
.github/workflows/cron.yml
vendored
2
.github/workflows/cron.yml
vendored
@@ -18,4 +18,4 @@ jobs:
|
|||||||
--url 'https://bot-stats.lucids-cove.duckdns.org/api/graphql' \
|
--url 'https://bot-stats.lucids-cove.duckdns.org/api/graphql' \
|
||||||
--header 'x-api-key: ${{ secrets.NEXT_PUBLIC_API_TOKEN }}' \
|
--header 'x-api-key: ${{ secrets.NEXT_PUBLIC_API_TOKEN }}' \
|
||||||
--header 'Content-Type: application/json' \
|
--header 'Content-Type: application/json' \
|
||||||
--data 'mutation Cron { cronJob ( mutationKey: ${{ secrets.GRAPHQL_MUTATION_KEY }} ) { commandResponses createdAt linksDeleted timesTriggered updatedAt } }' \
|
--data '{ "query": "mutation Cron { cronJob ( mutationKey: ${{ secrets.GRAPHQL_MUTATION_KEY }} ) { commandResponses createdAt linksDeleted timesTriggered updatedAt } }" }' \
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ const typeDefs = /* GraphQL */ `
|
|||||||
}
|
}
|
||||||
type Mutation {
|
type Mutation {
|
||||||
init(mutationKey: String): String!
|
init(mutationKey: String): String!
|
||||||
cronJob(mutationKey: String): TotalStats!
|
cronJob(mutationKey: String): TotalStats
|
||||||
addGroup(
|
addGroup(
|
||||||
groupID: String!
|
groupID: String!
|
||||||
groupName: String!
|
groupName: String!
|
||||||
|
|||||||
Reference in New Issue
Block a user