Something went wrong. Try again.
because I got bored of customising my CV for every job
Something went wrong. Try again.
123456789101112131415161718192021222324252627import { Field, ID, InputType } from "@nestjs/graphql";
@InputType()export class UploadFileInput { @Field(() => ID, { nullable: true, description: "Target profile. If omitted, auto-creates a Default profile.", }) profileId?: string;
@Field() fileName!: string;
@Field() mimeType!: string;
@Field({ description: "Base64-encoded file content" }) content!: string;
@Field(() => String, { nullable: true, description: "Intent tag carried through to UserFile.source and the upload event. Defaults to `cv-document` (parser pipeline). Use `profile-image` for avatar uploads.", }) source?: string;}