|
|
@ -3,6 +3,7 @@ import LogosMysqlIcon from '~icons/logos/mysql-icon' |
|
|
|
import LogosPostgresql from '~icons/logos/postgresql' |
|
|
|
import LogosPostgresql from '~icons/logos/postgresql' |
|
|
|
import VscodeIconsFileTypeSqlite from '~icons/vscode-icons/file-type-sqlite' |
|
|
|
import VscodeIconsFileTypeSqlite from '~icons/vscode-icons/file-type-sqlite' |
|
|
|
import SimpleIconsMicrosoftsqlserver from '~icons/simple-icons/microsoftsqlserver' |
|
|
|
import SimpleIconsMicrosoftsqlserver from '~icons/simple-icons/microsoftsqlserver' |
|
|
|
|
|
|
|
import LogosSnowflakeIcon from '~icons/logos/snowflake-icon' |
|
|
|
import MdiDatabaseOutline from '~icons/mdi/database-outline' |
|
|
|
import MdiDatabaseOutline from '~icons/mdi/database-outline' |
|
|
|
|
|
|
|
|
|
|
|
const { baseType } = defineProps<{ baseType?: string }>() |
|
|
|
const { baseType } = defineProps<{ baseType?: string }>() |
|
|
@ -17,6 +18,8 @@ const baseIcon = computed(() => { |
|
|
|
return VscodeIconsFileTypeSqlite |
|
|
|
return VscodeIconsFileTypeSqlite |
|
|
|
case ClientType.MSSQL: |
|
|
|
case ClientType.MSSQL: |
|
|
|
return SimpleIconsMicrosoftsqlserver |
|
|
|
return SimpleIconsMicrosoftsqlserver |
|
|
|
|
|
|
|
case ClientType.SNOWFLAKE: |
|
|
|
|
|
|
|
return LogosSnowflakeIcon |
|
|
|
default: |
|
|
|
default: |
|
|
|
return MdiDatabaseOutline |
|
|
|
return MdiDatabaseOutline |
|
|
|
} |
|
|
|
} |
|
|
|