using ErsatzTV.Application.Libraries; namespace ErsatzTV.Controllers.Api.Requests; // Id 0/absent = new path (matches UpdateLocalLibraryHandler's normalized-path-string identity merge; // the Id is advisory only — see design #202 §C4c). public record UpdateLocalLibraryPathRequest(int Id, string Path) { public UpdateLocalLibraryPath ToCommand() => new(Id, Path); }