assets_library — referencja modułu
Strona wygenerowana z manifestu modułu, bez żadnych ręcznych zmian. Co moduł robi, opisuje jego własna strona.
| Identyfikator 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ć. Biblioteka mediów. Obrazy produktów, media CMS i pliki do e-maili są pobierane właśnie stąd — „nie chcemy plików” nie jest decyzją biznesową.
Zależności
| Moduł | Wiążąca | Co to oznacza |
|---|---|---|
admin_roles | tak | ten moduł instaluje się i migruje po nim, a operator nie może go wyłączyć, dopóki ten moduł działa |
admin_users | tak | ten moduł instaluje się i migruje po nim, a operator nie może go wyłączyć, dopóki ten moduł działa |
auth | tak | ten moduł instaluje się i migruje po nim, a operator nie może go wyłączyć, dopóki ten moduł działa |
settings | tylko bramkowanie | rozwiązuje settingWriteValidatorRegistry; pominięty w dependencies, bo kolejność instalacji nie może nieść tej krawędzi |
Uprawnienia
| Kod | Etykieta | Wymaga też |
|---|---|---|
assets.read | Browse assets library | — |
assets.write | Upload and manage assets | — |
Paleta poleceń
| Akcja | Otwiera | Uprawnienie |
|---|---|---|
open-assets-library | /assets-library | assets.read |
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) | secret |
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) | secret |
assets.soft_delete_retention_days | Soft-delete retention before hard-delete (days) | number |
assets.storage.adapter | Active storage adapter | string |
Tłumaczenia
Pakiety tłumaczeń w katalogu i18n modułu, po jednym pliku na każdy obsługiwany język.
Polecenia operatora
Brak.