update admin note

This commit is contained in:
2024-10-28 15:21:20 +07:00
parent f787d0c194
commit 7573c0e5c3
3 changed files with 48 additions and 10 deletions

View File

@@ -42,15 +42,33 @@ export class AdminNoteSchema extends PothosSchema {
type: 'DateTime', type: 'DateTime',
description: 'The date and time the admin note was last updated.', description: 'The date and time the admin note was last updated.',
}), }),
centerId: t.exposeString('centerId', {
description:
'The ID of the center the admin note is associated with.',
}),
serviceId: t.exposeString('serviceId', {
description:
'The ID of the service the admin note is associated with.',
}),
mentorId: t.exposeString('mentorId', {
description:
'The ID of the mentor the admin note is associated with.',
}),
resumeId: t.exposeString('resumeId', {
description:
'The ID of the resume the admin note is associated with.',
}),
mentor: t.relation('mentor', {
description: 'The mentor the admin note is associated with.',
}),
center: t.relation('center', { center: t.relation('center', {
description: 'The center the admin note is associated with.', description: 'The center the admin note is associated with.',
}), }),
service: t.relation('service', { service: t.relation('service', {
description: 'The service the admin note is associated with.', description: 'The service the admin note is associated with.',
}), }),
serviceId: t.exposeString('serviceId', { resume: t.relation('resume', {
description: description: 'The resume the admin note is associated with.',
'The ID of the service the admin note is associated with.',
}), }),
}), }),
}); });

File diff suppressed because one or more lines are too long