UNPKG

firestore-queue

Version:

A powerful, scalable queue system built on Google Firestore with time-based indexing, auto-configuration, and connection reuse

46 lines 1.45 kB
/** * Database Setup Utilities for Fire Queue * Helps create and manage the dedicated "firequeue" database */ export interface DatabaseSetupConfig { projectId: string; serviceAccountPath?: string; region?: string; } /** * Create the dedicated firequeue database */ export declare function createFirequeueDatabase(config: DatabaseSetupConfig): Promise<{ success: boolean; databaseId: string; message: string; }>; /** * Generate gcloud CLI command to create the firequeue database */ export declare function generateCreateDatabaseCommand(projectId: string, region?: string): string; /** * Generate Firebase Console URL to create the database */ export declare function generateFirebaseConsoleUrl(projectId: string): string; /** * Setup instructions for creating the firequeue database */ export declare function getSetupInstructions(projectId: string, region?: string): { gcloudCommand: string; consoleUrl: string; instructions: string[]; }; /** * Check if firequeue database exists and provide setup guidance */ export declare function checkAndGuideSetup(config: DatabaseSetupConfig): Promise<void>; /** * Validate database setup before queue operations */ export declare function validateDatabaseSetup(projectId: string, databaseId?: string, serviceAccountPath?: string): Promise<{ valid: boolean; message: string; suggestions?: string[]; }>; //# sourceMappingURL=database-setup.d.ts.map