fix(frontend, misskey-js): make block switch work (#11429)
* fix(frontend, misskey-js): make block switch work * Update CHANGELOG.md
This commit is contained in:
parent
5096be06ac
commit
a52f63ec6a
5 changed files with 38 additions and 18 deletions
|
@ -17,6 +17,11 @@ export type Acct = {
|
|||
// @public (undocumented)
|
||||
type Ad = TODO_2;
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminInstanceMetadata = DetailedInstanceMetadata & {
|
||||
blockedHosts: string[];
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
type Announcement = {
|
||||
id: ID;
|
||||
|
@ -329,8 +334,8 @@ export type Endpoints = {
|
|||
res: TODO;
|
||||
};
|
||||
'admin/meta': {
|
||||
req: TODO;
|
||||
res: TODO;
|
||||
req: NoParams;
|
||||
res: AdminInstanceMetadata;
|
||||
};
|
||||
'admin/reset-password': {
|
||||
req: TODO;
|
||||
|
@ -2226,6 +2231,7 @@ declare namespace entities {
|
|||
LiteInstanceMetadata,
|
||||
DetailedInstanceMetadata,
|
||||
InstanceMetadata,
|
||||
AdminInstanceMetadata,
|
||||
ServerInfo,
|
||||
Stats,
|
||||
Page,
|
||||
|
@ -2317,7 +2323,7 @@ type ID = string;
|
|||
// @public (undocumented)
|
||||
type Instance = {
|
||||
id: ID;
|
||||
caughtAt: DateString;
|
||||
firstRetrievedAt: DateString;
|
||||
host: string;
|
||||
usersCount: number;
|
||||
notesCount: number;
|
||||
|
@ -2331,6 +2337,7 @@ type Instance = {
|
|||
lastCommunicatedAt: DateString;
|
||||
isNotResponding: boolean;
|
||||
isSuspended: boolean;
|
||||
isBlocked: boolean;
|
||||
softwareName: string | null;
|
||||
softwareVersion: string | null;
|
||||
openRegistrations: boolean | null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue