-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
index.ts
25 lines (19 loc) · 903 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Svelte Component
// export { default as KitQLInfo } from './KitQLInfo.svelte'
// graphql-modules
export { createModule as kitQLModules } from 'graphql-modules'
export { useKitModules } from './graphql/useKitModules.js'
// SvelteKit hooks
export { type KitQLHandleGraphQL, handleGraphql } from './hooks/graphql.js'
export { type KitQLHandleGraphiQL, handleGraphiql } from './hooks/graphiql.js'
// Prisma
// export { getKitQLPrisma } from './prisma/kitQLPrisma'
// GraphQL Config
export type { CodegenConfig as KitQLCodegenConfig } from '@graphql-codegen/cli'
export type { IGraphQLProject as KitQLProject } from 'graphql-config'
export type { KitQLProjects, KitQLConfig, KitQLScalar } from './graphql/graphqlConfig.js'
// GraphQL Helper
export { rootFields } from './graphql/helper.js'
// vite plugin
export { kitql } from './vite/plugin.js'
export type { KitQLVite } from './vite/KitQLVite.js'