/// /// /// type ElementId = string; type FullElementId = {component: ComponentId; element: ElementId}; type PluginId = string; type NamedValue = { name: string; value: string; }; type FormState = 'normal' | 'success' | 'error'; type FormMethod = 'get' | 'post'; /** * @deprecated Use `element.getSettings()` (returns `ElementSettingSummaries`) or * `element.searchSettings()` (returns `Record`) instead. * These generic APIs return the same form fields plus all other applicable settings. */ type FormSettings = { state: FormState; name: string; redirect: string; action: string; method: FormMethod; };