Interface SchemaMeta<TValue, TUpdate>

interface SchemaMeta<TValue, TUpdate> {
    default?: (() => TValue);
    jsonSchemaExtra?: {
        langgraph_nodes?: string[];
        langgraph_type?: "messages" | "prompt";
        [key: string]: unknown;
    };
    reducer?: {
        fn: ((a, b) => TValue);
        schema?: InteropZodType<TUpdate>;
    };
    [key: string]: unknown;
}

Type Parameters

Indexable

[key: string]: unknown

Properties

default?: (() => TValue)

Type declaration

jsonSchemaExtra?: {
    langgraph_nodes?: string[];
    langgraph_type?: "messages" | "prompt";
    [key: string]: unknown;
}

Type declaration

  • [key: string]: unknown
  • Optional langgraph_nodes?: string[]
  • Optional langgraph_type?: "messages" | "prompt"
reducer?: {
    fn: ((a, b) => TValue);
    schema?: InteropZodType<TUpdate>;
}

Type declaration