Spaces:
Paused
Paused
Download apps/prevision-api/src/generations/dto/create-generation.dto.ts from modventures/prevision: direct link, hf CLI and curl.
- Browser
- Download file 220 Bytes
-
https://huggingface.co/spaces/modventures/prevision/resolve/main/apps/prevision-api/src/generations/dto/create-generation.dto.ts
- Command line
-
hf download hf://spaces/modventures/prevision/apps/prevision-api/src/generations/dto/create-generation.dto.ts
-
curl -L -o create-generation.dto.ts https://huggingface.co/spaces/modventures/prevision/resolve/main/apps/prevision-api/src/generations/dto/create-generation.dto.ts
220 Bytes
| import { IsString, IsUUID, Matches, MaxLength } from 'class-validator'; | |
| export class CreateGenerationDto { | |
| () | |
| userId: string; | |
| () | |
| (64) | |
| (/^[A-Za-z0-9_-]+$/) | |
| jobId: string; | |
| } | |