File

src/modules/disqus/disqus.dto.ts

Index

Properties

Properties

post_id
Type : string
Decorators :
@IsNotEmpty()
@IsNumberString()
import { IsString, IsNumberString, IsNotEmpty, IsNumber } from 'class-validator'

export interface GeneralDisqusParams {
  [key: string]: any
}

export enum ThreadState {
  Open = 'open',
  Closed = 'closed'
}

export class CallbackCodeDTO {
  @IsNotEmpty()
  @IsString()
  code: string
}

export class ThreadPostIdDTO {
  @IsNotEmpty()
  @IsNumberString()
  post_id: string
}

export class CommentIdDTO {
  @IsNotEmpty()
  @IsNumber()
  comment_id: number
}

results matching ""

    No results matching ""