import { InputType } from '@nestjs/graphql'; import { IDField } from '@ptc-org/nestjs-query-graphql'; import { IsUUID } from 'class-validator'; import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars'; @InputType() export class DeleteViewInput { @IDField(() => UUIDScalarType, { description: 'The id of the view to delete.', }) @IsUUID() id: string; }