upd: add backend for post editing
This commit is contained in:
parent
deb8f73127
commit
feec3c302b
16 changed files with 1310 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue