diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-03-02 20:47:24 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-03-02 20:47:24 +0900 |
| commit | 187a698d543f884629083214294345cda72684ba (patch) | |
| tree | 82ae70a0f8aa7529d9392ae8d7af43b7f6a5b019 /packages/frontend/src/const.ts | |
| parent | clean up (diff) | |
| download | misskey-187a698d543f884629083214294345cda72684ba.tar.gz misskey-187a698d543f884629083214294345cda72684ba.tar.bz2 misskey-187a698d543f884629083214294345cda72684ba.zip | |
:art:
Diffstat (limited to 'packages/frontend/src/const.ts')
| -rw-r--r-- | packages/frontend/src/const.ts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/frontend/src/const.ts b/packages/frontend/src/const.ts index da3ae89c37..46ebc7d6a3 100644 --- a/packages/frontend/src/const.ts +++ b/packages/frontend/src/const.ts @@ -47,6 +47,25 @@ https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Containers export const notificationTypes = ['follow', 'mention', 'reply', 'renote', 'quote', 'reaction', 'pollEnded', 'receiveFollowRequest', 'followRequestAccepted', 'achievementEarned', 'app'] as const; export const obsoleteNotificationTypes = ['pollVote', 'groupInvited'] as const; +export const ROLE_POLICIES = [ + 'gtlAvailable', + 'ltlAvailable', + 'canPublicNote', + 'canInvite', + 'canManageCustomEmojis', + 'canHideAds', + 'driveCapacityMb', + 'pinLimit', + 'antennaLimit', + 'wordMuteLimit', + 'webhookLimit', + 'clipLimit', + 'noteEachClipsLimit', + 'userListLimit', + 'userEachUserListsLimit', + 'rateLimitFactor', +] as const; + // なんか動かない //export const CURRENT_STICKY_TOP = Symbol('CURRENT_STICKY_TOP'); //export const CURRENT_STICKY_BOTTOM = Symbol('CURRENT_STICKY_BOTTOM'); |