feat(#2056)!: support Pinia Colada #2060
+3,778
−494
Draft
Annotations
10 errors and 1 warning
Run pnpm run lint
Type 'Init' does not satisfy the constraint 'Response["data"] | undefined'.
|
Run pnpm run lint
Type 'MaybeRef<Method>' does not satisfy the constraint 'HttpMethod'.
|
Run pnpm run lint
Type 'UseQueryReturn<FetchResponse<Paths[PathsWithMethod<Paths, MaybeRef<Method>>][MaybeRef<Method>], MaybeOptionalInit<Paths[PathsWithMethod<Paths, MaybeRef<...>>], MaybeRef<...>>, Media>, Response["error"], FetchResponse<...> | undefined>' is not assignable to type 'UseQueryReturn<Response["data"], Response["error"], Init>'.
|
Run pnpm run lint
Type 'Init & { [key: string]: unknown; }' is not assignable to type 'EntryNodeKey | _ObjectFlat'.
|
Run pnpm run lint
Argument of type 'PathsWithMethod<Paths, Method>' is not assignable to parameter of type 'PathsWithMethod<Paths, MaybeRef<Method>>'.
|
Run pnpm run lint
Type 'MaybeRef<Method>' does not satisfy the constraint 'HttpMethod'.
|
Run pnpm run lint
Type 'UseMutationReturn<FetchResponse<Paths[PathsWithMethod<Paths, MaybeRef<Method>>][MaybeRef<Method>], MaybeOptionalInit<Paths[PathsWithMethod<Paths, MaybeRef<...>>], MaybeRef<...>>, Media>, Vars, Response["error"]>' is not assignable to type 'UseMutationReturn<Response["data"], Vars, Response["error"]>'.
|
Run pnpm run lint
Argument of type '{ onMutate?: ((vars: NoInfer<Response["error"]>, context: UseMutationGlobalContext) => _Awaitable<void | _EmptyObject | null | undefined>) | undefined; onSuccess?: ((data: NoInfer<Response["data"]>, vars: NoInfer<Response["error"]>, context: UseMutationGlobalContext & _EmptyObject) => unknown) | undefined; onError?:...' is not assignable to parameter of type 'UseMutationOptions<FetchResponse<Paths[PathsWithMethod<Paths, MaybeRef<Method>>][MaybeRef<Method>], MaybeOptionalInit<Paths[PathsWithMethod<Paths, MaybeRef<...>>], MaybeRef<...>>, Media>, Vars, Response["error"], _EmptyObject>'.
|
Run pnpm run lint
Argument of type 'PathsWithMethod<Paths, Method>' is not assignable to parameter of type 'PathsWithMethod<Paths, MaybeRef<Method>>'.
|
Run pnpm run lint
openapi-pinia-colada#build: command (/home/runner/work/openapi-typescript/openapi-typescript/packages/openapi-pinia-colada) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading