Files
dpage-api/src/modules/icons/dto/create-icon.dto.ts
T
2026-05-21 09:24:03 +03:30

13 lines
303 B
TypeScript

import { IsString } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
export class CreateIconDto {
@IsString()
@ApiProperty({ example: 'https://example.com/icons/facebook.svg' })
url!: string;
@IsString()
@ApiProperty({ example: 'group-id-here' })
groupId!: string;
}