using System.Text.Json; using Bit.SeederApi.Models.Response; namespace Bit.SeederApi.Execution; /// /// Executor for dynamically resolving and executing scenes by template name. /// This is an infrastructure component that orchestrates scene execution, /// not a domain-level command. /// public interface ISceneExecutor { /// /// Executes a scene with the given template name and arguments. /// /// The name of the scene template (e.g., "SingleUserScene") /// Optional JSON arguments to pass to the scene's Seed method /// A scene response model containing the result and mangle map /// Thrown when the scene template is not found /// Thrown when there's an error executing the scene Task ExecuteAsync(string templateName, JsonElement? arguments); }