mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
doc property upgraded to use orm. The visibility of the property are simplified to three types: `always show`, `always hide`, `hide when empty`, and the default is `always show`.  Added a sidebar view to manage properties  new property ui in workspace settings  Property lists can be collapsed 
12 lines
250 B
TypeScript
12 lines
250 B
TypeScript
import type { DocCustomPropertyInfo } from '../db';
|
|
|
|
/**
|
|
* default built-in custom property, user can update and delete them
|
|
*/
|
|
export const BUILT_IN_CUSTOM_PROPERTY_TYPE = [
|
|
{
|
|
id: 'tags',
|
|
type: 'tags',
|
|
},
|
|
] as DocCustomPropertyInfo[];
|