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
admin_rolesyesinstalls and migrates after it, and an operator cannot switch it off underneath this module
admin_usersyesinstalls and migrates after it, and an operator cannot switch it off underneath this module
authyesinstalls and migrates after it, and an operator cannot switch it off underneath this module
settingsgating onlyresolves settingWriteValidatorRegistry; withheld from dependencies because the install order cannot carry the edge

Permissions​

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

Command palette​

ActionOpensPermission
open-assets-library/assets-libraryassets.read

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)secret
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)secret
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.