TeaSpeak-Client/imports/shared-app/ui/modal/connect/Controller.d.ts
2021-02-20 18:55:36 +01:00

20 lines
668 B
TypeScript

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