This commit is contained in:
2025-10-31 16:06:03 -04:00
commit ff334a7f0d
42 changed files with 15172 additions and 0 deletions

16
src/graphql/types.ts Normal file
View File

@@ -0,0 +1,16 @@
const typeDefs = /* GraphQL */ `
type Query {
getTotalGroups: Int!
}
type Mutation {
addGroup(groupID: Int, groupName: String): Group!
}
type Group {
telegramID: Int
name: String
createdAt: Date
updatedAt: Date
}
scalar Date
`;
export default typeDefs;