Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/proto/desmos/profiles/v1beta1/models_profile

Index

Interfaces

Type aliases

Variables

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

Pictures

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

Type declaration

Profile

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

Type declaration

  • decode: function
    • decode(input: Uint8Array | Reader, length?: number): Profile
  • encode: function
    • encode(message: Profile, writer?: Writer): Writer
  • fromJSON: function
  • fromPartial: function
    • fromPartial(object: { account?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; bio?: string; creationDate?: Date; dtag?: string; nickname?: string; pictures?: { profile?: string | undefined; cover?: string | undefined; } }): Profile
    • Parameters

      • object: { account?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; bio?: string; creationDate?: Date; dtag?: string; nickname?: string; pictures?: { profile?: string | undefined; cover?: string | undefined; } }
        • Optional account?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }

          Account represents the base Cosmos account associated with this profile

        • Optional bio?: string

          Bio contains the biography of the profile

        • Optional creationDate?: Date

          CreationTime represents the time in which the profile has been created

        • Optional dtag?: string

          DTag represents the unique tag of this profile

        • Optional nickname?: string

          Nickname contains the custom human readable name of the profile

        • Optional pictures?: { profile?: string | undefined; cover?: string | undefined; }

          Pictures contains the data about the pictures associated with he profile

      Returns Profile

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

Const protobufPackage

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

Generated using TypeDoc