expose workshop metric

This commit is contained in:
2024-11-26 18:07:03 +07:00
parent 1062f5944d
commit e63f900cf4
3 changed files with 15 additions and 2 deletions

View File

@@ -35,6 +35,18 @@ export class WorkshopSchema extends PothosSchema {
serviceId: t.exposeID('serviceId', {
description: 'The ID of the service that the workshop is for.',
}),
expectedParticipants: t.exposeInt('expectedParticipants', {
description: 'The expected number of participants for the workshop.',
}),
minParticipants: t.exposeInt('minParticipants', {
description: 'The minimum number of participants for the workshop.',
}),
registeredParticipants: t.exposeInt('registeredParticipants', {
description: 'The number of participants registered for the workshop.',
}),
actualParticipants: t.exposeInt('actualParticipants', {
description: 'The number of participants actually attending the workshop.',
}),
imageFile: t.relation('imageFile', {
nullable: true,
}),