![]() ![]() addSidebarWidget (widgetNamespace, widgetId) : void. ![]() copyFieldControl (sourceFieldId, destinationFieldId) : void.changeFieldControl (fieldId, widgetNamespace, widgetId) : void.changeFieldId (currentId, newId) : void.contentful-migration - content model migration tool.It offers a central hub for structured content, powerful management and delivery APIs, and a customizable web app that enable developers and content creators to ship their products faster. Unlike a CMS, Contentful was built to integrate with the modern software stack. Contentful-migration - content model migration tool Core Features Pre-requisites & Installation Pre-requisites Installation Usage ❗ Usage as CLI Usage as a library Documentation & References Configuration Chaining vs Object notation migration createContentType(id) : ContentType editContentType(id) : ContentType deleteContentType(id) transformEntries(config) transformEntries Example deriveLinkedEntries(config) deriveLinkedEntries(config) Example transformEntriesToType(config) transformEntriesToType Example createTag(id) editTag(id) deleteTag(id) setTagsForEntries(config) setTagsForEntries Example context makeRequest(config) spaceId : string accessToken : string Content type createField(id) : Field editField(id) : Field deleteField(id) : void changeFieldId (currentId, newId) : void moveField (id) : MovableField changeFieldControl (fieldId, widgetNamespace, widgetId) : void resetFieldControl (fieldId) : void copyFieldControl (sourceFieldId, destinationFieldId) : void addSidebarWidget (widgetNamespace, widgetId) : void updateSidebarWidget (widgetNamespace, widgetId, settings) : void removeSidebarWidget (widgetNamespace, widgetId) : void resetSidebarToDefault () : void configureEntryEditor (widgetNamespace, widgetId) : void configureEntryEditors (EntryEditor) : void resetEntryEditorToDefault () : void createEditorLayout () : EditorLayout editEditorLayout () : EditorLayout deleteEditorLayout () : void setAnnotations(AnnotationId) clearAnnotations() Field setAnnotations(AnnotationId) clearAnnotations() Editor Layout moveField(id) : MovableEditorLayoutItem createFieldGroup(id) : EditorLayoutFieldGroup deleteFieldGroup (id) : void changeFieldGroupId (currentId, newId) editFieldGroup (id) : EditorLayoutFieldGroup Editor Layout Field Group createFieldGroup (id) : EditorLayoutFieldGroup changeFieldGroupControl (id, widgetNamespace, widgetId) : void Validation errors Example migrations Writing Migrations in Typescript Troubleshooting Updating Integration tests fixtures Reach out to us You have questions about how to use this library? You found a bug or want to propose a feature? You need to share confidential information or have other questions? Get involved License Code of Conduct README.mdĬontentful-migration - content model migration toolĭescribe and execute changes to your content model and transform entry content.Ĭontentful provides content infrastructure for digital teams to power websites, apps, and devices. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |