import { URLExt } from '@jupyterlab/coreutils' ; import { ServerConnection } from '@jupyterlab/services' ; export namespace Server { const settings = ServerConnection . defaultSettings ; export async function makeRequest ( endpoint , request ) { const url = URLExt . join ( settings . baseUrl , endpoint ) ; return await ServerConnection . makeRequest ( url , request , settings ) ; } }