Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/feoblog_client/private/protobuf/feoblog.ts>ItemList

a JavaScript client for feoblog written for Deno
Latest
class ItemList
extends Message<ItemList>
import { ItemList } from "https://deno.land/x/feoblog_client@v0.7.0/private/protobuf/feoblog.ts";

A list of items available on a server. Exmaples: GET /u/{userID}/items[?before=timestamp_ms_utc] to list a single user's items. GET /u/{userID]/feed/items[?before=...] to list items in a user's feed.

The list is sorted appropriately according to the request. ex: ?after=... will be sorted in ascending chronological order. ?before=..., in descending.

Properties

items: ItemListEntry[]
noMoreItems: boolean

If true, the server explicitly states there are no items after this list. (i.e.: the client can stop querying)

Static Properties

readonly
fields: FieldList
readonly
runtime
readonly
typeName: string

Static Methods

equals(a: ItemList | PlainMessage<ItemList> | undefined, b: ItemList | PlainMessage<ItemList> | undefined): boolean
fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ItemList
fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ItemList
fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ItemList