megalodon
Version:
Fediverse API client for node.js and browser
24 lines (23 loc) • 897 B
JavaScript
var NotificationType;
(function (NotificationType) {
NotificationType.Follow = 'follow';
NotificationType.Favourite = 'favourite';
NotificationType.Reblog = 'reblog';
NotificationType.Mention = 'mention';
NotificationType.Reaction = 'reaction';
NotificationType.FollowRequest = 'follow_request';
NotificationType.Status = 'status';
NotificationType.PollVote = 'poll_vote';
NotificationType.PollExpired = 'poll_expired';
NotificationType.Update = 'update';
NotificationType.Move = 'move';
NotificationType.AdminSignup = 'admin.sign_up';
NotificationType.AdminReport = 'admin.report';
})(NotificationType || (NotificationType = {}));
export class UnknownNotificationTypeError extends Error {
constructor() {
super();
Object.setPrototypeOf(this, UnknownNotificationTypeError.prototype);
}
}
export default NotificationType;