push code ne

This commit is contained in:
2024-10-28 01:08:13 +07:00
parent 571bb93e28
commit eec9fcfeff
20 changed files with 296 additions and 118 deletions

View File

@@ -36,8 +36,8 @@ export class ChatroomSchema extends PothosSchema {
centerId: t.exposeID('centerId', {
description: 'The ID of the center.',
}),
centerStaffId: t.exposeID('centerStaffId', {
description: 'The ID of the center staff member.',
mentorId: t.exposeID('mentorId', {
description: 'The ID of the mentor.',
}),
createdAt: t.expose('createdAt', {
type: 'DateTime',
@@ -52,8 +52,8 @@ export class ChatroomSchema extends PothosSchema {
center: t.relation('center', {
description: 'The center.',
}),
centerStaff: t.relation('centerStaff', {
description: 'The center staff member.',
mentor: t.relation('mentor', {
description: 'The mentor.',
}),
meetingRoom: t.relation('meetingRoom', {
description: 'The meeting room.',