You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-08-07 23:03:36 +02:00
feat: adds option to search only for untagged assets (#19730)
Co-authored-by: SkwalExe <skwal@skwal.net>
This commit is contained in:
committed by
GitHub
parent
818bdde317
commit
f778adea92
@ -241,7 +241,7 @@ class MetadataSearchDto {
|
||||
|
||||
String? state;
|
||||
|
||||
List<String> tagIds;
|
||||
List<String>? tagIds;
|
||||
|
||||
///
|
||||
/// Please note: This property should have been non-nullable! Since the specification file
|
||||
@ -425,7 +425,7 @@ class MetadataSearchDto {
|
||||
(rating == null ? 0 : rating!.hashCode) +
|
||||
(size == null ? 0 : size!.hashCode) +
|
||||
(state == null ? 0 : state!.hashCode) +
|
||||
(tagIds.hashCode) +
|
||||
(tagIds == null ? 0 : tagIds!.hashCode) +
|
||||
(takenAfter == null ? 0 : takenAfter!.hashCode) +
|
||||
(takenBefore == null ? 0 : takenBefore!.hashCode) +
|
||||
(thumbnailPath == null ? 0 : thumbnailPath!.hashCode) +
|
||||
@ -578,7 +578,11 @@ class MetadataSearchDto {
|
||||
} else {
|
||||
// json[r'state'] = null;
|
||||
}
|
||||
if (this.tagIds != null) {
|
||||
json[r'tagIds'] = this.tagIds;
|
||||
} else {
|
||||
// json[r'tagIds'] = null;
|
||||
}
|
||||
if (this.takenAfter != null) {
|
||||
json[r'takenAfter'] = this.takenAfter!.toUtc().toIso8601String();
|
||||
} else {
|
||||
|
8
mobile/openapi/lib/model/random_search_dto.dart
generated
8
mobile/openapi/lib/model/random_search_dto.dart
generated
@ -155,7 +155,7 @@ class RandomSearchDto {
|
||||
|
||||
String? state;
|
||||
|
||||
List<String> tagIds;
|
||||
List<String>? tagIds;
|
||||
|
||||
///
|
||||
/// Please note: This property should have been non-nullable! Since the specification file
|
||||
@ -310,7 +310,7 @@ class RandomSearchDto {
|
||||
(rating == null ? 0 : rating!.hashCode) +
|
||||
(size == null ? 0 : size!.hashCode) +
|
||||
(state == null ? 0 : state!.hashCode) +
|
||||
(tagIds.hashCode) +
|
||||
(tagIds == null ? 0 : tagIds!.hashCode) +
|
||||
(takenAfter == null ? 0 : takenAfter!.hashCode) +
|
||||
(takenBefore == null ? 0 : takenBefore!.hashCode) +
|
||||
(trashedAfter == null ? 0 : trashedAfter!.hashCode) +
|
||||
@ -416,7 +416,11 @@ class RandomSearchDto {
|
||||
} else {
|
||||
// json[r'state'] = null;
|
||||
}
|
||||
if (this.tagIds != null) {
|
||||
json[r'tagIds'] = this.tagIds;
|
||||
} else {
|
||||
// json[r'tagIds'] = null;
|
||||
}
|
||||
if (this.takenAfter != null) {
|
||||
json[r'takenAfter'] = this.takenAfter!.toUtc().toIso8601String();
|
||||
} else {
|
||||
|
8
mobile/openapi/lib/model/smart_search_dto.dart
generated
8
mobile/openapi/lib/model/smart_search_dto.dart
generated
@ -175,7 +175,7 @@ class SmartSearchDto {
|
||||
|
||||
String? state;
|
||||
|
||||
List<String> tagIds;
|
||||
List<String>? tagIds;
|
||||
|
||||
///
|
||||
/// Please note: This property should have been non-nullable! Since the specification file
|
||||
@ -318,7 +318,7 @@ class SmartSearchDto {
|
||||
(rating == null ? 0 : rating!.hashCode) +
|
||||
(size == null ? 0 : size!.hashCode) +
|
||||
(state == null ? 0 : state!.hashCode) +
|
||||
(tagIds.hashCode) +
|
||||
(tagIds == null ? 0 : tagIds!.hashCode) +
|
||||
(takenAfter == null ? 0 : takenAfter!.hashCode) +
|
||||
(takenBefore == null ? 0 : takenBefore!.hashCode) +
|
||||
(trashedAfter == null ? 0 : trashedAfter!.hashCode) +
|
||||
@ -433,7 +433,11 @@ class SmartSearchDto {
|
||||
} else {
|
||||
// json[r'state'] = null;
|
||||
}
|
||||
if (this.tagIds != null) {
|
||||
json[r'tagIds'] = this.tagIds;
|
||||
} else {
|
||||
// json[r'tagIds'] = null;
|
||||
}
|
||||
if (this.takenAfter != null) {
|
||||
json[r'takenAfter'] = this.takenAfter!.toUtc().toIso8601String();
|
||||
} else {
|
||||
|
@ -149,7 +149,7 @@ class StatisticsSearchDto {
|
||||
|
||||
String? state;
|
||||
|
||||
List<String> tagIds;
|
||||
List<String>? tagIds;
|
||||
|
||||
///
|
||||
/// Please note: This property should have been non-nullable! Since the specification file
|
||||
@ -268,7 +268,7 @@ class StatisticsSearchDto {
|
||||
(personIds.hashCode) +
|
||||
(rating == null ? 0 : rating!.hashCode) +
|
||||
(state == null ? 0 : state!.hashCode) +
|
||||
(tagIds.hashCode) +
|
||||
(tagIds == null ? 0 : tagIds!.hashCode) +
|
||||
(takenAfter == null ? 0 : takenAfter!.hashCode) +
|
||||
(takenBefore == null ? 0 : takenBefore!.hashCode) +
|
||||
(trashedAfter == null ? 0 : trashedAfter!.hashCode) +
|
||||
@ -370,7 +370,11 @@ class StatisticsSearchDto {
|
||||
} else {
|
||||
// json[r'state'] = null;
|
||||
}
|
||||
if (this.tagIds != null) {
|
||||
json[r'tagIds'] = this.tagIds;
|
||||
} else {
|
||||
// json[r'tagIds'] = null;
|
||||
}
|
||||
if (this.takenAfter != null) {
|
||||
json[r'takenAfter'] = this.takenAfter!.toUtc().toIso8601String();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user