Files
symfony-recipes/webindustry.document-bundle.2.0.json
2024-04-02 16:46:06 +02:00

54 lines
2.5 KiB
JSON

{
"manifests": {
"webindustry/document-bundle": {
"manifest": {
"bundles": {
"DocumentBundle\\DocumentBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%"
}
},
"files": {
"config/packages/document-bundle.yaml": {
"contents": [
"document:",
" document_types:",
" - { id: 'manual', label: 'Manuale uso e manutenzione', allowed_mime: [ 'application/pdf' ] }",
" tag_types:",
" - { id: 'product', label: 'Prodotto' }",
" - { id: 'family', label: 'Famiglia' }",
" - { id: 'subfamily', label: 'Sottofamiglia' }",
" languages:",
" - { id: 'it', label: 'Italiano' }",
" - { id: 'en', label: 'Inglese' }",
" - { id: 'de', label: 'Tedesco' }",
" thumbnails:",
" allow_public_thumbnails: true",
" ghostscript_bin: '/usr/bin/gs'",
" sizes:",
" - { id: 'small', label: 'Small', size: 64, format: 'png' }",
" - { id: 'large', label: 'Large', size: 512, format: 'png' }",
" s3:",
" region: 'eu-west-1'",
" bucket: 'changeme'",
" key_prefix: 'document-bundle/'",
" credentials:",
" key: 'changeme'",
" secret: 'changeme'",
" sse_kms_key_id: 'xxxxxxx' # Optional, if set can not be empty",
"",
"parameters:",
" document_bundle_secured_path: /intranet # move this to app_parameters.yaml",
" document_bundle_api_path: /document-bundle-api # move this to app_parameters.yaml"
],
"executable": false
}
},
"ref": "50022fd3b9a429bf28073ae5b4e627f2ea9fb71d"
}
}
}