Skip to content

Update tanstack-query monorepo to v5 (major) #4487

Update tanstack-query monorepo to v5 (major)

Update tanstack-query monorepo to v5 (major) #4487

Triggered via pull request January 6, 2025 16:47
Status Failure
Total duration 5m 56s
Artifacts

check.yml

on: pull_request
Cache npm for Linux
35s
Cache npm for Linux
Cache npm for macOS
53s
Cache npm for macOS
Cache bundler for macOS
11s
Cache bundler for macOS
Build for Android
4m 5s
Build for Android
Build for iOS
0s
Build for iOS
Detox E2E for iOS
0s
Detox E2E for iOS
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
TypeScript: source/init/tanstack-query.ts#L16
Type '{ cacheTime: number; }' is not assignable to type 'OmitKeyof<QueryObserverOptions<unknown, Error, unknown, unknown, QueryKey, never>, "suspense" | "queryKey", "strictly">'.
TypeScript: source/lib/login.ts#L93
Property 'queryKey' is missing in type '{}' but required in type 'QueryObserverOptions<QueryFnData, TError, TData, QueryFnData, QueryKey, never>'.
TypeScript: source/lib/login.ts#L96
'queryKey' is specified more than once, so this usage will be overwritten.
TypeScript: source/lib/login.ts#L99
No overload matches this call.
TypeScript: source/lib/login.ts#L106
Argument of type '{ select: (data: QueryFnData) => string | undefined; }' is not assignable to parameter of type 'QueryObserverOptions<QueryFnData, unknown, string | undefined, QueryFnData, QueryKey, never>'.
TypeScript: source/lib/login.ts#L112
Argument of type '{ select: (data: QueryFnData) => boolean; }' is not assignable to parameter of type 'QueryObserverOptions<QueryFnData, unknown, boolean, QueryFnData, QueryKey, never>'.
TypeScript: source/views/calendar/index.tsx#L20
Type 'UseQueryResult<EventType[], unknown>' is not assignable to type 'UseQueryResult<EventType[], Error>'.
TypeScript: source/views/calendar/index.tsx#L32
Type 'UseQueryResult<EventType[], unknown>' is not assignable to type 'UseQueryResult<EventType[], Error>'.
TypeScript: source/views/calendar/index.tsx#L44
Type 'UseQueryResult<EventType[], unknown>' is not assignable to type 'UseQueryResult<EventType[], Error>'.
TypeScript: source/views/news/index.tsx#L17
Type 'UseQueryResult<StoryType[], unknown>' is not assignable to type 'UseQueryResult<StoryType[], Error>'.
iOS Cocoapods
Process completed with exit code 1.
Build for Android
This job uses deprecated functionality from the 'gradle/gradle-build-action' action. Consult the Job Summary for more details.
Build for Android
No files were found with the provided path: android/app/build/outputs/apk/. No artifacts will be uploaded.
Build for Android
No files were found with the provided path: build/reports/. No artifacts will be uploaded.