import { 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; }