fix(frontend, misskey-js): make block switch work (#142)

* fix(frontend, misskey-js): make block switch work

* Update CHANGELOG.md

Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
This commit is contained in:
riku6460 2023-08-15 02:59:25 +09:00 committed by GitHub
parent 8d06a6475e
commit a82885b6ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 17 deletions

View file

@ -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;
@ -334,8 +339,8 @@ export type Endpoints = {
res: TODO;
};
'admin/meta': {
req: TODO;
res: TODO;
req: NoParams;
res: AdminInstanceMetadata;
};
'admin/reset-password': {
req: TODO;
@ -2248,6 +2253,7 @@ declare namespace entities {
LiteInstanceMetadata,
DetailedInstanceMetadata,
InstanceMetadata,
AdminInstanceMetadata,
ServerInfo,
Stats,
Page,
@ -2339,7 +2345,7 @@ type ID = string;
// @public (undocumented)
type Instance = {
id: ID;
caughtAt: DateString;
firstRetrievedAt: DateString;
host: string;
usersCount: number;
notesCount: number;
@ -2353,6 +2359,7 @@ type Instance = {
lastCommunicatedAt: DateString;
isNotResponding: boolean;
isSuspended: boolean;
isBlocked: boolean;
softwareName: string | null;
softwareVersion: string | null;
openRegistrations: boolean | null;