13 lines
495 B
TypeScript
13 lines
495 B
TypeScript
import { AddUpdateMariadbUserAPIReqBody, UserType } from "../../../types";
|
|
import { DSQL_DATASQUIREL_MARIADB_USERS } from "../../../types/dsql";
|
|
type Params = AddUpdateMariadbUserAPIReqBody & {
|
|
user: UserType;
|
|
updatedRecord: DSQL_DATASQUIREL_MARIADB_USERS;
|
|
};
|
|
type Return = {
|
|
msg?: string;
|
|
success?: boolean;
|
|
};
|
|
export default function handleMariadbUserGrants({ accessedDatabases, grants, isAllDbsAccess, isAllGrants, user, updatedRecord, }: Params): Promise<Return>;
|
|
export {};
|