datasquirel/dist/package-shared/shell/mariadb-users/handleGrants.d.ts
Benjamin Toby d586de0639 Updates
2025-01-14 00:01:02 +01:00

17 lines
352 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 {};