Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added frontend/src/assets/datasource/icon_kingbase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion frontend/src/views/ds/js/ds-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import dm from '@/assets/datasource/icon_dm.png'
import doris from '@/assets/datasource/icon_doris.png'
import redshift from '@/assets/datasource/icon_redshift.png'
import es from '@/assets/datasource/icon_es.png'
import kingbase from '@/assets/datasource/icon_kingbase.png'
import { i18n } from '@/i18n'

const t = i18n.global.t
Expand All @@ -22,6 +23,7 @@ export const dsType = [
{ label: 'Apache Doris', value: 'doris' },
{ label: 'AWS Redshift', value: 'redshift' },
{ label: 'Elasticsearch', value: 'es' },
{ label: 'Kingbase', value: 'kingbase' },
]

export const dsTypeWithImg = [
Expand All @@ -35,6 +37,7 @@ export const dsTypeWithImg = [
{ name: 'Apache Doris', type: 'doris', img: doris },
{ name: 'AWS Redshift', type: 'redshift', img: redshift },
{ name: 'Elasticsearch', type: 'es', img: es },
{ name: 'Kingbase', type: 'kingbase', img: kingbase },
]

export const haveSchema = ['sqlServer', 'pg', 'oracle', 'dm', 'redshift']
export const haveSchema = ['sqlServer', 'pg', 'oracle', 'dm', 'redshift', 'kingbase']