firebase-apparatus
Version:
Lightweight implementation of firebase-tools as a Node module
16 lines (15 loc) • 456 B
TypeScript
import { GoogleApi } from './apis';
import { AuthUser, HashOptions } from './auth/types';
interface ApparatusParameters {
projectId: string;
token: string;
}
export declare class Apparatus {
projectId: string;
token: string;
googleApi: GoogleApi;
constructor({ projectId, token }: ApparatusParameters);
authExport(): Promise<AuthUser[]>;
authImport(users: AuthUser[], hashOptions?: HashOptions): Promise<void>;
}
export {};