Documentation ¶
Index ¶
- type Asset2d
- type Asset2dMeta
- type Asset2dOptions
- type Asset3d
- type Asset3dMeta
- type Asset3dOptions
- type Asset3dType
- type Assets3dMeta
- type Assets3dOptions
- type Broadcast
- type BroadcastStatusType
- type Emoji
- type Event
- type EventForm
- type ExploreOption
- type ExploreOptions
- type Favorite
- type FlyToMe
- type FlyToMeType
- type GoogleDrive
- type HashResponse
- type JWTToken
- type KusamaMetaData
- type Magic
- type MagicType
- type Miro
- type PermanentType
- type Plugin
- type PluginMeta
- type PluginOptions
- type Plugins
- type PluginsMeta
- type PluginsOptions
- type Profile
- type SearchOptions
- type Space
- type SpaceAncestor
- type SpaceAttributeValues
- type SpaceAttributes
- type SpaceInfo
- type SpaceMember
- type SpaceOptions
- type SpaceSubAttributes
- type SpaceSubOptions
- type SpaceType
- type StageModeRequestType
- type StageModeStatusType
- type StageModeUser
- type Tile
- type TileContent
- type TileType
- type Token
- type TokenInfo
- type TokenNetworkType
- type TokenRule
- type TokenRuleReviewStatusType
- type TokenType
- type User
- type UserStatusType
- type Validator
- type VibeAmount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asset2d ¶
type Asset2d struct { Meta Asset2dMeta `json:"meta"` Options Asset2dOptions `json:"options"` }
type Asset2dMeta ¶
type Asset2dMeta *entry.Asset2dMeta
type Asset2dOptions ¶
type Asset2dOptions *entry.Asset2dOptions
type Asset3d ¶
type Asset3d struct { ID string `json:"id"` Name string `json:"name,omitempty"` Meta Asset3dMeta `json:"meta,omitempty"` CreatedAt string `json:"createdAt,omitempty"` UpdatedAt string `json:"updatedAt,omitempty"` }
type Asset3dMeta ¶
type Asset3dMeta *entry.Asset3dMeta
type Asset3dOptions ¶
type Asset3dOptions *entry.Asset3dOptions
type Asset3dType ¶
type Asset3dType int8
const ( AddressableAssetType Asset3dType = iota GLTFAsset3dType )
type Assets3dMeta ¶
type Assets3dMeta map[uuid.UUID]Asset3dMeta
type Assets3dOptions ¶
type Assets3dOptions map[uuid.UUID]Asset3dOptions
type Broadcast ¶
type Broadcast struct { URL string `json:"url"` YoutubeURL string `json:"youtubeUrl"` BroadcastStatus BroadcastStatusType `json:"broadcastStatus"` }
type BroadcastStatusType ¶
type BroadcastStatusType string
const ( UnknownBroadcastStatusType BroadcastStatusType = "" ForceSmallBroadcastStatusType BroadcastStatusType = "force_small" PlaySmallBroadcastStatusType BroadcastStatusType = "play_small" ForceLargeBroadcastStatusType BroadcastStatusType = "force_large" PlayLargeBroadcastStatusType BroadcastStatusType = "play_large" PlayBroadcastStatusType BroadcastStatusType = "play" StopBroadcastStatusType BroadcastStatusType = "stop" )
type Event ¶
type Event struct { ID string `json:"id"` Title string `json:"title"` Description string `json:"description"` HostedBy string `json:"hosted_by"` ImageHash *string `json:"image_hash,omitempty"` WebLink *string `json:"web_link,omitempty"` SpaceID string `json:"spaceId"` SpaceName string `json:"spaceName"` Start string `json:"start"` End string `json:"end"` Created string `json:"created"` Modified string `json:"modified"` Attendees []User `json:"attendees"` }
type ExploreOption ¶
type ExploreOption struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Description string `json:"description"` SubSpaces []ExploreOption `json:"subSpaces,omitempty"` }
type ExploreOptions ¶
type ExploreOptions []ExploreOption
type GoogleDrive ¶
type HashResponse ¶
type HashResponse struct {
Hash string `json:"hash"`
}
type KusamaMetaData ¶
type KusamaMetaData struct { ValidatorID string `json:"validator_id"` ValidatorReward int `json:"validator_reward"` ValidatorInfo struct { AccountID string `json:"account_id"` Entity struct { Name string `json:"name"` AccountID string `json:"accountId"` } `json:"entity"` Commission any `json:"commission"` // QUESTION: originally here is "string | number", really? OwnStake any `json:"ownStake"` // QUESTION: originally here is "string | number", really? Status string `json:"status"` TotalStake string `json:"totalStake"` ValidatorAccountDetails struct { Name string `json:"name"` } `json:"validatorAccountDetails"` } `json:"validator_info"` }
type Magic ¶
type Magic struct { ID string `json:"id"` Key string `json:"key"` Type MagicType `json:"type"` Data struct { ID string `json:"id"` EventID *string `json:"eventId,omitempty"` Position *any `json:"position,omitempty"` } `json:"data"` Expired string `json:"expired"` UpdateAt string `json:"update_at"` CratedAt string `json:"cratedAt"` }
type PermanentType ¶
type PermanentType string
const ( UnknownPermanentType PermanentType = "" NonePermanentType PermanentType = "none" PosterPermanentType PermanentType = "poster" MemePermanentType PermanentType = "meme" LogoPermanentType PermanentType = "logo" DescriptionPermanentType PermanentType = "description" VideoPermanentPermanentType PermanentType = "video" NamePermanentType PermanentType = "name" ProblemPermanentType PermanentType = "problem" SolutionPermanentType PermanentType = "solution" ThirdPermanentType PermanentType = "third" )
type PluginMeta ¶
type PluginMeta *entry.PluginMeta
type PluginOptions ¶
type PluginOptions *entry.PluginOptions
type PluginsMeta ¶
type PluginsMeta map[uuid.UUID]PluginMeta
type PluginsOptions ¶
type PluginsOptions map[uuid.UUID]PluginOptions
type SearchOptions ¶
type SearchOptions map[string][]ExploreOption
type SpaceAncestor ¶
type SpaceAttributeValues ¶
type SpaceAttributeValues map[uuid.UUID]*entry.AttributeValue
type SpaceAttributes ¶
type SpaceAttributes map[uuid.UUID]*entry.SpaceAttribute
type SpaceInfo ¶
type SpaceInfo struct { ID string `json:"id"` ParentID *string `json:"parentId,omitempty"` SpaceType SpaceType `json:"spaceType"` Name string `json:"name"` Description string `json:"description"` OwnerID string `json:"ownerId"` OwnerName string `json:"ownerName"` CreateAt string `json:"createAt"` UpdatedAt string `json:"updatedAt"` IsPrivate bool `json:"isPrivate"` IsAdmin bool `json:"isAdmin"` }
type SpaceMember ¶
type SpaceOptions ¶
type SpaceOptions *entry.SpaceOptions
type SpaceSubAttributes ¶
type SpaceSubOptions ¶
type StageModeRequestType ¶
type StageModeRequestType string
const ( UnknownStageModeRequestType StageModeRequestType = "" RequestStageModeRequestType StageModeRequestType = "request" InviteStageModeRequestType StageModeRequestType = "invite" AcceptStageModeRequestType StageModeRequestType = "accept" DeclineStageModeRequestType StageModeRequestType = "decline" )
type StageModeStatusType ¶
type StageModeStatusType string
const ( UnknownStageModeStatusType StageModeStatusType = "" InitiatedStageModeStatusType StageModeStatusType = "initiated" StoppedStageModeStatusType StageModeStatusType = "stopped" )
type StageModeUser ¶
type Tile ¶
type Tile struct { ID string `json:"id"` Hash string `json:"hash"` SpaceID string `json:"spaceId"` UITypeID string `json:"uiTypeId"` OwnerID string `json:"owner_id"` UpdatedAt string `json:"updatedAt"` PermanentType PermanentType `json:"permanentType"` Edited int `json:"edited"` Render uint8 `json:"render"` Column int `json:"column"` Row int `json:"row"` Type TileType `json:"type"` Content TileContent `json:"content"` }
type TileContent ¶
type Token ¶
type Token struct { ID string `json:"id"` Name string `json:"name"` ContractAddress *string `json:"contractAddress,omitempty"` TokenType *TokenType `json:"tokenType,omitempty"` CreatedAt *string `json:"createdAt,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` Status *TokenRuleReviewStatusType `json:"status,omitempty"` WorldID *string `json:"worldId,omitempty"` SpaceID *string `json:"spaceId,omitempty"` }
type TokenNetworkType ¶
type TokenNetworkType string
const ( UnknownTokenNetworkType TokenNetworkType = "" MoonbeamTokenNetworkType TokenNetworkType = "moonbeam" EthereumTokenNetworkType TokenNetworkType = "eth_mainnet" )
type TokenRule ¶
type TokenRule struct { ID string `json:"id"` Status TokenRuleReviewStatusType `json:"status"` CreatedAt *string `json:"createdAt,omitempty"` TokenGroupUserID *string `json:"tokenGroupUserId,omitempty"` Name string `json:"name"` UpdatedAt *string `json:"updatedAt,omitempty"` MinBalance int `json:"minBalance"` Network TokenNetworkType `json:"network"` ContractAddress string `json:"contractAddress"` TokenType TokenType `json:"tokenType"` UserName *string `json:"userName,omitempty"` UserID *string `json:"userId,omitempty"` SpaceName *string `json:"spaceName,omitempty"` }
type TokenRuleReviewStatusType ¶
type TokenRuleReviewStatusType string
const ( UnknownTokenRuleReviewStatusType TokenRuleReviewStatusType = "" ApprovedTokenRuleReviewStatusType TokenRuleReviewStatusType = "approved" DeniedTokenRuleReviewStatusType TokenRuleReviewStatusType = "denied" )
type User ¶
type User struct { ID string `json:"id"` UserTypeID string `json:"userTypeId"` Name string `json:"name"` Wallet *string `json:"wallet,omitempty"` Profile Profile `json:"profile"` JWTToken *string `json:"token,omitempty"` CreatedAt string `json:"createdAt"` UpdatedAt *string `json:"updatedAt,omitempty"` IsGuest bool `json:"isGuest"` }
type UserStatusType ¶
type UserStatusType string
const ( UnknownUserStatusType UserStatusType = "" OnlineUserStatusType UserStatusType = "online" DoNotDisturbUserStatusType UserStatusType = "dnd" AwayUserStatusType UserStatusType = "away" InvisibleUserStatusType UserStatusType = "invisible" )
type Validator ¶
type Validator struct { ID string `json:"id"` ParentID string `json:"parentId"` SpaceTypeID string `json:"spaceTypeId"` OperatorSpaceID *string `json:"operatorSpaceId,omitempty"` UITypeID string `json:"uiTypeId"` OperatorSpaceName string `json:"operatorSpaceName"` Name string `json:"name"` IsFavorited bool `json:"isFavorited"` Metadata struct { KusamaMetadata KusamaMetaData `json:"kusama_metadata"` } `json:"metadata"` }
type VibeAmount ¶
Click to show internal directories.
Click to hide internal directories.