langchain.js
    Preparing search index...

    Interface SchemaMeta<TValue, TUpdate>

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

    Type Parameters

    Index

    Properties

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