UNPKG

@itwin/core-backend

Version:
36 lines 1.57 kB
/** @packageDocumentation * @module iModels */ import { CloudSqlite } from "./CloudSqlite"; import { Settings } from "./workspace/Settings"; import { WorkspaceDbCloudProps } from "./workspace/Workspace"; /** @internal */ export interface GcsDbProps extends WorkspaceDbCloudProps { priority?: number; } /** * Internal class to configure and load the gcs workspaces for an iModel. * @internal * @note GCS workspaces are loaded by default (the `disableWorkspaces` setting defaults to `false`). To * suppress loading them from cloud containers and the network requests they issue when iModels are * opened — override the `disableWorkspaces` setting (e.g. via [Settings.addDictionary]($backend) * at [SettingsPriority.application]($backend)), which is useful for unit tests and other offline * scenarios that don't require GCS data. GCS workspaces load lazily on first iModel open, so applying * the override any time after `IModelHost.startup` is sufficient. */ export declare class GeoCoordConfig { /** array of cloud prefetch tasks that may be awaited to permit offline usage */ static readonly prefetches: CloudSqlite.CloudPrefetch[]; static readonly settingName: { databases: string; defaultDatabases: string; disableWorkspaces: string; }; private static addGcsWorkspace; private static loadAll; private static _defaultDbsLoaded; static onStartup(): void; static loadDefaultDatabases(): void; static loadForImodel(settings: Settings): void; } //# sourceMappingURL=GeoCoordConfig.d.ts.map