Skip to main content
Module

x/feoblog_client/mod.ts>protobuf.ItemList

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

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.

Constructors

new
ItemList(data?: PartialMessage<ItemList>)

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