mirror of
https://github.com/docmost/docmost.git
synced 2025-11-14 17:31:09 +10:00
initial commit
This commit is contained in:
@ -30,6 +30,10 @@ export async function deletePage(pageId: string): Promise<void> {
|
||||
await api.post("/pages/delete", { pageId });
|
||||
}
|
||||
|
||||
export async function restorePage(pageId: string): Promise<void> {
|
||||
await api.post("/pages/restore", { pageId });
|
||||
}
|
||||
|
||||
export async function movePage(data: IMovePage): Promise<void> {
|
||||
await api.post<void>("/pages/move", data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user