Skip to content

Commit

Permalink
fix(types): add configureEntryEditor definition
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebeschmidt authored May 20, 2020
2 parents ab890a1 + 276c33d commit 728c617
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,14 @@ export interface ContentType {
/** Changes the field's ID. */
changeFieldId (oldId: string, newId: string): void

/**
*
* @param widgetNamespace The namespace of the widget. Use 'builtin' for standard widgets or 'extension' for UI extensions.
* @param widgetId The new widget ID for the field.
* @param settings Widget settings
*/
configureEntryEditor(widgetNamespace: 'builtin' | 'extension', widgetId: string, settings?: IEditorInterfaceOptions): void

/**
* Changes the control of given field's ID.
*
Expand Down

0 comments on commit 728c617

Please sign in to comment.