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']
[...new Set(array.flatMap(n => n.columns).map(n => n.type).filter(n => !defaultTypes.includes(n)))]