Skip to content

message metadata tracking #144

message metadata tracking

message metadata tracking #144

Triggered via pull request September 6, 2024 03:20
Status Failure
Total duration 4m 24s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
TypeScript: app/discord/activityTracker.ts#L18
Argument of type '"message_stats"' is not assignable to parameter of type '"users" | "guilds" | "sessions"'.
TypeScript: app/discord/activityTracker.ts#L21
Argument of type '{ message_id: string; author_id: string; guild_id: string | null; channel_id: string; recipient_id: string | null; channel_category: any; char_count: number; word_count: number; react_count: number; sent_at: string; }' is not assignable to parameter of type 'InsertExpression<DB, "users" | "guilds" | "sessions", never>'.
TypeScript: app/discord/activityTracker.ts#L27
Property 'parentId' does not exist on type 'DMChannel | NewsChannel | StageChannel | TextChannel | PrivateThreadChannel | PublicThreadChannel<boolean> | VoiceChannel'.
TypeScript: app/discord/activityTracker.ts#L45
No overload matches this call.
TypeScript: app/discord/activityTracker.ts#L46
Argument of type '"message_id"' is not assignable to parameter of type 'ReferenceExpression<DB, "users" | "guilds" | "sessions">'.
TypeScript: app/discord/activityTracker.ts#L53
Parameter 'eb' implicitly has an 'any' type.
TypeScript: app/discord/activityTracker.ts#L60
Parameter 'eb' implicitly has an 'any' type.
TypeScript: app/discord/activityTracker.ts#L68
Type 'string' does not satisfy the constraint 'never'.
TypeScript: app/discord/activityTracker.ts#L70
No overload matches this call.
TypeScript: app/discord/activityTracker.ts#L70
Argument of type 'UpdateObjectExpression<DB, "message_stats", "message_stats">' is not assignable to parameter of type 'UpdateObjectExpression<DB, "users" | "guilds" | "sessions", "users" | "guilds" | "sessions">'.
TypeScript
The following actions uses node12 which is deprecated and will be forced to run on node16: c-hive/gha-npm-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
TypeScript
The following actions use a deprecated Node.js version and will be forced to run on node20: c-hive/gha-npm-cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
TypeScript
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
TypeScript
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
TypeScript
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
TypeScript
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, docker/build-push-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/