Skip to content

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

Update tanstack-query monorepo to v5 (major)

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

Triggered via pull request December 20, 2024 20:55
Status Failure
Total duration 5m 58s
Artifacts

check.yml

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

Annotations

10 errors and 7 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>'.
Build for iOS
Cache save failed.
Build for iOS
buildcache: unable to upload buildlog: Error: File /Users/runner/work/AAO-React-Native/AAO-React-Native/.buildcache/buildcache.log does not exist
Build for iOS
buildcache: unable to delete buildcache.log Error: ENOENT: no such file or directory, unlink '/Users/runner/work/AAO-React-Native/AAO-React-Native/.buildcache/buildcache.log'
Build for iOS
No files were found with the provided path: ios/build/Build/Products/. No artifacts will be uploaded.
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.