refactor: library type (#9525)
This commit is contained in:
@@ -2439,16 +2439,7 @@
|
||||
"/library": {
|
||||
"get": {
|
||||
"operationId": "getAllLibraries",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "type",
|
||||
"required": false,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/LibraryType"
|
||||
}
|
||||
}
|
||||
],
|
||||
"parameters": [],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
@@ -7365,6 +7356,9 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"libraryId": {
|
||||
"deprecated": true,
|
||||
"description": "This property was deprecated in v1.106.0",
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
},
|
||||
"livePhotoVideoId": {
|
||||
@@ -7444,7 +7438,6 @@
|
||||
"isFavorite",
|
||||
"isOffline",
|
||||
"isTrashed",
|
||||
"libraryId",
|
||||
"localDateTime",
|
||||
"originalFileName",
|
||||
"originalPath",
|
||||
@@ -7715,10 +7708,6 @@
|
||||
"isVisible": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"libraryId": {
|
||||
"format": "uuid",
|
||||
"type": "string"
|
||||
},
|
||||
"livePhotoData": {
|
||||
"format": "binary",
|
||||
"type": "string"
|
||||
@@ -7757,14 +7746,10 @@
|
||||
"ownerId": {
|
||||
"format": "uuid",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"$ref": "#/components/schemas/LibraryType"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"ownerId",
|
||||
"type"
|
||||
"ownerId"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
@@ -8319,9 +8304,6 @@
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"$ref": "#/components/schemas/LibraryType"
|
||||
},
|
||||
"updatedAt": {
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
@@ -8336,7 +8318,6 @@
|
||||
"name",
|
||||
"ownerId",
|
||||
"refreshedAt",
|
||||
"type",
|
||||
"updatedAt"
|
||||
],
|
||||
"type": "object"
|
||||
@@ -8369,13 +8350,6 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"LibraryType": {
|
||||
"enum": [
|
||||
"UPLOAD",
|
||||
"EXTERNAL"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"LogLevel": {
|
||||
"enum": [
|
||||
"verbose",
|
||||
|
||||
Reference in New Issue
Block a user