@angular/fire
Version:
Angular + Firebase = ❤️
48 lines (42 loc) • 2.55 kB
TypeScript
import * as rxjs from 'rxjs';
import { FirebaseStorage, connectStorageEmulator as connectStorageEmulator$1, deleteObject as deleteObject$1, getBlob as getBlob$1, getBytes as getBytes$1, getDownloadURL as getDownloadURL$1, getMetadata as getMetadata$1, getStorage as getStorage$1, getStream as getStream$1, list as list$1, listAll as listAll$1, ref as ref$1, updateMetadata as updateMetadata$1, uploadBytes as uploadBytes$1, uploadBytesResumable as uploadBytesResumable$1, uploadString as uploadString$1 } from 'firebase/storage';
export * from 'firebase/storage';
import * as i0 from '@angular/core';
import { Injector, EnvironmentProviders } from '@angular/core';
import { fromTask as fromTask$1, percentage as percentage$1 } from 'rxfire/storage';
interface Storage extends FirebaseStorage {
}
declare class Storage {
constructor(auth: FirebaseStorage);
}
interface StorageInstances extends Array<FirebaseStorage> {
}
declare class StorageInstances {
constructor();
}
declare const storageInstance$: rxjs.Observable<FirebaseStorage>;
declare class StorageModule {
constructor();
static ɵfac: i0.ɵɵFactoryDeclaration<StorageModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<StorageModule, never, never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<StorageModule>;
}
declare function provideStorage(fn: (injector: Injector) => FirebaseStorage, ...deps: any[]): EnvironmentProviders;
declare const fromTask: typeof fromTask$1;
declare const percentage: typeof percentage$1;
declare const connectStorageEmulator: typeof connectStorageEmulator$1;
declare const deleteObject: typeof deleteObject$1;
declare const getBlob: typeof getBlob$1;
declare const getBytes: typeof getBytes$1;
declare const getDownloadURL: typeof getDownloadURL$1;
declare const getMetadata: typeof getMetadata$1;
declare const getStorage: typeof getStorage$1;
declare const getStream: typeof getStream$1;
declare const list: typeof list$1;
declare const listAll: typeof listAll$1;
declare const ref: typeof ref$1;
declare const updateMetadata: typeof updateMetadata$1;
declare const uploadBytes: typeof uploadBytes$1;
declare const uploadBytesResumable: typeof uploadBytesResumable$1;
declare const uploadString: typeof uploadString$1;
export { Storage, StorageInstances, StorageModule, connectStorageEmulator, deleteObject, fromTask, getBlob, getBytes, getDownloadURL, getMetadata, getStorage, getStream, list, listAll, percentage, provideStorage, ref, storageInstance$, updateMetadata, uploadBytes, uploadBytesResumable, uploadString };