19 lines
624 B
TypeScript
19 lines
624 B
TypeScript
import { ConnectionProfile } from "tc-shared/profiles/ConnectionProfile";
|
|
export declare type ConnectParameters = {
|
|
targetAddress: string;
|
|
targetPassword?: string;
|
|
targetPasswordHashed?: boolean;
|
|
nickname: string;
|
|
nicknameSpecified: boolean;
|
|
profile: ConnectionProfile;
|
|
token?: string;
|
|
defaultChannel?: string | number;
|
|
defaultChannelPassword?: string;
|
|
};
|
|
export declare type ConnectModalOptions = {
|
|
connectInANewTab?: boolean;
|
|
selectedAddress?: string;
|
|
selectedProfile?: ConnectionProfile;
|
|
};
|
|
export declare function spawnConnectModalNew(options: ConnectModalOptions): void;
|