merge change from db

This commit is contained in:
2024-10-25 14:49:16 +07:00
parent 2872ac69ef
commit 7e25e8d96b
26 changed files with 147 additions and 94 deletions

View File

@@ -7,7 +7,7 @@ import {
} from '@smatch-corp/nestjs-pothos';
import { Builder } from '../Graphql/graphql.builder';
import { PrismaService } from '../Prisma/prisma.service';
import { MinioService } from 'src/Minio/minio.service';
import { MinioService } from '../Minio/minio.service';
import { CenterStatus } from '@prisma/client';
@Injectable()
@@ -53,6 +53,7 @@ export class CenterSchema extends PothosSchema {
description: 'The location of the center.',
}),
individual: t.exposeBoolean('individual', {
nullable: true,
description: 'Whether the center is an individual center.',
}),
createdAt: t.expose('createdAt', { type: 'DateTime' }),