brows3r — TypeScript API
    Preparing search index...
    • useObjects — gated, paginated infinite listing.

      Wraps the cancellable, continuation-token paginated objects_list command in useInfiniteQuery. The returned data is the flattened array of every loaded page's entries; callers that subscribe via <Virtualized onEndReached> get auto-pagination on scroll.

      Gating: returns { data: undefined, isLoading, isGated: true } when the profile has not been validated this session.

      Backwards-compatible signature: existing callers that only read data / isLoading / isGated continue to work without changes.

      Parameters

      • profileId: string | null | undefined
      • bucket: string | null | undefined
      • prefix: string

      Returns {
          data: ObjectEntry[] | undefined;
          dataUpdatedAt: number;
          fetchNextPage: () => void;
          hasNextPage: boolean;
          isFetching: boolean;
          isFetchingNextPage: boolean;
          isGated: boolean;
          isLoading: boolean;
          loadedPages: number;
      }

      • data: ObjectEntry[] | undefined
      • dataUpdatedAt: number

        Unix-ms when the most recent successful fetch resolved.

      • fetchNextPage: () => void

        Trigger the next page load. Safe to call when hasNextPage is false.

      • hasNextPage: boolean

        Server reports more pages available (regardless of whether they are loaded).

      • isFetching: boolean

        Any fetch is in flight (refresh + first-page + next-page).

      • isFetchingNextPage: boolean

        A fetchNextPage() call is currently in flight.

      • isGated: boolean
      • isLoading: boolean
      • loadedPages: number

        Total number of pages loaded so far (≥1 once initial fetch resolves).