const array = [{
name: 't1',
columns: [{
name: 'c1',
type: 'web'
}, {
name: 'c2',
type: 'ios'
}]
}, {
name: 't2',
columns: [{
name: 'c3',
type: 'web'
}, {
name: 'c4',
type: 'windows'
}]
}]
const defaultTypes = ['web', 'ios']