mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat(server): read-write external assets (#9235)
* refactor: remove isReadOnly and isExternal usages * chore: open api * fix: linting * remove mobile isReadOnly dependency --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
parent
d26ac431b8
commit
5b87abb021
57 changed files with 181 additions and 603 deletions
|
|
@ -7297,6 +7297,8 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"isExternal": {
|
||||
"deprecated": true,
|
||||
"description": "This property was deprecated in v1.104.0",
|
||||
"type": "boolean"
|
||||
},
|
||||
"isFavorite": {
|
||||
|
|
@ -7306,6 +7308,8 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"isReadOnly": {
|
||||
"deprecated": true,
|
||||
"description": "This property was deprecated in v1.104.0",
|
||||
"type": "boolean"
|
||||
},
|
||||
"isTrashed": {
|
||||
|
|
@ -7388,10 +7392,8 @@
|
|||
"hasMetadata",
|
||||
"id",
|
||||
"isArchived",
|
||||
"isExternal",
|
||||
"isFavorite",
|
||||
"isOffline",
|
||||
"isReadOnly",
|
||||
"isTrashed",
|
||||
"libraryId",
|
||||
"localDateTime",
|
||||
|
|
@ -7652,9 +7654,6 @@
|
|||
"isOffline": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"isReadOnly": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"isVisible": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
|
@ -8599,9 +8598,6 @@
|
|||
"isEncoded": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"isExternal": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"isFavorite": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
|
@ -8614,9 +8610,6 @@
|
|||
"isOffline": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"isReadOnly": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"isVisible": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
|
@ -9821,9 +9814,6 @@
|
|||
"isEncoded": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"isExternal": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"isFavorite": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
|
@ -9836,9 +9826,6 @@
|
|||
"isOffline": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"isReadOnly": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"isVisible": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -122,10 +122,12 @@ export type AssetResponseDto = {
|
|||
hasMetadata: boolean;
|
||||
id: string;
|
||||
isArchived: boolean;
|
||||
isExternal: boolean;
|
||||
/** This property was deprecated in v1.104.0 */
|
||||
isExternal?: boolean;
|
||||
isFavorite: boolean;
|
||||
isOffline: boolean;
|
||||
isReadOnly: boolean;
|
||||
/** This property was deprecated in v1.104.0 */
|
||||
isReadOnly?: boolean;
|
||||
isTrashed: boolean;
|
||||
libraryId: string;
|
||||
livePhotoVideoId?: string | null;
|
||||
|
|
@ -296,7 +298,6 @@ export type CreateAssetDto = {
|
|||
isArchived?: boolean;
|
||||
isFavorite?: boolean;
|
||||
isOffline?: boolean;
|
||||
isReadOnly?: boolean;
|
||||
isVisible?: boolean;
|
||||
libraryId?: string;
|
||||
livePhotoData?: Blob;
|
||||
|
|
@ -622,12 +623,10 @@ export type MetadataSearchDto = {
|
|||
id?: string;
|
||||
isArchived?: boolean;
|
||||
isEncoded?: boolean;
|
||||
isExternal?: boolean;
|
||||
isFavorite?: boolean;
|
||||
isMotion?: boolean;
|
||||
isNotInAlbum?: boolean;
|
||||
isOffline?: boolean;
|
||||
isReadOnly?: boolean;
|
||||
isVisible?: boolean;
|
||||
lensModel?: string;
|
||||
libraryId?: string;
|
||||
|
|
@ -699,12 +698,10 @@ export type SmartSearchDto = {
|
|||
deviceId?: string;
|
||||
isArchived?: boolean;
|
||||
isEncoded?: boolean;
|
||||
isExternal?: boolean;
|
||||
isFavorite?: boolean;
|
||||
isMotion?: boolean;
|
||||
isNotInAlbum?: boolean;
|
||||
isOffline?: boolean;
|
||||
isReadOnly?: boolean;
|
||||
isVisible?: boolean;
|
||||
lensModel?: string;
|
||||
libraryId?: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue