File

src/histogram/dtos/issue.dto.ts

Extends

BaseHistogramDto

Index

Properties

Properties

Readonly Optional contributor
Type : string
Decorators :
@ApiPropertyOptional({type: 'string', example: 'bdougie'})
@IsString()
@IsOptional()
Inherited from BaseHistogramDto
Readonly Optional orderDirection
Type : OrderDirectionEnum
Default value : OrderDirectionEnum.DESC
Decorators :
@ApiPropertyOptional({enum: OrderDirectionEnum, enumName: 'OrderDirectionEnum', default: undefined})
@IsEnum(OrderDirectionEnum)
@IsOptional()
Inherited from BaseHistogramDto
Readonly Optional prev_days_start_date
Type : number
Default value : 0
Decorators :
@ApiPropertyOptional({description: 'Number of days in the past to start range block', default: 0, type: 'integer'})
@Type(undefined)
@IsIn(['0', '7', '30', '90', '180'])
@IsInt()
@IsOptional()
Inherited from BaseHistogramDto
Readonly range
Type : number
Default value : 30
Decorators :
@ApiProperty({description: 'Range in days', default: 30, type: 'integer'})
@Type(undefined)
@IsIn(['7', '30', '90', '180', '360'])
@IsInt()
Inherited from BaseHistogramDto
Readonly Optional repo
Type : string
Decorators :
@ApiPropertyOptional({description: 'Repo name', type: 'string', example: 'open-sauced/app'})
@Type(undefined)
@IsString()
@IsOptional()
Inherited from BaseHistogramDto
Readonly Optional repoIds
Type : string
Decorators :
@ApiPropertyOptional()
@IsString()
@IsOptional()
Inherited from BaseHistogramDto
Readonly Optional width
Type : number
Default value : 1
Decorators :
@ApiPropertyOptional({description: 'Day width of histogram buckets', default: 1, type: 'integer'})
@Type(undefined)
@IsInt()
@IsOptional()
Inherited from BaseHistogramDto
import { BaseHistogramDto } from "./base.dto";

export class IssueHistogramDto extends BaseHistogramDto {}

results matching ""

    No results matching ""