2021-04-19 18:42:19 +01:00
|
|
|
/*
|
|
|
|
GoToSocial
|
|
|
|
Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
package gtsmodel
|
|
|
|
|
|
|
|
// ActivityStreamsObject refers to https://www.w3.org/TR/activitystreams-vocabulary/#object-types
|
|
|
|
type ActivityStreamsObject string
|
|
|
|
|
|
|
|
const (
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsArticle https://www.w3.org/TR/activitystreams-vocabulary/#dfn-article
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsArticle ActivityStreamsObject = "Article"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsAudio https://www.w3.org/TR/activitystreams-vocabulary/#dfn-audio
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsAudio ActivityStreamsObject = "Audio"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsDocument https://www.w3.org/TR/activitystreams-vocabulary/#dfn-document
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsDocument ActivityStreamsObject = "Event"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsEvent https://www.w3.org/TR/activitystreams-vocabulary/#dfn-event
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsEvent ActivityStreamsObject = "Event"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsImage https://www.w3.org/TR/activitystreams-vocabulary/#dfn-image
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsImage ActivityStreamsObject = "Image"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsNote https://www.w3.org/TR/activitystreams-vocabulary/#dfn-note
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsNote ActivityStreamsObject = "Note"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsPage https://www.w3.org/TR/activitystreams-vocabulary/#dfn-page
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsPage ActivityStreamsObject = "Page"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsPlace https://www.w3.org/TR/activitystreams-vocabulary/#dfn-place
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsPlace ActivityStreamsObject = "Place"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsProfile https://www.w3.org/TR/activitystreams-vocabulary/#dfn-profile
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsProfile ActivityStreamsObject = "Profile"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsRelationship https://www.w3.org/TR/activitystreams-vocabulary/#dfn-relationship
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsRelationship ActivityStreamsObject = "Relationship"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsTombstone https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tombstone
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsTombstone ActivityStreamsObject = "Tombstone"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsVideo https://www.w3.org/TR/activitystreams-vocabulary/#dfn-video
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsVideo ActivityStreamsObject = "Video"
|
|
|
|
)
|
|
|
|
|
|
|
|
// ActivityStreamsActor refers to https://www.w3.org/TR/activitystreams-vocabulary/#actor-types
|
|
|
|
type ActivityStreamsActor string
|
|
|
|
|
|
|
|
const (
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsApplication https://www.w3.org/TR/activitystreams-vocabulary/#dfn-application
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsApplication ActivityStreamsActor = "Application"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsGroup https://www.w3.org/TR/activitystreams-vocabulary/#dfn-group
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsGroup ActivityStreamsActor = "Group"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsOrganization https://www.w3.org/TR/activitystreams-vocabulary/#dfn-organization
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsOrganization ActivityStreamsActor = "Organization"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsPerson https://www.w3.org/TR/activitystreams-vocabulary/#dfn-person
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsPerson ActivityStreamsActor = "Person"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsService https://www.w3.org/TR/activitystreams-vocabulary/#dfn-service
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsService ActivityStreamsActor = "Service"
|
|
|
|
)
|
|
|
|
|
|
|
|
// ActivityStreamsActivity refers to https://www.w3.org/TR/activitystreams-vocabulary/#activity-types
|
|
|
|
type ActivityStreamsActivity string
|
|
|
|
|
|
|
|
const (
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsAccept https://www.w3.org/TR/activitystreams-vocabulary/#dfn-accept
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsAccept ActivityStreamsActivity = "Accept"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsAdd https://www.w3.org/TR/activitystreams-vocabulary/#dfn-add
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsAdd ActivityStreamsActivity = "Add"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsAnnounce https://www.w3.org/TR/activitystreams-vocabulary/#dfn-announce
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsAnnounce ActivityStreamsActivity = "Announce"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsArrive https://www.w3.org/TR/activitystreams-vocabulary/#dfn-arrive
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsArrive ActivityStreamsActivity = "Arrive"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsBlock https://www.w3.org/TR/activitystreams-vocabulary/#dfn-block
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsBlock ActivityStreamsActivity = "Block"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsCreate https://www.w3.org/TR/activitystreams-vocabulary/#dfn-create
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsCreate ActivityStreamsActivity = "Create"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsDelete https://www.w3.org/TR/activitystreams-vocabulary/#dfn-delete
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsDelete ActivityStreamsActivity = "Delete"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsDislike https://www.w3.org/TR/activitystreams-vocabulary/#dfn-dislike
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsDislike ActivityStreamsActivity = "Dislike"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsFlag https://www.w3.org/TR/activitystreams-vocabulary/#dfn-flag
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsFlag ActivityStreamsActivity = "Flag"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsFollow https://www.w3.org/TR/activitystreams-vocabulary/#dfn-follow
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsFollow ActivityStreamsActivity = "Follow"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsIgnore https://www.w3.org/TR/activitystreams-vocabulary/#dfn-ignore
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsIgnore ActivityStreamsActivity = "Ignore"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsInvite https://www.w3.org/TR/activitystreams-vocabulary/#dfn-invite
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsInvite ActivityStreamsActivity = "Invite"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsJoin https://www.w3.org/TR/activitystreams-vocabulary/#dfn-join
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsJoin ActivityStreamsActivity = "Join"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsLeave https://www.w3.org/TR/activitystreams-vocabulary/#dfn-leave
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsLeave ActivityStreamsActivity = "Leave"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsLike https://www.w3.org/TR/activitystreams-vocabulary/#dfn-like
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsLike ActivityStreamsActivity = "Like"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsListen https://www.w3.org/TR/activitystreams-vocabulary/#dfn-listen
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsListen ActivityStreamsActivity = "Listen"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsMove https://www.w3.org/TR/activitystreams-vocabulary/#dfn-move
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsMove ActivityStreamsActivity = "Move"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsOffer https://www.w3.org/TR/activitystreams-vocabulary/#dfn-offer
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsOffer ActivityStreamsActivity = "Offer"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsQuestion https://www.w3.org/TR/activitystreams-vocabulary/#dfn-question
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsQuestion ActivityStreamsActivity = "Question"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsReject https://www.w3.org/TR/activitystreams-vocabulary/#dfn-reject
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsReject ActivityStreamsActivity = "Reject"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsRead https://www.w3.org/TR/activitystreams-vocabulary/#dfn-read
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsRead ActivityStreamsActivity = "Read"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsRemove https://www.w3.org/TR/activitystreams-vocabulary/#dfn-remove
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsRemove ActivityStreamsActivity = "Remove"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsTentativeReject https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tentativereject
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsTentativeReject ActivityStreamsActivity = "TentativeReject"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsTentativeAccept https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tentativeaccept
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsTentativeAccept ActivityStreamsActivity = "TentativeAccept"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsTravel https://www.w3.org/TR/activitystreams-vocabulary/#dfn-travel
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsTravel ActivityStreamsActivity = "Travel"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsUndo https://www.w3.org/TR/activitystreams-vocabulary/#dfn-undo
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsUndo ActivityStreamsActivity = "Undo"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsUpdate https://www.w3.org/TR/activitystreams-vocabulary/#dfn-update
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsUpdate ActivityStreamsActivity = "Update"
|
2021-04-20 17:14:23 +01:00
|
|
|
// ActivityStreamsView https://www.w3.org/TR/activitystreams-vocabulary/#dfn-view
|
2021-04-19 18:42:19 +01:00
|
|
|
ActivityStreamsView ActivityStreamsActivity = "View"
|
|
|
|
)
|