This commit is contained in:
Łukasz Domeradzki
2024-03-25 23:03:49 +01:00
parent f9f6e207d4
commit f98fd85fe9
3 changed files with 3 additions and 4 deletions

View File

@@ -56,7 +56,6 @@ internal sealed class MonitoringPlugin : OfficialPlugin, IWebServiceProvider, IG
[Required]
public override string Name => nameof(MonitoringPlugin);
/// <inheritdoc />
public string RepositoryName => SharedInfo.GithubRepo;
[JsonInclude]

View File

@@ -43,7 +43,7 @@ public sealed class PluginsController : ArchiController {
public ActionResult<GenericResponse<IReadOnlyCollection<IPlugin>>> PluginsGet() => Ok(new GenericResponse<IReadOnlyCollection<IPlugin>>(PluginsCore.ActivePlugins));
/// <summary>
/// Makes ASF update loaded plugins.
/// Makes ASF update selected plugins.
/// </summary>
[HttpPost("Update")]
[ProducesResponseType<GenericResponse<string>>((int) HttpStatusCode.OK)]

View File

@@ -31,7 +31,7 @@ namespace ArchiSteamFarm.IPC.Requests;
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
public sealed class PluginUpdateRequest {
/// <summary>
/// Target update channel. Not required, will default to UpdateChannel in <see cref="GlobalConfig" /> if not provided.
/// Target update channel. Not required, will default to <see cref="GlobalConfig.UpdateChannel" /> if not provided.
/// </summary>
[JsonInclude]
public GlobalConfig.EUpdateChannel? Channel { get; private init; }
@@ -43,7 +43,7 @@ public sealed class PluginUpdateRequest {
public bool Forced { get; private init; }
/// <summary>
/// Target plugins. Not required, will default to plugin update configuration in <see cref="GlobalConfig" /> if not provided
/// Target plugins. Not required, will default to plugin update configuration in <see cref="GlobalConfig" /> if not provided.
/// </summary>
[JsonInclude]
public ImmutableHashSet<string>? Plugins { get; private init; }