datasquirel/dist/package-shared/shell/mariadb-users/handleGrants.d.ts
Benjamin Toby a3561da53d Updates
2025-01-10 20:35:05 +01:00

17 lines
349 B
TypeScript

export interface GrantType {
database: string;
table: string;
privileges: string[];
}
type Param = {
username: string;
host: string;
grants: GrantType[];
userId: string;
};
/**
* # Handle Grants for Users
*/
export default function handleGrants({ username, host, grants, userId, }: Param): Promise<boolean>;
export {};