matrix-dimension/web/app/shared/models/irc.ts
Travis Ralston 61ca805b19 Initial admin APIs for managing IRC bridges
Missing functionality:
* Toggle networks
* Add self-hosted
2018-03-30 23:12:31 -06:00

16 lines
369 B
TypeScript

export interface FE_IrcBridge {
id: number;
upstreamId?: number;
provisionUrl?: string;
isEnabled: boolean;
availableNetworks: FE_IrcBridgeAvailableNetworks;
}
export interface FE_IrcBridgeAvailableNetworks {
[networkId: string]: {
name: string;
domain: string;
bridgeUserId: string;
isEnabled: boolean;
};
}