2023-01-05 20:51:45 +00:00
|
|
|
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"
|
2023-01-05 20:51:45 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type ListingType string
|
|
|
|
|
|
|
|
const (
|
2023-01-05 21:02:11 +00:00
|
|
|
ListingTypeAll ListingType = "All"
|
|
|
|
ListingTypeLocal ListingType = "Local"
|
|
|
|
ListingTypeSubscribed ListingType = "Subscribed"
|
|
|
|
ListingTypeCommunity ListingType = "Community"
|
2023-01-05 20:51:45 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
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"
|
2023-01-05 20:51:45 +00:00
|
|
|
)
|