feat: add tags support (#2988)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
3720
2023-07-04 15:32:11 +08:00
committed by GitHub
parent e871ffcba0
commit 000f802baa
34 changed files with 706 additions and 78 deletions

View File

@@ -1,3 +1,5 @@
import type { Workspace } from '@blocksuite/store';
export type LiteralValue =
| number
| string
@@ -33,3 +35,11 @@ export type Collection = {
allowList?: string[];
excludeList?: string[];
};
export type Tag = {
id: string;
value: string;
color: string;
parentId?: string;
};
export type PropertiesMeta = Workspace['meta']['properties'];