update api
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
||||
} from '@smatch-corp/nestjs-pothos'
|
||||
import { Builder } from '../Graphql/graphql.builder'
|
||||
import { PrismaService } from '../Prisma/prisma.service'
|
||||
import { ScheduleStatus } from '@prisma/client'
|
||||
import { ScheduleDateStatus, ScheduleStatus } from '@prisma/client'
|
||||
import { ScheduleService } from './schedule.service'
|
||||
import { AppConfigService } from '../AppConfig/appconfig.service'
|
||||
import { ScheduleConfigType } from './schedule'
|
||||
@@ -130,6 +130,10 @@ export class ScheduleSchema extends PothosSchema {
|
||||
type: 'DateTime',
|
||||
nullable: false,
|
||||
}),
|
||||
status: t.expose('status', {
|
||||
type: ScheduleDateStatus,
|
||||
nullable: false,
|
||||
}),
|
||||
dayOfWeek: t.exposeInt('dayOfWeek', {
|
||||
nullable: false,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user