mirror of
https://github.com/directus/directus.git
synced 2026-01-25 10:48:45 -05:00
Allow custom transformations of assets (#6593)
* Allow custom transformations of assets This exposes one query parameter `transforms`, which is a JSON array of shard transformation operations. It also updates the asset presets. The UX for this still needs some work * Rename options to arguments for presets More explicit * options -> arguments in setting spec * Better errors for invalid JSON in asset presets * Add limit to transforms query parameter * Use flattened option for extra transforms * Fix placeholder color of code input * Allow "simple mode" aliases * Add documentation Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
This commit is contained in:
@@ -150,6 +150,7 @@
|
||||
"memcached": "^2.2.2",
|
||||
"mysql": "^2.18.1",
|
||||
"nodemailer-mailgun-transport": "^2.1.3",
|
||||
"object-hash": "^2.2.0",
|
||||
"pg": "^8.6.0",
|
||||
"sqlite3": "^5.0.2",
|
||||
"tedious": "^11.0.8"
|
||||
@@ -178,6 +179,7 @@
|
||||
"@types/node": "15.12.2",
|
||||
"@types/node-cron": "2.0.4",
|
||||
"@types/nodemailer": "6.4.4",
|
||||
"@types/object-hash": "^2.1.0",
|
||||
"@types/qs": "6.9.7",
|
||||
"@types/sharp": "0.28.4",
|
||||
"@types/stream-json": "1.7.1",
|
||||
|
||||
Reference in New Issue
Block a user