Something went wrong. Try again.
because I got bored of customising my CV for every job
Something went wrong. Try again.
478 B · 25 lines
TypeScript
1234567891011121314151617181920212223242526import { Field, ID, InputType } from "@nestjs/graphql";
@InputType()export class CreateApplicationInput { @Field(() => ID) profileId!: string;
@Field(() => ID) vacancyId!: string;
@Field(() => ID, { nullable: true }) cvId?: string | null;
@Field(() => String, { nullable: true }) coverLetter?: string | null;}
@InputType()export class UpdateApplicationStatusInput { @Field(() => ID) applicationId!: string;
@Field(() => ID) statusId!: string;}