middag-react
    Preparing search index...

    Interface EditablePanelConfig

    EditablePanelConfig — page-level config delivered as a shared prop (like the inspector). Hybrid source (D-02): the descriptor may ship inline OR be fetched from endpoint per selected id.

    interface EditablePanelConfig {
        descriptor?: EditablePanelDescriptor;
        endpoint?: string;
        submitEndpoint?: string;
        submitMethod?: "post" | "put" | "patch";
        width?: number;
    }
    Index

    Inline descriptor — skips the GET (contract-embedded source).

    endpoint?: string

    GET endpoint returning an EditablePanelDescriptor; {id} is interpolated with the opened row id. Omit when descriptor is supplied inline.

    submitEndpoint?: string

    Save endpoint; {id} interpolated. Defaults to endpoint.

    submitMethod?: "post" | "put" | "patch"

    Save HTTP method. Default "post".

    width?: number

    Panel width in px. Default 420.