Do not display staff link on frontend unless user role is case manage… #853
Annotations
5 errors and 7 warnings
type-check:
src/backend/routers/file.test.ts#L7
Type '"para"' is not assignable to type 'UserType.Para | UserType.CaseManager | UserType.Admin | undefined'.
|
type-check:
src/backend/routers/file.test.ts#L30
Type '"para"' is not assignable to type 'UserType.Para | UserType.CaseManager | UserType.Admin | undefined'.
|
type-check:
src/backend/routers/file.test.ts#L53
Type '"para"' is not assignable to type 'UserType.Para | UserType.CaseManager | UserType.Admin | undefined'.
|
type-check:
src/backend/routers/file.test.ts#L64
Type '"para"' is not assignable to type 'UserType.Para | UserType.CaseManager | UserType.Admin | undefined'.
|
type-check
Process completed with exit code 2.
|
type-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
type-check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint:
src/backend/auth/adapter.ts#L1
'AdapterUser' is defined but never used
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-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@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|