This commit is contained in:
2026-06-24 14:10:53 +02:00
commit fdb3768d63
122 changed files with 13239 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
import { FileUpload, GraphQLUpload } from 'graphql-upload'
import { Field, InputType } from 'type-graphql'
@InputType()
export class QualificationInput {
@Field()
name!: string
@Field()
issuingOrganisation!: string
@Field(() => Date, { nullable: true })
issuanceDate?: Date
@Field()
expire: boolean
@Field(() => Date, { nullable: true })
expirationDate?: Date
@Field({ nullable: true })
credentialID?: string
@Field({ nullable: true })
credentialURL?: string
@Field(() => GraphQLUpload, { nullable: true })
photo?: Promise<FileUpload>
}