Skip to content

various sql booth fixes #1304

various sql booth fixes

various sql booth fixes #1304

Triggered via push August 28, 2024 08:41
Status Failure
Total duration 1m 9s
Artifacts

ci.yml

on: push
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 10 warnings
Code style: src/Uwave.js#L7
Expected a line break after this opening brace
Code style: src/Uwave.js#L7
'PostgresDialect' is defined but never used
Code style: src/Uwave.js#L7
Expected a line break before this closing brace
Code style: src/Uwave.js#L36
Unexpected space before function parentheses
Code style: src/Uwave.js#L45
Missing '()' invoking a constructor
Code style: src/Uwave.js#L47
Unexpected space before function parentheses
Code style: src/Uwave.js#L54
Expected blank line between class members
Code style: src/Uwave.js#L66
Expected blank line between class members
Code style: src/Uwave.js#L66
Unexpected space before function parentheses
Code style: src/Uwave.js#L106
for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array
Types: src/controllers/acl.js#L32
Argument of type 'string[]' is not assignable to parameter of type 'Permission[]'.
Types: src/controllers/booth.js#L30
Property 'user' does not exist on type '{ media: { id: MediaID; artist: string; title: string; duration: number; thumbnail: string; sourceID: string; sourceType: string; sourceData: JsonObject; }; historyEntry: { ...; }; upvotes: never[]; downvotes: never[]; favorites: never[]; }'.
Types: src/controllers/booth.js#L34
Property 'populate' does not exist on type '{ media: { id: MediaID; artist: string; title: string; duration: number; thumbnail: string; sourceID: string; sourceType: string; sourceData: JsonObject; }; historyEntry: { ...; }; upvotes: never[]; downvotes: never[]; favorites: never[]; }'.
Types: src/controllers/booth.js#L41
Property 'id' does not exist on type '{ media: { id: MediaID; artist: string; title: string; duration: number; thumbnail: string; sourceID: string; sourceType: string; sourceData: JsonObject; }; historyEntry: { ...; }; upvotes: never[]; downvotes: never[]; favorites: never[]; }'.
Types: src/controllers/booth.js#L42
Property 'playlist' does not exist on type '{ media: { id: MediaID; artist: string; title: string; duration: number; thumbnail: string; sourceID: string; sourceType: string; sourceData: JsonObject; }; historyEntry: { ...; }; upvotes: never[]; downvotes: never[]; favorites: never[]; }'.
Types: src/controllers/booth.js#L43
Property 'playedAt' does not exist on type '{ media: { id: MediaID; artist: string; title: string; duration: number; thumbnail: string; sourceID: string; sourceType: string; sourceData: JsonObject; }; historyEntry: { ...; }; upvotes: never[]; downvotes: never[]; favorites: never[]; }'.
Types: src/controllers/booth.js#L44
Property 'user' does not exist on type '{ media: { id: MediaID; artist: string; title: string; duration: number; thumbnail: string; sourceID: string; sourceType: string; sourceData: JsonObject; }; historyEntry: { ...; }; upvotes: never[]; downvotes: never[]; favorites: never[]; }'.
Types: src/controllers/booth.js#L66
Type 'Promise<string | null>' is not assignable to type 'Promise<UserID | null>'.
Types: src/controllers/booth.js#L325
Property 'media' does not exist on type '{ size: number; id: PlaylistID; createdAt: Date; updatedAt: Date; userID: UserID; name: string; }'.
Types: src/controllers/booth.js#L333
Property 'save' does not exist on type '{ size: number; id: PlaylistID; createdAt: Date; updatedAt: Date; userID: UserID; name: string; }'.
Tests (lts/*, 5.0)
Process completed with exit code 7.
Tests (20.x, 7.0)
Process completed with exit code 7.
Tests (20.x, 6.0)
The job was canceled because "lts___5_0" failed.
Tests (20.x, 6.0)
Process completed with exit code 7.
Tests (18.x, 7.0)
The job was canceled because "lts___5_0" failed.
Tests (18.x, 7.0)
Process completed with exit code 7.
Tests (18.x, 6.0)
The job was canceled because "lts___5_0" failed.
Tests (18.x, 6.0)
Process completed with exit code 7.
Code style: src/HttpApi.js#L58
Missing JSDoc @Property
Code style: src/HttpApi.js#L58
Missing JSDoc @Property
Code style: src/HttpApi.js#L60
Invalid JSDoc tag (preference). Replace "prop" JSDoc tag with "property"
Code style: src/HttpApi.js#L61
Invalid JSDoc tag (preference). Replace "prop" JSDoc tag with "property"
Code style: src/HttpApi.js#L62
Invalid JSDoc tag (preference). Replace "prop" JSDoc tag with "property"
Code style: src/HttpApi.js#L63
Invalid JSDoc tag (preference). Replace "prop" JSDoc tag with "property"
Code style: src/HttpApi.js#L64
Invalid JSDoc tag (preference). Replace "prop" JSDoc tag with "property"
Code style: src/HttpApi.js#L65
Invalid JSDoc tag (preference). Replace "prop" JSDoc tag with "property"
Code style: src/HttpApi.js#L66
Expected no lines between tags
Code style: src/HttpApi.js#L69
Invalid JSDoc tag (preference). Replace "prop" JSDoc tag with "property"