function getStaticUrlPrefix(type) {
    switch (type) {
    case 'images':
        return 'content/images';
    case 'media':
        return 'content/media';
    case 'files':
        return 'content/files';
    default:
        // eslint-disable-next-line ghost/ghost-custom/no-native-error
        throw new Error('getStaticUrlPrefix was called with: ' + type);
    }
}
@callback getStaticUrlPrefixFn
@param {'images'|'media'|'files'} type
@returns {string}