Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/proto/desmos/posts/v1beta1/posts

Index

Type aliases

DeepPartial

DeepPartial<T>: T extends Builtin ? T : T extends infer U[] ? DeepPartial<U>[] : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {[ K in keyof T]: DeepPartial<T[K]> } : Partial<T>

Type parameters

  • T

Variables

Attachment

Attachment: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Attribute

Attribute: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Post

Post: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • decode: function
    • decode(input: Uint8Array | Reader, length?: number): Post
  • encode: function
    • encode(message: Post, writer?: Writer): Writer
  • fromJSON: function
    • fromJSON(object: any): Post
  • fromPartial: function
    • fromPartial(object: { additionalAttributes?: { key?: string | undefined; value?: string | undefined; }[]; attachments?: { uri?: string | undefined; mimeType?: string | undefined; tags?: string[] | undefined; }[]; commentsState?: CommentsState; created?: Date; creator?: string; lastEdited?: Date; message?: string; parentId?: string; pollData?: { question?: string | undefined; providedAnswers?: { answerId?: string | undefined; text?: string | undefined; }[] | undefined; endDate?: Date | undefined; allowsMultipleAnswers?: boolean | undefined; allowsAnswerEdits?: boolean | undefined; }; postId?: string; subspace?: string }): Post
    • Parameters

      • object: { additionalAttributes?: { key?: string | undefined; value?: string | undefined; }[]; attachments?: { uri?: string | undefined; mimeType?: string | undefined; tags?: string[] | undefined; }[]; commentsState?: CommentsState; created?: Date; creator?: string; lastEdited?: Date; message?: string; parentId?: string; pollData?: { question?: string | undefined; providedAnswers?: { answerId?: string | undefined; text?: string | undefined; }[] | undefined; endDate?: Date | undefined; allowsMultipleAnswers?: boolean | undefined; allowsAnswerEdits?: boolean | undefined; }; postId?: string; subspace?: string }
        • Optional additionalAttributes?: { key?: string | undefined; value?: string | undefined; }[]
        • Optional attachments?: { uri?: string | undefined; mimeType?: string | undefined; tags?: string[] | undefined; }[]
        • Optional commentsState?: CommentsState
        • Optional created?: Date
        • Optional creator?: string
        • Optional lastEdited?: Date
        • Optional message?: string
        • Optional parentId?: string
        • Optional pollData?: { question?: string | undefined; providedAnswers?: { answerId?: string | undefined; text?: string | undefined; }[] | undefined; endDate?: Date | undefined; allowsMultipleAnswers?: boolean | undefined; allowsAnswerEdits?: boolean | undefined; }
        • Optional postId?: string
        • Optional subspace?: string

      Returns Post

  • toJSON: function
    • toJSON(message: Post): unknown

Const protobufPackage

protobufPackage: "desmos.posts.v1beta1" = 'desmos.posts.v1beta1'

Functions

commentsStateFromJSON

commentsStateToJSON

Generated using TypeDoc