Skip to content

Commit 77b43cb

Browse files
1 parent 88d0720 commit 77b43cb

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

Source/SourceControlManagement/DTO/SourceControlManagementProviderDTO.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ pub struct SourceControlManagementProviderDTO {
3737
#[serde(skip_serializing_if = "Option::is_none")]
3838
pub CommitTemplate:Option<String>,
3939

40+
/// The command executed when the user accepts the SCM input box (e.g.
41+
/// Ctrl+Enter).
42+
#[serde(skip_serializing_if = "Option::is_none")]
43+
pub AcceptInputCommand:Option<Value>,
44+
4045
/// The state of the SourceControlManagement input box (commit message
4146
/// area).
4247
#[serde(skip_serializing_if = "Option::is_none")]

Source/SourceControlManagement/DTO/SourceControlUpdateDTO.rs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,20 @@ pub struct SourceControlUpdateDTO {
1818
#[serde(skip_serializing_if = "Option::is_none")]
1919
pub InputBoxValue:Option<String>,
2020

21+
/// The new placeholder text for the commit message input box.
22+
#[serde(skip_serializing_if = "Option::is_none")]
23+
pub InputBoxPlaceholder:Option<String>,
24+
25+
/// The commit template string shown as placeholder when the input is empty.
26+
#[serde(skip_serializing_if = "Option::is_none")]
27+
pub CommitTemplate:Option<String>,
28+
29+
/// The command executed when the user accepts the input (e.g. presses
30+
/// Enter).
31+
#[serde(skip_serializing_if = "Option::is_none")]
32+
pub AcceptInputCommand:Option<serde_json::Value>,
33+
2134
/// The new count to display as a badge on the SourceControlManagement icon.
2235
#[serde(skip_serializing_if = "Option::is_none")]
2336
pub Count:Option<u32>,
24-
// This could be expanded to include other updatable properties.
2537
}

0 commit comments

Comments
 (0)