Switch to openapi from zod #591
node.js.yaml
on: pull_request
Annotations
12 errors
|
lint
Process completed with exit code 1.
|
|
lint:
packages/log-server/src/api.ts#L1
'express' is defined but never used. Allowed unused vars must match /^_/u
|
|
build
Argument of type 'FetchResponse<paths, { credentials: string; headers: { 'content-type': string; }; body: { data: { type: string; attributes: { name: string | null; status: string; }; relationships: { experiment: { data: { id: any; type: string; }; }; }; }; }; }, `${string}/${string}`>' is not assignable to parameter of type '{ response: Response; error: string | { errors: ErrorResource[]; }; }'.
|
|
build
Argument of type 'FetchResponse<paths, { credentials: string; params: { path: { id: string; }; }; headers: { 'content-type': string; }; body: { data: { type: string; id: string; attributes: { status: string; lastLogNumber: number; }; }; }; }, `${string}/${string}`>' is not assignable to parameter of type '{ response: Response; error: string | { errors: ErrorResource[]; }; }'.
|
|
build
Argument of type 'FetchResponse<paths, { params: { query: { 'filter[experiment.id]': string | undefined; 'filter[experiment.name]': string | undefined; 'filter[name]': string; }; }; }, `${string}/${string}`>' is not assignable to parameter of type '{ response: Response; error: string | { errors: ErrorResource[]; }; }'.
|
|
build
Argument of type 'FetchResponse<paths, { params: { query: { 'filter[name]': string; }; }; }, `${string}/${string}`>' is not assignable to parameter of type '{ response: Response; error: string | { errors: ErrorResource[]; }; }'.
|
|
build
Binding element 'id' implicitly has an 'any' type.
|
|
build
Parameter 'r' implicitly has an 'any' type.
|
|
build
Argument of type 'any' is not assignable to parameter of type 'never'.
|
|
build
Argument of type 'FetchResponse<paths, { credentials: string; params: { query: { 'filter[status]': string[]; 'filter[experiment.name]': string | undefined; 'filter[name]': string | undefined; include: string[]; }; }; }, `${string}/${string}`>' is not assignable to parameter of type '{ response: Response; error: string | { errors: ErrorResource[]; }; }'.
|
|
build
Argument of type 'FetchResponse<paths, { params: { path: { id: string; }; }; credentials: string; }, `${string}/${string}`>' is not assignable to parameter of type '{ response: Response; error: string | { errors: ErrorResource[]; }; }'.
|
|
build
Cannot find module './generated/openapi.js' or its corresponding type declarations.
|