@itwin/object-storage-oss
Version:
Object storage implementation using OSS
19 lines • 1.14 kB
JavaScript
;
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.OssFrontendStorageBindings = void 0;
const frontend_1 = require("@itwin/object-storage-core/lib/frontend");
const frontend_2 = require("@itwin/object-storage-s3/lib/frontend");
const wrappers_1 = require("./wrappers");
class OssFrontendStorageBindings extends frontend_2.S3FrontendStorageBindings {
register(container) {
super.register(container);
container.unregister(frontend_1.Types.Frontend.clientWrapperFactory);
container.registerFactory(frontend_1.Types.Frontend.clientWrapperFactory, () => new wrappers_1.FrontendOssS3ClientWrapperFactory());
}
}
exports.OssFrontendStorageBindings = OssFrontendStorageBindings;
//# sourceMappingURL=OssFrontendStorageBindings.js.map