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

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

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

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.