chore: bump all dependencies (#5891)

This commit is contained in:
LongYinan
2024-02-23 09:37:14 +00:00
parent db1d0dcf52
commit ae41c6c544
42 changed files with 3232 additions and 3311 deletions
+6 -6
View File
@@ -10,12 +10,12 @@
".": "./src/index.ts"
},
"devDependencies": {
"@graphql-codegen/add": "^5.0.0",
"@graphql-codegen/add": "^5.0.2",
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@types/lodash-es": "^4.17.9",
"prettier": "^3.0.3",
"@graphql-codegen/typescript": "^4.0.6",
"@graphql-codegen/typescript-operations": "^4.2.0",
"@types/lodash-es": "^4.17.12",
"prettier": "^3.2.5",
"vitest": "1.3.1"
},
"scripts": {
@@ -26,7 +26,7 @@
"graphql": "^16.8.1",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"nanoid": "^5.0.1"
"nanoid": "^5.0.6"
},
"installConfig": {
"hoistingLimits": "workspaces"
+4 -5
View File
@@ -23,11 +23,10 @@ export type _QueryVariables<Q extends GraphQLQuery> =
? Extract<Mutations, { name: Q['id'] }>['variables']
: undefined;
export type QueryVariables<Q extends GraphQLQuery> = _QueryVariables<Q> extends
| never
| Record<string, never>
? never
: _QueryVariables<Q>;
export type QueryVariables<Q extends GraphQLQuery> =
_QueryVariables<Q> extends never | Record<string, never>
? never
: _QueryVariables<Q>;
export type QueryResponse<Q extends GraphQLQuery> = Extract<
Queries | Mutations,