diff options
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! -} |