diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-03-15 20:23:41 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-03-15 20:23:41 +0000 |
| commit | aeb8b66375335e8c9d6cb9cb0d8d7da3d8b79628 (patch) | |
| tree | 0ddaa24fc536ac03493d6357e481df31dad77b16 /src/file/dto/create-file.dto.ts | |
Initial commit
Diffstat (limited to 'src/file/dto/create-file.dto.ts')
| -rw-r--r-- | src/file/dto/create-file.dto.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/file/dto/create-file.dto.ts b/src/file/dto/create-file.dto.ts new file mode 100644 index 0000000..0fbe4b6 --- /dev/null +++ b/src/file/dto/create-file.dto.ts @@ -0,0 +1,12 @@ +import { IsNotEmpty } from 'class-validator'; + +export class CreateFileDto { + @IsNotEmpty() + token: string; + + @IsNotEmpty() + purpose: string; + + @IsNotEmpty() + data: any; +} |
