Spaces:
Build error
Build error
Download codegen.ts from hicustomer/govsearch: direct link, hf CLI and curl.
- Browser
- Download file 420 Bytes
-
https://huggingface.co/spaces/hicustomer/govsearch/resolve/main/codegen.ts
- Command line
-
hf download hf://spaces/hicustomer/govsearch/codegen.ts
-
curl -L -o codegen.ts https://huggingface.co/spaces/hicustomer/govsearch/resolve/main/codegen.ts
420 Bytes
| import type { CodegenConfig } from "@graphql-codegen/cli" | |
| const config: CodegenConfig = { | |
| overwrite: true, | |
| schema: "schema/graphql_*.graphql", | |
| documents: "frontend/**/*.{ts,tsx}", | |
| ignoreNoDocuments: true, | |
| generates: { | |
| "frontend/generated/": { | |
| preset: "client", | |
| plugins: [], | |
| config: { | |
| enumsAsTypes: true, | |
| strictScalars: true, | |
| }, | |
| }, | |
| }, | |
| } | |
| export default config | |