refactor: infra folder (#8138)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { IsEnum, IsNotEmpty } from 'class-validator';
|
||||
import { JobCommand, QueueName } from 'src/domain/job/job.constants';
|
||||
import { JobCommand, QueueName } from 'src/interfaces/job.repository';
|
||||
import { ValidateBoolean } from 'src/validation';
|
||||
|
||||
export class JobIdParamDto {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { ApiProperty, ApiResponseProperty } from '@nestjs/swagger';
|
||||
import type { DateTime } from 'luxon';
|
||||
import { FeatureFlags } from 'src/cores/system-config.core';
|
||||
import { IVersion, VersionType } from 'src/domain/domain.constant';
|
||||
import { SystemConfigThemeDto } from 'src/dtos/system-config-theme.dto';
|
||||
import { IVersion, VersionType } from 'src/utils/version';
|
||||
|
||||
export class ServerPingResponse {
|
||||
@ApiResponseProperty({ type: String, example: 'pong' })
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { Type } from 'class-transformer';
|
||||
import { IsInt, IsObject, IsPositive, ValidateNested } from 'class-validator';
|
||||
import { ConcurrentQueueName, QueueName } from 'src/domain/job/job.constants';
|
||||
import { ConcurrentQueueName, QueueName } from 'src/interfaces/job.repository';
|
||||
|
||||
export class JobSettingsDto {
|
||||
@IsInt()
|
||||
|
||||
Reference in New Issue
Block a user