form-graph
    Preparing search index...

    Interface ListHandle

    The ops handle store.list(key) returns for an active list.

    interface ListHandle {
        ids: readonly string[];
        add(
            seed?: Record<string, unknown>,
        ): ListOpRefusal | { id: string; success: true };
        duplicate(id: string): ListOpRefusal | { id: string; success: true };
        move(id: string, index: number): ListOpRefusal | { success: true };
        remove(id: string): ListOpRefusal | { success: true };
    }
    Index
    ids: readonly string[]

    Element ids in order.

    • Appends a minted element; seed writes member fields of the new element.

      Parameters

      • Optionalseed: Record<string, unknown>

      Returns ListOpRefusal | { id: string; success: true }

    • Copies the source element's USER-WRITTEN entries; derived values re-derive.

      Parameters

      • id: string

      Returns ListOpRefusal | { id: string; success: true }