UNPKG

supa-seed

Version:

A constraint-aware, framework-agnostic database seeding framework with deep PostgreSQL business logic discovery and MakerKit integration support

23 lines 879 B
/** * Hash a password for seeding purposes * Note: In production, Supabase handles password hashing automatically */ export declare function hashPassword(password: string): string; /** * Generate a secure random password for test users */ export declare function generateSecurePassword(): string; /** * Generate a valid email address for seeding with guaranteed uniqueness */ export declare function generateTestEmail(username: string, domain?: string): string; /** * Generate realistic usernames based on domain configuration */ export declare function generateUsername(firstName: string, lastName: string, suffixes?: string[]): string; /** * Legacy function for backward compatibility * @deprecated Use generateUsername instead */ export declare function generateOutdoorUsername(firstName: string, lastName: string): string; //# sourceMappingURL=auth-utils.d.ts.map