File tree Expand file tree Collapse file tree
Source/SourceControlManagement/DTO Expand file tree Collapse file tree Original file line number Diff line number Diff 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" ) ]
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments