mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
feat: add tags support (#2988)
Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
10
packages/env/src/filter.ts
vendored
10
packages/env/src/filter.ts
vendored
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user