phong bat
This commit is contained in:
@@ -20,10 +20,18 @@ export class WorkshopOrganizationSchema extends PothosSchema {
|
||||
workshopOrganization() {
|
||||
return this.builder.prismaObject('WorkshopOrganization', {
|
||||
fields: (t) => ({
|
||||
workshopId: t.exposeID('workshopId'),
|
||||
serviceId: t.exposeID('serviceId'),
|
||||
workshop: t.relation('workshop'),
|
||||
service: t.relation('service'),
|
||||
workshopId: t.exposeID('workshopId', {
|
||||
description: 'The ID of the workshop that the organization is for.',
|
||||
}),
|
||||
serviceId: t.exposeID('serviceId', {
|
||||
description: 'The ID of the service that the organization is for.',
|
||||
}),
|
||||
workshop: t.relation('workshop', {
|
||||
description: 'The workshop that the organization is for.',
|
||||
}),
|
||||
service: t.relation('service', {
|
||||
description: 'The service that the organization is for.',
|
||||
}),
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user