expose is active in service

This commit is contained in:
2024-10-27 14:10:18 +07:00
parent 9e0e97a560
commit 2369275237
4 changed files with 54 additions and 5 deletions

View File

@@ -60,6 +60,9 @@ export class ServiceSchema extends PothosSchema {
type: ServiceStatus,
description: 'The status of the service.',
}),
isActive: t.exposeBoolean('isActive', {
description: 'Whether the service is active.',
}),
createdAt: t.expose('createdAt', {
type: 'DateTime',
description: 'The date and time the service was created.',