Initial commit: Paperclip plugin for Legal AI integration
16 agent tools, event handler for auto-linking, sync job every 15m. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
12
node_modules/@paperclipai/shared/dist/validators/goal.js
generated
vendored
Normal file
12
node_modules/@paperclipai/shared/dist/validators/goal.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { z } from "zod";
|
||||
import { GOAL_LEVELS, GOAL_STATUSES } from "../constants.js";
|
||||
export const createGoalSchema = z.object({
|
||||
title: z.string().min(1),
|
||||
description: z.string().optional().nullable(),
|
||||
level: z.enum(GOAL_LEVELS).optional().default("task"),
|
||||
status: z.enum(GOAL_STATUSES).optional().default("planned"),
|
||||
parentId: z.string().uuid().optional().nullable(),
|
||||
ownerAgentId: z.string().uuid().optional().nullable(),
|
||||
});
|
||||
export const updateGoalSchema = createGoalSchema.partial();
|
||||
//# sourceMappingURL=goal.js.map
|
||||
Reference in New Issue
Block a user