feat(server): support making doc private in workspace (#10744)

This commit is contained in:
forehalo
2025-03-12 03:18:24 +00:00
parent 5f14c4248f
commit 1b62b4b625
7 changed files with 93 additions and 26 deletions

View File

@@ -1,4 +1,8 @@
export enum DocRole {
/**
* `None` equals to `role = null`, it only exists to give a value that API can use
*/
None = -(1 << 15),
External = 0,
Reader = 10,
Editor = 20,