### Changes: - Introduced `ExtendedBrainyDataConfig` interface to include `rootDirectory` in the storage configuration. - Enhanced S3 storage setup: - Added support for `customS3Storage` when `S3_ENDPOINT` is provided. - Retained standard `s3Storage` configuration for AWS S3 without custom endpoints. - Updated fallback logic for default storage types (`filesystem`, `memory`) with consistent handling for `rootDirectory`. - Refined `initializeBrainy` function to improve readability and configuration extensibility. - Updated TypeScript typings for improved clarity and maintainability. ### Purpose: Improved the `initializeBrainy` function by extending storage configuration capabilities, allowing seamless integration of custom S3 endpoints alongside standard AWS S3 settings. Enhanced overall code readability and adaptability for diverse storage configurations. |
||
|---|---|---|
| .. | ||
| services | ||
| index.ts | ||
| routes.ts | ||
| websocket.ts | ||