Push changes

This commit is contained in:
Yury
2025-02-24 01:06:32 +02:00
parent 1bfb16539f
commit 280b87314c
126 changed files with 5935 additions and 1265 deletions
@@ -0,0 +1,31 @@
using System.Text.Json.Serialization;
using Prospect.Server.Api.Services.CloudScript;
public class RequestMigrateSteamAccountFromCB1Request
{
[JsonPropertyName("steamId")]
public string SteamID { get; set; }
}
public class RequestMigrateSteamAccountFromCB1Response
{}
[CloudScriptFunction("RequestMigrateSteamAccountFromCB1")]
public class RequestMigrateSteamAccountFromCB1Function : ICloudScriptFunction<RequestMigrateSteamAccountFromCB1Request, RequestMigrateSteamAccountFromCB1Response>
{
private readonly ILogger<RequestMigrateSteamAccountFromCB1Function> _logger;
public RequestMigrateSteamAccountFromCB1Function(ILogger<RequestMigrateSteamAccountFromCB1Function> logger)
{
_logger = logger;
}
public async Task<RequestMigrateSteamAccountFromCB1Response> ExecuteAsync(RequestMigrateSteamAccountFromCB1Request request)
{
_logger.LogInformation("Processing CB1 account migration request request for Steam account {SteamID}",
request.SteamID);
return new RequestMigrateSteamAccountFromCB1Response
{};
}
}