import { OdspFluidDataStoreLocator } from "./contractsPublic" ; param l export function createOdspUrl ( l ) { let odspUrl = `${ l . siteUrl }?driveId=${ encodeURIComponent ( l . driveId ) }&itemId=${ encodeURIComponent ( l . itemId ) }&path=${ encodeURIComponent ( l . dataStorePath ) }` ; if ( l . containerPackageName ) { odspUrl += `&containerPackageName=${ encodeURIComponent ( l . containerPackageName ) }` ; } if ( l . fileVersion ) { odspUrl += `&fileVersion=${ encodeURIComponent ( l . fileVersion ) }` ; } return odspUrl ; }