feat(web): rotate image
This commit is contained in:
@@ -7963,6 +7963,21 @@
|
||||
"longitude": {
|
||||
"type": "number"
|
||||
},
|
||||
"orientation": {
|
||||
"enum": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8
|
||||
],
|
||||
"maximum": 8,
|
||||
"minimum": 1,
|
||||
"type": "integer"
|
||||
},
|
||||
"rating": {
|
||||
"maximum": 5,
|
||||
"minimum": -1,
|
||||
@@ -12880,6 +12895,21 @@
|
||||
"longitude": {
|
||||
"type": "number"
|
||||
},
|
||||
"orientation": {
|
||||
"enum": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8
|
||||
],
|
||||
"maximum": 8,
|
||||
"minimum": 1,
|
||||
"type": "integer"
|
||||
},
|
||||
"rating": {
|
||||
"maximum": 5,
|
||||
"minimum": -1,
|
||||
|
||||
@@ -391,6 +391,7 @@ export type AssetBulkUpdateDto = {
|
||||
isFavorite?: boolean;
|
||||
latitude?: number;
|
||||
longitude?: number;
|
||||
orientation?: Orientation;
|
||||
rating?: number;
|
||||
};
|
||||
export type AssetBulkUploadCheckItem = {
|
||||
@@ -439,6 +440,7 @@ export type UpdateAssetDto = {
|
||||
latitude?: number;
|
||||
livePhotoVideoId?: string | null;
|
||||
longitude?: number;
|
||||
orientation?: Orientation;
|
||||
rating?: number;
|
||||
};
|
||||
export type AssetMediaReplaceDto = {
|
||||
@@ -3481,6 +3483,16 @@ export enum AssetMediaStatus {
|
||||
Replaced = "replaced",
|
||||
Duplicate = "duplicate"
|
||||
}
|
||||
export enum Orientation {
|
||||
$1 = 1,
|
||||
$2 = 2,
|
||||
$3 = 3,
|
||||
$4 = 4,
|
||||
$5 = 5,
|
||||
$6 = 6,
|
||||
$7 = 7,
|
||||
$8 = 8
|
||||
}
|
||||
export enum Action {
|
||||
Accept = "accept",
|
||||
Reject = "reject"
|
||||
|
||||
Reference in New Issue
Block a user