feat(mobile): edit location action (#19645)

* change dto from integer to double

* feat(mobile): edit location action

* patch openapi

* refactor in provider

* fix lint

* chore: not showing success prompt if dimissed

* i18n

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Daimolean
2025-07-02 00:52:11 +08:00
committed by GitHub
parent 639ede78c2
commit 83afd49f5c
18 changed files with 299 additions and 119 deletions

View File

@@ -115,9 +115,9 @@ export class SyncAssetExifV1 {
dateTimeOriginal!: Date | null;
modifyDate!: Date | null;
timeZone!: string | null;
@ApiProperty({ type: 'integer' })
@ApiProperty({ type: 'number', format: 'double' })
latitude!: number | null;
@ApiProperty({ type: 'integer' })
@ApiProperty({ type: 'number', format: 'double' })
longitude!: number | null;
projectionType!: string | null;
city!: string | null;
@@ -126,9 +126,9 @@ export class SyncAssetExifV1 {
make!: string | null;
model!: string | null;
lensModel!: string | null;
@ApiProperty({ type: 'integer' })
@ApiProperty({ type: 'number', format: 'double' })
fNumber!: number | null;
@ApiProperty({ type: 'integer' })
@ApiProperty({ type: 'number', format: 'double' })
focalLength!: number | null;
@ApiProperty({ type: 'integer' })
iso!: number | null;
@@ -136,7 +136,7 @@ export class SyncAssetExifV1 {
profileDescription!: string | null;
@ApiProperty({ type: 'integer' })
rating!: number | null;
@ApiProperty({ type: 'integer' })
@ApiProperty({ type: 'number', format: 'double' })
fps!: number | null;
}