chore(core): doc role telemetry (#10822)

This commit is contained in:
forehalo
2025-03-13 08:15:46 +00:00
parent 7ba1c1b271
commit 7100d87efe
4 changed files with 51 additions and 17 deletions
+2 -14
View File
@@ -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';
};