Revert "feat: 個人宛てお知らせ機能 (#107)"

This reverts commit 7b1efd6b97.
This commit is contained in:
まっちゃとーにゅ
2023-08-15 16:45:55 +09:00
parent 04fefb2056
commit 576251200f
17 changed files with 18 additions and 324 deletions

View File

@@ -31,8 +31,6 @@ type Announcement = {
title: string;
imageUrl: string | null;
isRead?: boolean;
isPrivate: boolean;
closeDuration: number;
};
// @public (undocumented)
@@ -570,7 +568,6 @@ export type Endpoints = {
withUnreads?: boolean;
sinceId?: Announcement['id'];
untilId?: Announcement['id'];
privateOnly?: boolean;
};
res: Announcement[];
};

View File

@@ -77,7 +77,7 @@ export type Endpoints = {
'admin/relays/remove': { req: TODO; res: TODO; };
// announcements
'announcements': { req: { limit?: number; withUnreads?: boolean; sinceId?: Announcement['id']; untilId?: Announcement['id']; privateOnly?: boolean; }; res: Announcement[]; };
'announcements': { req: { limit?: number; withUnreads?: boolean; sinceId?: Announcement['id']; untilId?: Announcement['id']; }; res: Announcement[]; };
// antennas
'antennas/create': { req: TODO; res: Antenna; };

View File

@@ -419,8 +419,6 @@ export type Announcement = {
title: string;
imageUrl: string | null;
isRead?: boolean;
isPrivate: boolean;
closeDuration: number;
};
export type Antenna = {