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