| b69ab31 | | | 1 | /** |
| b69ab31 | | | 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| b69ab31 | | | 3 | * |
| b69ab31 | | | 4 | * This source code is licensed under the MIT license found in the |
| b69ab31 | | | 5 | * LICENSE file in the root directory of this source tree. |
| b69ab31 | | | 6 | */ |
| b69ab31 | | | 7 | |
| b69ab31 | | | 8 | /** Not all features of the VS Code API may be enabled / rolled out, so they are controlled individually. |
| b69ab31 | | | 9 | * In OSS, they are all enabled. Internally, they may be disabled while transitioning from an older system. |
| b69ab31 | | | 10 | * blame => inline and toggleable blame |
| b69ab31 | | | 11 | * sidebar => VS Code SCM API, VS Code Source Control sidebar entry. |
| b69ab31 | | | 12 | * diffview => diff commands, gutters. Requires 'sidebar'. |
| b69ab31 | | | 13 | * */ |
| b69ab31 | | | 14 | export type EnabledSCMApiFeature = |
| b69ab31 | | | 15 | | 'blame' |
| b69ab31 | | | 16 | | 'sidebar' |
| b69ab31 | | | 17 | | 'comments' |
| b69ab31 | | | 18 | | 'newInlineComments' |
| b69ab31 | | | 19 | | 'aiFirstPassCodeReview'; |
| b69ab31 | | | 20 | |
| b69ab31 | | | 21 | export enum ActionTriggerType { |
| b69ab31 | | | 22 | ISL2InlineComment = 'ISL2InlineComment', // provided from the Sapling ISL Inline Comment |
| b69ab31 | | | 23 | ISL2SmartActions = 'ISL2SmartActions', // provided from the Sapling ISL Smart Actions Menu |
| b69ab31 | | | 24 | ISL2CommitInfoView = 'ISL2CommitInfoView', // provided from the Sapling ISL Commit Info View |
| b69ab31 | | | 25 | ISL2MergeConflictView = 'ISL2MergeConflictView', // provided from the Sapling ISL Merge Conflict View |
| b69ab31 | | | 26 | ISL2SplitCommit = 'ISL2SplitCommit', // provided from the Sapling ISL Split Commit UI |
| b69ab31 | | | 27 | } |