mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 22:38:56 +08:00
chore(core): doc role telemetry (#10822)
This commit is contained in:
@@ -443,14 +443,6 @@ type AttachmentEventArgs = {
|
||||
type: string; // file type
|
||||
};
|
||||
|
||||
type DocRoleControlType =
|
||||
| 'Owner'
|
||||
| 'Editor'
|
||||
| 'Manager'
|
||||
| 'Reader'
|
||||
| 'External'
|
||||
| 'Remove';
|
||||
|
||||
type TabActionControlType =
|
||||
| 'click'
|
||||
| 'dnd'
|
||||
@@ -546,12 +538,8 @@ export type EventArgs = {
|
||||
openAttachmentInNewTab: AttachmentEventArgs;
|
||||
openAttachmentInPeekView: AttachmentEventArgs;
|
||||
openAttachmentInSplitView: AttachmentEventArgs;
|
||||
modifyUserDocRole: {
|
||||
control: DocRoleControlType;
|
||||
};
|
||||
modifyDocDefaultRole: {
|
||||
control: DocRoleControlType;
|
||||
};
|
||||
modifyUserDocRole: { role: string };
|
||||
modifyDocDefaultRole: { role: string };
|
||||
inviteUserDocRole: {
|
||||
control: 'member list';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user