namespace MaksIT.UScheduler.UI.Services; /// Screens the snapshot tour can save. An empty request means every screen. public static class SnapshotViews { public static readonly string[] All = [ "scripts", "launch", "processes", "logs", "script-logs", "settings", "about", "program-log" ]; public static IReadOnlyList Resolve(IReadOnlyList requested) => requested.Count == 0 ? All : requested; public static bool IsKnown(string id) => All.Any(view => string.Equals(view, id, StringComparison.OrdinalIgnoreCase)); }