Skip to content

The open alternative to Salesforce, designed for AI.

360 B
Raw Blame
import { Field, InputType } from '@nestjs/graphql';
import { IsUUID } from 'class-validator';

import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';

@InputType()
export class DeleteViewInput {
  @Field(() => UUIDScalarType, {
    description: 'The id of the view to delete.',
  })
  @IsUUID()
  id: string;
}