14 lines
510 B
TypeScript
14 lines
510 B
TypeScript
import { DSQL_DATASQUIREL_MARIADB_USERS } from "../../../types/dsql";
|
|
import { DatabaseScopedAccessObject, UserType } from "../../../types";
|
|
type Params = {
|
|
currentAccessedDatabase: DatabaseScopedAccessObject;
|
|
user: UserType;
|
|
updatedRecord: DSQL_DATASQUIREL_MARIADB_USERS;
|
|
};
|
|
type Return = {
|
|
msg?: string;
|
|
success?: boolean;
|
|
};
|
|
export default function handleMariadbUserGrantsForDatabasesRecreateGrants({ currentAccessedDatabase, user, updatedRecord, }: Params): Promise<Return>;
|
|
export {};
|