mirror of
https://github.com/supabase/supabase.git
synced 2026-05-07 17:30:25 -04:00
d122f289df
Add the ability to look up error code explanation in API Gateway logs. Also a bunch of GraphQL-related utilities and generated types for calling the Content API.
18 lines
341 B
TypeScript
18 lines
341 B
TypeScript
import type { CodegenConfig } from '@graphql-codegen/cli'
|
|
|
|
const config: CodegenConfig = {
|
|
schema: 'scripts/schema.graphql',
|
|
documents: ['data/**/*.ts'],
|
|
ignoreNoDocuments: true,
|
|
generates: {
|
|
'data/graphql/': {
|
|
preset: 'client',
|
|
config: {
|
|
documentMode: 'string',
|
|
},
|
|
},
|
|
},
|
|
}
|
|
|
|
export default config
|