import { ImageVideo } from '@dark-rush-photography/shared/types' ; export const loadImageVideo = ( imageVideo ? ) : ImageVideo | undefined => { if ( ! imageVideo ) return imageVideo ; return { storageId : imageVideo . storageId , slug : imageVideo . slug , } ; } ;