fix: code styleの修正

This commit is contained in:
鴇峰 朔華 2024-11-18 21:12:34 +09:00
parent 24792e09b5
commit 26652949cb
6 changed files with 40 additions and 41 deletions

View File

@ -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,

View File

@ -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 {

View File

@ -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'],

View File

@ -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'],

View File

@ -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'],

View File

@ -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'],