1.2 KB28 lines
Blame
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/** Not all features of the VS Code API may be enabled / rolled out, so they are controlled individually.
9 * In OSS, they are all enabled. Internally, they may be disabled while transitioning from an older system.
10 * blame => inline and toggleable blame
11 * sidebar => VS Code SCM API, VS Code Source Control sidebar entry.
12 * diffview => diff commands, gutters. Requires 'sidebar'.
13 * */
14export type EnabledSCMApiFeature =
15 | 'blame'
16 | 'sidebar'
17 | 'comments'
18 | 'newInlineComments'
19 | 'aiFirstPassCodeReview';
20
21export enum ActionTriggerType {
22 ISL2InlineComment = 'ISL2InlineComment', // provided from the Sapling ISL Inline Comment
23 ISL2SmartActions = 'ISL2SmartActions', // provided from the Sapling ISL Smart Actions Menu
24 ISL2CommitInfoView = 'ISL2CommitInfoView', // provided from the Sapling ISL Commit Info View
25 ISL2MergeConflictView = 'ISL2MergeConflictView', // provided from the Sapling ISL Merge Conflict View
26 ISL2SplitCommit = 'ISL2SplitCommit', // provided from the Sapling ISL Split Commit UI
27}
28