node-pg-migrate
Version:
PostgreSQL database migration management tool for node.js
22 lines (19 loc) • 558 B
TypeScript
import { V as Value } from '../../generalTypes-BlKhVJMl.js';
interface RoleOptions {
superuser?: boolean;
createdb?: boolean;
createrole?: boolean;
inherit?: boolean;
login?: boolean;
replication?: boolean;
bypassrls?: boolean;
limit?: number;
password?: Value;
encrypted?: boolean;
valid?: Value;
inRole?: string | string[];
role?: string | string[];
admin?: string | string[];
}
declare function formatRoleOptions(roleOptions?: RoleOptions): string;
export { type RoleOptions, formatRoleOptions };