@@ -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[];
|
||||
};
|
||||
|
@@ -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; };
|
||||
|
@@ -419,8 +419,6 @@ export type Announcement = {
|
||||
title: string;
|
||||
imageUrl: string | null;
|
||||
isRead?: boolean;
|
||||
isPrivate: boolean;
|
||||
closeDuration: number;
|
||||
};
|
||||
|
||||
export type Antenna = {
|
||||
|
Reference in New Issue
Block a user