mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-15 15:18:22 +09:00
rename
This commit is contained in:
parent
f5fcc130bf
commit
1cfa30b982
@ -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
|
||||
|
||||
|
@ -59,7 +59,7 @@ export type Note = {
|
||||
}[];
|
||||
};
|
||||
|
||||
export type Instance = {
|
||||
export type InstanceMetadata = {
|
||||
emojis: {
|
||||
category: string;
|
||||
}[];
|
||||
|
Loading…
Reference in New Issue
Block a user