2025-09-06 12:57:15 -05:00
|
|
|
|
using LANCommander.UI.Components;
|
2023-09-11 19:17:00 -05:00
|
|
|
|
|
2024-08-04 18:44:33 -05:00
|
|
|
|
namespace LANCommander.Server.Models
|
2023-03-02 18:50:24 -06:00
|
|
|
|
{
|
2023-09-11 17:56:23 -05:00
|
|
|
|
public class FilePickerOptions
|
2023-03-02 18:50:24 -06:00
|
|
|
|
{
|
|
|
|
|
|
public Guid ArchiveId { get; set; }
|
2023-09-11 17:56:23 -05:00
|
|
|
|
public string Root { get; set; }
|
2023-03-02 18:50:24 -06:00
|
|
|
|
public bool Select { get; set; }
|
2023-03-27 01:17:44 -05:00
|
|
|
|
public bool Multiple { get; set; } = false;
|
2023-09-11 19:17:00 -05:00
|
|
|
|
public Func<IFileManagerEntry, bool> EntryVisible { get; set; } = _ => true;
|
|
|
|
|
|
public Func<IFileManagerEntry, bool> EntrySelectable { get; set; } = _ => true;
|
2023-03-02 18:50:24 -06:00
|
|
|
|
}
|
|
|
|
|
|
}
|