Add optional photo providers, layout studio and scoped integrations
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
},
|
||||
"driver": {
|
||||
"type": "string",
|
||||
"const": "kokonna",
|
||||
"title": "Driver",
|
||||
"default": "kokonna"
|
||||
},
|
||||
@@ -374,6 +373,9 @@
|
||||
{
|
||||
"$ref": "#/components/schemas/PhotoSourceContent"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/ProviderContent"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/FutureContent"
|
||||
}
|
||||
@@ -387,6 +389,7 @@
|
||||
"image_url": "#/components/schemas/URLContent",
|
||||
"markdown": "#/components/schemas/FutureContent",
|
||||
"photo_source": "#/components/schemas/PhotoSourceContent",
|
||||
"provider": "#/components/schemas/ProviderContent",
|
||||
"template": "#/components/schemas/TemplateContent"
|
||||
}
|
||||
}
|
||||
@@ -673,6 +676,17 @@
|
||||
},
|
||||
"OperationResult": {
|
||||
"properties": {
|
||||
"cover_id": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Cover Id"
|
||||
},
|
||||
"photo_attempts": {
|
||||
"items": {
|
||||
"additionalProperties": {
|
||||
@@ -841,7 +855,10 @@
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"local",
|
||||
"webdav"
|
||||
"webdav",
|
||||
"google-drive",
|
||||
"alipan",
|
||||
"baidu"
|
||||
],
|
||||
"title": "Kind"
|
||||
},
|
||||
@@ -899,6 +916,41 @@
|
||||
],
|
||||
"title": "Orientation"
|
||||
},
|
||||
"minimum_sharpness": {
|
||||
"type": "number",
|
||||
"maximum": 10000.0,
|
||||
"minimum": 0.0,
|
||||
"title": "Minimum Sharpness",
|
||||
"default": 0
|
||||
},
|
||||
"minimum_brightness": {
|
||||
"type": "number",
|
||||
"maximum": 255.0,
|
||||
"minimum": 0.0,
|
||||
"title": "Minimum Brightness",
|
||||
"default": 0
|
||||
},
|
||||
"maximum_brightness": {
|
||||
"type": "number",
|
||||
"maximum": 255.0,
|
||||
"minimum": 0.0,
|
||||
"title": "Maximum Brightness",
|
||||
"default": 255
|
||||
},
|
||||
"avoid_duplicates": {
|
||||
"type": "boolean",
|
||||
"title": "Avoid Duplicates",
|
||||
"default": false
|
||||
},
|
||||
"people_space": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"shared",
|
||||
"personal"
|
||||
],
|
||||
"title": "People Space",
|
||||
"default": "shared"
|
||||
},
|
||||
"people_filter": {
|
||||
"type": "boolean",
|
||||
"title": "People Filter",
|
||||
@@ -955,7 +1007,10 @@
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"local",
|
||||
"webdav"
|
||||
"webdav",
|
||||
"google-drive",
|
||||
"alipan",
|
||||
"baidu"
|
||||
],
|
||||
"title": "Kind"
|
||||
},
|
||||
@@ -1013,6 +1068,41 @@
|
||||
],
|
||||
"title": "Orientation"
|
||||
},
|
||||
"minimum_sharpness": {
|
||||
"type": "number",
|
||||
"maximum": 10000.0,
|
||||
"minimum": 0.0,
|
||||
"title": "Minimum Sharpness",
|
||||
"default": 0
|
||||
},
|
||||
"minimum_brightness": {
|
||||
"type": "number",
|
||||
"maximum": 255.0,
|
||||
"minimum": 0.0,
|
||||
"title": "Minimum Brightness",
|
||||
"default": 0
|
||||
},
|
||||
"maximum_brightness": {
|
||||
"type": "number",
|
||||
"maximum": 255.0,
|
||||
"minimum": 0.0,
|
||||
"title": "Maximum Brightness",
|
||||
"default": 255
|
||||
},
|
||||
"avoid_duplicates": {
|
||||
"type": "boolean",
|
||||
"title": "Avoid Duplicates",
|
||||
"default": false
|
||||
},
|
||||
"people_space": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"shared",
|
||||
"personal"
|
||||
],
|
||||
"title": "People Space",
|
||||
"default": "shared"
|
||||
},
|
||||
"people_filter": {
|
||||
"type": "boolean",
|
||||
"title": "People Filter",
|
||||
|
||||
Reference in New Issue
Block a user