45 lines
1.4 KiB
Rust
45 lines
1.4 KiB
Rust
/// https://www.w3.org/TR/activitystreams-vocabulary/
|
|
|
|
// Activity types
|
|
pub const ACCEPT: &str = "Accept";
|
|
pub const ADD: &str = "Add";
|
|
pub const ANNOUNCE: &str = "Announce";
|
|
pub const CREATE: &str = "Create";
|
|
pub const DELETE: &str = "Delete";
|
|
pub const DISLIKE: &str = "Dislike";
|
|
pub const EMOJI_REACT: &str = "EmojiReact";
|
|
pub const FOLLOW: &str = "Follow";
|
|
pub const LIKE: &str = "Like";
|
|
pub const MOVE: &str = "Move";
|
|
pub const QUESTION: &str = "Question";
|
|
pub const REJECT: &str = "Reject";
|
|
pub const REMOVE: &str = "Remove";
|
|
pub const UNDO: &str = "Undo";
|
|
pub const UPDATE: &str = "Update";
|
|
|
|
// Actor types
|
|
pub const GROUP: &str = "Group";
|
|
pub const PERSON: &str = "Person";
|
|
pub const SERVICE: &str = "Service";
|
|
|
|
// Object types
|
|
pub const ARTICLE: &str = "Article";
|
|
pub const DOCUMENT: &str = "Document";
|
|
pub const EVENT: &str = "Event";
|
|
pub const IMAGE: &str = "Image";
|
|
pub const MENTION: &str = "Mention";
|
|
pub const NOTE: &str = "Note";
|
|
pub const PAGE: &str = "Page";
|
|
pub const TOMBSTONE: &str = "Tombstone";
|
|
pub const VIDEO: &str = "Video";
|
|
|
|
// Collections
|
|
pub const ORDERED_COLLECTION: &str = "OrderedCollection";
|
|
pub const ORDERED_COLLECTION_PAGE: &str = "OrderedCollectionPage";
|
|
|
|
// Misc
|
|
pub const EMOJI: &str = "Emoji";
|
|
pub const HASHTAG: &str = "Hashtag";
|
|
pub const IDENTITY_PROOF: &str = "IdentityProof";
|
|
pub const LINK: &str = "Link";
|
|
pub const PROPERTY_VALUE: &str = "PropertyValue";
|