Spaces:
Sleeping
Sleeping
| import { IsOptional, IsString, IsEnum } from 'class-validator'; | |
| import { ApiPropertyOptional } from '@nestjs/swagger'; | |
| export class UpdateErrorDto { | |
| ({ | |
| description: 'Resolution status', | |
| enum: ['investigating', 'resolved', 'ignored'], | |
| example: 'resolved', | |
| }) | |
| () | |
| () | |
| status?: string; | |
| ({ description: 'Notes about the resolution', example: 'Fixed by patching the API endpoint' }) | |
| () | |
| () | |
| resolutionNotes?: string; | |
| } | |