1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-28 21:48:16 +09:00
MisskeyIO/src/misc/api-permissions.ts

36 lines
707 B
TypeScript
Raw Normal View History

2019-04-15 12:20:48 +09:00
export const kinds = [
'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',
2019-05-01 04:44:46 +09:00
'write:votes',
'read:pages',
'write:pages',
'write:page-likes',
'read:page-likes',
2019-05-18 20:36:33 +09:00
'read:user-groups',
'write:user-groups',
'read:channels',
'write:channels',
2021-04-25 12:33:55 +09:00
'read:gallery',
'write:gallery',
'read:gallery-likes',
'write:gallery-likes',
];
// IF YOU ADD KINDS(PERMISSIONS), YOU MUST ADD TRANSLATIONS (under _permissions).