phong bat
This commit is contained in:
@@ -47,19 +47,31 @@ export class ResumeSchema extends PothosSchema {
|
||||
return this.builder.prismaObject('ResumeFile', {
|
||||
description: 'A file associated with a resume.',
|
||||
fields: (t) => ({
|
||||
id: t.exposeID('id'),
|
||||
resumeId: t.exposeID('resumeId'),
|
||||
fileUrl: t.exposeString('fileUrl'),
|
||||
type: t.exposeString('type'),
|
||||
id: t.exposeID('id', {
|
||||
description: 'The ID of the resume file.',
|
||||
}),
|
||||
resumeId: t.exposeID('resumeId', {
|
||||
description: 'The ID of the resume.',
|
||||
}),
|
||||
fileUrl: t.exposeString('fileUrl', {
|
||||
description: 'The URL of the resume file.',
|
||||
}),
|
||||
type: t.exposeString('type', {
|
||||
description: 'The type of the resume file.',
|
||||
}),
|
||||
createdAt: t.expose('createdAt', {
|
||||
type: 'DateTime',
|
||||
nullable: true,
|
||||
description: 'The date and time the resume file was created.',
|
||||
}),
|
||||
updatedAt: t.expose('updatedAt', {
|
||||
type: 'DateTime',
|
||||
nullable: true,
|
||||
description: 'The date and time the resume file was updated.',
|
||||
}),
|
||||
resume: t.relation('resume', {
|
||||
description: 'The resume for the resume file.',
|
||||
}),
|
||||
resume: t.relation('resume'),
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user