-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy pathIServerSettings.cs
More file actions
69 lines (64 loc) · 2.45 KB
/
Copy pathIServerSettings.cs
File metadata and controls
69 lines (64 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
namespace ImmichFrame.Core.Interfaces
{
public interface IServerSettings
{
public IEnumerable<IAccountSettings> Accounts { get; }
public IGeneralSettings GeneralSettings { get; }
public void Validate();
}
public interface IAccountSettings
{
public string ImmichServerUrl { get; }
public string ApiKey { get; }
public string? ApiKeyFile { get; }
public bool ShowMemories { get; }
public bool ShowFavorites { get; }
public bool ShowArchived { get; }
public int? ImagesFromDays { get; }
public DateTime? ImagesFromDate { get; }
public DateTime? ImagesUntilDate { get; }
public List<Guid> Albums { get; }
public List<Guid> ExcludedAlbums { get; }
public List<Guid> People { get; }
public int? Rating { get; }
public void ValidateAndInitialize();
}
public interface IGeneralSettings
{
public List<string> Webcalendars { get; }
public int RefreshAlbumPeopleInterval { get; }
public string? WeatherApiKey { get; }
public string? WeatherLatLong { get; }
public string? UnitSystem { get; }
public string? Webhook { get; }
public string? AuthenticationSecret { get; }
public int Interval { get; }
public double TransitionDuration { get; }
public bool DownloadImages { get; }
public int RenewImagesDuration { get; }
public bool ShowClock { get; }
public string? ClockFormat { get; }
public string? ClockDateFormat { get; }
public bool ShowProgressBar { get; }
public bool ShowPhotoDate { get; }
public string? PhotoDateFormat { get; }
public bool ShowImageDesc { get; }
public bool ShowPeopleDesc { get; }
public bool ShowAlbumName { get; }
public bool ShowImageLocation { get; }
public string? ImageLocationFormat { get; }
public string? PrimaryColor { get; }
public string? SecondaryColor { get; }
public string Style { get; }
public string? BaseFontSize { get; }
public bool ShowWeatherDescription { get; }
public string? WeatherIconUrl { get; }
public bool ImageZoom { get; }
public bool ImagePan { get; }
public bool ImageFill { get; }
public string Layout { get; }
public string Language { get; }
public string? BaseUrl { get; }
public void Validate();
}
}