According to this doc (and IModelsClient), we are supposed to be able to supply a function createDefaultClientStorage() in the constructor.
/** Function that creates a new iModel from Baseline file and prints its id to the console. */
async function createIModelFromBaselineFile(): Promise<void> {
const iModelsClient: IModelsClient = new IModelsClient({ cloudStorage: createDefaultClientStorage() });
However, the function is not exported from @itwin/imodels-client-authoring.
To my knowledge, there is no way to access createDefaultClientStorage.
According to this doc (and IModelsClient), we are supposed to be able to supply a function
createDefaultClientStorage()in the constructor.However, the function is not exported from
@itwin/imodels-client-authoring.It is defined in itwin-platform-access/imodels-access-backend/src/DefaultClientStorage.ts
It is not exported from BackendIModelsAccess.ts as per (index.ts)
To my knowledge, there is no way to access
createDefaultClientStorage.