mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 09:06:19 +08:00
fix(server): add mode property on mention doc input (#10853)
This commit is contained in:
@@ -13,7 +13,13 @@ export interface Doc {
|
||||
|
||||
export type DocEditor = Pick<User, 'id' | 'name' | 'avatarUrl'>;
|
||||
|
||||
// TODO(@fengmk2): only used it inside the DocModel, use DocMode instead on the other places
|
||||
export enum PublicDocMode {
|
||||
Page,
|
||||
Edgeless,
|
||||
}
|
||||
|
||||
export enum DocMode {
|
||||
page = 'page',
|
||||
edgeless = 'edgeless',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user