Skip to content

[API Concept] - Infinite Query API #6156

[API Concept] - Infinite Query API

[API Concept] - Infinite Query API #6156

Triggered via pull request May 5, 2024 05:40
Status Failure
Total duration 3m 45s
Artifacts 1

tests.yml

on: pull_request
Check for changes
3s
Check for changes
Matrix: build
Matrix: Check package config with are-the-types-wrong
Matrix: Test against dist
Matrix: test-published-artifact
Matrix: test-types
Fit to window
Zoom out
Zoom in

Annotations

51 errors
Test Types with TypeScript 5.3
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test Types with TypeScript 5.3
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test Types with TypeScript 5.3
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
Test Types with TypeScript 5.3
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
Test Types with TypeScript 5.3
Type 'QueryDefinition<number, (arg: any) => { error: { status: number; data: null; }; data?: undefined; } | { data: any; error?: undefined; }, never, { name: string; }, "api"> | InfiniteQueryDefinition<...>' does not satisfy the constraint 'QueryDefinition<any, any, any, any>'.
Test Types with TypeScript 5.3
Process completed with exit code 2.
Test Types with TypeScript 5.1
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test Types with TypeScript 5.1
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test Types with TypeScript 5.1
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
Test Types with TypeScript 5.1
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
Test Types with TypeScript 5.1
Type 'QueryDefinition<number, (arg: any) => { error: { status: number; data: null; }; data?: undefined; } | { data: any; error?: undefined; }, never, { name: string; }, "api"> | InfiniteQueryDefinition<...>' does not satisfy the constraint 'QueryDefinition<any, any, any, any>'.
Test Types with TypeScript 5.1
Process completed with exit code 2.
Test Types with TypeScript 4.9
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test Types with TypeScript 4.9
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test Types with TypeScript 4.9
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
Test Types with TypeScript 4.9
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
Test Types with TypeScript 4.9
Type 'QueryDefinition<number, (arg: any) => { error: { status: number; data: null; }; data?: undefined; } | { data: any; error?: undefined; }, never, { name: string; }, "api"> | InfiniteQueryDefinition<...>' does not satisfy the constraint 'QueryDefinition<any, any, any, any, string>'.
Test Types with TypeScript 4.9
Process completed with exit code 2.
Test Types with TypeScript 5.0
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test Types with TypeScript 5.0
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test Types with TypeScript 5.0
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
Test Types with TypeScript 5.0
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
Test Types with TypeScript 5.0
Type 'QueryDefinition<number, (arg: any) => { error: { status: number; data: null; }; data?: undefined; } | { data: any; error?: undefined; }, never, { name: string; }, "api"> | InfiniteQueryDefinition<...>' does not satisfy the constraint 'QueryDefinition<any, any, any, any>'.
Test Types with TypeScript 5.0
Process completed with exit code 2.
Test Types with TypeScript 4.7
Property 'param' does not exist on type 'QueryThunkArg'.
Test Types with TypeScript 4.7
Property 'direction' does not exist on type 'QueryThunkArg'.
Test Types with TypeScript 4.7
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test Types with TypeScript 4.7
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test Types with TypeScript 4.7
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
Test Types with TypeScript 4.7
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
Test Types with TypeScript 4.7
Type 'QueryDefinition<number, (arg: any) => { error: { status: number; data: null; }; data?: undefined; } | { data: any; error?: undefined; }, never, { name: string; }, "api"> | InfiniteQueryDefinition<...>' does not satisfy the constraint 'QueryDefinition<any, any, any, any, string>'.
Test Types with TypeScript 4.7
Argument of type '0' is not assignable to parameter of type 'unique symbol'.
Test Types with TypeScript 4.7
Property 'pages' does not exist on type 'never'.
Test Types with TypeScript 4.7
Process completed with exit code 2.
Test against dist (20.x)
Process completed with exit code 1.
Test Types with TypeScript 4.8
Property 'param' does not exist on type 'QueryThunkArg'.
Test Types with TypeScript 4.8
Property 'direction' does not exist on type 'QueryThunkArg'.
Test Types with TypeScript 4.8
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test Types with TypeScript 4.8
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test Types with TypeScript 4.8
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
Test Types with TypeScript 4.8
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
Test Types with TypeScript 4.8
Type 'QueryDefinition<number, (arg: any) => { error: { status: number; data: null; }; data?: undefined; } | { data: any; error?: undefined; }, never, { name: string; }, "api"> | InfiniteQueryDefinition<...>' does not satisfy the constraint 'QueryDefinition<any, any, any, any, string>'.
Test Types with TypeScript 4.8
Argument of type '0' is not assignable to parameter of type 'unique symbol'.
Test Types with TypeScript 4.8
Property 'pages' does not exist on type 'never'.
Test Types with TypeScript 4.8
Process completed with exit code 2.
Test Types with TypeScript 5.2
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test Types with TypeScript 5.2
Conversion of type 'ApiEndpointQuery<Definitions[string], Definitions> | ApiEndpointMutation<Definitions[string], Definitions> | ApiEndpointInfiniteQuery<...>' to type 'ApiEndpointInfiniteQuery<InfiniteQueryDefinition<any, any, any, any, any>, Definitions>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test Types with TypeScript 5.2
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
Test Types with TypeScript 5.2
Argument of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/node_modules/@reduxjs/toolkit/dist/query/core/apiState").RootState<Definitions, any, any>' is not assignable to parameter of type 'import("/home/runner/work/redux-toolkit/redux-toolkit/packages/toolkit/src/query/core/apiState").RootState<Definitions, any, any>'.
Test Types with TypeScript 5.2
Type 'QueryDefinition<number, (arg: any) => { error: { status: number; data: null; }; data?: undefined; } | { data: any; error?: undefined; }, never, { name: string; }, "api"> | InfiniteQueryDefinition<...>' does not satisfy the constraint 'QueryDefinition<any, any, any, any>'.
Test Types with TypeScript 5.2
Process completed with exit code 2.

Artifacts

Produced during runtime
Name Size
package
1.17 MB