because I got bored of customising my CV for every job
1import { Field, ID, InputType } from "@nestjs/graphql";
2
3@InputType()
4export class UploadFileInput {
5 @Field(() => ID, { nullable: true, description: "Target profile. If omitted, auto-creates a Default profile." })
6 profileId?: string;
7
8 @Field()
9 fileName!: string;
10
11 @Field()
12 mimeType!: string;
13
14 @Field({ description: "Base64-encoded file content" })
15 content!: string;
16}