Overview
NetlifyConnector
provides different methods to help you create a connector within your extension for use with Netlify Connect and Netlify Visual Editor.
Review TypeScript definitions in the SDK
When you install the Netlify SDK, you have access to the TypeScript definitions directly in the @netlify/sdk
package. You can browse through the definition files individually or review the type definition inline depending on your code editor.
Method | Description |
---|---|
assets() | Define how to manage assets stored on your data source. For Visual Editor only. |
documents() | Define how to send document updates back to your data source. For Visual Editor only. |
hasAccess() | Check whether the current user has the necessary permissions to update content in the data source. For Visual Editor only. |
model() | Define your data model. |
proxySchema() | Define a dynamic connector that builds a GraphQL schema using @graphql-tools modules. For Connect only. |
scheduledActions() | Add support for scheduled publishing with your data source. For Visual Editor only. |
sync() | Define what happens on initial and subsequent data syncs. |