Update WorkshopSchema to include duration field; modify epess-database subproject commit reference. Enhance type definitions in pothos.generated.ts for improved schema consistency.

This commit is contained in:
2024-11-26 17:13:02 +07:00
parent 90da34604a
commit 830c9ce3f6
3 changed files with 5 additions and 2 deletions

View File

@@ -37,6 +37,9 @@ export class WorkshopSchema extends PothosSchema {
imageFile: t.relation('imageFile', {
nullable: true,
}),
duration: t.exposeInt('duration', {
description: 'The duration of the workshop in minutes.',
}),
imageFileId: t.exposeID('imageFileId', {
description: 'The ID of the image file for the workshop.',
}),