Add admin setup page
This commit is contained in:
@@ -24,6 +24,7 @@ import type {
|
||||
import type { ImageInputToBase64FunctionReturn } from "../components/twui/utils/form/imageInputToBase64";
|
||||
import type { ServerQueryParam } from "@moduletrace/bun-sqlite/dist/types";
|
||||
import type grabHostDirnames from "../functions/backend/setup/grab-host-dir-names";
|
||||
import type grabSystemSetupStatus from "../functions/backend/setup/grab-system-setup-status";
|
||||
|
||||
export type User = {
|
||||
id: number;
|
||||
@@ -71,6 +72,7 @@ export type PagePropsType = {
|
||||
main_host?: BUN_SQLITE_WGUI_HOSTS | null;
|
||||
next_available_client_ip?: string | null;
|
||||
is_local_ip?: boolean | null;
|
||||
setup_status?: ReturnType<typeof grabSystemSetupStatus> | null;
|
||||
};
|
||||
|
||||
export type AppContextObject = {
|
||||
@@ -267,6 +269,8 @@ export type ApiReqParams<
|
||||
ip_address?: string;
|
||||
wg_ip_address?: string | null;
|
||||
is_main_host?: boolean | null;
|
||||
repo_url?: string;
|
||||
branch?: string;
|
||||
};
|
||||
|
||||
export type UserAuthReturn = {
|
||||
|
||||
Reference in New Issue
Block a user