summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-05-16 11:19:51 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-05-16 11:19:51 +0900
commit1cfa30b9826f3eaa1fc1fa0de456b9b268a636b9 (patch)
treed47c203b253ee10afa1c1bf47e1e12b7aeee6208
parentexport entity types (diff)
downloadmisskey-1cfa30b9826f3eaa1fc1fa0de456b9b268a636b9.tar.gz
misskey-1cfa30b9826f3eaa1fc1fa0de456b9b268a636b9.tar.bz2
misskey-1cfa30b9826f3eaa1fc1fa0de456b9b268a636b9.zip
rename
-rw-r--r--src/endpoints.ts4
-rw-r--r--src/types.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/endpoints.ts b/src/endpoints.ts
index b969db8954..c9f89fd438 100644
--- a/src/endpoints.ts
+++ b/src/endpoints.ts
@@ -1,4 +1,4 @@
-import { ID, Instance, Note, OriginType, Page, ServerInfo, Stats, User, UserSorting } from './types';
+import { ID, InstanceMetadata, Note, OriginType, Page, ServerInfo, Stats, User, UserSorting } from './types';
type TODO = Record<string, any>;
@@ -48,7 +48,7 @@ export type Endpoints = {
// messaging
// meta
- 'meta': { req: { detail?: boolean; }; res: Instance; };
+ 'meta': { req: { detail?: boolean; }; res: InstanceMetadata; };
// miauth
diff --git a/src/types.ts b/src/types.ts
index 56f998dcad..64124f45b5 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -59,7 +59,7 @@ export type Note = {
}[];
};
-export type Instance = {
+export type InstanceMetadata = {
emojis: {
category: string;
}[];