Updates
This commit is contained in:
+15
-2
@@ -6,6 +6,7 @@ import type {
|
||||
BUN_SQLITE_WGUI_MEDIA,
|
||||
BUN_SQLITE_WGUI_USER_TYPES,
|
||||
BUN_SQLITE_WGUI_USERS,
|
||||
BUN_SQLITE_WGUI_VARIABLES,
|
||||
BunSQLiteTables,
|
||||
} from "@/db/types/db";
|
||||
import type { SBFSusidiaries } from "../dict/subsidiaries-dict";
|
||||
@@ -16,7 +17,10 @@ import type {
|
||||
ClientRuleTypes,
|
||||
} from "../dict/client-rules-dict";
|
||||
import type { BunextPageModuleServerReturnURLObject } from "@moduletrace/bunext/types";
|
||||
import type { BUN_SQLITE_WGUI_USERS_JOIN } from "./sql-joins";
|
||||
import type {
|
||||
BUN_SQLITE_WGUI_USERS_JOIN,
|
||||
BUN_SQLITE_WGUI_HOSTS_JOIN,
|
||||
} from "./sql-joins";
|
||||
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";
|
||||
@@ -41,8 +45,9 @@ export type PagePropsType = {
|
||||
user_types?: BUN_SQLITE_WGUI_USER_TYPES[] | null;
|
||||
person?: BUN_SQLITE_WGUI_USERS_JOIN | null;
|
||||
persons?: BUN_SQLITE_WGUI_USERS_JOIN[] | null;
|
||||
host?: BUN_SQLITE_WGUI_HOSTS | null;
|
||||
host?: BUN_SQLITE_WGUI_HOSTS_JOIN | null;
|
||||
hosts?: BUN_SQLITE_WGUI_HOSTS[] | null;
|
||||
variables?: BUN_SQLITE_WGUI_VARIABLES[] | null;
|
||||
client?: BUN_SQLITE_WGUI_CLIENTS | null;
|
||||
clients?: BUN_SQLITE_WGUI_CLIENTS[] | null;
|
||||
client_rules?: BUN_SQLITE_WGUI_CLIENT_RULES[] | null;
|
||||
@@ -243,6 +248,7 @@ export type ApiReqParams<
|
||||
media?: BUN_SQLITE_WGUI_MEDIA;
|
||||
|
||||
ip_address?: string;
|
||||
wg_ip_address?: string | null;
|
||||
};
|
||||
|
||||
export type UserAuthReturn = {
|
||||
@@ -327,3 +333,10 @@ export type MediaDataType =
|
||||
| ReadableStream
|
||||
| Request
|
||||
| Response;
|
||||
|
||||
export type AddClientFormData = {
|
||||
client_name?: string;
|
||||
tunnel_ip?: string;
|
||||
allowed_ips?: string;
|
||||
host_id: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user