1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-25 17:32:33 +01:00

fix: change PropertyLifecycle

This commit is contained in:
martabal 2024-10-15 13:00:55 +02:00
parent 1a9a3a9537
commit 274de40892
No known key found for this signature in database
GPG key ID: C00196E3148A52BD
4 changed files with 10 additions and 10 deletions
mobile/openapi/lib/api
open-api
server/src

View file

@ -322,10 +322,10 @@ class SearchApi {
/// * [String] name (required):
///
/// * [num] page:
/// This property was added in v118.0.0
/// This property was added in v119.0.0
///
/// * [num] size:
/// This property was added in v118.0.0
/// This property was added in v119.0.0
///
/// * [bool] withHidden:
Future<Response> searchPersonWithHttpInfo(String name, { num? page, num? size, bool? withHidden, }) async {
@ -369,10 +369,10 @@ class SearchApi {
/// * [String] name (required):
///
/// * [num] page:
/// This property was added in v118.0.0
/// This property was added in v119.0.0
///
/// * [num] size:
/// This property was added in v118.0.0
/// This property was added in v119.0.0
///
/// * [bool] withHidden:
Future<SearchPersonNameResponseDto?> searchPerson(String name, { num? page, num? size, bool? withHidden, }) async {

View file

@ -4409,7 +4409,7 @@
"Search"
],
"x-immich-lifecycle": {
"addedAt": "v1.118.0"
"addedAt": "v1.119.0"
}
}
},
@ -4541,7 +4541,7 @@
"name": "page",
"required": false,
"in": "query",
"description": "This property was added in v118.0.0",
"description": "This property was added in v119.0.0",
"schema": {
"minimum": 1,
"default": 1,
@ -4552,7 +4552,7 @@
"name": "size",
"required": false,
"in": "query",
"description": "This property was added in v118.0.0",
"description": "This property was added in v119.0.0",
"schema": {
"minimum": 1,
"maximum": 1000,

View file

@ -78,7 +78,7 @@ export class SearchController {
}
@Get('album')
@EndpointLifecycle({ addedAt: 'v1.118.0' })
@EndpointLifecycle({ addedAt: 'v1.119.0' })
@Authenticated()
searchAlbum(@Auth() auth: AuthDto, @Query() dto: SearchAlbumsDto): Promise<SearchAlbumNameResponseDto> {
return this.service.searchAlbum(auth, dto);

View file

@ -242,7 +242,7 @@ export class SearchPeopleDto {
/** Page number for pagination */
@ApiPropertyOptional()
@PropertyLifecycle({ addedAt: 'v118.0.0' })
@PropertyLifecycle({ addedAt: 'v119.0.0' })
@IsInt()
@Min(1)
@Type(() => Number)
@ -250,7 +250,7 @@ export class SearchPeopleDto {
/** Number of items per page */
@ApiPropertyOptional()
@PropertyLifecycle({ addedAt: 'v118.0.0' })
@PropertyLifecycle({ addedAt: 'v119.0.0' })
@IsInt()
@Min(1)
@Max(1000)