feat: find large files utility (#18040)
feat: large asset utility Co-authored-by: Jason Rasmussen <jason@rasm.me>
This commit is contained in:
@@ -126,6 +126,15 @@ export class RandomSearchDto extends BaseSearchWithResultsDto {
|
||||
withPeople?: boolean;
|
||||
}
|
||||
|
||||
export class LargeAssetSearchDto extends BaseSearchWithResultsDto {
|
||||
@Optional()
|
||||
@IsInt()
|
||||
@Min(0)
|
||||
@Type(() => Number)
|
||||
@ApiProperty({ type: 'integer' })
|
||||
minFileSize?: number;
|
||||
}
|
||||
|
||||
export class MetadataSearchDto extends RandomSearchDto {
|
||||
@ValidateUUID({ optional: true })
|
||||
id?: string;
|
||||
|
||||
Reference in New Issue
Block a user