fix: fix ForbiddenError returning information about record #2082
Annotations
11 errors and 3 warnings
build:
src/backend/actions/delete/delete-action.spec.ts#L57
Type 'string | number | null' is not assignable to type 'string | undefined'.
|
build:
src/frontend/components/actions/bulk-delete.tsx#L44
Type '(string | number | null)[]' is not assignable to type 'string[]'.
|
build:
src/frontend/components/actions/list.tsx#L51
'r.id' is possibly 'null'.
|
build:
src/frontend/components/app/action-header/action-header.tsx#L55
Type '{ resourceId: string; recordId: string | number | null | undefined; }' is not assignable to type 'DifferentActionParams'.
|
build:
src/frontend/components/app/action-header/action-header.tsx#L70
Type '{ resourceId: string; recordId: string | number | null | undefined; }' is not assignable to type 'DifferentActionParams'.
|
build:
src/frontend/components/app/records-table/record-in-list.tsx#L66
Type 'string | number | null' is not assignable to type 'string | undefined'.
|
build:
src/frontend/components/app/records-table/record-in-list.tsx#L81
Type '{ resourceId: string; recordId: string | number | null; }' is not assignable to type 'DifferentActionParams'.
|
build:
src/frontend/components/app/records-table/record-in-list.tsx#L97
Type '{ resourceId: string; recordId: string | number | null; }' is not assignable to type 'DifferentActionParams'.
|
build:
src/frontend/components/app/records-table/selected-records.tsx#L38
Type '{ resourceId: string; recordIds: (string | number | null)[]; }' is not assignable to type 'DifferentActionParams'.
|
build:
src/frontend/components/app/records-table/selected-records.tsx#L49
Type '{ resourceId: string; recordIds: (string | number | null)[]; }' is not assignable to type 'DifferentActionParams'.
|
Test
Process completed with exit code 1.
|
setup
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|