15 lines
334 B
TypeScript
15 lines
334 B
TypeScript
import { UserType } from "../types";
|
|
type Params = {
|
|
user?: UserType | null;
|
|
HOST?: string;
|
|
username?: string;
|
|
};
|
|
export default function grabUserMainSqlUserName({ HOST, user, username, }: Params): {
|
|
username: string;
|
|
host: string;
|
|
webHost: string;
|
|
fullName: string;
|
|
sqlUsername: string;
|
|
};
|
|
export {};
|