[API Concept] - Infinite Query API #6156
tests.yml
on: pull_request
Check for changes
3s
Matrix: build
Matrix: Check package config with are-the-types-wrong
Matrix: Test against dist
Matrix: test-published-artifact
Matrix: test-types
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 |
|