fix: update operation IDs to string type in GraphQL schema

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.
This commit is contained in:
2025-11-04 11:39:59 +01:00
parent da8c2fea2d
commit d5c99ca976
3 changed files with 29 additions and 7 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
"lint:style": "stylelint \"**/*.{css,scss,sass,html,vue}\" --ignore-path .gitignore",
"lint": "npm run lint:js && npm run lint:style",
"lintfix": "eslint --fix . && npm run lint:style --fix",
"codegen": "graphql-codegen && eslint --ext \".ts\" --ignore-path .gitignore graphql/generated/operations.ts --fix"
"codegen": "graphql-codegen && eslint graphql/generated/operations.ts --fix"
},
"devDependencies": {
"@commitlint/cli": "20.1.0",