diff --git a/index.d.ts b/index.d.ts index 51e1325bf..724b427c1 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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. *