Prometheus Entity Management API
    Preparing search index...

    Reactive snapshot returned by $entityList(type, query).

    Items are derived by joining list ids against entities[type] at read time — the same cross-view reactivity guarantee the React / Svelte bindings provide: updating an entity in one place instantly updates every list containing it.

    interface AlpineEntityList<
        T extends Record<string, unknown> = Record<string, unknown>,
    > {
        error: string | null;
        hasNextPage: boolean;
        isLoading: boolean;
        isLoadingMore: boolean;
        items: T[];
        total: number | null;
        destroy(): void;
        loadMore(): void;
        refetch(): void;
    }

    Type Parameters

    • T extends Record<string, unknown> = Record<string, unknown>
    Index
    error: string | null

    Non-null when the last list fetch ended with an error.

    hasNextPage: boolean

    true when the server reported additional pages.

    isLoading: boolean

    true while the initial page is loading.

    isLoadingMore: boolean

    true while an additional page is loading (load-more / infinite scroll).

    items: T[]

    Resolved, merged entity rows in the list's current sort order.

    total: number | null

    Server-reported total row count, or null when the backend does not provide it.

    • Release graph subscription and clean up.

      Returns void

    • Fetch the next page and append results. No-op when !hasNextPage.

      Returns void

    • Invalidate and re-fetch the list from the first page.

      Returns void