upd: add backend for post editing
This commit is contained in:
@@ -194,6 +194,7 @@ export type Note = {
|
||||
uri?: string;
|
||||
url?: string;
|
||||
isHidden?: boolean;
|
||||
updatedAt?: DateString;
|
||||
};
|
||||
|
||||
export type NoteReaction = {
|
||||
@@ -203,6 +204,15 @@ export type NoteReaction = {
|
||||
type: string;
|
||||
};
|
||||
|
||||
export type NoteEdit = {
|
||||
noteId: Note['id'];
|
||||
note: Note;
|
||||
text: string;
|
||||
cw: string;
|
||||
fileIds: DriveFile['id'][];
|
||||
updatedAt?: DateString;
|
||||
}
|
||||
|
||||
export type Notification = {
|
||||
id: ID;
|
||||
createdAt: DateString;
|
||||
|
||||
Reference in New Issue
Block a user