go-lemmy/types/lib.1.gen.go

37 lines
1003 B
Go
Raw Normal View History

package types
type SortType string
const (
2023-01-05 21:02:11 +00:00
SortTypeActive SortType = "Active"
SortTypeHot SortType = "Hot"
SortTypeNew SortType = "New"
SortTypeTopDay SortType = "TopDay"
SortTypeTopWeek SortType = "TopWeek"
SortTypeTopMonth SortType = "TopMonth"
SortTypeTopYear SortType = "TopYear"
SortTypeTopAll SortType = "TopAll"
SortTypeMostComments SortType = "MostComments"
SortTypeNewComments SortType = "NewComments"
)
type ListingType string
const (
2023-01-05 21:02:11 +00:00
ListingTypeAll ListingType = "All"
ListingTypeLocal ListingType = "Local"
ListingTypeSubscribed ListingType = "Subscribed"
ListingTypeCommunity ListingType = "Community"
)
type SearchType string
const (
2023-01-05 21:02:11 +00:00
SearchTypeAll SearchType = "All"
SearchTypeComments SearchType = "Comments"
SearchTypePosts SearchType = "Posts"
SearchTypeCommunities SearchType = "Communities"
SearchTypeUsers SearchType = "Users"
SearchTypeUrl SearchType = "Url"
)