assets_library — referencja modułu
Wygenerowane z manifestu modułu, bez ręcznych edycji. Co moduł robi, opisuje własna strona.
| Id modułu | assets_library |
| Nazwa | Assets Library |
| Wersja | 1.0.0 |
| Pakiet | @endora-commerce/mod-assets-library |
| Licencja | MIT |
Aktywacja
Tego modułu nie można wyłączyć. Magazyn mediów. Obrazy produktów, media CMS i zasoby e-mail rozwiązywane są tutaj — „nie chcemy plików” nie jest decyzją biznesową.
Zależności
| Moduł | Wiązanie | Znaczenie |
|---|---|---|
auth | tak | instaluje się i migruje po nim; operator nie może go wyłączyć pod tym modułem |
Uprawnienia
| Kod | Etykieta | Wymaga też |
|---|---|---|
assets.read | Browse assets library | — |
assets.write | Upload and manage assets | — |
Paleta poleceń
Brak.
Ustawienia
| Kod | Nazwa | Typ |
|---|---|---|
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 |
Tłumaczenia
Paczki w i18n wewnątrz modułu, po jednym pliku na obsługiwany język.
Polecenia operatora
Brak.