| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | */ |
| 7 | |
| 8 | export type TrackEventName = |
| 9 | | 'CommitContextMenuItemClick' |
| 10 | | 'ClickedRefresh' |
| 11 | | 'ClientConnection' |
| 12 | | 'LoadMoreCommits' |
| 13 | | 'RunOperation' |
| 14 | | 'TopLevelErrorShown' |
| 15 | | 'UIEmptyState' |
| 16 | | 'HeadCommitChanged' |
| 17 | | 'AbortMergeOperation' |
| 18 | | 'PullOperation' |
| 19 | | 'PushOperation' |
| 20 | | 'AddOperation' |
| 21 | | 'AddRemoveOperation' |
| 22 | | 'AICodeReviewInitiatedFromISL' |
| 23 | | 'AICodeReviewCompleted' |
| 24 | | 'AlertShown' |
| 25 | | 'AlertDismissed' |
| 26 | | 'AmendMessageOperation' |
| 27 | | 'AmendOperation' |
| 28 | | 'AmendFileSubsetOperation' |
| 29 | | 'AmendToOperation' |
| 30 | | 'ArcPullOperation' |
| 31 | | 'ArcStableForCommand' |
| 32 | | 'ArcStableServerStablesCommand' |
| 33 | | 'BulkRebaseOperation' |
| 34 | | 'BookmarksCommand' |
| 35 | | 'BookmarkCreateOperation' |
| 36 | | 'BookmarkDeleteOperation' |
| 37 | | 'CommitOperation' |
| 38 | | 'CommitFileSubsetOperation' |
| 39 | | 'ContinueMergeOperation' |
| 40 | | 'CopyCommitFieldsFromParent' |
| 41 | | 'CommitCloudStatusCommand' |
| 42 | | 'CommitCloudListCommand' |
| 43 | | 'CommitCloudSyncBackupStatusCommand' |
| 44 | | 'CommitCloudChangeWorkspaceOperation' |
| 45 | | 'CommitCloudCreateWorkspaceOperation' |
| 46 | | 'CommitCloudSyncOperation' |
| 47 | | 'CreateEmptyInitialCommit' |
| 48 | | 'ClickGotoTimeButton' |
| 49 | | 'ClickPullButton' |
| 50 | | 'ClickSuggestedRebase' |
| 51 | | 'ClickRebaseOntoSuccessor' |
| 52 | | 'ClickedConfigureExternalMergeTool' |
| 53 | | 'DevmateFillCommitMessage' |
| 54 | | 'DevmateResolveAllConflicts' |
| 55 | | 'DiscardOperation' |
| 56 | | 'DiagnosticsConfirmationOpportunity' |
| 57 | | 'DiagnosticsConfirmationAction' |
| 58 | | 'DiffFetchSource' |
| 59 | | 'EnterMergeConflicts' |
| 60 | | 'EdenWatcherEvent' |
| 61 | | 'ExitMergeConflicts' |
| 62 | | 'FetchPendingSloc' |
| 63 | | 'FetchSloc' |
| 64 | | 'ForgetOperation' |
| 65 | | 'FoldOperation' |
| 66 | | 'FillCommitMessage' |
| 67 | | 'FocusChanged' |
| 68 | | 'SetFocusMode' |
| 69 | | 'GettingStartedInteraction' |
| 70 | | 'GetSuggestedReviewers' |
| 71 | | 'GetAlertsCommand' |
| 72 | | 'GetCurrentStack' |
| 73 | | 'GetFullFocusedBranch' |
| 74 | | 'AcceptSuggestedReviewer' |
| 75 | | 'GhStackSubmitOperation' |
| 76 | | 'GotoOperation' |
| 77 | | 'GoBackToOldISL' |
| 78 | | 'GoBackToOldISLOnce' |
| 79 | | 'GoBackToOldISLReason' |
| 80 | | 'GraftOperation' |
| 81 | | 'HideOperation' |
| 82 | | 'ImportStackOperation' |
| 83 | | 'LandModalOpen' |
| 84 | | 'LandModalConfirm' |
| 85 | | 'LandModalSuccess' |
| 86 | | 'LandModalError' |
| 87 | | 'LandModalUriLandShown' |
| 88 | | 'LandModalCliLandShown' |
| 89 | | 'LandRoadblockShown' |
| 90 | | 'LandRoadblockContinue' |
| 91 | | 'LandRoadblockContinueExternal' |
| 92 | | 'LandSyncWarningShown' |
| 93 | | 'LandSyncWarningChoseUseRemote' |
| 94 | | 'LandSyncWarningChoseSyncLocal' |
| 95 | | 'NopOperation' |
| 96 | | 'PartialCommitOperation' |
| 97 | | 'PartialAmendOperation' |
| 98 | | 'PartialDiscardOperation' |
| 99 | | 'PhabricatorGenAIFunnelEvent' |
| 100 | // @lint-ignore SPELL |
| 101 | | 'PhabricatorCommentOpporunity' |
| 102 | | 'PhabricatorCommentShown' |
| 103 | | 'PhabricatorCommentResolve' |
| 104 | | 'PhabricatorCommentUnresolve' |
| 105 | | 'PhabricatorCommentsHideInEditor' |
| 106 | | 'PhabricatorCommentsShowInEditor' |
| 107 | | 'PhabricatorCommentsInsetHide' |
| 108 | | 'PhabricatorCommentsInsetShow' |
| 109 | | 'PhabricatorCommentsAIResolve' |
| 110 | | 'PhabricatorRollbackPlanEvent' |
| 111 | | 'PrSubmitOperation' |
| 112 | | 'PullOperation' |
| 113 | | 'PullRevOperation' |
| 114 | | 'PurgeOperation' |
| 115 | | 'RebaseWarningTimeout' |
| 116 | | 'RebaseKeepOperation' |
| 117 | | 'RebaseAllDraftCommitsOperation' |
| 118 | | 'RebaseOperation' |
| 119 | | 'ConfirmDragAndDropRebase' |
| 120 | | 'ResolveOperation' |
| 121 | | 'AutoMarkResolvedOperation' |
| 122 | | 'ResolveInExternalMergeToolOperation' |
| 123 | | 'UsingExternalMergeTool' |
| 124 | | 'RevertOperation' |
| 125 | | 'RmOperation' |
| 126 | | 'RunMergeDriversOperation' |
| 127 | | 'SetConfigOperation' |
| 128 | | 'ShelveOperation' |
| 129 | | 'DeleteShelveOperation' |
| 130 | | 'UnshelveOperation' |
| 131 | | 'RunCommand' |
| 132 | | 'StatusCommand' |
| 133 | | 'SawStableLocation' |
| 134 | | 'LogCommand' |
| 135 | | 'LookupCommitsCommand' |
| 136 | | 'LookupAllCommitChangedFilesCommand' |
| 137 | | 'GetShelvesCommand' |
| 138 | | 'GetConflictsCommand' |
| 139 | | 'BlameCommand' |
| 140 | | 'CatCommand' |
| 141 | | 'DiffCommand' |
| 142 | | 'FetchCommitTemplateCommand' |
| 143 | | 'ImportStackCommand' |
| 144 | | 'ExportStackCommand' |
| 145 | | 'ExitMessageOutOfOrder' |
| 146 | | 'ShowBugButtonNux' |
| 147 | | 'SmartActionClicked' |
| 148 | | 'SmartActionsMenuOpened' |
| 149 | | 'DevmateSplitWithDevmateButtonClicked' |
| 150 | | 'StackEditMetrics' |
| 151 | | 'StackEditChangeTab' |
| 152 | | 'StackEditInlineSplitButton' |
| 153 | | 'SplitOpenFromCommitContextMenu' |
| 154 | | 'SplitOpenFromHeadCommit' |
| 155 | | 'SplitOpenFromSmartActions' |
| 156 | | 'SplitOpenRangeSelector' |
| 157 | | 'SubmitSingleCommit' |
| 158 | | 'AISplitButtonClick' |
| 159 | | 'SuccessionsDetected' |
| 160 | | 'BuggySuccessionDetected' |
| 161 | | 'SyncDiffMessageMutation' |
| 162 | | 'ConfirmSyncNewDiffNumber' |
| 163 | | 'UncommitOperation' |
| 164 | | 'JfSubmitOperation' |
| 165 | | 'ConfSubmitOperation' |
| 166 | | 'ConfSubmitFallback' |
| 167 | | 'JfGetOperation' |
| 168 | | 'JfUnlinkOperation' |
| 169 | | 'JumpToInlineComment' |
| 170 | | 'OptimisticFilesStateForceResolved' |
| 171 | | 'OptimisticCommitsStateForceResolved' |
| 172 | | 'OptimisticConflictsStateForceResolved' |
| 173 | | 'OpenAllFiles' |
| 174 | | 'OpenComments' |
| 175 | | 'QueueOperation' |
| 176 | | 'QueueCancelledWarningShown' |
| 177 | | 'RecoverCommitMessageFromOperationError' |
| 178 | | 'QueryGraphQL' |
| 179 | | 'UploadImage' |
| 180 | | 'RunVSCodeCommand' |
| 181 | | 'RageCommand' |
| 182 | | 'RepoUrlCommand' |
| 183 | | 'BlameLoaded' |
| 184 | | 'VSCodeExtensionActivated' |
| 185 | | 'UseCustomCommitMessageTemplate' |
| 186 | | 'SlocCommand' |
| 187 | | 'SplitSuggestionError' |
| 188 | | 'SplitOpenFromSplitSuggestion' |
| 189 | | 'PendingSlocCommand' |
| 190 | | 'PostOperationCommitInfoCommand' |
| 191 | | 'SplitSuggestionsDismissedForSevenDays' |
| 192 | | 'WarnAboutRebaseOffWarm' |
| 193 | | 'WarnAboutDistantRebase' |
| 194 | | 'WarnAboutRebaseOntoMaster' |
| 195 | | 'WarnAboutSuggestedEdits' |
| 196 | | 'WatchmanEvent' |
| 197 | | 'SaplingISLUriHandlerHandle' |
| 198 | | 'CommitInfoFieldEditFieldClick' |
| 199 | | 'ReadWarmCommit' |
| 200 | | 'RecommendedBookmarksStatus' |
| 201 | | 'RecommendedBookmarksToggle' |
| 202 | | 'RecommendedBookmarksReminderResponse' |
| 203 | | 'RecommendTestPlanButtonClicked' |
| 204 | | 'GenerateSummaryButtonClicked' |
| 205 | | 'PullFullRepoBranchOperation' |
| 206 | | 'StartDeferredTestsClicked' |
| 207 | | 'StartDeferredTestsFailed' |
| 208 | | 'StartDeferredTestsSuccess' |
| 209 | | 'SubtreeMergeOperation'; |
| 210 | |
| 211 | export type TrackErrorName = |
| 212 | | 'BlameError' |
| 213 | | 'DiffFetchFailed' |
| 214 | | 'EdenFsUnhealthy' |
| 215 | | 'EdenWatcherError' |
| 216 | | 'InvalidCwd' |
| 217 | | 'InvalidCommand' |
| 218 | | 'JfNotAuthenticated' |
| 219 | | 'GhCliNotAuthenticated' |
| 220 | | 'GhCliNotInstalled' |
| 221 | | 'LandModalError' |
| 222 | | 'TopLevelError' |
| 223 | | 'FetchError' |
| 224 | | 'RunOperationError' |
| 225 | | 'RunCommandError' |
| 226 | | 'RepositoryError' |
| 227 | | 'SyncMessageError' |
| 228 | | 'UploadImageError' |
| 229 | | 'VSCodeCommandError' |
| 230 | | 'VSCodeActivationError' |
| 231 | | 'SplitSuggestionError' |
| 232 | | 'FileReadError' |
| 233 | | 'WatchmanError' |
| 234 | | 'AICodeReviewError'; |
| 235 | |