Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

468 B
Raw Blame
import { IsDefined, IsOptional, IsString, MinLength } from 'class-validator';
import { JSONSchema } from 'class-validator-jsonschema';

export class WhopDto {
  @MinLength(1)
  @IsDefined()
  @IsString()
  @JSONSchema({
    description: 'Company ID',
  })
  company: string;

  @MinLength(1)
  @IsDefined()
  @IsString()
  @JSONSchema({
    description: 'Experience ID for the Whop forum',
  })
  experience: string;

  @IsOptional()
  @IsString()
  title?: string;
}