mirror of
https://github.com/Sevichecc/m-oauth.git
synced 2025-04-30 06:59:29 +08:00
28 lines
530 B
TypeScript
28 lines
530 B
TypeScript
export type MethodType = "read" | "write" | "follow" | "push" | 'crypto' | 'admin'
|
|
|
|
export type ReadScope =
|
|
|"account"
|
|
| "blocks"
|
|
| "bookmarks"
|
|
| "favourites"
|
|
| "filters"
|
|
| "filters"
|
|
| "lists"
|
|
| "mutes"
|
|
| "notifications"
|
|
| "search"
|
|
| "statuses";
|
|
|
|
export type WriteScope = Omit<ReadScope, 'search'>
|
|
| 'conversations'
|
|
| 'media'
|
|
| "reports"
|
|
|
|
export type AdminScope =
|
|
"account"
|
|
| "reports"
|
|
| "domain_allows"
|
|
| "domain_blocks"
|
|
| "ip_blocks"
|
|
| "email_domain_blocks"
|
|
| "canonical_email_blocks";
|