import getArtboard from './artboard' ; import getAssets from './assets' ; const getStore = ( page , selectedArtboard , sketch , callback ) => { const artboard = getArtboard ( selectedArtboard , sketch ) ; const assets = getAssets ( page , artboard , sketch ) ; const notes = [ ] ; artboard . remove ( ) ; callback ( { ... assets , artboard , notes } as next . Store ) ; } ; export default getStore ;