Co-authored-by: Jason Woltje <[email protected]> Co-committed-by: Jason Woltje <[email protected]>
11 lines
259 B
TypeScript
11 lines
259 B
TypeScript
import { IsNotEmpty } from "class-validator";
|
|
|
|
/**
|
|
* DTO for upserting an agent memory entry.
|
|
* The value accepts any JSON-serializable data.
|
|
*/
|
|
export class UpsertAgentMemoryDto {
|
|
@IsNotEmpty({ message: "value must not be empty" })
|
|
value!: unknown;
|
|
}
|