import type { SavedObjectUnsanitizedDoc } from 'src/core/server' ; import type { Space } from '../../../common' ; export const migrateTo660 = ( doc ) => { if ( ! doc . attributes . hasOwnProperty ( 'disabledFeatures' ) ) { doc . attributes . disabledFeatures = [ ] ; } return doc ; } ;