UNPKG

@itwin/core-backend

Version:
23 lines 842 B
import { AccessToken, GuidString } from "@itwin/core-bentley"; import { BriefcaseDb } from "../core-backend"; /** Test utility to push an iModel and ChangeSets */ export declare class TestChangeSetUtility { private readonly _iModelName; iTwinId: GuidString; iModelId: GuidString; private _iModel; private _accessToken; private _modelId; private _categoryId; constructor(accessToken: AccessToken, iModelName: string); private addTestModel; private addTestCategory; private addTestElements; /** Create a new iModel, populate it, push the changes and returns the opened db. * Uses the iTwinId from HubMock. */ createTestIModel(): Promise<BriefcaseDb>; pushTestChangeSet(): Promise<void>; deleteTestIModel(): Promise<void>; } //# sourceMappingURL=TestChangeSetUtility.d.ts.map