UNPKG

@itwin/object-storage-google

Version:

Object storage implementation using Google Cloud Storage

18 lines 857 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GoogleClientStorageBindings = void 0; const object_storage_core_1 = require("@itwin/object-storage-core"); const GoogleClientStorage_1 = require("./GoogleClientStorage"); const wrappers_1 = require("./wrappers"); class GoogleClientStorageBindings extends object_storage_core_1.ClientStorageDependency { constructor() { super(...arguments); this.dependencyName = "google"; } register(container) { container.bind(wrappers_1.ClientStorageWrapperFactory).toSelf().inSingletonScope(); container.bind(object_storage_core_1.ClientStorage).to(GoogleClientStorage_1.GoogleClientStorage).inSingletonScope(); } } exports.GoogleClientStorageBindings = GoogleClientStorageBindings; //# sourceMappingURL=GoogleClientStorageBindings.js.map