# UnifiedFiler v1.5 Notes

v1.5 focuses on backend API integration while keeping UnifiedFiler as a reusable AMD component package.

## Added

- `scripts/adapters/BackendApiAdapter.js`
  - API-backed storage adapter.
  - Supports list, search, read, write, create folder, rename, delete, copy, and move.
  - Accepts tenant/app/user context for Host-managed multi-tenant systems.

- `scripts/services/ApiClientService.js`
  - Generic HTTP client for backend adapters.
  - Supports base URL, headers, credentials, timeout, context headers, and custom transports.

- `scripts/services/MemoryApiBackendService.js`
  - In-browser backend-compatible service for demos and tests.
  - Allows the demo to show backend-style behavior without bundling a PHP/Node server.

## Demo updates

- Explorer demo can enable/disable `backendApi` from the parameter panel.
- FilePicker demo can select files from Backend API storage.
- FileSaver demo can save sample content to Backend API storage.
- Embedded demo includes Backend API as an additional Host-style adapter.

## Host integration direction

The Host should provide real authentication, tenant context, permission checks, and the actual PHP/Node API. UnifiedFiler only provides the component body and the adapter contract.
