upd: add backend for post editing

This commit is contained in:
Mar0xy 2023-09-22 21:05:42 +02:00
parent deb8f73127
commit feec3c302b
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
16 changed files with 1310 additions and 2 deletions

View file

@ -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;