diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2020-05-26 14:33:55 +0900 |
|---|---|---|
| committer | tamaina <tamaina@hotmail.co.jp> | 2020-05-26 14:33:55 +0900 |
| commit | 9bee9d20f751d2cf5833c5b2cf8be875496250c2 (patch) | |
| tree | 200771d0da80c63cfa5609d7d73141be25f0b0b1 /src/types.ts | |
| parent | Resolve https://github.com/syuilo/misskey/pull/6406#issuecomment-633203670 (diff) | |
| download | sharkey-9bee9d20f751d2cf5833c5b2cf8be875496250c2.tar.gz sharkey-9bee9d20f751d2cf5833c5b2cf8be875496250c2.tar.bz2 sharkey-9bee9d20f751d2cf5833c5b2cf8be875496250c2.zip | |
Improve typing
Diffstat (limited to 'src/types.ts')
| -rw-r--r-- | src/types.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts new file mode 100644 index 0000000000..30a62412a8 --- /dev/null +++ b/src/types.ts @@ -0,0 +1,3 @@ +export const notificationTypes = ['follow', 'mention', 'reply', 'renote', 'quote', 'reaction', 'pollVote', 'receiveFollowRequest', 'followRequestAccepted', 'groupInvited', 'app'] as const; + +export const noteVisibilities = ['public', 'home', 'followers', 'specified'] as const; |