TeaSpeak-Client/imports/shared-app/text/bbcode/InviteDefinitions.d.ts

19 lines
439 B
TypeScript

export declare type IpcInviteInfoLoaded = {
linkId: string;
serverAddress: string;
serverUniqueId: string;
serverName: string;
connectParameters: string;
channelId?: number;
channelName?: string;
expireTimestamp: number | 0;
};
export declare type IpcInviteInfo = ({
status: "success";
} & IpcInviteInfoLoaded) | {
status: "error";
message: string;
} | {
status: "not-found" | "expired";
};