@dypai-ai/client-sdk - v1.12.0
    Preparing search index...

    Interface RealtimeChange<T>

    interface RealtimeChange<T = any> {
        event: "DELETE" | "INSERT" | "UPDATE";
        old_record: T | null;
        record: T | null;
        table: string;
        timestamp: string;
        truncated?: boolean;
    }

    Type Parameters

    • T = any
    Index

    Properties

    event: "DELETE" | "INSERT" | "UPDATE"
    old_record: T | null
    record: T | null
    table: string
    timestamp: string
    truncated?: boolean

    True when the payload exceeded 8KB and was truncated. Record data is unavailable — re-fetch from the database.