Skip to content

fix: #67 Add missing 'kind' to API endpoints #31

fix: #67 Add missing 'kind' to API endpoints

fix: #67 Add missing 'kind' to API endpoints #31

Triggered via pull request July 17, 2024 03:57
Status Success
Total duration 9m 18s
Artifacts

lint.yml

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

Annotations

25 errors and 10 warnings
lint (backend): packages/backend/src/core/CustomEmojiService.ts#L284
Expected no linebreak before this statement
lint (backend): packages/backend/src/core/CustomEmojiService.ts#L310
Expected no linebreak before this statement
lint (backend): packages/backend/src/misc/json-schema.ts#L236
Mixed spaces and tabs
lint (backend): packages/backend/src/misc/json-schema.ts#L240
Mixed spaces and tabs
lint (backend): packages/backend/src/queue/QueueProcessorService.ts#L366
Newline required at end of file but not found
lint (backend): packages/backend/src/queue/processors/DeleteAccountProcessorService.ts#L102
Expected no linebreak before this statement
lint (backend): packages/backend/src/server/api/endpoints/admin/emoji/copy.ts#L106
Closing curly brace does not appear on the same line as the subsequent block
lint (backend): packages/backend/src/server/api/endpoints/admin/emoji/list.ts#L102
Closing curly brace does not appear on the same line as the subsequent block
lint (backend): packages/backend/src/server/api/endpoints/admin/emoji/list.ts#L109
Closing curly brace does not appear on the same line as the subsequent block
lint (backend): packages/backend/src/server/api/endpoints/admin/emoji/update.ts#L135
Expected no linebreak before this statement
typecheck (backend)
Type '{ readonly tags: readonly ["notes"]; readonly requireCredential: true; readonly requireRolePolicy: "canEditNote"; readonly kind: "write:notes"; readonly limit: { readonly duration: number; readonly max: 10; readonly minInterval: number; }; readonly errors: { ...; }; }' does not satisfy the constraint 'IEndpointMeta'.
typecheck (backend)
'me' is possibly 'null'.
typecheck (backend)
'me' is possibly 'null'.
typecheck (backend)
Property 'kind' is missing in type 'RelationalTimelineChannelService' but required in type 'MiChannelService<boolean>'.
typecheck (backend)
Process completed with exit code 2.
lint (frontend): packages/frontend/src/components/MkEmojiPicker.vue#L212
Closing curly brace does not appear on the same line as the subsequent block
lint (frontend): packages/frontend/src/components/MkPluginSelectSaveWindow.vue#L69
Must use `.value` to read or write the value wrapped by `shallowRef()`
lint (frontend): packages/frontend/src/components/MkPostForm.vue#L194
Must use `.value` to read or write the value wrapped by `ref()`
lint (frontend): packages/frontend/src/components/MkPostForm.vue#L759
Must use `.value` to read or write the value wrapped by `ref()`
lint (frontend): packages/frontend/src/components/global/MkAvatar.vue#L27
Attribute "v-if" should go before ":class"
lint (frontend): packages/frontend/src/components/global/MkLoading.vue#L112
More than 1 blank line not allowed
lint (frontend): packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.ts#L37
Expected blank line before this statement
lint (frontend): packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.ts#L56
'deg' is never reassigned. Use 'const' instead
lint (frontend): packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.ts#L61
'step' is never reassigned. Use 'const' instead
lint (frontend): packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.ts#L62
'stepText' is never reassigned. Use 'const' instead
lint (misskey-js): packages/misskey-js/src/acct.ts#L7
Assignment to function parameter 'acct'
lint (misskey-js): packages/misskey-js/src/api.ts#L17
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/api.ts#L32
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/api.types.ts#L30
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/api.types.ts#L35
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/consts.ts#L142
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/consts.ts#L143
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/consts.ts#L164
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/consts.ts#L168
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/consts.ts#L169
Unexpected any. Specify a different type