enhance(backend): refine system account #23121
lint.yml
on: pull_request
pnpm_install
35s
Matrix: lint
Matrix: typecheck
Annotations
10 errors and 2 warnings
typecheck (backend)
Property 'proxyAccount' does not exist on type 'MiMeta'.
|
typecheck (backend)
Cannot find module '@/core/ProxyAccountService.js' or its corresponding type declarations.
|
typecheck (backend)
Object literal may only specify known properties, and 'proxyAccount' does not exist in type 'MiMeta'.
|
typecheck (backend)
Cannot find module '@/core/ProxyAccountService.js' or its corresponding type declarations.
|
typecheck (backend)
Object literal may only specify known properties, and 'isRoot' does not exist in type 'MiUser'.
|
typecheck (backend)
Property 'isRoot' does not exist on type 'MiUser'.
|
typecheck (backend)
Type '{ readonly tags: readonly ["admin"]; readonly requireCredential: true; readonly requireModerator: true; readonly kind: "write:admin:update-proxy-account"; readonly errors: { readonly accessDenied: { readonly message: "Only administrators can edit members of the role."; readonly code: "ACCESS_DENIED"; readonly id: "1...' does not satisfy the constraint 'IEndpointMeta'.
|
typecheck (backend)
Type 'SchemaType<{ readonly nullable: true; readonly type: "string"; readonly minLength: 1; readonly maxLength: 1500; }> | undefined' is not assignable to type 'string | undefined'.
|
typecheck (backend)
Argument of type '"updateUser"' is not assignable to parameter of type '"updateServerSettings" | "suspend" | "unsuspend" | "updateUserNote" | "addCustomEmoji" | "updateCustomEmoji" | "deleteCustomEmoji" | "assignRole" | "unassignRole" | "createRole" | ... 39 more ... | "deleteGalleryPost"'.
|
typecheck (backend)
Process completed with exit code 2.
|
lint (misskey-reversi):
packages/misskey-reversi/src/serializer.ts#L25
Unnecessary conditional, comparison is always true, since `"put" === "put"` is true
|
lint (misskey-reversi):
packages/misskey-reversi/src/serializer.ts#L88
Unnecessary conditional, comparison is always true, since `"put" === "put"` is true
|