This repository has been archived on 2022-11-27. You can view files and clone it, but cannot push or open issues or pull requests.
activitypub/types.go

67 lines
1,008 B
Go
Raw Permalink Normal View History

2020-06-30 11:35:04 +00:00
package activitypub
2021-11-12 19:05:08 +00:00
// ActivityVocabularyTypes is a type alias for a slice of ActivityVocabularyType elements
2020-06-30 11:35:04 +00:00
type ActivityVocabularyTypes []ActivityVocabularyType
2021-11-12 19:05:08 +00:00
// Types contains all valid types in the ActivityPub vocabulary
2020-06-30 11:35:04 +00:00
var Types = ActivityVocabularyTypes{
LinkType,
MentionType,
ArticleType,
AudioType,
DocumentType,
EventType,
ImageType,
NoteType,
PageType,
PlaceType,
ProfileType,
RelationshipType,
TombstoneType,
VideoType,
QuestionType,
CollectionType,
OrderedCollectionType,
CollectionPageType,
OrderedCollectionPageType,
ApplicationType,
GroupType,
OrganizationType,
PersonType,
ServiceType,
AcceptType,
AddType,
AnnounceType,
BlockType,
CreateType,
DeleteType,
DislikeType,
FlagType,
FollowType,
IgnoreType,
InviteType,
JoinType,
LeaveType,
LikeType,
ListenType,
MoveType,
OfferType,
RejectType,
ReadType,
RemoveType,
TentativeRejectType,
TentativeAcceptType,
UndoType,
UpdateType,
ViewType,
ArriveType,
TravelType,
QuestionType,
}