mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
* feat: org agent management * feat: org agent management * fix: adding migrations for legacy and refactoring. * fix: refactoring * fix: delete agent * fix: refactoring --------- Co-authored-by: charles-gauthereau <charles.gauthereau@soluce-technologies.com>
10 lines
203 B
TypeScript
10 lines
203 B
TypeScript
import { z } from "zod";
|
|
|
|
export const AgentSchema = z.object({
|
|
name: z.string().nonempty("Name is required"),
|
|
description: z.string(),
|
|
|
|
});
|
|
|
|
export type AgentType = z.infer<typeof AgentSchema>;
|