Schema: cache.image im Projekt und optionaler Asset-cachePath
continuous-integration/drone/push Build is passing

- project.schema.json: cache.image.{path, autoCleanup.{maxAge,maxFiles,tempMaxAge}};
  Server-only-Knöpfe (enabled, interval, Laufbudgets) sind bewusst nicht vorgesehen.
- asset.schema.json: cachePath optional, ohne Pflicht-Verzeichnis, verweist auf
  cache.image.path als Default.
- index.d.ts und Beispiel-YAML nachgezogen.
This commit is contained in:
apairon committed 2026-10-29 12:48:36 +00:00
1 parent 8ca80136f4
commit 5458214ad9
4 files changed
+57 -5

No files matched your search

+3 -2
View File
@@ -25,7 +25,9 @@
]
},
"cachePath": {
"type": "string"
"type": "string",
"description": "Optional cache directory for filtered variants. An explicit value is project-controlled: relative to the project's config.yml, \"..\" needs security.allowUpperPaths, absolute needs security.allowAbsolutePaths. Omit it to use cache.image.path (default ../cache/image). The project namespace is appended and the directory is created lazily.",
"pattern": "^.+$"
},
"allowOriginal": {
"type": "boolean"
@@ -73,7 +75,6 @@
},
"required": [
"access",
"cachePath",
"imageFilter"
]
}