mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
fix: change PropertyLifecycle
This commit is contained in:
parent
1a9a3a9537
commit
274de40892
8
mobile/openapi/lib/api/search_api.dart
generated
8
mobile/openapi/lib/api/search_api.dart
generated
@ -322,10 +322,10 @@ class SearchApi {
|
|||||||
/// * [String] name (required):
|
/// * [String] name (required):
|
||||||
///
|
///
|
||||||
/// * [num] page:
|
/// * [num] page:
|
||||||
/// This property was added in v118.0.0
|
/// This property was added in v119.0.0
|
||||||
///
|
///
|
||||||
/// * [num] size:
|
/// * [num] size:
|
||||||
/// This property was added in v118.0.0
|
/// This property was added in v119.0.0
|
||||||
///
|
///
|
||||||
/// * [bool] withHidden:
|
/// * [bool] withHidden:
|
||||||
Future<Response> searchPersonWithHttpInfo(String name, { num? page, num? size, bool? withHidden, }) async {
|
Future<Response> searchPersonWithHttpInfo(String name, { num? page, num? size, bool? withHidden, }) async {
|
||||||
@ -369,10 +369,10 @@ class SearchApi {
|
|||||||
/// * [String] name (required):
|
/// * [String] name (required):
|
||||||
///
|
///
|
||||||
/// * [num] page:
|
/// * [num] page:
|
||||||
/// This property was added in v118.0.0
|
/// This property was added in v119.0.0
|
||||||
///
|
///
|
||||||
/// * [num] size:
|
/// * [num] size:
|
||||||
/// This property was added in v118.0.0
|
/// This property was added in v119.0.0
|
||||||
///
|
///
|
||||||
/// * [bool] withHidden:
|
/// * [bool] withHidden:
|
||||||
Future<SearchPersonNameResponseDto?> searchPerson(String name, { num? page, num? size, bool? withHidden, }) async {
|
Future<SearchPersonNameResponseDto?> searchPerson(String name, { num? page, num? size, bool? withHidden, }) async {
|
||||||
|
@ -4409,7 +4409,7 @@
|
|||||||
"Search"
|
"Search"
|
||||||
],
|
],
|
||||||
"x-immich-lifecycle": {
|
"x-immich-lifecycle": {
|
||||||
"addedAt": "v1.118.0"
|
"addedAt": "v1.119.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -4541,7 +4541,7 @@
|
|||||||
"name": "page",
|
"name": "page",
|
||||||
"required": false,
|
"required": false,
|
||||||
"in": "query",
|
"in": "query",
|
||||||
"description": "This property was added in v118.0.0",
|
"description": "This property was added in v119.0.0",
|
||||||
"schema": {
|
"schema": {
|
||||||
"minimum": 1,
|
"minimum": 1,
|
||||||
"default": 1,
|
"default": 1,
|
||||||
@ -4552,7 +4552,7 @@
|
|||||||
"name": "size",
|
"name": "size",
|
||||||
"required": false,
|
"required": false,
|
||||||
"in": "query",
|
"in": "query",
|
||||||
"description": "This property was added in v118.0.0",
|
"description": "This property was added in v119.0.0",
|
||||||
"schema": {
|
"schema": {
|
||||||
"minimum": 1,
|
"minimum": 1,
|
||||||
"maximum": 1000,
|
"maximum": 1000,
|
||||||
|
@ -78,7 +78,7 @@ export class SearchController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Get('album')
|
@Get('album')
|
||||||
@EndpointLifecycle({ addedAt: 'v1.118.0' })
|
@EndpointLifecycle({ addedAt: 'v1.119.0' })
|
||||||
@Authenticated()
|
@Authenticated()
|
||||||
searchAlbum(@Auth() auth: AuthDto, @Query() dto: SearchAlbumsDto): Promise<SearchAlbumNameResponseDto> {
|
searchAlbum(@Auth() auth: AuthDto, @Query() dto: SearchAlbumsDto): Promise<SearchAlbumNameResponseDto> {
|
||||||
return this.service.searchAlbum(auth, dto);
|
return this.service.searchAlbum(auth, dto);
|
||||||
|
@ -242,7 +242,7 @@ export class SearchPeopleDto {
|
|||||||
|
|
||||||
/** Page number for pagination */
|
/** Page number for pagination */
|
||||||
@ApiPropertyOptional()
|
@ApiPropertyOptional()
|
||||||
@PropertyLifecycle({ addedAt: 'v118.0.0' })
|
@PropertyLifecycle({ addedAt: 'v119.0.0' })
|
||||||
@IsInt()
|
@IsInt()
|
||||||
@Min(1)
|
@Min(1)
|
||||||
@Type(() => Number)
|
@Type(() => Number)
|
||||||
@ -250,7 +250,7 @@ export class SearchPeopleDto {
|
|||||||
|
|
||||||
/** Number of items per page */
|
/** Number of items per page */
|
||||||
@ApiPropertyOptional()
|
@ApiPropertyOptional()
|
||||||
@PropertyLifecycle({ addedAt: 'v118.0.0' })
|
@PropertyLifecycle({ addedAt: 'v119.0.0' })
|
||||||
@IsInt()
|
@IsInt()
|
||||||
@Min(1)
|
@Min(1)
|
||||||
@Max(1000)
|
@Max(1000)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user