assets_library — module reference
Rendered from the module's own manifest, and from nothing written by hand. What the module does is its own page.
| Module id | assets_library |
| Name | Assets Library |
| Version | 1.0.0 |
| Ships from | @endora-commerce/mod-assets-library |
| Licence | MIT |
Activation
This module cannot be switched off. Media storage. Product images, CMS media and e-mail assets all resolve here, and "we do not want files" is not a business decision.
Dependencies
| Module | Binding | What it means |
|---|---|---|
auth | yes | installs and migrates after it, and an operator cannot switch it off underneath this module |
Permissions
| Code | Label | Also needs |
|---|---|---|
assets.read | Browse assets library | — |
assets.write | Upload and manage assets | — |
Command palette
None.
Settings
| Code | Name | Type |
|---|---|---|
assets.allowed_file_types | Allowed file types (extensions/MIME; * = any) | string_list |
assets.gcs.bucket | GCS — bucket | string |
assets.gcs.prefix | GCS — object prefix (optional) | string |
assets.gcs.public_base_url | GCS — public CDN base URL (optional) | string |
assets.gcs.service_account_json | GCS — service-account JSON (sensitive) | string |
assets.local.base_dir | Local FS — base directory | string |
assets.local.public_url_base | Local FS — public URL base (no trailing slash) | string |
assets.max_file_size_mb | Max file size (MB; 0 = no cap) | number |
assets.private_url_ttl_sec | Private signed-URL TTL (seconds) | number |
assets.s3.access_key_id | S3 — access key id | string |
assets.s3.bucket | S3 — bucket | string |
assets.s3.endpoint | S3 — custom endpoint (optional) | string |
assets.s3.prefix | S3 — key prefix (optional) | string |
assets.s3.public_base_url | S3 — public CDN base URL (optional) | string |
assets.s3.region | S3 — region | string |
assets.s3.secret_access_key | S3 — secret access key (sensitive) | string |
assets.soft_delete_retention_days | Soft-delete retention before hard-delete (days) | number |
assets.storage.adapter | Active storage adapter | string |
Translations
Bundles at i18n inside the module, one file per shipped language.
Operator commands
None.