import type { NavigatorSettingsInput } from '@cloudbeaver/core-sdk' ; export type NavigatorView = 'simple' | 'advanced' ; export type NavigatorViewSettings = Partial < NavigatorSettingsInput > ; export const CONNECTION_NAVIGATOR_VIEW_SETTINGS = { simple : { showOnlyEntities : true , hideFolders : true , hideVirtualModel : true , hideSchemas : false , mergeEntities : false , showUtilityObjects : false , } , advanced : { showOnlyEntities : false , hideFolders : false , hideVirtualModel : false , hideSchemas : false , mergeEntities : false , showUtilityObjects : false , } , } ; export function isNavigatorViewSettingsEqual ( settings , settingsToCompare ) { return ! ( Object . keys ( settingsToCompare ) as Array < keyof NavigatorSettingsInput > ) . some ( key => settings [ key ] !== settingsToCompare [ key ] ) ; }