update fields

This commit is contained in:
2024-10-15 02:39:06 +07:00
parent 7cfab52e77
commit 80743b0973
5 changed files with 67 additions and 7 deletions

View File

@@ -26,6 +26,9 @@ export class WorkshopSchema extends PothosSchema {
description: t.exposeString('description'),
staffId: t.exposeID('staffId'),
serviceId: t.exposeID('serviceId'),
imageFile: t.relation('imageFile'),
imageFileId: t.exposeID('imageFileId'),
imageFileUrl: t.exposeString('imageFileUrl'),
date: t.expose('date', {
type: 'DateTime',
}),