summaryrefslogtreecommitdiff
path: root/src/types.ts
diff options
context:
space:
mode:
authortamaina <tamaina@hotmail.co.jp>2020-05-26 14:33:55 +0900
committertamaina <tamaina@hotmail.co.jp>2020-05-26 14:33:55 +0900
commit9bee9d20f751d2cf5833c5b2cf8be875496250c2 (patch)
tree200771d0da80c63cfa5609d7d73141be25f0b0b1 /src/types.ts
parentResolve https://github.com/syuilo/misskey/pull/6406#issuecomment-633203670 (diff)
downloadsharkey-9bee9d20f751d2cf5833c5b2cf8be875496250c2.tar.gz
sharkey-9bee9d20f751d2cf5833c5b2cf8be875496250c2.tar.bz2
sharkey-9bee9d20f751d2cf5833c5b2cf8be875496250c2.zip
Improve typing
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts3
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;