new scopes

This commit is contained in:
May 2024-05-21 20:03:49 -07:00
parent ce96537d11
commit 1efb6802a0

View file

@ -3,12 +3,10 @@ import { z } from "zod";
export const Scope = z.enum([
"user", // permissions to /auth/me, with email docked
"email", // adds email back to /auth/me
"private", // allows app to read private files
"upload", // allows an app to upload under an account
"manage", // allows an app to manage an account's files
"customize", // allows an app to change customization settings
"admin", // only available for accounts with admin
// gives an app access to all admin tools
"manage_private", // allows app to manage private files
"manage_files", // allows an app to manage an account's files
"manage_account", // allows an app to manage an account
"manage_server" // allows an app to affect other users, files on admin accounts
])
export const TokenType = z.enum([