mirror of https://github.com/nocodb/nocodb
46 lines
929 B
46 lines
929 B
2 years ago
|
import type { ColumnGroupType } from 'ant-design-vue/es/table'
|
||
|
|
||
|
export const tableColumns: (Omit<ColumnGroupType<any>, 'children'> & { dataIndex?: string; name: string })[] = [
|
||
|
{
|
||
|
name: 'Column Name',
|
||
|
dataIndex: 'column_name',
|
||
|
key: 'column_name',
|
||
|
width: 250,
|
||
|
},
|
||
|
{
|
||
|
name: 'Column Type',
|
||
|
dataIndex: 'column_type',
|
||
|
key: 'uidt',
|
||
|
width: 250,
|
||
|
},
|
||
|
{
|
||
|
name: 'Select Option',
|
||
|
key: 'dtxp',
|
||
|
},
|
||
|
{
|
||
|
name: 'Action',
|
||
|
key: 'action',
|
||
|
align: 'right',
|
||
|
},
|
||
|
]
|
||
2 years ago
|
|
||
|
export const srcDestMappingColumns: (Omit<ColumnGroupType<any>, 'children'> & { dataIndex?: string; name: string })[] = [
|
||
|
{
|
||
|
name: 'Source column',
|
||
|
dataIndex: 'source_column',
|
||
|
key: 'source_column',
|
||
|
width: 400,
|
||
|
},
|
||
|
{
|
||
|
name: 'Destination column',
|
||
|
dataIndex: 'destination_column',
|
||
|
key: 'destination_column',
|
||
|
width: 400,
|
||
|
},
|
||
|
{
|
||
|
name: 'Action',
|
||
|
key: 'action',
|
||
|
align: 'right',
|
||
|
},
|
||
|
]
|