Skip to main content

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 idassets_library
NameAssets Library
Version1.0.0
Ships from@endora-commerce/mod-assets-library
LicenceMIT

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​

ModuleBindingWhat it means
authyesinstalls and migrates after it, and an operator cannot switch it off underneath this module

Permissions​

CodeLabelAlso needs
assets.readBrowse assets library—
assets.writeUpload and manage assets—

Command palette​

None.

Settings​

CodeNameType
assets.allowed_file_typesAllowed file types (extensions/MIME; * = any)string_list
assets.gcs.bucketGCS — bucketstring
assets.gcs.prefixGCS — object prefix (optional)string
assets.gcs.public_base_urlGCS — public CDN base URL (optional)string
assets.gcs.service_account_jsonGCS — service-account JSON (sensitive)string
assets.local.base_dirLocal FS — base directorystring
assets.local.public_url_baseLocal FS — public URL base (no trailing slash)string
assets.max_file_size_mbMax file size (MB; 0 = no cap)number
assets.private_url_ttl_secPrivate signed-URL TTL (seconds)number
assets.s3.access_key_idS3 — access key idstring
assets.s3.bucketS3 — bucketstring
assets.s3.endpointS3 — custom endpoint (optional)string
assets.s3.prefixS3 — key prefix (optional)string
assets.s3.public_base_urlS3 — public CDN base URL (optional)string
assets.s3.regionS3 — regionstring
assets.s3.secret_access_keyS3 — secret access key (sensitive)string
assets.soft_delete_retention_daysSoft-delete retention before hard-delete (days)number
assets.storage.adapterActive storage adapterstring

Translations​

Bundles at i18n inside the module, one file per shipped language.

Operator commands​

None.