Fase 3c (code, nog niet uitgerold): foto's altijd in de bibliotheektabel, HeroImages-migratie met controle, schakelaars en hulpmiddelen weg

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 00:21:58 +01:00
co-authored by Claude Sonnet 5.5
parent 7246efccc1
commit d9e57425c2
52 changed files with 792 additions and 2537 deletions
-99
View File
@@ -1260,76 +1260,6 @@
},
"type": "object"
},
"MediaReadCheckDto": {
"properties": {
"differences": {
"items": {
"type": "string"
},
"type": "array"
},
"matches": {
"type": "boolean"
},
"mode": {
"type": "string"
},
"module": {
"type": "string"
},
"photos": {
"format": "int32",
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
]
},
"uses": {
"format": "int32",
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
]
}
},
"required": [
"module",
"mode",
"photos",
"uses",
"matches",
"differences"
],
"type": "object"
},
"MediaReadCheckResponse": {
"properties": {
"copyOnStartup": {
"default": false,
"type": "boolean"
},
"dualWrite": {
"default": false,
"type": "boolean"
},
"mode": {
"type": "string"
},
"modules": {
"items": {
"$ref": "#/components/schemas/MediaReadCheckDto"
},
"type": "array"
}
},
"required": [
"mode",
"modules"
],
"type": "object"
},
"MediaRestoreRequest": {
"properties": {
"ids": {
@@ -4134,35 +4064,6 @@
]
}
},
"/api/v1/media-library/read-check": {
"get": {
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MediaReadCheckResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/MediaReadCheckResponse"
}
},
"text/plain": {
"schema": {
"$ref": "#/components/schemas/MediaReadCheckResponse"
}
}
},
"description": "OK"
}
},
"tags": [
"MediaLibrary"
]
}
},
"/api/v1/media-library/restore": {
"post": {
"requestBody": {