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
Commitlint
15s
Lint
1m 5s
Build & Test
2m 22s
Check TSDoc Links
19s
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.
|