static-cms/packages/netlify-cms-backend-github
CommanderRoot 59b9348093
chore: replace deprecated String.prototype.substr() (#6333)
* 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>
2022-03-28 17:29:56 +00:00
..
2021-10-18 17:38:24 +02:00
2021-10-18 17:38:24 +02:00

GitHub backend

An abstraction layer between the CMS and Github

Code structure

Implementation for File Management System API based on Api.

Api - A wrapper for GitHub REST API.

GraphQLApi - Api with ApolloClient. Api docs and netlify docs.

AuthenticationPage - uses lib-auth to facilitate OAuth and implicit authentication.

scripts - use createFragmentTypes.js to create GitHub GraphQL API fragment types.

Look at tests or types for more info.