Korjaus tupla Toast-ilmoitukseen | Antti/fix-double-toast-notification-issue #206
Annotations
5 errors and 50 warnings
shared/types.ts#L15
TS2305: Module '"@prisma/client"' has no exported member 'Gift'
|
shared/types.ts#L16
TS2305: Module '"@prisma/client"' has no exported member 'User'
|
shared/types.ts#L17
TS2305: Module '"@prisma/client"' has no exported member 'Session'
|
shared/zodSchemas.ts#L95
TS2694: Namespace '"/home/runner/work/lahjalista/lahjalista/node_modules/.prisma/client/default".Prisma' has no exported member 'UserCreateNestedOneWithoutSessionInput'
|
prisma/index.ts#L4
'any' overrides all other types in this union type (@typescript-eslint/no-redundant-type-constituents)
|
backend/auth.ts#L10
Unsafe argument of type `any` assigned to a parameter of type `BasicPrismaModel` (@typescript-eslint/no-unsafe-argument)
|
backend/auth.ts#L10
Unsafe member access .session on an `any` value (@typescript-eslint/no-unsafe-member-access)
|
backend/auth.ts#L10
Unsafe argument of type `any` assigned to a parameter of type `BasicPrismaModel` (@typescript-eslint/no-unsafe-argument)
|
backend/auth.ts#L10
Unsafe member access .user on an `any` value (@typescript-eslint/no-unsafe-member-access)
|
backend/auth.ts#L24
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L27
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L28
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L29
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L30
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L31
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L32
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L33
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L50
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L53
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L54
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L55
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L56
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L57
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L58
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
backend/auth.ts#L59
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
pages/api/auth/login.ts#L34
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
pages/api/auth/login.ts#L34
Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call)
|
pages/api/auth/login.ts#L34
Unsafe member access .user on an `any` value (@typescript-eslint/no-unsafe-member-access)
|
pages/api/auth/login.ts#L44
Unsafe argument of type `any` assigned to a parameter of type `string` (@typescript-eslint/no-unsafe-argument)
|
pages/api/auth/login.ts#L44
Unsafe member access .password on an `any` value (@typescript-eslint/no-unsafe-member-access)
|
pages/api/auth/login.ts#L50
Unsafe argument of type `any` assigned to a parameter of type `string` (@typescript-eslint/no-unsafe-argument)
|
pages/api/auth/login.ts#L50
Unsafe member access .uuid on an `any` value (@typescript-eslint/no-unsafe-member-access)
|
pages/api/auth/logout.ts#L31
Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call)
|
pages/api/auth/logout.ts#L31
Unsafe member access .session on an `any` value (@typescript-eslint/no-unsafe-member-access)
|
pages/api/auth/register.ts#L18
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
pages/api/auth/register.ts#L20
Unsafe argument of type `any` assigned to a parameter of type `string` (@typescript-eslint/no-unsafe-argument)
|
pages/api/auth/register.ts#L20
Unsafe member access .uuid on an `any` value (@typescript-eslint/no-unsafe-member-access)
|
pages/api/auth/register.ts#L21
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
pages/api/auth/register.ts#L21
Unsafe member access .uuid on an `any` value (@typescript-eslint/no-unsafe-member-access)
|
pages/api/feedback/index.ts#L51
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
pages/api/feedback/index.ts#L63
Async function 'createFeedback' has no 'await' expression (@typescript-eslint/require-await)
|
pages/api/feedback/index.ts#L64
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
pages/api/feedback/index.ts#L64
Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call)
|
pages/api/feedback/index.ts#L64
Unsafe member access .feedback on an `any` value (@typescript-eslint/no-unsafe-member-access)
|
pages/api/feedback/index.ts#L75
Unsafe return of an `any` typed value (@typescript-eslint/no-unsafe-return)
|
pages/api/gifts/[uuid].ts#L53
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
pages/api/gifts/[uuid].ts#L53
Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call)
|
pages/api/gifts/[uuid].ts#L53
Unsafe member access .gift on an `any` value (@typescript-eslint/no-unsafe-member-access)
|
pages/api/gifts/[uuid].ts#L66
Unsafe argument of type `any` assigned to a parameter of type `{ createdAt: Date; updatedAt: Date; uuid: string; gift: string; receiver: string; }` (@typescript-eslint/no-unsafe-argument)
|
pages/api/gifts/[uuid].ts#L77
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
pages/api/gifts/[uuid].ts#L77
Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call)
|
pages/api/gifts/[uuid].ts#L77
Unsafe member access .gift on an `any` value (@typescript-eslint/no-unsafe-member-access)
|
pages/api/gifts/[uuid].ts#L92
Unsafe argument of type `any` assigned to a parameter of type `{ createdAt: Date; updatedAt: Date; uuid: string; gift: string; receiver: string; }` (@typescript-eslint/no-unsafe-argument)
|
pages/api/gifts/[uuid].ts#L103
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
|
Run linters
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, wearerequired/lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|