mirror of
https://github.com/bitwarden/server
synced 2025-12-13 14:53:34 +00:00
19 lines
468 B
C#
19 lines
468 B
C#
using Bit.Seeder;
|
|
|
|
namespace Bit.SeederApi.Models.Response;
|
|
|
|
public class SceneResponseModel
|
|
{
|
|
public required Dictionary<string, string?>? MangleMap { get; init; }
|
|
public required object? Result { get; init; }
|
|
|
|
public static SceneResponseModel FromSceneResult<T>(SceneResult<T> sceneResult)
|
|
{
|
|
return new SceneResponseModel
|
|
{
|
|
Result = sceneResult.Result,
|
|
MangleMap = sceneResult.MangleMap,
|
|
};
|
|
}
|
|
}
|