Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
CMS.registerBackend('gitlab', GitLabBackend);
CMS.registerBackend('bitbucket', BitbucketBackend);
CMS.registerBackend('test-repo', TestBackend);
CMS.registerWidget([
NetlifyCmsWidgetString.Widget(),
NetlifyCmsWidgetNumber.Widget(),
NetlifyCmsWidgetText.Widget(),
NetlifyCmsWidgetImage.Widget(),
NetlifyCmsWidgetFile.Widget(),
NetlifyCmsWidgetSelect.Widget(),
NetlifyCmsWidgetMarkdown.Widget(),
NetlifyCmsWidgetList.Widget(),
NetlifyCmsWidgetObject.Widget(),
NetlifyCmsWidgetRelation.Widget(),
NetlifyCmsWidgetBoolean.Widget(),
NetlifyCmsWidgetMap.Widget(),
NetlifyCmsWidgetDate.Widget(),
NetlifyCmsWidgetDatetime.Widget(),
]);
CMS.registerEditorComponent(image);
CMS.registerLocale('en', en);