feat(base): page renderer dispatches to base view when page.isBase

- Add isBase to page repo baseFields so it is always selected
- Add isBase to sidebar pages query select list
- Add isBase to client IPage type
- In PageContent, render <BaseTable pageId={page.id} /> when page.isBase
  is true instead of the TipTap editor path
This commit is contained in:
Philipinho
2026-04-27 01:49:54 +01:00
parent 060bd1048f
commit 19821d3aeb
4 changed files with 16 additions and 0 deletions
@@ -12,6 +12,7 @@ export interface IPage {
spaceId: string;
workspaceId: string;
isLocked: boolean;
isBase: boolean;
lastUpdatedById: string;
createdAt: Date;
updatedAt: Date;