The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { Field, ObjectType } from '@nestjs/graphql';
import { IsIn, IsNotEmpty } from 'class-validator';
import { PageLayoutTabLayoutMode } from 'twenty-shared/types';
@ObjectType('PageLayoutWidgetCanvasPosition')
export class PageLayoutWidgetCanvasPositionDTO {
@Field(() => PageLayoutTabLayoutMode)
@IsIn([PageLayoutTabLayoutMode.CANVAS])
@IsNotEmpty()
layoutMode: PageLayoutTabLayoutMode.CANVAS;
}