UNPKG

@mathrunet/masamune

Version:

Manages packages for the server portion (NodeJS) of the Masamune framework.

31 lines (30 loc) 730 B
import * as firestore from "firebase-admin/firestore"; import { Bucket } from '@google-cloud/storage'; /** * Loads the Firestore instance. * * Firestoreインスタンスを読み込みます。 * * @param databaseId * Firestore Database ID. * * FirestoreのデータベースID。 * * @returns * Firestore instance. * * Firestoreインスタンス。 */ export declare function firestoreLoader(databaseId: string | null | undefined): firestore.Firestore; /** * Loads the Storage instance. * * Storageインスタンスを読み込みます。 * * @param bucketId * StorageのバケットID。 * * @returns * Storageインスタンス。 */ export declare function storageLoader(bucketId: string): Bucket;