2021-04-14 12:34:21 +02:00
|
|
|
# Lib Util
|
2018-07-26 18:01:26 -04:00
|
|
|
|
2021-04-14 12:34:21 +02:00
|
|
|
Shared utilities to handle various `netlify-cms-backend-*` backends operations.
|
2018-07-26 18:01:26 -04:00
|
|
|
|
2021-04-14 12:34:21 +02:00
|
|
|
## Code structure
|
|
|
|
|
|
|
|
This structure should be the same for backends.
|
|
|
|
|
|
|
|
At first, look at `Implementation`. This is File Management System API and has factory method for `AuthComponent`.
|
|
|
|
|
|
|
|
### File Management System API
|
|
|
|
|
|
|
|
An abstraction layer between the CMS and Git-repository manager API.
|
|
|
|
|
|
|
|
Used as backend in [cms-core](https://github.com/netlify/netlify-cms/tree/master/packages/netlify-cms-core/README.md).
|
|
|
|
|
|
|
|
### Low-level abstractions for Git-repository manager API:
|
|
|
|
|
|
|
|
- `API` - used for Entry files
|
|
|
|
- `git-lfs` - used for Media files
|
|
|
|
- and over halpful utilities
|
2018-07-26 18:01:26 -04:00
|
|
|
|