Skip to content

fix: 再アップロードはエンドポイント側でするように #1740

fix: 再アップロードはエンドポイント側でするように

fix: 再アップロードはエンドポイント側でするように #1740

Triggered via pull request January 31, 2025 13:03
Status Success
Total duration 2m 19s
Artifacts

lint.yml

on: pull_request
pnpm_install
34s
pnpm_install
Matrix: lint
Matrix: typecheck
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 1 warning
lint (backend): packages/backend/src/core/CustomEmojiService.ts#L107
Block must not be padded by blank lines
lint (backend)
Process completed with exit code 1.
typecheck (backend)
'instance' is possibly 'null'.
typecheck (backend)
Expected 1 arguments, but got 2.
typecheck (backend)
Type '{ id: string; updatedAt?: Date | null | undefined; updatedAtHistory?: Date[] | null | undefined; noteEditHistory?: string[] | undefined; replyId: MiNote["id"] | null; reply: MiNote | null; ... 35 more ...; deleteAt?: Date | ... 1 more ... | undefined; }' is not assignable to type 'MiNote'.
typecheck (backend)
Argument of type 'MiSystemWebhook' is not assignable to parameter of type '"abuseReport" | "abuseReportResolved" | "userCreated" | "inactiveModeratorsWarning" | "inactiveModeratorsInvitationOnlyChanged" | "inactiveModeratorsDisablePublicNoteChanged"'.
typecheck (backend)
Property 'isSilenced' does not exist on type 'MiUser'.
typecheck (backend)
Argument of type '(ps: {} & { noteId: string; targetLang: string; } & { noteId?: string | undefined; targetLang?: string | undefined; }, me: MiLocalUser) => Promise<number | { sourceLang: string; text: string | string[]; translator: string | never[]; } | undefined>' is not assignable to parameter of type 'Executor<{ readonly tags: readonly ["notes"]; readonly requireCredential: true; readonly kind: "read:account"; readonly res: { readonly type: "object"; readonly optional: true; readonly nullable: false; readonly properties: { ...; }; }; readonly errors: { ...; }; }, { ...; }>'.
typecheck (backend)
Argument of type 'string[]' is not assignable to parameter of type 'string'.
typecheck (backend)
Argument of type 'MiNote' is not assignable to parameter of type '{ id: string; createdAt: string; updatedAt?: string | null | undefined; updatedAtHistory?: string[] | null | undefined; noteEditHistory?: unknown[] | undefined; deletedAt?: string | null | undefined; ... 33 more ...; deleteAt?: string | ... 1 more ... | undefined; }'.
typecheck (backend)
Argument of type 'MiNote' is not assignable to parameter of type '{ id: string; createdAt: string; updatedAt?: string | null | undefined; updatedAtHistory?: string[] | null | undefined; noteEditHistory?: unknown[] | undefined; deletedAt?: string | null | undefined; ... 33 more ...; deleteAt?: string | ... 1 more ... | undefined; }'.
typecheck (backend)
Object literal may only specify known properties, and 'origin' does not exist in type 'SearchOpts'.
typecheck (sw)
Right operand of ?? is unreachable because the left operand is never nullish.
typecheck (sw)
Property 'user' does not exist on type '{ id: string; createdAt: string; type: "groupInvited"; invitation: string; }'.
typecheck (sw)
Property 'group' does not exist on type 'string'.
typecheck (sw)
Property 'id' does not exist on type 'string'.
typecheck (sw)
Property 'id' does not exist on type 'string'.
typecheck (sw)
Process completed with exit code 2.
lint (frontend-shared): packages/frontend-shared/js/array.ts#L6
'EndoRelation' is defined but never used