59b9348093
* chore: replace deprecated String.prototype.substr() .substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated Signed-off-by: Tobias Speicher <rootcommander@gmail.com> * refactor: add prefer slice lint rule and fix errors Co-authored-by: erezrokah <erezrokah@users.noreply.github.com>
Lib Util
Shared utilities to handle various netlify-cms-backend-*
backends operations.
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.
Low-level abstractions for Git-repository manager API:
API
- used for Entry filesgit-lfs
- used for Media files- and over halpful utilities