mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 01:52:36 +10:00
chore: upgrade packages (#1242)
* upgrade tiptap editor extensions * upgrade packages * fix type issue
This commit is contained in:
@ -1,9 +1,10 @@
|
||||
import api from "@/lib/api-client";
|
||||
import { IPageHistory } from "@/features/page-history/types/page.types";
|
||||
import { IPagination } from "@/lib/types.ts";
|
||||
|
||||
export async function getPageHistoryList(
|
||||
pageId: string,
|
||||
): Promise<IPageHistory[]> {
|
||||
): Promise<IPagination<IPageHistory>> {
|
||||
const req = await api.post("/pages/history", {
|
||||
pageId,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user