mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-28 21:08:52 -07:00
ef3463e8dc
It's been shown that the current approach doesn't scale. This implementation should scale perfectly fine.
58 lines
1,018 B
TypeScript
58 lines
1,018 B
TypeScript
export const notificationTypes = [
|
|
"follow",
|
|
"mention",
|
|
"reply",
|
|
"renote",
|
|
"quote",
|
|
"reaction",
|
|
"pollVote",
|
|
"pollEnded",
|
|
"receiveFollowRequest",
|
|
"followRequestAccepted",
|
|
"groupInvited",
|
|
"app",
|
|
] as const;
|
|
|
|
export const noteVisibilities = [
|
|
"public",
|
|
"home",
|
|
"followers",
|
|
"specified",
|
|
] as const;
|
|
|
|
export const ffVisibility = ["public", "followers", "private"] as const;
|
|
|
|
export const permissions = [
|
|
"read:account",
|
|
"write:account",
|
|
"read:blocks",
|
|
"write:blocks",
|
|
"read:drive",
|
|
"write:drive",
|
|
"read:favorites",
|
|
"write:favorites",
|
|
"read:following",
|
|
"write:following",
|
|
"read:messaging",
|
|
"write:messaging",
|
|
"read:mutes",
|
|
"write:mutes",
|
|
"write:notes",
|
|
"read:notifications",
|
|
"write:notifications",
|
|
"read:reactions",
|
|
"write:reactions",
|
|
"write:votes",
|
|
"read:pages",
|
|
"write:pages",
|
|
"write:page-likes",
|
|
"read:page-likes",
|
|
"read:user-groups",
|
|
"write:user-groups",
|
|
"read:channels",
|
|
"write:channels",
|
|
"read:gallery",
|
|
"write:gallery",
|
|
"read:gallery-likes",
|
|
"write:gallery-likes",
|
|
];
|