You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, Control is defined as WidgetConfig with an additional fieldId, whereas in practice, logging the sdk.editor.editorInterface.controls shows a field key that contains various field settings, including localization and disabled settings
I would expect those fields to included in the typescript so I do not receive errors when accessing them
The text was updated successfully, but these errors were encountered:
Summary
Typescript types on the
sdk.editorInterface.controls
are missing the field key. They are defined here in the CMA types: https://github.com/contentful/contentful-management.js/blob/c6197e559169f5a0121fb219079674983525d498/lib/entities/editor-interface.ts#L96C1-L97C1Here,
Control
is defined asWidgetConfig
with an additional fieldId, whereas in practice, logging thesdk.editor.editorInterface.controls
shows a field key that contains various field settings, including localization and disabled settingsI would expect those fields to included in the typescript so I do not receive errors when accessing them
The text was updated successfully, but these errors were encountered: