mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-16 14:30:31 +00:00
Misc
This commit is contained in:
@@ -56,7 +56,6 @@ internal sealed class MonitoringPlugin : OfficialPlugin, IWebServiceProvider, IG
|
|||||||
[Required]
|
[Required]
|
||||||
public override string Name => nameof(MonitoringPlugin);
|
public override string Name => nameof(MonitoringPlugin);
|
||||||
|
|
||||||
/// <inheritdoc />
|
|
||||||
public string RepositoryName => SharedInfo.GithubRepo;
|
public string RepositoryName => SharedInfo.GithubRepo;
|
||||||
|
|
||||||
[JsonInclude]
|
[JsonInclude]
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ public sealed class PluginsController : ArchiController {
|
|||||||
public ActionResult<GenericResponse<IReadOnlyCollection<IPlugin>>> PluginsGet() => Ok(new GenericResponse<IReadOnlyCollection<IPlugin>>(PluginsCore.ActivePlugins));
|
public ActionResult<GenericResponse<IReadOnlyCollection<IPlugin>>> PluginsGet() => Ok(new GenericResponse<IReadOnlyCollection<IPlugin>>(PluginsCore.ActivePlugins));
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Makes ASF update loaded plugins.
|
/// Makes ASF update selected plugins.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[HttpPost("Update")]
|
[HttpPost("Update")]
|
||||||
[ProducesResponseType<GenericResponse<string>>((int) HttpStatusCode.OK)]
|
[ProducesResponseType<GenericResponse<string>>((int) HttpStatusCode.OK)]
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ namespace ArchiSteamFarm.IPC.Requests;
|
|||||||
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
|
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
|
||||||
public sealed class PluginUpdateRequest {
|
public sealed class PluginUpdateRequest {
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
[JsonInclude]
|
[JsonInclude]
|
||||||
public GlobalConfig.EUpdateChannel? Channel { get; private init; }
|
public GlobalConfig.EUpdateChannel? Channel { get; private init; }
|
||||||
@@ -43,7 +43,7 @@ public sealed class PluginUpdateRequest {
|
|||||||
public bool Forced { get; private init; }
|
public bool Forced { get; private init; }
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
[JsonInclude]
|
[JsonInclude]
|
||||||
public ImmutableHashSet<string>? Plugins { get; private init; }
|
public ImmutableHashSet<string>? Plugins { get; private init; }
|
||||||
|
|||||||
Reference in New Issue
Block a user