mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat: Notification Email Templates (#13940)
This commit is contained in:
parent
4bf1b84cc2
commit
292182fa7f
32 changed files with 1136 additions and 105 deletions
10
mobile/openapi/lib/model/system_config_dto.dart
generated
10
mobile/openapi/lib/model/system_config_dto.dart
generated
|
|
@ -29,6 +29,7 @@ class SystemConfigDto {
|
|||
required this.reverseGeocoding,
|
||||
required this.server,
|
||||
required this.storageTemplate,
|
||||
required this.templates,
|
||||
required this.theme,
|
||||
required this.trash,
|
||||
required this.user,
|
||||
|
|
@ -66,6 +67,8 @@ class SystemConfigDto {
|
|||
|
||||
SystemConfigStorageTemplateDto storageTemplate;
|
||||
|
||||
SystemConfigTemplatesDto templates;
|
||||
|
||||
SystemConfigThemeDto theme;
|
||||
|
||||
SystemConfigTrashDto trash;
|
||||
|
|
@ -90,6 +93,7 @@ class SystemConfigDto {
|
|||
other.reverseGeocoding == reverseGeocoding &&
|
||||
other.server == server &&
|
||||
other.storageTemplate == storageTemplate &&
|
||||
other.templates == templates &&
|
||||
other.theme == theme &&
|
||||
other.trash == trash &&
|
||||
other.user == user;
|
||||
|
|
@ -113,12 +117,13 @@ class SystemConfigDto {
|
|||
(reverseGeocoding.hashCode) +
|
||||
(server.hashCode) +
|
||||
(storageTemplate.hashCode) +
|
||||
(templates.hashCode) +
|
||||
(theme.hashCode) +
|
||||
(trash.hashCode) +
|
||||
(user.hashCode);
|
||||
|
||||
@override
|
||||
String toString() => 'SystemConfigDto[backup=$backup, ffmpeg=$ffmpeg, image=$image, job=$job, library_=$library_, logging=$logging, machineLearning=$machineLearning, map=$map, metadata=$metadata, newVersionCheck=$newVersionCheck, notifications=$notifications, oauth=$oauth, passwordLogin=$passwordLogin, reverseGeocoding=$reverseGeocoding, server=$server, storageTemplate=$storageTemplate, theme=$theme, trash=$trash, user=$user]';
|
||||
String toString() => 'SystemConfigDto[backup=$backup, ffmpeg=$ffmpeg, image=$image, job=$job, library_=$library_, logging=$logging, machineLearning=$machineLearning, map=$map, metadata=$metadata, newVersionCheck=$newVersionCheck, notifications=$notifications, oauth=$oauth, passwordLogin=$passwordLogin, reverseGeocoding=$reverseGeocoding, server=$server, storageTemplate=$storageTemplate, templates=$templates, theme=$theme, trash=$trash, user=$user]';
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final json = <String, dynamic>{};
|
||||
|
|
@ -138,6 +143,7 @@ class SystemConfigDto {
|
|||
json[r'reverseGeocoding'] = this.reverseGeocoding;
|
||||
json[r'server'] = this.server;
|
||||
json[r'storageTemplate'] = this.storageTemplate;
|
||||
json[r'templates'] = this.templates;
|
||||
json[r'theme'] = this.theme;
|
||||
json[r'trash'] = this.trash;
|
||||
json[r'user'] = this.user;
|
||||
|
|
@ -169,6 +175,7 @@ class SystemConfigDto {
|
|||
reverseGeocoding: SystemConfigReverseGeocodingDto.fromJson(json[r'reverseGeocoding'])!,
|
||||
server: SystemConfigServerDto.fromJson(json[r'server'])!,
|
||||
storageTemplate: SystemConfigStorageTemplateDto.fromJson(json[r'storageTemplate'])!,
|
||||
templates: SystemConfigTemplatesDto.fromJson(json[r'templates'])!,
|
||||
theme: SystemConfigThemeDto.fromJson(json[r'theme'])!,
|
||||
trash: SystemConfigTrashDto.fromJson(json[r'trash'])!,
|
||||
user: SystemConfigUserDto.fromJson(json[r'user'])!,
|
||||
|
|
@ -235,6 +242,7 @@ class SystemConfigDto {
|
|||
'reverseGeocoding',
|
||||
'server',
|
||||
'storageTemplate',
|
||||
'templates',
|
||||
'theme',
|
||||
'trash',
|
||||
'user',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue