0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core
Naz 98c27b5555 Added multiple adapters capability to adapter manager
refs https://linear.app/tryghost/issue/CORE-1/multiple-adapters-per-type

- There's a need to support multiple adapter variations per given adapter type (storage, sso, etc.)
- With the introduced changes we can specify a version of an adapter that should be fetched based on `:feature` postfix. For example:

`adapterManager.getAdapter('storage')` -  would return the default adapter listed under "active" configuration
`adapterManager.getAdapter('storage:videos') - would return an adapter configured for videos *feature*

- Here's an example configuration for a custom video storage:
```
"storage": {
    "active": "LocalFileStorage",
    "videos": "ghost-storage-custom-video",
    "ghost-storage-custom-video": {
        "custom": "configHere"
    }
}
```
2021-10-21 20:22:45 +13:00
..
client@4f3fd61cb3 Updated Admin to v4.19.1 2021-10-18 14:09:17 +01:00
frontend Clened up routing module API from unused exports 2021-10-19 07:29:09 +13:00
server Added multiple adapters capability to adapter manager 2021-10-21 20:22:45 +13:00
shared Moved public folder to frontend 2021-10-16 19:27:34 +01:00
app.js Added Sentry to new boot process 2021-02-19 09:20:41 +00:00
boot.js Renamed bootstrap to routerManager 2021-10-19 07:29:09 +13:00
bridge.js Renamed bootstrap to routerManager 2021-10-19 07:29:09 +13:00