mirror of
https://github.com/idanoo/autobrr
synced 2025-07-26 02:09:13 +00:00
fix: no irc network created when adding a new indexer (#177)
This commit is contained in:
parent
aa196d8104
commit
8bf43dc1e0
6 changed files with 56 additions and 27 deletions
13
web/src/types/Irc.d.ts
vendored
13
web/src/types/Irc.d.ts
vendored
|
@ -13,6 +13,19 @@ interface IrcNetwork {
|
|||
connected_since: Time;
|
||||
}
|
||||
|
||||
interface IrcNetworkCreate {
|
||||
name: string;
|
||||
enabled: boolean;
|
||||
server: string;
|
||||
port: number;
|
||||
tls: boolean;
|
||||
pass: string;
|
||||
invite_command: string;
|
||||
nickserv?: NickServ; // optional
|
||||
channels: IrcChannel[];
|
||||
connected: boolean;
|
||||
}
|
||||
|
||||
interface IrcChannel {
|
||||
id: number;
|
||||
enabled: boolean;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue