update the schema to match needs #4
Annotations
20 errors
ʦ TypeScript:
app/models/note.server.ts#L1
Module '"@prisma/client"' has no exported member 'User'.
|
ʦ TypeScript:
app/models/note.server.ts#L1
Module '"@prisma/client"' has no exported member 'Note'.
|
ʦ TypeScript:
app/models/note.server.ts#L11
Property 'note' does not exist on type 'PrismaClient<PrismaClientOptions, never, RejectOnNotFound | RejectPerOperation | undefined, DefaultArgs>'.
|
ʦ TypeScript:
app/models/note.server.ts#L18
Property 'note' does not exist on type 'PrismaClient<PrismaClientOptions, never, RejectOnNotFound | RejectPerOperation | undefined, DefaultArgs>'.
|
ʦ TypeScript:
app/models/note.server.ts#L32
Property 'note' does not exist on type 'PrismaClient<PrismaClientOptions, never, RejectOnNotFound | RejectPerOperation | undefined, DefaultArgs>'.
|
ʦ TypeScript:
app/models/note.server.ts#L49
Property 'note' does not exist on type 'PrismaClient<PrismaClientOptions, never, RejectOnNotFound | RejectPerOperation | undefined, DefaultArgs>'.
|
ʦ TypeScript:
app/models/user.server.ts#L1
Module '"@prisma/client"' has no exported member 'Password'.
|
ʦ TypeScript:
app/models/user.server.ts#L1
Module '"@prisma/client"' has no exported member 'User'.
|
ʦ TypeScript:
app/models/user.server.ts#L6
Module '"@prisma/client"' has no exported member 'User'.
|
ʦ TypeScript:
app/models/user.server.ts#L9
Property 'user' does not exist on type 'PrismaClient<PrismaClientOptions, never, RejectOnNotFound | RejectPerOperation | undefined, DefaultArgs>'.
|
⚫️ Cypress:
prisma/seed.ts#L10
Property 'user' does not exist on type 'PrismaClient<PrismaClientOptions, never, RejectOnNotFound | RejectPerOperation | undefined, DefaultArgs>'.
|
⚫️ Cypress:
prisma/seed.ts#L16
Property 'user' does not exist on type 'PrismaClient<PrismaClientOptions, never, RejectOnNotFound | RejectPerOperation | undefined, DefaultArgs>'.
|
⚫️ Cypress:
prisma/seed.ts#L27
Property 'note' does not exist on type 'PrismaClient<PrismaClientOptions, never, RejectOnNotFound | RejectPerOperation | undefined, DefaultArgs>'.
|
⚫️ Cypress:
prisma/seed.ts#L35
Property 'note' does not exist on type 'PrismaClient<PrismaClientOptions, never, RejectOnNotFound | RejectPerOperation | undefined, DefaultArgs>'.
|
⚫️ Cypress
Process completed with exit code 1.
|
⬣ ESLint:
app/root.tsx#L14
`~/app.css` import should occur before import of `~/session.server`
|
⬣ ESLint:
app/routes/_index.tsx#L7
'messages' is assigned a value but never used
|
⬣ ESLint:
app/routes/_index.tsx#L53
The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md
|
⬣ ESLint:
app/routes/_index.tsx#L54
The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md
|
⬣ ESLint
Process completed with exit code 1.
|