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>
15 lines
267 B
TypeScript
15 lines
267 B
TypeScript
import { IsOptional, IsString, MaxLength, MinLength } from 'class-validator';
|
|
|
|
export class UpdateAiPromptTemplateDto {
|
|
@IsOptional()
|
|
@IsString()
|
|
@MinLength(1)
|
|
@MaxLength(255)
|
|
name?: string;
|
|
|
|
@IsOptional()
|
|
@IsString()
|
|
@MinLength(1)
|
|
body?: string;
|
|
}
|