mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 18:41:52 +08:00
refactor(core): favorite adapter (#6285)
1. abstraction over favourites that supports different type of resources 2. sorting abstraction
This commit is contained in:
Vendored
+3
@@ -20,6 +20,9 @@ declare global {
|
||||
|
||||
declare module '@blocksuite/store' {
|
||||
interface DocMeta {
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
favorite?: boolean;
|
||||
// If a page remove to trash, and it is a subpage, it will remove from its parent `subpageIds`, 'trashRelate' is use for save it parent
|
||||
trashRelate?: string;
|
||||
|
||||
Reference in New Issue
Block a user