because I got bored of customising my CV for every job
1import { Field, ID, InputType } from "@nestjs/graphql";
2
3@InputType()
4export class CreateApplicationInput {
5 @Field(() => ID)
6 vacancyId!: string;
7
8 @Field(() => ID, { nullable: true })
9 cvId?: string | null;
10
11 @Field(() => String, { nullable: true })
12 coverLetter?: string | null;
13}
14
15@InputType()
16export class UpdateApplicationStatusInput {
17 @Field(() => ID)
18 applicationId!: string;
19
20 @Field(() => ID)
21 statusId!: string;
22}