Added new queries
This commit is contained in:
13
src/graphql/queries/getTodaysStats.ts
Normal file
13
src/graphql/queries/getTodaysStats.ts
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
import { gql } from "@urql/next";
|
||||||
|
|
||||||
|
const GetTodaysStatsQuery = gql`
|
||||||
|
query GetTodayStats {
|
||||||
|
getTodayStats {
|
||||||
|
commandResponses
|
||||||
|
linksDeleted
|
||||||
|
timesTriggered
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
export default GetTodaysStatsQuery;
|
||||||
13
src/graphql/queries/getTotalStats.ts
Normal file
13
src/graphql/queries/getTotalStats.ts
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
import { gql } from "@urql/next";
|
||||||
|
|
||||||
|
const GetTotalStatsQuery = gql`
|
||||||
|
query GetTotalStats {
|
||||||
|
getTotalStats {
|
||||||
|
commandResponses
|
||||||
|
linksDeleted
|
||||||
|
timesTriggered
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
export default GetTotalStatsQuery;
|
||||||
Reference in New Issue
Block a user