UNPKG

@itwin/object-storage-google

Version:

Object storage implementation using Google Cloud Storage

18 lines 1.08 kB
"use strict"; /*--------------------------------------------------------------------------------------------- * 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.GoogleFrontendStorageBindings = void 0; const frontend_1 = require("@itwin/object-storage-core/lib/frontend"); const common_1 = require("../common"); const GoogleFrontendStorage_1 = require("./GoogleFrontendStorage"); class GoogleFrontendStorageBindings extends frontend_1.FrontendStorageDependency { dependencyName = common_1.Constants.storageType; register(container) { container.registerFactory(frontend_1.Types.Frontend.frontendStorage, () => new GoogleFrontendStorage_1.GoogleFrontendStorage()); } } exports.GoogleFrontendStorageBindings = GoogleFrontendStorageBindings; //# sourceMappingURL=GoogleFrontendStorageBindings.js.map