Refactor application structure and simplify implementation

This commit is contained in:
2026-07-22 00:08:09 +03:00
parent dbba3806cc
commit 90b2eb507c
74 changed files with 11362 additions and 6814 deletions
+10 -7
View File
@@ -1,10 +1,11 @@
export type Protocol = 'TCP' | 'UDP';
export type ProfileItemType = 'process' | 'folder' | 'exe';
export type TargetKind = 'local' | 'external';
export type ProxyProtocol = 'socks5' | 'http';
export type ComponentId = 'control-app' | 'proxyfier' | 'singbox';
export type ComponentState = 'installed' | 'missing' | 'stopped' | 'running' | 'error';
export type ActivityLevel = 'info' | 'warning' | 'error' | 'success';
export type Protocol = "TCP" | "UDP";
export type ProfileItemType = "process" | "folder" | "exe";
export type TargetKind = "local" | "external";
export type ProxyProtocol = "socks5" | "http";
export type ComponentId = "control-app" | "proxyfier" | "singbox";
export type ComponentState =
"installed" | "missing" | "stopped" | "running" | "error";
export type ActivityLevel = "info" | "warning" | "error" | "success";
export interface ProfileItemInput {
type: ProfileItemType | string;
@@ -74,6 +75,7 @@ export interface LocalSingBoxConfig {
subscriptionDisplayUrl?: string;
hasSubscription: boolean;
selectedServerTag?: string;
selectedServerId?: string;
listenHost: string;
listenPort: number;
serviceName: string;
@@ -82,6 +84,7 @@ export interface LocalSingBoxConfig {
}
export interface SubscriptionServer {
id: string;
tag: string;
type: string;
server: string;