mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-24 20:23:08 +02:00
rename
This commit is contained in:
parent
f5fcc130bf
commit
1cfa30b982
2 changed files with 3 additions and 3 deletions
|
@ -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>;
|
type TODO = Record<string, any>;
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ export type Endpoints = {
|
||||||
// messaging
|
// messaging
|
||||||
|
|
||||||
// meta
|
// meta
|
||||||
'meta': { req: { detail?: boolean; }; res: Instance; };
|
'meta': { req: { detail?: boolean; }; res: InstanceMetadata; };
|
||||||
|
|
||||||
// miauth
|
// miauth
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ export type Note = {
|
||||||
}[];
|
}[];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Instance = {
|
export type InstanceMetadata = {
|
||||||
emojis: {
|
emojis: {
|
||||||
category: string;
|
category: string;
|
||||||
}[];
|
}[];
|
||||||
|
|
Loading…
Reference in a new issue