Skip to main content
Module

x/feoblog_client/mod.ts>protobuf.ItemType

a JavaScript client for feoblog written for Deno
Latest
enum protobuf.ItemType
import { protobuf } from "https://deno.land/x/feoblog_client@v0.7.0/mod.ts";
const { ItemType } = protobuf;

This is redundant with the Item.item_type oneof. But it allows us to specify the type of an item in ItemLists.

Members

COMMENT = 3
POST = 1
PROFILE = 2
UNKNOWN = 0

Default value. Either the server didn't specify the type, or it was a type that the client can't deserialize.