diff --git a/apps/client/src/features/auth/types/auth.types.ts b/apps/client/src/features/auth/types/auth.types.ts index 24be326f..e0a86024 100644 --- a/apps/client/src/features/auth/types/auth.types.ts +++ b/apps/client/src/features/auth/types/auth.types.ts @@ -36,5 +36,5 @@ export interface IVerifyUserToken { } export interface ICollabToken { - token: string; + token?: string; } diff --git a/apps/client/src/features/page-history/services/page-history-service.ts b/apps/client/src/features/page-history/services/page-history-service.ts index 87884d0f..329ad70d 100644 --- a/apps/client/src/features/page-history/services/page-history-service.ts +++ b/apps/client/src/features/page-history/services/page-history-service.ts @@ -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 { +): Promise> { const req = await api.post("/pages/history", { pageId, }); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 221cb234..e2b8b7f5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20101,7 +20101,7 @@ snapshots: y-prosemirror@1.2.3(prosemirror-model@1.23.0)(prosemirror-state@1.4.3)(prosemirror-view@1.37.0)(y-protocols@1.0.6(yjs@13.6.27))(yjs@13.6.27): dependencies: - lib0: 0.2.98 + lib0: 0.2.108 prosemirror-model: 1.23.0 prosemirror-state: 1.4.3 prosemirror-view: 1.37.0 @@ -20110,7 +20110,7 @@ snapshots: y-protocols@1.0.6(yjs@13.6.27): dependencies: - lib0: 0.2.98 + lib0: 0.2.108 yjs: 13.6.27 y18n@5.0.8: {}