Files
stack/apps/api/src/agent-memory/dto/upsert-agent-memory.dto.ts
Jason Woltje 4b2e48af9c
All checks were successful
ci/woodpecker/push/api Pipeline was successful
feat(api): add agent memory module (MS22-DB-002, MS22-API-002) (#586)
Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
2026-03-01 02:20:15 +00:00

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;
}