Files
waha/src/apps/app_sdk/dto/query.dto.ts
T
2025-07-13 18:32:53 +07:00

14 lines
300 B
TypeScript

import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty, IsString } from 'class-validator';
export class ListAppsQuery {
@ApiProperty({
example: 'default',
required: true,
description: 'Session name to list apps for',
})
@IsString()
@IsNotEmpty()
session: string;
}