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 Alex Yang
parent 65c6479ee4
commit 34ad5cdaef
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'];