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

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

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

The unique ID of an item is its (user_id,signature) This type encapsulates that, plus some additional metadata which

Constructors

new
ItemListEntry(data?: PartialMessage<ItemListEntry>)

Properties

itemType

Specify the type of this item. This allows clients to skip fetching item types they're not interested in for a particular view. (ex: profile updates and/or comments, etc.)

optional
signature: Signature

REQUIRED.

timestampMsUtc

REQUIRED The timestamp coantained within Item.timestamp_ms_utc. This is used for ordering Items, and to fetch more ItemIDs in the event that this list is truncated/incomplete.

optional
userId: UserID

user_id may be unspecified if it can be inferred from context. (ex: in an ItemList which lists posts for a specific userID)

Static Properties

readonly
fields: FieldList
readonly
runtime
readonly
typeName: string

Static Methods

fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ItemListEntry
fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ItemListEntry
fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ItemListEntry