d5c99ca976
Change the type of the `id` field from `Int` to `String` in the GraphQL schema for `Band`, `DanceHall`, and `Event` types. This improves consistency in data representation. Also, modify the `codegen` command in `package.json` to simplify the linting process for generated files, ensuring cleaner code practices.
24 lines
588 B
YAML
24 lines
588 B
YAML
schema: http://localhost:6080/query
|
|
documents: './graphql/**/*.graphql'
|
|
generates:
|
|
./graphql/generated/operations.ts:
|
|
plugins:
|
|
- typescript
|
|
- typescript-operations
|
|
- typescript-vue-apollo
|
|
- fragment-matcher
|
|
config:
|
|
gqlImport: '@/utils/gql#gql'
|
|
fetcher: fetch
|
|
avoidOptionals:
|
|
field: true
|
|
inputValue: true
|
|
object: false
|
|
defaultValue: true
|
|
maybeValue: T | null | undefined
|
|
strictScalars: true
|
|
scalars:
|
|
LocalDate: string
|
|
LocalDateTime: string
|
|
vueCompositionApiImportFrom: vue
|