3xworkaround
Version:
This is an interface for 3x-ui panel. It will help developers to create, edit and delete inbounds and clients in a simple way.
23 lines (22 loc) • 625 B
TypeScript
import type { Client } from "./client";
import type { InboundObject } from "xray-zod";
export type Inbound = Pick<InboundObject, "protocol" | "settings" | "streamSettings" | "sniffing"> & {
id: number;
up: number;
down: number;
total: number;
remark: string;
enable: boolean;
expiryTime: number;
clientStats: Client[];
listen: string;
port: number;
tag: string;
};
export type InboundOptions = Pick<InboundObject, "protocol" | "settings" | "streamSettings" | "sniffing"> & {
enable: boolean;
remark: string;
listen: string;
port: number;
expiryTime: number;
};