Skip to content

Migrate queries in probablities.ts from prisma to drizzle #24

Migrate queries in probablities.ts from prisma to drizzle

Migrate queries in probablities.ts from prisma to drizzle #24

Triggered via push November 25, 2023 12:06
Status Failure
Total duration 2m 59s
Artifacts

deploy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 11 warnings
⚡ Vitest
Process completed with exit code 1.
🎭 Playwright
Process completed with exit code 1.
⬣ ESLint: app/attention.ts#L3
'Tag' is defined but never used
⬣ ESLint: app/attention.ts#L19
Import in body of module; reorder to top
⬣ ESLint: app/attention.ts#L104
'result' is assigned a value but never used
⬣ ESLint: app/db.ts#L18
Import in body of module; reorder to top
⬣ ESLint: app/db.ts#L19
Import in body of module; reorder to top
⬣ ESLint: app/probabilities.ts#L74
'_noteId' is assigned a value but never used
⬣ ESLint: app/probabilities.ts#L74
'_p' is assigned a value but never used
⬣ ESLint: app/probabilities.ts#L84
'_p' is assigned a value but never used
⬣ ESLint: app/probabilities.ts#L84
'_q' is assigned a value but never used
⬣ ESLint: app/probabilities.ts#L151
'_' is assigned a value but never used
🎭 Playwright
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
⬣ ESLint: app/attention.ts#L3
`@prisma/client` import should occur before import of `#app/utils/db.server.ts`
⬣ ESLint: app/attention.ts#L5
`assert` import should occur before import of `#app/utils/db.server.ts`
⬣ ESLint: app/attention.ts#L19
`bloom-filters` import should occur before import of `#app/utils/db.server.ts`
⬣ ESLint: app/beta-distribution.ts#L16
Useless constructor
⬣ ESLint: app/db.ts#L3
`better-sqlite3` import should occur before import of `#app/schema.ts`
⬣ ESLint: app/db.ts#L4
`drizzle-orm/better-sqlite3` import should occur before import of `#app/schema.ts`
⬣ ESLint: app/db.ts#L9
`process` import should occur before import of `#app/schema.ts`
⬣ ESLint: app/db.ts#L19
`drizzle-orm` import should occur before import of `#app/schema.ts`
⬣ ESLint: app/probabilities.ts#L6
`#app/db.ts` import should occur before import of `./tag.ts`
⬣ ESLint: app/probabilities.ts#L7
`#app/schema.ts` import should occur before import of `./tag.ts`