3x-ui/frontend/src/schemas/primitives
MHSanaei f79e486f9f
refactor(frontend): swap InboundFormModal option dicts to schemas/primitives
Extends primitives/options.ts with the five inbound-only option dicts
(TLS_VERSION_OPTION, TLS_CIPHER_OPTION, USAGE_OPTION,
DOMAIN_STRATEGY_OPTION, TCP_CONGESTION_OPTION) and lifts InboundFormModal
off @/models/inbound for 10 of its 12 imports. Only the Inbound class
and SSMethods (inbound vs outbound versions diverge by 2 entries) still
come from @/models/.

Widens NODE_ELIGIBLE_PROTOCOLS Set element type to string since the new
primitives const exposes a narrow literal union that `.has(arbitraryString)`
would otherwise reject.
2026-05-26 01:14:05 +02:00
..
flow.ts refactor(frontend): lift Protocols + TLS_FLOW_CONTROL consts to schemas/primitives 2026-05-26 00:51:52 +02:00
index.ts refactor(frontend): lift outbound option dictionaries to schemas/primitives 2026-05-26 01:11:51 +02:00
options.ts refactor(frontend): swap InboundFormModal option dicts to schemas/primitives 2026-05-26 01:14:05 +02:00
outbound-protocol.ts refactor(frontend): lift OutboundProtocols + OutboundDomainStrategies to schemas/primitives 2026-05-26 01:07:02 +02:00
port.ts feat(frontend): protocol-leaf Zod schemas with discriminated unions 2026-05-25 23:02:08 +02:00
protocol.ts refactor(frontend): lift Protocols + TLS_FLOW_CONTROL consts to schemas/primitives 2026-05-26 00:51:52 +02:00
sniffing.ts feat(frontend): protocol-leaf Zod schemas with discriminated unions 2026-05-25 23:02:08 +02:00