update fields
This commit is contained in:
@@ -26,6 +26,9 @@ export class ServiceSchema extends PothosSchema {
|
||||
description: t.exposeString('description'),
|
||||
price: t.exposeFloat('price'),
|
||||
rating: t.exposeFloat('rating'),
|
||||
imageFile: t.relation('imageFile'),
|
||||
imageFileId: t.exposeID('imageFileId'),
|
||||
imageFileUrl: t.exposeString('imageFileUrl'),
|
||||
createdAt: t.expose('createdAt', {
|
||||
type: 'DateTime',
|
||||
nullable: true,
|
||||
@@ -34,6 +37,15 @@ export class ServiceSchema extends PothosSchema {
|
||||
type: 'DateTime',
|
||||
nullable: true,
|
||||
}),
|
||||
center: t.relation('center'),
|
||||
centerId: t.exposeID('centerId'),
|
||||
workshop: t.relation('workshop'),
|
||||
milestone: t.relation('milestone'),
|
||||
schedule: t.relation('schedule'),
|
||||
serviceAndCategory: t.relation('serviceAndCategory'),
|
||||
workshopOrganization: t.relation('workshopOrganization'),
|
||||
user: t.relation('user'),
|
||||
userId: t.exposeID('userId'),
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user