34 lines
941 B
TypeScript
34 lines
941 B
TypeScript
import type {
|
|
BUN_SQLITE_WGUI_CLIENTS,
|
|
BUN_SQLITE_WGUI_HOSTS,
|
|
BUN_SQLITE_WGUI_MEDIA,
|
|
BUN_SQLITE_WGUI_MEDIA_PARADIGMS,
|
|
BUN_SQLITE_WGUI_USERS,
|
|
} from "@/db/types/db";
|
|
import type grabHostDirnames from "../functions/backend/setup/grab-host-dir-names";
|
|
|
|
export type BUN_SQLITE_WGUI_USERS_JOIN = BUN_SQLITE_WGUI_USERS & {
|
|
user_types?: string;
|
|
profile_media_id?: number;
|
|
};
|
|
|
|
export type BUN_SQLITE_WGUI_MEDIA_PARADIGMS_JOIN =
|
|
BUN_SQLITE_WGUI_MEDIA_PARADIGMS & {
|
|
user_id?: number;
|
|
first_name?: string;
|
|
last_name?: string;
|
|
};
|
|
|
|
export type BUN_SQLITE_WGUI_MEDIA_JOIN = BUN_SQLITE_WGUI_MEDIA & {
|
|
media_paradigms?: string;
|
|
user?: BUN_SQLITE_WGUI_USERS_JOIN;
|
|
};
|
|
|
|
export type BUN_SQLITE_WGUI_HOSTS_JOIN = BUN_SQLITE_WGUI_HOSTS & {
|
|
dir_names?: ReturnType<typeof grabHostDirnames>;
|
|
};
|
|
|
|
export type BUN_SQLITE_WGUI_CLIENTS_JOIN = BUN_SQLITE_WGUI_CLIENTS & {
|
|
host_name?: string;
|
|
};
|