mirror of
https://github.com/immich-app/immich.git
synced 2025-01-27 22:22:45 +01:00
fix(server): not in album filter with context search (#7275)
This commit is contained in:
parent
e33fd40b4c
commit
bb5236ae65
7 changed files with 12 additions and 3 deletions
mobile/openapi
open-api
server/src/domain/search/dto
BIN
mobile/openapi/doc/SmartSearchDto.md
generated
BIN
mobile/openapi/doc/SmartSearchDto.md
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/smart_search_dto.dart
generated
BIN
mobile/openapi/lib/model/smart_search_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/test/smart_search_dto_test.dart
generated
BIN
mobile/openapi/test/smart_search_dto_test.dart
generated
Binary file not shown.
|
@ -9435,6 +9435,9 @@
|
||||||
"isMotion": {
|
"isMotion": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
"isNotInAlbum": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"isOffline": {
|
"isOffline": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
|
6
open-api/typescript-sdk/axios-client/api.ts
generated
6
open-api/typescript-sdk/axios-client/api.ts
generated
|
@ -3880,6 +3880,12 @@ export interface SmartSearchDto {
|
||||||
* @memberof SmartSearchDto
|
* @memberof SmartSearchDto
|
||||||
*/
|
*/
|
||||||
'isMotion'?: boolean;
|
'isMotion'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof SmartSearchDto
|
||||||
|
*/
|
||||||
|
'isNotInAlbum'?: boolean;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
|
|
BIN
open-api/typescript-sdk/fetch-client.ts
generated
BIN
open-api/typescript-sdk/fetch-client.ts
generated
Binary file not shown.
|
@ -118,6 +118,9 @@ class BaseSearchDto {
|
||||||
@Type(() => Number)
|
@Type(() => Number)
|
||||||
@Optional()
|
@Optional()
|
||||||
size?: number;
|
size?: number;
|
||||||
|
|
||||||
|
@QueryBoolean({ optional: true })
|
||||||
|
isNotInAlbum?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class MetadataSearchDto extends BaseSearchDto {
|
export class MetadataSearchDto extends BaseSearchDto {
|
||||||
|
@ -170,9 +173,6 @@ export class MetadataSearchDto extends BaseSearchDto {
|
||||||
@ApiProperty({ enumName: 'AssetOrder', enum: AssetOrder })
|
@ApiProperty({ enumName: 'AssetOrder', enum: AssetOrder })
|
||||||
order?: AssetOrder;
|
order?: AssetOrder;
|
||||||
|
|
||||||
@QueryBoolean({ optional: true })
|
|
||||||
isNotInAlbum?: boolean;
|
|
||||||
|
|
||||||
@Optional()
|
@Optional()
|
||||||
personIds?: string[];
|
personIds?: string[];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue