Release 3X-UI for Docker / build (push) Canceled after 0s
Release 3X-UI / build (386) (push) Canceled after 0s
Release 3X-UI / build (amd64) (push) Canceled after 0s
Release 3X-UI / build (arm64) (push) Canceled after 0s
Release 3X-UI / build (armv5) (push) Canceled after 0s
Release 3X-UI / build (armv6) (push) Canceled after 0s
Release 3X-UI / build (armv7) (push) Canceled after 0s
Release 3X-UI / build (s390x) (push) Canceled after 0s
Release 3X-UI / Build for Windows (amd64) (push) Canceled after 0s
Release 3X-UI / Publish rolling dev release (push) Canceled after 0s
17 lines
594 B
TypeScript
17 lines
594 B
TypeScript
import { Protocols } from '@/schemas/primitives';
|
|
|
|
/*
|
|
* Protocols whose inbounds can live on a sub-node (the "Deploy To" set).
|
|
* Everything else (http, mixed, tunnel, tun, mtproto) is panel-local only.
|
|
* Shared by the inbound form's Deploy To selector and the clone dialog's
|
|
* target picker so the two surfaces can never drift apart.
|
|
*/
|
|
export const NODE_ELIGIBLE_PROTOCOLS: Readonly<Record<string, true>> = {
|
|
[Protocols.VLESS]: true,
|
|
[Protocols.VMESS]: true,
|
|
[Protocols.TROJAN]: true,
|
|
[Protocols.SHADOWSOCKS]: true,
|
|
[Protocols.HYSTERIA]: true,
|
|
[Protocols.WIREGUARD]: true,
|
|
};
|