diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-05-16 11:19:51 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-05-16 11:19:51 +0900 |
| commit | 1cfa30b9826f3eaa1fc1fa0de456b9b268a636b9 (patch) | |
| tree | d47c203b253ee10afa1c1bf47e1e12b7aeee6208 | |
| parent | export entity types (diff) | |
| download | misskey-1cfa30b9826f3eaa1fc1fa0de456b9b268a636b9.tar.gz misskey-1cfa30b9826f3eaa1fc1fa0de456b9b268a636b9.tar.bz2 misskey-1cfa30b9826f3eaa1fc1fa0de456b9b268a636b9.zip | |
rename
| -rw-r--r-- | src/endpoints.ts | 4 | ||||
| -rw-r--r-- | src/types.ts | 2 |
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; }[]; |