Skip to content

Add CurrentVote to prisma schema #36

Add CurrentVote to prisma schema

Add CurrentVote to prisma schema #36

Triggered via push December 4, 2023 16:02
Status Failure
Total duration 1m 33s
Artifacts

deploy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 11 warnings
⚡ Vitest
Process completed with exit code 1.
⬣ ESLint: app/attention.ts#L3
'PostStats' is defined but never used
⬣ ESLint: app/attention.ts#L7
'assert' is defined but never used
⬣ ESLint: app/attention.ts#L176
'result' is assigned a value but never used
⬣ ESLint: app/db.ts#L2
'assert' is defined but never used
⬣ ESLint: app/db.ts#L8
'Post' is defined but never used
⬣ ESLint: app/exploration.ts#L7
'assert' is defined but never used
⬣ ESLint: app/exploration.ts#L11
'LocationType' is defined but never used
⬣ 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
ʦ TypeScript: app/attention.ts#L150
Type 'Map<string, { tagId: number; views: number; votesPerView: number; }>' is not assignable to type 'Map<string, TagStatsAccumulator>'.
ʦ TypeScript: simulate-attention-share.ts#L26
Could not find a declaration file for module 'jstat'. '/home/runner/work/social-network/social-network/node_modules/jstat/dist/jstat.js' implicitly has an 'any' type.
ʦ TypeScript
Process completed with exit code 2.
🎭 Playwright
Process completed with exit code 1.
⬣ ESLint: app/attention.ts#L3
`#app/db/types.ts` import should occur before import of `#app/db.ts`
⬣ ESLint: app/attention.ts#L7
`assert` import should occur before import of `#app/db.ts`
⬣ ESLint: app/attention.ts#L9
`./beta-gamma-distribution.ts` import should occur before import of `./tag.ts`
⬣ ESLint: app/attention.ts#L14
`kysely` import should occur before import of `#app/db.ts`
⬣ ESLint: app/beta-gamma-distribution.ts#L51
Useless constructor
⬣ ESLint: app/beta-gamma-distribution.ts#L69
Useless constructor
⬣ ESLint: app/components/ui/feed.tsx#L14
Missing "key" prop for element in iterator
⬣ ESLint: app/components/ui/post.tsx#L2
`#app/components/ui/button.tsx` import should occur before import of `#app/db/types.ts`
⬣ ESLint: app/components/ui/post.tsx#L3
`@remix-run/react` import should occur before import of `#app/db/types.ts`
⬣ ESLint: app/db/kysely-types.ts#L1
Prefer using inline type specifiers instead of a top-level type-only import
🎭 Playwright
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.