import { StorageService } from './service' ; import { Injectable } from '@nestjs/common' ; @ Injectable ( ) export class Storage { static disk ( disk ) { return StorageService . getDriver ( disk ) ; } }