Forgot unversioned xd
This commit is contained in:
14
SVSim.EmulatedEntrypoint/Models/Dtos/Common/EmptyResponse.cs
Normal file
14
SVSim.EmulatedEntrypoint/Models/Dtos/Common/EmptyResponse.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Common;
|
||||
|
||||
/// <summary>
|
||||
/// Shared empty response. Used for endpoints whose spec mock is `"data": {}`
|
||||
/// (set_deck_redis, update_order, delete_deck_list, etc.). Includes a sentinel
|
||||
/// nullable field so MessagePack-CSharp emits a string-keyed empty map cleanly.
|
||||
/// </summary>
|
||||
[MessagePackObject]
|
||||
public class EmptyResponse
|
||||
{
|
||||
[Key("_")] public object? Reserved { get; set; }
|
||||
}
|
||||
15
SVSim.EmulatedEntrypoint/Models/Dtos/Common/Reward.cs
Normal file
15
SVSim.EmulatedEntrypoint/Models/Dtos/Common/Reward.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Common;
|
||||
|
||||
/// <summary>
|
||||
/// Stub for the Reward shape (spec: common/types.ts.md#reward). Fleshed out when actual
|
||||
/// reward-granting flows land. Today's endpoints all emit empty reward_list arrays.
|
||||
/// </summary>
|
||||
[MessagePackObject]
|
||||
public class Reward
|
||||
{
|
||||
[Key("type")] public int? Type { get; set; }
|
||||
[Key("value")] public long? Value { get; set; }
|
||||
[Key("num")] public int? Num { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user