Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommunityDigestEntity ¶
type CommunityDigestEntity struct {
CommunityID persist.DBID `json:"community_id"`
ContractAddress persist.Address `json:"contract_address"`
ChainName string `json:"chain_name"`
Name string `json:"name"`
Description string `json:"description"`
PreviewImageURL string `json:"preview_image_url"`
CreatorName string `json:"creator_name"`
CreatorPreviewImageURL string `json:"creator_preview_image_url"`
Tokens []TokenDigestEntity `json:"tokens"`
Editorialized bool `json:"editorialized"`
}
type DigestValueOverrides ¶
type DigestValueOverrides struct {
Posts []persist.DBID `json:"posts"`
Communities []persist.DBID `json:"communities"`
Galleries []persist.DBID `json:"galleries"`
PostCount int `json:"post_count"`
CommunityCount int `json:"community_count"`
GalleryCount int `json:"gallery_count"`
IncludeTopPosts *bool `json:"include_top_posts,omitempty"`
IncludeTopCommunities *bool `json:"include_top_communities,omitempty"`
IncludeTopGalleries *bool `json:"include_top_galleries,omitempty"`
IntroText *string `json:"intro_text,omitempty"`
Subject *string `json:"subject,omitempty"`
}
type DigestValues ¶
type DigestValues struct {
Date string `json:"date"`
IntroText *string `json:"intro_text"`
Subject *string `json:"subject"`
Posts IncludedSelected `json:"posts"`
Communities IncludedSelected `json:"communities"`
Galleries IncludedSelected `json:"galleries"`
PostCount int `json:"post_count"`
CommunityCount int `json:"community_count"`
GalleryCount int `json:"gallery_count"`
}
type GalleryDigestEntity ¶
type GalleryDigestEntity struct {
GalleryID persist.DBID `json:"gallery_id"`
CreatorUsername string `json:"creator_username"`
CreatorPreviewImageURL string `json:"creator_preview_image_url"`
Name string `json:"name"`
Description string `json:"description"`
Tokens []TokenDigestEntity `json:"tokens"`
Editorialized bool `json:"editorialized"`
}
type IncludedSelected ¶
type PostDigestEntity ¶
Click to show internal directories.
Click to hide internal directories.