@lvce-editor/source-control-worker 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1701,6 +1701,7 @@ const executeProvider = async ({
|
|
|
1701
1701
|
};
|
|
1702
1702
|
|
|
1703
1703
|
const CommandExecute = 'ExtensionHostCommand.executeCommand';
|
|
1704
|
+
const SourceControlGetFileDecorations = 'ExtensionHost.sourceControlFileDecorations';
|
|
1704
1705
|
const SourceControlGetEnabledProviderIds = 'ExtensionHostSourceControl.getEnabledProviderIds';
|
|
1705
1706
|
const SourceControlGetFileBefore = 'ExtensionHostSourceControl.getFileBefore';
|
|
1706
1707
|
const SourceControlGetGroups = 'ExtensionHostSourceControl.getGroups';
|
|
@@ -1869,6 +1870,13 @@ const getFinalDeltaY = (height, itemHeight, itemsLength) => {
|
|
|
1869
1870
|
return finalDeltaY;
|
|
1870
1871
|
};
|
|
1871
1872
|
|
|
1873
|
+
const getFileDecorations$1 = (providerId, uris) => {
|
|
1874
|
+
return executeProvider({
|
|
1875
|
+
event: 'none',
|
|
1876
|
+
method: SourceControlGetFileDecorations,
|
|
1877
|
+
params: [providerId, uris]
|
|
1878
|
+
});
|
|
1879
|
+
};
|
|
1872
1880
|
const getFileBefore$1 = (providerId, path) => {
|
|
1873
1881
|
return executeProvider({
|
|
1874
1882
|
event: 'none',
|
|
@@ -1899,6 +1907,9 @@ const getIconDefinitions$1 = async providerId => {
|
|
|
1899
1907
|
return result;
|
|
1900
1908
|
};
|
|
1901
1909
|
|
|
1910
|
+
const getFileDecorations = (providerId, uris) => {
|
|
1911
|
+
return getFileDecorations$1(providerId, uris);
|
|
1912
|
+
};
|
|
1902
1913
|
const getFileBefore = (providerId, file) => {
|
|
1903
1914
|
return getFileBefore$1(providerId, file);
|
|
1904
1915
|
};
|
|
@@ -2975,6 +2986,7 @@ const commandMap = {
|
|
|
2975
2986
|
'SourceControl.create2': create2,
|
|
2976
2987
|
'SourceControl.diff2': diff2,
|
|
2977
2988
|
'SourceControl.getCommandIds': getCommandIds,
|
|
2989
|
+
'SourceControl.getFileDecorations': getFileDecorations,
|
|
2978
2990
|
'SourceControl.getInfo': getInfo,
|
|
2979
2991
|
'SourceControl.handleButtonClick': wrapCommand(handleButtonClick),
|
|
2980
2992
|
'SourceControl.handleClickAt': wrapCommand(handleClickAt),
|