diff --git a/src/lib/graphql/queries/getGroupStatsQuery.ts b/src/lib/graphql/queries/getGroupStatsQuery.ts new file mode 100644 index 0000000..0f929a0 --- /dev/null +++ b/src/lib/graphql/queries/getGroupStatsQuery.ts @@ -0,0 +1,13 @@ +import { gql } from "@urql/core"; + +const getGroupStats = gql` + query getGroupStats($groupID: String!) { + getGroupStats(groupID: $groupID) { + name + username + linksDeleted + } + } +`; + +export default getGroupStats;