diff --git a/index.json b/index.json index cdceb6b..b0ef3d7 100644 --- a/index.json +++ b/index.json @@ -14,6 +14,9 @@ ], "webindustry/parameter-tracker-bundle": [ "2.0" + ], + "webindustry/document-bundle": [ + "2.0" ] }, "branch": "master", diff --git a/webindustry.document-bundle.2.0.json b/webindustry.document-bundle.2.0.json new file mode 100644 index 0000000..4c9e673 --- /dev/null +++ b/webindustry.document-bundle.2.0.json @@ -0,0 +1,53 @@ +{ + "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" + } + } +}