expose workshop metric
This commit is contained in:
@@ -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,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user