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/hello | |
| 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/hello')
| -rw-r--r-- | src/graphql/hello/index.ts | 4 | ||||
| -rw-r--r-- | src/graphql/hello/resolvers.ts | 10 | ||||
| -rw-r--r-- | src/graphql/hello/schema.graphql | 3 |
3 files changed, 0 insertions, 17 deletions
diff --git a/src/graphql/hello/index.ts b/src/graphql/hello/index.ts deleted file mode 100644 index 925a7ece..00000000 --- a/src/graphql/hello/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -import typeDefs from './schema.graphql?raw'; -import { resolvers } from './resolvers'; - -export default { typeDefs, resolvers }; diff --git a/src/graphql/hello/resolvers.ts b/src/graphql/hello/resolvers.ts deleted file mode 100644 index f882765f..00000000 --- a/src/graphql/hello/resolvers.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { WithIndex } from '../$types'; -import type { Resolvers } from './$types'; - -export const resolvers: WithIndex<Resolvers> = { - Query: { - hello() { - return 'Hello SvelteKit!'; - } - } -}; diff --git a/src/graphql/hello/schema.graphql b/src/graphql/hello/schema.graphql deleted file mode 100644 index d3dba234..00000000 --- a/src/graphql/hello/schema.graphql +++ /dev/null @@ -1,3 +0,0 @@ -type Query { - hello: String! -} |