[WIKI-576] fix: trail node (#7527)
* fix : trail node * remove flagged * refactor : add disable flagging * refactor:update disabled extension * refactor: additional disabled * refactor: update enum * chore: add description key to page response type * chore: update base page instance --------- Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
This commit is contained in:
parent
c3273b1a85
commit
fa150c2b47
8 changed files with 70 additions and 19 deletions
|
|
@ -2,12 +2,13 @@ import { TLogoProps } from "../common";
|
|||
import { EPageAccess } from "../enums";
|
||||
import { TPageExtended } from "./extended";
|
||||
|
||||
export type TPage = TPageExtended & {
|
||||
export type TPage = {
|
||||
access: EPageAccess | undefined;
|
||||
archived_at: string | null | undefined;
|
||||
color: string | undefined;
|
||||
created_at: Date | undefined;
|
||||
created_by: string | undefined;
|
||||
description: object | undefined;
|
||||
description_html: string | undefined;
|
||||
id: string | undefined;
|
||||
is_favorite: boolean;
|
||||
|
|
@ -20,7 +21,7 @@ export type TPage = TPageExtended & {
|
|||
updated_by: string | undefined;
|
||||
workspace: string | undefined;
|
||||
logo_props: TLogoProps | undefined;
|
||||
};
|
||||
} & TPageExtended;
|
||||
|
||||
// page filters
|
||||
export type TPageNavigationTabs = "public" | "private" | "archived";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue