mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Fix the orderBy validation description
This commit is contained in:
parent
2bd878525b
commit
f1eb009c25
3 changed files with 7 additions and 7 deletions
8
mobile/openapi/lib/api/timeline_api.dart
generated
8
mobile/openapi/lib/api/timeline_api.dart
generated
|
|
@ -40,7 +40,7 @@ class TimelineApi {
|
|||
/// Sort order for assets within time buckets (ASC for oldest first, DESC for newest first)
|
||||
///
|
||||
/// * [AssetOrderBy] orderBy:
|
||||
/// Sort order by for assets within time buckets (DATE_TAKEN, DATE_ADDED, DATE_DELETED)
|
||||
/// The field to sort time bucket assets by (DATE_TAKEN, DATE_ADDED, DATE_DELETED)
|
||||
///
|
||||
/// * [String] personId:
|
||||
/// Filter assets containing a specific person (face recognition)
|
||||
|
|
@ -155,7 +155,7 @@ class TimelineApi {
|
|||
/// Sort order for assets within time buckets (ASC for oldest first, DESC for newest first)
|
||||
///
|
||||
/// * [AssetOrderBy] orderBy:
|
||||
/// Sort order by for assets within time buckets (DATE_TAKEN, DATE_ADDED, DATE_DELETED)
|
||||
/// The field to sort time bucket assets by (DATE_TAKEN, DATE_ADDED, DATE_DELETED)
|
||||
///
|
||||
/// * [String] personId:
|
||||
/// Filter assets containing a specific person (face recognition)
|
||||
|
|
@ -215,7 +215,7 @@ class TimelineApi {
|
|||
/// Sort order for assets within time buckets (ASC for oldest first, DESC for newest first)
|
||||
///
|
||||
/// * [AssetOrderBy] orderBy:
|
||||
/// Sort order by for assets within time buckets (DATE_TAKEN, DATE_ADDED, DATE_DELETED)
|
||||
/// The field to sort time bucket assets by (DATE_TAKEN, DATE_ADDED, DATE_DELETED)
|
||||
///
|
||||
/// * [String] personId:
|
||||
/// Filter assets containing a specific person (face recognition)
|
||||
|
|
@ -326,7 +326,7 @@ class TimelineApi {
|
|||
/// Sort order for assets within time buckets (ASC for oldest first, DESC for newest first)
|
||||
///
|
||||
/// * [AssetOrderBy] orderBy:
|
||||
/// Sort order by for assets within time buckets (DATE_TAKEN, DATE_ADDED, DATE_DELETED)
|
||||
/// The field to sort time bucket assets by (DATE_TAKEN, DATE_ADDED, DATE_DELETED)
|
||||
///
|
||||
/// * [String] personId:
|
||||
/// Filter assets containing a specific person (face recognition)
|
||||
|
|
|
|||
|
|
@ -8845,7 +8845,7 @@
|
|||
"name": "orderBy",
|
||||
"required": false,
|
||||
"in": "query",
|
||||
"description": "Sort order by for assets within time buckets (DATE_TAKEN, DATE_ADDED, DATE_DELETED)",
|
||||
"description": "The field to sort time bucket assets by (DATE_TAKEN, DATE_ADDED, DATE_DELETED)",
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/AssetOrderBy"
|
||||
}
|
||||
|
|
@ -9018,7 +9018,7 @@
|
|||
"name": "orderBy",
|
||||
"required": false,
|
||||
"in": "query",
|
||||
"description": "Sort order by for assets within time buckets (DATE_TAKEN, DATE_ADDED, DATE_DELETED)",
|
||||
"description": "The field to sort time bucket assets by (DATE_TAKEN, DATE_ADDED, DATE_DELETED)",
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/AssetOrderBy"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ export class TimeBucketDto {
|
|||
@ValidateEnum({
|
||||
enum: AssetOrderBy,
|
||||
name: 'AssetOrderBy',
|
||||
description: 'Sort order by for assets within time buckets (DATE_TAKEN, DATE_ADDED, DATE_DELETED)',
|
||||
description: 'The field to sort time bucket assets by (DATE_TAKEN, DATE_ADDED, DATE_DELETED)',
|
||||
optional: true,
|
||||
})
|
||||
orderBy?: AssetOrderBy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue