@langgraph-js/sdk
Version:
The UI SDK for LangGraph - seamlessly integrate your AI agents with frontend interfaces
17 lines (16 loc) • 442 B
TypeScript
import { z } from "zod";
export declare const ArtifactCommandSchema: {
command: z.ZodEnum<{
create: "create";
update: "update";
rewrite: "rewrite";
}>;
id: z.ZodString;
title: z.ZodString;
type: z.ZodString;
language: z.ZodString;
content: z.ZodString;
old_str: z.ZodString;
new_str: z.ZodString;
};
export type ArtifactCommand = z.infer<z.ZodObject<typeof ArtifactCommandSchema>>;