|
@@ -196,6 +196,7 @@ export interface PageEntity {
|
|
|
children?: Array<PageEntity>
|
|
|
format?: 'markdown' | 'org'
|
|
|
journalDay?: number
|
|
|
+ updatedAt?: number
|
|
|
}
|
|
|
|
|
|
export type BlockIdentity = BlockUUID | Pick<BlockEntity, 'uuid'>
|
|
@@ -622,7 +623,7 @@ export interface IEditorProxy extends Record<string, any> {
|
|
|
|
|
|
renamePage: (oldName: string, newName: string) => Promise<void>
|
|
|
|
|
|
- getAllPages: (repo?: string) => Promise<any>
|
|
|
+ getAllPages: (repo?: string) => Promise<PageEntity[] | null>
|
|
|
|
|
|
prependBlockInPage: (
|
|
|
page: PageIdentity,
|