Manage reusable templates in Super Admin, attach editable per-site prompts with Meshkee API public links that require no auth. Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
223 B
TypeScript
13 lines
223 B
TypeScript
import { IsString, MaxLength, MinLength } from 'class-validator';
|
|
|
|
export class CreateAiPromptTemplateDto {
|
|
@IsString()
|
|
@MinLength(1)
|
|
@MaxLength(255)
|
|
name!: string;
|
|
|
|
@IsString()
|
|
@MinLength(1)
|
|
body!: string;
|
|
}
|