mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: enhance user experience with tooltips; implement return URL handling on login and registration; add user roles; improve paste visibility checks
This commit is contained in:
@@ -72,3 +72,10 @@ export const displayNames: Record<string, string> = {
|
||||
};
|
||||
// only include langs that need special display names
|
||||
// e.g. cpp -> C++ or toml -> TOML, langs like java are automatically capitalized
|
||||
|
||||
export const roles = {
|
||||
0: 'User',
|
||||
1: 'Moderator',
|
||||
255: 'Administrator',
|
||||
403: 'Banned'
|
||||
}
|
||||
Reference in New Issue
Block a user