diff --git a/packages/backend/src/core/UserBlockingService.ts b/packages/backend/src/core/UserBlockingService.ts index 9b5c40f267..3de99baf0c 100644 --- a/packages/backend/src/core/UserBlockingService.ts +++ b/packages/backend/src/core/UserBlockingService.ts @@ -3,15 +3,15 @@ * SPDX-License-Identifier: AGPL-3.0-only */ -import {Inject, Injectable, OnModuleInit} from '@nestjs/common'; -import {ModuleRef} from '@nestjs/core'; -import {IdService} from '@/core/IdService.js'; -import type {MiUser} from '@/models/User.js'; -import type {MiBlocking} from '@/models/Blocking.js'; -import {MiBlockingType} from '@/models/Blocking.js'; -import {QueueService} from '@/core/QueueService.js'; -import {GlobalEventService} from '@/core/GlobalEventService.js'; -import {DI} from '@/di-symbols.js'; +import { Inject, Injectable, OnModuleInit } from '@nestjs/common'; +import { ModuleRef } from '@nestjs/core'; +import { IdService } from '@/core/IdService.js'; +import type { MiUser } from '@/models/User.js'; +import type { MiBlocking } from '@/models/Blocking.js'; +import { MiBlockingType } from '@/models/Blocking.js'; +import { QueueService } from '@/core/QueueService.js'; +import { GlobalEventService } from '@/core/GlobalEventService.js'; +import { DI } from '@/di-symbols.js'; import type { BlockingsRepository, FollowRequestsRepository, diff --git a/packages/backend/src/core/UserReactionBlockingService.ts b/packages/backend/src/core/UserReactionBlockingService.ts index cf3de8f331..750f77a85a 100644 --- a/packages/backend/src/core/UserReactionBlockingService.ts +++ b/packages/backend/src/core/UserReactionBlockingService.ts @@ -3,7 +3,7 @@ * SPDX-License-Identifier: AGPL-3.0-only */ -import { Inject, Injectable, OnModuleInit } from '@nestjs/common'; +import { Inject, Injectable } from '@nestjs/common'; import { ModuleRef } from '@nestjs/core'; import { IdService } from '@/core/IdService.js'; import type { MiUser } from '@/models/User.js'; @@ -20,8 +20,8 @@ import { UserWebhookService } from '@/core/UserWebhookService.js'; import { bindThis } from '@/decorators.js'; import { CacheService } from '@/core/CacheService.js'; import { UserFollowingService } from '@/core/UserFollowingService.js'; -import {MiBlockingType} from "@/models/Blocking.js"; -import {UserBlockingService} from "@/core/UserBlockingService.js"; +import { MiBlockingType } from '@/models/Blocking.js'; +import { UserBlockingService } from '@/core/UserBlockingService.js'; @Injectable() export class UserReactionBlockingService { diff --git a/packages/backend/src/server/api/endpoints/blocking-reaction-user/create.ts b/packages/backend/src/server/api/endpoints/blocking-reaction-user/create.ts index 0df2acd69c..d9ec2f0503 100644 --- a/packages/backend/src/server/api/endpoints/blocking-reaction-user/create.ts +++ b/packages/backend/src/server/api/endpoints/blocking-reaction-user/create.ts @@ -4,15 +4,15 @@ */ import ms from 'ms'; -import {Inject, Injectable} from '@nestjs/common'; -import {Endpoint} from '@/server/api/endpoint-base.js'; -import type {BlockingsRepository, UsersRepository} from '@/models/_.js'; -import {MiBlockingType} from "@/models/_.js"; -import {UserEntityService} from '@/core/entities/UserEntityService.js'; -import {DI} from '@/di-symbols.js'; -import {GetterService} from '@/server/api/GetterService.js'; -import {ApiError} from '../../error.js'; -import {UserReactionBlockingService} from '@/core/UserReactionBlockingService.js'; +import { Inject, Injectable } from '@nestjs/common'; +import { Endpoint } from '@/server/api/endpoint-base.js'; +import type { BlockingsRepository, UsersRepository } from '@/models/_.js'; +import { MiBlockingType } from '@/models/_.js'; +import { UserEntityService } from '@/core/entities/UserEntityService.js'; +import { DI } from '@/di-symbols.js'; +import { GetterService } from '@/server/api/GetterService.js'; +import { UserReactionBlockingService } from '@/core/UserReactionBlockingService.js'; +import { ApiError } from '../../error.js'; export const meta = { tags: ['account'], diff --git a/packages/backend/src/server/api/endpoints/blocking-reaction-user/delete.ts b/packages/backend/src/server/api/endpoints/blocking-reaction-user/delete.ts index 393d05f900..c608fa486d 100644 --- a/packages/backend/src/server/api/endpoints/blocking-reaction-user/delete.ts +++ b/packages/backend/src/server/api/endpoints/blocking-reaction-user/delete.ts @@ -6,13 +6,12 @@ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; -import type { UsersRepository, BlockingsRepository } from '@/models/_.js'; +import type { UsersRepository, BlockingsRepository, MiBlockingType } from '@/models/_.js'; import { UserEntityService } from '@/core/entities/UserEntityService.js'; import { UserReactionBlockingService } from '@/core/UserReactionBlockingService.js'; import { DI } from '@/di-symbols.js'; import { GetterService } from '@/server/api/GetterService.js'; import { ApiError } from '../../error.js'; -import {MiBlockingType} from "@/models/_.js"; export const meta = { tags: ['account'], diff --git a/packages/backend/src/server/api/endpoints/blocking/create.ts b/packages/backend/src/server/api/endpoints/blocking/create.ts index b9adbb2deb..06dae5177c 100644 --- a/packages/backend/src/server/api/endpoints/blocking/create.ts +++ b/packages/backend/src/server/api/endpoints/blocking/create.ts @@ -4,15 +4,15 @@ */ import ms from 'ms'; -import {Inject, Injectable} from '@nestjs/common'; -import {Endpoint} from '@/server/api/endpoint-base.js'; -import type {BlockingsRepository, UsersRepository} from '@/models/_.js'; -import {MiBlockingType} from "@/models/_.js"; -import {UserEntityService} from '@/core/entities/UserEntityService.js'; -import {UserBlockingService} from '@/core/UserBlockingService.js'; -import {DI} from '@/di-symbols.js'; -import {GetterService} from '@/server/api/GetterService.js'; -import {ApiError} from '../../error.js'; +import { Inject, Injectable } from '@nestjs/common'; +import { Endpoint } from '@/server/api/endpoint-base.js'; +import type { BlockingsRepository, UsersRepository } from '@/models/_.js'; +import { MiBlockingType } from '@/models/_.js'; +import { UserEntityService } from '@/core/entities/UserEntityService.js'; +import { UserBlockingService } from '@/core/UserBlockingService.js'; +import { DI } from '@/di-symbols.js'; +import { GetterService } from '@/server/api/GetterService.js'; +import { ApiError } from '../../error.js'; export const meta = { tags: ['account'], diff --git a/packages/backend/src/server/api/endpoints/blocking/delete.ts b/packages/backend/src/server/api/endpoints/blocking/delete.ts index e035cb9823..1608329f8b 100644 --- a/packages/backend/src/server/api/endpoints/blocking/delete.ts +++ b/packages/backend/src/server/api/endpoints/blocking/delete.ts @@ -4,15 +4,15 @@ */ import ms from 'ms'; -import {Inject, Injectable} from '@nestjs/common'; -import {Endpoint} from '@/server/api/endpoint-base.js'; -import type {BlockingsRepository, UsersRepository} from '@/models/_.js'; -import {MiBlockingType} from "@/models/_.js"; -import {UserEntityService} from '@/core/entities/UserEntityService.js'; -import {UserBlockingService} from '@/core/UserBlockingService.js'; -import {DI} from '@/di-symbols.js'; -import {GetterService} from '@/server/api/GetterService.js'; -import {ApiError} from '../../error.js'; +import { Inject, Injectable } from '@nestjs/common'; +import { Endpoint } from '@/server/api/endpoint-base.js'; +import type { BlockingsRepository, UsersRepository } from '@/models/_.js'; +import { MiBlockingType } from '@/models/_.js'; +import { UserEntityService } from '@/core/entities/UserEntityService.js'; +import { UserBlockingService } from '@/core/UserBlockingService.js'; +import { DI } from '@/di-symbols.js'; +import { GetterService } from '@/server/api/GetterService.js'; +import { ApiError } from '../../error.js'; export const meta = { tags: ['account'],