From 17b5cc02807e550ccb3f57991623afc416e4f873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Wed, 10 Jan 2024 03:43:13 +0900 Subject: [PATCH] fix code quality issues --- .../src/queue/processors/ExportClipsProcessorService.ts | 6 ++---- packages/frontend/src/components/MkAchievements.vue | 1 - packages/frontend/src/components/MkPagination.vue | 1 - packages/frontend/src/components/MkTimeline.vue | 2 +- packages/frontend/src/components/MkUserPopup.vue | 4 ++-- packages/frontend/src/pages/settings/account-stats.vue | 1 - packages/frontend/src/pages/settings/roles.vue | 1 - packages/frontend/src/plugin.ts | 1 - packages/frontend/src/widgets/WidgetOnlineUsers.vue | 2 +- packages/misskey-js/src/entities.ts | 2 +- 10 files changed, 7 insertions(+), 14 deletions(-) diff --git a/packages/backend/src/queue/processors/ExportClipsProcessorService.ts b/packages/backend/src/queue/processors/ExportClipsProcessorService.ts index 5221497bd3..d1e17edca9 100644 --- a/packages/backend/src/queue/processors/ExportClipsProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportClipsProcessorService.ts @@ -5,19 +5,17 @@ import * as fs from 'node:fs'; import { Writable } from 'node:stream'; -import { Inject, Injectable, StreamableFile } from '@nestjs/common'; +import { Inject, Injectable } from '@nestjs/common'; import { MoreThan } from 'typeorm'; import { format as dateFormat } from 'date-fns'; import { DI } from '@/di-symbols.js'; -import type { ClipNotesRepository, ClipsRepository, MiClip, MiClipNote, MiUser, NotesRepository, PollsRepository, UsersRepository } from '@/models/_.js'; +import type { ClipNotesRepository, ClipsRepository, MiClip, MiClipNote, MiUser, PollsRepository, UsersRepository } from '@/models/_.js'; import type Logger from '@/logger.js'; import { DriveService } from '@/core/DriveService.js'; import { createTemp } from '@/misc/create-temp.js'; import type { MiPoll } from '@/models/Poll.js'; import type { MiNote } from '@/models/Note.js'; import { bindThis } from '@/decorators.js'; -import { DriveFileEntityService } from '@/core/entities/DriveFileEntityService.js'; -import { Packed } from '@/misc/json-schema.js'; import { IdService } from '@/core/IdService.js'; import { QueueLoggerService } from '../QueueLoggerService.js'; import type * as Bull from 'bullmq'; diff --git a/packages/frontend/src/components/MkAchievements.vue b/packages/frontend/src/components/MkAchievements.vue index 1137eaf970..ac8bc39bb4 100644 --- a/packages/frontend/src/components/MkAchievements.vue +++ b/packages/frontend/src/components/MkAchievements.vue @@ -54,7 +54,6 @@ SPDX-License-Identifier: AGPL-3.0-only