import type { IFormStateInfo } from '@cloudbeaver/core-blocks' ; export interface IConnectionFormStateContext extends IFormStateInfo { markEdited : ( ) => void ; setStatusMessage : ( message : string | null ) => void ; } export function connectionFormStateContext ( ) { return { edited : false , disabled : false , readonly : false , statusMessage : null , markEdited ( ) { this . edited = true ; } , setStatusMessage ( message ) { this . statusMessage = message ; } , } ; }