Skip to content

feat(graphql): add getData and getCount options #15370

feat(graphql): add getData and getCount options

feat(graphql): add getData and getCount options #15370

Triggered via pull request September 20, 2024 11:49
Status Failure
Total duration 2m 33s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Build & Test
Type '<TData extends BaseRecord = BaseRecord>(params: GetListParams) => Promise<{ data: CreateParams<{}> | UpdateParams<{}> | DeleteOneParams<{}> | GetListResponse<...> | GetOneResponse<...> | GetManyResponse<...>; total: number; }>' is not assignable to type '<TData extends BaseRecord = BaseRecord>(params: GetListParams) => Promise<GetListResponse<TData>>'.
Build & Test
Type '<TData extends BaseRecord = BaseRecord>(params: GetManyParams) => Promise<{ data: CreateParams<{}> | UpdateParams<{}> | DeleteOneParams<{}> | GetListResponse<...> | GetOneResponse<...> | GetManyResponse<...>; }>' is not assignable to type '<TData extends BaseRecord = BaseRecord>(params: GetManyParams) => Promise<GetManyResponse<TData>>'.
Build & Test
'params' is possibly 'undefined'.
Build & Test
'params' is possibly 'undefined'.
Build & Test
'response' is possibly 'undefined'.
Build & Test
Process completed with exit code 1.