mirror of
https://github.com/idanoo/autobrr
synced 2025-07-25 09:49:13 +00:00
feat(irc): add bouncer/znc support (#951)
* feat(irc): add initial bouncer support * feat(irc): add bouncer fields to irc update form * fix: make fields optional * feat(db): add migrations
This commit is contained in:
parent
28f0b878e1
commit
2677c16ff8
8 changed files with 79 additions and 29 deletions
6
web/src/types/Irc.d.ts
vendored
6
web/src/types/Irc.d.ts
vendored
|
@ -14,6 +14,8 @@ interface IrcNetwork {
|
|||
pass: string;
|
||||
auth: IrcAuth; // optional
|
||||
invite_command: string;
|
||||
use_bouncer: boolean;
|
||||
bouncer_addr: string;
|
||||
channels: IrcChannel[];
|
||||
connected: boolean;
|
||||
connected_since: string;
|
||||
|
@ -29,6 +31,8 @@ interface IrcNetworkCreate {
|
|||
nick: string;
|
||||
auth: IrcAuth; // optional
|
||||
invite_command: string;
|
||||
use_bouncer?: boolean;
|
||||
bouncer_addr?: string;
|
||||
channels: IrcChannel[];
|
||||
connected: boolean;
|
||||
}
|
||||
|
@ -58,6 +62,8 @@ interface IrcNetworkWithHealth {
|
|||
nick: string;
|
||||
auth: IrcAuth; // optional
|
||||
invite_command: string;
|
||||
use_bouncer: boolean;
|
||||
bouncer_addr: string;
|
||||
channels: IrcChannelWithHealth[];
|
||||
connected: boolean;
|
||||
connected_since: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue