diff options
| author | Fuwn <[email protected]> | 2024-09-28 16:58:15 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-28 16:58:15 -0700 |
| commit | 22b87a179af5ca7b148453c1a1a84c85d29f4c4a (patch) | |
| tree | 01f754c6c18cad902fd3820494065d403ca8a565 /src/graphql/user/schema.graphql | |
| parent | feat(api): set up graphql api (diff) | |
| download | due.moe-22b87a179af5ca7b148453c1a1a84c85d29f4c4a.tar.xz due.moe-22b87a179af5ca7b148453c1a1a84c85d29f4c4a.zip | |
feat(graphl): set up user module
Diffstat (limited to 'src/graphql/user/schema.graphql')
| -rw-r--r-- | src/graphql/user/schema.graphql | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/graphql/user/schema.graphql b/src/graphql/user/schema.graphql new file mode 100644 index 00000000..d4360a39 --- /dev/null +++ b/src/graphql/user/schema.graphql @@ -0,0 +1,22 @@ +type Query { + User(id: Int!): User +} + +type User { + id: Int! + badges: [Badge] +} + +type Badge { + post: String + image: String + description: String + id: Int + time: String + category: String + hidden: Boolean + source: String + designer: String + shadow_hidden: Boolean + click_count: Int +} |