merge change from db

This commit is contained in:
2024-10-25 14:49:16 +07:00
parent 2872ac69ef
commit 7e25e8d96b
26 changed files with 147 additions and 94 deletions

View File

@@ -22,9 +22,15 @@ export class ServiceMeetingRoomSchema extends PothosSchema {
return this.builder.prismaObject('ServiceMeetingRoom', {
description: 'A service meeting room in the system.',
fields: (t) => ({
id: t.exposeID('id'),
chattingRoomId: t.exposeString('chattingRoomId'),
chattingRoom: t.relation('chattingRoom'),
id: t.exposeID('id', {
description: 'The ID of the service meeting room.',
}),
chattingRoomId: t.exposeString('chattingRoomId', {
description: 'The ID of the chatting room.',
}),
chattingRoom: t.relation('chattingRoom', {
description: 'The chatting room.',
}),
}),
});
}